/* Madame Paint Co.
   Layout concept: the flyer and business card system. Forest green fields, one orange
   sun per view, outlined rectangles, dot rows, and rings; everything else stays white.
   Mobile first. Breakpoints:
     base     phones, 360–599px (Galaxy S, iPhone 17 / Pro / Pro Max)
     600px    large phones in landscape, small tablets
     768px    iPad portrait (mini, Air, Pro)
     1024px   iPad landscape, small laptops (desktop navigation starts here)
     1280px   laptops and desktops
     1536px   large monitors */
:root {
  --forest: #182F1F;
  --forest-2: #223D2A;
  --green: #2E7D32;
  --orange: #F0741A;
  --orange-ink: #B4500B;
  --ink: #161616;
  --ink-2: #4A4A46;
  --paper: #FFFFFF;
  --cream: #FAF9F4;
  --line: #E1DED3;
  --on-forest: #FAF9F4;
  --on-forest-2: #C9D3C9;

  --font-head: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-3: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --step-4: clamp(2.25rem, 1.4rem + 4vw, 4.5rem);

  --radius: 8px;
  --gutter: 20px;
  --section-y: 4rem;
  --topbar-h: 110px;   /* updated by main.js to the real banner + header height */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); text-wrap: balance; }
h1, h2 { font-weight: 600; letter-spacing: -.015em; line-height: 1.12; }
h3 { font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow { font: 600 .8rem/1.3 var(--font-head); letter-spacing: .26em; text-transform: uppercase; color: var(--green); }
.eyebrow-lg { font-size: clamp(1rem, .9rem + .5vw, 1.3rem); }
.eyebrow-orange { color: var(--orange); }

/* Headings that must stay on one line: size scales with the screen so they never wrap */
.one-line { white-space: nowrap; font-size: clamp(1.45rem, 6.6vw, var(--step-3)); }
.one-line-long { font-size: clamp(1.05rem, 4.5vw, var(--step-3)); }

/* ---------- Card geometry ---------- */
.dots { position: absolute; display: grid; gap: 12px; pointer-events: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dots-orange { color: var(--orange); }
.dots-light { color: var(--on-forest); }
.ring { position: absolute; border-radius: 50%; border: 2px solid var(--orange); pointer-events: none; }
.tag { display: inline-block; border: 1.5px solid currentColor; font: 500 .72rem/1 var(--font-head); text-transform: uppercase; }
.tag-v { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .3em; padding: .8em .45em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.3rem;
  font: 600 .95rem/1.2 var(--font-head); letter-spacing: .01em; text-align: center;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { --bg: var(--forest); --fg: #fff; --bd: var(--forest); }
.btn-primary:hover { --bg: var(--green); --bd: var(--green); }
.btn-accent { --bg: var(--orange); --fg: var(--ink); --bd: var(--orange); }
.btn-accent:hover { --bg: #FF8A36; --bd: #FF8A36; }
.btn-outline-light { --bg: transparent; --fg: var(--on-forest); --bd: var(--on-forest); }
.btn-outline-light:hover { --bg: var(--on-forest); --fg: var(--forest); }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.5rem; font-size: 1rem; }
.cta-row { display: grid; gap: .75rem; }

/* ---------- Marquee (offer banner and service areas) ---------- */
.marquee { display: flex; overflow: hidden; }
.marquee-run { display: flex; flex: none; align-items: center; animation: marquee var(--marquee-speed, 40s) linear infinite; }
.marquee:hover .marquee-run { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sticky top: offer banner + header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; }
.topbar::before { content: ""; position: absolute; inset: auto 0 100% 0; height: env(safe-area-inset-top, 0px); background: var(--orange); }
.offer-bar {
  display: flex; align-items: center; background: var(--orange); color: var(--ink);
  font: 500 .85rem/1 var(--font-body);
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.offer-track { flex: 1; min-width: 0; --marquee-speed: 36s; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.offer-bar:focus-within .marquee-run { animation-play-state: paused; }
.offer-track span { white-space: nowrap; padding: .7rem 0; }
.offer-track strong { font-family: var(--font-head); font-weight: 700; letter-spacing: .03em; }
.offer-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--forest); margin-inline: 1.4rem; flex: none; }
.offer-details { display: none; flex: none; font: 600 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; padding: .55rem .8rem; border-left: 1.5px solid rgba(22,22,22,.35); }
.offer-close { flex: none; width: 44px; height: 38px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.offer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.site-header { position: relative; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-name { font: 700 .92rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.brand-name span { font-weight: 500; color: var(--ink-2); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
.nav-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(0,0,0,.3); }
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; padding: .25rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1rem max(var(--gutter), env(safe-area-inset-left, 0px)); }
.site-nav a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1rem/1 var(--font-head); }

/* ---------- Hero ---------- */
.hero { background: var(--forest); color: var(--on-forest); overflow: hidden; }
.hero-inner { display: grid; gap: 2.5rem; padding-block: 3rem 3.5rem; }
.hero-copy { display: grid; gap: 1.25rem; }
.hero h1 { font-size: var(--step-4); color: #fff; }
.h1-line { display: block; color: var(--orange); }
.lede { font-size: var(--step-1); color: var(--on-forest-2); line-height: 1.6; max-width: 36rem; }
.hero .cta-row { margin-top: .5rem; }

.hero-art { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.08; justify-self: center; color: var(--on-forest); }
.hero-art .tag-left { position: absolute; left: 0; top: 4%; }
.hero-art .tag-right { position: absolute; right: 0; bottom: 4%; }
.hero-art .dots { grid-auto-flow: column; gap: 4.5%; width: 30%; }
.hero-art .dots i { width: 8px; height: 8px; }
.dots-top { right: 4%; top: 3%; }
.dots-mid { left: 28%; top: 13%; }
.dots-bottom { left: 10%; bottom: 9%; }
.stripes { position: absolute; left: 28%; right: 22%; top: 22%; bottom: 14%; background: repeating-linear-gradient(var(--forest-2) 0 6px, transparent 6px 14px); }
.ring-top { width: 22%; aspect-ratio: 1; right: 22%; top: 9%; }
.moon { position: absolute; width: 21%; aspect-ratio: 1; right: 9%; top: 10%; border-radius: 50%; background: var(--cream); }
.badge-sun { position: absolute; width: 62%; aspect-ratio: 1; left: 22%; top: 29%; border-radius: 50%; background: var(--orange); }
.badge { position: absolute; width: 58%; aspect-ratio: 1; left: 17%; top: 27%; border-radius: 50%; background: var(--cream); overflow: hidden; }
.badge img { width: 100%; height: 100%; }
.ring-bottom { width: 20%; aspect-ratio: 1; left: 4%; bottom: 2%; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section-head { display: grid; gap: .8rem; max-width: 720px; margin-bottom: 2.25rem; }
.section-head h2 { font-size: var(--step-3); }
.section-head h2.one-line { font-size: clamp(1.45rem, 6.6vw, var(--step-3)); }
.section-head h2.one-line-long { font-size: clamp(1.05rem, 4.5vw, var(--step-3)); }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.05rem; }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head:has(.one-line) { max-width: none; }
.section-cta { display: grid; margin-top: 2.5rem; }

/* Services */
.service-grid { display: grid; gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #fff; }
.service-art { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1.5px solid var(--ink); background: var(--cream); }
.service-body { display: grid; gap: .9rem; padding: 1.4rem 1.3rem 1.6rem; }
.service-body h3 { font-size: 1.2rem; }
.checklist { display: grid; gap: .5rem; color: var(--ink-2); }
.checklist li { position: relative; padding-left: 1.3rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Why: alternating reasons that float up on scroll */
.section-ink { background: var(--forest); color: var(--on-forest); overflow: hidden; }
.section-ink .section-head h2 { color: #fff; }
.section-ink .section-head p:not(.eyebrow) { color: var(--on-forest-2); max-width: 60ch; }
.section-ink .eyebrow { color: var(--orange); }
.dots-corner { display: none; grid-template-columns: repeat(3, 8px); gap: 14px; right: max(24px, 5vw); top: 3rem; }

.reasons { position: relative; display: grid; gap: 1.25rem; max-width: 980px; margin-inline: auto; padding-left: 28px; }
.reasons::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(var(--orange) 0 8px, transparent 8px 14px); }
.reason { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; margin-left: -28px; }
.reason-mark { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); }
.reason-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reason > div { display: grid; gap: .5rem; padding: 1.25rem 1.25rem 1.35rem; border: 1.5px solid rgba(250,249,244,.4); border-radius: var(--radius); background: var(--forest-2); }
.reason h3 { color: #fff; font-size: 1.12rem; }
.reason p { color: var(--on-forest-2); }

.reason.will-float { opacity: 0; transform: translate(var(--from-x, 0), 48px); }
.reason.will-float.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0s); }

/* Our process */
.process { display: grid; gap: 2.75rem; max-width: 1120px; margin-inline: auto; }
.process li { position: relative; display: grid; grid-template-rows: auto auto 1fr; justify-items: center; align-content: start; row-gap: .7rem; text-align: center; }
.process li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -2.1rem; width: 2px; height: 1.5rem; background: repeating-linear-gradient(var(--orange) 0 6px, transparent 6px 10px); }
.step-icon { width: 112px; height: 112px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; margin-bottom: .4rem; }
.step-icon svg { width: 68px; height: 68px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; color: var(--ink); }
.process h3 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); align-self: start; }
.process p { color: var(--ink-2); max-width: 30ch; }

/* Service areas */
.areas { border-block: 1.5px solid var(--ink); background: #fff; }
.areas-inner { display: grid; justify-items: center; gap: 1rem; padding-block: 2.75rem; }
.area-track { width: 100%; --marquee-speed: 30s; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.area-list { font: 500 clamp(1.25rem, 1rem + 1.2vw, 2rem)/1.4 var(--font-head); }
.area-list li { display: flex; align-items: center; white-space: nowrap; }
.area-list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-inline: 1.5rem; }

/* Schedule */
.schedule-card {
  position: relative; overflow: hidden; display: grid; gap: 2rem;
  background: var(--forest); color: var(--on-forest); border-radius: var(--radius);
  padding: 2rem 1.4rem;
}
.schedule-main { position: relative; display: grid; gap: 1rem; }
.schedule-main h2 { font-size: var(--step-3); color: #fff; }
.schedule-main > p:not(.eyebrow) { color: var(--on-forest-2); font-size: 1.05rem; max-width: 46ch; }
.schedule-main .cta-row { margin-top: .5rem; }
.ring-card { width: 220px; height: 220px; right: -80px; bottom: -110px; }
.dots-card { display: none; grid-auto-flow: column; gap: 16px; right: 2.25rem; top: 2rem; }
.schedule-contact { position: relative; display: grid; gap: 1.1rem; padding: 1.4rem; border: 1.5px solid rgba(250,249,244,.6); border-radius: var(--radius); }
.schedule-contact li { display: grid; gap: .2rem; }
.schedule-contact .label { font: 500 .75rem/1.2 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--on-forest-2); }
.schedule-contact a { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.schedule-contact .big { font: 700 1.5rem/1.2 var(--font-head); letter-spacing: .02em; text-decoration: none; }
.schedule-contact .big:hover { color: var(--orange); }
.schedule-contact .social-links { display: flex; gap: .75rem; align-items: center; }
.schedule-contact .social-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(250,249,244,.6); border-radius: 50%; text-decoration: none; transition: color .15s, border-color .15s; }
.schedule-contact .social-link svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.schedule-contact .social-link svg .dot { fill: currentColor; stroke: none; }
.schedule-contact .social-link:hover { color: var(--orange); border-color: var(--orange); }

.offer-box { margin-top: 1.25rem; border: 2px dashed var(--forest); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .35rem; text-align: center; justify-items: center; }
.offer-title { font: 700 1.15rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.offer-box p:not(.offer-title) { color: var(--ink-2); font-size: .93rem; max-width: 72ch; }

/* FAQ */
.faq-section { border-top: 1.5px solid var(--line); }
.faq-wrap { max-width: 880px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid #CFCBBE; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem .15rem; font: 500 1rem/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .2s, background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); border-color: var(--orange); }
.faq-body { display: grid; gap: .75rem; padding: 0 .15rem 1.3rem; color: var(--ink-2); max-width: 68ch; }
.faq-body a { color: var(--orange-ink); font-weight: 600; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; background: var(--forest); color: var(--on-forest); }
.final-sun { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--orange); left: 50%; bottom: -230px; transform: translateX(-50%); }
.final-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 1rem; padding-block: 3.75rem 5.5rem; }
.final-cta h2 { font-size: var(--step-3); color: #fff; }
.final-cta p { color: var(--on-forest-2); font-size: 1.05rem; max-width: 42ch; margin-bottom: .75rem; }

/* Footer */
.site-footer { padding-block: 2.5rem 1.5rem; font-size: .97rem; }
.footer-inner { display: grid; gap: 1.75rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; text-decoration: none; }
.footer-brand img { width: 60px; height: 60px; flex: none; }
.footer-name { font: 700 1rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }

/* Mobile CTA bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: .5rem;
  padding: .65rem max(16px, env(safe-area-inset-right, 0px)) calc(.65rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn-primary { flex: 1; }
.btn-icon { width: 48px; padding: 0; flex: none; }
.btn-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* ---------- 600px: large phones, small tablets ---------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; --section-y: 4.75rem; }
  .cta-row { display: flex; flex-wrap: wrap; }
  .section-cta { display: flex; justify-content: center; }
  .offer-details { display: block; }
  .tag { font-size: .85rem; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; row-gap: 3rem; }
  .process li:not(:last-child)::after { display: none; }
  .schedule-card { padding: 2.5rem; }
  .offer-box { padding: 1.25rem 1.5rem; }
}

/* ---------- 768px: iPad portrait ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; --section-y: 5.5rem; }
  .hero-art { max-width: 480px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .service-card:last-child .service-art { height: 100%; border-bottom: 0; border-right: 1.5px solid var(--ink); }
  .dots-corner, .dots-card { display: grid; }

  /* Reasons alternate left and right of a center line */
  .reasons { padding-left: 0; gap: .5rem; }
  .reasons::before { left: 50%; transform: translateX(-1px); }
  .reason { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 0; margin-left: 0; }
  .reason-mark { grid-column: 2; grid-row: 1; justify-self: center; width: 52px; height: 52px; margin-top: 1rem; }
  .reason > div { grid-row: 1; }
  .reason:nth-child(odd) > div { grid-column: 1; }
  .reason:nth-child(even) > div { grid-column: 3; }
  .reason:nth-child(odd) { --from-x: -40px; }
  .reason:nth-child(even) { --from-x: 40px; }
  .reason:not(:first-child) { margin-top: -2.5rem; }

  .schedule-card { padding: 3rem; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
}

/* ---------- 1024px: iPad landscape, small laptops ---------- */
@media (min-width: 1024px) {
  :root { --section-y: 6rem; }
  .header-inner { min-height: 76px; gap: 1.75rem; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 1.02rem; letter-spacing: .14em; }
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 1.75rem; padding: 0; }
  .site-nav a { padding: .5rem 0; border-bottom: 2px solid transparent; font-size: .95rem; }
  .site-nav a:hover { border-bottom-color: var(--orange); }
  .header-cta { display: inline-flex; }

  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding-block: 5rem 5.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 1rem + 2.6vw, 4rem); }
  .hero-art { max-width: 520px; }

  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .service-card:last-child { grid-column: auto; display: flex; }
  .service-card:last-child .service-art { height: auto; border-right: 0; border-bottom: 1.5px solid var(--ink); }

  /* Four steps in one row, rows of icons, titles, and text aligned */
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; row-gap: 0; }
  @supports (grid-template-rows: subgrid) {
    .process li { grid-row: span 3; grid-template-rows: subgrid; }
  }
  .process li:not(:last-child)::after { display: block; top: 55px; bottom: auto; left: calc(50% + 68px); width: calc(100% + 2rem - 136px); height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); }
  .process li:not(:last-child)::before { content: ""; position: absolute; top: 50px; left: calc(150% + 2rem - 76px); border-left: 9px solid var(--orange); border-block: 6px solid transparent; }

  .schedule-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding: 3.75rem; }
  .final-sun { width: 360px; height: 360px; bottom: -290px; }
  .final-inner { padding-block: 5rem 7rem; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 1280px: laptops and desktops ---------- */
@media (min-width: 1280px) {
  .site-nav ul { gap: 2.25rem; }
  .hero-inner { padding-block: 6rem 6.5rem; }
  .hero-art { max-width: 560px; }
  .process { column-gap: 3rem; }
  .process li:not(:last-child)::after { width: calc(100% + 3rem - 136px); }
  .process li:not(:last-child)::before { left: calc(150% + 3rem - 76px); }
}

/* ---------- 1536px: large monitors ---------- */
@media (min-width: 1536px) {
  :root { --step-0: 1.0625rem; --section-y: 7rem; }
  .wrap { max-width: 1360px; }
  .hero-art { max-width: 620px; }
  .reasons { max-width: 1080px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-run { animation: none; }
  .marquee { overflow-x: auto; }
  .reason.will-float { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
}

/* Latest works: portrait photos, centered; auto-fit so a third photo slots in */
.works-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1.25rem; max-width: 880px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.work { margin: 0; }
.work img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); outline: 1px solid var(--line); outline-offset: 6px; }
.work figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font: 600 1rem/1.3 var(--font-head); color: var(--ink); }
.work figcaption span { font: 600 .72rem/1.3 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--green); align-self: center; }
.work-story { line-height: 1.7; color: var(--ink-2); margin-top: 0.75rem; font-size: .93rem; max-width: 72ch; }
@media (min-width: 768px) { .works-grid { gap: 2rem; } }
