/* Gillooly Home Strategies, as a brand layer inside gillooly-realty (merge spike).
   Load after /tokens.css. The first block is every Home Strategies token the family
   tokens do not already carry at the same value: 31 the family sets differently,
   24 only Home Strategies has. Its colours and shadows live in tokens/. 23 tokens
   match the family and are not repeated. */
:root {
  /* set differently by the family tokens */
  --color-accent-ink: var(--color-white);
  --color-accent-soft: var(--color-wash-2);
  --color-accent: var(--color-navy);
  --color-dark-canvas: var(--color-home-dark-canvas);
  --color-dark-ink: var(--color-home-dark-ink);
  --color-dark-line: var(--color-home-dark-line);
  --color-dark-muted: var(--color-home-dark-muted);
  --color-dark-surface: var(--color-home-dark-surface);
  --color-line: var(--color-home-line);
  --color-mist: var(--color-home-mist);
  --color-slate: var(--color-home-slate);
  --color-surface: var(--color-wash);
  --font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --leading-body: 1.55;
  --leading-display: 1.05;
  --motion-ease: cubic-bezier(.16,1,.3,1);
  --motion-reveal: 1.1s;
  --motion-stagger: 90ms;
  --radius-md: 1.375rem;
  --radius-sm: 0.75rem;
  --size-aside: 23.5rem;
  --size-content: 77.5rem;
  --size-measure: 37.5rem;
  --tracking-tight: -0.03em;
  --type-body: 1rem;
  --type-display: clamp(2.125rem, 4vw, 3.25rem);
  --type-hero: clamp(2.5rem, min(4.8vw, 7.8vh), 4.75rem);
  --type-lead: 1.125rem;
  --type-small: 0.875rem;
  --type-title: 1.75rem;
  /* Home Strategies only */
  --color-highlight-ink: var(--color-dark-canvas);
  --color-highlight: var(--color-gold);
  --color-surface-2: var(--color-wash-2);
  --leading-tight: 1;
  --motion-base: 400ms;
  --motion-lines: 1.2s;
  --motion-spring-time: 700ms;
  --motion-spring: cubic-bezier(.34,1.56,.64,1);
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;
  --size-control-sm: 2.75rem;
  --size-control: 3.25rem;
  --size-field: 2.625rem;
  --size-nav: 7.5rem;
  --space-10: 2.5rem;
  --space-14: 3.5rem;
  --space-18: 4.5rem;
  --space-20: 5rem;
  --space-30: 7.5rem;
  --space-5: 1.25rem;
  --tracking-body: -0.01em;
  --tracking-display: -0.02em;
  --type-band: clamp(2.5rem, 5vw, 4.25rem);
  --type-subtitle: 1.25rem;
}

/* Gillooly Home Strategies: the design system itself.
   Base styles and the components a product adopts. Every value is a custom
   property from tokens.css, which the build writes from tokens/*.json.
   Documentation chrome lives in viewer.css. */

/* ---- fonts ----
   DM Serif Display and Figtree (SIL Open Font License; texts in fonts/),
   latin and latin-ext subsets, served beside this stylesheet. URLs are
   relative so the faces resolve wherever this file is mounted. Figtree is a
   variable font: one file per subset covers weights 400 to 700. */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-italic-latin.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: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin.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: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-latin.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;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; letter-spacing: inherit; }
a { color: inherit; }
code, pre { font-family: var(--font-mono); font-size: 0.85em; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ---- type ---- */
.headline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--type-display);
  font-weight: 400;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
.headline em { font-style: italic; }
.headline--hero { font-size: var(--type-hero); line-height: var(--leading-tight); }
.headline--band { font-size: var(--type-band); line-height: var(--leading-tight); }
.headline--sans { font-family: var(--font-sans); font-weight: 500; letter-spacing: var(--tracking-tight); }
.headline--title { font-size: var(--type-title); line-height: var(--leading-title); }
.lede { max-width: var(--size-measure); margin: 0; color: var(--color-muted); font-size: var(--type-lead); line-height: var(--leading-body); }
.eyebrow-label { margin: 0 0 var(--space-2); color: var(--color-muted); font-size: var(--type-label); font-weight: 600; }
.kicker { margin: 0 0 var(--space-3); color: var(--color-highlight); font-size: var(--type-small); font-weight: 600; }
/* the highlighter: a thick yellow underline under one phrase per headline; it skips descenders and stays legible on navy */
.mark { text-decoration: underline; text-decoration-color: var(--color-highlight); text-decoration-thickness: 0.14em; text-underline-offset: 0.1em; text-decoration-skip-ink: auto; }
.serif { font-family: var(--font-serif); font-weight: 400; }

/* ---- pill button ---- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--size-control);
  padding: 0 1.625rem;
  border: 0;
  border-radius: var(--radius-round);
  background: var(--color-highlight);
  color: var(--color-highlight-ink);
  font-size: var(--type-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--motion-spring-time) var(--motion-spring), box-shadow var(--motion-base) var(--motion-ease), background-color var(--motion-fast) ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.pill--navy { background: var(--color-navy); color: var(--color-white); }
.pill--ghost { background: var(--color-canvas); color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-line); }
.pill--sm { min-height: var(--size-control-sm); padding: 0 var(--space-5); font-size: var(--type-small); }
.site-nav__bar > .pill--sm { min-height: var(--size-control); padding: 0 var(--space-6); font-size: 1.125rem; }
.pill--block { width: 100%; }

/* ---- field: soft filled input, yellow focus halo ---- */
.field { display: flex; flex-direction: column; gap: 0.3rem; color: var(--color-muted); font-size: 0.75rem; font-weight: 600; }
.field input, .field select {
  height: var(--size-field);
  padding: 0 0.875rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 400;
  outline: none;
  transition: border-color var(--motion-fast), background-color var(--motion-fast), box-shadow var(--motion-fast);
}
.field input:focus, .field select:focus { border-color: var(--color-navy); background: var(--color-canvas); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-highlight) 35%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.field--full { grid-column: 1 / -1; }

/* ---- lead form: the free selling strategy request ---- */
.lead { max-width: 35rem; padding: var(--space-5) 1.375rem; border-radius: var(--radius-md); background: var(--color-canvas); color: var(--color-ink); box-shadow: var(--shadow-card); }
.lead__title { display: block; font-size: 1.1875rem; font-weight: 700; }
.lead__intro { display: block; margin: 0.125rem 0 var(--space-3); color: var(--color-muted); font-size: var(--type-small); line-height: 1.4; }
.lead__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 var(--space-3); margin-bottom: var(--space-3); }
.lead__head .lead__intro { grid-column: 1 / -1; margin-bottom: 0; }
.lead__face { width: 3.5rem; height: 3.5rem; border: 2px solid var(--color-highlight); border-radius: var(--radius-round); object-fit: cover; object-position: center 20%; }
.lead__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) 0.625rem; margin-bottom: var(--space-3); }
.lead__fine { margin: 0.625rem 0 0; color: var(--color-muted); font-size: 0.75rem; text-align: center; }
.lead__done { display: flex; flex-direction: column; gap: 0.125rem; margin-top: var(--space-3); padding: 0.875rem; border-radius: var(--radius-sm); background: var(--color-surface); font-size: var(--type-small); }
.lead__done span { color: var(--color-muted); font-size: 0.8125rem; }

/* ---- 3D icons: transparent PNGs that keep contrast on any surface, no outlines.
   home-site.js tags each with data-surface = light | mid | dark from what is behind it;
   data-ico-surface on any ancestor forces a mode. ---- */
.ico3d { --s: 4.75rem; --glow: transparent; --lift: color-mix(in srgb, var(--color-navy) 18%, transparent); position: relative; display: inline-grid; flex-shrink: 0; place-items: center; width: var(--s); height: var(--s); isolation: isolate; }
.ico3d--xs { --s: 3.5rem; }
.ico3d--md { --s: 6.5rem; }
.ico3d--lg { --s: 8.25rem; }
.ico3d img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px var(--lift)); transition: transform var(--motion-spring-time) var(--motion-spring), filter var(--motion-base); }
.ico3d::before { content: ""; position: absolute; inset: -4%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); transition: transform var(--motion-spring-time) var(--motion-spring), opacity var(--motion-base); }
.ico3d[data-surface="light"] { --lift: color-mix(in srgb, var(--color-navy) 16%, transparent); }
.ico3d[data-surface="mid"] { --glow: color-mix(in srgb, var(--color-white) 55%, transparent); --lift: color-mix(in srgb, var(--color-navy) 25%, transparent); }
.ico3d[data-surface="dark"] { --glow: color-mix(in srgb, var(--color-white) 30%, transparent); --lift: color-mix(in srgb, var(--color-dark-canvas) 60%, transparent); }
.ico3d-hover:hover .ico3d img, .ico3d:hover img { transform: translateY(-10px) scale(1.06); }
.ico3d-hover:hover .ico3d::before, .ico3d:hover::before { transform: scale(1.18); }

/* ---- site layout ---- */
/* The pieces a whole page is composed from; the website designs under
   /designs/ use only these and the components above. */
.wrap { width: min(100% - 2 * var(--space-6), var(--size-content)); margin-inline: auto; }

.site-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--color-canvas) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow var(--motion-base); }
.site-nav.is-scrolled { box-shadow: 0 1px 0 var(--color-line); }
.site-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--size-nav); }
.site-nav__brand img { width: auto; height: 6.25rem; }
.site-nav__links { display: flex; gap: 2.75rem; font-size: 1.375rem; font-weight: 600; letter-spacing: 0.005em; }
.site-nav__links a { position: relative; text-decoration: none; white-space: nowrap; }
@media (max-width: 1280px) { .site-nav__links { display: none; } }
.site-nav__links a::after { content: ""; position: absolute; inset: auto 0 -6px; height: 3px; border-radius: 3px; background: var(--color-highlight); transform: scaleX(0); transition: transform var(--motion-base) var(--motion-ease); }
.site-nav__links a:hover::after { transform: scaleX(1); }

