/* Wildfire, matte: ink base, wine red and deep blue as flat color fields, warm cream for text and one light band. Orange is the pop: buttons, key numbers and watch links. */
:root {
  --ink: #0D0C11;
  --blue: #7A1F18;
  --teal: #12388A;
  --orange: #F28A1B;
  --frost: #F4EFE6;
  --gold: #F6B72E;
  --card-ink: #15141C;
  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Instrument Sans", Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --bg: var(--ink);
  --fg: var(--frost);
  --muted: rgba(244, 239, 230, 0.74);
  --line: rgba(244, 239, 230, 0.2);
  --card: var(--card-ink);
  --card-fg: var(--frost);
  --card-muted: rgba(244, 239, 230, 0.74);
  color-scheme: dark;
}

/* color fields: each band re-points the same tokens so components work on any of them */
.band-ink   { --bg: var(--ink);  --fg: var(--frost); --muted: rgba(244,239,230,.74); --line: rgba(244,239,230,.2); --card: var(--card-ink); --card-fg: var(--frost); --card-muted: rgba(244,239,230,.74); }
.band-blue  { --bg: var(--blue); --fg: var(--frost); --muted: rgba(244,239,230,.84); --line: rgba(244,239,230,.34); --card: var(--ink); --card-fg: var(--frost); --card-muted: rgba(244,239,230,.74); }
.band-teal  { --bg: var(--teal); --fg: var(--frost); --muted: rgba(244,239,230,.86); --line: rgba(244,239,230,.34); --card: var(--ink); --card-fg: var(--frost); --card-muted: rgba(244,239,230,.74); }
.band-frost, .hero, .page-head { --bg: var(--frost); --fg: var(--ink); --muted: rgba(13,12,17,.74); --line: rgba(13,12,17,.24); --card: #FBF8F2; --card-fg: var(--ink); --card-muted: rgba(13,12,17,.72); }
.band { background: var(--bg); color: var(--fg); padding-top: 104px; padding-bottom: 76px; margin-top: -32px; clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); position: relative; }
.band.last { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--frost); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--frost); outline-offset: 3px; }
.band-frost :focus-visible, .hero :focus-visible, .page-head :focus-visible { outline-color: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.04; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; max-width: 20ch; }
h3 { font-weight: 700; }
.lede { color: var(--muted); max-width: 60ch; margin-top: 16px; font-size: 1.08rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 19; background: var(--ink); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-block: 10px; }
.mark { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--frost); text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.links { display: flex; gap: 22px; }
.links a { color: rgba(244,239,230,.82); text-decoration: none; font-size: 0.97rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.links a:hover { color: var(--frost); }
.links a[aria-current="page"] { color: var(--frost); border-bottom-color: var(--frost); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 4px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-cta { background: var(--orange); color: var(--ink); }
.btn-cta:hover { background: #FFA03A; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-ghost:hover { background: rgba(244,239,230,.12); }
.band-frost .btn-ghost:hover, .hero .btn-ghost:hover, .page-head .btn-ghost:hover { background: rgba(13,12,17,.08); }

/* hero and page heads: the painting's sky, blue into teal into the dark of the bear */
.hero, .page-head { position: relative; overflow: hidden; color: var(--ink); background: var(--frost); }
.page-head { padding-block: 64px 88px; }
.hero { padding-block: 72px 108px; }
.hero .wrap { display: grid; gap: 40px 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); max-width: 13ch; line-height: .98; letter-spacing: -0.035em; }
.badge { display: inline-block; background: var(--ink); color: var(--frost); font-family: var(--font-display); font-weight: 700; font-size: 1rem; padding: 7px 14px; border-radius: 3px; margin-bottom: 24px; }
.art { margin: 0; }
.art img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 58% 30%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap, .page-head .wrap { position: relative; }
.role { font-weight: 500; margin-bottom: 20px; font-size: 1.05rem; }
h1 { font-size: clamp(2.8rem, 8.6vw, 6.6rem); font-weight: 800; max-width: 13ch; letter-spacing: -0.04em; }
.page-head h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 16ch; }
.hero .sub, .page-head .sub { font-size: 1.18rem; max-width: 52ch; margin-top: 22px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 44px 0 0; padding: 0; }
.facts dt { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.facts > div { max-width: 17ch; }
.facts dd { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 32px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--card); color: var(--card-fg); border-radius: 6px; overflow: hidden; }
.thumb { position: relative; aspect-ratio: 2.2 / 1; max-width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 16px 14px; overflow: hidden; background: var(--blue); color: var(--frost); }
/* thumb streak removed */
.thumb .tc, .thumb .res { position: absolute; z-index: 1; bottom: 8px; font-family: var(--font-mono); font-size: .75rem; background: rgba(13,12,17,.78); color: var(--frost); padding: 2px 6px; border-radius: 3px; }
.thumb .tc { right: 8px; } .thumb .res { left: 8px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; min-width: 0; }
.card h3 { font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.01em; }
.client { color: var(--card-muted); font-size: .93rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; padding: 2px 8px; background: rgba(244,239,230,.1); border-radius: 3px; color: var(--card-muted); }
.tag.sample { color: var(--card-fg); border-color: var(--card-fg); }
.stats { font-family: var(--font-mono); font-size: .85rem; }
.desc { color: var(--card-muted); font-size: .94rem; }
.watch { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .96rem; color: var(--card-fg); }
.big-link { display: block; text-decoration: none; padding: 24px; }
.big-link h3 { font-size: 1.7rem; }
.big-link .n { font-family: var(--font-mono); margin-top: 6px; display: block; color: var(--card-muted); }
.big-link p { margin-top: 12px; color: var(--card-muted); }
.big-link .go { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: underline; color: var(--card-fg); }
a.card.big-link:hover { background: #1c1b22; }

/* library controls (live on a blue band) */
.timeline { margin-top: 8px; display: flex; align-items: stretch; gap: 12px; }
.tl-track { flex: 1; display: flex; gap: 3px; min-width: 0; }
.seg { position: relative; flex-grow: var(--n, 1); flex-basis: 0; min-width: 88px; text-align: left; cursor: pointer; font: inherit; color: var(--frost); background: rgba(13,12,17,.4); border: 0; border-radius: 3px; padding: 12px 12px 14px; }
.seg .nm { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: block; }
.seg .ct { font-family: var(--font-mono); font-size: .8rem; color: rgba(244,239,230,.78); }
.seg[aria-pressed="true"] { background: var(--frost); color: var(--ink); }
.seg[aria-pressed="true"] .ct { color: rgba(13,12,17,.76); }

.tl-all { flex: none; flex-grow: 0; flex-basis: auto; min-width: 64px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .9rem; color: var(--frost); background: transparent; border: 1px solid rgba(244,239,230,.5); border-radius: 999px; padding: 5px 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--frost); color: var(--ink); border-color: var(--frost); }
.typeseg { display: inline-flex; border: 1px solid rgba(244,239,230,.5); border-radius: 4px; overflow: hidden; }
.typeseg button { font: inherit; font-size: .9rem; background: transparent; color: var(--frost); border: 0; padding: 7px 13px; cursor: pointer; }
.typeseg button[aria-pressed="true"] { background: var(--frost); color: var(--ink); }
.count { color: var(--muted); font-size: .95rem; }
.clear { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.empty { margin-top: 28px; padding: 28px; background: rgba(244,239,230,.08); border-radius: 6px; color: var(--muted); }

/* results */
.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); margin-top: 36px; }
.bars { display: grid; gap: 16px; margin-top: 20px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: .96rem; margin-bottom: 6px; }
.bar-label span:last-child { font-family: var(--font-mono); }
.bar { height: 16px; background: rgba(13,12,17,.12); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }
.bar i.base { background: var(--teal); }
.note { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.proof { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.proof li { padding-bottom: 6px; }
.proof b { font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; display: block; }
.proof span { color: var(--muted); }
.bignums { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 36px; }
.bignums b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.03em; display: block; line-height: 1; }
.bignums span { display: block; margin-top: 8px; color: var(--muted); max-width: 26ch; }
.reviews { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 32px; }
.review { min-width: 0; }
.review p { font-size: 1.08rem; }
.review small { display: block; color: var(--muted); margin-top: 10px; font-size: .92rem; }
.prose { max-width: 64ch; margin-top: 18px; font-size: 1.05rem; }
.prose p + p { margin-top: 16px; }

/* pricing */
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); margin-top: 36px; }
.tier { background: var(--card); color: var(--card-fg); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tier h3 { font-size: 1.3rem; }
.price { font-family: var(--font-mono); font-size: 2.3rem; font-weight: 500; }
.price small { font-size: .92rem; color: var(--card-muted); }
.tier ul { margin: 0; padding-left: 18px; color: var(--card-muted); display: grid; gap: 4px; }
.tier .fit { margin-top: auto; padding-top: 8px; font-weight: 500; }

/* about and contact */
.cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 32px; }
.cols h3 { font-size: 1.3rem; }
.cols p { margin-top: 8px; color: var(--muted); }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.mail { font-family: var(--font-mono); font-size: clamp(1.1rem, 3.2vw, 1.6rem); user-select: all; overflow-wrap: anywhere; }
.copied { color: var(--muted); font-size: .92rem; min-height: 1.5em; margin-top: 10px; }
.list { margin: 18px 0 0; padding-left: 20px; max-width: 58ch; display: grid; gap: 6px; font-size: 1.05rem; }
.cta-band h2 { max-width: 22ch; }
.cta-band .hero-actions { margin-top: 28px; }
footer.site-foot { background: var(--ink); color: var(--frost); padding-block: 36px; font-size: .94rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-in a { color: rgba(244,239,230,.8); text-decoration: none; }
.foot-in a:hover { color: var(--frost); text-decoration: underline; }

@media (max-width: 700px) {
  .links { order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 2px; }
  .band { padding-block: 56px; }
  .hero { padding-block: 64px 40px; }
  .page-head { padding-block: 44px 40px; }
  .timeline { flex-wrap: wrap; }
  .tl-track { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* results by client */
.client-row { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; }
.client-row h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.client-row .who { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.client-row .bignums { margin-top: 0; }
.client-row .bignums b { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.client-row .why { grid-column: 2; color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) { .client-row { grid-template-columns: 1fr; } .client-row .why { grid-column: 1; } }

/* carousels */
.carousel { margin-top: 48px; }
.car-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .95rem; }
.car-btns { display: flex; gap: 8px; }
.car-btns button { width: 44px; height: 44px; border-radius: 4px; border: 0; cursor: pointer; font-size: 1.2rem; background: var(--fg); color: var(--bg); }
.car-btns button:disabled { opacity: .35; cursor: default; }
.car-track { display: flex; gap: 16px; margin-top: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track .card { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
.car-track .card .thumb { background: var(--blue); }
.band-blue .car-track .card .thumb, .band-teal .car-track .card .thumb { background: var(--ink); }
.client-row .top { margin-top: 18px; }

.thumb.t0 { background: var(--blue); } .thumb.t1 { background: var(--teal); } .thumb.t2 { background: #3A1410; }
.thumb .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: .9; letter-spacing: -0.04em; }
.thumb .sm { font-size: .9rem; margin-top: 6px; color: rgba(244,239,230,.9); }
.thumb .play { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--frost); display: grid; place-items: center; }
.thumb .play svg { width: 16px; height: 16px; fill: var(--ink); margin-left: 2px; }
.thumb .tc, .thumb .res { bottom: auto; top: 12px; }
.thumb .res { left: 12px; } .thumb .tc { right: auto; left: 12px; }
.thumb .tc + .res { left: 64px; }
.car-head[hidden] { display: none; }
/* about */
.about-grid { display: grid; gap: 40px 64px; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.portrait { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; display: block; background: var(--teal); padding: 8px; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .about-grid { grid-template-columns: 1fr; } .portrait { width: 180px; height: 180px; } .band { padding-top: 88px; } }

/* matte: a faint paper grain over everything, no gloss */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
.card, .tier, .btn, .badge { box-shadow: none; }
.thumb .tc, .thumb .res, .tags, .desc, .stats { display: none; }
.thumb .big { font-weight: 700; }


.hero .facts dt { color: var(--blue); }
.card .watch { color: var(--orange); }
.band-frost .card .watch { color: #9A4F00; }

/* thumbnail preview: stand-in art until real thumbnails are added */
.thumb.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb.has-img img { object-position: 50% 30%; }
.thumb.has-img.pillar img { transform: scale(2.3); object-position: 50% 50%; }
.thumb.has-img .big { position: relative; align-self: flex-start; font-size: 1.5rem; line-height: 1; background: rgba(13,12,17,.82); padding: 6px 10px; border-radius: 3px; }
.thumb.has-img .sm { display: none; }

.foot-icons { display: flex; gap: 10px; }
.foot-icons a { width: 44px; height: 44px; border-radius: 50%; background: rgba(244,239,230,.1); color: var(--frost); display: grid; place-items: center; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.foot-icons a:hover { background: var(--orange); color: var(--ink); }
.foot-icons svg { width: 20px; height: 20px; fill: currentColor; }

/* pricing: three full-height color panels under the same slanted top edge */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -32px; clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); position: relative; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 112px 40px 112px 40px; color: var(--frost); }
.plan:first-child { padding-left: max(16px, calc((100vw - 1120px) / 2 + 16px)); }
.plan:last-child { padding-right: max(16px, calc((100vw - 1120px) / 2 + 16px)); }
.plan.p1 { background: var(--blue); }
.plan.p2 { background: var(--teal); }
.plan.p3 { background: var(--orange); color: var(--ink); }
.plan h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: none; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; opacity: .85; }
.plan ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 1.05rem; }
.plan .fit { margin-top: 4px; font-weight: 600; }
.plan .btn { align-self: flex-start; margin-top: 12px; }
.btn-ink { background: var(--ink); color: var(--frost); }
.btn-ink:hover { background: #26242e; }
.plan.p3 :focus-visible { outline-color: var(--ink); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan, .plan:nth-child(2), .plan:last-child { padding: 56px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); } .plan:first-child { padding-top: 96px; } }

/* testimonials */
.quote { margin: 40px 0 0; max-width: 62ch; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 14px; font-style: normal; color: var(--muted); font-size: .95rem; }
.quote.big { margin: 0; max-width: 24em; }
.quote.big p { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }

/* simpler cards: the whole card is the link */
a.card { text-decoration: none; }
a.card:hover .thumb { filter: brightness(1.12); }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card-body { gap: 4px; }
.thumb .play { display: none; }
.big-link .go { display: none; }
.big-link { padding: 24px 24px 28px; }
.client-row .quote { grid-column: 2; margin: 0; max-width: 52ch; }
.quote.clamp p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.quote.clamp.open p { display: block; }
.more-btn { margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 760px) { .client-row .quote { grid-column: 1; } }

/* the pop: one headline number per client, orange on dark, wine on cream */
.client-row .bignums > div:first-child b { color: var(--orange); }
.band-frost .client-row .bignums > div:first-child b { color: var(--blue); }

.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark-icon { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; display: block; }

/* bottom banner: the painting, used on two pages only */
.banner { position: relative; margin-top: -32px; height: clamp(240px, 22vw, 340px); clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); background: var(--ink); overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.banner-in { position: absolute; inset: 0; margin-inline: auto; }
.banner .curve { position: absolute; left: 0; right: 0; top: 76px; bottom: 56px; width: 100%; height: calc(100% - 132px); overflow: visible; }
.banner .dot { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: 76px; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--orange); }
.banner .bl { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); font-family: var(--font-mono); font-size: .95rem; color: var(--frost); }
.banner .bl-top { top: 44px; margin-left: -4px; }
.banner .bl-bot { bottom: 22px; }
.banner-in .curve { left: 16px; right: auto; width: calc(100% - 32px); }

/* responsive pass: phone, tablet, laptop, wide */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; max-width: 560px; }
.facts > div { max-width: none; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.quote.big { max-width: 34em; }
.chip { padding: 8px 14px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-block: 56px 96px; }
  .art img { aspect-ratio: 16 / 10; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
}
@media (max-width: 560px) {
  .facts { gap: 12px 14px; }
  .facts dt { font-size: 1.7rem; }
  .facts dd { font-size: .82rem; }
  .head-in { padding-block: 8px; gap: 2px 12px; }
  .mark { font-size: 1.05rem; }
  .btn { min-height: 48px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .client-row { gap: 20px; }
  .bignums { gap: 20px; }
  .car-track .card { flex-basis: 74vw; }
}
@media (min-width: 1500px) {
  .wrap { max-width: 1320px; }
  .hero h1 { font-size: 5.6rem; }
  .plan:first-child { padding-left: max(16px, calc((100vw - 1320px) / 2 + 16px)); }
  .plan:last-child { padding-right: max(16px, calc((100vw - 1320px) / 2 + 16px)); }
}
.plan.p3 .price small { opacity: 1; color: var(--ink); }
@media (min-width: 620px) and (max-width: 860px) { .plan ul, .plan .fit { max-width: 32em; } }
@media (max-width: 560px) { #libgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } }

/* contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: .95rem; color: var(--frost); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--frost); border: 2px solid transparent; border-radius: 8px; padding: 12px 14px; width: 100%; min-width: 0; }
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; min-height: 48px; }
.form-msg { margin: 0; min-height: 1.4em; color: var(--frost); }
.mail-side { display: grid; gap: 14px; justify-items: start; padding-top: 4px; }
.side-label { margin: 0; color: var(--frost); opacity: .85; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.thumb.has-img .big { z-index: 1; }

@media (min-width: 1100px) { .art img { aspect-ratio: 5 / 4.4; } }
@media (min-width: 1100px) and (max-width: 1499px) { .hero h1 { font-size: 4.4rem; } }

/* shorts: keep the face in frame */
.thumb.has-img.tall img { object-position: 50% 8%; }
.thumb.has-img.pillar img { transform-origin: 50% 22%; object-position: 50% 22%; }

/* results: centered, balanced blocks */
.client-row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px; }
.client-row .bignums { grid-template-columns: repeat(2, auto); justify-content: center; gap: 20px clamp(32px, 9vw, 96px); text-align: center; }
.client-row .bignums span { margin-inline: auto; }
.client-row .quote, .client-row .why { grid-column: auto; margin-inline: auto; max-width: 46ch; text-align: center; }
.client-row .more-btn { margin-inline: auto; }
.carousel { margin-top: 44px; }
.car-track { justify-content: flex-start; }
.car-track > .card:first-child { margin-left: auto; }
.car-track > .card:last-child { margin-right: auto; }
.car-head { justify-content: center; gap: 20px; }
@media (max-width: 560px) { .client-row .bignums { gap: 16px 28px; } .client-row .bignums b { font-size: clamp(2rem, 9vw, 2.6rem); } }

.thumb:not(.has-img) .big .u { display: none; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .grid.two { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .grid.two { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
