/* Elite Commercial Real Estate — one stylesheet.
   World: a commercial lease read by your own broker. The document is set straight in black;
   the broker's red pen marks what matters and explains it in the margin.
   Change tokens here and nowhere else. Contrast figures were measured (tests/contrast.test.mjs). */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/spectral-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/spectral-latin-500-italic.woff2") format("woff2"); }

:root {
  /* Palette: white, brand red, black, light gray (brief, pinned).
     --red is #A51E22, sampled from solid areas of the approved logo file ("logo long.png",
     2026-10-09). Every pair using it is measured in tests/contrast.test.mjs. */
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #474747;      /* secondary text on white: 9.2:1 */
  --ink-3: #6b6b6b;      /* small labels on white: 5.3:1; never on --gray */
  --gray: #f2f2f2;       /* the ruled form: exhibit tables, alternating bands */
  --rule: #cfcfcf;       /* hairlines */
  --red: #a51e22;        /* the pen, sampled from the approved logo (2026-10-09). Annotations, pen marks, the signature (CTA) fill. Never a background area */
  --red-deep: #7f1519;   /* pressed / hover on red fills */
  --red-wash: #f9eaea;   /* highlighter under a marked term, never behind body copy blocks */
  --night-ink: #e6e6e6;  /* footer text on --ink: 14.9:1 */
  --night-ink-2: #bdbdbd; /* footer labels on --ink: 9.6:1 */
  --night-rule: #3a3a3a; /* footer hairline */

  --font-doc: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-pen: "Spectral", Georgia, serif;

  --hair: 1px;
  --measure: 40rem;
  --margin-col: 17rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --page-max: 78rem;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.5rem + 4vw, 4.25rem);
  --step-5: clamp(2.75rem, 1.4rem + 6vw, 6rem);

  --ease-pen: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (min-resolution: 2dppx) { :root { --hair: 0.5px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-doc);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--red); color: var(--paper); }
/* States are pen marks. Focus on a text link: the pen underlines it and the highlighter washes it.
   Focus on a block control (button, card, row): the pen brackets it, left and right. */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
a:focus-visible { outline: none; background: var(--red-wash); text-decoration: underline 3px var(--red); text-underline-offset: 0.22em; }
.site-footer a:focus-visible { background: transparent; text-decoration-color: var(--paper); } /* white on wash would be ~1.15:1 */
.btn:focus-visible, .path__link:focus-visible, .res a:focus-visible, .carousel-controls__btn:focus-visible, .nav-toggle:focus-visible, .review__full summary:focus-visible, .faq summary:focus-visible, .term:focus-visible, .logos__viewport:focus-visible {
  outline: none; text-decoration: none;
  box-shadow: -6px 0 0 -1px var(--paper), -9px 0 0 -1px var(--red), 6px 0 0 -1px var(--paper), 9px 0 0 -1px var(--red);
}
.btn:focus-visible { background-image: none; }
input, textarea, select { caret-color: var(--red); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: var(--hair); text-underline-offset: 0.22em; }
a:hover { color: var(--red); text-decoration-thickness: 2px; }
table { font-variant-numeric: tabular-nums; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.skip-link:hover { color: var(--paper); }

.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--hair) solid var(--rule); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; margin-right: auto; padding-block: 0.6rem; }
.wordmark__logo { display: block; height: 64px; width: auto; }
@media (max-width: 1060px) { .wordmark__logo { height: 52px; } }
@media (max-width: 420px) { .wordmark__logo { height: 46px; } }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: 0.5rem 0.7rem; font-weight: 500; font-size: 0.95rem; text-decoration: none; position: relative; }
.nav__link[aria-current="page"]::after, .nav__link:hover::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.3rem; height: 2px; background: var(--red);
}
.nav__link:hover { color: var(--ink); }
.nav-toggle { display: none; }