/* hero: an inset navy card, photography on the right, the lead form on the left */
.hero { padding: var(--space-2) var(--space-4) 0; }
.hero__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: min(86vh, 51.25rem); overflow: hidden; border-radius: var(--radius-lg); background: var(--color-navy); color: var(--color-white); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { position: absolute; top: 0; left: 4%; width: 128%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 80%; animation: hero-drift 18s var(--motion-ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--color-navy) 96%, transparent) 0%, color-mix(in srgb, var(--color-navy) 82%, transparent) 30%, color-mix(in srgb, var(--color-navy) 20%, transparent) 56%, transparent 72%), linear-gradient(0deg, color-mix(in srgb, var(--color-navy) 75%, transparent) 0%, transparent 26%); }
@keyframes hero-drift { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero__inner { display: grid; grid-template-columns: minmax(0, 37.5rem); gap: 1.375rem; padding: var(--space-10) var(--space-14) var(--space-6); }
.hero .headline em { color: var(--color-highlight); }
.hero__sub { max-width: 32.5rem; margin: 0.875rem 0 0; color: var(--color-mist); font-size: 1.0625rem; line-height: 1.5; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); max-width: 47.5rem; padding: 0 var(--space-14) 1.875rem; }
.stat b { display: block; font-family: var(--font-serif); font-size: clamp(2.125rem, 4vw, 3.25rem); font-weight: 400; line-height: 1; }
.stat span { font-size: var(--type-small); opacity: 0.9; }

/* section rhythm */
.section { padding-block: var(--space-30); }
.section--flush-top { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: 2.75rem; }

/* paths: three doors, the middle one navy */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.125rem; }
.path { display: flex; flex-direction: column; gap: var(--space-4); min-height: 22.5rem; padding: 1.875rem 1.875rem var(--space-8); border-radius: var(--radius-lg); background: var(--color-surface); text-decoration: none; transition: background-color var(--motion-base) var(--motion-ease), transform var(--motion-spring-time) var(--motion-spring); }
.path:hover { background: var(--color-surface-2); transform: translateY(-6px); }
.path h3 { margin: 0; font-size: var(--type-title); font-weight: 500; line-height: var(--leading-title); letter-spacing: var(--tracking-tight); }
.path p { flex: 1; margin: 0; color: var(--color-muted); }
.path__go { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.path__arrow { display: grid; place-items: center; width: var(--size-control-sm); height: var(--size-control-sm); border-radius: 50%; background: var(--color-canvas); color: var(--color-ink); transition: background-color var(--motion-fast), transform var(--motion-spring-time) var(--motion-spring); }
.path:hover .path__arrow { background: var(--color-highlight); color: var(--color-highlight-ink); transform: translateX(4px); }
.path--feature { background: var(--color-navy); color: var(--color-white); }
.path--feature p { color: var(--color-mist-2); }
.path--feature:hover { background: var(--color-navy-hover); }

/* split: photography beside copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-18); align-items: center; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--motion-ease); }
.photo:hover img { transform: scale(1.04); }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--card { aspect-ratio: 4 / 3.3; margin-bottom: 0.875rem; }
.photo--wide { aspect-ratio: 16 / 11; margin-bottom: var(--space-4); }
.chipcard { position: absolute; inset: auto var(--space-5) var(--space-5); display: flex; align-items: center; gap: 0.875rem; padding: var(--space-4) 1.125rem; border-radius: var(--radius-md); background: var(--color-canvas); box-shadow: var(--shadow-chip); }
.chipcard b { display: block; }
.chipcard span { color: var(--color-muted); font-size: var(--type-small); }

/* steps: icon, name, and one sentence per row */
.plan-steps { margin: 1.875rem 0 0; padding: 0; list-style: none; }
.plan-steps li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.125rem; align-items: center; padding: var(--space-4) 0; border-bottom: var(--size-line) solid var(--color-line); }
.plan-steps b { display: block; margin-bottom: 0.125rem; font-size: var(--type-subtitle); font-weight: 600; }
.plan-steps span { color: var(--color-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: var(--space-8); }

/* band: a rounded full-width panel inset from the page edge */
.band { margin: 0 var(--space-4); border-radius: var(--radius-xl); background: var(--color-surface); }
.band__intro { max-width: 38.75rem; margin-bottom: 2.75rem; }
.band__intro p { margin: var(--space-4) 0 0; color: var(--color-muted); font-size: var(--type-lead); }

/* compare: the plan beside list-and-hope */
.compare { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.125rem; }
.compare__col { padding: 1.625rem; border-radius: var(--radius-lg); }
.compare__col h3 { margin: 0 0 var(--space-4); font-family: var(--font-serif); font-size: var(--type-title); font-weight: 400; }
.compare__col--us { background: var(--color-canvas); box-shadow: var(--shadow-panel); }
.compare__col--them { background: var(--color-surface-2); }
.compare__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); padding: 0.875rem var(--space-4); border-radius: var(--radius-sm); font-size: 0.9375rem; }
.compare__col--us .compare__row { background: var(--color-surface); }
.compare__col--us .compare__row--hi { background: var(--color-highlight); color: var(--color-highlight-ink); font-weight: 600; }
.compare__col--them .compare__row { background: var(--color-canvas); color: var(--color-muted); }
.compare__row small { font-size: 0.8125rem; white-space: nowrap; }

/* listing cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.125rem; }
.card { display: block; text-decoration: none; }
.card__price { font-size: 1.375rem; font-weight: 600; }
.card__meta { margin-top: 0.125rem; color: var(--color-muted); font-size: 0.9375rem; }
.badge { position: absolute; top: 0.875rem; left: 0.875rem; padding: 0.4375rem var(--space-3); border-radius: var(--radius-round); background: var(--color-canvas); font-size: var(--type-label); font-weight: 600; }
.badge--highlight { background: var(--color-highlight); color: var(--color-highlight-ink); }
.save { position: absolute; top: var(--space-3); right: var(--space-3); display: grid; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 50%; background: color-mix(in srgb, var(--color-white) 90%, transparent); color: var(--color-navy); transition: transform var(--motion-spring-time) var(--motion-spring); }
.card:hover .save { transform: scale(1.12); }

/* photo band: navy-washed photography with parallax, headline, and town chips */
.photo-band { position: relative; margin: 0 var(--space-4); padding-block: var(--space-30); overflow: hidden; border-radius: var(--radius-xl); color: var(--color-white); isolation: isolate; }
.photo-band__media { position: absolute; inset: -10% 0; z-index: -1; }
.photo-band__media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--color-navy) 92%, transparent) 0%, color-mix(in srgb, var(--color-navy) 60%, transparent) 60%, color-mix(in srgb, var(--color-navy) 25%, transparent)); }
.photo-band .headline { max-width: 37.5rem; }
.photo-band p { max-width: 28.75rem; margin: 1.125rem 0 var(--space-8); color: var(--color-mist); font-size: var(--type-lead); }
.town-chips { display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 40rem; }
.town-chip { display: flex; align-items: center; height: 2.875rem; padding: 0 var(--space-5); border-radius: var(--radius-round); background: color-mix(in srgb, var(--color-white) 12%, transparent); backdrop-filter: blur(8px); font-weight: 600; text-decoration: none; transition: background-color var(--motion-fast), color var(--motion-fast), transform var(--motion-spring-time) var(--motion-spring); }
.town-chip:hover { background: var(--color-highlight); color: var(--color-highlight-ink); transform: translateY(-3px); }

/* stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.125rem; }
.story q { display: block; font-size: var(--type-lead); quotes: none; }
.story__who { margin-top: 0.875rem; color: var(--color-muted); font-size: var(--type-small); }
.story__who b { display: block; color: var(--color-ink); font-size: 0.9375rem; }

/* reviews: five gold stars, the quote set in the serif, and who said it under a hairline. No photos. */
.stories--reviews { gap: var(--space-6); }
.review { display: flex; flex-direction: column; gap: var(--space-6); margin: 0; padding: var(--space-10) var(--space-8) var(--space-8); border: var(--size-line) solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.review__stars { display: flex; gap: var(--space-1); color: var(--color-highlight); }
.review__stars svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.review__quote { flex: 1; margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.6vw, 1.4375rem); font-weight: 400; line-height: 1.5; letter-spacing: var(--tracking-body); }
.review__quote p { margin: 0; }
.review__who { padding-top: var(--space-5); border-top: var(--size-line) solid var(--color-line); color: var(--color-muted); font-size: var(--type-small); letter-spacing: 0.06em; text-transform: uppercase; }
.review__who b { display: block; margin-bottom: var(--space-1); color: var(--color-ink); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* value box: navy panel with icon tiles */
.value { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-14); align-items: center; padding: 4rem; border-radius: var(--radius-xl); background: var(--color-navy); color: var(--color-white); }
.value p { margin: 1.125rem 0 1.75rem; color: var(--color-mist-2); font-size: var(--type-lead); }
.value__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.tile { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; padding: 1.375rem var(--space-4); border-radius: var(--radius-md); background: color-mix(in srgb, var(--color-white) 6%, transparent); font-weight: 600; text-align: center; transition: background-color var(--motion-base); }
.tile:hover { background: color-mix(in srgb, var(--color-white) 12%, transparent); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.faq details { padding: 1.375rem 0; border-bottom: var(--size-line) solid var(--color-line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 1.1875rem; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { display: grid; flex-shrink: 0; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--color-surface); font-style: normal; transition: transform var(--motion-spring-time) var(--motion-spring), background-color var(--motion-fast); }
.faq details[open] summary i { background: var(--color-highlight); color: var(--color-highlight-ink); transform: rotate(45deg); }
.faq details p { max-width: 38.75rem; margin: 0; padding-top: var(--space-3); color: var(--color-muted); line-height: 1.6; }

/* closing call to action on photography */
.cta { position: relative; display: flex; align-items: flex-end; min-height: 32.5rem; overflow: hidden; border-radius: var(--radius-xl); color: var(--color-white); isolation: isolate; }
.cta > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--color-navy) 85%, transparent), color-mix(in srgb, var(--color-navy) 10%, transparent) 70%); }
.cta__inner { max-width: 43.75rem; padding: var(--space-14); }
.cta p { margin: var(--space-4) 0 0; color: var(--color-mist); font-size: var(--type-lead); }

