@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/*
Theme Name: Toast Journal
Theme URI: https://toastjournal.com
Author: Toast Journal
Description: A warm, image-led editorial WordPress theme for hospitality branding, marketing and design.
Version: 0.4.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: toast-journal
*/

:root {
  --cream: #f3ead8;
  --paper: #fffaf0;
  --toast: #d85f35;
  --butter: #f2c84b;
  --espresso: #24160f;
  --cobalt: #3156a3;
  --line: rgba(36, 22, 15, .24);
  --max: 1240px;
  --pad: clamp(16px, 2.2vw, 30px);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --title: "Averia Serif Libre", Georgia, serif;
  --body: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--espresso); font-family: var(--body); font-size: 16px; line-height: 1.46; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--cream); }
.header-top { min-height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.wordmark { font-family: var(--title); font-weight: 700; font-size: clamp(2rem, 3.7vw, 3.35rem); letter-spacing: -.045em; line-height: .9; text-transform: uppercase; }
.wordmark-dot { color: var(--toast); }
.header-note, .menu-toggle { font: 700 .72rem/1 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.header-note:last-child { text-align: right; }
.menu-toggle { display: none; border: 1px solid var(--espresso); background: transparent; padding: 10px 12px; }
.primary-nav { border-top: 1px solid var(--line); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.primary-nav a { display: block; padding: 10px clamp(12px, 1.7vw, 24px); font: 800 .7rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav .current-menu-item a { background: var(--espresso); color: var(--paper); }

.hero { padding: var(--pad); }
.hero-card { width: min(100%, var(--max)); min-height: 560px; height: min(620px, 72vh); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(340px, .86fr); background: var(--toast); border: 1px solid var(--espresso); }
.hero-media { position: relative; overflow: hidden; min-height: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hero-card:hover .hero-media img { transform: scale(1.025); }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; padding: clamp(22px, 2.5vw, 34px); }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 800 .72rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.hero h1 { margin: 20px 0 12px; font-family: var(--title); font-weight: 700; font-size: clamp(2rem, 2.35vw, 2.75rem); line-height: .94; letter-spacing: -.035em; }
.hero-dek { max-width: 46ch; margin: 0; font-size: clamp(.94rem, 1vw, 1.08rem); }
.meta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 24px; font: 700 .64rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }

.section { padding: clamp(40px, 5vw, 66px) 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-family: var(--title); font-weight: 700; font-size: clamp(2.1rem, 4vw, 4rem); line-height: .94; letter-spacing: -.035em; text-transform: uppercase; }
.text-link { border-bottom: 2px solid currentColor; font: 800 .72rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(26px, 3vw, 40px) 18px; }
.story-card { grid-column: span 4; min-width: 0; }
.story-card:nth-child(5n+1), .story-card:nth-child(5n+2) { grid-column: span 4; }
.story-image { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--butter); border: 1px solid var(--espresso); }
.story-card:nth-child(5n+1) .story-image { aspect-ratio: 4/3; }
.story-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .6s ease, filter .4s ease; }
.story-card:hover .story-image img { transform: scale(1.035); filter: saturate(1.06); }
.placeholder-art { width: 100%; height: 100%; position: relative; overflow: hidden; background: var(--card-color, var(--butter)); }
.placeholder-art::before { content: ""; position: absolute; inset: 14% 10% 24% 38%; border-radius: 50% 50% 12% 12%; background: var(--paper); transform: rotate(-8deg); }
.placeholder-art::after { content: "TJ"; position: absolute; left: 7%; bottom: -5%; font: 900 clamp(4rem, 8vw, 8.5rem)/1 var(--display); letter-spacing: -.1em; color: var(--espresso); opacity: .93; }
.story-card h3 { margin: 11px 0 7px; font-family: var(--title); font-weight: 700; font-size: clamp(1.3rem, 1.75vw, 1.9rem); line-height: 1.02; letter-spacing: -.025em; }
.story-card p { margin: 0; max-width: 52ch; font-size: .96rem; }
.story-card .meta { margin-top: 12px; }

.manifesto { background: var(--butter); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
.manifesto h2 { margin: 0; font-family: var(--title); font-weight: 700; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.manifesto-copy { font-size: clamp(1.18rem, 1.6vw, 1.65rem); line-height: 1.22; }
.manifesto-copy p:first-child { margin-top: 0; }

.newsletter { background: var(--cobalt); color: var(--paper); }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; }
.newsletter h2 { margin: 0; font-family: var(--title); font-weight: 700; font-size: clamp(2.8rem, 5.2vw, 5.6rem); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.signup-form { display: flex; border-bottom: 2px solid currentColor; padding-bottom: 8px; }
.signup-form input { width: 100%; border: 0; background: transparent; color: currentColor; padding: 12px 0; outline: 0; }
.signup-form input::placeholder { color: rgba(255,250,240,.72); }
.signup-form button { border: 0; background: var(--butter); color: var(--espresso); padding: 12px 20px; font: 800 .75rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.form-note { font-size: .78rem; opacity: .72; }

.site-footer { background: var(--espresso); color: var(--cream); padding: 35px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.footer-mark { font: 700 clamp(2.2rem, 4.5vw, 4.6rem)/.86 var(--title); letter-spacing: -.045em; text-transform: uppercase; }
.footer-meta { text-align: right; font: 700 .68rem/1.7 var(--display); letter-spacing: .08em; text-transform: uppercase; }

.page-shell { padding-block: clamp(38px, 5vw, 70px); }
.page-title { max-width: 960px; margin: 0 0 34px; font: 700 clamp(2.5rem, 5.4vw, 5.5rem)/.94 var(--title); letter-spacing: -.035em; text-transform: uppercase; }
.single-header { max-width: 920px; margin-bottom: 32px; }
.single-header h1 { margin: 16px 0; font: 700 clamp(2.35rem, 4.7vw, 5rem)/.96 var(--title); letter-spacing: -.035em; }
.single-dek { max-width: 720px; font-size: clamp(1.1rem, 1.45vw, 1.4rem); }
.single-hero { max-height: 620px; width: 100%; object-fit: cover; border: 1px solid var(--espresso); }
.image-credit { margin: 8px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.image-credit a { color: inherit; }
.article-body { width: min(100%, 700px); margin: 44px auto; font-size: 1.08rem; }
.article-body h2, .article-body h3 { font-family: var(--title); font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.article-body a { color: var(--cobalt); text-decoration: underline; }
.pagination { margin-top: 55px; font-family: var(--display); }

@media (max-width: 900px) {
  .header-top { grid-template-columns: auto 1fr auto; }
  .header-note { display: none; }
  .wordmark { justify-self: center; font-size: clamp(2.2rem, 9vw, 4rem); }
  .menu-toggle { display: block; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; text-align: center; padding: 10px 0; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card { min-height: 0; height: auto; }
  .hero-media { min-height: 52vw; }
  .hero h1 { margin-top: 32px; }
  .story-card, .story-card:nth-child(5n+1), .story-card:nth-child(5n+2) { grid-column: span 6; }
  .manifesto-grid, .newsletter-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding-inline: 0; }
  .hero-card { border-inline: 0; }
  .hero-media { min-height: 68vw; }
  .story-grid { display: block; }
  .story-card { margin-bottom: 42px; }
  .section-heading { align-items: flex-end; }
  .newsletter h2 { font-size: 19vw; }
  .signup-form { display: block; border: 0; }
  .signup-form input { border-bottom: 2px solid; margin-bottom: 10px; }
  .signup-form button { width: 100%; }
  .footer-inner { display: block; }
  .footer-meta { text-align: left; margin-top: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 0.4 — light editorial direction inspired by the owner's visual study. */
:root {
  --cream: #fff4f6;
  --paper: #fffafb;
  --toast: #f02e3f;
  --butter: #ffe8ec;
  --espresso: #f02e3f;
  --cobalt: #f02e3f;
  --line: rgba(240, 46, 63, .42);
  --max: 1440px;
  --display: Arial, Helvetica, sans-serif;
  --title: "Averia Serif Libre", Georgia, serif;
  --body: Arial, Helvetica, sans-serif;
}

body { background: var(--cream); color: var(--toast); font-size: 14px; line-height: 1.32; }
.wrap { padding-inline: clamp(18px, 3vw, 48px); }
.site-header { border-bottom: 0; background: var(--cream); }
.header-top { min-height: 86px; }
.wordmark { font-family: var(--display); font-size: clamp(1.55rem, 2vw, 2.2rem); font-weight: 700; letter-spacing: -.04em; text-transform: lowercase; }
.wordmark-dot { color: inherit; }
.header-note { color: var(--toast); font-size: .68rem; font-weight: 400; letter-spacing: .02em; }
.primary-nav { border-top: 0; }
.primary-nav a { padding: 7px clamp(12px, 2vw, 28px); border-radius: 999px; font-size: .7rem; font-weight: 400; letter-spacing: .015em; }
.primary-nav a:hover, .primary-nav .current-menu-item a { background: var(--toast); color: var(--paper); }

.hero { padding: 8px var(--pad) clamp(52px, 7vw, 96px); }
.home-masthead { text-align: center; }
.home-kicker { margin: 10px 0 0; font: 400 .72rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.hero .home-masthead h1 { margin: clamp(12px, 2vw, 28px) 0 10px; font-family: var(--title); font-size: clamp(5rem, 10vw, 11rem); font-weight: 300; line-height: .76; letter-spacing: -.075em; text-transform: uppercase; white-space: nowrap; }
.topic-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(28px, 4vw, 52px) 0 clamp(42px, 6vw, 82px); }
.topic-pills a, .text-link { min-width: 96px; padding: 5px 17px 4px; border: 1px solid currentColor; border-radius: 999px; font: 400 .68rem/1 var(--display); letter-spacing: .01em; text-align: center; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.topic-pills a:hover, .text-link:hover { background: var(--toast); color: var(--paper); }

.hero-card { min-height: 0; height: auto; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .55fr); gap: clamp(22px, 3vw, 56px); background: transparent; border: 0; }
.hero-media { min-height: 520px; background: #f8dce2; }
.hero-media img { aspect-ratio: 16/10; object-fit: cover; }
.hero-copy { padding: 0; justify-content: flex-end; }
.eyebrow { font-size: .68rem; font-weight: 400; letter-spacing: .02em; }
.eyebrow::before { display: none; }
.hero h1 { margin: 14px 0 15px; font-family: var(--display); font-size: clamp(1.7rem, 2.25vw, 2.75rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.hero-dek { font-size: .88rem; line-height: 1.35; }
.meta { margin-top: 16px; font-size: .61rem; font-weight: 400; letter-spacing: .02em; }

.section { padding: clamp(50px, 7vw, 100px) 0; border-top: 0; }
.section-heading { margin-bottom: clamp(30px, 4vw, 60px); }
.section-heading h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 400; letter-spacing: -.055em; }
.story-grid { grid-template-columns: repeat(12, 1fr); gap: clamp(48px, 6vw, 92px) clamp(18px, 2vw, 34px); align-items: start; }
.story-card, .story-card:nth-child(5n+1), .story-card:nth-child(5n+2) { grid-column: span 3; }
.story-card:nth-child(4n+2) { margin-top: clamp(34px, 5vw, 76px); }
.story-card:nth-child(4n+3) { margin-top: clamp(10px, 2vw, 30px); }
.story-card:nth-child(4n+4) { margin-top: clamp(55px, 7vw, 105px); }
.story-image, .story-card:nth-child(5n+1) .story-image { aspect-ratio: 4/5; border: 0; background: var(--butter); }
.story-card:nth-child(4n+1) .story-image { aspect-ratio: 4/3; }
.story-card:nth-child(4n+3) .story-image { aspect-ratio: 1/1; }
.story-image img { filter: none; }
.story-card h3 { margin: 12px 0 8px; font-family: var(--display); font-size: clamp(.95rem, 1.15vw, 1.25rem); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; text-transform: uppercase; }
.story-card p { font-size: .78rem; line-height: 1.38; }
.story-card .meta { margin-top: 9px; }
.placeholder-art::before { background: var(--paper); }
.placeholder-art::after { color: var(--toast); font-weight: 400; }

.manifesto { background: var(--toast); color: var(--paper); }
.manifesto h2 { font-family: var(--title); font-size: clamp(3rem, 7vw, 7.6rem); font-weight: 300; letter-spacing: -.06em; }
.manifesto-copy { font-family: var(--display); font-size: clamp(1rem, 1.35vw, 1.35rem); }
.newsletter { background: var(--cream); color: var(--toast); border-top: 1px solid var(--line); }
.newsletter h2 { font-family: var(--title); font-weight: 300; letter-spacing: -.06em; }
.signup-form button { background: var(--toast); color: var(--paper); }
.site-footer { background: var(--toast); color: var(--paper); }
.footer-mark { font-family: var(--title); font-weight: 300; }

.page-title, .single-header h1 { color: var(--toast); font-weight: 300; }
.single-hero { border: 0; }
.article-body { color: #512128; font-family: Georgia, "Times New Roman", serif; }
.article-body a { color: var(--toast); }

@media (max-width: 900px) {
  .hero .home-masthead h1 { font-size: 11vw; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-media { min-height: 56vw; }
  .hero-copy { max-width: 620px; }
  .story-card, .story-card:nth-child(5n+1), .story-card:nth-child(5n+2) { grid-column: span 6; }
  .story-card:nth-child(n) { margin-top: 0; }
  .story-card:nth-child(even) { margin-top: 55px; }
  .menu-toggle { border-color: var(--toast); color: var(--toast); border-radius: 999px; }
}

@media (max-width: 620px) {
  .header-top { min-height: 68px; }
  .home-kicker { margin-top: 22px; }
  .hero .home-masthead h1 { white-space: normal; font-size: 21vw; line-height: .78; }
  .topic-pills { margin-bottom: 38px; }
  .topic-pills a { min-width: 0; padding-inline: 12px; }
  .hero { padding-inline: 16px; }
  .hero-media { min-height: 76vw; }
  .story-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .story-card, .story-card:nth-child(5n+1), .story-card:nth-child(5n+2) { grid-column: span 1; margin-bottom: 0; }
  .story-card:nth-child(even) { margin-top: 45px; }
  .story-card h3 { font-size: .86rem; }
  .story-card p { display: none; }
  .section-heading { align-items: center; }
  .section-heading h2 { max-width: 7ch; }
}