/* Dropdown groups (Services, Resources): a button that opens a ruled list, like a clause's sub-items. */
.nav__group { position: relative; }
.nav__trigger { font: inherit; font-weight: 500; font-size: 0.95rem; color: var(--ink); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; }
.nav__trigger svg { width: 0.75rem; height: 0.75rem; transition: transform 200ms var(--ease-pen); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__group.is-active > .nav__trigger::after { content: ""; position: absolute; left: 0.7rem; right: 1.6rem; bottom: 0.3rem; height: 2px; background: var(--red); }
.nav__sub { list-style: none; margin: 0; padding: 0.5rem 0; position: absolute; top: 100%; left: 0; min-width: 16rem; background: var(--paper); border: var(--hair) solid var(--rule); border-top: 2px solid var(--ink); box-shadow: 0 12px 24px -12px rgba(17,17,17,0.25); display: none; z-index: 60; }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__trigger[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub a { display: block; padding: 0.6rem 1.1rem; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--red); text-decoration: underline 2px; text-underline-offset: 0.3em; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: var(--hair) solid var(--ink); padding: 0.55rem 0.85rem; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: var(--hair) solid var(--rule); display: none; padding: 1rem var(--gutter) 1.5rem; max-height: calc(100dvh - 6rem); overflow-y: auto; }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 0.9rem 0; font-size: 1.25rem; border-bottom: var(--hair) solid var(--rule); width: 100%; text-align: left; }
  .nav__link[aria-current="page"]::after, .nav__link:hover::after { left: 0; right: auto; width: 2.5rem; bottom: 0.45rem; }
  .nav__trigger { justify-content: space-between; }
  .nav__group.is-active > .nav__trigger::after { left: 0; right: auto; width: 2.5rem; bottom: 0.45rem; }
  /* On phones the sub-items are always shown, indented under their group: no hover on touch. */
  .nav__sub, .nav__group:hover .nav__sub { display: block; position: static; border: 0; box-shadow: none; min-width: 0; padding: 0 0 0.5rem 1rem; }
  .nav__trigger svg { display: none; }
  .nav__sub a { padding: 0.65rem 0; font-size: 1.1rem; border-bottom: var(--hair) solid var(--rule); }
  .nav .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }
}

/* Newsletter sign-up */
.newsletter { display: grid; gap: 1rem; max-width: 34rem; }
.newsletter .form-status:empty { display: none; }
.newsletter--compact { gap: 0.75rem; }
.site-footer .newsletter .field label { color: var(--night-ink); font-size: 0.85rem; }
.site-footer .newsletter .field input { background: transparent; color: var(--paper); border-bottom-color: var(--night-ink-2); min-height: 2.4rem; }
.site-footer .newsletter .field input:focus { border-bottom-color: var(--paper); box-shadow: 0 2px 0 0 var(--paper); }
.site-footer .newsletter .privacy-line { color: var(--night-ink-2); font-size: 0.8rem; margin: 0; }
.site-footer .newsletter .form-status { color: var(--paper); border-color: var(--night-ink-2); }
.site-footer .newsletter .field__error { color: #ffb3b5; }
.site-footer .newsletter .btn { justify-self: start; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 0.95rem 1.4rem; border: 2px solid var(--red); border-radius: 0;
  background: var(--red); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease-pen), border-color 160ms var(--ease-pen);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--gray); border-color: var(--rule); color: var(--ink-3); cursor: not-allowed; text-decoration: line-through; }