.site-footer { padding: 4.5rem 0 var(--space-10); color: var(--color-muted); font-size: 0.9375rem; }
.site-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-10); }
.site-footer__cols img { width: auto; height: 5.25rem; }
.site-footer__cols p { max-width: 18.75rem; margin: var(--space-4) 0 0; line-height: 1.6; }
.site-footer h4 { margin: 0 0 var(--space-3); color: var(--color-ink); font-size: 0.9375rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; line-height: 2.1; }
.site-footer__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-6); border-top: var(--size-line) solid var(--color-line); font-size: 0.8125rem; }

.theme-toggle { position: fixed; left: var(--space-4); bottom: var(--space-4); z-index: 60; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: var(--size-line) solid color-mix(in srgb, var(--color-mist-2) 50%, transparent); border-radius: var(--radius-round); background: color-mix(in srgb, var(--color-dark-canvas) 82%, transparent); color: var(--color-white); cursor: pointer; backdrop-filter: blur(8px); }
.theme-toggle svg { width: 1.125rem; height: 1.125rem; }
/* logo swap: the navy lockup on light grounds, the reverse lockup in dark mode */
.logo-dark { display: none; }
/* ---- end site layout ---- */

/* ---- system portal: the design system's own front door ----
   The landing page and the chat-based Use page under /designs/ds-portal/.
   ds-portal.js runs the menu, the format picker, the browse modal, and the
   simulated outputs. */

/* app bar: the same views as the documentation, as a product bar */
.portal-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: var(--space-5); min-height: var(--size-header); padding: 0 var(--space-6); border-bottom: var(--size-line) solid var(--color-line); background: color-mix(in srgb, var(--color-canvas) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); }
.portal-bar__brand { display: flex; flex-shrink: 0; align-items: center; text-decoration: none; }
.portal-bar__brand img { width: auto; height: 2.5rem; }
.portal-bar__views { display: flex; flex: 1; gap: var(--space-1); }
.portal-bar__view { display: flex; flex-direction: column; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); line-height: 1.25; text-decoration: none; transition: background-color var(--motion-fast) ease; }
.portal-bar__view b { font-size: var(--type-small); }
.portal-bar__view small { color: var(--color-muted); font-size: var(--type-label); }
.portal-bar__view:hover, .portal-bar__view[aria-current] { background: var(--color-surface); }
.portal-bar__view[aria-current] b { color: var(--color-navy); box-shadow: inset 0 -3px 0 var(--color-highlight); }
.portal-bar__end { display: flex; flex-shrink: 0; align-items: center; gap: var(--space-2); margin-left: auto; }
.portal-bar__menu { display: none; place-items: center; width: var(--size-control-sm); height: var(--size-control-sm); padding: 0; border: var(--size-line) solid var(--color-line); border-radius: 50%; background: var(--color-canvas); color: var(--color-ink); cursor: pointer; }
.portal-bar__menu svg { width: 1.125rem; height: 1.125rem; }

/* hero: an inset navy card, photography behind, finished assets floating right */
.portal-hero { padding: var(--space-4) var(--space-4) 0; }
.portal-hero__card { position: relative; display: flex; align-items: center; min-height: min(80vh, 46rem); overflow: hidden; border-radius: var(--radius-lg); background: var(--color-navy); color: var(--color-white); isolation: isolate; }
.portal-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.portal-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; animation: hero-drift 18s var(--motion-ease) both; }
.portal-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--color-navy) 97%, transparent) 0%, color-mix(in srgb, var(--color-navy) 86%, transparent) 38%, color-mix(in srgb, var(--color-navy) 45%, transparent) 70%, color-mix(in srgb, var(--color-navy) 30%, transparent)); }
.portal-hero__inner { display: grid; gap: var(--space-6); max-width: 42rem; padding: var(--space-14); }
.portal-hero .headline em { color: var(--color-highlight); }
.portal-hero__sub { max-width: 33rem; margin: 0; color: var(--color-mist); font-size: var(--type-lead); line-height: 1.5; }
.portal-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.portal-hero__stats { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-10); margin-top: var(--space-4); }
.pill--glass { background: color-mix(in srgb, var(--color-white) 12%, transparent); color: var(--color-white); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-white) 34%, transparent); backdrop-filter: blur(8px); }
.portal-hero__stack { position: absolute; top: 50%; right: clamp(var(--space-6), 6vw, var(--space-18)); width: 25rem; height: 31rem; transform: translateY(-50%); }
.portal-float { position: absolute; animation: portal-float 7s var(--motion-ease) infinite alternate; }
.portal-float--a { top: 0; left: 0; width: 11.5rem; transform: rotate(-5deg); }
.portal-float--b { top: 2.5rem; right: 0; width: 13.5rem; transform: rotate(4deg); animation-delay: -2.4s; }
.portal-float--c { right: 2rem; bottom: 0; width: 19rem; transform: rotate(-2deg); animation-delay: -4.6s; }
.portal-float .render { width: 100%; }
@keyframes portal-float { from { translate: 0 0; } to { translate: 0 -14px; } }

/* rows: one per kind of asset, a rail of cards that scrolls sideways */
.portal-row { padding-top: var(--space-20); }
.portal-row__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.portal-row__head p { max-width: 36rem; margin: var(--space-2) 0 0; color: var(--color-muted); }
.portal-row__all { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; text-decoration: none; }
.portal-row__all span { display: grid; place-items: center; width: var(--size-control-sm); height: var(--size-control-sm); border-radius: 50%; background: var(--color-surface); transition: background-color var(--motion-fast), transform var(--motion-spring-time) var(--motion-spring); }
.portal-row__all:hover span { background: var(--color-highlight); color: var(--color-highlight-ink); transform: translateX(4px); }
.portal-rail { display: grid; grid-auto-columns: calc((100% - 5 * 1.125rem) / 6); grid-auto-flow: column; gap: 1.125rem; margin: 0; padding: 0 0 var(--space-4); overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.portal-rail > li { display: flex; scroll-snap-align: start; }

.asset-card { display: flex; flex: 1; flex-direction: column; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface); text-decoration: none; transition: background-color var(--motion-base) var(--motion-ease), transform var(--motion-spring-time) var(--motion-spring); }
.asset-card:hover { background: var(--color-surface-2); transform: translateY(-6px); }
.asset-card__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--color-canvas) radial-gradient(color-mix(in srgb, var(--color-line) 85%, transparent) 1px, transparent 1.5px) 0 0 / 12px 12px; }
.asset-card__thumb > img { width: 62%; height: auto; }
.asset-card__thumb--photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--motion-ease); }
.asset-card:hover .asset-card__thumb--photo > img { transform: scale(1.05); }
.asset-card__thumb--navy { background: var(--color-navy); }
.asset-card__body { display: flex; flex-direction: column; gap: 0.125rem; padding: 0 var(--space-2) var(--space-2); }
.asset-card__body b { font-size: var(--type-subtitle); font-weight: 600; }
.asset-card__body small { color: var(--color-muted); font-size: var(--type-small); font-variant-numeric: tabular-nums; }
.asset-card__aa { color: var(--color-navy); font-family: var(--font-serif); font-size: 4rem; line-height: 1; }
.asset-card__aa i { color: var(--color-muted); font-family: var(--font-sans); font-size: 2.25rem; font-style: normal; font-weight: 500; }
.asset-card__quote { max-width: 80%; margin: 0; color: var(--color-navy); font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.15; text-align: center; }
.swatches { display: flex; gap: var(--space-2); }
.swatches span { width: 2.75rem; height: 4.5rem; border-radius: var(--radius-round); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 10%, transparent); }
.swatch--navy { background: var(--color-navy); }
.swatch--yellow { background: var(--color-highlight); }
.swatch--slate { background: var(--color-slate); }
.swatch--mist { background: var(--color-mist); }
.swatch--white { background: var(--color-white); }

/* an asset's shape: its true proportions inside a 4:3 tile, a mini layout inside */
.asset-shape { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--color-navy); box-shadow: var(--shadow-card); }
.asset-shape::before { content: ""; position: absolute; top: 14%; left: 12%; width: 46%; height: 9%; min-height: 3px; border-radius: 2px; background: var(--color-highlight); }
.asset-shape::after { content: ""; position: absolute; top: 30%; left: 12%; width: 64%; height: 5%; min-height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--color-white) 55%, transparent); }
.asset-shape--paper { background: var(--color-white); }
.asset-shape--paper::before { background: var(--color-navy); }
.asset-shape--paper::after { background: color-mix(in srgb, var(--color-navy) 30%, transparent); }
.asset-shape--1x1 { width: 60%; height: 80%; }
.asset-shape--4x5 { width: 48%; height: 80%; }
.asset-shape--9x16 { width: 33.75%; height: 80%; }
.asset-shape--191x1 { width: 80%; height: 56%; }
.asset-shape--2x1 { width: 80%; height: 53.3%; }
.asset-shape--16x9 { width: 80%; height: 60%; }
.asset-shape--12x5 { width: 80%; height: 44.4%; }
.asset-shape--3x1 { width: 80%; height: 35.6%; }
.asset-shape--8x1 { width: 80%; height: 13.2%; }
.asset-shape--6x5 { width: 72%; height: 80%; }
.asset-shape--4x3 { width: 80%; height: 80%; }
.asset-shape--1x2 { width: 30%; height: 80%; }
.asset-shape--tower { width: 16%; height: 80%; }
.asset-shape--card { width: 80%; height: 61%; }
.asset-shape--letter { width: 46.4%; height: 80%; }
.asset-shape--brochure { width: 77.6%; height: 80%; }
.asset-shape--3x4 { width: 45%; height: 80%; }
.asset-shape--pullup { width: 24.75%; height: 80%; }

/* how it works */
.portal-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.125rem; margin: 0; padding: 0; list-style: none; }
.portal-step { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8) 1.875rem; border-radius: var(--radius-lg); background: var(--color-canvas); }
.portal-step b { font-size: var(--type-title); font-weight: 500; letter-spacing: var(--tracking-tight); line-height: var(--leading-title); }
.portal-step span { color: var(--color-muted); }
.portal-step__num { color: var(--color-muted); font-size: var(--type-label); font-weight: 700; letter-spacing: 0.12em; }

