/* =====================================================================
   WPC V1 "Plac" (The Yard) — app.css
   One stylesheet. Every token sits in the :root block below: re-tone the
   variant by editing that block only.
   ===================================================================== */

/* ---------------------------------------------------------- tokens */
:root {
  /* ground, ink, accent */
  --paper: #F2EDE4;          /* ground */
  --paper-2: #E9E2D6;        /* panels, inputs */
  --paper-3: #DDD4C5;        /* pressed, hover on panels */
  --ink: #16181B;            /* text */
  --graphite: #5B5E63;       /* secondary text */
  --fog: #D3CBBD;            /* hairlines */
  --clay: #E05C0B;           /* logo orange: the only accent */
  --clay-2: #C94F06;         /* clay hover */
  --pine: #23392F;           /* deep bands: menu, steps, footer */
  --pine-2: #2D4739;
  --on-dark: #F2EDE4;        /* text on pine and photos */
  --on-dark-2: #B8C4BB;      /* secondary text on pine */
  --scrim: 14 20 17;         /* rgb of photo scrims */

  /* type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-text: "Manrope", "Segoe UI", system-ui, sans-serif;
  --fs-d1: clamp(2.875rem, 1.05rem + 7.2vw, 8rem);      /* 46 -> 128 */
  --fs-d2: clamp(2.125rem, 1.2rem + 3.6vw, 4.5rem);     /* 34 -> 72 */
  --fs-d3: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);    /* 26 -> 40 */
  --fs-h4: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);      /* 20 -> 24 */
  --fs-lead: clamp(1.25rem, 1.06rem + .7vw, 1.75rem);   /* 20 -> 28 */
  --fs-body: 1.0625rem;      /* 17 */
  --fs-sm: .9375rem;         /* 15 */
  --fs-xs: .8125rem;         /* 13 */
  --lh-tight: .92;
  --lh-head: 1.04;
  --lh-body: 1.62;
  --track-display: -.03em;

  /* layout */
  --max: 1440px;
  --gut: clamp(16px, 3.6vw, 56px);
  --gap: clamp(16px, 1.7vw, 28px);
  --sec: clamp(80px, 9vw, 168px);
  --hdr-h: 76px;
  --rail-top: calc(var(--hdr-h) + 28px);

  /* shape: radius follows hierarchy (frames > media > inputs > pills) */
  --r-frame: 28px;
  --r-media: 20px;
  --r-panel: 24px;
  --r-input: 14px;
  --r-pill: 999px;

  /* motion: one easing family (expo) */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.87, 0, .13, 1);
  --t-fast: .35s;
  --t-mid: .7s;
  --t-slow: 1.3s;
}

/* ---------------------------------------------------------- fonts (OFL, self-hosted, latin + latin-ext) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-full-normal.woff2) format("woff2-variations"), url(fonts/fraunces-latin-full-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-ext-full-normal.woff2) format("woff2-variations"), url(fonts/fraunces-latin-ext-full-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-full-italic.woff2) format("woff2-variations"), url(fonts/fraunces-latin-full-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-ext-full-italic.woff2) format("woff2-variations"), url(fonts/fraunces-latin-ext-full-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"), url(fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/var(--lh-body) var(--f-text);
  font-feature-settings: "kern" 1; text-rendering: optimizeLegibility; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
del { text-decoration-thickness: 1px; }
sup { font-size: .62em; line-height: 0; vertical-align: .45em; }
::selection { background: var(--clay); color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
[data-ground="dark"] :focus-visible, .ftr :focus-visible, .mnav :focus-visible { outline-color: var(--on-dark); }
/* links that fill a clipped photo frame: the ring is drawn inside, clay edge on a paper band, visible on any photo */
.card__frame:focus-visible, .film__item:focus-visible, .pcard__media:focus-visible, .pcard__link:focus-visible,
.story__media:focus-visible, .pdesc__img:focus-visible, .product__link:focus-visible, .fig__link:focus-visible,
.split__frame a:focus-visible { outline: 3px solid var(--clay); outline-offset: -3px; box-shadow: inset 0 0 0 7px rgb(242 237 228 / .92); border-radius: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-weight: 600; translate: 0 -160%; transition: translate .2s var(--ease); }
.skip:focus { translate: 0 0; }

/* Lenis (smooth scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* film grain: the tooth of the paper ground. It sits under the content (z-index -1), so photos,
   panels, buttons and text keep their own colours and contrast */
body::before {
  content: ""; position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* ---------------------------------------------------------- layout primitives */
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.main { display: block; padding-top: var(--hdr-h); }
.pg--home .main { padding-top: 0; }
.sec { position: relative; padding-block: calc(var(--sec) * .5); }
.sec--empty { padding: 0; }
.sec--bg { isolation: isolate; }
.sec__bgs { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sec__bg { width: 100%; height: 100%; object-fit: cover; opacity: .22; }

/* ---------------------------------------------------------- type */
.d1, .d2, .d3, .h--1, .h--2, .h--3 { font-family: var(--f-display); font-weight: 380; letter-spacing: var(--track-display); text-wrap: balance; font-optical-sizing: auto; }
.d1 { font-size: var(--fs-d1); line-height: var(--lh-tight); font-variation-settings: "SOFT" 30, "WONK" 0; }
.d2 { font-size: var(--fs-d2); line-height: var(--lh-head); font-variation-settings: "SOFT" 30, "WONK" 0; }
.d3 { font-size: var(--fs-d3); line-height: 1.1; }
.h--1 { font-size: var(--fs-d2); line-height: var(--lh-head); }
.h--2 { font-size: var(--fs-d3); line-height: 1.1; }
.h--3 { font-size: var(--fs-d3); line-height: 1.12; letter-spacing: -.02em; }
.h--4 { font: 600 var(--fs-h4)/1.25 var(--f-text); letter-spacing: -.01em; }
.h--5 { font: 650 1.0625rem/1.4 var(--f-text); }
.h--6 { font: 700 var(--fs-xs)/1.4 var(--f-text); letter-spacing: .02em; color: var(--graphite); }
.lead { font-family: var(--f-display); font-size: var(--fs-lead); line-height: 1.38; font-weight: 360; letter-spacing: -.012em; font-variation-settings: "SOFT" 50, "WONK" 0; }
.p, .t { max-width: 68ch; }
.p + .p, .t + .t, .p + .t, .t + .p { margin-top: 1em; }
.prose > * + * { margin-top: 1.1em; }
.prose { font-size: 1.125rem; line-height: 1.72; }
.prose .h { margin-top: 1.6em; }
.prose a, .p a, .t a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--fog); transition: text-decoration-color var(--t-fast) var(--ease); }
.prose a:hover, .p a:hover, .t a:not(.btn):hover { text-decoration-color: var(--clay); }
.list { display: grid; gap: .5em; }
.list > li { position: relative; padding-left: 1.4em; }
.list > li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6em; height: 1px; background: var(--clay); }
.lnk a { border-bottom: 1px solid var(--fog); }

/* split-word reveals: wrappers added by app.js (text unchanged) */
.w { display: inline-block; overflow: clip; overflow-clip-margin: .06em; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* ---------------------------------------------------------- buttons, chips, icons */
.btn {
  --b-bg: var(--clay); --b-fg: var(--ink); --b-hover: var(--ink); --b-hover-fg: var(--paper);
  position: relative; isolation: isolate; overflow: clip; display: inline-flex; align-items: center; gap: .7em;
  min-height: 52px; padding: 0 1.05em 0 1.5em; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg); font: 650 var(--fs-sm)/1 var(--f-text); letter-spacing: .005em; white-space: nowrap;
  transition: color var(--t-mid) var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hover); border-radius: inherit; transform: translateY(102%); transition: transform var(--t-mid) var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--b-hover-fg); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(22 24 27 / .1); overflow: clip; }
.btn__icon .i { width: 18px; height: 18px; transition: translate var(--t-mid) var(--ease); }
.btn:hover .btn__icon .i { animation: arrow-slide var(--t-mid) var(--ease); }
.btn__icon--lead { background: none; width: auto; margin-left: -.35em; }
@keyframes arrow-slide { 0% { translate: 0 0; } 45% { translate: 140% 0; } 46% { translate: -140% 0; } 100% { translate: 0 0; } }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-hover: var(--ink); --b-hover-fg: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost .btn__icon { background: rgb(22 24 27 / .06); }
.btn--light { --b-bg: var(--paper); --b-fg: var(--ink); --b-hover: var(--clay); --b-hover-fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 .9em 0 1.1em; font-size: var(--fs-xs); }
.btn--sm .btn__icon { width: 24px; height: 24px; }
.btn--text { --b-bg: transparent; --b-hover: transparent; --b-hover-fg: var(--ink); min-height: 0; padding: 0; border-radius: 0; }
.btn--text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: right; transition: transform var(--t-mid) var(--ease); }
.btn--text:hover::after { transform: scaleX(0); transform-origin: left; }
[data-ground="dark"] .btn--ghost, .ftr .btn--ghost { --b-fg: var(--on-dark); --b-hover: var(--on-dark); --b-hover-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--on-dark); }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; font-weight: 650; font-size: var(--fs-sm); }
.link-arrow .i { width: 18px; height: 18px; transition: translate var(--t-mid) var(--ease); }
.link-arrow:hover .i { translate: 6px 0; }