.btn--small { padding: 0.6rem 1rem; font-size: 0.95rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: transparent; border-color: var(--red); color: var(--red); text-decoration: underline 2px; text-underline-offset: 0.25em; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.link-pen { font-weight: 700; text-decoration: none; background-image: linear-gradient(var(--red), var(--red)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 0.15em; display: inline-flex; align-items: center; gap: 0.45rem; transition: background-size 260ms var(--ease-pen); }
.link-pen:hover { color: var(--red); }
.link-pen svg { width: 1em; height: 1em; transition: transform 260ms var(--ease-pen); }
.link-pen:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- the document grid
   Two columns: the text measure and the annotation margin the pen hangs into. Below 980px the
   margin folds in-flow under the paragraph it annotates. */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 980px) { .doc { grid-template-columns: minmax(0, 1fr) var(--margin-col); } .doc > .doc__margin { grid-column: 2; } .doc > .doc__full { grid-column: 1 / -1; } }
.doc__main { min-width: 0; }
@media (max-width: 979px) { .doc > .doc__margin { margin-top: 2rem; } }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section + .section { border-top: var(--hair) solid var(--rule); }
.section__title { font-size: var(--step-4); max-width: 18ch; margin-bottom: 1.25rem; }
.section__lede { font-size: var(--step-1); color: var(--ink-2); max-width: 36rem; line-height: 1.5; }

/* the pen: margin notes */
.note {
  font-family: var(--font-pen); font-style: italic; font-weight: 500; color: var(--red);
  font-size: 1.1875rem; line-height: 1.35; position: relative; padding-left: 1.4rem; margin: 0;
}
.note::before { /* the hand-ruled bracket, drawn top to bottom as its clause enters the page */
  content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.15em; width: 0.6rem;
  border: 2px solid var(--red); border-right: 0; transform: skewY(-2deg);
}
.js .note.pen::before { clip-path: inset(0 0 100% 0); }
.js .note.pen.is-drawn::before { clip-path: inset(0 0 0 0); transition: clip-path 600ms var(--ease-pen) var(--delay, 0ms); }
@media (prefers-reduced-motion: reduce) { .js .note.pen::before { clip-path: none !important; transition: none !important; } }
.note cite { display: block; font-style: normal; font-family: var(--font-doc); font-size: 0.8rem; font-weight: 500; color: var(--ink-3); margin-top: 0.5rem; letter-spacing: 0.01em; }
.note a { color: var(--red); }
.note--quiet { color: var(--ink-2); }
.note--quiet::before { border-color: var(--ink-2); }

/* pen marks drawn over type: underline, circle, strike. SVG paths, stroke drawn in on view */
.mark { position: relative; white-space: nowrap; display: inline-block; }
.mark svg { position: absolute; pointer-events: none; overflow: visible; }
.mark--under svg { left: -2%; width: 104%; bottom: -0.16em; height: 0.32em; }
.mark--circle svg { left: -10%; top: -18%; width: 121%; height: 136%; }
.mark path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* The stroke is revealed left to right with a clip, so no dash-length arithmetic can leave it short. */
.js .mark svg { clip-path: inset(-30% 106% -30% -6%); }
.js .mark.is-drawn svg { clip-path: inset(-30% -6% -30% -6%); transition: clip-path 680ms var(--ease-pen) var(--delay, 0ms); }
@media (prefers-reduced-motion: reduce) { .js .mark svg { clip-path: none !important; transition: none !important; } }

/* glossary terms: tap to open a margin note */
.term { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: help; text-decoration: underline dotted var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.term[aria-expanded="true"] { background: var(--red-wash); }
.term-note { display: block; margin: 0.75rem 0 1.25rem; }
/* Desktop: the note hangs in the annotation margin, level with the term (main.js sets --note-top). */
@media (min-width: 980px) {
  [data-glossary] { position: relative; }
  [data-glossary] .term-note { position: absolute; left: calc(100% + clamp(2rem, 5vw, 5rem)); width: var(--margin-col); top: var(--note-top, 0); margin: 0; background: var(--paper); z-index: 2; }
}
.term-note[hidden] { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__title { font-size: var(--step-5); letter-spacing: -0.04em; line-height: 0.98; max-width: 13ch; margin-bottom: 1.75rem; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 34rem; margin-bottom: 2.25rem; }
.signature { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero .doc__margin { align-self: end; padding-bottom: 0.5rem; }
.hero .note { font-size: 1.375rem; }
@media (max-width: 979px) { .hero .doc__margin { margin-top: 2.5rem; } }
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: var(--hair) solid var(--rule); }
.page-hero__title { font-size: var(--step-4); max-width: 16ch; margin-bottom: 1.25rem; letter-spacing: -0.035em; }
.page-hero .hero__lede { margin-bottom: 0; }
.page-hero .signature { margin-top: 2rem; }
.crumbs { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--rule); }
.crumbs a { text-decoration: none; }

/* ---------------------------------------------------------------- pathways: three clauses, not cards */
.paths { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.path { border-bottom: var(--hair) solid var(--rule); }
.path__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 2rem; align-items: baseline; padding: 1.75rem 0; text-decoration: none; }
@media (min-width: 760px) { .path__link { grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.4fr) auto; } }
.path__name { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.path__text { color: var(--ink-2); grid-column: 1 / -1; max-width: 34rem; }
@media (min-width: 760px) { .path__text { grid-column: auto; } }
.path__go { grid-row: 1; grid-column: 2; align-self: center; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: var(--hair) solid var(--ink); transition: background-color 200ms var(--ease-pen), color 200ms var(--ease-pen); }
@media (min-width: 760px) { .path__go { grid-column: 3; } }
.path__go svg { width: 1.2rem; height: 1.2rem; }
.path__link:hover { color: var(--ink); }
.path__link:hover .path__name { color: var(--red); }
.path__link:hover .path__go { border-color: var(--red); color: var(--red); border-width: 2px; }

/* ---------------------------------------------------------------- differences: claims with citations */
.claims { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: claim; }
.claim { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem 3rem; padding: 2rem 0; border-top: var(--hair) solid var(--rule); }
@media (min-width: 980px) { .claim { grid-template-columns: minmax(0, 1fr) var(--margin-col); } }
.claim h3 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.claim p { color: var(--ink-2); max-width: 36rem; margin: 0; }

/* ---------------------------------------------------------------- journey: one orthogonal rule, four stations */
.journey { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; counter-reset: station; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 1.15rem; height: 2px; background: var(--ink); }
.station { position: relative; padding-right: 1.5rem; counter-increment: station; }
.station__dot { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); font-weight: 800; font-size: 0.95rem; position: relative; margin-bottom: 1.25rem; }
.station:first-child .station__dot { background: var(--red); border-color: var(--red); color: var(--paper); }
.station h3 { font-size: var(--step-1); letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.station p { color: var(--ink-2); font-size: 0.98rem; margin: 0; }
@media (max-width: 760px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey::before { left: 1.15rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .station { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); column-gap: 1.25rem; padding: 0 0 2rem; }
  .station__dot { grid-row: 1 / span 2; margin: 0; }
}

/* ---------------------------------------------------------------- resources strip */
.res-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); border-top: 2px solid var(--ink); }
.res { border-bottom: var(--hair) solid var(--rule); }
@media (min-width: 640px) { .res { border-right: var(--hair) solid var(--rule); } .res:last-child { border-right: 0; } }
.res a { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.5rem 1.5rem 1.75rem 0; text-decoration: none; }
@media (min-width: 640px) { .res a { padding-left: 1.5rem; } .res:first-child a { padding-left: 0; } }
.res__title { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.res__text { color: var(--ink-2); font-size: 0.97rem; }
.res a:hover .res__title { color: var(--red); }

/* ---------------------------------------------------------------- logo carousel (v1.1) */
.logos { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: var(--hair) solid var(--rule); }
.logos__head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: 2rem; }
@media (min-width: 900px) { .logos__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.logos__title { font-size: var(--step-3); max-width: 18ch; }
.logos__desc { color: var(--ink-2); margin: 0; max-width: 34rem; }
.logos__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: logos-scroll var(--logo-cycle, 52s) linear infinite; }
.logos__viewport:hover .logos__track, .logos__viewport:focus-within .logos__track { animation-play-state: paused; }
.logos__item { flex: none; width: clamp(8.5rem, 16vw, 11.25rem); height: clamp(4.75rem, 9vw, 6.25rem); margin-right: clamp(1.25rem, 3vw, 2.5rem); display: grid; place-items: center; }
.logos__item img { width: 100%; height: 100%; object-fit: contain; }
.logos__caption { font-size: var(--step--1); color: var(--ink-3); margin: 1.25rem 0 0; }
.logos--compact .logos__item { height: 4rem; width: 8rem; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__viewport { overflow-x: auto; mask-image: none; }
  .logos__track { animation: none; }
  .logos__track [data-clone] { display: none; }
}

