/* ==========================================================================
   AKI Hospitality Group — main stylesheet (v4)

   Palette strategy: high tonal contrast, one saturated accent used at scale.
   True white cards sit on warm paper; deep espresso and oxblood carry the
   statement bands; brass appears only as hairlines and numerals.
   Type: Fraunces (display, H1/H2 only) / Inter (body, labels, UI).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  /* Surfaces — a true white at the top of the range for real contrast */
  --white:        #FFFFFF;
  --paper:        #FCFAF7;
  --paper-2:      #F2EDE5;
  --stone:        #E4DCCE;
  --line:         #DCD3C4;
  --line-strong:  #BFB4A2;

  /* Ink — deeper, so type snaps off the page */
  --ink:          #14100C;
  --ink-2:        #2C2620;
  --ink-soft:     #4A423A;
  --muted:        #6F665C;

  /* Brand red — the logo colour, plus a live bright and a deep claret */
  --brand:        #A71516;
  --brand-live:   #C81E1F;
  --brand-deep:   #6E0C0E;
  --brand-tint:   #FBEDEC;
  --brand-on-dark:#E8595B;

  /* Dark surfaces — three real steps, plus a red-black for feature panels */
  --espresso:     #100C09;
  --espresso-2:   #1C1611;
  --espresso-3:   #2A211A;
  --oxblood:      #2A0B0C;
  --on-dark:      #F7F3EC;
  --on-dark-muted:#B3A99C;

  /* Brass — hairlines, numerals and small ornament only. Never a fill.
     --brass is for rules and dividers (decorative, no contrast floor).
     --brass-ink is the darker tone used wherever brass becomes TEXT on a
     light surface, so it clears 3:1 for large type. */
  --brass:        #B8934F;
  --brass-ink:    #9E7A39;
  --brass-soft:   #D9BE8A;

  --radius:       2px;
  --radius-lg:    4px;

  --shadow-soft:  0 18px 40px -20px rgba(20, 16, 12, 0.28);
  --shadow-lift:  0 26px 55px -22px rgba(20, 16, 12, 0.34);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --header-h:     76px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

/* Photography grade — one consistent treatment so a mixed image set reads as
   a single commissioned shoot. Never applied to logos or brand marks. */
.graded img, img.graded { filter: saturate(1.06) contrast(1.05); }

/* Lazy images get a toned box so nothing ever paints as an empty grey panel */
.media-box {
  background: linear-gradient(150deg, var(--stone), var(--paper-2));
  overflow: hidden;
}

/* ---------- Type scale ---------- */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  color: var(--ink);
  overflow-wrap: break-word;
  hyphens: auto;
}

/* With short copy, oversized headings read as shouty — kept deliberately
   restrained so the whitespace does the work. */
h1 { font-size: clamp(2.05rem, 5.2vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }

h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.55em;
  color: var(--ink);
  overflow-wrap: break-word;
}

h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-live); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.container--narrow { width: min(880px, calc(100% - 3rem)); margin-inline: auto; }

/* ---------- Labels ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* Red eyebrows are deliberate — a maximum of two per page */
.eyebrow--brand { color: var(--brand); }
.section--dark .eyebrow, .partner-band .eyebrow, .cta-banner .eyebrow { color: var(--on-dark-muted); }
.section--dark .eyebrow--brand, .partner-band .eyebrow--brand, .cta-banner .eyebrow--brand { color: var(--brand-on-dark); }

.lede {
  font-size: clamp(1.08rem, 1.7vw, 1.26rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

.section--dark .lede { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.8rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}

.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-live); color: #fff; }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(252, 250, 247, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(20, 16, 12, 0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }

.site-nav a:not(.btn) {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

.site-nav .btn { padding: 0.55rem 1.2rem; min-height: 44px; }
.site-nav .btn--primary, .site-nav .btn--primary:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: none; padding: 0.6rem; cursor: pointer; }
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--ink);
  margin: 6px 0; transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; z-index: 75; }

  /* Closed state carries no transition, so an interrupted animation can never
     leave the panel visible. Only the opening fade is animated. */
  .site-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100dvh;
    z-index: 70;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: none;
  }

  body.nav-open .site-nav {
    visibility: visible; opacity: 1; pointer-events: auto;
    transition: opacity 0.3s var(--ease-out);
  }

  .site-nav a:not(.btn) { font-size: 1.05rem; }

  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav, body.nav-open .site-nav { transition: none; }
}