/* render: a finished asset, as the Use page returns it. Type scales with its width. */
.render { --t: 9cqw; position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: var(--color-navy); color: var(--color-white); box-shadow: var(--shadow-card); container-type: inline-size; isolation: isolate; }
.render__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.render::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--color-navy) 94%, transparent) 8%, color-mix(in srgb, var(--color-navy) 55%, transparent) 55%, color-mix(in srgb, var(--color-navy) 15%, transparent)); }
.render__inner { position: absolute; inset: 7%; display: flex; flex-direction: column; justify-content: space-between; gap: 4%; }
.render__kicker { align-self: flex-start; padding: 0.35em 0.8em; border-radius: var(--radius-round); background: var(--color-highlight); color: var(--color-highlight-ink); font-size: calc(var(--t) * 0.42); font-weight: 700; line-height: 1.2; }
.render__headline { margin: auto 0 0; font-family: var(--font-serif); font-size: var(--t); font-weight: 400; line-height: 1.04; overflow-wrap: anywhere; }
.render__headline em { color: var(--color-highlight); }
.render__foot { display: flex; align-items: center; justify-content: space-between; gap: 4%; font-size: calc(var(--t) * 0.36); font-weight: 600; }
.render__foot img { width: auto; height: calc(var(--t) * 1.35); }
.render--1x1 { aspect-ratio: 1 / 1; }
.render--4x5 { width: 80%; aspect-ratio: 4 / 5; }
.render--9x16 { --t: 11cqw; width: 56.25%; aspect-ratio: 9 / 16; }
.render--1x2 { --t: 11cqw; width: 50%; aspect-ratio: 1 / 2; }
.render--tower { --t: 13cqw; width: 30%; aspect-ratio: 4 / 15; }
.render--pullup { --t: 11cqw; width: 41%; aspect-ratio: 33 / 80; }
.render--letter, .render--3x4 { width: 76%; aspect-ratio: 17 / 22; }
.render--3x4 { aspect-ratio: 3 / 4; }
.render--6x5 { aspect-ratio: 6 / 5; }
.render--4x3 { aspect-ratio: 4 / 3; }
.render--brochure { --t: 7cqw; aspect-ratio: 22 / 17; }
.render--card { --t: 7cqw; aspect-ratio: 7 / 4; }
.render--191x1, .render--2x1, .render--16x9 { --t: 6cqw; aspect-ratio: 1.91 / 1; }
.render--2x1 { aspect-ratio: 2 / 1; }
.render--16x9 { aspect-ratio: 16 / 9; }
.render--12x5 { --t: 5.2cqw; aspect-ratio: 12 / 5; }
.render--3x1 { --t: 4.6cqw; aspect-ratio: 3 / 1; }
.render--8x1 { --t: 2.6cqw; aspect-ratio: 8 / 1; }
.render--3x1 .render__inner, .render--8x1 .render__inner, .render--12x5 .render__inner { inset: 9% 4%; flex-direction: row; align-items: center; }
.render--3x1 .render__headline, .render--8x1 .render__headline, .render--12x5 .render__headline { margin: 0; flex: 1; }
.render--8x1 .render__kicker, .render--8x1 .render__foot span { display: none; }

/* ---- Use: the chat studio. Thread and composer on the left, outputs on the right. ---- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; height: calc(100dvh - var(--size-header)); min-height: 32rem; }
.studio__chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.studio__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-bottom: var(--size-line) solid var(--color-line); }
.studio__head h1 { margin: 0; font-family: var(--font-serif); font-size: var(--type-title); font-weight: 400; line-height: 1.1; }
.studio__head p { margin: 0.125rem 0 0; color: var(--color-muted); font-size: var(--type-small); }
.studio__toggle { display: none; }
.studio__count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.375rem; border-radius: var(--radius-round); background: var(--color-highlight); color: var(--color-highlight-ink); font-size: var(--type-label); font-weight: 700; }
.studio__thread { display: flex; flex: 1; flex-direction: column; gap: var(--space-6); min-height: 0; padding: var(--space-8) var(--space-6); overflow-y: auto; scroll-behavior: smooth; }
.studio__dock { padding: 0 var(--space-6) var(--space-4); }
.studio__dock > * { max-width: 48rem; margin-inline: auto; }
.studio__fine { margin-top: var(--space-2); color: var(--color-muted); font-size: var(--type-label); text-align: center; }
.studio__scrim { display: none; }

/* messages */
.msg { display: flex; gap: var(--space-3); width: 100%; max-width: 48rem; margin-inline: auto; }
.msg__avatar { display: grid; flex-shrink: 0; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-navy); }
.msg__avatar img { width: auto; height: 1.375rem; }
.msg__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: var(--space-3); min-width: 0; }
.msg__text { margin: 0; line-height: 1.55; }
.msg__text b { font-weight: 600; }
.msg--user { justify-content: flex-end; }
.msg--user .msg__body { flex: 0 1 auto; align-items: flex-end; max-width: 85%; }
.msg--user .msg__text { padding: var(--space-3) 1.125rem; border-radius: var(--radius-md) var(--radius-md) 0.375rem var(--radius-md); background: var(--color-navy); color: var(--color-white); }
.msg__suggest { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.msg__typing { display: inline-flex; gap: 0.3rem; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-surface); }
.msg__typing i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--color-muted); animation: msg-dot 1s ease-in-out infinite; }
.msg__typing i:nth-child(2) { animation-delay: 0.15s; }
.msg__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes msg-dot { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.format-tag { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; padding: 0.25rem 0.625rem; border-radius: var(--radius-round); background: var(--color-surface); color: var(--color-muted); font-size: var(--type-label); font-weight: 600; }
.msg--user .format-tag { background: var(--color-surface); }

/* an output in the thread */
.output-card { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-5); width: 100%; padding: var(--space-4); border: var(--size-line) solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-canvas); box-shadow: var(--shadow-card); }
.output-card.is-current { border-color: var(--color-navy); }
.output-card__stage { display: grid; place-items: center; align-self: start; padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-surface) radial-gradient(color-mix(in srgb, var(--color-line) 85%, transparent) 1px, transparent 1.5px) 0 0 / 12px 12px; }
.output-card__meta { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.output-card__meta > b { font-size: var(--type-subtitle); font-weight: 600; }
.output-card__meta > small { color: var(--color-muted); font-size: var(--type-small); }
.output-card__caption { margin: var(--space-2) 0 0; padding: var(--space-3) var(--space-4); border-left: 3px solid var(--color-highlight); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-muted); font-size: var(--type-small); line-height: 1.5; }
.output-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); }

/* quick menu: the common formats one tap away, then "All formats" */
.quick { display: flex; gap: var(--space-2); padding: var(--space-3) 0; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick__item { display: inline-flex; flex-shrink: 0; align-items: center; gap: var(--space-2); height: 2.375rem; padding: 0 var(--space-4) 0 var(--space-3); border: var(--size-line) solid var(--color-line); border-radius: var(--radius-round); background: var(--color-canvas); color: var(--color-ink); font-size: var(--type-small); font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color var(--motion-fast), border-color var(--motion-fast), transform var(--motion-spring-time) var(--motion-spring); }
.quick__item:hover { border-color: var(--color-navy); transform: translateY(-2px); }
.quick__item[aria-pressed="true"] { border-color: var(--color-highlight); background: var(--color-highlight); color: var(--color-highlight-ink); }
.quick__item--all { background: var(--color-surface); }
.quick__item svg { width: 1rem; height: 1rem; }
.quick__shape { display: grid; flex-shrink: 0; place-items: center; width: 1.125rem; height: 1.125rem; }
.quick__shape .asset-shape { box-shadow: none; }
.quick__shape .asset-shape::before, .quick__shape .asset-shape::after { display: none; }
.quick__shape .asset-shape--paper { box-shadow: inset 0 0 0 1.5px var(--color-navy); }

/* composer */
.composer { display: flex; align-items: flex-end; gap: var(--space-2); padding: var(--space-2); border: 1.5px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-canvas); box-shadow: var(--shadow-card); transition: border-color var(--motion-fast), box-shadow var(--motion-fast); }
.composer:focus-within { border-color: var(--color-navy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-highlight) 35%, transparent), var(--shadow-card); }
.composer__format { display: inline-flex; flex-shrink: 0; align-items: center; gap: var(--space-2); height: 2.75rem; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-ink); font-size: var(--type-small); font-weight: 600; white-space: nowrap; cursor: pointer; }
.composer__format:hover { background: var(--color-surface-2); }
.composer__input { flex: 1; min-width: 0; min-height: 2.75rem; max-height: 10rem; padding: 0.625rem var(--space-2); border: 0; background: none; color: var(--color-ink); font: inherit; line-height: 1.5; resize: none; }
.composer__input:focus { outline: none; }
.composer__input::placeholder { color: var(--color-muted); }
.composer__send { display: grid; flex-shrink: 0; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--color-highlight); color: var(--color-highlight-ink); cursor: pointer; transition: transform var(--motion-spring-time) var(--motion-spring); }
.composer__send:hover { transform: translateY(-2px); }
.composer__send svg { width: 1.125rem; height: 1.125rem; }

/* outputs sidebar: every output of the conversation, one previewed */
.outputs { display: flex; flex-direction: column; min-height: 0; border-left: var(--size-line) solid var(--color-line); background: var(--color-surface); }
.outputs__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: var(--size-line) solid var(--color-line); }
.outputs__head h2 { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: var(--type-subtitle); font-weight: 600; }
.outputs__close { display: none; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 50%; background: var(--color-canvas); color: var(--color-ink); cursor: pointer; }
.outputs__close svg { width: 1rem; height: 1rem; }
.outputs__preview { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border-bottom: var(--size-line) solid var(--color-line); }
.outputs__stage { display: grid; place-items: center; min-height: 13rem; padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-canvas) radial-gradient(color-mix(in srgb, var(--color-line) 85%, transparent) 1px, transparent 1.5px) 0 0 / 12px 12px; }
.outputs__stage .render { max-height: 17rem; }
.outputs__name { display: flex; flex-direction: column; }
.outputs__name b { font-weight: 600; }
.outputs__name small { color: var(--color-muted); font-size: var(--type-small); }
.outputs__actions { display: flex; gap: var(--space-2); }
.outputs__actions .pill { flex: 1; }
.outputs__list { flex: 1; margin: 0; padding: var(--space-3); overflow-y: auto; list-style: none; }
.outputs__item { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: var(--space-3); align-items: center; width: 100%; padding: var(--space-2); border: 0; border-radius: var(--radius-md); background: none; color: var(--color-ink); text-align: left; cursor: pointer; transition: background-color var(--motion-fast); }
.outputs__item:hover { background: var(--color-surface-2); }
.outputs__item[aria-current="true"] { background: var(--color-canvas); box-shadow: var(--shadow-card); }
.outputs__item b { display: block; overflow: hidden; font-size: var(--type-small); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.outputs__item small { color: var(--color-muted); font-size: var(--type-label); }
.outputs__thumb { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 0.25rem; overflow: hidden; border-radius: var(--radius-sm); background: var(--color-canvas); }
.outputs__thumb .render { box-shadow: none; border-radius: 2px; }
.outputs__empty { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-10) var(--space-6); color: var(--color-muted); font-size: var(--type-small); text-align: center; }
.outputs__empty b { color: var(--color-ink); font-size: var(--type-body); }