.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 .8em; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 600 .78125rem/1 var(--f-text); letter-spacing: .01em; white-space: nowrap; transition: background var(--t-fast) var(--ease); }
.chip:hover { background: var(--paper-3); }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--fog); }
.chip--clay { background: var(--clay); color: var(--ink); }
.stamp { display: inline-flex; align-items: center; padding: .38em .8em .32em; border: 1.5px solid currentColor; border-radius: 6px; font: 800 .75rem/1 var(--f-text); letter-spacing: .14em; color: var(--ink); background: rgb(242 237 228 / .92); rotate: -3deg; }

.iconbtn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.iconbtn .i { width: 19px; height: 19px; }
.iconbtn:hover { background: var(--ink); color: var(--paper); }
.iconbtn--sm { width: 34px; height: 34px; }
.iconbtn--wide { width: auto; padding: 0 1em 0 .8em; border-radius: var(--r-pill); display: inline-flex; gap: .5em; font: 600 var(--fs-xs)/1 var(--f-text); box-shadow: inset 0 0 0 1px var(--fog); background: transparent; }
.iconbtn__label { white-space: nowrap; }
.tip { position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 6px; padding: .5em .8em; border-radius: 10px; background: var(--ink); color: var(--paper); font: 600 .75rem/1.2 var(--f-text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast) var(--ease), translate var(--t-fast) var(--ease); z-index: 5; }
.iconbtn:hover > .tip, .iconbtn:focus-visible > .tip { opacity: 1; translate: -50% 0; }

/* ---------------------------------------------------------- forms */
.inp, .sel select {
  width: 100%; min-height: 52px; padding: .85em 1.05em; border-radius: var(--r-input); border: 1px solid transparent;
  background: var(--paper-2); color: var(--ink); font-size: var(--fs-sm); line-height: 1.3;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.inp::placeholder { color: var(--graphite); opacity: 1; }
.inp:hover, .sel select:hover { background: var(--paper-3); }
.inp:focus, .sel select:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.inp--area { min-height: 150px; resize: vertical; }
.sel { position: relative; display: block; }
.sel select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; cursor: pointer; }
.sel__chev { position: absolute; right: 1em; top: 50%; translate: 0 -50%; pointer-events: none; }
.sel__chev .i { width: 18px; height: 18px; }
.sel--multi select { padding: .4em; min-height: 0; overflow: hidden; }
.sel--multi select option { padding: .45em .7em; border-radius: 9px; }
.sel--multi select option:checked { background: var(--ink) linear-gradient(var(--ink), var(--ink)); color: var(--paper); }
.sel[data-ph]::before { content: attr(data-ph); display: block; margin: 0 0 .45em .2em; font: 600 var(--fs-xs)/1 var(--f-text); color: var(--graphite); }
.fld { min-width: 0; }
.lf { display: grid; gap: .45em; min-width: 0; }
.lf__label { font: 600 var(--fs-xs)/1.2 var(--f-text); color: var(--graphite); }
.lf--inline { grid-template-columns: auto 1fr; align-items: center; gap: .8em; }
.ck { position: relative; display: inline-flex; align-items: center; gap: .65em; min-height: 36px; cursor: pointer; font-size: var(--fs-sm); }
.ck__box { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.ck__mark { width: 22px; height: 22px; flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--graphite); background: var(--paper); transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.ck__box:checked + .ck__mark { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2EDE4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: none; }
.ck__box[type="radio"] + .ck__mark { border-radius: 50%; }
.ck__box:focus-visible + .ck__mark { outline: 2px solid var(--clay); outline-offset: 2px; }
.t--label { font: 600 var(--fs-xs)/1.3 var(--f-text); color: var(--graphite); }

.form { display: grid; gap: 14px; }
.form .h--3 { font-family: var(--f-display); font-size: var(--fs-d3); font-weight: 400; letter-spacing: -.02em; }
.form > .btn, .form > .btn--submit { justify-self: start; margin-top: 6px; }
.form--card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--paper); }
.form--modal { gap: 12px; }

/* ---------------------------------------------------------- header (desktop, >= 1025px) */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: var(--ink); transition: translate var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0; background: var(--paper); box-shadow: inset 0 -1px var(--fog); transition: opacity var(--t-mid) var(--ease); }
.hdr__in { position: relative; height: 100%; width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 48px); }
.hdr__brand { align-self: flex-start; }
.logo { display: block; position: relative; }
.logo--hdr { display: grid; place-items: center; width: 108px; height: 92px; padding: 8px 14px 10px; border-radius: 0 0 20px 20px; background: var(--paper); box-shadow: 0 1px 0 var(--fog); transition: height var(--t-mid) var(--ease), width var(--t-mid) var(--ease); }
.logo__img { width: 100%; height: 100%; object-fit: contain; grid-area: 1 / 1; }
.logo__img--dark, .logo__img--light { opacity: 0; }
.hdr__nav { flex: 1; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .35em; padding: .6em 0; font: 600 .9375rem/1 var(--f-text); letter-spacing: .005em; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25em; height: 1.5px; background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform var(--t-mid) var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-star { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); translate: 0 -.45em; }
.hdr__tools { display: flex; align-items: center; gap: 12px; }
.hdr__widget a[href="#"], .hdr__widget a[href="#"] + br { display: none; }
.hdr__widget a[href^="tel:"] { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: 0 1.2em; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 650 .9375rem/1 var(--f-text); letter-spacing: .01em; white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.hdr__widget a[href^="tel:"]::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center/contain no-repeat; }
.hdr__widget a[href^="tel:"]:hover { background: var(--clay); color: var(--ink); }
/* header states set by app.js: over the hero, compact, hidden, over dark ground */
.hdr.is-over { color: var(--on-dark); }
.hdr.is-over::before { opacity: 0; }
.hdr.is-over .hdr__widget a[href^="tel:"] { background: var(--paper); color: var(--ink); }
.hdr.is-over .hdr__widget a[href^="tel:"]:hover { background: var(--clay); }
.hdr.is-dark { color: var(--on-dark); }
.hdr.is-dark::before { background: var(--pine); box-shadow: inset 0 -1px rgb(242 237 228 / .12); }
.hdr.is-dark .hdr__widget a[href^="tel:"] { background: var(--paper); color: var(--ink); }
.hdr.is-compact .logo--hdr { height: 76px; width: 96px; }
.hdr.is-hidden { translate: 0 -110%; }

/* ---------------------------------------------------------- mobile header + menu (<= 1024px) */
.mhdr { display: none; }
@media (max-width: 1024px) {
  :root { --hdr-h: 64px; }
  .hdr { display: none; }
  .mhdr { display: block; position: relative; z-index: 60; }
  .has-js .mhdr { position: fixed; inset: 0 0 auto; }
  .mhdr__bar { position: relative; z-index: 2; height: var(--hdr-h); display: flex; align-items: center; gap: 8px; padding-inline: var(--gut); background: var(--paper); box-shadow: inset 0 -1px var(--fog); transition: translate var(--t-mid) var(--ease), background var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }
  .mhdr.is-over .mhdr__bar { background: transparent; box-shadow: none; color: var(--on-dark); }
  .mhdr.is-hidden .mhdr__bar { translate: 0 -110%; }
  .mhdr.is-open .mhdr__bar { background: transparent; box-shadow: none; color: var(--on-dark); translate: 0 0; }
  .logo--m { display: grid; place-items: center; width: 64px; height: 58px; padding: 6px 8px 7px; margin-top: 6px; align-self: flex-start; border-radius: 0 0 14px 14px; background: var(--paper); }
  .mhdr__tools { margin-left: auto; }
  .mhdr .hdr__widget a[href^="tel:"] { min-height: 40px; padding: 0 .95em; font-size: .8125rem; }
  .mhdr.is-over .hdr__widget a[href^="tel:"], .mhdr.is-open .hdr__widget a[href^="tel:"] { background: var(--paper); color: var(--ink); }
  .mhdr__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 10px; font: 650 .875rem/1 var(--f-text); }
  .mhdr__lbl--close { display: none; }
  .mhdr.is-open .mhdr__lbl--open { display: none; }
  .mhdr.is-open .mhdr__lbl--close { display: inline; }
  .mhdr__ico { position: relative; width: 26px; height: 14px; }
  .mhdr__ico i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--t-mid) var(--ease), top var(--t-mid) var(--ease); }
  .mhdr__ico i:first-child { top: 2px; }
  .mhdr__ico i:last-child { top: 10px; }
  .mhdr.is-open .mhdr__ico i:first-child { top: 6px; transform: rotate(35deg); }
  .mhdr.is-open .mhdr__ico i:last-child { top: 6px; transform: rotate(-35deg); }
  /* menu: in the flow without JS; a full-screen pine panel with JS */
  .mnav { background: var(--pine); color: var(--on-dark); padding: 20px var(--gut) 28px; }
  .has-js .mnav { position: fixed; inset: 0; z-index: 1; padding-top: calc(var(--hdr-h) + 5vh); display: flex; flex-direction: column; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io), visibility 0s .9s; }
  .has-js .mhdr.is-open .mnav, .has-js .mnav:target { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease-io), visibility 0s 0s; }
  .mnav__in { flex: 1; overflow: auto; }
  .mnav__list { display: grid; gap: .2em; }
  .mnav__list__link { display: inline-flex; align-items: baseline; gap: .3em; padding: .12em 0; font-family: var(--f-display); font-size: clamp(2.25rem, 1.2rem + 5vw, 3.75rem); line-height: 1.08; font-weight: 360; letter-spacing: -.025em; }
  .mnav__list__link[aria-current="page"] { color: var(--clay); }
  .mnav__list__link .nav-star { width: 9px; height: 9px; translate: 0 -.8em; }
  .mnav__roofs { width: 100%; height: 64px; margin-top: 24px; fill: none; stroke: rgb(242 237 228 / .35); stroke-width: 1.4; }
  .has-js .mnav:not(:target) .mnav__roofs { display: block; }
}

