/* 42 Limewash: Ardley Kitchen & Bath (sample)
   Recreation of the look of primedecor.framer.website (our own code, Pexels-licensed photos).
   Warm limewash paper (#f8f7f3) with a faint dot grid, near-black bands, one burnt-orange accent, General Sans set bold and
   uppercase, ( ) bracket labels and (01) superscript numbers. The ©-joined masthead, tumbling arch tiles, stacked project
   cards over a blurred photo field, and a script-free before/after on the case study.
   Re-skin: change the shared token layer below. Breakpoints 760 / 1080 (ncs-desktop). No JavaScript: :target, radio
   :checked, <details>, scroll-snap rails and CSS scroll-driven animation only. */
:root {
  /* Shared token layer (library-wide names) */
  --c-bg: #f8f7f3;                 /* limewash paper */
  --c-surface: #efece5;            /* cards and meta panels on the paper */
  --c-ink: #1e1b18;                /* warm black: headings and body */
  --c-muted: #6f675c;              /* body copy on paper: 5.2:1 */
  --c-line: #e2ddd3;               /* hairlines, dot grid (decorative) */
  --c-line-strong: #8a8174;        /* field underlines: 3.6:1 on paper */
  --c-accent: #c4501f;             /* burnt orange: buttons, the © ring, highlights (white text 4.65:1) */
  --c-on-accent: #ffffff;
  --c-accent-2: #a4b88f;           /* sage: one review card and the "sent" mark (status only) */
  --f-display: "General Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "General Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Sans", system-ui, sans-serif;   /* labels and buttons (Prime Decor's second face); no true mono */
  --r-sm: 0px;      /* square corners everywhere, as in the original */
  --r-lg: 0px;
  --r-pill: 0px;    /* buttons are square-cornered orange blocks */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 48px; --s-5: 88px; --s-6: 140px;

  /* Theme names mapped to the shared layer */
  --paper: var(--c-bg);
  --ink: var(--c-ink);
  --orange: var(--c-accent);
  --night: #11100f;                /* dark bands */
  --black: #000000;                /* FAQ and footer */
  --card-d: #1b1b1b;               /* cards on dark */
  --muted-d: #9a9285;              /* body copy on dark: 6.2:1 */
  --lilac: #9a8db5;                /* review card */
  --label: #736b5f;                /* ( ) labels on paper: 4.9:1 */
  --orange-ink: #ad4418;           /* small orange text on paper: 5.4:1 */
  --gut: 20px;
  --sec: 72px;
  --e-out: cubic-bezier(.23, 1, .32, 1);
  --e-roll: cubic-bezier(.65, 0, .35, 1);
  --t-h2: clamp(40px, 4.4vw + 22px, 80px);
  --t-big: clamp(28px, 1.6vw + 20px, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); scroll-padding-top: 72px; }