/* ---------------------------------------------------------------- testimonials (v1.2) */
.reviews { display: grid; gap: 2rem; }
@media (min-width: 980px) { .reviews { grid-template-columns: minmax(0, 1fr) var(--margin-col); column-gap: clamp(2rem, 5vw, 5rem); } }
.review { margin: 0; }
.review[hidden] { display: none; }
.review__quote { margin: 0; }
.review__excerpt { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; text-wrap: balance; max-width: 26ch; margin: 0 0 1.75rem; }
.review__excerpt::before { content: "\201C"; color: var(--red); margin-left: -0.45em; }
.review__excerpt::after { content: "\201D"; color: var(--red); }
.review__who { display: flex; flex-wrap: wrap; gap: 0.2rem 0.75rem; font-size: 0.97rem; align-items: baseline; }
.review__name { font-weight: 700; }
.review__meta { color: var(--ink-3); }
.review__full { margin-top: 1.5rem; max-width: var(--measure); }
.review__full summary { cursor: pointer; font-weight: 700; list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0; border-bottom: 2px solid var(--red); }
.review__full summary::-webkit-details-marker { display: none; }
.review__full summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease-pen); }
.review__full[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.review__full summary .when-open { display: none; }
.review__full[open] summary .when-open { display: inline; }
.review__full[open] summary .when-closed { display: none; }
.review__text { margin-top: 1.25rem; padding: 1.5rem 0 0.25rem 1.5rem; border-left: 2px solid var(--ink); color: var(--ink-2); }
.review__text p { margin-bottom: 0.9em; }
.review__source { font-size: var(--step--1); color: var(--ink-3); }
.review__source a { color: inherit; }
.carousel-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.25rem; }
.carousel-controls__btn { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--paper); border: var(--hair) solid var(--ink); color: var(--ink); cursor: pointer; }
.carousel-controls__btn:hover { border-color: var(--red); color: var(--red); border-width: 2px; }
.carousel-controls__btn svg { width: 1.2rem; height: 1.2rem; }
.carousel-controls__count { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink-2); margin-left: 0.5rem; }
.no-js .carousel-controls { display: none; }