/* ---------------------------------------------------------- footer */
.ftr { position: relative; background: var(--pine); color: var(--on-dark); padding-block: clamp(72px, 9vw, 140px) 36px; overflow: clip; }
.ftr__in { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.ftr__area--1 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.ftr__col--2 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.ftr__col--1 { grid-column: 9 / span 4; grid-row: 1; }
.ftr__col--3 { grid-column: 9 / span 4; grid-row: 2; }
.ftr__col { display: grid; align-content: start; gap: 14px; }
.ftr__h { font: 700 var(--fs-xs)/1.3 var(--f-text); letter-spacing: .02em; color: var(--on-dark-2); }
.ftr__col--2 .ftr__h { font-family: var(--f-display); font-weight: 340; font-size: clamp(2.375rem, 1.1rem + 4.2vw, 5.25rem); line-height: .98; letter-spacing: -.035em; color: var(--on-dark); max-width: 17ch; margin-bottom: .35em; font-variation-settings: "SOFT" 40, "WONK" 0; text-wrap: balance; }
.ftr .link-arrow { color: var(--on-dark); justify-self: start; }
.ftr .link-arrow:hover { color: var(--clay); }
.ftr__col--2 .t a { display: inline-block; font-size: var(--fs-lead); font-family: var(--f-display); font-weight: 360; line-height: 1.3; text-decoration: none; }
.ftr__col--2 .t a:hover { color: var(--clay); }
.ftr__col p, .ftr__col .t { color: var(--on-dark-2); max-width: 46ch; }
.ftr__col .btn--text { color: var(--on-dark); }
.ftr__social { display: grid; gap: 6px; }
.ftr__social a { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-display); font-size: 1.625rem; line-height: 1.3; font-weight: 360; color: var(--on-dark); transition: color var(--t-fast) var(--ease), translate var(--t-mid) var(--ease); }
.ftr__social a:hover { color: var(--clay); translate: 6px 0; }
.ftr__roofs { width: 100%; height: clamp(60px, 8vw, 120px); margin-block: clamp(56px, 7vw, 110px) 28px; fill: none; stroke: rgb(242 237 228 / .32); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ftr__roofs path { vector-effect: non-scaling-stroke; }
.ftr__area--2 { order: 3; border-top: 1px solid rgb(242 237 228 / .16); padding-top: 22px; font-size: var(--fs-xs); color: var(--on-dark-2); }
.ftr__in { display: flex; flex-direction: column; }
.ftr__area--1 { order: 1; }
.ftr__roofs { order: 2; }

/* ---------------------------------------------------------- property cards */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-media); overflow: clip; background: var(--paper-2); isolation: isolate; }
.card__frames { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.card__frames::-webkit-scrollbar { display: none; }
.card__frame { display: block; scroll-snap-align: start; overflow: clip; }
.card__frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.001; transition: scale 1.4s var(--ease); }
.card:hover .card__frame img { scale: 1.055; }
.card__bars { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; gap: 5px; pointer-events: none; }
.card__bars i { flex: 1; height: 2px; border-radius: 2px; background: rgb(242 237 228 / .45); transition: background var(--t-fast) var(--ease); }
.card__bars i:first-child, .card__bars i.is-on { background: var(--paper); }
.card__bars.is-live i:first-child:not(.is-on) { background: rgb(242 237 228 / .45); }
.card__type { position: absolute; top: 12px; left: 12px; z-index: 3; }
.card__acts { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; gap: 6px; }
.card__acts .iconbtn { width: 38px; height: 38px; }
.card__acts .tip { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; translate: 0 6px; }
.card__acts .iconbtn:hover > .tip, .card__acts .iconbtn:focus-visible > .tip { translate: 0 0; }
.card__author { position: absolute; left: 12px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: var(--r-pill); background: rgb(242 237 228 / .94); font: 600 .75rem/1 var(--f-text); transition: opacity var(--t-fast) var(--ease), translate var(--t-mid) var(--ease); }
.card__avatar { width: 26px; height: 26px; border-radius: 50%; overflow: clip; background: var(--paper); }
.card__avatar img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) {
  .card:hover .card__author { translate: 0 -3px; }
}
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; gap: 8px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: var(--fs-xs); color: var(--graphite); }
.card__cats, .card__cond { display: inline-flex; flex-wrap: wrap; }
.card__cats a + a::before, .card__cond::before { content: ""; display: inline-block; width: 1px; height: .9em; margin: 0 .6em; background: var(--fog); vertical-align: -.1em; }
.card__meta a { transition: color var(--t-fast) var(--ease); position: relative; z-index: 2; }
.card__meta a:hover { color: var(--ink); }
.card__title { font: 700 1rem/1.32 var(--f-text); letter-spacing: .015em; text-wrap: balance; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-media); }
.card__link { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size var(--t-mid) var(--ease); }
.card:hover .card__link { background-size: 100% 1px; }
.card__excerpt { font-size: .875rem; line-height: 1.55; color: var(--graphite); }
.card__price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .55em; border-top: 1px solid var(--fog); }
.cost__old { font-size: var(--fs-sm); color: var(--graphite); }
.cost__now { font-family: var(--f-display); font-size: 1.875rem; line-height: 1.1; font-weight: 420; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.card__spec { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: var(--graphite); }
.spec-i { display: inline-flex; align-items: center; gap: .45em; }
.spec-i .i { width: 18px; height: 18px; color: var(--ink); }
.card__media { z-index: 2; }
.card__frame { position: relative; }

/* row variant (home "Najnowsze ogłoszenia") */
.rows { border-top: 1px solid var(--ink); }
.card--row { flex-direction: row; align-items: stretch; gap: clamp(16px, 2.2vw, 36px); padding-block: 22px; border-bottom: 1px solid var(--fog); }
.card--row::before { content: ""; position: absolute; inset: 0 calc(-1 * clamp(10px, 1.4vw, 22px)); z-index: -1; border-radius: var(--r-media); background: var(--paper-2); transform: scaleY(.6); opacity: 0; transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease); }
.card--row:hover::before { transform: scaleY(1); opacity: 1; }
.card--row .card__media { flex: none; width: clamp(210px, 22vw, 300px); aspect-ratio: 3 / 2; border-radius: 16px; }
.card--row .card__type { top: 8px; left: 8px; }
.card--row .card__acts { top: 8px; right: 8px; flex-direction: column; gap: 4px; }
.card--row .card__acts .iconbtn { width: 32px; height: 32px; }
.card--row .card__acts .i { width: 16px; height: 16px; }
.card--row .card__author { left: 8px; bottom: 18px; padding-right: 10px; font-size: .6875rem; }
.card--row .card__avatar { width: 22px; height: 22px; }
.card--row .card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(150px, auto); grid-template-areas: "meta spec price" "title spec price" "ex spec price"; align-content: center; column-gap: clamp(16px, 2.4vw, 44px); row-gap: 6px; padding-top: 0; }
.card--row .card__meta { grid-area: meta; }
.card--row .card__title { grid-area: title; font-size: clamp(1rem, .9rem + .35vw, 1.1875rem); }
.card--row .card__excerpt { grid-area: ex; max-width: 62ch; display: -webkit-box; }
.card--row .card__price { grid-area: price; align-self: center; justify-self: end; flex-direction: column; align-items: flex-end; border: 0; padding: 0; gap: 0; text-align: right; }
.card--row .card__price .cost__now { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); }
.card--row .card__spec { grid-area: spec; align-self: center; flex-direction: column; gap: 8px; min-width: 150px; }

/* mini variant (sidebar "Podobne domy") */
.card--mini { padding: 18px; border-radius: var(--r-panel); background: var(--paper-2); }
.card--nomedia .card__media { aspect-ratio: auto; background: none; overflow: visible; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; }
.card--nomedia .card__type, .card--nomedia .card__acts { position: static; }
.card--nomedia .card__author { position: static; padding: 0; background: none; }
.card--mini .card__title { font-size: .9375rem; }

/* lists of cards */
.plist__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(36px, 4vw, 64px) var(--gap); }
.plist--two .plist__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.plist__empty { padding: 32px 0; font-family: var(--f-display); font-size: var(--fs-d3); line-height: 1.15; color: var(--graphite); max-width: 24ch; }
.plist__page { margin-top: clamp(36px, 4vw, 64px); }
.plist__page[hidden], .filter[hidden] { display: none; }

