/* Olak Multilinks — one stylesheet, organised in cascade layers.
   Palette, type and motion values live in the tokens layer only. */

@layer tokens, base, layout, components, utilities;

@layer tokens {
  :root {
    /* Surfaces */
    --paper: #f6f1e7;
    --paper-raised: #fbf8f1;
    --ink: #141310;
    --lacquer: #1e1c18;
    --ink-60: rgba(20, 19, 16, 0.62);
    --ink-40: rgba(20, 19, 16, 0.4);

    /* Metal and accents */
    --gold: #c8a24a;
    --gold-light: #e7cb86;
    --gold-line: rgba(200, 162, 74, 0.38);
    --cream: #efe7d6;
    --accent-hotel: #0f5b45;
    --accent-supermarket: #d97a34;
    --accent-bread: #eea83c;
    --accent-boutique: #c8a24a;
    --focus: #0f5b45;
    --division: var(--gold);

    /* Type */
    --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
    --fs-display: clamp(2.6rem, 7.2vw, 5.25rem);
    --fs-h2: clamp(1.9rem, 4.2vw, 3.1rem);
    --fs-bay: clamp(1.35rem, 1.9vw, 1.7rem);
    --fs-h3: 1.25rem;
    --fs-body: 1.0625rem;
    --fs-small: 0.875rem;
    --fs-label: 0.8125rem;

    /* Space */
    --s1: 4px;
    --s2: 8px;
    --s3: 12px;
    --s4: 16px;
    --s5: 24px;
    --s6: 32px;
    --s7: 48px;
    --s8: 64px;
    --s9: 96px;
    --s10: 128px;
    --gutter: clamp(20px, 5vw, 56px);
    --section-y: clamp(48px, 8vw, 128px);

    /* Form */
    --radius: 6px;
    --radius-pill: 999px;
    --header-h: 76px;

    /* Motion */
    --dur-fast: 180ms;
    --dur-base: 320ms;
    --dur-slow: 640ms;
    --dur-hero: 900ms;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  body[data-division="hotel"] {
    --division: var(--accent-hotel);
  }
  body[data-division="supermarket"] {
    --division: var(--accent-supermarket);
  }
  body[data-division="bread"] {
    --division: var(--accent-bread);
  }
  body[data-division="boutique"] {
    --division: var(--accent-boutique);
  }
}

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

  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  body.menu-open {
    overflow: hidden;
  }

  img {
    display: block;
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  dl,
  dt,
  dd,
  figure,
  address {
    margin: 0;
  }

  ul,
  ol {
    padding: 0;
    list-style: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
  }

  address {
    font-style: normal;
  }

  h1,
  h2,
  h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  h1 {
    font-size: var(--fs-display);
    line-height: 0.98;
    text-wrap: balance;
  }

  h2 {
    font-size: var(--fs-h2);
    text-wrap: balance;
  }

  h3 {
    font-size: var(--fs-h3);
    letter-spacing: -0.01em;
  }

  p {
    max-width: 68ch;
  }

  :focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 2px;
  }

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

@layer layout {
  /* One content width site-wide, so the hero copy, section headings and the
     gateway panel all start on the same grid line at every breakpoint. */
  .container {
    width: 100%;
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .container--wide {
    max-width: 1360px;
  }

  .section {
    padding-block: var(--section-y);
  }

  .section--paper {
    background: var(--paper);
  }

  .section--cream {
    background: var(--cream);
  }

  .section--dark {
    background: var(--lacquer);
    color: var(--paper);
  }

  .section__head {
    display: grid;
    gap: var(--s4);
    max-width: 46ch;
    margin-bottom: clamp(var(--s6), 4vw, var(--s7));
  }

  .section__lead {
    color: var(--ink-60);
    max-width: 60ch;
  }

  .section--dark .section__lead {
    color: rgba(246, 241, 231, 0.72);
  }

  .muted {
    color: var(--ink-60);
  }

  .grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--s6), 5vw, var(--s9));
    align-items: start;
  }

  @media (max-width: 899px) {
    .grid-2 {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}

@layer components {
  /* ---------- Header ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid var(--gold-line);
  }

  .header__bar {
    display: flex;
    align-items: center;
    gap: var(--s5);
    min-height: var(--header-h);
    padding-block: var(--s3);
  }

  .wordmark {
    display: inline-flex;
    align-items: center;
    gap: var(--s3);
    flex: 0 0 auto;
  }

  .wordmark__mark {
    width: auto;
    height: 38px;
  }

  .wordmark__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .wordmark__name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .wordmark__sub {
    font-size: 0.6875rem;
    color: var(--ink-60);
    letter-spacing: 0.04em;
  }

  .nav {
    flex: 1 1 auto;
  }

  .nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(var(--s4), 2.4vw, var(--s6));
  }

  .nav__link {
    display: inline-block;
    padding-block: var(--s2);
    font-size: var(--fs-label);
    letter-spacing: 0.04em;
    border-bottom: 2px solid transparent;
    transition: border-color var(--dur-fast) var(--ease-out-soft),
      color var(--dur-fast);
  }

  .nav__link:hover {
    border-color: var(--gold);
  }

  .nav__link[aria-current="page"] {
    border-color: var(--gold);
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: var(--s2);
    flex: 0 0 auto;
  }

  .menu-toggle {
    display: none;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s3);
    font-size: var(--fs-label);
    letter-spacing: 0.04em;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: var(--gold);
    background: rgba(200, 162, 74, 0.1);
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    padding: var(--s3) var(--s5);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: var(--fs-label);
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    transition: background-color var(--dur-fast) var(--ease-out-soft),
      color var(--dur-fast), border-color var(--dur-fast);
  }

  .btn[data-size="sm"] {
    padding: var(--s2) var(--s4);
  }

  .btn[data-size="lg"] {
    padding: var(--s4) var(--s6);
    font-size: var(--fs-body);
  }

  .btn[data-variant="gold"] {
    background: var(--gold);
    color: var(--ink);
  }

  .btn[data-variant="gold"]:hover {
    background: var(--gold-light);
  }

  .btn[data-variant="ink"] {
    background: var(--ink);
    color: var(--paper);
  }

  .btn[data-variant="ink"]:hover {
    background: #000;
  }

  .btn[data-variant="quiet"] {
    border-color: rgba(246, 241, 231, 0.45);
    color: var(--paper);
  }

  .btn[data-variant="quiet"]:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
  }

  .btn[data-variant="outline"] {
    border-color: var(--gold-line);
    color: var(--ink);
  }

  .btn[data-variant="outline"]:hover {
    border-color: var(--gold);
    background: rgba(200, 162, 74, 0.08);
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(320px, 42vh, 400px);
    padding-block: clamp(28px, 3.6vw, 48px) clamp(28px, 3.2vw, 40px);
    background: var(--lacquer);
    color: var(--paper);
    overflow: hidden;
  }

  /* Brand photo carousel behind the copy: one slide per business. */
  .hero__stage {
    position: absolute;
    inset: 0;
    z-index: -3;
  }

  .hero__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 900ms var(--ease-out-soft);
  }

  .hero__slide[data-active="true"] {
    opacity: 1;
  }

  .hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
  }

  /* The hero is a wide band, so aim each photo at its subject: the lit sign
     and facade for the buildings, the patisserie counter and the rails inside. */
  .hero__slide[data-brand="hotel"] .hero__photo {
    object-position: center 58%;
  }

  .hero__slide[data-brand="supermarket"] .hero__photo {
    object-position: center 3%;
  }

  .hero__slide[data-brand="bread"] .hero__photo {
    object-position: center 40%;
  }

  .hero__slide[data-brand="boutique"] .hero__photo {
    object-position: center 34%;
  }

  .hero__veil {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: rgba(20, 19, 16, 0.62);
  }

  .hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      100deg,
      rgba(20, 19, 16, 0.92) 0%,
      rgba(20, 19, 16, 0.55) 52%,
      rgba(20, 19, 16, 0.08) 100%
    );
  }

  .hero__copy {
    display: grid;
    gap: var(--s3);
    max-width: 44rem;
  }

  .hero__signature {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 0.01em;
  }

  /* Sized to keep all four bay names inside the first screen at 1440x900. */
  .hero__title {
    font-size: clamp(2.3rem, 4.8vw, 3.6rem);
    max-width: 26ch;
  }

  .hero__support {
    max-width: 54ch;
    color: rgba(246, 241, 231, 0.87);
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-top: var(--s3);
  }

  /* Address and phone under the hero buttons: one tap to navigate or call. */
  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px clamp(16px, 2vw, 30px);
    margin-top: calc(var(--s2) * -0.5);
    font-size: 0.9rem;
    color: rgba(246, 241, 231, 0.74);
  }

  .hero__meta a {
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(200, 162, 74, 0.42);
    transition:
      color var(--dur-fast),
      border-color var(--dur-fast);
  }

  .hero__meta a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
  }

  .hero__inner {
    display: grid;
    gap: clamp(18px, 2.2vw, 32px);
    width: 100%;
  }

  /* Caption rail: which business is on screen, plus the slide controls. */
  .hero__rail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px clamp(16px, 2vw, 28px);
    padding-top: clamp(10px, 1.2vw, 16px);
    border-top: 1px solid rgba(200, 162, 74, 0.34);
  }

  .hero__caption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55em;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(246, 241, 231, 0.62);
  }

  .hero__caption-name {
    font-family: var(--font-display);
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--paper);
  }

  .hero__dots {
    display: flex;
    gap: 4px;
    margin-inline-start: auto;
  }

  .hero__dot {
    display: grid;
    place-items: center;
    width: 34px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .hero__dot::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(246, 241, 231, 0.5);
    transition: background var(--dur-fast);
  }

  .hero__dot:hover::before,
  .hero__dot:focus-visible::before,
  .hero__dot[aria-current="true"]::before {
    background: var(--gold-light);
  }

  .hero__pause {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(200, 162, 74, 0.4);
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(246, 241, 231, 0.62);
    transition: color var(--dur-fast), border-color var(--dur-fast);
  }

  .hero__pause:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
  }

  /* The controls need JavaScript; without it the first slide simply stands. */
  html:not(.js) .hero__rail {
    display: none;
  }

  .hero :focus-visible,
  .section--dark :focus-visible,
  .page-hero :focus-visible,
  .site-footer :focus-visible {
    outline-color: var(--gold-light);
  }

  /* ---------- Gateway ---------- */
  .gateway {
    background: var(--cream);
    padding-block: clamp(28px, 3.6vw, 56px);
  }

  .gateway .section__head {
    margin-bottom: clamp(var(--s5), 3vw, var(--s6));
  }

  .gateway__panel {
    position: relative;
    max-width: 1360px;
    margin-inline: auto;
    background: var(--paper-raised);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    box-shadow: 0 28px 64px -40px rgba(20, 19, 16, 0.45);
    overflow: hidden;
  }

  .gateway__bays {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    perspective: 1400px;
  }

  .bay {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--s6) var(--s5) var(--s5);
    background: var(--paper-raised);
    transition: background-color var(--dur-base) var(--ease-out-soft);
  }

  .bay + .bay {
    border-top: 1px solid var(--gold-line);
  }

  .bay[data-division="hotel"] {
    --division: var(--accent-hotel);
  }
  .bay[data-division="supermarket"] {
    --division: var(--accent-supermarket);
  }
  .bay[data-division="bread"] {
    --division: var(--accent-bread);
  }
  .bay[data-division="boutique"] {
    --division: var(--accent-boutique);
  }

  .bay__head {
    display: grid;
    gap: var(--s2);
  }

  .bay__rule {
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--division);
    transition: width var(--dur-base) var(--ease-out-expo);
  }

  .bay__name {
    font-size: var(--fs-bay);
    line-height: 1.04;
    letter-spacing: -0.015em;
  }

  .bay__enter {
    color: inherit;
  }

  .bay__enter::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .bay__promise {
    font-size: var(--fs-small);
    line-height: 1.5;
    color: var(--ink-60);
    max-width: 32ch;
  }

  .bay__media {
    margin-top: var(--s5);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream);
  }

  .bay__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out-soft);
  }

  /* Focal points so each card reads at ~300px wide: the terrace tables rather
     than the canopy, and the bread labels rather than the tops of the bags. */
  .bay[data-division="hotel"] .bay__photo {
    object-position: center 66%;
  }

  .bay[data-division="bread"] .bay__photo {
    object-position: center 74%;
  }

  .bay__list {
    display: grid;
    gap: var(--s2);
    margin-top: var(--s5);
    font-size: var(--fs-small);
    line-height: 1.45;
  }

  .bay__list li {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: var(--s2);
    align-items: start;
  }

  .bay__list li::before {
    content: "";
    width: 8px;
    height: 1px;
    margin-top: 0.6em;
    background: var(--ink-40);
    transition: background-color var(--dur-base);
  }

  .bay__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    margin-top: auto;
    padding-top: var(--s5);
    font-size: var(--fs-label);
    letter-spacing: 0.04em;
  }

  .bay__cta span {
    transition: transform var(--dur-base) var(--ease-out-expo);
  }

  .bay:focus-within {
    background: var(--cream);
  }

  .bay:focus-within .bay__rule,
  .bay:hover .bay__rule {
    width: 100%;
  }

  .bay:focus-within .bay__list li::before,
  .bay:hover .bay__list li::before {
    background: var(--division);
  }

  .bay:focus-within .bay__cta span,
  .bay:hover .bay__cta span {
    transform: translateX(6px);
  }

  @media (hover: hover) and (pointer: fine) {
    .bay:hover .bay__photo {
      transform: scale(1.03);
    }
  }

  @media (min-width: 640px) {
    .gateway__bays {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bay + .bay {
      border-top: 0;
    }

    .bay:nth-child(even) {
      border-inline-start: 1px solid var(--gold-line);
    }

    .bay:nth-child(n + 3) {
      border-top: 1px solid var(--gold-line);
    }
  }

  @media (min-width: 1024px) {
    .gateway__bays {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bay + .bay {
      border-inline-start: 1px solid var(--gold-line);
    }

    .bay:nth-child(n + 3) {
      border-top: 0;
    }

    .bay__photo {
      aspect-ratio: 4 / 3;
    }

    /* Reserve three promise lines so photographs and lists line up across
       all four bays regardless of how the copy wraps. */
    .bay__promise {
      min-height: calc(3 * 1.5em);
    }
  }

  /* ---------- Group story ---------- */
  .prose {
    display: grid;
    gap: var(--s4);
    align-content: start;
  }

  .prose p {
    max-width: 60ch;
  }

  .credential {
    margin-top: var(--s4);
    padding-top: var(--s4);
    border-top: 1px solid var(--gold-line);
    font-size: var(--fs-small);
    color: var(--ink-60);
    max-width: 52ch;
  }

  /* ---------- Values ---------- */
  .values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(var(--s5), 4vw, var(--s7));
    border-top: 1px solid var(--gold-line);
  }

  .value {
    display: grid;
    gap: var(--s2);
    align-content: start;
    padding-block: var(--s6);
    border-bottom: 1px solid var(--gold-line);
  }

  .value__name {
    font-size: 1.1875rem;
  }

  .value__gloss {
    font-size: var(--fs-small);
    line-height: 1.5;
    color: var(--ink-60);
    max-width: 34ch;
  }

  @media (max-width: 899px) {
    .values {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 599px) {
    .values {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* ---------- Contact ---------- */
  .contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--s6), 5vw, var(--s9));
    align-items: start;
  }

  .contact__intro {
    display: grid;
    gap: var(--s4);
  }

  .contact__note {
    color: var(--ink-60);
    max-width: 46ch;
  }

  .contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-top: var(--s2);
  }

  .contact__details {
    display: grid;
    border-top: 1px solid var(--gold-line);
  }

  .contact__row {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: var(--s4);
    align-items: baseline;
    padding-block: var(--s4);
    border-bottom: 1px solid var(--gold-line);
  }

  .contact__label {
    font-size: var(--fs-label);
    color: var(--ink-60);
  }

  .contact__value {
    font-size: 1.0625rem;
  }

  .contact__value a {
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color var(--dur-fast);
  }

  .contact__value a:hover {
    color: var(--gold);
  }

  @media (max-width: 899px) {
    .contact {
      grid-template-columns: minmax(0, 1fr);
    }

    .contact__row {
      grid-template-columns: minmax(0, 1fr);
      gap: var(--s1);
    }
  }

  /* ---------- Division page hero ---------- */
  .page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    background: var(--lacquer);
    color: var(--paper);
    /* Makes 100cqw below resolve to this section's own width, which excludes
       a classic scrollbar the way .container's width does. */
    container-type: inline-size;
  }

  .page-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(40px, 5vw, 80px);
    /* Match the container's content edge so the hero headline, section
       headings and body copy share one left margin. 100cqw (the hero's own
       width) is used instead of 100vw, which includes the classic scrollbar
       and pushed the copy a few pixels right of the body content. */
    padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)))
      clamp(var(--s5), 4vw, var(--s7));
    padding-inline: max(var(--gutter), calc((100cqw - 1360px) / 2 + var(--gutter)))
      clamp(var(--s5), 4vw, var(--s7));
  }

  .page-hero__inner {
    display: grid;
    gap: var(--s4);
    max-width: 34rem;
  }

  .page-hero__rule {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--division);
  }

  .page-hero__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
  }

  .page-hero__lead {
    font-size: 1.125rem;
    line-height: 1.55;
    color: rgba(246, 241, 231, 0.82);
    max-width: 46ch;
  }

  .page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-top: var(--s2);
  }

  .page-hero__media {
    position: relative;
    min-height: clamp(240px, 30vw, 460px);
  }

  .page-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Show the building and terrace rather than the expanse of forecourt. */
  body[data-division="hotel"] .page-hero__media img {
    object-position: center 36%;
  }

  .page-hero__media picture {
    display: block;
    height: 100%;
  }

  @media (max-width: 859px) {
    .page-hero {
      grid-template-columns: minmax(0, 1fr);
    }

    .page-hero__media {
      min-height: 0;
      aspect-ratio: 16 / 10;
    }

    .page-hero__media img {
      position: static;
    }
  }

  /* ---------- Offerings ---------- */
  .offerings__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(var(--s5), 4vw, var(--s7));
    border-top: 1px solid var(--gold-line);
  }

  .offering {
    padding-block: var(--s6);
    border-bottom: 1px solid var(--gold-line);
  }

  .offering__title {
    font-size: 1.1875rem;
    margin-bottom: var(--s3);
  }

  .list {
    display: grid;
    gap: var(--s3);
  }

  .list li {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: var(--s3);
    align-items: start;
  }

  .list li::before {
    content: "";
    width: 12px;
    height: 1px;
    margin-top: 0.72em;
    background: var(--division);
  }

  @media (max-width: 899px) {
    .offerings__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 599px) {
    .offerings__grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* ---------- Photo band ---------- */
  .band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(var(--s6), 5vw, var(--s9));
    align-items: center;
  }

  .band__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
  }

  .band__body {
    display: grid;
    gap: var(--s4);
    align-content: start;
  }

  .band__body p {
    color: var(--ink-60);
    max-width: 52ch;
  }

  .band__list {
    display: grid;
    gap: var(--s3);
    margin-top: var(--s1);
  }

  .band__list li {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: var(--s3);
    align-items: start;
    font-size: var(--fs-small);
  }

  .band__list li::before {
    content: "";
    width: 12px;
    height: 1px;
    margin-top: 0.72em;
    background: var(--division);
  }

  .band--reverse .band__media {
    order: 2;
  }

  @media (max-width: 899px) {
    .band {
      grid-template-columns: minmax(0, 1fr);
      gap: var(--s6);
    }

    .band--reverse .band__media {
      order: 0;
    }
  }

  /* ---------- Sibling businesses ---------- */
  .sibling-list {
    display: grid;
    border-top: 1px solid var(--gold-line);
  }

  .sibling {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: var(--s4);
    align-items: baseline;
    padding: var(--s5) var(--s4);
    border-bottom: 1px solid var(--gold-line);
    border-inline-start: 2px solid transparent;
    transition: background-color var(--dur-fast) var(--ease-out-soft),
      border-color var(--dur-fast);
  }

  .sibling:hover,
  .sibling:focus-visible {
    background: rgba(200, 162, 74, 0.08);
    border-inline-start-color: var(--gold);
  }

  .sibling__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
  }

  .sibling__note {
    font-size: var(--fs-small);
    color: var(--ink-60);
  }

  @media (max-width: 599px) {
    .sibling {
      grid-template-columns: minmax(0, 1fr);
      gap: var(--s1);
    }
  }

  /* ---------- Footer ---------- */
  .site-footer {
    background: var(--lacquer);
    color: var(--paper);
    padding-block: var(--s9) var(--s6);
  }

  .footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: clamp(var(--s6), 5vw, var(--s8));
  }

  .footer__wordmark {
    font-family: var(--font-display);
    font-size: 1.625rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .footer__slogan {
    margin-top: var(--s2);
    font-size: var(--fs-small);
    color: var(--gold-light);
  }

  /* A second line of voice under the promise, set off by the gold hairline
     used elsewhere for rules. */
  .footer__creed {
    max-width: 28ch;
    margin-top: var(--s4);
    padding-top: var(--s3);
    border-top: 1px solid rgba(200, 162, 74, 0.34);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: rgba(246, 241, 231, 0.88);
  }

  .footer__creed span {
    display: block;
    margin-top: 0.3em;
    color: var(--gold-light);
  }

  .footer__heading {
    font-size: var(--fs-label);
    color: rgba(246, 241, 231, 0.55);
    margin-bottom: var(--s4);
  }

  .footer__list {
    display: grid;
    gap: var(--s3);
    font-size: var(--fs-small);
  }

  .footer__list a {
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color var(--dur-fast);
  }

  .footer__list a:hover {
    border-color: var(--gold);
  }

  .footer__contact {
    display: grid;
    gap: var(--s3);
    font-size: var(--fs-small);
    color: rgba(246, 241, 231, 0.85);
    align-content: start;
  }

  .footer__contact a {
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast);
  }

  .footer__contact a:hover {
    border-color: var(--gold);
  }

  /* Directions and calling get a resting underline: there is no hover on a
     phone, so the two actions need to look tappable. */
  .footer__contact a[href*="google.com/maps"],
  .footer__contact a[href^="tel:"] {
    border-bottom-color: rgba(200, 162, 74, 0.4);
  }

  .footer__base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s3);
    margin-top: var(--s8);
    padding-top: var(--s5);
    border-top: 1px solid rgba(200, 162, 74, 0.25);
    font-size: var(--fs-small);
    color: rgba(246, 241, 231, 0.58);
  }

  @media (max-width: 899px) {
    .footer__grid {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer__brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 599px) {
    .footer__grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* ---------- Mobile navigation ---------- */
  @media (max-width: 859px) {
    :root {
      --header-h: 68px;
    }

    .header__bar {
      flex-wrap: wrap;
      gap: var(--s3);
    }

    .wordmark {
      margin-inline-end: auto;
    }

    .wordmark__sub {
      display: none;
    }

    .nav {
      order: 3;
      flex: 1 1 100%;
      margin-top: var(--s3);
      border-top: 1px solid var(--gold-line);
    }

    .nav__list {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }

    .nav__link {
      display: block;
      padding-block: var(--s3);
      font-size: 1rem;
      border-bottom: 0;
    }

    .nav__item + .nav__item .nav__link {
      border-top: 1px solid var(--gold-line);
    }

    .js .nav {
      position: fixed;
      inset: var(--header-h) 0 auto;
      z-index: 30;
      display: none;
      order: 0;
      margin: 0;
      max-height: calc(100dvh - var(--header-h));
      overflow-y: auto;
      background: var(--paper);
      border-top: 0;
      border-bottom: 1px solid var(--gold-line);
      box-shadow: 0 32px 48px -40px rgba(20, 19, 16, 0.5);
      padding: var(--s4) var(--gutter) var(--s6);
    }

    .js .nav[data-open="true"] {
      display: block;
      animation: menu-in var(--dur-base) var(--ease-out-soft) both;
    }

    .js .menu-toggle {
      display: inline-flex;
    }
  }

  @media (max-width: 479px) {
    .header__whatsapp {
      display: none;
    }
  }

  /* Once the nav is stacked in its panel, the active item is marked by
     weight rather than by a rule. */
  @media (max-width: 859px) {
    .js .nav__link[aria-current="page"],
    .js .nav__link[aria-current="page"]:hover {
      border-color: transparent;
    }

    .nav__link[aria-current="page"] {
      font-weight: 500;
      color: var(--ink);
    }
  }
}

@layer utilities {
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: absolute;
    left: var(--s4);
    top: -80px;
    z-index: 100;
    padding: var(--s3) var(--s4);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    transition: top var(--dur-fast) var(--ease-out-soft);
  }

  .skip-link:focus {
    top: var(--s4);
  }

  /* Scroll reveal: only armed when JavaScript is available. */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-base) var(--ease-out-soft),
      transform var(--dur-base) var(--ease-out-soft);
  }

  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  /* One orchestrated load sequence: hero title, scrim, then the four bays. */
  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes scrim-settle {
    from {
      background-color: rgba(20, 19, 16, 0.74);
    }
    to {
      background-color: rgba(20, 19, 16, 0.62);
    }
  }

  @keyframes bay-in {
    from {
      opacity: 0;
      transform: translateY(28px) rotateX(3deg);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes rule-draw {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  @keyframes menu-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .js .hero__title {
    animation: hero-rise var(--dur-hero) var(--ease-out-expo) 60ms both;
  }

  .js .hero__veil {
    animation: scrim-settle var(--dur-hero) var(--ease-out-soft) both;
  }

  .js .gateway__panel::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: var(--gold);
    transform-origin: left;
    animation: rule-draw var(--dur-hero) var(--ease-out-expo) 120ms both;
  }

  .js .bay {
    animation: bay-in var(--dur-slow) var(--ease-out-expo) both;
  }

  .js .bay:nth-child(1) {
    animation-delay: 120ms;
  }
  .js .bay:nth-child(2) {
    animation-delay: 210ms;
  }
  .js .bay:nth-child(3) {
    animation-delay: 300ms;
  }
  .js .bay:nth-child(4) {
    animation-delay: 390ms;
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-delay: 0ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }

    .js [data-reveal] {
      opacity: 1 !important;
      transform: none !important;
    }

    .js .bay,
    .js .hero__title,
    .js .hero__veil {
      opacity: 1 !important;
      transform: none !important;
    }

    .bay__photo,
    .bay__cta span {
      transform: none !important;
    }

    .bay:hover .bay__rule,
    .bay:focus-within .bay__rule {
      width: 36px;
    }
  }
}