/* success stories */
.stories { list-style: none; margin: 0; padding: 0; }
.story { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 2px solid var(--ink); }
.story__name { font-size: var(--step-3); margin-bottom: 0.35rem; }
.story__type { color: var(--ink-3); font-weight: 500; margin-bottom: 1.5rem; }
.story h3 { font-size: 0.95rem; letter-spacing: 0; font-weight: 700; margin: 1.5rem 0 0.4rem; }
.story__actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; align-items: center; }
.directory { list-style: none; margin: 2rem 0 0; padding: 0; }
.directory > li { border-top: var(--hair) solid var(--rule); padding-block: 2rem; }
.directory > li:target { background: linear-gradient(90deg, var(--red-wash), transparent 70%); }

/* ---------------------------------------------------------------- team: the signature page */
.parties { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 3rem 3rem; }
.party { display: flex; flex-direction: column; }
.party__photo { aspect-ratio: 4 / 5; background: var(--gray); margin-bottom: 1.25rem; overflow: hidden; }
.party__photo img { width: 100%; height: 100%; object-fit: cover; }
.party__line { border-top: 2px solid var(--ink); padding-top: 0.75rem; margin-top: auto; }
.party__name { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.party__name a { text-decoration: none; }
.party__name a:hover { color: var(--red); }
.party__title { color: var(--ink-2); font-size: 0.97rem; margin: 0.15rem 0 0; }
.party__license { font-size: 0.85rem; color: var(--ink-3); margin: 0.35rem 0 0; font-variant-numeric: tabular-nums; }
.party__lang { display: inline-block; margin-top: 0.6rem; font-family: var(--font-pen); font-style: italic; color: var(--red); font-size: 1.05rem; }
.party__video { margin: 0.75rem 0 0; font-size: 0.95rem; }

/* video introductions: a still from the original, the YouTube player only after play.
   Each card reads like an exhibit: the frame, then the signature line beneath it. */
.intros { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 3.5rem 3rem; }
.intro { margin: 0; display: flex; flex-direction: column; }
.intro__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; border: var(--hair) solid var(--rule); }
.intro__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-pen); }
.intro__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.intro__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 4.5rem; height: 4.5rem; display: grid; place-items: center;
  background: var(--paper); color: var(--red); border: 2px solid var(--ink); border-radius: 0; cursor: pointer;
  transition: background-color 200ms var(--ease-pen), color 200ms var(--ease-pen), border-color 200ms var(--ease-pen);
}
.intro__play svg { width: 1.9rem; height: 1.9rem; margin-left: 0.2rem; }
.intro__frame:hover .intro__play, .intro__play:focus-visible { background: var(--red); color: var(--paper); border-color: var(--red); }
.intro__frame:hover img { transform: scale(1.015); }
.intro__pending { position: absolute; left: 0.75rem; bottom: 0.75rem; background: var(--ink); color: var(--paper); font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.6rem; }
.intro .party__line { margin-top: 1rem; }
.profile-video { margin-bottom: 2.5rem; max-width: 48rem; }
.profile-portrait { margin: 0 0 2.5rem; max-width: 22rem; aspect-ratio: 4 / 5; overflow: hidden; border: var(--hair) solid var(--rule); background: var(--gray); }
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .intro__frame img, .intro__play { transition: none; } .intro__frame:hover img { transform: none; } }
/* No headshot yet: the card is a signature block. Signing space with the pen's "x", the rule, and
   the party's name typed beneath it, the way a lease signature page reads. */