/* ---------- Announcement bar ---------- */

.announce {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 59;
  background: var(--brand);
  color: #fff;
}

.announce__inner { display: flex; align-items: center; gap: 1rem; min-height: 46px; padding-block: 0.5rem; }
.announce__text { margin: 0; max-width: none; flex: 1; font-size: 0.9rem; line-height: 1.45; color: #fff; }
.announce__link {
  color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem;
}
.announce__link:hover { color: #fff; }
.announce__close {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  background: none; border: none; color: #fff; cursor: pointer; border-radius: 2px; opacity: 0.85;
}
.announce__close:hover { opacity: 1; background: rgba(0,0,0,0.18); }

body.has-announce .hero, body.has-announce .page-hero { padding-top: calc(var(--header-h) + 46px + 5rem); }
body.has-announce .page-hero--image { padding-top: calc(var(--header-h) + 46px + 7rem); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }

/* Rotating slides: only the active one is painted, cross-faded slowly.
   The transition and the Ken Burns drift are held back until the slider is
   ready — otherwise the first slide would fade in on load, and the browser
   would not count it as painted until the fade finished, delaying LCP. */
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
}

.hero__slide.is-active { opacity: 1; }

.hero.is-ready .hero__slide { transition: opacity 1.2s var(--ease-out); }

.hero__slide picture, .hero__slide img {
  display: block;
  width: 100%; height: 100%;
}

.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero.is-ready .hero__slide.is-active img { animation: hero-drift 20s var(--ease-out) forwards; }

@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }

/* Rotating headlines share one stacking box so nothing jumps between slides */
.hero__headlines { position: relative; }

/* The outgoing headline clears before the incoming one arrives, so the two
   never overlap — stacked semi-transparent text is unreadable. */
.hero__headline {
  margin: 0 0 0.4em;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.hero__headline:not(:first-child) { position: absolute; inset: 0 0 auto 0; }

.hero__headline.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease 0.4s, visibility 0s linear 0.4s;
}

.hero__dots {
  display: flex;
  gap: 0.65rem;
  margin-top: 2.6rem;
}

.hero__dot {
  width: 34px; height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), width 0.3s var(--ease-out);
}

.hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active { background: #fff; width: 52px; }

/* Give the dots a comfortable hit area without changing how they look */
.hero__dot::after {
  content: "";
  position: absolute;
  inset: -14px -6px;
}
.hero__dots button { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__headline { transition: none; }
  .hero__slide.is-active img { animation: none; }
}

/* Directional overlay: protects the type, releases the rest of the picture */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(16,12,9,0.86) 0%, rgba(16,12,9,0.55) 42%, rgba(16,12,9,0.12) 100%),
    linear-gradient(180deg, rgba(16,12,9,0.28) 0%, rgba(16,12,9,0) 40%, rgba(16,12,9,0.42) 100%);
}

