/* ==========================================================================
   IvoryTasks homepage, version 2. Editorial with personality.
   Ivory/black base, Bricolage Grotesque display, Caveat script accents, Inter body.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Caveat:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #5C5A54;
  --ink-3: #908D85;
  --border: #E8E5DD;
  --accent: #B4582F;          /* warm terracotta, used sparingly for marks/script */
  --dark: #1A1A1A;
  --dark-soft: #2A2823;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1100px;
  --max-narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(26,26,26,0.04), 0 6px 18px rgba(26,26,26,0.05);
  --shadow-lg: 0 6px 16px rgba(26,26,26,0.07), 0 22px 50px rgba(26,26,26,0.10);
  --serif: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; /* display font (var name kept for compatibility) */
  --script: 'Caveat', 'Segoe Script', cursive;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 24px; }

section { padding: 92px 0; }
.section-alt { background: var(--surface); }
.section-line { border-top: 1px solid var(--border); }

/* ---- Eyebrow with starburst ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--accent);
  /* 8-point starburst */
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Script accent */
.script {
  font-family: var(--script);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lede { font-size: 19px; color: var(--ink-2); line-height: 1.6; font-family: var(--sans); }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,0.9); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.brand .brand-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--sans); font-size: 15px; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #FFF; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; font-family: var(--sans); font-size: 15px; font-weight: 600;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--ink); color: #FFF;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Hero ---- */
.hero { padding: 92px 0 76px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 60px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 22px; max-width: 15ch; }
.hero h1 .script { font-size: 1.06em; display: inline-block; }
.hero .lede { max-width: 56ch; margin: 0 0 32px; }
.hero-resource { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); font-family: var(--sans); }
.hero-resource a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.hero-resource a:hover { color: var(--accent); }

/* hand-drawn underline mark on a hero word */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 36%;
  background: rgba(180,88,47,0.18); z-index: -1; border-radius: 2px;
}

/* Booking card */
.booking-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.booking-card .bc-eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 0 0 8px; }
.booking-card h3 { font-size: 26px; margin: 0 0 6px; }
.booking-card .bc-sub { color: var(--ink-2); font-size: 15px; margin: 0 0 20px; font-family: var(--sans); }
.booking-card .bc-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; font-family: var(--sans); }
.booking-card .bc-list li { position: relative; padding-left: 28px; font-size: 15px; }
.booking-card .bc-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--accent); }
.booking-card .btn { width: 100%; }
.booking-card .bc-meta { text-align: center; font-size: 13px; color: var(--ink-3); margin: 12px 0 0; font-family: var(--sans); }
.booking-card .bc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2F8048; margin-right: 6px; vertical-align: middle; }

/* ---- Marquee ---- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--ink); color: var(--bg); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: scroll-left 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item { font-family: var(--serif); font-style: italic; font-size: 20px; padding: 16px 0; white-space: nowrap; }
.marquee-star { width: 16px; height: 16px; margin: 0 28px; background: var(--accent); flex-shrink: 0; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Section heads ---- */
.section-head { margin: 0 0 48px; max-width: 60ch; }
.section-head h2 { font-size: 42px; margin: 0 0 16px; }
.section-head .lede { font-size: 18px; }

/* ---- Cards + grids ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #DAD6CC; }
.card h3 { font-size: 22px; margin: 0 0 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; font-family: var(--sans); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* number tag on steps */
.step .step-num { font-family: var(--script); font-size: 30px; color: var(--accent); line-height: 1; margin: 0 0 6px; }