.party--signature .party__line { position: relative; margin-top: 3.5rem; }
.party--signature .party__line::before { content: "x"; position: absolute; left: 0.1rem; top: -2.35rem; font-family: var(--font-pen); font-style: italic; font-weight: 500; color: var(--red); font-size: 1.75rem; line-height: 1; }

.profile-facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.profile-facts li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: var(--hair) solid var(--rule); }
.profile-facts dt, .profile-facts .k { color: var(--ink-3); font-size: 0.9rem; font-weight: 500; }

/* ---------------------------------------------------------------- long-form reading (guides, FAQ, policies) */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-3); margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.prose h3 { font-size: var(--step-1); letter-spacing: -0.015em; margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--red); }
.prose strong { font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.prose dl { margin: 0 0 1.5rem; border-top: 2px solid var(--ink); }
.prose dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding: 1rem 0; border-bottom: var(--hair) solid var(--rule); }
@media (min-width: 640px) { .prose dl > div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; } }
.prose dt { font-weight: 800; }
.prose dd { margin: 0; color: var(--ink-2); }
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 1.5rem 0 1.5rem 3.5rem; border-top: var(--hair) solid var(--rule); margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 1.45rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 2px solid var(--ink); font-weight: 800; font-size: 0.95rem; }
.steps > li > strong:first-child { display: block; font-size: var(--step-1); letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.toc { font-size: 0.95rem; }
.toc h2 { font-size: 0.85rem; letter-spacing: 0; color: var(--ink-3); font-weight: 700; margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: var(--hair) solid var(--rule); }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; text-decoration: none; color: var(--ink-2); margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--red); border-left-color: var(--red); }
.review-status { font-size: var(--step--1); color: var(--ink-3); border-top: var(--hair) solid var(--rule); padding-top: 1rem; margin-top: 3rem; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: var(--hair) solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.35rem 3rem 1.35rem 0; font-weight: 700; font-size: var(--step-1); letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.7rem; height: 0.7rem; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform 220ms var(--ease-pen); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 0 1.5rem; color: var(--ink-2); max-width: var(--measure); }

/* ---------------------------------------------------------------- exhibit tables & calculators */
.exhibit { border-top: 2px solid var(--ink); }
.exhibit__label { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.75rem 0; border-bottom: var(--hair) solid var(--rule); font-size: 0.9rem; font-weight: 700; }
.exhibit__label span { color: var(--ink-3); font-weight: 500; }
.calc { display: grid; gap: 3rem; }
@media (min-width: 980px) { .calc { grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr); align-items: start; } }
.calc__inputs { display: grid; gap: 1.25rem; }
.calc fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.calc legend { font-weight: 800; font-size: var(--step-1); letter-spacing: -0.015em; margin-bottom: 0.5rem; padding: 0; }
@media (min-width: 980px) { .calc__results { position: sticky; top: 6rem; } }
.figure-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); border-bottom: var(--hair) solid var(--rule); }
.figure { padding: 1.25rem 1.25rem 1.25rem 0; }
.figure + .figure { padding-left: 1.25rem; border-left: var(--hair) solid var(--rule); }
.figure__k { font-size: 0.85rem; color: var(--ink-3); font-weight: 500; display: block; }
.figure__v { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; display: block; margin-top: 0.2rem; }
.figure--pen .figure__v { color: var(--red); }
.schedule { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.schedule th, .schedule td { text-align: right; padding: 0.6rem 0.5rem; border-bottom: var(--hair) solid var(--rule); white-space: nowrap; }
.schedule th:first-child, .schedule td:first-child { text-align: left; padding-left: 0; }
.schedule thead th { font-weight: 700; color: var(--ink-3); font-size: 0.82rem; border-bottom: 2px solid var(--ink); }
.schedule tbody tr:nth-child(even) { background: var(--gray); }
.schedule tfoot td { font-weight: 800; border-top: 2px solid var(--ink); border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: var(--hair) solid var(--rule); }
.compare > div { padding: 1.25rem 1.25rem 1.25rem 0; }
.compare > div + div { padding-left: 1.25rem; border-left: var(--hair) solid var(--rule); }
.compare h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.compare dl { margin: 0; }
.compare dt { font-size: 0.85rem; color: var(--ink-3); }
.compare dd { margin: 0 0 0.8rem; font-weight: 800; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 0.5rem; margin: 1.5rem 0; }
.bar { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; font-size: 0.9rem; }
.bar__track { height: 0.9rem; background: var(--gray); position: relative; }
.bar__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform 500ms var(--ease-pen); }
@media (prefers-reduced-motion: reduce) { .bar__fill { transition: none; } }
.bar--pen .bar__fill { background: var(--red); }
.assumptions { margin-top: 2rem; }
.assumptions summary { cursor: pointer; font-weight: 700; }
.assumptions ul { color: var(--ink-2); font-size: 0.95rem; padding-left: 1.2rem; }
.disclaimer { font-size: 0.9rem; color: var(--ink-3); margin-top: 1.5rem; }