/* drag strip (home "Promocje", product related, galleries) */
.strip { position: relative; margin-inline: calc(-1 * var(--gut)); }
.strip__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(272px, 30vw, 420px); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 4px var(--gut) 12px; scrollbar-width: none; cursor: grab; }
.strip__track::-webkit-scrollbar { display: none; }
.strip__track > * { scroll-snap-align: start; }
.strip.is-dragging .strip__track { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging a { pointer-events: none; }
.strip__ui { display: flex; align-items: center; gap: 10px; }
.strip__bar { position: relative; width: clamp(120px, 22vw, 320px); height: 2px; background: var(--fog); border-radius: 2px; overflow: clip; margin-right: 10px; }
.strip__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.2); }
.strip__ui .iconbtn { box-shadow: inset 0 0 0 1px var(--fog); background: transparent; }
.strip__ui .iconbtn:hover { background: var(--ink); box-shadow: none; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: clamp(48px, 5vw, 80px); }
.pager__n, .pager__dots { display: grid; place-items: center; min-width: 52px; height: 52px; border-radius: 50%; font-family: var(--f-display); font-size: 1.375rem; font-variant-numeric: lining-nums; transition: background var(--t-fast) var(--ease); }
.pager__n:hover { background: var(--paper-2); }
.pager__n.is-active { background: var(--ink); color: var(--paper); }
.pager__step { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--fog); }
.pager__step:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.pager--more { margin-top: clamp(40px, 4vw, 64px); }

/* ---------------------------------------------------------- HOME: hero stage */
.stage { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--hdr-h) + 16px) 0 28px; display: grid; align-content: end; isolation: isolate; }
.stage__frame { position: absolute; inset: 0; z-index: -1; clip-path: inset(var(--fi-t, 12px) var(--fi-x, 12px) var(--fi-b, 64px) round var(--r-frame)); background: var(--pine); }
.stage__media { position: absolute; inset: 0; overflow: clip; }
.stage__still, .stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__video { background: transparent; }
.stage__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--scrim) / .38) 0%, rgb(var(--scrim) / .05) 30%, rgb(var(--scrim) / .1) 55%, rgb(var(--scrim) / .72) 100%), linear-gradient(90deg, rgb(var(--scrim) / .42), rgb(var(--scrim) / 0) 65%); }
.stage__body { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; display: grid; gap: clamp(28px, 4vh, 56px); }
.stage__title { color: var(--on-dark); font-family: var(--f-display); font-size: clamp(3.25rem, 1.1rem + 8.4vw, 9.5rem); line-height: .9; font-weight: 340; letter-spacing: -.04em; max-width: 9.5ch; padding-left: clamp(0px, 1vw, 16px); font-variation-settings: "SOFT" 40, "WONK" 0; text-wrap: balance; }
.stage__console { position: relative; }
.search { position: relative; }
.console { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; padding: 8px; border-radius: var(--r-panel); background: var(--paper); box-shadow: 0 30px 60px -36px rgb(14 20 17 / .55); }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 18px; background: var(--paper-2); }
.seg__opt { position: relative; display: grid; place-items: center; padding: 0 1.05em; min-height: 46px; border-radius: 14px; font: 600 var(--fs-sm)/1.1 var(--f-text); cursor: pointer; white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg__opt:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
.console__field { flex: 1 1 180px; min-width: 0; }
.console__field .sel[data-ph]::before { display: none; }
.console__field .inp, .console__field .sel select { min-height: 54px; }
.sel--multi.is-enhanced::before { display: none !important; }
.msel__btn { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px; padding: 0 1em 0 1.05em; border-radius: var(--r-input); background: var(--paper-2); font-size: var(--fs-sm); text-align: left; transition: background var(--t-fast) var(--ease); }
.msel__btn:hover { background: var(--paper-3); }
.msel__btn .i { width: 18px; height: 18px; transition: rotate var(--t-mid) var(--ease); }
.msel__btn[aria-expanded="true"] .i { rotate: 180deg; }
.msel__lab.is-ph { color: var(--graphite); }
.filter .msel__btn { min-height: 48px; background: var(--paper); }
.filter .msel__btn:hover { box-shadow: inset 0 0 0 1px var(--fog); }
.msel__pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 2px; padding: 6px; border-radius: 16px; background: var(--paper); box-shadow: 0 24px 48px -24px rgb(14 20 17 / .45), 0 0 0 1px var(--fog); }
.msel__pop[hidden] { display: none; }
.msel__opt { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 .9em; border-radius: 11px; font-size: var(--fs-sm); text-align: left; }
.msel__opt:hover { background: var(--paper-2); }
.msel__opt[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.console__adv { flex: none; }
.console__go { flex: none; min-height: 54px; padding-inline: 1.5em; }
.adv { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 14px; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-panel); background: var(--paper); margin-top: 8px; }
.adv > .h--5 { grid-column: 1 / -1; font-family: var(--f-display); font-size: var(--fs-d3); font-weight: 400; letter-spacing: -.02em; }
.adv > .h--6 { grid-column: 1 / -1; margin-top: 8px; }
.adv > .fld, .adv > .sel { grid-column: span 2; }
.adv > .lf { grid-column: span 3; }
.adv > .t { grid-column: 1 / -1; font-weight: 600; }
.adv > .ck { grid-column: span 2; }
.adv > .btn, .adv > button { grid-column: span 2; justify-content: space-between; }
.has-js .search__form--secondary:not(.is-open) { display: none; }
.has-js .search__form--secondary.is-open { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 10; max-height: calc(100svh - var(--hdr-h) - 160px); overflow: auto; border-radius: var(--r-panel); box-shadow: 0 40px 80px -40px rgb(14 20 17 / .6); }
.has-js .search__form--secondary.is-open .adv { margin: 0; }

/* ---------------------------------------------------------- HOME: sections */
.promo__head, .latest__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 56px); }
.promo__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.latest__foot { display: flex; justify-content: flex-end; margin-top: 36px; }
.promo .card__title { font-size: 1.0625rem; }

.split__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.split__media { grid-column: 1 / span 7; }
.split__frame { position: relative; aspect-ratio: 5 / 6; border-radius: var(--r-frame); overflow: clip; background: var(--paper-2); }
.split__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 30% 50%; }
.split__text { position: relative; grid-column: 9 / span 4; display: grid; gap: 22px; isolation: isolate; }
.split__deco { position: absolute; right: -12%; bottom: -10%; width: 120%; height: auto; z-index: -1; opacity: .9; filter: drop-shadow(0 0 0 var(--fog)); mix-blend-mode: multiply; }
.split__title { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.75rem); }
.split__text .lead br + br { display: block; content: ""; margin-top: .4em; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: .8em; padding: 14px 0; border-top: 1px solid var(--fog); font-weight: 600; }
.ticks li:last-child { border-bottom: 1px solid var(--fog); }
.ticks__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--clay); flex: none; }
.ticks__ico .i { width: 15px; height: 15px; }
.split__cta { margin-top: 6px; }

.steps { background: var(--pine); color: var(--on-dark); padding-block: 0; overflow: clip; }
.steps__pin { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-block: calc(var(--hdr-h) + 40px) 60px; }
.steps__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.steps__head { grid-column: 1 / span 6; grid-row: 1; display: grid; gap: 18px; }
.steps__head .d2 { color: var(--on-dark); }
.steps__count { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-variant-numeric: lining-nums; }
.steps__num { font-size: clamp(5rem, 3rem + 9vw, 12.5rem); line-height: .8; font-weight: 300; letter-spacing: -.05em; color: var(--clay); font-variation-settings: "SOFT" 100, "WONK" 0; }
.steps__of { font-size: var(--fs-h4); color: var(--on-dark-2); }
.steps__line { position: relative; display: block; height: 2px; background: rgb(242 237 228 / .16); max-width: 420px; }
.steps__line i { position: absolute; inset: 0; background: var(--clay); transform-origin: left; transform: scaleX(.25); }
.steps__list { grid-column: 1 / span 6; grid-row: 2; display: grid; gap: 4px; counter-reset: st; }
.steps__item { border-top: 1px solid rgb(242 237 228 / .16); }
.step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; padding: 16px 0; transition: opacity var(--t-mid) var(--ease); }
.step__icon { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); transition: background var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.step.is-current .step__icon { background: var(--clay); box-shadow: 0 0 0 6px rgb(224 92 11 / .18); }
.step__icon img { width: 34px; height: 34px; object-fit: contain; }
.step__title { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.015em; }
.step__text { color: var(--on-dark-2); font-size: var(--fs-sm); }
.steps__cta { grid-column: 1 / span 6; grid-row: 3; margin-top: 12px; }
.steps__stack { grid-column: 8 / span 5; grid-row: 1 / span 3; position: relative; width: min(100%, 440px); aspect-ratio: 4 / 3; justify-self: center; }
.steps__photo { position: absolute; inset: 0; border-radius: var(--r-media); overflow: clip; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .6); }
.steps__photo img { width: 100%; height: 100%; object-fit: cover; }
.steps__photo:nth-child(1) { rotate: -4deg; translate: -6% 4%; }
.steps__photo:nth-child(2) { rotate: 3deg; translate: 5% -2%; }
.steps__photo:nth-child(3) { rotate: -1deg; }