/* starburst list */
.star-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.star-list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink); font-family: var(--sans); }
.star-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; background: var(--accent); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---- Case study cards ---- */
.case-card { display: flex; flex-direction: column; gap: 16px; }
.tag { display: inline-block; align-self: flex-start; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; }
.case-card h3 { font-size: 26px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 8px; }
.case-stats .num { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.case-stats .lbl { font-size: 13px; color: var(--ink-2); margin-top: 4px; font-family: var(--sans); }
.link-arrow { align-self: flex-start; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.muted-note { color: var(--ink-3); font-size: 15px; font-weight: 500; font-family: var(--sans); }

/* ---- Inverted philosophy section ---- */
.inverted { background: var(--dark); color: var(--bg); }
.inverted h2 { color: var(--bg); font-size: 46px; max-width: 18ch; margin: 0 0 24px; }
.inverted .lede { color: #C9C5BC; max-width: 60ch; }
.inverted .script { color: #E8A077; }
.inverted .eyebrow { color: var(--bg); }

/* ---- Pricing ---- */
.pricing-card { display: flex; flex-direction: column; padding: 32px; }
.pricing-card.featured { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.pricing-card .pc-label { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.price { font-family: var(--serif); font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
.price .price-unit { font-family: var(--sans); font-size: 15px; color: var(--ink-2); font-weight: 500; letter-spacing: 0; }
.price-sub { font-size: 14px; color: var(--ink-3); margin: 6px 0 0; font-family: var(--sans); }
.pricing-card > p { margin: 22px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; font-family: var(--sans); }
.pricing-card ul { list-style: none; padding: 22px 0 0; margin: 22px 0 28px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; font-family: var(--sans); }
.pricing-card ul li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.4; }
.pricing-card ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--accent); }
.pricing-card .pc-cta { margin-top: auto; width: 100%; }
.pricing-note { font-size: 14px; color: var(--ink-2); margin-top: 32px; font-family: var(--sans); }
.pricing-note a { font-weight: 600; }

/* ---- Feature / CTA blocks ---- */
.feature h2 { font-size: 44px; max-width: 18ch; margin: 0 0 24px; }
.feature .lede { max-width: 62ch; }

/* ---- Scarcity announcement bar ---- */
.announce { display: block; background: var(--accent); color: #FFF; overflow: hidden; text-decoration: none; }
.announce-track { display: flex; width: max-content; animation: scroll-left 26s linear infinite; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-group { display: flex; align-items: center; flex-shrink: 0; }
.announce-item { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 0; white-space: nowrap; }
.announce-star { width: 10px; height: 10px; margin: 0 24px; flex-shrink: 0; background: rgba(255,255,255,0.9); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---- Testimonials ---- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tcard .stars { color: var(--accent); font-size: 15px; letter-spacing: 3px; }
.tcard blockquote { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--ink); font-weight: 400; }
.tcard .tattr { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-top: auto; }
.tcard .tattr strong { color: var(--ink); font-weight: 600; }
.tcard .tverify { color: #2F8048; font-weight: 600; }
@media (max-width: 880px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr; } }

/* Rolling testimonial marquee */
.t-marquee { overflow: hidden; }
.t-marquee-track { display: flex; width: max-content; animation: scroll-left 80s linear infinite; }
.t-marquee:hover .t-marquee-track { animation-play-state: paused; }
.t-set { display: flex; gap: 20px; padding-right: 20px; flex-shrink: 0; align-items: stretch; }
.t-card { flex-shrink: 0; width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.t-card .stars { color: var(--accent); font-size: 15px; letter-spacing: 3px; }
.t-card blockquote { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.t-foot { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 4px; }
.t-foot img { height: 22px; max-width: 96px; object-fit: contain; filter: brightness(0); opacity: 0.55; flex-shrink: 0; }
.t-name { font-family: var(--sans); font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.t-name strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }
.t-name .tverify { color: #2F8048; font-weight: 600; }
@media (max-width: 560px) { .t-card { width: 300px; } }

/* ---- Case study specifics ---- */
.breadcrumb { font-family: var(--sans); font-size: 14px; color: var(--ink-3); margin: 0 0 18px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.cs-stats .num { font-family: var(--serif); font-size: 38px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.cs-stats .lbl { font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 8px; }

.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); }
.ba-col h3 { font-size: 18px; margin: 0 0 18px; }
.ba-before { background: #FBF1EC; border-color: #EAD7CD; }
.ba-after { background: #F0F5EF; border-color: #D5E3D2; }
.ba-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-family: var(--sans); }
.ba-list li { font-size: 15.5px; padding-left: 26px; position: relative; line-height: 1.45; }
.ba-before .ba-list li::before { content: "\00D7"; position: absolute; left: 0; top: -1px; color: #B0402B; font-weight: 700; }
.ba-after .ba-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #2F8048; font-weight: 700; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-family: var(--sans); font-size: 14px; color: var(--ink-2); background: var(--surface); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow-step { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; }
.flow-arrow { color: var(--accent); font-size: 16px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.step-item { display: flex; gap: 18px; align-items: flex-start; }
.step-item .step-n { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--accent); line-height: 1; flex-shrink: 0; width: 46px; }
.step-item h3 { font-size: 18px; margin: 2px 0 6px; }
.step-item p { font-family: var(--sans); font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .beforeafter { grid-template-columns: 1fr; } .cs-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }

/* ---- Upwork profile page: snapshot card ---- */
.snapshot .snap-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); font-family: var(--sans); }
.snapshot .snap-row:last-child { border-bottom: none; }
.snapshot .snap-k { font-size: 14px; color: var(--ink-2); }
.snapshot .snap-v { font-size: 15px; font-weight: 700; color: var(--ink); }
.snapshot .snap-v .stars { color: var(--accent); letter-spacing: 2px; font-size: 13px; }

/* ---- Pain points ---- */
.painlist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.painlist li { position: relative; padding-left: 30px; font-family: var(--sans); font-size: 16.5px; color: var(--ink); line-height: 1.4; }
.painlist li::before { content: "\00D7"; position: absolute; left: 0; top: -2px; color: #B0402B; font-weight: 700; font-size: 20px; }
.pain-punch { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
@media (max-width: 680px) { .painlist { grid-template-columns: 1fr; } }

/* ---- Logo bar (monochrome transparent logos) ---- */
.logobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; }
.logobar img { height: 34px; max-width: 150px; object-fit: contain; filter: brightness(0); opacity: 0.5; transition: opacity 0.25s var(--ease); }
.logobar img:hover { opacity: 0.85; }
.logos-head { text-align: center; margin: 0 0 40px; }
.logos-head .eyebrow { margin-bottom: 0; }

/* Rolling logo marquee */
.logo-marquee { overflow: hidden; }
.logo-marquee-track { display: flex; width: max-content; animation: scroll-left 45s linear infinite; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-row { display: flex; align-items: center; gap: 72px; padding-right: 72px; flex-shrink: 0; }
.logo-row img { height: 36px; max-width: 170px; object-fit: contain; filter: brightness(0); opacity: 0.5; }

/* Consultation card */
.consult-price { font-family: var(--serif); font-size: 42px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin: 0 0 6px; }
.consult-price span { font-family: var(--sans); font-size: 15px; color: var(--ink-2); font-weight: 500; }

/* ---- What I bring ---- */
.brings { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
.brings li { position: relative; padding-left: 34px; font-family: var(--sans); }
.brings li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--accent); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.brings li strong { display: block; font-size: 16px; color: var(--ink); margin: 0 0 3px; font-weight: 600; }
.brings li span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 680px) { .brings { grid-template-columns: 1fr; } }

/* ---- Tools ---- */
.toolgroup { margin: 0 0 18px; }
.toolgroup:last-child { margin-bottom: 0; }
.toolgroup .tg-label { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); margin: 0 0 10px; }
.toolgroup .pills { gap: 8px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--surface); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-family: var(--sans); font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-meta { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }

/* ---- Scroll reveal (progressive enhancement) ---- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger.is-visible > * { animation: rise 0.6s var(--ease) backwards; }
.js .stagger.is-visible > *:nth-child(2) { animation-delay: 0.07s; }
.js .stagger.is-visible > *:nth-child(3) { animation-delay: 0.14s; }
.js .stagger.is-visible > *:nth-child(4) { animation-delay: 0.21s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 36px; }
  .section-head h2, .feature h2, .inverted h2 { font-size: 32px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .marquee-item { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track, .announce-track, .logo-marquee-track, .t-marquee-track { animation: none; }
  .t-marquee, .logo-marquee { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}