/* ---------------------------------------------------------------- forms: ruled blanks */
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); width: 100%;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 0.7rem 0.1rem; min-height: 2.9rem;
}
.field textarea { min-height: 7rem; resize: vertical; border: 2px solid var(--ink); padding: 0.75rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--red); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 2px 0 0 var(--red); }
.field textarea:focus { box-shadow: inset 0 0 0 1px var(--red); }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--red); }
.field__error { color: var(--red); font-size: 0.9rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.with-unit { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.5rem; }
.unit-toggle { display: inline-flex; border: 2px solid var(--ink); }
.unit-toggle label { position: relative; }
.unit-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.unit-toggle span { display: block; padding: 0.45rem 0.7rem; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.unit-toggle input:checked + span { background: var(--ink); color: var(--paper); }
.unit-toggle input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.75rem; align-items: start; font-size: 0.95rem; }
.check input, .field .check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0.15rem 0 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--red); }
.field--invalid .check input { outline: 2px solid var(--red); outline-offset: 2px; }
.form-grid { display: grid; gap: 1.6rem; }
@media (min-width: 700px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.25rem; border: 2px solid var(--red); color: var(--red); font-weight: 500; }
.form-status:empty { display: none; }
.form-status--ok { border-color: var(--ink); color: var(--ink); }
.privacy-line { font-size: 0.88rem; color: var(--ink-3); }
.cf-turnstile { min-height: 65px; }

/* ---------------------------------------------------------------- closing clause: white, under a heavy ink rule */
/* The closing clause: the page's signature block. White ground under a heavy ink rule; red is the
   signature button and the pen mark on one word, nothing else. */
.closing { background: var(--paper); color: var(--ink); padding-block: clamp(4rem, 9vw, 7.5rem); border-top: 3px solid var(--ink); }
.closing h2 { font-size: var(--step-5); letter-spacing: -0.04em; line-height: 0.98; max-width: 14ch; margin-bottom: 1.5rem; }
.closing p { font-size: var(--step-1); max-width: 34rem; line-height: 1.5; color: var(--ink-2); }
.closing .signature { margin-top: 2.25rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--night-ink); padding-block: 4rem 2.5rem; font-size: 0.95rem; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: #ffffff; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-grid h2 { font-size: 0.85rem; letter-spacing: 0; color: var(--night-ink-2); font-weight: 700; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-logo { display: block; height: 59px; width: auto; }
.footer-brand p { color: var(--night-ink-2); margin-top: 1rem; max-width: 22rem; }
.footer-legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-rule); display: grid; gap: 0.6rem; color: var(--night-ink-2); font-size: 0.86rem; }
.footer-legal p { margin: 0; }