.band__head { margin-bottom: clamp(24px, 3vw, 44px); }
.band__frame { margin-inline: clamp(8px, 1.2vw, 16px); border-radius: var(--r-frame); overflow: clip; background: var(--pine); }
.embed { position: relative; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed--band { height: clamp(420px, 72vh, 820px); }
.embed--map { height: clamp(380px, 62vh, 720px); }
.embed--map iframe { filter: grayscale(.85) contrast(1.04) sepia(.08); transition: filter var(--t-slow) var(--ease); }
.embed--map.is-live iframe, .embed--map:hover iframe { filter: none; }
.embed__guard { display: none; }
.has-js .embed__guard { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--on-dark); font: 650 var(--fs-sm)/1 var(--f-text); background: radial-gradient(circle at center, rgb(var(--scrim) / .45), rgb(var(--scrim) / .12) 60%); transition: opacity var(--t-mid) var(--ease); }
.embed__guard > span:last-child { padding: .6em 1.05em; border-radius: var(--r-pill); background: rgb(var(--scrim) / .9); }
.embed__play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: scale var(--t-mid) var(--ease); }
.embed__play .i { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.embed__guard:hover .embed__play { scale: 1.08; }
.embed.is-live .embed__guard { opacity: 0; pointer-events: none; }
.embed:has(iframe:focus) { outline: 3px solid var(--clay); outline-offset: -3px; }

.voices__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.voices__rail { grid-column: 1 / span 4; }
.voices__sticky { position: sticky; top: var(--rail-top); }
.voices__marks { display: block; margin-top: 10px; font-family: var(--f-display); font-size: clamp(8rem, 5rem + 10vw, 16rem); line-height: .6; color: var(--clay); font-variation-settings: "SOFT" 100; }
.voices__list { grid-column: 6 / span 7; display: grid; gap: clamp(56px, 7vw, 120px); }
.quote { display: grid; grid-template-columns: 52px 1fr; gap: 14px 16px; align-items: center; }
.quote__avatar { grid-row: 2; grid-column: 1; width: 52px; height: 52px; border-radius: 50%; overflow: clip; background: var(--paper-2); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__who { grid-row: 2; grid-column: 2; font: 650 var(--fs-sm)/1.3 var(--f-text); }
.quote__role { color: var(--graphite); font-weight: 500; }
.quote__text { grid-row: 1; grid-column: 1 / -1; font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.375rem); line-height: 1.24; font-weight: 360; letter-spacing: -.015em; font-variation-settings: "SOFT" 50, "WONK" 0; }

.callband { padding-block: 0; min-height: 92vh; display: grid; align-items: center; isolation: isolate; overflow: clip; color: var(--on-dark); }
.callband__media { position: absolute; inset: 0; z-index: -1; }
.callband__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.callband__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--scrim) / .8) 0%, rgb(var(--scrim) / .5) 45%, rgb(var(--scrim) / .1) 100%); }
.callband__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; padding-block: var(--sec); }
.callband__text { grid-column: 1 / span 6; display: grid; gap: 22px; }
.callband__text:empty, .callband__in > div:empty { display: none; }
.callband__title { color: var(--on-dark); font-size: clamp(2.75rem, 1.4rem + 4.6vw, 6rem); line-height: .96; }
.callband__note { font-size: var(--fs-xs); color: var(--on-dark); opacity: .92; max-width: 40ch; }
.callband__card { grid-column: 8 / span 5; color: var(--ink); }
.form--card .p { color: var(--graphite); }

.jhead { padding-bottom: 0; }
.jhead__title { max-width: 14ch; }
.posts--wide .story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gap); align-items: start; }
.posts--wide .story > * { grid-column: 8 / span 5; }
.posts--wide .story__media { grid-column: 1 / span 6; grid-row: 1 / span 8; }
.posts--wide .story__title { font-size: var(--fs-d3); }

/* ---------------------------------------------------------- posts (feature, wide, mini) */
.story { position: relative; display: grid; gap: 14px; align-content: start; }
.story__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-frame); overflow: clip; background: var(--paper-2); }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.story:hover .story__media img { scale: 1.04; }
.story__stamp { position: absolute; top: 16px; left: 16px; z-index: 2; }
.story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.story__date { justify-self: start; display: inline-flex; align-items: center; min-height: 30px; padding: 0 .85em; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--fog); font: 600 var(--fs-xs)/1 var(--f-text); font-variant-numeric: tabular-nums; }
.story__link, .story__label { font-size: var(--fs-xs); color: var(--graphite); }
.story__link { font-weight: 600; transition: color var(--t-fast) var(--ease); }
.story__link:hover { color: var(--ink); }
.story__title { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.story__title a { background: linear-gradient(currentColor, currentColor) left 92% / 0 1px no-repeat; transition: background-size var(--t-mid) var(--ease); }
.story:hover .story__title a { background-size: 100% 1px; }
.story__excerpt { color: var(--graphite); max-width: 60ch; }
.story__more { margin-top: 6px; }
.posts--mini { display: grid; gap: 14px; }
.story--mini { grid-template-columns: 84px 1fr; gap: 6px 14px; align-items: center; }
.story--mini .story__media { grid-row: span 2; aspect-ratio: 1; border-radius: 14px; }
.story--mini .story__title { font-family: var(--f-text); font-weight: 650; font-size: var(--fs-sm); line-height: 1.35; letter-spacing: 0; }
.story--mini .story__link { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- HUB (offer list, archives) */
.hubhead { padding-bottom: clamp(24px, 3vw, 48px); }
.hubhead__title { max-width: 12ch; }
.hub { padding-top: 0; }
.main > .hub:first-child { padding-top: calc(var(--sec) * .5); }
.hub__grid { display: grid; grid-template-columns: minmax(270px, 320px) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.hub__grid--nofilter { grid-template-columns: minmax(0, 1fr); }
.hub__grid--nofilter .hub__rail:empty { display: none; }
.hub__rail { position: sticky; top: var(--rail-top); display: grid; gap: 14px; }
.hub__note { font-size: var(--fs-xs); color: var(--graphite); }
.filter__open { display: none; }
.hub__filter.is-sheet { display: grid; gap: 10px; }
.hub__filter.is-sheet .filter__open { display: inline-flex; width: 100%; justify-content: space-between; }
.filter__open[aria-expanded="true"] { --b-bg: var(--ink); --b-fg: var(--paper); --b-hover: var(--pine); --b-hover-fg: var(--paper); }
.hub__results .plist__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; border-radius: var(--r-panel); background: var(--paper-2); }
.filter > .fld, .filter > .sel, .filter > .range, .filter > .filter__btn, .filter > .btn { grid-column: 1 / -1; }
.filter .inp, .filter .sel select { background: var(--paper); min-height: 48px; }
.filter .inp:hover, .filter .sel select:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--fog); }
.filter > .lf--inline { grid-template-columns: 1fr; gap: 6px; }
.filter__toggle { justify-self: start; box-shadow: inset 0 0 0 1px var(--fog); background: var(--paper); }
.filter__toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.filter > .btn { justify-content: space-between; }
.filter__adv { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; padding-top: 10px; border-top: 1px solid var(--fog); }
.filter__adv > .btn { grid-column: span 1; min-height: 44px; margin-top: 10px; justify-content: space-between; }
.has-js .filter__adv:not(.is-open) { display: none; }
.range { display: grid; gap: 10px; padding: 4px 4px 8px; font-size: var(--fs-xs); }
.range__text { font-weight: 600; }
.range__track { position: relative; height: 3px; border-radius: 3px; background: var(--fog); }
.range__track span { position: absolute; inset: 0; background: var(--ink); border-radius: inherit; }
.range__track::before, .range__track::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); translate: 0 -50%; z-index: 1; }
.range__track::before { left: -2px; }
.range__track::after { right: -2px; }

/* ---------------------------------------------------------- PROFILE (author archive) */
.profile { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 72px); align-items: start; }
.profile__rail { grid-column: 1; grid-row: 1 / span 10; }
.profile__main { grid-column: 2; padding-block: 0; }
.profile__main:first-of-type, .profile__rail + .profile__main { padding-top: calc(var(--sec) * .5); }
.profile__sticky { position: sticky; top: var(--rail-top); display: grid; gap: 18px; }
.profile__rail .form--card { background: var(--paper-2); }
.profile__rail .form--card .inp { background: var(--paper); }
.h3s { font-family: var(--f-display); font-weight: 380; font-size: var(--fs-d3); line-height: 1.1; letter-spacing: -.02em; margin-block: 16px; }

