/* ============================================================
   Pack — luxury / style.css

   Aventura-derived component finish on the signature
   markup. Targets the same .hd-* classes classic does so
   structure markup is shared; visual character is achieved via
   tokens + a few component extensions (italic em, marquee, ring,
   mix-blend-mode nav).

   Wrapped in @layer pack so cascade resolves predictably against
   structure rules and per-client overlays.
   ============================================================ */

@layer pack {

  /* ---- Body defaults ---------------------------------------- */
  body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
  }

  ::selection { background: var(--accent); color: var(--accent-ink); }

  /* Italic+roman mix — the luxury signature. Apply <em>
     to emotional words for the classic serif italic flourish. */
  .hd-h1 em, .hd-h2 em, .hd-h3 em, .hd-statement em, .hd-hero__headline em {
    font-style: italic;
    font-weight: 400;
  }

  /* ---- Heading scale ---------------------------------------- */
  .hd-h1 {
    font-family: var(--font-display);
    font-size: var(--text-display-1);
    line-height: var(--lh-hero);
    letter-spacing: var(--tr-display-1);
    font-weight: 400;
  }
  .hd-h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-snug);
    letter-spacing: var(--tr-h2);
    font-weight: 400;
  }
  .hd-h2--lg {
    font-size: var(--text-h2-lg);
    line-height: var(--lh-tight);
    letter-spacing: var(--tr-h2-lg);
  }
  .hd-h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    line-height: var(--lh-body-tight);
    letter-spacing: var(--tr-body-tight);
    font-weight: 400;
  }
  .hd-h4 {
    font-family: var(--font-display);
    font-size: var(--text-body-lg);
    font-weight: 400;
  }
  .hd-body, .hd-muted { color: var(--ink-dim); }

  /* ---- Eyebrow (capitalised micro-label) ------------------- */
  .hd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    font-weight: 500;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  .hd-eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
  }

  /* ---- Tag pill (used in section heads) ------------------- */
  .hd-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--ink-dim);
    border: 1px solid currentColor;
    border-radius: var(--r-pill);
  }
  .hd-tag-pill__label { color: inherit; }

  /* ---- Divider (static; motion in motion.css) ------------- */
  .hd-divider {
    height: 1px;
    width: 100%;
    background: var(--divider);
    margin: var(--sp-3) 0 var(--sp-5);
  }

  /* ---- Buttons --------------------------------------------- */
  .hd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 500;
    border-radius: var(--r-pill);
    transition: transform var(--dur-fast) var(--ease-standard),
                background var(--dur-fast) ease,
                color var(--dur-fast) ease,
                opacity var(--dur-fast) ease;
    white-space: nowrap;
  }
  .hd-btn:hover { transform: translateY(-1px); }
  .hd-btn--primary {
    background: var(--ink);
    color: var(--bg);
  }
  .hd-btn--primary:hover { background: #0D0D13; }
  .hd-btn--light, .hd-btn--ghost {
    background: var(--bg);
    color: var(--ink);
  }
  .hd-btn--light:hover, .hd-btn--ghost:hover { background: var(--bg-warm); }
  .hd-btn--outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid currentColor;
  }
  .hd-btn--outline:hover { background: var(--ink); color: var(--bg); }
  .hd-btn--dark { background: var(--ink); color: var(--bg); }
  .hd-btn--sm { padding: 0.65rem 1.2rem; font-size: var(--text-small); }

  .hd-dot {
    display: inline-block;
    width: 0.6em; height: 0.6em;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: middle;
    margin-right: 0.5em;
  }

  /* ---- Nav (mix-blend over hero, solid past hero) --------- */
  .hd-nav-wrap {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 50;
    pointer-events: none;
  }
  .hd-nav {
    pointer-events: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem var(--page-gutter);
    color: var(--bg);
    mix-blend-mode: difference;
    transition: background var(--dur-medium) ease;
  }
  .hd-nav__row { display: contents; }
  .hd-nav__wordmark {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
  }
  .hd-nav__links {
    display: flex; align-items: center; gap: 1.5rem;
    font-family: var(--font-body);
    font-size: var(--text-small);
  }
  .hd-nav__links a {
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-pill);
    transition: opacity var(--dur-fast) ease;
  }
  .hd-nav__links a:hover { opacity: 0.7; }
  .hd-nav__links a.is-active,
  .hd-nav__links a[aria-current="page"] { opacity: 0.85; }
  @media (max-width: 810px) { .hd-nav__links { display: none; } }

  /* ---- Hero (marquee variant) ----------------------------- */
  .hd-hero--marquee { position: relative; }
  .hd-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--ink);
    color: var(--bg);
    overflow: hidden;
    padding: 8rem 0 4rem;
  }
  .hd-hero__bg {
    position: absolute; inset: 0;
    z-index: 0;
    opacity: 0.55;
    filter: grayscale(40%) brightness(0.55) contrast(1.05);
    background-position: center;
    background-size: cover;
  }
  .hd-hero__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
                                color-mix(in srgb, var(--ink) 30%, transparent) 0%,
                                color-mix(in srgb, var(--ink) 85%, transparent) 100%);
  }
  .hd-hero__marquee-wrap {
    position: relative; z-index: 1;
    padding: 0 0 var(--sp-7);
  }
  .hd-hero__wrap {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    gap: var(--sp-5);
  }
  .hd-hero__content {
    display: flex; flex-direction: column;
    gap: var(--sp-5);
    color: var(--on-dark);
    max-width: 920px;
  }
  .hd-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--bg-warm);
  }
  .hd-hero__headline {
    max-width: 12ch;
    color: var(--on-dark);
  }
  .hd-hero__statement {
    font-family: var(--font-display);
    font-size: var(--text-h2-lg);
    line-height: var(--lh-tight);
    max-width: 22ch;
    color: var(--on-dark);
  }
  .hd-hero__sub {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--lh-body);
    max-width: 46ch;
    color: var(--bg-warm);
  }
  .hd-hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
  .hd-hero__ring {
    position: absolute;
    right: 7%; top: 22%;
    width: 18vw; height: 18vw;
    max-width: 240px; max-height: 240px;
    border: 1px solid var(--bg-warm);
    border-radius: 50%;
    opacity: 0.45;
    z-index: 1;
  }
  @media (max-width: 900px) {
    .hd-hero__ring { display: none; }
  }

  /* Hero CTAs override button colors so they read on dark bg */
  .hd-hero .hd-btn--primary { background: var(--bg); color: var(--ink); }
  .hd-hero .hd-btn--primary:hover { background: var(--surface); }
  .hd-hero .hd-btn--ghost {
    background: transparent;
    color: var(--bg);
    border: 1px solid currentColor;
  }
  .hd-hero .hd-btn--ghost:hover { background: var(--bg); color: var(--ink); }

  /* ---- Kinetic marquee ------------------------------------ */
  .hd-marquee {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    --marquee-duration: 28s;
  }
  .hd-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    animation: hd-marquee var(--marquee-duration) linear infinite;
    will-change: transform;
  }
  .hd-marquee__word {
    font-family: var(--font-display);
    font-size: var(--text-display-1);
    line-height: 0.92;
    font-style: italic;
    color: color-mix(in srgb, var(--on-dark) 16%, transparent);
    white-space: nowrap;
    padding: 0 0.15em;
  }
  .hd-marquee__word--alt { font-style: normal; }
  @keyframes hd-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hd-marquee__track { animation: none; }
  }

  /* ---- Section base + about ------------------------------- */
  .hd-section { padding: var(--sp-10) 0; }

  #about.hd-section { background: var(--bg); }
  /* Spread pairs (Aventura; DEMO-DESIGN-BRIEF.md §3, 2026-10-30): services is the first dark spread after the cream about,
     so the page alternates dark / light instead of jumping cream to cream. */
  #services.hd-section { background: var(--ink); color: var(--on-dark); }
  #services .hd-h2, #services .hd-service-row__num { color: var(--on-dark); }
  #services .hd-btn--primary { background: var(--bg); color: var(--ink); }
  #services .hd-service-row { background: var(--surface); }

  .hd-statement {
    font-family: var(--font-display);
    font-size: var(--text-statement);
    line-height: var(--lh-snug);
    letter-spacing: var(--tr-statement);
    color: var(--ink);
    text-align: left;
  }
  .hd-statement--centered {
    width: 66%;
    max-width: 1100px;
    margin: 0 auto;
  }
  /* Scroll-fill words — motion.css drives --p per word */
  .hd-statement .hd-word {
    color: color-mix(in srgb, var(--ink) calc(var(--p, 0) * 100%),
                              color-mix(in srgb, var(--ink-dim) 40%, transparent));
    transition: color 0.16s linear;
  }

  .hd-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: start;
    margin: var(--sp-9) auto 0;
  }
  @media (max-width: 810px) { .hd-about__grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
  .hd-about__portrait {
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
  }
  .hd-about__portrait img { width: 100%; height: 100%; object-fit: cover; }
  .hd-about__copy {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    line-height: var(--lh-body-tight);
    color: var(--ink-dim);
  }
  .hd-about__copy p {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
  }
  .hd-about__copy p + p { margin-top: var(--sp-4); }
  .hd-about__cta { margin-top: var(--sp-5); display: inline-flex; }
  .hd-about__copy-body { display: flex; flex-direction: column; }

  .hd-about__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    margin-top: var(--sp-9);
  }
  .hd-stat { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1 1 200px; }
  .hd-stat__num {
    font-family: var(--font-display);
    font-size: var(--text-stat);
    letter-spacing: var(--tr-stat);
    line-height: var(--lh-stat);
    color: var(--ink);
  }
  .hd-stat__label { color: var(--ink-dim); font-size: var(--text-body); }

  /* ---- Services — repurpose row markup as a card grid ----- */
  .hd-services__header {
    display: flex; flex-direction: row; justify-content: space-between;
    align-items: flex-end; gap: var(--sp-5);
  }
  .hd-services__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
    margin-top: var(--sp-8);
  }
  @media (max-width: 810px) { .hd-services__list { grid-template-columns: 1fr; } }
  .hd-service-row {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: var(--r-card);
    overflow: hidden;
    padding: 0;
    border: 0;
    gap: 0;
  }
  .hd-service-row__img {
    width: 100%; height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
  }
  .hd-service-row__content {
    flex: 1; display: flex; flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-6);
    border: 0;
  }
  .hd-service-row__meta {
    display: flex; flex-direction: row; align-items: center;
    gap: var(--sp-3);
    color: var(--ink-dim);
    font-size: var(--text-small);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    max-width: none;
  }
  .hd-service-row__num { font-family: var(--font-display); font-size: var(--text-h3); letter-spacing: 0; text-transform: none; color: var(--ink); }
  .hd-service-row__points { display: flex; flex-direction: row; gap: var(--sp-3); flex-wrap: wrap; }
  .hd-service-row__points li { font-size: var(--text-small); color: var(--ink-dim); }
  .hd-service-row__points li::before { display: none; }
  .hd-service-row__body { display: flex; flex-direction: column; gap: var(--sp-3); max-width: none; }
  .hd-service-row__title {
    font-family: var(--font-display);
    font-size: var(--text-h2-lg);
    line-height: var(--lh-tight);
    letter-spacing: var(--tr-h2-lg);
    color: var(--ink);
  }
  .hd-service-row__desc {
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--ink-dim);
    max-width: none;
  }
  .hd-service-row__cta { align-self: flex-start; margin: var(--sp-2) 0 0; }

  /* ---- Proof band ----------------------------------------- */
  .hd-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
    align-items: center;
  }
  @media (max-width: 960px) { .hd-proof { grid-template-columns: 1fr; gap: var(--sp-7); } }
  .hd-proof__left { display: flex; flex-direction: column; gap: var(--sp-6); }
  .hd-proof__text { display: flex; flex-direction: column; gap: var(--sp-5); }
  .hd-proof__taghead { display: flex; flex-direction: column; gap: var(--sp-4); }
  .hd-proof__tagstack { display: flex; flex-direction: column; gap: var(--sp-3); }
  .hd-proof__tagstack .hd-divider { margin: 0; }
  .hd-proof__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-snug);
    letter-spacing: var(--tr-h2);
    color: var(--ink);
  }
  .hd-proof__body {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--lh-body);
    color: var(--ink-dim);
    max-width: 56ch;
  }
  .hd-proof__points { display: flex; flex-direction: column; gap: var(--sp-5); list-style: none; }
  .hd-proof__point { display: flex; flex-direction: row; gap: var(--sp-4); align-items: flex-start; }
  .hd-proof__icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex: none;
  }
  .hd-proof__icon svg { width: 24px; height: 24px; }
  .hd-proof__point-body { display: flex; flex-direction: column; gap: var(--sp-2); }
  .hd-proof__point h4 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--ink);
  }
  .hd-proof__point p {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--ink-dim);
  }
  .hd-proof__cta { align-self: flex-start; }
  .hd-proof__right {
    aspect-ratio: 1;
    border-radius: var(--r-card);
    overflow: hidden;
    position: relative;
    background: var(--bg-warm);
  }
  .hd-proof__right img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }

  /* ---- Team ------------------------------------------------ */
  .hd-team__header {
    display: flex; flex-direction: row; justify-content: space-between;
    align-items: flex-end; gap: var(--sp-5);
  }
  .hd-team__taggroup { display: flex; flex-direction: column; gap: var(--sp-5); flex: 1 0 0; }
  .hd-team__tagstack { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 460px; }
  .hd-team__tagstack .hd-divider { margin: 0; }
  .hd-team__title { font-weight: 400; }
  .hd-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-8);
  }
  .hd-team__grid--two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-8);
  }
  @media (max-width: 810px) {
    .hd-team__grid, .hd-team__grid--two { grid-template-columns: 1fr; }
  }
  .hd-team-card {
    background: var(--surface);
    border-radius: var(--r-card);
    overflow: hidden;
    display: flex; flex-direction: column;
  }
  .hd-team-card__portrait-wrap {
    background: var(--portrait-tint);
    overflow: hidden;
  }
  .hd-team-card__portrait {
    width: 100%; aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
  }
  .hd-team-card__body {
    display: flex; flex-direction: column;
    gap: var(--sp-5);
    padding: var(--sp-6);
  }
  .hd-team-card__info { display: flex; flex-direction: column; gap: var(--sp-3); }
  .hd-team-card__name {
    font-family: var(--font-display);
    font-size: var(--text-stat);
    letter-spacing: var(--tr-stat);
    line-height: var(--lh-stat);
    color: var(--ink);
  }
  .hd-team-card__contact-row {
    display: flex; flex-direction: row; justify-content: space-between;
    align-items: flex-end; gap: var(--sp-3);
  }
  .hd-team-card__role-num { display: flex; flex-direction: column; gap: var(--sp-2); }
  .hd-team-card__role { font-size: var(--text-body); color: var(--ink-dim); }
  .hd-team-card__phone { font-size: var(--text-body); color: var(--ink-dim); }
  .hd-team-card__phone svg { width: 16px; height: 16px; fill: var(--ink); margin-right: 0.4em; }
  .hd-team-card__socials { display: flex; flex-direction: row; gap: var(--sp-3); }
  .hd-team-card__socials a {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-dim);
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
  }
  .hd-team-card__socials a:hover { background: var(--accent); color: var(--accent-ink); }
  .hd-team-card__socials a svg, .hd-team-card__socials a img { width: 16px; height: 16px; color: inherit; }
  .hd-team-card__cta { width: 100%; }

  /* ---- Reviews -------------------------------------------- */
  .hd-reviews__outer-header { display: flex; flex-direction: column; gap: var(--sp-5); margin-bottom: var(--sp-7); }
  .hd-reviews__tagstack { display: flex; flex-direction: column; gap: var(--sp-3); }
  .hd-reviews__tagstack .hd-divider { margin: 0; }
  .hd-reviews__split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: end; }
  @media (max-width: 810px) { .hd-reviews__split { grid-template-columns: 1fr; gap: var(--sp-5); } }
  .hd-reviews__display-title {
    font-family: var(--font-display);
    font-size: var(--text-h2-lg);
    line-height: var(--lh-tight);
    letter-spacing: var(--tr-h2-lg);
    color: var(--ink);
  }
  .hd-reviews__display-body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--ink-dim);
    max-width: 48ch;
  }
  .hd-reviews__card-container {
    background: var(--bg-warm);
    border-radius: var(--r-card);
    padding: var(--sp-8) var(--sp-7);
  }
  .hd-reviews__header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-8); }
  .hd-reviews__eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--accent);
  }
  .hd-reviews__title {
    font-family: var(--font-display);
    font-size: var(--text-h2-lg);
    color: var(--ink);
  }
  .hd-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: stretch; }
  @media (max-width: 960px) { .hd-reviews__grid { grid-template-columns: 1fr; } }
  .hd-review-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-card);
    padding: var(--sp-6);
    display: flex; flex-direction: column;
    gap: var(--sp-4);
  }
  .hd-review-card__title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--ink);
  }
  .hd-review-card__body {
    font-family: var(--font-body);
    font-size: var(--text-small);
    line-height: var(--lh-body);
    color: var(--ink-dim);
    flex: 1 0 auto;
  }
  .hd-review-card__attr { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
  .hd-review-card--top-attr .hd-review-card__attr { margin-top: 0; order: -1; }   /* the middle card's floating attribution (partial) */
  .hd-review-card__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-warm);
    flex: none;
  }
  .hd-review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .hd-review-card__attr-text strong { display: block; font-size: var(--text-small); color: var(--ink); }
  .hd-review-card__attr-text small { font-size: var(--text-eyebrow); color: var(--ink-dim); }

  /* ---- Contact -------------------------------------------- */
  .hd-contact {
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--on-dark);
    border-radius: var(--r-card);
    padding: var(--sp-8);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: var(--sp-7);
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 810px) { .hd-contact { flex-direction: column; padding: var(--sp-7); } }
  .hd-contact__form {
    background: var(--bg);
    color: var(--ink);
    border-radius: var(--r-md);
    padding: var(--sp-7);
    flex: 1 1 380px;
    display: flex; flex-direction: column;
    gap: var(--sp-5);
  }
  .hd-contact__form h3 {
    font-family: var(--font-display);
    font-size: var(--text-h2-lg);
    line-height: var(--lh-tight);
    letter-spacing: var(--tr-h2-lg);
    color: var(--ink);
  }
  .hd-contact__fields { display: flex; flex-direction: column; gap: var(--sp-4); }
  .hd-field { display: flex; flex-direction: column; gap: var(--sp-2); width: 100%; }
  .hd-field label { font-size: var(--text-small); font-weight: 500; color: var(--ink); }
  .hd-field input, .hd-field select, .hd-field textarea {
    font: inherit;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--r-base);
    background: var(--surface);
    color: var(--ink);
    width: 100%;
  }
  .hd-field input::placeholder { color: color-mix(in srgb, var(--ink) 40%, transparent); }
  .hd-field select { appearance: none; -webkit-appearance: none; }
  .hd-field--row { display: flex; flex-direction: row; gap: var(--sp-3); }
  .hd-field--row > .hd-field { flex: 1 0 0; }
  .hd-contact__submit { width: 100%; background: var(--accent); color: var(--accent-ink); }
  .hd-contact__submit:hover { background: color-mix(in srgb, var(--accent) 80%, black); }

  .hd-contact__right {
    flex: 1 1 380px;
    display: flex; flex-direction: column; justify-content: space-between;
    gap: var(--sp-5);
    color: var(--on-dark);
  }
  .hd-contact__top { display: flex; flex-direction: column; gap: var(--sp-5); }
  .hd-contact__tagstack { display: flex; flex-direction: column; gap: var(--sp-3); }
  .hd-contact__tagstack .hd-divider { margin: 0; background: var(--divider-on-dark); }
  .hd-contact__tagstack .hd-tag-pill__label { color: var(--on-dark-dim); }
  .hd-contact__tagstack .hd-tag-pill { border-color: var(--divider-on-dark); }
  .hd-contact__titlegroup { display: flex; flex-direction: column; gap: var(--sp-5); }
  .hd-contact__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-snug);
    letter-spacing: var(--tr-h2);
    color: var(--on-dark);
  }
  .hd-contact__lede {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--lh-body);
    color: var(--bg-warm);
  }
  .hd-contact__bottom { display: flex; flex-direction: column; gap: var(--sp-5); }
  .hd-contact__bottom .hd-divider { background: var(--divider-on-dark); margin: 0; }
  .hd-contact__promises { display: flex; flex-direction: row; gap: var(--sp-5); }
  .hd-contact__promise { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
  .hd-contact__promise-head { display: flex; flex-direction: column; gap: var(--sp-2); }
  .hd-contact__promise-icon { width: 24px; height: 24px; color: var(--accent); }
  .hd-contact__promise-icon svg, .hd-contact__promise-icon img { width: 100%; height: 100%; }
  .hd-contact__promise h4 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--on-dark);
  }
  .hd-contact__promise p { font-size: var(--text-body); color: var(--bg-warm); }

  /* ---- FAQ ------------------------------------------------ */
  .hd-faq__layout { display: flex; flex-direction: row; gap: var(--sp-9); align-items: flex-start; }
  @media (max-width: 810px) { .hd-faq__layout { flex-direction: column; gap: var(--sp-6); } }
  .hd-faq__head { flex: 1 0 0; max-width: 480px; display: flex; flex-direction: column; gap: var(--sp-5); }
  .hd-faq__tagstack { display: flex; flex-direction: column; gap: var(--sp-3); }
  .hd-faq__tagstack .hd-divider { margin: 0; }
  .hd-faq__titlegroup { display: flex; flex-direction: column; gap: var(--sp-5); }
  .hd-faq__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-snug);
    letter-spacing: var(--tr-h2);
    color: var(--ink);
  }
  .hd-faq__lede { font-size: var(--text-body-lg); color: var(--ink-dim); }

  .hd-faq {
    flex: 1 0 0;
    display: flex; flex-direction: column; gap: var(--sp-3);
    list-style: none;
  }
  .hd-faq__item {
    background: var(--surface);
    border-radius: var(--r-card);
    padding: var(--sp-5) var(--sp-6);
    cursor: pointer;
    display: flex; flex-direction: column; gap: var(--sp-4);
    transition: box-shadow var(--dur-fast) ease;
  }
  .hd-faq__item:hover { box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 6%, transparent); }
  .hd-faq__q { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
  .hd-faq__q-text {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--ink);
    flex: 1 1 auto;
  }
  .hd-faq__arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center;
    flex: none;
    transition: transform var(--dur-medium) var(--ease-standard);
  }
  .hd-faq__arrow svg { width: 12px; height: 12px; }
  .hd-faq__item[data-open="1"] .hd-faq__arrow { transform: rotate(180deg); }
  .hd-faq__a {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--ink-dim);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-medium) var(--ease-standard);
  }
  .hd-faq__item[data-open="1"] .hd-faq__a { max-height: 400px; }

  /* ---- Gallery — single horizontal marquee row ------------- */
  .hd-gallery {
    background: var(--bg);
    padding: var(--sp-8) 0;
    display: flex; flex-direction: column;
    align-items: center;
    gap: var(--sp-6);
    overflow: hidden;
  }
  .hd-gallery__center { text-align: center; max-width: 620px; padding: 0 var(--page-gutter); }
  .hd-gallery__titlegroup { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
  .hd-gallery__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    color: var(--ink);
  }
  .hd-gallery__sub { font-size: var(--text-body-lg); color: var(--ink-dim); }
  .hd-gallery__ticker { width: 100%; overflow: hidden; position: relative; }
  .hd-gallery__track {
    display: flex; flex-direction: row;
    align-items: center;
    gap: var(--sp-5);
    width: max-content;
    will-change: transform;
    animation: hd-gallery-marquee 60s linear infinite;
  }
  @keyframes hd-gallery-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .hd-gallery__ticker--bottom .hd-gallery__track { animation-direction: reverse; }
  @media (prefers-reduced-motion: reduce) { .hd-gallery__track { animation: none; } }
  .hd-gallery__card {
    flex: none;
    width: 220px; height: 280px;
    border-radius: var(--r-md);
    overflow: hidden;
  }
  .hd-gallery__card img { width: 100%; height: 100%; object-fit: cover; }
  /* Lane variants the partial emits (--w0 … --w4, a sine wave) and the two strips. Added 2026-10-30 (audit check 7). */
  .hd-gallery__ticker--top, .hd-gallery__ticker--bottom { padding: var(--sp-2) 0; }
  .hd-gallery__card--w0 { transform: translateY(0); }
  .hd-gallery__card--w1 { transform: translateY(10px); }
  .hd-gallery__card--w2 { transform: translateY(20px); }
  .hd-gallery__card--w3 { transform: translateY(30px); }
  .hd-gallery__card--w4 { transform: translateY(40px); }
  @media (prefers-reduced-motion: reduce) { .hd-gallery__card--w1, .hd-gallery__card--w2, .hd-gallery__card--w3, .hd-gallery__card--w4 { transform: none; } }

  /* ---- Closing CTA ----------------------------------------- */
  .hd-close {
    background:
      radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 55%),
      radial-gradient(circle at 15% 85%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 55%),
      var(--ink);
    color: var(--on-dark);
    border-radius: var(--r-lg);
    padding: clamp(64px, 10vw, 128px) var(--sp-7);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hd-close__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-snug);
    max-width: 22ch;
    margin: 0 auto;
  }
  .hd-close__body  { color: var(--bg-warm); margin: var(--sp-5) auto 0; max-width: 56ch; font-size: var(--text-body-lg); }
  .hd-close__cta   { margin-top: var(--sp-6); }
  .hd-close .hd-btn--primary, .hd-close .hd-btn--light {
    background: var(--bg);
    color: var(--ink);
  }

  /* ---- Footer ---------------------------------------------- */
  .hd-footer {
    background: var(--ink);
    color: var(--on-dark);
    padding: var(--sp-9) 0 var(--sp-6);
    margin-top: var(--sp-8);
  }
  .hd-footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    align-items: end;
  }
  .hd-footer__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    line-height: var(--lh-snug);
    letter-spacing: var(--tr-h2);
  }
  .hd-footer__email {
    font-family: var(--font-display);
    font-size: var(--text-h2-lg);   /* was --text-h2: a 30-char address overflowed the page at 1440 (2026-10-30, first real build) */
    color: var(--on-dark);
    overflow-wrap: anywhere;
  }
  .hd-footer__top > div { min-width: 0; }
  .hd-footer__small {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--on-dark-dim);
  }
  .hd-footer .hd-divider { background: var(--divider-on-dark); margin: var(--sp-8) 0; }
  .hd-footer__cols {
    display: flex; flex-direction: row; justify-content: space-between;
    align-items: flex-start; gap: var(--sp-6);
  }
  .hd-footer__cols-left {
    display: flex; flex-direction: row;
    align-items: flex-start; gap: var(--sp-9);
  }
  @media (max-width: 810px) {
    .hd-footer__top { grid-template-columns: 1fr; }
    .hd-footer__cols { flex-direction: column; gap: var(--sp-6); }
    .hd-footer__cols-left { flex-direction: column; gap: var(--sp-5); }
  }
  .hd-footer__col h5 {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--on-dark-dim);
    margin-bottom: var(--sp-5);
  }
  .hd-footer__col ul { list-style: none; }
  .hd-footer__col li { margin-bottom: var(--sp-3); }
  .hd-footer__col a { font-size: var(--text-body); color: var(--on-dark); }
  .hd-footer__col a:hover { opacity: 0.7; }
  .hd-footer__line { font-size: var(--text-body); color: var(--on-dark-dim); }
  .hd-footer__col a[data-active="1"], .hd-footer__col a.is-active { color: var(--accent); }
  .hd-footer__bottom {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: var(--sp-6);
    font-size: var(--text-body);
    color: var(--on-dark-dim);
  }
  .hd-footer__wordmark {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 96px);
    color: var(--on-dark);
    line-height: 0.95;
    white-space: nowrap;
  }
}