/* ---------------------------------------------------------------- utilities */
.stack > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.split { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.staging-flag { background: var(--ink); color: #fff; font-size: 0.8rem; text-align: center; padding: 0.35rem 1rem; }

/* ---------------------------------------------------------------- round 2 components */
/* Why Elite: four equal clauses on a ruled grid */
.claims--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 0 2.5rem; border-top: 2px solid var(--ink); margin-top: 2.5rem; }
.claims--grid .claim { border-top: 0; grid-template-columns: minmax(0, 1fr); padding: 1.75rem 0; }
.claims--grid .claim h3 { font-size: var(--step-1); }

/* Team directory: equal-weight cards. Portrait (4:5) from the advisor’s own video, else an initials tile */
.parties--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 3rem 2.5rem; }
.parties--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 2rem 1.5rem; }
.party--card { display: flex; flex-direction: column; }
.party--card .party__photo { display: block; aspect-ratio: 4 / 5; background: var(--gray); margin-bottom: 1rem; overflow: hidden; border: var(--hair) solid var(--rule); }
.party--card .party__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 500ms var(--ease-pen); }
.party--card:hover .party__photo img { transform: scale(1.02); }
.party__initials { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; color: var(--red); background: var(--gray); }
.party--card .party__line { border-top: 2px solid var(--ink); padding-top: 0.75rem; margin-top: 0; flex: 1; display: flex; flex-direction: column; }
.party__bio { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; margin: 0.9rem 0 0; }
.party__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: auto 0 0; padding-top: 1rem; font-size: 0.95rem; }
.party--compact .party__name { font-size: 1.05rem; }
.party--compact .party__title { font-size: 0.88rem; }
@media (prefers-reduced-motion: reduce) { .party--card .party__photo img { transition: none; } .party--card:hover .party__photo img { transform: none; } }

/* Profile */
.profile-bio p:first-child { font-size: var(--step-1); color: var(--ink); line-height: 1.5; }
.contact-card { border-top: 2px solid var(--ink); padding-top: 0.9rem; font-size: 0.95rem; }
.contact-card p { margin: 0 0 0.4rem; }
.contact-card__name { font-weight: 800; }
@media (min-width: 980px) { .contact-card { position: sticky; top: 7rem; } }

/* Service pages: clauses */
.clauses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 0 3rem; border-top: 2px solid var(--ink); }
.clause { padding: 1.75rem 0; border-bottom: var(--hair) solid var(--rule); }
.clause h2 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.clause p { color: var(--ink-2); margin: 0 0 0.75rem; max-width: 36rem; }

/* Gated resources */
.gate { display: grid; gap: 2rem 4rem; padding: 2.5rem 0; border-top: 2px solid var(--ink); border-bottom: var(--hair) solid var(--rule); }
@media (min-width: 980px) { .gate { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.gate[hidden], .gated__content[hidden] { display: none; }
.gated__content { margin-top: 2.5rem; }
.gate__form .form-status:empty { display: none; }

/* Insights */
.cat-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 1.5rem; padding: 0; font-weight: 500; }
.cat-nav a { text-decoration: none; }
.cat-nav a:hover { color: var(--red); text-decoration: underline 2px; text-underline-offset: 0.3em; }
.res__meta { font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }
.article-meta { font-size: 0.9rem; color: var(--ink-3); border-bottom: var(--hair) solid var(--rule); padding-bottom: 1rem; margin-bottom: 2rem; }

/* Stories: Challenge / Approach / Outcome */
.cao { margin: 1.5rem 0 0; border-top: 2px solid var(--ink); max-width: 44rem; }
.cao > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; padding: 1rem 0; border-bottom: var(--hair) solid var(--rule); }
@media (min-width: 640px) { .cao > div { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; } }
.cao dt { font-weight: 800; font-size: 0.95rem; }
.cao dd { margin: 0; color: var(--ink-2); }

/* Available properties */
.listings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 3rem 2.5rem; }
.listing__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray); margin-bottom: 1rem; }
.listing__photo img { width: 100%; height: 100%; object-fit: cover; }
.empty-state { border-top: 2px solid var(--ink); padding: 2.5rem 0; max-width: 42rem; }
.empty-state h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.empty-state p { color: var(--ink-2); }

.about-principle { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; margin: 2rem 0; }
.guide { margin-bottom: 3rem; }

@media print {
  .site-header, .site-footer, .closing, .carousel-controls, .nav-toggle, .skip-link { display: none !important; }
  .js .mark svg, .js .note.pen::before { clip-path: none !important; }
}