/* ---------------------------------------------------------- PROPERTY DETAIL */
.film-sec { padding-block: 16px 0; }
.film__track { grid-auto-columns: auto; height: clamp(300px, 62vh, 700px); align-items: stretch; gap: 12px; padding-inline: 16px; scroll-padding-inline: 16px; }
.film { margin: 0; }
.film__item { position: relative; display: block; height: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-media); overflow: clip; background: var(--paper-2); }
.film__item img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.film__item:hover img { scale: 1.04; }
.film__item:first-child { aspect-ratio: 16 / 10; }
.film__all { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1em; border-radius: var(--r-pill); background: var(--paper); font: 650 var(--fs-xs)/1 var(--f-text); }
.film__ui { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; padding-top: clamp(24px, 3vw, 48px); padding-bottom: var(--sec); }
.detail__main { grid-column: 1 / span 8; display: grid; gap: clamp(36px, 4vw, 64px); }
.detail__aside { grid-column: 10 / span 3; }
.detail__sticky { position: sticky; top: var(--rail-top); display: grid; gap: 16px; }
.detail__sec, .detail__side { padding: 0; }
.detail__label { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 18px; }
.phead { display: grid; gap: 16px; }
.phead__type { display: flex; gap: 6px; }
.phead__title { font-family: var(--f-display); font-weight: 360; font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.75rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; font-variation-settings: "SOFT" 30, "WONK" 0; }
.phead > .phead__cats, .phead > .phead__id, .phead > .phead__views { display: inline-flex; align-items: center; gap: .45em; font-size: var(--fs-sm); color: var(--graphite); }
.phead { grid-template-columns: repeat(3, auto) 1fr; align-items: center; }
.phead > .phead__type, .phead > .phead__title, .phead > .pricebox { grid-column: 1 / -1; }
.phead > .phead__id, .phead > .phead__views { padding-left: 18px; border-left: 1px solid var(--fog); }
.phead__cats a { font-weight: 650; color: var(--ink); }
.phead__id__v { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.phead__views .i { width: 18px; height: 18px; }
.desc { display: grid; gap: 4px; max-width: 70ch; }
.desc__t { font: 500 1.0625rem/1.6 var(--f-text); }
.desc__gap { height: 14px; overflow: hidden; }
.spec__h--4 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); letter-spacing: -.02em; margin-bottom: 18px; }
.spec__h--6 { font: 700 var(--fs-xs)/1.3 var(--f-text); color: var(--graphite); letter-spacing: .02em; margin: 26px 0 8px; }
.spec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 3vw, 44px); border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: 26px auto 1fr; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; border-bottom: 1px solid var(--fog); }
.spec__ico .i { width: 22px; height: 22px; }
.spec__k { color: var(--graphite); font-size: var(--fs-sm); }
.spec__v { justify-self: end; text-align: right; font-weight: 700; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.cond { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: var(--r-panel); background: var(--paper-2); }
.cond__h { font: 600 var(--fs-sm)/1 var(--f-text); color: var(--graphite); }
.cond__stamp { display: inline-block; padding: .5em 1em .42em; border: 2px solid var(--clay); border-radius: 8px; color: var(--ink); font: 800 var(--fs-sm)/1 var(--f-text); letter-spacing: .08em; rotate: -3deg; }
.pricebox { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-panel); background: var(--ink); color: var(--paper); }
.pricebox__label { font: 600 var(--fs-xs)/1 var(--f-text); color: var(--on-dark-2); }
.pricebox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .6em; }
.pricebox__price .cost__old { color: var(--on-dark-2); }
.pricebox__price .cost__now { font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.25rem); line-height: 1; }
.pricebox__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pricebox .iconbtn { background: rgb(242 237 228 / .1); color: var(--paper); }
.pricebox .iconbtn:hover { background: var(--paper); color: var(--ink); }
.pricebox .iconbtn--wide { box-shadow: inset 0 0 0 1px rgb(242 237 228 / .3); background: transparent; }
.acts__drop { display: inline-flex; gap: 6px; }
.has-js .acts__drop:not(.is-open) { display: none; }
.pricebox--touch { display: none; }
.agent { display: grid; gap: 12px; padding: 22px; border-radius: var(--r-panel); background: var(--paper-2); }
.agent__plate { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--paper); overflow: clip; }
.agent__plate img { width: 62px; height: 62px; object-fit: contain; }
.agent__name { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.015em; }
.agent__addr { display: flex; gap: .5em; align-items: center; color: var(--graphite); font-size: var(--fs-sm); }
.agent__addr .i { width: 18px; height: 18px; }
.agent__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--fog); font-size: var(--fs-xs); }
.agent__row__k { color: var(--graphite); }
.agent__row__v { font-weight: 650; font-variant-numeric: tabular-nums; }
.agent__row__v:hover { color: var(--clay-2); }
.agent__btn { justify-content: space-between; margin-top: 4px; }
.detail__side--related-properties .detail__label { font-size: 1.375rem; margin: 8px 0 12px; }

/* ---------------------------------------------------------- ABOUT */
.about__head { position: relative; margin-bottom: clamp(36px, 5vw, 80px); }
.about__title { max-width: 11ch; }
.about__roof { position: absolute; right: 0; bottom: 0; width: min(42vw, 560px); height: auto; fill: none; stroke: var(--clay); stroke-width: 1.6; }
.about__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.about__head, .about__cta { grid-column: 1 / -1; }
.about__body { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(32px, 4vw, 64px); }
.about__lead { grid-column: 1 / span 7; display: grid; gap: 1.1em; }
.about__lead .p { font-size: 1.125rem; color: var(--ink); max-width: 62ch; }
.pull { grid-column: 9 / span 4; grid-row: 1; align-self: start; position: sticky; top: var(--rail-top); padding-top: 18px; border-top: 2px solid var(--clay); }
.pull__t { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); line-height: 1.25; letter-spacing: -.01em; }
.about__notes { grid-column: 1 / span 8; display: grid; gap: 1.1em; }
.prel { white-space: pre-line; }
.notice { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-panel); background: var(--paper-2); box-shadow: inset 4px 0 0 var(--clay); font-weight: 500; line-height: 1.6; }
.about__cta { margin-top: clamp(36px, 4vw, 64px); }

/* ---------------------------------------------------------- FAQ */
.faqs__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faqs__rail { grid-column: 1 / span 4; }
.faqs__sticky { position: sticky; top: var(--rail-top); }
.faqs__list { grid-column: 6 / span 7; border-top: 1px solid var(--ink); }
.faq { display: grid; }
.faq__item { border-bottom: 1px solid var(--fog); interpolate-size: allow-keywords; }
.faq__item::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .7s var(--ease), opacity .5s var(--ease), content-visibility .7s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; opacity: 1; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__qt { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.375rem, 1.1rem + 1vw, 2.125rem); line-height: 1.15; letter-spacing: -.02em; }
.faq__plus { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--fog); flex: none; transition: rotate var(--t-mid) var(--ease), background var(--t-fast) var(--ease); }
.faq__item[open] .faq__plus { rotate: 45deg; background: var(--clay); box-shadow: none; }
.faq__q:hover .faq__plus { background: var(--paper-2); }
.faq__a { padding: 0 0 28px; display: grid; gap: .9em; color: var(--graphite); max-width: 64ch; }

/* ---------------------------------------------------------- CONTACT */
.contact__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.contact__write { grid-column: 1 / span 6; display: grid; gap: clamp(28px, 3vw, 48px); }
.contact__card .form { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-panel); background: var(--paper-2); }
.contact__card .inp { background: var(--paper); }
.contact__dir { grid-column: 8 / span 5; display: grid; gap: 28px; padding-top: clamp(8px, 2vw, 24px); }
.dir { display: grid; gap: 10px; border-top: 1px solid var(--ink); padding-top: 22px; }
.dir__k { margin-top: 18px; font: 700 var(--fs-xs)/1.3 var(--f-text); letter-spacing: .04em; color: var(--graphite); }
.dir__k:first-child { margin-top: 0; }
.dir__v { font-size: var(--fs-sm); line-height: 1.6; }
.dir__list { display: grid; gap: 2px; }
.dir__v--link a { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.25; font-weight: 360; letter-spacing: -.015em; transition: color var(--t-fast) var(--ease); }
.dir__v--link a:hover { color: var(--clay-2); }
.mapband { padding-top: 0; }
.mapband__frame { margin-inline: clamp(8px, 1.2vw, 16px); border-radius: var(--r-frame); overflow: clip; }
.gen__in { display: grid; gap: 18px; }

/* ---------------------------------------------------------- JOURNAL + ARTICLE */
.jtitle { padding-bottom: clamp(20px, 2.4vw, 40px); }
.jtitle .d1, .jtitle .ptitle__h { font-family: var(--f-display); font-weight: 360; font-size: var(--fs-d1); line-height: var(--lh-tight); letter-spacing: -.04em; max-width: 14ch; }
.jtitle--sm .ptitle__h { font-size: var(--fs-d2); }
.ptitle { display: grid; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; font-size: var(--fs-xs); color: var(--graphite); }
.crumbs a { font-weight: 600; color: var(--ink); }
.crumbs a:hover { color: var(--clay-2); }
.crumbs__sep { display: inline-block; width: 1px; height: .95em; background: var(--graphite); opacity: .45; rotate: 22deg; }
.journal__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.journal__main { grid-column: 1 / span 8; display: grid; gap: clamp(48px, 6vw, 96px); }
.journal__aside { grid-column: 10 / span 3; position: sticky; top: var(--rail-top); display: grid; gap: 14px; }
.journal__in--solo .journal__main { grid-column: 1 / span 9; }
.journal__in--rail { padding-top: 0; }
.journal__in--rail .journal__aside { grid-column: 1 / -1; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding-top: 32px; border-top: 1px solid var(--ink); }
.rail__h { font: 700 var(--fs-xs)/1.3 var(--f-text); letter-spacing: .02em; color: var(--graphite); margin-top: 16px; }
.rail__h:first-child { margin-top: 0; }
.rail__links { display: grid; gap: 4px; }
.rail__links a { display: block; font-family: var(--f-display); font-size: 1.5rem; font-weight: 360; line-height: 1.35; transition: color var(--t-fast) var(--ease), translate var(--t-mid) var(--ease); }
.rail__links a:hover { color: var(--clay-2); translate: 6px 0; }
.posts--feature { display: grid; gap: clamp(48px, 6vw, 96px); }
.posts--feature .story__media { aspect-ratio: 16 / 10; }
.article__in { display: grid; gap: 22px; }
.article__cover { aspect-ratio: 21 / 10; border-radius: var(--r-frame); overflow: clip; background: var(--paper-2); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: var(--fs-xs); color: var(--graphite); }
.article__ml { font-weight: 600; }
.article__ml:first-child { display: inline-flex; align-items: center; min-height: 30px; padding: 0 .85em; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--fog); color: var(--ink); font-variant-numeric: tabular-nums; }
.article__ml--label { font-weight: 500; margin-right: -10px; }
.article__title { max-width: 16ch; }
.article__body { max-width: 68ch; margin-top: 12px; }
.dropcap { float: left; display: grid; place-items: center; width: 1.9em; height: 1.9em; margin: .15em .5em 0 0; border-radius: 14px; background: var(--clay); font-family: var(--f-display); font-size: 2.2em; line-height: 1; font-weight: 400; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; border-top: 1px solid var(--fog); max-width: 68ch; }
.article__share { padding-bottom: 12px; }
.share { display: flex; align-items: center; gap: 10px; }
.share__label { font: 600 var(--fs-xs)/1 var(--f-text); color: var(--graphite); }
.share .iconbtn { box-shadow: inset 0 0 0 1px var(--fog); background: transparent; }
.share .iconbtn:hover { background: var(--ink); box-shadow: none; }