.hero__content { max-width: 720px; }
.hero .eyebrow { color: rgba(247, 243, 236, 0.82); }
.hero h1 { color: #fff; margin-bottom: 0.4em; }

.hero__sub {
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 54ch;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Slim capability strip beneath the hero */
.capability-strip { background: var(--oxblood); color: var(--on-dark); }

.capability-strip ul {
  list-style: none;
  margin: 0; padding: 1.35rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 2.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.capability-strip li { display: flex; align-items: center; gap: 2.4rem; }
.capability-strip li + li::before {
  content: "";
  width: 1px; height: 15px;
  background: var(--brass);
  opacity: 0.75;
}

@media (max-width: 720px) {
  .capability-strip ul { flex-direction: column; gap: 0.7rem; text-align: center; }
  .capability-strip li { flex-direction: column; gap: 0.7rem; }
  .capability-strip li + li::before { width: 26px; height: 1px; }
}

/* ---------- Brand logo strip ---------- */
/* Built to hold 2, 3 or 6 marks with no change. Marks are shown exactly as
   the franchisor supplies them — full colour, no filter, no recolour. */

.brand-strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.6rem, 5vw, 4rem) 0;
}

.brand-strip__label {
  margin: 0 0 1.8rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-strip__row {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.brand-strip__row a {
  display: block;
  padding: 0.4rem;
  transition: transform 0.3s var(--ease-out);
}

.brand-strip__row a:hover { transform: translateY(-3px); }

.brand-strip__row img {
  width: 200px;
  max-width: 100%;
  height: auto;
  filter: none;
}

@media (max-width: 640px) {
  .brand-strip__row img { width: 168px; }
}

/* Page hero (interior pages) */
.page-hero {
  padding: calc(var(--header-h) + 5rem) 0 4.2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero--image {
  position: relative; color: #fff; border-bottom: none;
  padding: calc(var(--header-h) + 7rem) 0 5rem;
  isolation: isolate; overflow: hidden;
}

.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(16,12,9,0.82) 0%, rgba(16,12,9,0.5) 45%, rgba(16,12,9,0.2) 100%),
    linear-gradient(180deg, rgba(16,12,9,0.22), rgba(16,12,9,0.45));
}
.page-hero--image h1 { color: #fff; }
.page-hero--image .lede { color: rgba(255,255,255,0.88); }
.page-hero--image .eyebrow { color: rgba(247,243,236,0.82); }

/* ---------- Sections ---------- */

/* Generous vertical rhythm: as copy came out, the gaps opened up rather
   than closing. The reference groups feel expensive because they are
   mostly air around a few confident statements — but the page still has to
   stay short enough to scan, so this is tuned, not maximal. */
.section { padding: clamp(4.75rem, 7.5vw, 7rem) 0; }

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

.section--dark {
  background: linear-gradient(160deg, var(--espresso) 0%, var(--espresso-2) 58%, var(--espresso-3) 100%);
  color: var(--on-dark);
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.partner-band h1, .partner-band h2 { color: var(--on-dark); }
.section--dark p, .partner-band .section-head p { color: var(--on-dark-muted); }
.section--dark .lede, .partner-band .lede { color: var(--on-dark-muted); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  padding-top: 1.35rem;
}

.section-head::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 1px; background: var(--brass);
}

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center::before { left: 50%; transform: translateX(-50%); }

/* Split editorial layout */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split--top { align-items: start; }

.split__body { position: relative; padding-top: 1.35rem; }
.split__body::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 1px; background: var(--brass);
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(150deg, var(--stone), var(--paper-2));
}

.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.6; }
.split--top .split__media img { aspect-ratio: 4 / 5; }
.split--reverse .split__media { order: 2; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Card grids ---------- */

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* True white cards on warm paper — the grids read as distinct objects */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.98rem; }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 22px; height: 22px; }

.section--dark .card {
  background: var(--espresso-2);
  border-color: rgba(247, 243, 236, 0.12);
}
.section--dark .card:hover { border-color: rgba(184, 147, 79, 0.55); box-shadow: none; }
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .card__icon { background: rgba(232, 89, 91, 0.14); color: var(--brand-on-dark); }

/* ---------- Brand presentation ---------- */

/* Franchise brand marks are reproduced exactly as supplied. Never recolour,
   stretch or filter them. Clear space >= the wordmark's own cap height. */
.brand-lockup {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.brand-lockup img { display: block; width: 220px; max-width: 100%; height: auto; filter: none; }
.brand-lockup--card { padding: 23px 25px; }
.brand-lockup--card img { width: 176px; }

@media (max-width: 640px) {
  .brand-lockup, .brand-lockup--card { padding: 22px 24px; }
  .brand-lockup img, .brand-lockup--card img { width: 168px; }
}

.media-caption {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2rem; }
.brand-filters .btn { padding: 0.6rem 1.3rem; font-size: 0.76rem; }
.brand-filters .btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.brand-feature { position: relative; }

.brand-feature__band {
  position: relative;
  height: min(60vh, 560px);
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 0;
  background: linear-gradient(150deg, var(--stone), var(--paper-2));
}

.brand-feature__band img { width: 100%; height: 100%; object-fit: cover; }

.brand-feature__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 2.4rem 2.4rem 2.2rem;
  max-width: 560px;
  margin: -5.5rem 0 0 clamp(1rem, 4vw, 4rem);
}

.brand-feature__meta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 0.6rem;
}

.brand-feature__card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.015em;
}

/* Brand cards carry image · logo · name · location. Nothing else —
   the description lives on the brand's own page. */
.brand-feature__location, .brand-card__location {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-feature__card p { color: var(--ink-soft); font-size: 1rem; }

.brand-feature__link, .brand-card__link {
  margin-top: 1.4rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.brand-feature__link svg, .brand-card__link svg {
  width: 14px; height: 14px; transition: transform 0.25s var(--ease-out);
}
.brand-feature__link:hover svg, .brand-card__link:hover svg { transform: translateX(3px); }

/* Gallery used on brand pages */
.brand-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.brand-gallery figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--stone), var(--paper-2));
}