/* browse: every format by type, in a modal */
.browse { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--space-6); }
.browse__scrim { position: absolute; inset: 0; border: 0; background: color-mix(in srgb, var(--color-dark-canvas) 55%, transparent); backdrop-filter: blur(4px); cursor: pointer; }
.browse__panel { position: relative; display: flex; flex-direction: column; width: min(100%, 56rem); max-height: min(86dvh, 44rem); overflow: hidden; border-radius: var(--radius-lg); background: var(--color-canvas); box-shadow: var(--shadow-lift), 0 30px 80px color-mix(in srgb, var(--color-dark-canvas) 35%, transparent); animation: browse-in var(--motion-base) var(--motion-ease) both; }
@keyframes browse-in { from { opacity: 0; transform: translateY(1rem) scale(0.98); } }
.browse__head { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
.browse__title { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.browse__title h2 { margin: 0; font-family: var(--font-serif); font-size: var(--type-title); font-weight: 400; }
.browse__title p { margin: 0.125rem 0 0; color: var(--color-muted); font-size: var(--type-small); }
.browse__search { height: var(--size-field); padding: 0 var(--space-4); border: 1.5px solid var(--color-line); border-radius: var(--radius-round); background: var(--color-surface); color: var(--color-ink); font-size: 0.9375rem; }
.browse__search:focus { border-color: var(--color-navy); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-highlight) 35%, transparent); }
.browse__tabs { display: flex; gap: var(--space-1); overflow-x: auto; border-bottom: var(--size-line) solid var(--color-line); scrollbar-width: none; }
.browse__tab { flex-shrink: 0; padding: var(--space-3) var(--space-4); border: 0; background: none; color: var(--color-muted); font-size: var(--type-small); font-weight: 600; cursor: pointer; box-shadow: inset 0 -3px 0 transparent; }
.browse__tab:hover { color: var(--color-ink); }
.browse__tab[aria-selected="true"] { color: var(--color-ink); box-shadow: inset 0 -3px 0 var(--color-highlight); }
.browse__tab small { margin-left: 0.25rem; color: var(--color-muted); font-weight: 400; }
.browse__body { flex: 1; padding: var(--space-5) var(--space-6) var(--space-6); overflow-y: auto; }
.browse__group + .browse__group { margin-top: var(--space-6); }
.browse__group h3 { margin: 0 0 var(--space-3); color: var(--color-muted); font-size: var(--type-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.browse__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: var(--space-3); }
.browse__item { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2) var(--space-2) var(--space-3); border: var(--size-line) solid var(--color-line); border-radius: var(--radius-md); background: var(--color-canvas); color: var(--color-ink); text-align: left; cursor: pointer; transition: border-color var(--motion-fast), transform var(--motion-spring-time) var(--motion-spring); }
.browse__item:hover { border-color: var(--color-navy); transform: translateY(-3px); }
.browse__item[aria-pressed="true"] { border-color: var(--color-highlight); box-shadow: inset 0 0 0 2px var(--color-highlight); }
.browse__item .asset-card__thumb { border-radius: var(--radius-sm); }
.browse__item b { padding: 0 var(--space-1); font-size: var(--type-small); font-weight: 600; line-height: 1.25; }
.browse__item small { padding: 0 var(--space-1); color: var(--color-muted); font-size: var(--type-label); font-variant-numeric: tabular-nums; }
.browse__none { color: var(--color-muted); font-size: var(--type-small); }
.browse__x { display: grid; flex-shrink: 0; background: var(--color-surface); }

:root[data-theme="dark"] .asset-shape--paper { background: var(--color-mist); }
:root[data-theme="dark"] .asset-shape:not(.asset-shape--paper) { background: var(--color-navy-hover); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-white) 22%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .asset-shape--paper { background: var(--color-mist); }
  :root:not([data-theme="light"]) .asset-shape:not(.asset-shape--paper) { background: var(--color-navy-hover); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-white) 22%, transparent); }
  :root:not([data-theme="light"]) .portal-bar__view[aria-current] b { color: var(--color-ink); }
}
:root[data-theme="dark"] .portal-bar__view[aria-current] b { color: var(--color-ink); }

@media (max-width: 1280px) {
  .portal-rail { grid-auto-columns: calc((100% - 3 * 1.125rem) / 4); }
}
@media (max-width: 1100px) {
  .portal-hero__stack { display: none; }
  .portal-rail { grid-auto-columns: calc((100% - 2 * 1.125rem) / 3); }
}
@media (max-width: 1000px) {
  .portal-bar { gap: var(--space-3); padding: 0 var(--space-4); }
  .portal-bar__menu { display: grid; }
  .portal-bar__views { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; padding: var(--space-3) var(--space-4) var(--space-5); border-bottom: var(--size-line) solid var(--color-line); background: var(--color-canvas); box-shadow: var(--shadow-panel); }
  .portal-bar.is-open .portal-bar__views { display: flex; }
  .portal-bar__view { flex-direction: row; align-items: baseline; justify-content: space-between; padding: var(--space-3); }
  .portal-steps { grid-template-columns: 1fr; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio__toggle { display: inline-flex; }
  .outputs { position: fixed; right: 0; bottom: 0; left: 0; z-index: 70; height: min(82dvh, 44rem); border: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lift), 0 -20px 60px color-mix(in srgb, var(--color-dark-canvas) 25%, transparent); transform: translateY(102%); transition: transform var(--motion-base) var(--motion-ease); }
  .studio.is-outputs-open .outputs { transform: none; }
  .studio.is-outputs-open .studio__scrim { display: block; position: fixed; inset: 0; z-index: 60; border: 0; background: color-mix(in srgb, var(--color-dark-canvas) 45%, transparent); }
  .outputs__close { display: grid; }
}
@media (max-width: 700px) {
  .portal-bar__brand img { height: 2.125rem; }
  .portal-bar__end .pill { padding: 0 var(--space-4); }
  .portal-hero { padding: var(--space-2) var(--space-2) 0; }
  .portal-hero__card { min-height: 0; }
  .portal-hero__inner { padding: var(--space-12) 1.375rem var(--space-8); }
  .portal-hero .headline--hero { font-size: 2.5rem; }
  .portal-hero__actions .pill { flex: 1 1 100%; }
  .portal-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .portal-hero__stats .stat span { font-size: var(--type-label); }
  .portal-row { padding-top: var(--space-14); }
  .portal-rail { grid-auto-columns: 72%; }
  .studio__head, .studio__thread { padding-inline: var(--space-4); }
  .studio__thread { padding-block: var(--space-6); }
  .studio__head p { display: none; }
  .studio__head h1 { font-size: 1.375rem; }
  .studio__fine { display: none; }
  .studio__dock { padding: 0 var(--space-3) var(--space-3); }
  .msg__avatar { width: 1.875rem; height: 1.875rem; }
  .msg__avatar img { height: 1.125rem; }
  .output-card { grid-template-columns: 1fr; gap: var(--space-4); }
  .output-card__actions .pill { flex: 1; }
  .composer__format span { display: none; }
  .browse { padding: 0; place-items: end stretch; }
  .browse__panel { width: 100%; max-height: 90dvh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .browse__head, .browse__body { padding-inline: var(--space-4); }
  .browse__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- motion: content cascades up; home-site.js adds .is-in ---- */
[data-reveal] { opacity: 0; transform: translateY(1.75rem); filter: blur(6px); transition: opacity var(--motion-reveal) var(--motion-ease), transform var(--motion-reveal) var(--motion-ease), filter var(--motion-reveal) var(--motion-ease); transition-delay: calc(var(--i, 0) * var(--motion-stagger)); }
[data-reveal="scale"] { transform: scale(0.94) translateY(1.25rem); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* siblings cascade: each next item waits one stagger step */
[data-reveal]:nth-child(2) { --i: 1; }
[data-reveal]:nth-child(3) { --i: 2; }
[data-reveal]:nth-child(4) { --i: 3; }
[data-reveal]:nth-child(5) { --i: 4; }
[data-reveal]:nth-child(6) { --i: 5; }
[data-reveal]:nth-child(7) { --i: 6; }
[data-reveal]:nth-child(8) { --i: 7; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.lines .line > span { display: block; transform: translateY(105%); transition: transform var(--motion-lines) var(--motion-ease); transition-delay: 150ms; }
.lines .line:nth-child(2) > span { transition-delay: 270ms; }
.lines.is-in .line > span { transform: none; }

/* ---- dark mode: follows the system setting; data-theme overrides it ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --color-canvas: var(--color-dark-canvas);
    --color-surface: var(--color-dark-surface);
    --color-surface-2: var(--color-dark-surface-2);
    --color-ink: var(--color-dark-ink);
    --color-muted: var(--color-dark-muted);
    --color-line: var(--color-dark-line);
    --color-accent: var(--color-highlight);
    --color-accent-soft: var(--color-dark-surface);
    --color-accent-ink: var(--color-navy);
  }
  :root:not([data-theme="light"]) .pill--navy { background: var(--color-highlight); color: var(--color-highlight-ink); }
  :root:not([data-theme="light"]) .lead, :root:not([data-theme="light"]) .chipcard, :root:not([data-theme="light"]) .compare__col--us { background: var(--color-dark-panel); }
  :root:not([data-theme="light"]) .path--feature { background: var(--color-navy-hover); }
  :root:not([data-theme="light"]) .value { box-shadow: inset 0 0 0 1px var(--color-dark-line); }
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-canvas: var(--color-dark-canvas);
  --color-surface: var(--color-dark-surface);
  --color-surface-2: var(--color-dark-surface-2);
  --color-ink: var(--color-dark-ink);
  --color-muted: var(--color-dark-muted);
  --color-line: var(--color-dark-line);
  --color-accent: var(--color-highlight);
  --color-accent-soft: var(--color-dark-surface);
  --color-accent-ink: var(--color-navy);
}
:root[data-theme="dark"] .pill--navy { background: var(--color-highlight); color: var(--color-highlight-ink); }
:root[data-theme="dark"] .lead, :root[data-theme="dark"] .chipcard, :root[data-theme="dark"] .compare__col--us { background: var(--color-dark-panel); }
:root[data-theme="dark"] .path--feature { background: var(--color-navy-hover); }
:root[data-theme="dark"] .value { box-shadow: inset 0 0 0 1px var(--color-dark-line); }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

@media (max-width: 1000px) {
  .site-nav__links { display: none; }
  .paths, .stories, .split, .value, .faq, .compare { grid-template-columns: 1fr; }
  .split { gap: var(--space-10); }
  .cards { grid-template-columns: 1fr 1fr; }
  .value, .cta__inner { padding: 2.25rem 1.375rem; }
  .section, .photo-band { padding-block: var(--space-20); }
  .hero__card { min-height: 0; }
  .hero__media { position: relative; inset: auto; z-index: 0; height: 11.875rem; }
  .hero__media img { left: 0; width: 100%; object-position: 52% 78%; }
  .hero__media::after { background: linear-gradient(0deg, var(--color-navy) 0%, transparent 45%); }
  .hero__sub { display: none; }
  .hero .headline--hero { font-size: 2.375rem; }
  .hero__inner { grid-template-columns: 1fr; padding: var(--space-2) 1.125rem 1.125rem; }
  .hero__stats { gap: 0.375rem; padding: 0 0.625rem 1.625rem; }
  .lead__fields { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .value__tiles { gap: var(--space-2); }
  .value__tiles .ico3d { --s: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation: none !important; }
  [data-reveal], .lines .line > span { opacity: 1; transform: none; filter: none; }
}

/* ---- article: a question-and-answer post ---- */
/* One inset navy card whatever the theme, like the home hero: the darkest
   navy behind the title and answer, a deep panel behind the reading
   column, raised cards with the yellow rule across the top, and a yellow band
   to close. The sidebar rises into the head. */
.article {
  --color-canvas: var(--color-dark-canvas);
  --color-surface: var(--color-dark-surface);
  --color-surface-2: var(--color-dark-surface-2);
  --color-ink: var(--color-dark-ink);
  --color-muted: var(--color-dark-muted);
  --color-line: var(--color-dark-line);
  --color-accent: var(--color-highlight);
  --color-accent-ink: var(--color-navy);
  margin: var(--space-2) var(--space-4) 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-dark-panel);
  color: var(--color-ink);
}

.article-head { position: relative; overflow: hidden; padding-block: var(--space-14); border-bottom: var(--size-line) solid var(--color-line); background: var(--color-canvas); }
.article-head__art { position: absolute; inset: 0 0 0 auto; width: 52%; opacity: 0.28; mask-image: linear-gradient(90deg, transparent, black 70%); }
.article-head__art img { width: 100%; height: 100%; object-fit: cover; }
.article-head__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.article-head__inner > * { max-width: min(100%, calc(100% - var(--size-aside) - var(--space-14))); }
.article-head__title { margin: 0; font-family: var(--font-serif); font-size: clamp(1.875rem, 3.2vw, 2.75rem); font-weight: 400; line-height: var(--leading-title); letter-spacing: var(--tracking-display); }
.article-head__meta { margin: 0; color: var(--color-muted); font-size: var(--type-small); }

.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); color: var(--color-muted); font-size: var(--type-small); font-weight: 500; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--color-highlight); }
.crumbs a::after { content: "›"; margin-left: var(--space-2); color: var(--color-muted); }
.crumbs b { color: var(--color-ink); font-weight: 600; }