/* ---------------------------------------------------------- SHOP + PRODUCT */
.shopbar__in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.shopbar { padding-block: 0 8px; }
.shopbar .form { min-width: 240px; }
.shop { padding-top: clamp(28px, 3vw, 48px); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(36px, 4vw, 64px) var(--gap); }
.pcard { position: relative; display: grid; gap: 10px; align-content: start; }
.pcard__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-media); overflow: clip; background: var(--paper-2); }
.pcard__media:empty { display: none; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.pcard:hover .pcard__media img { scale: 1.05; }
.pcard__sale { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard__media .stamp { position: absolute; top: 50%; left: 50%; z-index: 2; translate: -50% -50%; font-size: .875rem; }
.pcard__add { justify-self: start; }
.pcard__cat { font-size: var(--fs-xs); color: var(--graphite); font-weight: 600; }
.pcard__title { font: 700 1rem/1.35 var(--f-text); letter-spacing: .01em; }
.wprice del { color: var(--graphite); font-size: var(--fs-sm); margin-right: .5em; }
.wprice ins { text-decoration: none; font-family: var(--f-display); font-size: 1.625rem; font-weight: 420; letter-spacing: -.015em; }
.product__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.product__media { grid-column: 1 / span 7; position: sticky; top: var(--rail-top); display: grid; }
.product__media > * { grid-area: 1 / 1; }
.product__badge { position: relative; z-index: 3; align-self: start; justify-self: start; margin: 18px; }
.product__badge + .product__badge { margin-left: 140px; }
.product__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-frame); overflow: clip; background: var(--paper-2); }
.product__frame img { width: 100%; height: 100%; object-fit: contain; }
.product__link { display: block; width: 100%; height: 100%; }
.product__zoom { position: relative; z-index: 2; aspect-ratio: 4 / 3; border-radius: var(--r-frame); overflow: clip; opacity: 0; pointer-events: none; transition: opacity var(--t-mid) var(--ease); }
.product__zoom img { width: 100%; height: 100%; object-fit: contain; scale: 1.6; background: var(--paper-2); }
@media (hover: hover) { .product__media:hover .product__zoom { opacity: 1; } }
.product__info { grid-column: 9 / span 4; display: grid; gap: 22px; }
.product__price ins { font-size: 2.75rem; }
.product__meta { font-size: var(--fs-xs); color: var(--graphite); }
.product__meta > span { display: inline-flex; flex-wrap: wrap; gap: .45em; }
.form--cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form--cart .lf, .form--cart .fld { width: 96px; }
.form--cart .lf__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form--cart .t--label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form--cart .inp { text-align: center; }
.pdesc { margin-top: var(--sec); padding-top: clamp(28px, 3vw, 48px); border-top: 1px solid var(--ink); }
.pdesc__body { display: grid; gap: .35em; }
.pdesc__body > .p { max-width: 68ch; color: var(--graphite); }
.pdesc__tabs .list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pdesc__tabs .list > li { padding: 0; }
.pdesc__tabs .list > li::before { display: none; }
.pdesc__tabs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 1em; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 650 var(--fs-xs)/1 var(--f-text); }
.pdesc__t { margin-bottom: 14px; }
.pdesc__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; margin-top: 28px; }
.pdesc__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: clip; background: var(--paper-2); }
.pdesc__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.pdesc__img:hover img { scale: 1.05; }
.product__related { margin-top: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.pgrid--strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 300px); grid-template-columns: none; }

/* ---------------------------------------------------------- TEAM (theme demo page) */
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(44px, 4.4vw, 72px) var(--gap); }
.member { display: grid; gap: 6px; align-content: start; }
.member__photo { margin-bottom: 12px; border-radius: var(--r-media); overflow: clip; background: var(--paper-2); }
.member__photo span { display: block; }
.member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: scale 1.4s var(--ease); }
.member:hover .member__photo img { scale: 1.04; }
.member__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.1; letter-spacing: -.02em; }
.member__role { color: var(--graphite); font-size: var(--fs-sm); }
.social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.social__a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--fog); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.social__a .i { width: 17px; height: 17px; }
.social__a:hover { background: var(--ink); color: var(--paper); box-shadow: none; }

/* ---------------------------------------------------------- PRICING (theme demo page) */
.pband { padding: 16px 0 0; }
.pband__frame { position: relative; isolation: isolate; height: clamp(360px, 58vh, 620px); margin-inline: clamp(8px, 1.2vw, 16px); border-radius: var(--r-frame); overflow: clip; display: grid; align-items: end; }
.pband__frame .sec__bgs { position: absolute; inset: -6% 0; z-index: -2; }
.pband__frame .sec__bg { width: 100%; height: 100%; object-fit: cover; }
.pband__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(var(--scrim) / .78), rgb(var(--scrim) / .18) 62%, rgb(var(--scrim) / .05)); }
.pband__in { padding-bottom: clamp(28px, 3.4vw, 56px); }
.pband__t { font-family: var(--f-display); font-weight: 360; font-size: var(--fs-d1); line-height: var(--lh-tight); letter-spacing: -.04em; color: var(--on-dark); max-width: 11ch; font-variation-settings: "SOFT" 30, "WONK" 0; }
.intro__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: end; }
.intro__t { grid-column: 1 / span 6; max-width: 14ch; }
.intro__p { grid-column: 8 / span 5; color: var(--graphite); }
.plans { padding-top: 0; }
.plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); }
.plan { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-panel); background: var(--paper-2); transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }
.plan__name { font: 700 var(--fs-sm)/1.2 var(--f-text); letter-spacing: .01em; }
.plan__price { margin: 18px 0 22px; font-family: var(--f-display); font-weight: 360; font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3.25rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; white-space: nowrap; }
.plan__price > span:first-child:not(:only-child) { font-size: .42em; vertical-align: .95em; letter-spacing: 0; }
.plan__price span span { margin-left: .35em; font: 600 var(--fs-xs)/1 var(--f-text); letter-spacing: 0; color: var(--graphite); transition: color var(--t-mid) var(--ease); }
.plan:hover .plan__price span span { color: var(--on-dark-2); }
.plan__row { padding: 12px 0; border-top: 1px solid var(--fog); font-size: var(--fs-sm); transition: border-color var(--t-mid) var(--ease); }
.plan__row--none { color: var(--graphite); }
.plan__cta { margin-top: auto; padding-top: 24px; }
.plan__cta .btn { width: 100%; justify-content: space-between; }
.plan:hover { background: var(--pine); color: var(--on-dark); }
.plan:hover .plan__row { border-color: rgb(242 237 228 / .16); }
.plan:hover .plan__row--none { color: var(--on-dark-2); }
.plans__note { margin-top: 20px; font-size: var(--fs-xs); color: var(--graphite); }