.brand-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

@media (max-width: 720px) {
  .brand-feature__card { margin: -3rem 1rem 0; padding: 1.8rem 1.5rem; }
  .brand-gallery { grid-template-columns: 1fr; }
}

/* Growing-portfolio line — sentence case at body size, brass rule above */
.portfolio-note {
  margin-top: 3rem;
  padding-top: 1.35rem;
  position: relative;
  max-width: 68ch;
}

.portfolio-note::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 1px; background: var(--brass);
}

.portfolio-note p { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.portfolio-note a { font-weight: 600; white-space: nowrap; }

/* Multi-brand grid (activates automatically at 2+ brands) */
.brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

.brand-card__media {
  position: relative; aspect-ratio: 16 / 9.5; overflow: hidden;
  background: linear-gradient(150deg, var(--stone), var(--paper-2));
}
.brand-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.brand-card:hover .brand-card__media img { transform: scale(1.04); }

.brand-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(16, 12, 9, 0.88); color: #fff;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.42rem 0.8rem; border-radius: 2px;
}

.brand-card__body { padding: 1.8rem 1.7rem 2rem; display: flex; flex-direction: column; flex: 1; }
.brand-card__meta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.55rem;
}
.brand-card__body h3 { margin-bottom: 0.45em; }
.brand-card__body p { color: var(--muted); font-size: 0.97rem; flex: 1; }

/* ---------- Approach steps — brass numerals ---------- */

.step {
  position: relative;
  padding: 2rem 1.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

.step__num {
  font-family: var(--font-display);
  font-weight: 400; font-size: 2.4rem; letter-spacing: 0.02em;
  color: var(--brass-ink); line-height: 1; display: block; margin-bottom: 1.1rem;
}

/* ---------- Where we operate ---------- */

.operate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.operate__regions {
  margin: 1.6rem 0 0;
  padding: 1.35rem 0 0;
  position: relative;
  list-style: none;
  font-size: 1rem;
  color: var(--ink-soft);
}

.operate__regions::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 1px; background: var(--brass);
}

@media (max-width: 860px) { .operate { grid-template-columns: 1fr; } }

/* ---------- Partner band — oxblood, red at scale ---------- */

.partner-band {
  background: var(--oxblood);
  color: var(--on-dark);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.partner-band__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

.partner-band__col { position: relative; padding-top: 1.5rem; }
.partner-band__col::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px; background: rgba(184, 147, 79, 0.5);
}

.partner-band__num {
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--brass-soft); display: block; margin-bottom: 0.7rem;
}

.partner-band__col h3 { color: var(--on-dark); margin-bottom: 0.4em; }
.partner-band__col p { color: var(--on-dark-muted); font-size: 0.97rem; }

@media (max-width: 860px) { .partner-band__grid { grid-template-columns: 1fr; } }

/* ---------- Leadership ---------- */

.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
}

/* Square portrait with a soft corner — corporate, not social-media round.
   The initials sit underneath and show through if the photograph is missing. */
.person__portrait {
  position: relative;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--espresso-2);
  margin-bottom: 1.7rem;
  isolation: isolate;
}

.person__portrait img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}

.person__portrait.is-fallback img { display: none; }

.person__initials {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 400;
  font-size: 4rem; letter-spacing: 0.04em; color: var(--on-dark);
}

@media (max-width: 1020px) { .person__portrait { width: 240px; } }
@media (max-width: 640px)  { .person__portrait { width: 100%; } .person__initials { font-size: 3.2rem; } }

.person__role {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 0.4rem;
}

.person h3 { margin-bottom: 0.9rem; }
.person p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Advisers strip ---------- */

.advisers {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  display: flex; flex-wrap: wrap;
  gap: 0.8rem 2.8rem; align-items: baseline;
}

.advisers__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}

.advisers__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  font-size: 0.92rem; color: var(--ink-soft);
}

/* ---------- Criteria list (property page) ---------- */

.criteria { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }

.criteria li {
  position: relative;
  padding-left: 2.6rem;
  max-width: 68ch;
  color: var(--ink-soft);
}

.criteria li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 26px; height: 1px;
  background: var(--brass);
}

.criteria strong { color: var(--ink); font-weight: 600; }