.tag { display: inline-flex; align-items: center; min-height: 2rem; padding: 0 var(--space-4); border-radius: var(--radius-round); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-highlight) 55%, transparent); color: var(--color-highlight); font-size: var(--type-label); font-weight: 600; text-decoration: none; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease; }
.tag:hover { background: var(--color-highlight); color: var(--color-highlight-ink); }

.article-card { padding: var(--space-8); border: var(--size-line) solid var(--color-line); border-top: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-ink); }
.article-card .kicker { display: block; }
.article-card__title { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-size: var(--type-title); font-weight: 400; line-height: var(--leading-title); }
.article-card p { margin: 0; }
.article-card--row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-6); border-top: var(--size-line) solid var(--color-line); }
.article-card--row b { display: block; font-weight: 700; }
.article-card--row p { color: var(--color-muted); font-size: var(--type-small); }
.article-card--row .pill { flex-shrink: 0; }
.article-card--stack { flex-direction: column; align-items: stretch; gap: var(--space-4); }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--size-aside); gap: var(--space-14); align-items: start; padding-block: var(--space-12) var(--space-20); }
.article-main { display: flex; flex-direction: column; gap: var(--space-12); min-width: 0; }
.article-side { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-6); margin-top: calc(-2 * var(--space-30) - var(--space-18)); }
.article-side .lead { max-width: none; padding: var(--space-8) var(--space-6); border: var(--size-line) solid var(--color-line); border-top: var(--size-rule) solid var(--color-highlight); background: var(--color-surface); box-shadow: var(--shadow-card); }
.article-side .lead__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.article-side .field input, .article-side .field textarea { width: 100%; min-width: 0; background: var(--color-canvas); }
.field textarea { min-height: 7rem; padding: 0.75rem 0.875rem; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-ink); font: inherit; font-size: 0.9375rem; font-weight: 400; outline: none; resize: vertical; transition: border-color var(--motion-fast), background-color var(--motion-fast), box-shadow var(--motion-fast); }
.field textarea:focus { border-color: var(--color-highlight); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-highlight) 35%, transparent); }

.prose section + section { margin-top: var(--space-12); }
.prose h2 { margin: var(--space-12) 0 var(--space-4); font-family: var(--font-serif); font-size: 2rem; font-weight: 400; line-height: var(--leading-title); letter-spacing: var(--tracking-display); }
.prose h3 { margin: var(--space-8) 0 var(--space-3); font-size: var(--type-subtitle); font-weight: 600; line-height: var(--leading-title); letter-spacing: var(--tracking-tight); }
.prose section > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 var(--space-4); }
.prose ul, .prose ol { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-2); }
.prose li::marker { color: var(--color-highlight); font-weight: 700; }
.prose strong { font-weight: 700; color: var(--color-white); }
.prose a:not(.pill) { color: var(--color-ink); text-decoration-color: var(--color-highlight); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.prose a:not(.pill):hover { color: var(--color-highlight); }
.prose aside { margin: var(--space-6) 0; padding: var(--space-4) var(--space-6); border-left: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-sm); background: var(--color-surface); }
.prose aside p { margin: 0; }
.prose__fine { color: var(--color-muted); font-size: var(--type-small); }

.link-rows { margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.link-rows a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: var(--size-line) solid var(--color-line); font-weight: 500; text-decoration: none; transition: color var(--motion-fast) ease, padding var(--motion-fast) ease; }
.link-rows li:last-child a { border-bottom: 0; padding-bottom: 0; }
.link-rows a::after { content: "→"; color: var(--color-highlight); }
.link-rows a:hover { padding-left: var(--space-2); color: var(--color-highlight); }

/* cta band: the yellow close under an article; type and actions are navy */
.cta-band { margin: var(--space-4) var(--space-4) 0; padding-block: var(--space-20); border-radius: var(--radius-xl); background: var(--color-highlight); color: var(--color-highlight-ink); text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.cta-band__photo { display: grid; place-items: center; width: 8.5rem; height: 8.5rem; margin-top: var(--space-5); border: var(--size-rule) solid var(--color-white); border-radius: var(--radius-round); background: var(--color-navy); color: var(--color-highlight); font-family: var(--font-serif); font-size: 2.5rem; box-shadow: var(--shadow-lift); }
img.cta-band__photo { object-fit: cover; object-position: center 20%; }
.cta-band__name { font-size: var(--type-lead); font-weight: 700; }
.cta-band__label { font-size: var(--type-small); font-weight: 600; }
.cta-band p { max-width: 36rem; margin: 0; font-size: var(--type-lead); }
.cta-band .cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-5); }
.cta-band .cta-band__actions .pill--navy { background: var(--color-navy); color: var(--color-white); }
.cta-band .cta-band__actions .pill--ghost { background: transparent; color: var(--color-navy); box-shadow: inset 0 0 0 1.5px var(--color-navy); }

@media (max-width: 1000px) {
  .article { margin-inline: var(--space-2); }
  .article-head { padding-block: var(--space-10); }
  .article-head__art { width: 100%; opacity: 0.14; }
  .article-head__inner > * { max-width: 100%; }
  .article-grid { grid-template-columns: 1fr; gap: var(--space-12); padding-block: var(--space-8) var(--space-14); }
  .article-side { margin-top: 0; }
  .article-card { padding: var(--space-6) var(--space-5); }
  .article-card--row { flex-direction: column; align-items: flex-start; }
  .cta-band { margin-inline: var(--space-2); padding-block: var(--space-14); }
}
/* ---- end article ---- */

/* article content: Steve Says, the value play, who you will need, the path,
   mistakes, cases and the bottom line. The reading text keeps its measure;
   these pieces run the width of the column. */