/* ---------------------------------------------------------- OFFICES + FEATURE (demo contact page) */
.offices__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gap); align-items: start; }
.office { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ink); }
.office__t { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-d3); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 4px; }
.office__list { display: grid; gap: 2px; font-size: var(--fs-sm); }
.office__list a { background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat; transition: background-size var(--t-mid) var(--ease); }
.office__list a:hover { background-size: 100% 1px; }
.office__note { color: var(--graphite); font-size: var(--fs-sm); }
.feature__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center; }
.feature__media { grid-column: 1 / span 6; aspect-ratio: 4 / 3; border-radius: var(--r-frame); overflow: clip; background: var(--paper-2); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { grid-column: 8 / span 5; display: grid; gap: 18px; justify-items: start; }
.feature__body .p { color: var(--graphite); max-width: 52ch; }
.feature__cta { margin-top: 8px; }
.gen--note .gen__in { color: var(--graphite); font-size: var(--fs-sm); }

/* ---------------------------------------------------------- READING (legal, plain text), UTILITY (cart, account) */
.reading__col { max-width: 72ch; }
.reading .h--3 { margin-top: 1.4em; }
.reading .bq { padding: 22px 28px; border-radius: var(--r-panel); background: var(--paper-2); font-family: var(--f-display); font-size: var(--fs-lead); line-height: 1.35; }
.utility__card { max-width: 760px; display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-panel); background: var(--paper-2); }
.utility__card:has(.pgrid) { max-width: none; }
.utility__card .inp { background: var(--paper); }
.utility__card .h--2 { font-size: var(--fs-d3); }
.pgrid--teaser { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px var(--gap); margin-top: 8px; }
.pcard__link { display: grid; gap: 12px; }
.pcard__link .pcard__title { font-size: var(--fs-sm); }
.pcard__flags { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pw { position: relative; display: block; }
.pw .inp { width: 100%; padding-right: 56px; }
.iconbtn--pw { position: absolute; top: 50%; right: 6px; translate: 0 -50%; background: transparent; }
.iconbtn--pw[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------- overlays: compare panel, login modal */
.compare { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; justify-items: end; gap: 10px; max-width: min(360px, calc(100vw - 32px)); transition: opacity var(--t-mid) var(--ease), translate var(--t-mid) var(--ease); }
.compare.is-away, .compare.is-tucked { opacity: 0; translate: 0 16px; pointer-events: none; }
.compare__open { display: inline-flex; align-items: center; gap: .6em; min-height: 40px; padding: 0 1em; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 650 .75rem/1 var(--f-text); box-shadow: 0 20px 40px -24px rgb(0 0 0 / .6); }
.compare__open .i { width: 18px; height: 18px; }
.compare__h { font: 650 var(--fs-sm)/1.2 var(--f-text); }
.has-js .compare:not(.is-open) > :not(.compare__open) { display: none; }
.compare.is-open { padding: 14px; border-radius: var(--r-panel); background: var(--paper); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.compare__btn { justify-self: stretch; }
.modal { padding: var(--sec) var(--gut); background: var(--paper-2); }
.has-js .modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgb(var(--scrim) / .55); }
.has-js .modal:not(.is-open) { display: none; }
.modal__card { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--paper); }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); }
.modal__close .i { width: 18px; height: 18px; }
.modal__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 48px; }
.modal__tab a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1em; border-radius: var(--r-pill); font: 650 var(--fs-xs)/1 var(--f-text); box-shadow: inset 0 0 0 1px var(--fog); }
.modal__tab.is-on a { background: var(--ink); color: var(--paper); box-shadow: none; }
.has-js .modal__pane:not(.is-on) { display: none; }
.form--modal .btn { justify-self: stretch; justify-content: space-between; }
.form--modal .t { font-size: var(--fs-xs); color: var(--graphite); }

/* ---------------------------------------------------------- injected by app.js: cursor, curtain, lightbox */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: grid; place-items: center; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--clay); color: var(--ink); font: 700 .75rem/1 var(--f-text); letter-spacing: .02em; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s var(--ease), opacity .3s var(--ease); mix-blend-mode: normal; }
.cursor span { opacity: 0; transition: opacity .3s var(--ease); white-space: nowrap; }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-label span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.curtain { position: fixed; inset: 0; z-index: 500; pointer-events: none; display: flex; align-items: flex-end; }
.curtain i { flex: 1; height: 100%; background: var(--pine); -webkit-mask: linear-gradient(#000, #000); clip-path: polygon(0 calc(var(--roof, 9vh)), 50% 0, 100% calc(var(--roof, 9vh)), 100% 100%, 0 100%); margin-inline: -1px; }
.curtain__mark { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 120px; height: 96px; display: grid; place-items: center; border-radius: 22px; background: var(--paper); }
.curtain__mark img { width: 90px; height: auto; }
html.is-arriving::before { content: ""; position: fixed; inset: 0; z-index: 499; background: var(--pine); }
.lightbox { position: fixed; inset: 0; z-index: 450; display: grid; grid-template-rows: auto 1fr auto; background: rgb(14 20 17 / .96); color: var(--on-dark); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut); font: 600 var(--fs-xs)/1 var(--f-text); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gut); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.lightbox__nav { display: flex; justify-content: center; gap: 10px; padding: 16px; }
.lightbox .iconbtn { background: rgb(242 237 228 / .1); color: var(--on-dark); }
.lightbox .iconbtn:hover { background: var(--paper); color: var(--ink); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .detail__main { grid-column: 1 / span 7; }
  .detail__aside { grid-column: 8 / span 5; }
  .card--row .card__body { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta price" "title price" "ex price" "spec spec"; }
  .card--row .card__spec { flex-direction: row; min-width: 0; }
}
@media (max-width: 1024px) {
  .pricebox--touch { display: grid; }
  .pricebox--desktop { display: none; }
  .detail__main, .detail__aside { grid-column: 1 / -1; }
  .detail__sticky { position: static; }
  .steps__head, .steps__list, .steps__cta { grid-column: 1 / -1; }
  .steps__stack { grid-column: 1 / -1; grid-row: auto; aspect-ratio: auto; height: 340px; max-width: 520px; width: 100%; justify-self: center; margin-top: 24px; }
  .steps__pin { min-height: 0; padding-block: var(--sec); }
  .voices__rail { grid-column: 1 / -1; }
  .voices__sticky { position: static; }
  .voices__marks { display: none; }
  .voices__list { grid-column: 1 / -1; }
  .callband__text, .callband__card { grid-column: 1 / -1; }
  .posts--wide .story > *, .posts--wide .story__media { grid-column: 1 / -1; grid-row: auto; }
  .hub__grid { grid-template-columns: minmax(0, 1fr); }
  .hub__rail { position: static; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile__rail, .profile__main { grid-column: 1; grid-row: auto; }
  .profile__sticky { position: static; }
  .profile__main { order: -1; }
  .journal__main, .journal__aside, .journal__in--solo .journal__main { grid-column: 1 / -1; }
  .journal__aside { position: static; }
  .product__media, .product__info { grid-column: 1 / -1; position: static; }
  .faqs__rail, .faqs__list { grid-column: 1 / -1; }
  .faqs__sticky { position: static; }
  .contact__write, .contact__dir { grid-column: 1 / -1; }
  .offices__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro__t, .intro__p { grid-column: 1 / -1; }
  .about__lead, .pull, .about__notes { grid-column: 1 / -1; }
  .pull { position: static; grid-row: auto; }
  .ftr__col--2, .ftr__col--1, .ftr__col--3 { grid-column: 1 / -1; grid-row: auto; }
  .adv { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage__frame { --fi-t: 8px; --fi-x: 8px; --fi-b: 120px; }
}
@media (max-width: 900px) {
  .split__media, .split__text { grid-column: 1 / -1; }
  .feature__media, .feature__body { grid-column: 1 / -1; }
  .split__frame { aspect-ratio: 4 / 3; }
  .card--row { flex-direction: column; gap: 14px; }
  .card--row .card__media { width: 100%; aspect-ratio: 16 / 10; }
  .card--row .card__body { grid-template-columns: 1fr; grid-template-areas: "meta" "title" "ex" "price" "spec"; }
  .card--row .card__price { justify-self: start; align-items: flex-start; text-align: left; }
  .spec__grid { grid-template-columns: minmax(0, 1fr); }
  .journal__in--rail .journal__aside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .console { flex-direction: column; padding: 8px; }
  .seg { width: 100%; }
  .seg__opt { flex: 1; padding: 0 .6em; font-size: var(--fs-xs); }
  .console__field { flex: none; }
  .console__adv, .console__go { justify-content: center; }
  .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv > .fld, .adv > .sel, .adv > .lf, .adv > .ck, .adv > .btn, .adv > button { grid-column: span 1; }
  .adv > .lf { grid-column: 1 / -1; }
  .stage { align-content: end; padding-bottom: 16px; }
  .stage__title { font-size: clamp(2.875rem, 1.2rem + 9vw, 4.5rem); max-width: 9ch; }
  .stage__scrim { background: linear-gradient(180deg, rgb(var(--scrim) / .4) 0%, rgb(var(--scrim) / .12) 22%, rgb(var(--scrim) / .5) 50%, rgb(var(--scrim) / .78) 100%); }
  .stage__frame { --fi-t: 6px; --fi-x: 6px; --fi-b: 200px; }
  .promo__foot { flex-direction: column-reverse; align-items: stretch; }
  .strip__ui { justify-content: flex-end; }
  .film__track { height: clamp(260px, 52vh, 420px); }
  .film__item:first-child { aspect-ratio: 4 / 3; }
  .phead { grid-template-columns: 1fr; }
  .phead > .phead__id, .phead > .phead__views { padding-left: 0; border-left: 0; }
  .filter { grid-template-columns: minmax(0, 1fr); }
  .filter__adv { grid-template-columns: minmax(0, 1fr); }
  .cond { flex-direction: column; align-items: flex-start; }
  .btn { min-height: 48px; }
  .ftr__social a { font-size: 1.375rem; }
  .faq__q { padding: 20px 0; }
  .about__roof { position: static; display: block; width: 72%; margin-top: 18px; }
  .pgrid:not(.pgrid--strip), .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  .pcard__title { font-size: .875rem; }
  .pgrid .wprice ins { font-size: 1.25rem; }
  .pgrid .wprice del { display: block; margin: 0 0 2px; }
  .pgrid .pcard__add { max-width: 100%; padding-left: .9em; }
  .pgrid .pcard__add .btn__label { white-space: normal; line-height: 1.2; }
  .member__name { font-size: 1.25rem; }
  .member__photo { margin-bottom: 6px; }
  .social { gap: 4px; }
  .social__a { width: 32px; height: 32px; }
  .offices__in { grid-template-columns: minmax(0, 1fr); }
  .pband__frame { height: clamp(300px, 52vh, 460px); }
}
@media (max-width: 400px) {
  .mhdr__lbl { display: none !important; }
  .mhdr .hdr__widget a[href^="tel:"] { padding: 0 .75em; font-size: .78125rem; gap: .45em; }
  .logo--m { width: 56px; }
}

/* ---------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  body::before { animation: none; }
}