/* ---------- Tables ---------- */

.spec-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden; font-size: 0.99rem;
}

.spec-table th, .spec-table td {
  text-align: left; padding: 1.05rem 1.3rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}

.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.spec-table th {
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-soft);
  width: 220px; background: var(--paper-2);
}

@media (max-width: 640px) {
  .spec-table th { width: 130px; }
  .spec-table th, .spec-table td { padding: 0.85rem 0.95rem; }
}

/* ---------- Forms ---------- */

.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

.form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.form__field--full { grid-column: 1 / -1; }

.form label {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}

.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease;
  width: 100%; min-height: 44px;
}

.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }

.form__field.has-error input,
.form__field.has-error select,
.form__field.has-error textarea { border-color: var(--brand); }

.form__error { font-size: 0.84rem; color: var(--brand-deep); display: none; }
.form__field.has-error .form__error { display: block; }

.form__consent { font-size: 0.88rem; color: var(--muted); }
.form__consent input { width: auto; min-height: 0; margin-right: 0.5rem; }

.form__actions { grid-column: 1 / -1; }
.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__status {
  grid-column: 1 / -1; margin: 0; max-width: none;
  font-size: 0.95rem; line-height: 1.6;
  padding: 0.95rem 1.2rem; border-radius: var(--radius);
  border-left: 3px solid currentColor; display: none;
}

.form__status.is-visible { display: block; }
.form__status--sending { color: var(--ink-soft); background: var(--paper-2); }
.form__status--success { color: #1B5434; background: #E7F2EC; }
.form__status--error   { color: var(--brand-deep); background: var(--brand-tint); }
.form__status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Contact blocks ---------- */

.contact-line {
  display: flex; gap: 1rem; padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline; flex-wrap: wrap;
}

.contact-line:last-child { border-bottom: none; }

.contact-line strong {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-soft); min-width: 190px;
}

/* ---------- CTA banner — full brand-deep field ---------- */

.cta-banner {
  background: var(--brand-deep);
  color: var(--on-dark);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
}

.cta-banner h2 { color: #fff; max-width: 20em; margin-inline: auto; }
.cta-banner p { color: rgba(255, 255, 255, 0.86); max-width: 52ch; margin: 0 auto 2.4rem; }
.cta-banner .eyebrow { color: rgba(255, 255, 255, 0.8); }
.cta-banner__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.cta-banner .btn--primary { background: var(--white); color: var(--brand-deep); }
.cta-banner .btn--primary:hover { background: var(--paper-2); color: var(--brand-deep); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--espresso);
  color: var(--on-dark-muted);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.95rem;
}

.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184, 147, 79, 0.35);
}

.site-footer__logo img { height: 48px; width: auto; margin-bottom: 1.2rem; }

.site-footer h4, .site-footer .site-footer__heading {
  color: var(--on-dark);
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-dark-muted); transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }

.site-footer__legal {
  padding-top: 2rem; font-size: 0.82rem; line-height: 1.75;
  color: rgba(179, 169, 156, 0.9);
}

.site-footer__legal p { max-width: none; }
.site-footer__legal-links { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 1.4rem; }

@media (max-width: 940px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------- Insights ---------- */

.insight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

.insight-card time {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 0.7rem;
}

/* Card titles are h2 for a correct heading order in the listing, but they are
   card-sized, not section-sized. */
.insight-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.55em;
  color: var(--ink);
  overflow-wrap: break-word;
  hyphens: auto;
}

.insight-card p { color: var(--muted); font-size: 0.97rem; flex: 1; }

.article { padding: clamp(3rem, 6vw, 5rem) 0; }

.article__meta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2rem;
}

.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2em; }
.article p { color: var(--ink-soft); }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 90; max-width: 560px; margin-inline: auto;
  background: var(--espresso-2); color: var(--on-dark);
  border: 1px solid rgba(184, 147, 79, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  display: none;
}

.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 0.9rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; gap: 0.8rem; }
.cookie-banner .btn { padding: 0.55rem 1.3rem; min-height: 44px; font-size: 0.78rem; }

/* ---------- Reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .brand-card__media img, .btn svg, .card, .step, .insight-card { transition: none !important; }
}

/* ---------- Utility ---------- */

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }

.notice {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.legal-content h2 { font-size: 1.45rem; margin-top: 2.4em; font-family: var(--font-body); font-weight: 600; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content { color: var(--ink-soft); }