.says { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-3) var(--space-8); width: 100%; margin-top: var(--space-6); padding: var(--space-8); }
.says__photo { grid-row: span 3; display: grid; place-items: center; width: 6.5rem; height: 6.5rem; border: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-round); color: var(--color-highlight); font-family: var(--font-serif); font-weight: 400; font-size: 2rem; }
/* Steve's headshot fills the ring; initials in a span still work where there is no photo. */
img.says__photo { padding: 0; object-fit: cover; object-position: center 20%; }
.article-card .says__label { margin: 0; color: var(--color-highlight); font-size: var(--type-small); font-weight: 600; }
.says__quote { margin: 0; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.3; }
.says__by { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin-top: var(--space-2); padding-top: var(--space-3); border-top: var(--size-line) solid var(--color-line); color: var(--color-muted); font-size: var(--type-small); }
.says__by b { color: var(--color-ink); font-weight: 600; }
/* Steve Says as the article generator writes it: <section id="steve-says"><h2>Steve Says</h2><p>…</p></section>.
   Same card as .says, with Steve's headshot drawn in, so every Seller FAQ article shows his face with no markup change. */
.prose #steve-says:not(.says) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-2) var(--space-8); padding: var(--space-8); border: var(--size-line) solid var(--color-line); border-top: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-ink); }
.prose #steve-says:not(.says)::before { content: ""; grid-row: span 3; width: 6.5rem; height: 6.5rem; border: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-round); background: var(--color-navy) url("../assets/photos/steve-gillooly-headshot.jpg") center 20% / cover no-repeat; }
.prose #steve-says:not(.says) > h2 { max-width: none; margin: 0; color: var(--color-highlight); font-family: var(--font-sans); font-size: var(--type-small); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.prose #steve-says:not(.says) > p { max-width: none; margin: 0; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.3; }
.prose #steve-says:not(.says)::after { content: "Steve Gillooly · Broker in Charge"; grid-column: 2; margin-top: var(--space-2); padding-top: var(--space-3); border-top: var(--size-line) solid var(--color-line); color: var(--color-muted); font-size: var(--type-small); font-weight: 600; }

.prose { max-width: none; }
.prose > section > p, .prose > section > h2, .prose > section > h3, .prose > section > aside { max-width: 41rem; }

.plays { display: grid; gap: var(--space-3); margin: var(--space-4) 0 var(--space-8); }
.play { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: var(--space-6); padding: var(--space-6); border: var(--size-line) solid var(--color-line); border-left: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-md); background: var(--color-surface); }
.play__label { display: flex; align-items: center; align-self: start; gap: var(--space-3); color: var(--color-highlight); font-size: var(--type-small); font-weight: 600; }
.play__mark { display: grid; flex-shrink: 0; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-round); background: var(--color-highlight); color: var(--color-highlight-ink); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.prose .play p { margin: 0; }
.play--do { border-left-color: var(--color-highlight); }
.play--skip { border-left-color: var(--color-muted); }
.play--skip .play__label { color: var(--color-muted); }
.play--skip .play__mark { background: transparent; box-shadow: inset 0 0 0 1.5px var(--color-muted); color: var(--color-muted); }
.play--pro .play__mark { background: transparent; box-shadow: inset 0 0 0 1.5px var(--color-highlight); color: var(--color-highlight); }

.pros { display: grid; gap: var(--space-4); margin: var(--space-4) 0 var(--space-8); }
.pro { padding: var(--space-6); border: var(--size-line) solid var(--color-line); border-top: var(--size-rule) solid var(--color-highlight); border-radius: var(--radius-md); background: var(--color-surface); }
.pro__role { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-weight: 400; font-size: 1.375rem; line-height: 1.15; }
.prose .pro p { margin: 0; }
.pro__notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin: var(--space-4) 0 0; padding-top: var(--space-4); border-top: var(--size-line) solid var(--color-line); }
.pro__notes dt { margin-bottom: var(--space-1); color: var(--color-highlight); font-size: var(--type-small); font-weight: 600; }
.pro__notes dd { margin: 0; font-size: var(--type-small); }
.pro__flag dt { color: var(--color-muted); }

.prose .route { counter-reset: route; margin: var(--space-4) 0 var(--space-6); padding: 0; list-style: none; }
.prose .route li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 var(--space-4); margin: 0; padding-bottom: var(--space-6); counter-increment: route; }
.prose .route li::before { content: counter(route); position: relative; z-index: 1; display: grid; grid-row: span 2; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-round); background: var(--color-highlight); color: var(--color-highlight-ink); font-family: var(--font-serif); font-weight: 400; font-size: 1.375rem; }
.prose .route li::after { content: ""; position: absolute; top: 3rem; bottom: 0; left: 1.5rem; width: var(--size-line); background: var(--color-line); }
.prose .route li:last-child { padding-bottom: 0; }
.prose .route li:last-child::after { display: none; }
.prose .route b { display: block; padding-top: var(--space-2); font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.prose .route p { grid-column: 2; margin: var(--space-1) 0 0; }

.prose .mistakes { display: grid; gap: var(--space-3); margin: var(--space-4) 0 var(--space-8); padding: 0; list-style: none; }
.prose .mistakes li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: center; gap: var(--space-4); margin: 0; padding: var(--space-4) var(--space-6); border: var(--size-line) solid var(--color-line); border-radius: var(--radius-md); }
.prose .mistakes li::before { content: "✕"; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-round); box-shadow: inset 0 0 0 1.5px var(--color-highlight); color: var(--color-highlight); font-size: 0.875rem; font-weight: 700; }