body { margin: 0; color: var(--ink); font: 500 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: var(--paper) radial-gradient(circle, rgb(30 27 24 / .10) 1.1px, transparent 1.4px) 0 0 / 24px 24px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
small { font-size: inherit; }
sup { font-size: .5em; line-height: 0; vertical-align: .9em; font-weight: 600; margin-left: .08em; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.mute { color: var(--c-muted); }
.dark .mute { color: var(--muted-d); }
.up { text-transform: uppercase; }
.center { text-align: center; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.d-only { display: none; }
.dark { background: var(--night); color: #fff; }

a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.dark :focus-visible, .btn:focus-visible { outline-color: var(--ink); }
.dark .btn:focus-visible, .dark :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 16px; background: var(--orange); color: var(--c-on-accent); font-weight: 600; }
.skip:focus { top: 12px; }
.demo { background: var(--ink); color: #d9d4ca; font: 500 13px/1.4 var(--f-mono); text-align: center; padding: 9px 16px; }

/* ( ) labels: DM Sans 700 caps, like "(WORKS)" */
.lbl { font: 700 15px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .01em; color: var(--label); margin-bottom: 10px; }
.dark .lbl { color: #fff; }
.h2 { font-size: var(--t-h2); line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.h4 { font-size: 22px; line-height: 1.25; font-weight: 600; }

/* ---------- Buttons: square orange block, DM Sans, rolling label ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-pill);
  background: var(--orange); color: var(--c-on-accent); font: 600 16px/1 var(--f-mono); cursor: pointer; white-space: nowrap;
  transition: transform 120ms var(--e-out), background-color 200ms; }
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; stroke-width: 2; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-wide { width: 100%; }
.roll { display: inline-grid; overflow: hidden; line-height: 1.25; }
.roll > span, .roll::after { grid-area: 1 / 1; transition: transform 380ms var(--e-roll); }
.roll::after { content: attr(data-label); content: attr(data-label) / ""; transform: translateY(105%); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #a9431a; }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
  .btn:hover .roll > span { transform: translateY(-105%); }
  .btn:hover .roll::after { transform: translateY(0); }
}

/* Rails (phones): swipe rows with hidden scrollbars */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 300px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -3px; }

/* ---------- Header: logo left, (01) links right; sticky with a hairline on phones ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--c-line); }
.bar { display: flex; align-items: center; gap: 6px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; padding: 0; font: 600 22px/1 var(--f-display); letter-spacing: -.02em; }
.logo-sub { display: none; font: 500 14px/1 var(--f-mono); letter-spacing: 0; color: var(--c-muted); }
.site-nav { display: none; }
.bar-call { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; font: 600 16px/1 var(--f-mono); color: var(--orange-ink); }
.bar-call .i { width: 17px; height: 17px; stroke-width: 1.9; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; color: var(--ink); }
.menu-btn .i { width: 26px; height: 26px; stroke-width: 1.8; }

/* ---------- Menu: Prime Decor's sheet (big numbered links, orange block, dark contact card) as a :target overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--paper); visibility: hidden; opacity: 0;
  transition: opacity 220ms var(--e-out), visibility 0s 220ms; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.menu:target { visibility: visible; opacity: 1; transition: opacity 220ms var(--e-out); }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.menu-top .logo { margin: 0; }
.menu-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 18px; max-width: 640px; margin-inline: 0; }
.menu-card a { overflow-wrap: anywhere; }
.menu-list { display: grid; }
.menu-list a { display: flex; align-items: center; min-height: 56px; font: 600 clamp(32px, 8.6vw, 44px)/1.1 var(--f-display); letter-spacing: -.02em; }
.menu-list sup { font-size: .46em; vertical-align: 1em; }
.menu-card { background: var(--card-d); color: #fff; padding: 22px 24px; display: grid; gap: 4px; }
.menu-card .lbl { color: #fff; margin-bottom: 6px; }
.menu-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-d); font-size: 17px; line-height: 1.3; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .menu-list a:hover { color: var(--orange); } .menu-card a:hover { color: #fff; } }

/* ---------- Hero: masthead + stepped photo reveal ---------- */
.hero { padding: 36px 0 var(--sec); }
.mast { font-weight: 600; text-transform: uppercase; line-height: .84; letter-spacing: -.03em; white-space: nowrap;
  font-size: calc((min(100vw, 1440px) - 2 * var(--gut)) * .1305); margin: 0 0 clamp(20px, 3.4vw, 56px) -.02em; }
.mast-t { display: block; }
.cc { font-weight: 500; letter-spacing: -.02em; margin: 0 .01em; }
.hero-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #e7e1d6; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.tiles span { background: var(--paper); opacity: 0; }
.hero-foot { display: grid; gap: 18px; margin-top: 22px; }
.hero-lede { font-size: 20px; line-height: 1.4; font-weight: 500; max-width: 34ch; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; }
.rating { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--f-mono); }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 16px; height: 16px; }

/* ---------- Statement with tumbling arch tiles ---------- */
.belief { padding: 0 0 var(--sec); overflow: clip; }
.belief-in { position: relative; display: grid; place-items: center; min-height: 440px; }
.statement { max-width: 15ch; text-align: center; font-size: clamp(30px, 3.3vw + 16px, 64px); line-height: 1.22; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.tumble { position: absolute; width: clamp(84px, 12vw, 170px); aspect-ratio: 1; object-fit: cover; box-shadow: 0 18px 40px -18px rgb(60 30 10 / .45); }
.t1 { left: 2%; top: 0; rotate: -12deg; }
.t2 { right: 3%; top: 4%; rotate: 9deg; }
.t3 { left: 7%; bottom: 0; rotate: 7deg; }
.t4 { right: 1%; bottom: 3%; rotate: -10deg; }

/* ---------- Trust band (dark) ---------- */
.trust { padding: var(--sec) 0; }
.trust-top { display: grid; gap: 24px; }
.h3x { font-size: var(--t-big); line-height: 1.2; font-weight: 700; }
.trust-copy { display: grid; gap: 12px; color: var(--muted-d); font-size: 17px; }
.trust-copy .big { color: #fff; font-size: 22px; line-height: 1.3; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.sc { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 168px; padding: 16px;
  background: #1b1714; isolation: isolate; }
.sc::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.sc::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
              linear-gradient(transparent 35%, rgb(10 8 6 / .85)); }
.sc-a::before { background: radial-gradient(70% 60% at 30% 25%, #c4501f, transparent 70%), radial-gradient(60% 50% at 85% 10%, #f0d2ad, transparent 70%), #1b1714; }
.sc-b::before { background: conic-gradient(from 210deg at 60% 35%, #2a1d16, #8f6a4c, #e8d3b8, #3b2a20, #2a1d16); }
.sc-c::before { background: radial-gradient(55% 55% at 50% 30%, #e8e1d4, transparent 72%), repeating-radial-gradient(circle at 50% 30%, #3a3029 0 6px, #241d18 6px 12px); }
.sc-d::before { background: linear-gradient(160deg, #a4b88f 0%, #4d5a3f 45%, #1b1714 80%); }
.sc b { font: 500 40px/1 var(--f-display); letter-spacing: -.02em; }
.sc sup { font-size: .45em; font-weight: 500; vertical-align: 1.1em; }
.sc span { font-size: 15px; line-height: 1.35; color: #f2eee7; }
.creds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
.creds::-webkit-scrollbar { display: none; }
.creds li { display: grid; align-content: end; gap: 4px; min-height: 100px; padding: 16px; background: var(--card-d); font-size: 14px; color: var(--muted-d); }
.creds b { color: #fff; font-size: 17px; line-height: 1.25; font-weight: 600; }
.cred-hi { background: var(--orange) !important; color: #fff !important; }
.cred-hi b { display: inline-flex; align-items: center; gap: 6px; font: 600 30px/1 var(--f-display); }
.cred-hi .i { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.cred-hi .mute { color: #fff; }

/* ---------- Projects: stacked cards over a blurred photo field ---------- */
.work { padding: var(--sec) 0 calc(var(--sec) - 24px); }
.sec-head { display: grid; gap: 18px; margin-bottom: 28px; }
.sec-head .btn { justify-self: start; }
.proj { position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: space-between; gap: 16px; padding: 20px; min-height: 520px; color: #fff; background: #2b241e; }
.proj-bg { position: absolute; inset: -40px; z-index: -1; width: calc(100% + 80px); max-width: none; height: calc(100% + 80px); object-fit: cover; filter: blur(22px) brightness(.5) saturate(.9); }
.proj-h { font-size: 24px; line-height: 1.1; font-weight: 600; text-transform: uppercase; }
.proj-img { width: 70%; justify-self: center; aspect-ratio: 3 / 4; object-fit: cover; }
.proj-txt { display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
.proj-meta { font: 600 13px/1.3 var(--f-mono); text-transform: uppercase; color: #e8e2d8; }
.proj-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1 var(--f-mono); color: #ffb48f; }
.proj-link .i { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- Case study + before/after ---------- */
.case { padding: var(--sec) 0; }
.case-head { display: grid; gap: 14px; margin-bottom: 26px; }
.case-lede { font-size: 19px; line-height: 1.45; color: var(--c-muted); max-width: 30ch; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; padding-bottom: 26px; border-bottom: 1px solid var(--c-line); }
.case-meta dt { font-size: 14px; color: var(--c-muted); }
.case-meta dd { font-size: 17px; line-height: 1.3; font-weight: 600; }
.case-grid { display: grid; gap: 32px; margin-top: 28px; }
.case-txt { display: grid; gap: 8px; align-content: start; }
.case-txt p { color: var(--c-muted); }
.case-txt .h4 + p { margin-bottom: 12px; }
.more summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font: 600 16px/1.2 var(--f-mono); color: var(--orange-ink); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 22px; line-height: 1; }
.more[open] summary::after { content: "–"; }
.ticks { display: grid; gap: 6px; margin: 4px 0 16px; padding-left: 20px; list-style: disc; color: var(--c-muted); }
.case-q p { font-size: 19px; line-height: 1.4; font-style: italic; color: var(--ink); }
.case-q footer { margin-top: 6px; font-size: 14px; color: var(--c-muted); }

.ba-title { font: 700 15px/1.4 var(--f-mono); text-transform: uppercase; color: var(--label); margin-bottom: 12px; }
.ba-tabs { display: inline-flex; margin: 0 8px 12px 0; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ba-r { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); }
.ba-tabs label { display: grid; place-items: center; min-width: 88px; min-height: 44px; padding: 0 16px; cursor: pointer; font: 600 15px/1 var(--f-mono); transition: background-color 160ms, color 160ms; }
.ba-r:checked + label { background: var(--ink); color: var(--paper); }
.ba-r:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; position: relative; z-index: 1; }
.ba-stage { display: grid; }
.ba-pair { grid-area: 1 / 1; min-width: 0; display: grid; transition: opacity 260ms var(--e-out); }
.ba-col { grid-area: 1 / 1; min-width: 0; transition: opacity 260ms var(--e-out); }
.ba-lab { font: 600 15px/1.3 var(--f-display); margin-bottom: 8px; }
.ba-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #e7e1d6; }
.ba-bath, .ba-bf { visibility: hidden; opacity: 0; }
#ba-b:checked ~ .ba-stage .ba-bath { visibility: visible; opacity: 1; }
#ba-b:checked ~ .ba-stage .ba-kitchen { visibility: hidden; opacity: 0; }
.ba:has(#ba-b:checked) .ba-bath { visibility: visible; opacity: 1; }
.ba:has(#ba-b:checked) .ba-kitchen { visibility: hidden; opacity: 0; }
.ba:has(#ba-before:checked) .ba-bf { visibility: visible; opacity: 1; }
.ba:has(#ba-before:checked) .ba-af { visibility: hidden; opacity: 0; }
.ba-note { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--c-muted); max-width: 60ch; }

/* ---------- Services: big numbered list ---------- */
.services { padding: var(--sec) 0; }
.svc-grid { display: grid; gap: 28px; margin-top: 28px; }
.svc-side img { display: none; }
.svc-side .h4 { margin-bottom: 8px; }
.svc-side p { color: var(--c-muted); font-size: 18px; line-height: 1.5; }
.svc-list li { padding: 14px 0 16px; border-bottom: 1px solid var(--c-line); }
.svc-list li:first-child { border-top: 1px solid var(--c-line); }
.svc-list h3 { font-size: clamp(28px, 2.6vw + 18px, 64px); line-height: 1.12; font-weight: 700; color: #6f675c; letter-spacing: -.01em; transition: color 200ms; }
.svc-list h3 sup { font-size: .42em; vertical-align: 1.2em; }
.svc-list p { margin-top: 4px; font-size: 16px; color: var(--c-muted); }
.svc-list p .num { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .svc-list li:hover h3 { color: var(--ink); } }

/* ---------- Process (dark) ---------- */
.process { padding: var(--sec) 0; }
.process .h2 { margin-bottom: 32px; }
.step { display: grid; align-content: start; gap: 8px; padding: 12px 12px 18px; background: var(--card-d); }
.step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; filter: saturate(.8) brightness(.85); }
.step b { font: 600 40px/1 var(--f-display); }
.step h3 { font-size: 19px; line-height: 1.2; text-transform: uppercase; }
.step p { font-size: 15px; color: var(--muted-d); }

/* ---------- Showroom reel (dark) ---------- */
.reel { padding: var(--sec) 0; overflow: clip; }
.reel-h { display: grid; gap: 4px; font-size: var(--t-h2); line-height: 1.02; font-weight: 700; text-transform: uppercase; margin-bottom: 26px; }
.reel-h span:last-child { justify-self: end; }
.reel-photo { overflow: hidden; }
.reel-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reel-note { margin-top: 18px; color: var(--muted-d); max-width: 52ch; }
.reel-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reviews: tilted colour cards ---------- */
.reviews { padding: var(--sec) 0; overflow: clip; }
.reviews .h2 { margin-bottom: 30px; }
.rev-side { display: none; }
.rev { display: grid; align-content: space-between; gap: 18px; min-height: 340px; padding: 20px; background: #fff; box-shadow: 0 1px 0 var(--c-line), 0 24px 50px -30px rgb(60 40 20 / .35); }
.rev-a { background: var(--lilac); }
.rev-b { background: var(--c-accent-2); }
.rev-top { display: flex; justify-content: space-between; align-items: center; }
.rev-top .i { width: 26px; height: 26px; stroke-width: 2.4; }
.rev-top span { letter-spacing: 2px; font-size: 20px; line-height: 1; }
.rev blockquote p { font-size: 20px; line-height: 1.38; font-weight: 500; }
.who { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; }
.who small { display: block; font-size: 13px; }
.av { display: grid; place-items: center; width: 36px; height: 36px; flex: none; background: var(--ink); color: var(--paper); font: 600 13px/1 var(--f-mono); }

/* ---------- About ---------- */
.about { padding: var(--sec) 0; }
.about-head { display: grid; gap: 14px; }
.about-lede { font-size: 19px; line-height: 1.45; color: var(--c-muted); max-width: 32ch; }
.about-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 36px; font-size: 14px; }
.about-meta dt { font: 700 13px/1.3 var(--f-mono); text-transform: uppercase; }
.about-meta dd { color: var(--c-muted); }
.who-we { display: grid; gap: 4px; }
.reveal-text { font-size: clamp(22px, 1.3vw + 16px, 32px); line-height: 1.38; font-weight: 500; }
.manifesto { margin: 40px 0; padding: 28px 0; border-block: 1px solid var(--c-line); }
.manifesto blockquote p { font-size: clamp(26px, 2vw + 16px, 44px); line-height: 1.2; font-weight: 600; }
.manifesto blockquote p::before { content: "\201C"; display: block; height: .55em; font-size: 2em; line-height: 1; color: var(--orange); }
.manifesto figcaption { margin-top: 14px; font-style: italic; color: var(--c-muted); text-align: right; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team li { display: grid; gap: 2px; font-size: 16px; line-height: 1.3; }
.team small { font-size: 14px; color: var(--c-muted); }
.tm-av { display: grid; place-items: end start; aspect-ratio: 4 / 3; margin-bottom: 8px; padding: 12px; color: #fff; font: 600 30px/1 var(--f-display);
  background: radial-gradient(80% 70% at 75% 20%, #d9b48f, transparent 70%), linear-gradient(160deg, #7a5a42, #2a211b); }
.team li:nth-child(2) .tm-av { background: radial-gradient(80% 70% at 25% 20%, #b7c4a5, transparent 70%), linear-gradient(160deg, #4d5a3f, #1f241a); }
.team li:nth-child(3) .tm-av { background: radial-gradient(80% 70% at 70% 30%, #e0866a, transparent 70%), linear-gradient(160deg, #8d3a1c, #2a1710); }
.team li:nth-child(4) .tm-av { background: radial-gradient(80% 70% at 30% 25%, #c3b6d6, transparent 70%), linear-gradient(160deg, #5c5170, #1f1b26); }

/* ---------- Contact ---------- */
.contact { padding: var(--sec) 0; }
.contact-grid { display: grid; gap: 32px; }
.c-list { display: grid; gap: 14px; }
.c-list li { display: grid; }
.c-list .lbl { margin: 0; font-size: 14px; }
.c-list a, .c-list li > span:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: 20px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.c-list li > span:last-child { min-height: 0; font-size: 18px; font-weight: 500; }
.q-form { position: relative; display: grid; gap: 18px; align-content: start; }
.form-h { font: 600 24px/1.2 var(--f-display); text-transform: uppercase; }
.f-2 { display: grid; gap: 18px; }
.f-row { display: grid; gap: 4px; }
.f-row label { font: 600 14px/1.3 var(--f-mono); text-transform: uppercase; color: var(--label); }
.req { text-transform: none; font-weight: 500; }
.q-form input, .q-form select, .q-form textarea { width: 100%; min-height: 52px; padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--c-line-strong); border-radius: 0;
  background: transparent; color: var(--ink); font: 500 19px/1.3 var(--f-body); }
.q-form textarea { resize: vertical; min-height: 72px; }
.q-form select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 7px 7px no-repeat,
  linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 0 center / 7px 7px no-repeat; padding-right: 24px; }
.q-form ::placeholder { color: #857c70; }
.q-form input:focus-visible, .q-form select:focus-visible, .q-form textarea:focus-visible { outline: none; border-bottom-color: var(--orange); box-shadow: 0 2px 0 var(--orange); }
.q-form .btn { justify-self: start; }
.sent { position: absolute; inset: 0; display: grid; place-content: center; padding: 24px; background: var(--paper); visibility: hidden; opacity: 0; transition: opacity 240ms; }
.sent p { max-width: 36ch; font-size: 18px; line-height: 1.45; border-left: 4px solid var(--c-accent-2); padding-left: 16px; }
.sent:target { visibility: visible; opacity: 1; }

/* ---------- FAQ (black): numbered rows, orange square toggles ---------- */
.faq { background: var(--black); padding: var(--sec) 0; }
.faq .h2 { margin-bottom: 30px; }
.faq-list { max-width: 1000px; margin-inline: auto; border-top: 1px solid #2a2a2a; }
.faq details { border-bottom: 1px solid #2a2a2a; }
.faq details[open] { background: var(--card-d); }
.faq summary { display: grid; grid-template-columns: 44px 1fr 32px; gap: 10px; align-items: start; min-height: 64px; padding: 16px 12px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.q-n { font: 600 15px/1.6 var(--f-display); color: #b8b2a8; }
.q-t { font-size: 19px; line-height: 1.3; font-weight: 500; color: #e8e5e1; }
.q-i { display: grid; place-items: center; width: 32px; height: 32px; background: var(--orange); color: #fff; }
.q-i .i { width: 16px; height: 16px; stroke-width: 2.2; transition: rotate 220ms var(--e-out); }
.faq details[open] .q-i .i { rotate: 180deg; }
.faq details[open] .q-t { color: #fff; }
.ans { padding: 0 12px 20px 66px; color: var(--muted-d); max-width: 70ch; }

/* ---------- CTA band (computers) ---------- */
.cta { display: none; }

/* ---------- Footer (black, hairline grid) ---------- */
.foot { background: var(--black); padding: 8px 0 calc(28px + env(safe-area-inset-bottom)); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid #262626; border-top: 1px solid #262626; }
.f-col { padding: 22px 16px; border-right: 1px solid #262626; border-bottom: 1px solid #262626; }
.f-col:last-child { grid-column: 1 / -1; }
.f-col .lbl { margin-bottom: 8px; }
.f-col a, .f-col li { display: flex; align-items: center; min-height: 44px; min-width: 44px; color: #8a8276; font-size: 17px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .f-col a:hover { color: #fff; } }
.f-legal { display: grid; gap: 6px; padding-top: 22px; font-size: 14px; color: #fff; }

/* ---------- Motion (CSS only; nothing waits on it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tiles span { animation: tile-out 380ms var(--e-out) both; animation-delay: calc(240ms + var(--d, 0) * 85ms); }
  .tiles span:nth-child(4n+2) { --c: 1; } .tiles span:nth-child(4n+3) { --c: 2; } .tiles span:nth-child(4n+4) { --c: 3; }
  .tiles span:nth-child(n+5) { --r: 1; } .tiles span:nth-child(n+9) { --r: 2; }
  .tiles span { --d: calc(var(--c, 0) + var(--r, 0)); }
  .mast-t { animation: rise 700ms var(--e-out) both; }
  @supports (animation-timeline: view()) {
    .tumble { animation: tumble linear both; animation-timeline: view(); animation-range: entry 0% exit 40%; }
    .t2 { animation-name: tumble-b; } .t3 { animation-name: tumble-c; } .t4 { animation-name: tumble-d; }
    .reel-photo img { animation: reel-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .reveal-text { color: transparent; background: linear-gradient(90deg, var(--ink) 50%, #c9c1b4 50%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text;
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 10% cover 38%; }
  }
}
@keyframes tile-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18%); } }
@keyframes tumble   { from { transform: translate(-30%, -70%) rotate(-48deg); } to { transform: translate(10%, 30%) rotate(14deg); } }
@keyframes tumble-b { from { transform: translate(40%, -60%) rotate(52deg); } to { transform: translate(-10%, 30%) rotate(-12deg); } }
@keyframes tumble-c { from { transform: translate(-50%, -40%) rotate(-36deg); } to { transform: translate(6%, 24%) rotate(18deg); } }
@keyframes tumble-d { from { transform: translate(50%, -50%) rotate(40deg); } to { transform: translate(-8%, 26%) rotate(-16deg); } }
@keyframes reel-grow { from { transform: scale(.62); } to { transform: scale(1); } }
@keyframes reveal { to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; } }

/* ---------- Tablet (760+) ---------- */
@media (min-width: 760px) {
  :root { --gut: 40px; --sec: 104px; }
  .bar { height: 76px; }
  .logo { font-size: 24px; }
  .logo-sub { display: inline; }
  .hero { padding-top: 56px; }
  .hero-photo { aspect-ratio: 16 / 9.4; }
  .hero-foot { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .hero-act { grid-row: span 2; }
  .belief-in { min-height: 620px; }
  .trust-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .stat-cards { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
  .sc { min-height: 300px; padding: 20px; }
  .sc b { font-size: 48px; }
  .creds { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sec-head { grid-template-columns: 1fr auto; align-items: end; }
  .case-head, .about-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
  .case-meta { grid-template-columns: repeat(6, 1fr); }
  .case-meta dd { font-size: 22px; }
  .rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .steps.rail { grid-template-columns: repeat(5, 1fr); }
  .team { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 56px; }
  .f-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .f-grid { grid-template-columns: repeat(3, 1fr); }
  .f-col { padding: 32px 28px; }
  .f-col:last-child { grid-column: auto; }
  .f-legal { display: flex; justify-content: space-between; }
  /* before/after: Before | After side by side (Prime Decor's project page); the view switch is a phone tool */
  .ba-view { display: none; }
  .ba-pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ba-col { grid-area: auto; }
  .ba-pair .ba-bf { visibility: inherit; opacity: 1; }
  .ba:has(#ba-before:checked) .ba-af { visibility: inherit; opacity: 1; }
}

/* ---------- Desktop (1080+) ---------- */
@media (min-width: 1080px) {
  :root { --gut: 80px; --sec: 140px; }
  .site-head { position: relative; border-bottom: 0; background: transparent; }
  .bar { height: 86px; gap: 0; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 14px; }
  .site-nav a { display: inline-flex; align-items: baseline; min-height: 44px; padding-top: 10px; font-size: 16px; font-weight: 500; }
  .site-nav sup { font-size: 13px; vertical-align: .5em; font-weight: 500; }
  .bar-call { margin-left: 22px; padding: 0 0 0 22px; color: var(--ink); border-left: 1px solid var(--c-line-strong); min-height: 24px; }
  .bar-call .i { color: var(--orange); }
  .d-only { display: inline; }
  .m-only, .menu-btn, .menu { display: none; }
  @media (hover: hover) and (pointer: fine) { .site-nav a:hover, .bar-call:hover { color: var(--orange); } }

  .hero { padding-top: 92px; }
  .mast { margin-bottom: 52px; }
  .hero-foot { grid-template-columns: 1fr auto auto; gap: 40px; margin-top: 30px; }
  .hero-act { grid-row: auto; order: 3; }
  .rating { order: 2; }
  .belief-in { min-height: 860px; }
  .tumble { width: 170px; }
  .t1 { left: 4%; top: 6%; } .t2 { right: 6%; top: 2%; } .t3 { left: 10%; bottom: 4%; } .t4 { right: 4%; bottom: 8%; }

  .trust-top { grid-template-columns: 373px 1fr 373px; gap: 0; }
  .trust-top > div:first-child { grid-column: 1; }
  .trust-copy { grid-column: 3; }
  .h3x { font-size: 40px; line-height: 1.2; }
  .trust-copy .big { font-size: 24px; }
  .stat-cards { gap: 20px; margin-top: 88px; }
  .sc { min-height: 380px; padding: 24px; }
  .sc:nth-child(odd) { translate: 0 28px; }
  .creds { margin-top: 64px; }
  .creds li { min-height: 132px; padding: 20px; }

  /* Prime Decor's stacked project cards: sticky, each one slides over the last */
  .proj-list.rail { grid-template-columns: 1fr; gap: 28px; }
  .proj { position: sticky; top: 28px; grid-template-columns: 1fr 340px 1fr; align-items: center; gap: 48px; min-height: 620px; padding: 48px 56px; }
  .proj-h { font-size: 40px; line-height: 1.2; align-self: center; }
  .proj-img { width: 340px; }
  .proj-txt { font-size: 20px; line-height: 1.4; max-width: 310px; justify-self: end; }
  .proj-meta { font-size: 14px; }

  .case-grid { grid-template-columns: 4fr 7fr; gap: 72px; margin-top: 48px; }
  .case-txt .h4 { font-size: 26px; }
  .case-txt p { font-size: 17px; }

  .svc-grid { grid-template-columns: 450px 1fr; gap: 92px; margin-top: 64px; align-items: start; }
  .svc-side { position: sticky; top: 40px; }
  .svc-side img { display: block; width: 210px; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 28px; }
  .svc-side .h4 { font-size: 30px; }
  .svc-list li { padding: 20px 0 22px; }
  .svc-list p { margin-top: 6px; font-size: 17px; }
  .svc-list p .num { display: inline; margin-left: 10px; }

  .process .h2 { margin-bottom: 64px; font-size: 96px; }
  .steps.rail { gap: 16px; }
  .step:nth-child(even) { translate: 0 72px; }
  .process { padding-bottom: calc(var(--sec) + 72px); }
  .step b { font-size: 56px; }

  .reel-h { font-size: 96px; margin-bottom: 40px; }
  .reel-photo { max-width: 1000px; margin-inline: auto; }

  .rev-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .rev-side { display: block; font: 600 20px/1 var(--f-display); color: var(--label); }
  .rev-side:last-child { text-align: right; }
  .rev-list.rail { display: grid; grid-template-columns: repeat(3, 360px); gap: 0; padding: 40px 0 60px; }
  .rev { min-height: 420px; padding: 24px; }
  .rev-a { rotate: -6deg; translate: 40px 10px; z-index: 1; }
  .rev-b { rotate: 2deg; z-index: 2; }
  .rev-c { rotate: 7deg; translate: -40px 24px; z-index: 1; }
  .rev { transition: rotate 300ms var(--e-out), translate 300ms var(--e-out); }
  @media (hover: hover) and (pointer: fine) { .rev:hover { rotate: 0deg; z-index: 3; } }

  .about-meta { grid-template-columns: repeat(3, auto); justify-content: space-between; margin: 56px 0 96px; font-size: 16px; }
  .who-we { grid-template-columns: 1fr 2fr; gap: 40px; }
  .manifesto { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin: 96px 0; padding: 56px 0; }
  .manifesto figcaption { grid-column: 2; }
  .team { gap: 20px; }
  .tm-av { font-size: 44px; padding: 18px; }

  .contact-grid { grid-template-columns: 4fr 8fr; gap: 96px; margin-top: 64px; }
  .c-list { gap: 24px; }
  .c-list a { font-size: 22px; overflow-wrap: normal; }
  .q-form { gap: 26px; }
  .form-h { font-size: 32px; }
  .q-form input, .q-form select, .q-form textarea { font-size: 22px; }

  .faq .h2 { margin-bottom: 56px; }
  .faq summary { grid-template-columns: 236px 1fr 32px; padding: 22px 24px; }
  .q-n { font-size: 24px; line-height: 1.3; }
  .q-t { font-size: 30px; line-height: 1.25; }
  .ans { padding: 0 24px 28px 270px; }

  body:has(:is(#contact, #faq, #sent):target) .cta { display: none; }
  .cta { display: block; padding: 140px 0; text-align: center; background: #0d0d0d; }
  .cta-h { max-width: 15ch; margin: 0 auto 28px; font-size: 72px; line-height: 1.05; font-weight: 700; text-transform: uppercase; color: #b8b2a8; }
  .cta-h em { font-style: normal; color: #e46a38; }
  .cta p { max-width: 42ch; margin: 0 auto 32px; color: var(--muted-d); font-size: 18px; }

  .foot { padding-top: 56px; }
  .f-col a, .f-col li { font-size: 20px; }
  .f-legal { padding-top: 32px; }
}

/* ---------- Phone length budget (10 screens at 393x852): fold secondary content on phones only ---------- */
@media (max-width: 759px) {
  :root { --sec: 40px; }
  .hero { padding: 24px 0 36px; }
  .hero-photo { aspect-ratio: 6 / 5; }
  .hero-lede, .about-lede, .case-lede { max-width: none; }
  .hero-foot { gap: 14px; margin-top: 18px; }
  .hero-lede { font-size: 18px; }
  .hero-act { flex-wrap: nowrap; gap: 8px; }
  .hero-act .btn { min-height: 52px; padding: 0 clamp(10px, 3vw, 18px); font-size: 15px; gap: 8px; }
  .h3x { font-size: clamp(24px, 6.6vw, 28px); }
  .belief { padding-bottom: 36px; }
  .belief-in { min-height: 256px; }
  .tumble { width: 76px; animation: none !important; }
  .t1 { left: 12px; top: 0; } .t2 { right: 12px; top: 2%; } .t3 { left: 16px; bottom: 0; } .t4 { right: 14px; bottom: 2%; }
  .trust-copy p:not(.big) { display: none; }
  .trust-top { gap: 14px; }
  .stat-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scrollbar-width: none; margin: 24px calc(-1 * var(--gut)) 0; padding-inline: var(--gut); }
  .stat-cards::-webkit-scrollbar { display: none; }
  .sc { min-height: 150px; padding: 14px; }
  .sc b { font-size: 34px; }
  .sc span { font-size: 14px; }
  .creds li { min-height: 92px; padding: 14px; }
  .proj { min-height: 360px; padding: 18px; }
  .proj-img { width: 56%; }
  .proj-txt p:first-child { font-size: 15px; }
  .case .case-lede { display: none; }
  .case-head { margin-bottom: 16px; }
  .case-meta { gap: 12px 10px; padding-bottom: 18px; }
  .case-meta dd { font-size: 16px; }
  .case-grid { gap: 22px; margin-top: 20px; }
  .case-txt .h4 { font-size: 20px; }
  .case-txt .h4:nth-of-type(2), .case-txt .h4:nth-of-type(2) + p { display: none; }
  .ba-tabs { margin: 0 4px 12px 0; }
  .ba-tabs label { min-width: 0; padding: 0 13px; font-size: 14px; }
  .ba-lab { display: none; }
  .ba-col img { aspect-ratio: 1 / 1.08; }
  .ba-note { font-size: 13px; }
  .svc-side { display: none; }
  .svc-grid { margin-top: 18px; }
  .svc-list li { padding: 10px 0 12px; }
  .svc-list p { margin-top: 2px; }
  .svc-d { display: none; }
  .svc-list p .num { font-size: 14px; font-weight: 500; color: var(--c-muted); }
  .svc-list li:nth-child(n+3) p { display: none; }
  .process .h2 { margin-bottom: 22px; }
  .step img { aspect-ratio: 3 / 1; }
  .step b { font-size: 32px; }
  .reel-h { font-size: 36px; margin-bottom: 16px; }
  .reel-note { display: none; }
  .reel-photo img { animation: none !important; }
  .reviews .h2 { margin-bottom: 22px; }
  .rev { min-height: 260px; padding: 18px; }
  .rev blockquote p { font-size: 19px; }
  .about-meta { display: none; }
  .about-head { margin-bottom: 24px; }
  .who-we { display: none; }
  .manifesto { margin: 0 0 24px; padding: 20px 0; }
  .team { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .team::-webkit-scrollbar { display: none; }
  .tm-av { aspect-ratio: 5 / 3; font-size: 24px; }
  .contact-grid { gap: 24px; }
  .c-list { gap: 8px; }
  .c-list li:nth-child(2), .c-list li:nth-child(5) { display: none; }
  .c-list a { font-size: 18px; }
  .q-form { gap: 14px; }
  .f-2 { gap: 14px; }
  .q-form input, .q-form select { min-height: 48px; padding: 8px 0; font-size: 17px; }
  .q-form textarea { min-height: 60px; font-size: 17px; }
  .faq .h2 { margin-bottom: 20px; }
  .faq summary { min-height: 56px; padding: 12px 10px; }
  .q-t { font-size: 17px; }
  .f-col:nth-child(2) { display: none; }
  .f-col { padding: 18px 14px; }
  .f-col:last-child { grid-column: auto; }
  .f-col a, .f-col li { font-size: 15px; min-height: 44px; }
  .f-col ul { columns: 1; }
  .f-col:last-child li:last-child { display: none; }
  .f-legal { padding-top: 16px; font-size: 13px; }
}