.cases { margin: var(--space-4) 0 var(--space-8); border-top: var(--size-line) solid var(--color-line); }
.cases > div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: var(--space-6); padding: var(--space-4) 0; border-bottom: var(--size-line) solid var(--color-line); }
.cases dt { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.cases dd { margin: 0; }

.bottom-line { margin-top: var(--space-12); padding: var(--space-8); border: var(--size-line) solid var(--color-highlight); border-radius: var(--radius-md); background: color-mix(in srgb, var(--color-highlight) 12%, transparent); }
.prose .bottom-line h2 { margin: 0 0 var(--space-2); color: var(--color-highlight); }
.prose .bottom-line p { max-width: 44rem; margin: 0; font-size: var(--type-lead); }

.article-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.prose .article-cta h2, .prose .article-cta p { margin: 0; }
.article-back { margin: 0; }

@media (max-width: 1000px) {
  .says { gap: var(--space-3) var(--space-4); padding: var(--space-6) var(--space-4); }
  .says__photo { grid-row: auto; width: 4rem; height: 4rem; font-size: 1.25rem; }
  .article-card .says__label { align-self: center; }
  .says__quote, .says__by { grid-column: 1 / -1; }
  .says__quote { font-size: 1.25rem; }
  .prose #steve-says:not(.says) { gap: var(--space-3) var(--space-4); padding: var(--space-6) var(--space-4); }
  .prose #steve-says:not(.says)::before { grid-row: auto; width: 4rem; height: 4rem; }
  .prose #steve-says:not(.says) > h2 { align-self: center; }
  .prose #steve-says:not(.says) > p, .prose #steve-says:not(.says)::after { grid-column: 1 / -1; }
  .prose #steve-says:not(.says) > p { font-size: 1.25rem; }
  .play, .cases > div { grid-template-columns: 1fr; gap: var(--space-3); }
  .play, .pro, .bottom-line { padding: var(--space-6) var(--space-4); }
  .pro__notes { grid-template-columns: 1fr; gap: var(--space-4); }
  .prose .mistakes li { padding: var(--space-4); }
}
/* ---- end article content ---- */

/* ---- article sections: the shared article pages the Gillooly Realty site
   renders in this system ----
   The site's article list, entry and removed-page components are shared with
   the main brand and emit these class names. Each one repeats a look this
   system already has, so nothing new is introduced: .button is the pill,
   .button--outline and .button--secondary are the ghost pill, .label is the
   eyebrow label, .embed frames video the way .photo frames photography. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--size-control);
  padding: 0 1.625rem;
  border: 0;
  border-radius: var(--radius-round);
  background: var(--color-highlight);
  color: var(--color-highlight-ink);
  font-size: var(--type-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--motion-spring-time) var(--motion-spring), box-shadow var(--motion-base) var(--motion-ease), background-color var(--motion-fast) ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.button--outline, .button--secondary { background: var(--color-canvas); color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-line); }
.button--block { width: 100%; }
.article-card--row .button { flex-shrink: 0; }

.label { margin: 0 0 var(--space-2); color: var(--color-muted); font-size: var(--type-label); font-weight: 600; }
.article-card .label { display: block; color: var(--color-highlight); font-size: var(--type-small); }

.topic-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }

.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--size-aside)), 1fr)); gap: 1.125rem; margin: 0; padding: 0; list-style: none; }
.article-list > li { display: flex; }
.article-list .article-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); width: 100%; }
.article-list .article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.article-list .article-card__title { margin: 0; }
.article-list .article-card__title a { text-decoration: none; transition: color var(--motion-fast) ease; }
.article-list .article-card__title a:hover { color: var(--color-highlight); }
.article-list .article-card > p:not(.article-head__meta) { color: var(--color-muted); }
.article-list .topic-list { margin-top: auto; padding-top: var(--space-2); }

.table-scroll { margin: 0 0 var(--space-6); overflow-x: auto; border: var(--size-line) solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); overscroll-behavior-x: contain; scrollbar-width: thin; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: var(--type-small); }
.table-scroll th, .table-scroll td { min-width: 8rem; padding: var(--space-3) var(--space-4); border-bottom: var(--size-line) solid var(--color-line); text-align: left; vertical-align: top; }
.table-scroll thead th { color: var(--color-highlight); font-weight: 600; }
.table-scroll tbody th { font-weight: 600; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }

.embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-navy); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .embed { margin-bottom: var(--space-6); }
/* ---- end article sections ---- */

/* Lead capture (lc-*) ---------------------------------------------------
   The Gillooly site's shared lead-capture components, declared here so the
   site's Home Strategies layout and article sections can use them: the header
   phone, the "Ask Steve" popup and its form, the bottom bar, the closing
   band and the Equal Housing Opportunity line. The same components ship to
   the main gillooly-realty design pages in /assets/lead-capture.css; keep
   the class names in step with it. Behaviour is the site's
   /assets/lead-capture.js. */
.lc-icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

/* Header phone ---------------------------------------------------------- */
.lc-phone { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; text-decoration: none; white-space: nowrap; line-height: 1.15; }
.lc-phone__text { display: grid; }
.lc-phone__number { font-weight: 600; letter-spacing: 0.01em; }
.lc-phone__caption { font-size: 0.72em; opacity: 0.75; }
.lc-phone:hover .lc-phone__number { text-decoration: underline; text-underline-offset: 3px; }
/* Home Strategies and Commercial: the number before the call to action. */
.site-nav__bar > .lc-phone { margin-left: auto; font-size: 1.25rem; }
.site-nav__inner > .lc-phone { margin-left: auto; padding: 0 1.5rem; color: var(--color-white); font-size: 1.125rem; }
@media (max-width: 640px) {
  .site-nav__bar > .lc-phone .lc-phone__text, .site-nav__inner > .lc-phone .lc-phone__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav__bar > .lc-phone, .site-nav__inner > .lc-phone { justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; }
}

/* Shared form inside the popup ----------------------------------------- */
.lc-form { display: grid; gap: 0.875rem; margin: 0; }
.lc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
@media (max-width: 600px) { .lc-form__row { grid-template-columns: 1fr; } }
.lc-field { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem; font-size: 0.875rem; font-weight: 600; }
.lc-field input, .lc-field textarea { flex: 1 0 100%; }
.lc-field small { font-weight: 400; opacity: 0.7; }
.lc-field input, .lc-field textarea { width: 100%; min-width: 0; padding: 0.7rem 0.8rem; border: 1.5px solid var(--color-line); border-radius: 6px; background: var(--color-white); color: var(--color-ink); font: inherit; font-size: 1rem; font-weight: 400; }
.lc-field textarea { min-height: 5rem; resize: vertical; }
.lc-field input:focus, .lc-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--color-accent) 55%, transparent); outline-offset: 1px; }
.lc-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--color-accent); color: var(--color-accent-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.lc-button:hover { filter: brightness(1.06); }
.lc-button[disabled], form[aria-busy="true"] .lc-button { opacity: 0.7; cursor: progress; }
.lc-button--ghost { border: 1.5px solid currentColor; background: transparent; color: inherit; }
.lc-form__note { margin: 0; font-size: 0.8125rem; opacity: 0.8; }
.lc-form__status { margin: 0; font-size: 0.875rem; font-weight: 600; }

/* Consultation popup ---------------------------------------------------- */
.lc-popup { width: min(520px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 2rem 1.75rem 1.5rem; overflow: auto; border: 0; border-radius: 14px; background: var(--color-navy); color: var(--color-white); font-family: var(--font-sans); box-shadow: 0 24px 60px color-mix(in srgb, var(--color-ink) 35%, transparent); }
.lc-popup::backdrop { background: color-mix(in srgb, var(--color-navy) 70%, transparent); }
.lc-popup__close { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lc-popup__close:hover { background: color-mix(in srgb, var(--color-white) 10%, transparent); }
.lc-eyebrow { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }
.lc-popup__steve { display: flex; align-items: center; gap: 0.875rem; margin: 0 2.5rem 1rem 0; }
.lc-popup__steve .lc-eyebrow { margin: 0; }
.lc-popup__face { flex-shrink: 0; width: 4rem; height: 4rem; border: 2px solid var(--color-accent); border-radius: 999px; object-fit: cover; object-position: 50% 20%; }
.lc-popup__who { margin: 0.15rem 0 0; font-size: 0.8125rem; opacity: 0.8; }
.lc-popup__title { margin: 0 2rem 0.5rem 0; font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; line-height: 1.15; }
.lc-popup__intro { margin: 0 0 1.25rem; font-size: 0.95rem; opacity: 0.88; }
.lc-popup__call { margin: 1rem 0 0; font-size: 0.875rem; opacity: 0.9; }
.lc-popup__call a { color: inherit; font-weight: 700; }

/* Bottom bar ------------------------------------------------------------ */
.lc-bar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--color-navy); color: var(--color-white); font-family: var(--font-sans); box-shadow: 0 -8px 24px color-mix(in srgb, var(--color-ink) 18%, transparent); transform: translateY(110%); transition: transform 0.3s ease; }
.lc-bar.is-shown { transform: none; }
.lc-bar[hidden] { display: none; }
.lc-bar__face { flex-shrink: 0; width: 2.75rem; height: 2.75rem; border: 2px solid var(--color-accent); border-radius: 999px; object-fit: cover; object-position: 50% 20%; }
.lc-bar__text { margin: 0; font-weight: 600; }
.lc-bar__call { display: none; }
@media (max-width: 600px) {
  .lc-bar { flex-wrap: wrap; gap: 0.5rem; }
  .lc-bar__face { display: none; }
  .lc-bar__text { flex: 1 0 100%; text-align: center; font-size: 0.875rem; }
  .lc-bar .lc-button { flex: 1 1 0; min-height: 2.75rem; padding: 0 0.75rem; }
  .lc-bar__call { display: inline-flex; }
}
@media (max-width: 359px) { .lc-bar__text { display: none; } }

/* Closing band ---------------------------------------------------------- */
.lc-band { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; background: var(--color-navy); color: var(--color-white); font-family: var(--font-sans); }
.lc-band__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 64rem; margin: 0 auto; }
.lc-band__face { width: clamp(7rem, 16vw, 10rem); aspect-ratio: 1; border-radius: 999px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--color-accent); }
.lc-band__title { margin: 0 0 0.5rem; font-family: var(--font-serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 400; line-height: 1.15; color: inherit; }
.lc-band__line { margin: 0 0 1.25rem; opacity: 0.88; }
.lc-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lc-band__name { margin: 0.75rem 0 0; font-size: 0.8125rem; opacity: 0.75; }
@media (max-width: 600px) { .lc-band__inner { grid-template-columns: 1fr; justify-items: start; } }

/* lc-band people: Steve and a second agent side by side, each with a face, name, role and direct line */
.lc-band:has(.lc-band__people) { border-top: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent); padding-block: clamp(4rem, 8vw, 6.5rem); }
.lc-band__inner:has(.lc-band__people) { grid-template-columns: auto minmax(0, 40rem); justify-content: center; gap: clamp(2.5rem, 5vw, 5rem); max-width: 80rem; }
.lc-band__inner:has(.lc-band__people) .lc-band__line { max-width: 38rem; margin-bottom: 1.75rem; font-size: 1.0625rem; line-height: 1.7; }
.lc-band__people { display: flex; gap: clamp(2rem, 4vw, 3.5rem); align-items: flex-start; }
.lc-person { display: grid; justify-items: center; gap: 1.25rem; margin: 0; text-align: center; }
.lc-person__face { display: block; box-sizing: border-box; width: clamp(9.5rem, 14vw, 12.5rem); aspect-ratio: 1; border-radius: 999px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--color-highlight); }
.lc-person__face--placeholder { display: grid; place-items: center; background: color-mix(in srgb, var(--color-white) 8%, transparent); }
.lc-person__face--placeholder svg { width: 50%; height: 50%; fill: color-mix(in srgb, var(--color-white) 45%, transparent); }
.lc-person figcaption { display: grid; justify-items: center; gap: 0.35rem; }
.lc-person__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.lc-person__role { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.lc-person__phone { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: 0.25rem; padding: 0 1.1rem; border: 1px solid color-mix(in srgb, var(--color-highlight) 55%, transparent); border-radius: 999px; color: var(--color-highlight); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.lc-person__phone:hover, .lc-person__phone:focus-visible { background: var(--color-highlight); color: var(--color-highlight-ink); }
@media (max-width: 1100px) { .lc-band__inner:has(.lc-band__people) { grid-template-columns: 1fr; justify-items: center; text-align: center; } .lc-band__inner:has(.lc-band__people) .lc-band__line { margin-inline: auto; } .lc-band__inner:has(.lc-band__people) .lc-band__actions { justify-content: center; } }
@media (max-width: 480px) { .lc-band__people { gap: 1.25rem; } .lc-person__face { width: 8.5rem; } .lc-person__name { font-size: 1.25rem; } .lc-person__phone { font-size: 0.9375rem; padding: 0 0.8rem; } }

/* Equal Housing Opportunity line --------------------------------------- */
.lc-eho { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; font-size: 0.8125rem; opacity: 0.85; }
.lc-eho svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }


/* ---- phone pass: 44px targets ---- */
.field input, .field select { min-height: 2.75rem; }
.faq summary { align-items: center; min-height: 2.75rem; }
.faq summary > * { min-width: 0; }
.article-card a.pill, .article-card a.pill:hover { color: var(--color-highlight-ink); }
@media (max-width: 700px) {
  .crumbs { align-items: center; }
  .crumbs a, a.tag, .site-footer li a, .site-footer__fine a { display: inline-flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; }
  .site-footer ul { line-height: 1.4; }
  .link-rows a { min-height: 2.75rem; }
}
/* ---- end phone pass ---- */

.article-author {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-top: var(--space-4);
}
.article-author p + p { margin-top: var(--space-3); }
@media (max-width: 600px) {
  .article-author { flex-direction: column; }
}

/* Published Seller FAQs use ordinary lists with the label inside each item. */
.prose ul.plays, .prose ul.pros, .prose ul.faq-cases {
  list-style: none;
  padding: 0;
}
.prose ul.plays > li, .prose ul.pros > li, .prose ul.faq-cases > li {
  margin: 0;
  padding: var(--space-6);
  border: var(--size-line) solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.prose ul.plays > li { border-left: var(--size-rule) solid var(--color-highlight); }
.prose ul.pros > li { border-top: var(--size-rule) solid var(--color-highlight); }
.prose ul.faq-cases { display: grid; gap: var(--space-3); }
.prose ul.plays > li > strong:first-child, .prose ul.pros > li > strong:first-child,
.prose ul.faq-cases > li > strong:first-child {
  display: block;
  margin-bottom: var(--space-2);
}
.prose ol.route.faq-list > li, .prose ul.mistakes.faq-list > li {
  display: block;
  padding-left: calc(3rem + var(--space-4));
  min-height: 3rem;
  position: relative;
}
.prose ol.route.faq-list > li::before, .prose ul.mistakes.faq-list > li::before {
  position: absolute;
  left: 0;
}
.prose ul.mistakes.faq-list > li::before { left: var(--space-3); }

.prose .article-steps.faq-list > li > strong:first-child,
.prose .article-risks.faq-list > li > strong:first-child {
  color: var(--color-ink);
}
