/* ==========================================================================
   Commerce Roadmap: homepage styles
   Palette: Colour Theme 1 (Midnight Navy + Champagne Gold)
   Type: Cormorant Garamond (headings) + Lato (body)
   ========================================================================== */

:root {
  --navy-950: #06131f;
  --navy-900: #081a2c; /* Midnight Navy */
  --navy-850: #0b2035;
  --navy-800: #0d2640;
  --navy-700: #102b46; /* Deep Navy */
  --gold-200: #efe2c6;
  --gold-300: #e3cc9f;
  --gold-400: #d4b882;
  --gold-500: #c5a46d; /* Champagne Gold */
  --gold-600: #b8945b; /* Warm Gold */
  --gold-ink: #7e6030; /* Gold for text on light backgrounds (AA contrast) */
  --ivory: #f7f4ee;
  --warm-white: #fcfbf8;
  --charcoal: #282b2f;
  --ink: #16222e;
  --ink-muted: #56606b;
  --on-dark: #eef1f4;
  --on-dark-muted: #aeb9c4;
  --line-light: rgba(8, 26, 44, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(197, 164, 109, 0.35);
  --error: #a4262c;

  --font-serif: "Cormorant Garamond", "Cormorant", Garamond, Baskerville, "Times New Roman", serif;
  --font-sans: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(84px, 11vw, 148px);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-lg: 0 34px 70px -34px rgba(3, 12, 22, 0.6);
}

@media (min-width: 1280px) {
  :root { --header-h: 92px; }
}

/* ---------- Theme tokens ----------
   Light is the default. Dark bands (.theme-dark) and dark mode ([data-theme="dark"])
   override the same tokens, so components only reference the semantic names.
   The enquiry panel resets to light tokens because it sits on a dark band. */

:root {
  color-scheme: light;
  --surface-ivory: var(--ivory);
  --surface-light: var(--warm-white);
  --page-bg: var(--warm-white);
}

:root,
.enquiry {
  --text: var(--ink);
  --text-strong: var(--navy-900);
  --text-muted: var(--ink-muted);
  --accent: var(--gold-ink);
  --accent-em: var(--gold-ink);
  --line: var(--line-light);
  --card: rgba(255, 255, 255, 0.35);
  --form-bg: var(--ivory);
  --field-bg: #fff;
  --field-border: #858e97;
  --field-hover: var(--navy-700);
  --field-focus: var(--navy-900);
  --placeholder: #6f7882;
  --error: #a4262c;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23102b46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.theme-dark,
[data-theme="dark"],
[data-theme="dark"] .enquiry {
  --text: var(--on-dark);
  --text-strong: #f3f5f7;
  --text-muted: var(--on-dark-muted);
  --accent: var(--gold-500);
  --accent-em: var(--gold-400);
  --line: var(--line-dark);
  --card: rgba(255, 255, 255, 0.025);
  --form-bg: var(--navy-800);
  --field-bg: #0a1e33;
  --field-border: #6f8295;
  --field-hover: var(--gold-400);
  --field-focus: var(--gold-500);
  --placeholder: #8d9aa7;
  --error: #ff9d9d;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c5a46d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  color-scheme: dark;
  --surface-ivory: #0f263d;
  --surface-light: #0b2034;
  --page-bg: var(--navy-900);
}

/* Theme switch: gentle cross-fade (View Transitions, where supported) */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.55s;
  animation-timing-function: var(--ease);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

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

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

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

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

address { font-style: normal; }

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

::selection { background: var(--gold-500); color: var(--navy-900); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rose {
  position: absolute;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  color: var(--gold-500);
}

/* ---------- Typography ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 36px;
  height: 1px;
  background: currentColor;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  flex: none;
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--accent-em); }

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-strong);
}

.theme-dark { color: var(--text); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), color 0.35s var(--ease), filter 0.35s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(135deg, #dcc294 0%, var(--gold-500) 48%, var(--gold-600) 100%);
  color: var(--navy-900);
  box-shadow: 0 14px 30px -16px rgba(197, 164, 109, 0.8);
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 20px 38px -18px rgba(197, 164, 109, 0.9);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 26, 44, 0.2);
  color: #fff;
}
.btn--outline:hover {
  border-color: var(--gold-500);
  background: rgba(197, 164, 109, 0.14);
  color: var(--gold-200);
}

.btn:disabled { cursor: progress; opacity: 0.7; transform: none; }

.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.25s var(--ease);
}
.text-link .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--text-strong); }
.text-link:hover .icon { transform: translateX(5px); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 44, 0.9);
  border-bottom: 1px solid rgba(197, 164, 109, 0.2);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.brand__mark {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.brand__divider {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__initial { font-size: 1.3em; }
.brand__tagline {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #d3d9df;
  white-space: nowrap;
}

/* The logo never shrinks; the header layout adapts around it instead */
.site-header .brand { flex: none; }

/* Small screens: compact logo, icon-only menu button, smaller theme switch.
   Selectors are prefixed with .site-header so they outrank the base rules further down. */
@media (max-width: 559.98px) {
  .site-header .site-header__inner { gap: 12px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand__divider,
  .site-header .brand__tagline { display: none; }
  .site-header .brand__mark { width: 38px; }
  .site-header .brand__name { font-size: 0.92rem; }
  .site-header .site-header__actions { gap: 8px; }
  .site-header .menu-button { padding: 0 4px; }
  .site-header .menu-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .site-header .theme-toggle { width: 60px; height: 34px; }
  .site-header .theme-toggle__knob { width: 26px; height: 26px; }
  .site-header .theme-toggle[aria-pressed="true"] .theme-toggle__knob { transform: translateX(24px); }
}

/* Narrow phones: stack the name like a logo lockup */
@media (max-width: 419.98px) {
  .site-header .brand__mark { width: 34px; }
  .site-header .brand__name {
    max-width: 6.5em;
    font-size: 0.95rem;
    line-height: 1.02;
    white-space: normal;
  }
}

@media (min-width: 1280px) {
  .brand__mark { width: 58px; }
  .brand__divider { height: 46px; }
  .brand__name { font-size: 1.26rem; }
  .brand__tagline { font-size: 0.92rem; }
}

/* Header actions: theme switch + mobile menu button */
.site-header__actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 70px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 26, 44, 0.35);
  color: var(--on-dark-muted);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold-500); }
.theme-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6d2a8, var(--gold-500) 55%, var(--gold-600));
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s var(--ease);
}
.theme-toggle[aria-pressed="true"] .theme-toggle__knob { transform: translateX(34px); }
.theme-toggle__icon {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  place-items: center;
  height: 100%;
  transition: color 0.3s var(--ease);
}
.theme-toggle__icon .icon { width: 15px; height: 15px; stroke-width: 1.8; }
.theme-toggle[aria-pressed="false"] .theme-toggle__icon--light,
.theme-toggle[aria-pressed="true"] .theme-toggle__icon--dark { color: var(--navy-900); }

/* Desktop navigation */
@media (min-width: 1280px) {
  .site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(18px, 1.9vw, 36px);
  }

  .site-nav__link {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    white-space: nowrap;
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark);
    transition: color 0.25s var(--ease);
  }
  .site-nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: var(--gold-500);
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
  }
  .site-nav__link:hover,
  .site-nav__link.is-active { color: var(--gold-500); }
  .site-nav__link:hover::after,
  .site-nav__link.is-active::after { transform: scaleX(1); }

  .has-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .site-nav__toggle {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--gold-500);
  }
  .site-nav__toggle .icon { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
  .has-menu.is-open .site-nav__toggle .icon,
  .has-menu:hover .site-nav__toggle .icon { transform: rotate(180deg); }

  .submenu {
    position: absolute;
    top: calc(100% + 16px);
    left: -24px;
    min-width: 300px;
    padding: 14px 0;
    background: rgba(11, 32, 53, 0.97);
    border: 1px solid rgba(197, 164, 109, 0.22);
    border-top: 2px solid var(--gold-500);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .submenu::before {
    /* Hover bridge between the trigger and the panel */
    content: "";
    position: absolute;
    top: -18px;
    right: 0;
    left: 0;
    height: 18px;
  }
  .has-menu:hover .submenu,
  .has-menu.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }
  .submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 24px;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: #dfe5ea;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease), padding 0.3s var(--ease);
  }
  .submenu a::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    background: var(--gold-500);
    transform: rotate(45deg);
  }
  .submenu a:hover {
    padding-left: 30px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-300);
  }

  .menu-button,
  .site-nav__extra { display: none; }
}

/* Mobile navigation */
@media (max-width: 1279.98px) {
  .menu-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 4px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    background: rgba(8, 26, 44, 0.35);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .menu-button__bars { position: relative; width: 34px; height: 34px; }
  .menu-button__bars span {
    position: absolute;
    right: 9px;
    left: 9px;
    height: 1.5px;
    background: var(--gold-500);
    transition: transform 0.35s var(--ease), top 0.35s var(--ease);
  }
  .menu-button__bars span:first-child { top: 13px; }
  .menu-button__bars span:last-child { top: 20px; }
  .menu-button[aria-expanded="true"] .menu-button__bars span:first-child { top: 16.5px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button__bars span:last-child { top: 16.5px; transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
    overflow-y: auto;
    background: radial-gradient(120% 80% at 100% 0%, #15375a 0%, var(--navy-900) 58%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease), visibility 0s;
  }

  .site-nav__list > li { border-bottom: 1px solid var(--line-dark); }
  .site-nav__link {
    display: block;
    padding: 12px 0;
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 6vw, 2rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--on-dark);
  }
  .site-nav__link.is-active { color: var(--gold-500); }
  .site-nav__toggle { display: none; }

  .submenu { padding: 0 0 16px; }
  .submenu a {
    display: block;
    padding: 7px 0 7px 18px;
    border-left: 1px solid var(--line-gold);
    font-size: 0.95rem;
    color: var(--on-dark-muted);
  }
  .submenu a:hover { color: var(--gold-300); }

  .site-nav__extra {
    display: grid;
    gap: 18px;
    margin-top: auto;
    padding-top: 32px;
  }
  .site-nav__extra p { font-size: 0.85rem; color: var(--on-dark-muted); }
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 640px;
  min-height: clamp(640px, 100svh, 980px);
  padding: calc(var(--header-h) + 40px) 0 120px;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 26, 44, 0.9) 0%, rgba(8, 26, 44, 0.76) 34%, rgba(8, 26, 44, 0.34) 64%, rgba(8, 26, 44, 0.1) 100%),
    linear-gradient(180deg, rgba(6, 19, 31, 0.8) 0%, rgba(6, 19, 31, 0) 26%, rgba(6, 19, 31, 0) 62%, rgba(8, 26, 44, 0.96) 100%);
}

.hero__inner { position: relative; }
.hero__content { max-width: 840px; }

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 9.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--gold-400);
}
.hero__line {
  display: block;
  padding-bottom: 0.06em;
  background: linear-gradient(180deg, #f3e6c9 0%, #dcc393 50%, #c4a26a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  max-width: 34em;
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.65;
  color: #e6eaee;
}
.hero__lead-text { display: block; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
  transition: color 0.25s var(--ease);
}
.hero__scroll:hover { color: var(--gold-300); }
.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  transform-origin: top;
}

@media (min-width: 900px) {
  .hero__title { font-size: clamp(3.6rem, 6.2vw, 5.6rem); }
  .hero__media img { object-position: 42% 50%; }
}

@media (max-height: 700px), (max-width: 639.98px) {
  .hero__scroll { display: none; }
}

/* Below 900px the copy sits over the lit towers, so a soft frosted patch sits behind the heading and another
   behind the paragraph; the rest of the photo stays sharp. Each patch covers its text box at full strength and
   then feathers out over --plate-x (sides) and --plate-y (top and bottom), so the words always sit on the full
   blur and the patch has no hard edge. The patches hang off .hero__title and .hero__lead because those are never
   animated: a filter or opacity on an ancestor would stop backdrop-filter from seeing the photo. */
@media (max-width: 899.98px) {
  .hero__title {
    --plate-x: 0.9em;
    --plate-y: 0.5em;
    position: relative;
    width: fit-content;
    max-width: 100%;
  }
  .hero__lead {
    --plate-x: 1.4em;
    --plate-y: 1em;
    position: relative;
    /* On tablets the paragraph runs to two lines and its longest line is ~28.6em; capping the box there keeps
       the patch from trailing past the words (line breaks are unchanged). */
    max-width: 29em;
  }
  .hero__title::before,
  .hero__lead::before {
    --fade-x: linear-gradient(90deg, transparent, #000 var(--plate-x), #000 calc(100% - var(--plate-x)), transparent);
    --fade-y: linear-gradient(180deg, transparent, #000 var(--plate-y), #000 calc(100% - var(--plate-y)), transparent);
    content: "";
    position: absolute;
    inset: calc(var(--plate-y) * -1) calc(var(--plate-x) * -1);
    z-index: -1;
    background: rgba(6, 19, 31, 0.45);
    -webkit-backdrop-filter: blur(14px) saturate(90%);
    backdrop-filter: blur(14px) saturate(90%);
    -webkit-mask-image: var(--fade-x), var(--fade-y);
    -webkit-mask-composite: source-in;
    mask-image: var(--fade-x), var(--fade-y);
    mask-composite: intersect;
    pointer-events: none;
  }
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .hero__title::before,
    .hero__lead::before { background: rgba(6, 19, 31, 0.78); }
  }
}

@media (max-width: 639.98px) {
  .hero { padding-bottom: 72px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

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

.section { position: relative; padding-block: var(--section-y); }
.section--ivory { background: var(--surface-ivory); }
.section--light { background: var(--surface-light); }

/* Dark mode: hairlines keep adjacent navy bands distinct */
[data-theme="dark"] .section--ivory,
[data-theme="dark"] .section--light {
  border-top: 1px solid rgba(197, 164, 109, 0.14);
  border-bottom: 1px solid rgba(197, 164, 109, 0.14);
}
[data-theme="dark"] .about__rose { opacity: 0.08; }
.section--dark { background: var(--navy-900); }
.section--deep { background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%); }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head__intro {
  max-width: 440px;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.section-head--split { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: end;
    gap: 64px;
  }
  .section-head--split .section-head__intro { justify-self: end; }
}

.section-head--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .section-head__intro { margin: 22px auto 0; }

/* ---------- About ---------- */

.about { overflow: hidden; }
.about__rose {
  top: -160px;
  right: -260px;
  width: min(820px, 110vw);
  height: auto;
  aspect-ratio: 1;
  opacity: 0.14;
}

.about__grid {
  position: relative;
  display: grid;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

.about__figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
}
.about__figure::before {
  /* Inset champagne frame */
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(227, 204, 159, 0.5);
  pointer-events: none;
}
.about__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 44, 0) 38%, rgba(8, 26, 44, 0.9) 100%);
}
.about__caption {
  position: absolute;
  right: 40px;
  bottom: 38px;
  left: 40px;
  z-index: 1;
  max-width: 12em;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.about__content .lead { margin: 26px 0 22px; }
.about__content > p:not(.eyebrow):not(.lead) { max-width: 36em; color: var(--text-muted); }
.about__content > p:not(.eyebrow):not(.lead) + p { margin-top: 16px; }

.about__pillars {
  display: grid;
  gap: 28px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .about__pillars { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.about__pillars dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.about__pillars dt::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.about__pillars dd {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-strong);
}
.about__content .about__sign {
  margin-top: 36px;
  font-size: 0.875rem;
}

/* ---------- Core areas ---------- */

.services { overflow: hidden; }

.areas { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.area {
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header-h) + 16px);
  border: 1px solid rgba(197, 164, 109, 0.16);
  background: linear-gradient(180deg, var(--navy-850), var(--navy-900));
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.area:hover {
  border-color: rgba(197, 164, 109, 0.45);
  box-shadow: 0 40px 70px -44px rgba(0, 0, 0, 0.9);
}

.area__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
}
.area__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.area:hover .area__media img { transform: scale(1.05); }
.area__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 26, 44, 0.08) 0%, rgba(8, 26, 44, 0.2) 32%, rgba(11, 32, 53, 0.9) 68%, var(--navy-850) 100%);
}

#consultancy .area__media img { object-position: 50% 50%; }
#events .area__media img { object-position: 42% 50%; }
#travel .area__media img { object-position: 62% 50%; }

.area__num {
  position: absolute;
  top: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.area__num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.area__heading {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px 30px;
  text-align: center;
}
.area__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 1px solid rgba(197, 164, 109, 0.65);
  border-radius: 50%;
  background: rgba(8, 26, 44, 0.45);
  color: var(--gold-500);
}
.area__icon .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.area__title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.75vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}
.area__tagline {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gold-300);
  text-wrap: balance;
}

.area__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 30px 30px;
}
.area__desc {
  margin-bottom: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
  color: var(--on-dark-muted);
}
.area__list { margin-bottom: 28px; }
.area__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #d9e0e6;
}
.area__list li:last-child { border-bottom: 0; }
.area__list li::before {
  content: "";
  position: absolute;
  top: calc(10px + 0.725em - 3px);
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.area .text-link { margin-top: auto; }

/* Tablet: image beside content */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .area { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .area__media { min-height: 100%; }
  .area__media::after {
    background: linear-gradient(180deg, rgba(8, 26, 44, 0.05) 0%, rgba(8, 26, 44, 0.2) 40%, rgba(11, 32, 53, 0.92) 100%);
  }
  .area__desc { text-align: left; }
}

/* ---------- How we work ---------- */

.stages { position: relative; display: grid; }

.stages::before,
.stages::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 40px;
  left: 11px;
  width: 1px;
}
.stages::before { background: var(--line); }
.stages::after {
  background: var(--gold-500);
  transform-origin: top;
  transition: transform 1.8s var(--ease);
}

.stage { position: relative; padding: 0 0 40px 56px; }
.stage__marker {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--gold-500);
  background: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(197, 164, 109, 0.16);
  transform: rotate(45deg);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stage:nth-child(2) .stage__marker { transition-delay: 0.35s; }
.stage:nth-child(3) .stage__marker { transition-delay: 0.7s; }
.stage:nth-child(4) .stage__marker { transition-delay: 1.05s; }
.stage:nth-child(5) .stage__marker { transition-delay: 1.4s; }

.js .stages:not(.is-visible)::after { transform: scaleY(0); }
.js .stages:not(.is-visible) .stage__marker { background: var(--surface-light); box-shadow: none; }

.stage__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.stage__title {
  margin: 6px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.stage p { max-width: 26em; color: var(--text-muted); }

@media (min-width: 900px) {
  .stages { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
  .stages::before,
  .stages::after {
    top: 7px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }
  .stages::after { transform-origin: left; }
  .js .stages:not(.is-visible)::after { transform: scaleX(0); }
  .stage { padding: 58px 0 0; }
  .stage__marker { top: 0; left: 0; }
  .stage__title { font-size: 1.6rem; }
}

/* ---------- Executive & VIP ---------- */

.vip {
  overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, #16395c 0%, var(--navy-900) 60%);
}
.vip__rose {
  bottom: -420px;
  left: -320px;
  width: 940px;
  height: auto;
  aspect-ratio: 1;
  opacity: 0.09;
}
.vip__grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 960px) {
  .vip__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 96px;
  }
}
.vip__content .lead { margin: 26px 0 18px; }
.vip__content > p:not(.eyebrow):not(.lead) { max-width: 34em; color: var(--on-dark-muted); }
.vip__content > p:not(.eyebrow):not(.lead) + p { margin-top: 16px; }
.vip__content .btn { margin-top: 36px; }

.values li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
}
.values li:first-child { border-top: 1px solid var(--line-dark); }
.values__num {
  min-width: 2.6em;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-500);
}

/* ---------- Why Commerce Roadmap ---------- */

.reasons {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 640px) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.reason {
  padding: 40px 34px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.reason__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  stroke-width: 1.3;
  color: var(--accent);
}
.reason__title {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-strong);
}
.reason p { color: var(--text-muted); }

/* ---------- Selected capabilities ---------- */

.capability-grid {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(197, 164, 109, 0.2);
  background: rgba(197, 164, 109, 0.2);
}
@media (min-width: 720px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.capability {
  position: relative;
  padding: 40px 36px 46px;
  background: var(--navy-800);
}
.capability::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  width: 44px;
  height: 2px;
  background: var(--gold-500);
}
.capability__num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-500);
}
.capability__title {
  margin: 30px 0 12px;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}
.capability p { color: var(--on-dark-muted); }

/* ---------- Who we serve ---------- */

.audience__grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .audience__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 96px;
  }
}
.audience__intro > p:last-child { max-width: 30em; margin-top: 24px; color: var(--text-muted); }

.audience__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.9vw, 2.4rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-strong);
}
.audience__list li { display: inline-flex; align-items: center; }
.audience__list li:not(:last-child)::after {
  content: "";
  flex: none;
  width: 0.2em;
  height: 0.2em;
  margin: 0 0.6em;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.audience__list li:nth-child(even) { font-style: italic; color: var(--accent); }

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

.contact__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 88px;
  }
}
.contact__intro .lead { margin: 26px 0 18px; }
.contact__intro > p:not(.eyebrow):not(.lead) { max-width: 30em; margin-top: 22px; color: var(--text-muted); }

.contact__details {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact__details li { display: flex; gap: 18px; font-size: 0.95rem; }
.contact__details span {
  min-width: 92px;
  padding-top: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Enquiry form */
.enquiry {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  border-top: 3px solid var(--gold-500);
  background: var(--form-bg);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.65);
}
.enquiry__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-strong);
}
.enquiry__note { margin: 8px 0 28px; font-size: 0.875rem; color: var(--text-muted); }
.req { color: var(--accent); }

.enquiry__grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .enquiry__grid { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  .field--wide { grid-column: 1 / -1; }
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background-color: var(--field-bg);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; line-height: 1.6; resize: vertical; }
.field select {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field ::placeholder { color: var(--placeholder); opacity: 1; }
.field :is(input, select, textarea):hover { border-color: var(--field-hover); }
.field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--field-focus);
  box-shadow: 0 0 0 3px rgba(197, 164, 109, 0.5);
}
.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}
.field__error { margin-top: 6px; font-size: 0.85rem; line-height: 1.4; color: var(--error); }

.field--hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry__footer { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 640px) {
  .enquiry__footer { grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
}
.enquiry__privacy { font-size: 0.8125rem; line-height: 1.55; color: var(--text-muted); }
.enquiry__privacy a {
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 3px;
}

.enquiry__status { margin-top: 20px; font-size: 0.95rem; line-height: 1.5; }
/* Keep the live region rendered (not display:none) so updates are announced */
.enquiry__status:empty { margin: 0; }
.enquiry__status.is-success { padding: 14px 16px; border-left: 3px solid #2f6b3a; background: #edf4ee; color: #1d3f24; }
.enquiry__status.is-error { padding: 14px 16px; border-left: 3px solid var(--error); background: #fbeeee; color: #6b1a1e; }
.enquiry__status.is-info { padding: 14px 16px; border-left: 3px solid var(--gold-600); background: #fff; color: var(--ink); }
[data-theme="dark"] .enquiry__status.is-success { border-left-color: #7fc48a; background: rgba(127, 196, 138, 0.1); color: #cfeed4; }
[data-theme="dark"] .enquiry__status.is-error { background: rgba(255, 157, 157, 0.1); color: #ffd4d4; }
[data-theme="dark"] .enquiry__status.is-info { background: rgba(197, 164, 109, 0.1); color: var(--on-dark); }
[data-theme="dark"] .enquiry { border: 1px solid rgba(197, 164, 109, 0.22); border-top: 3px solid var(--gold-500); }

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

.site-footer {
  border-top: 1px solid rgba(197, 164, 109, 0.35);
  background: var(--navy-950);
  color: var(--on-dark);
}

.footer-main { display: grid; gap: 48px; padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; }
}

.footer-brand__line {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gold-300);
}

.footer-nav { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px; }
.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: inline-block;
  padding: 5px 0;
  font-size: 0.9375rem;
  color: #cfd7de;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--gold-300); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  position: relative;
  padding-block: 24px 32px;
  font-size: 0.8125rem;
  color: #95a3b0;
}
/* Divider aligned with the content edges, not the container padding */
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line-dark);
}
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
@media (max-width: 639.98px) {
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .site-footer .footer-meta > span + span::before { display: none; }
}
.footer-meta > span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 2px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.footer-legal { display: flex; flex-wrap: wrap; }
.footer-legal li + li::before { content: "|"; margin: 0 14px; color: rgba(255, 255, 255, 0.25); }
.footer-legal a { transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--gold-300); }

/* ==========================================================================
   Interior pages
   ========================================================================== */

/* Current page in secondary navigation */
.submenu a[aria-current="page"],
.footer-nav a[aria-current="page"],
.footer-legal a[aria-current="page"] { color: var(--gold-300); }

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  min-height: clamp(560px, 76svh, 760px);
  padding: calc(var(--header-h) + 56px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 26, 44, 0.94) 0%, rgba(8, 26, 44, 0.8) 38%, rgba(8, 26, 44, 0.4) 72%, rgba(8, 26, 44, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 19, 31, 0.85) 0%, rgba(6, 19, 31, 0) 30%, rgba(6, 19, 31, 0) 60%, rgba(8, 26, 44, 0.9) 100%);
}
@media (max-width: 767.98px) {
  .page-hero::before {
    background: linear-gradient(180deg, rgba(6, 19, 31, 0.8) 0%, rgba(8, 26, 44, 0.72) 40%, rgba(8, 26, 44, 0.94) 100%);
  }
}

.page-hero--plain {
  min-height: 460px;
  min-height: clamp(460px, 62svh, 620px);
  background: radial-gradient(110% 110% at 88% 0%, #17395b 0%, var(--navy-900) 62%);
}
.page-hero--plain::before { background: linear-gradient(180deg, rgba(6, 19, 31, 0) 55%, rgba(6, 19, 31, 0.55) 100%); }
.page-hero--compact { min-height: 380px; }

.page-hero__rose {
  top: -140px;
  right: -200px;
  z-index: -1;
  width: min(780px, 120vw);
  height: auto;
  aspect-ratio: 1;
  opacity: 0.12;
}

.page-hero__inner { position: relative; }
.page-hero__title {
  max-width: 15em;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}
.page-hero__title em { font-style: italic; color: var(--gold-400); }
.page-hero__lead {
  max-width: 36em;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.65;
  color: #e6eaee;
}

/* ---------- Shared building blocks ---------- */

.btn--navy {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
}
.btn--navy:hover { transform: translateY(-2px); background: var(--navy-700); border-color: var(--navy-700); }
[data-theme="dark"] .btn--navy { border-color: var(--gold-500); background: transparent; color: var(--gold-300); }
[data-theme="dark"] .btn--navy:hover { background: rgba(197, 164, 109, 0.12); }
.about__content .btn { margin-top: 34px; }

.inline-link {
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}
.inline-link:hover { color: var(--accent); }

.muted { color: var(--text-muted); }

.split { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .split--center { align-items: center; }
}
.split .lead { margin: 24px 0 18px; }
.split__intro > p:not(.eyebrow):not(.lead) { max-width: 34em; color: var(--text-muted); }

.list-panel {
  padding: clamp(28px, 4vw, 48px);
  border-top: 3px solid var(--gold-500);
  background: var(--surface-ivory);
  box-shadow: 0 30px 60px -42px rgba(8, 26, 44, 0.45);
}
.list-panel__title {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-strong);
}

.check-list { display: grid; }
.check-list li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  top: calc(13px + 0.75em - 3px);
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
@media (min-width: 640px) {
  .check-list--two { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
.check-list--compact li { padding-block: 9px; font-size: 0.95rem; }
.check-list--compact li::before { top: calc(9px + 0.75em - 3px); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  padding: 10px 18px;
  border: 1px solid rgba(197, 164, 109, 0.4);
  border-radius: 999px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
}

.tiles {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-strong);
}
.tiles li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

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

.prose { max-width: 760px; }
.prose .lead { margin-bottom: 20px; }
.prose p + p { margin-top: 16px; }
.prose > p:not(.lead) { color: var(--text-muted); }

/* ---------- Home: secondary services ---------- */

.also { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .also { grid-template-columns: 1fr 1fr; gap: 24px; } }
.also__link {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
  padding: 26px 30px;
  border: 1px solid rgba(197, 164, 109, 0.22);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.also__link:hover { border-color: rgba(197, 164, 109, 0.55); background: rgba(197, 164, 109, 0.06); }
.also__icon { width: 42px; height: 42px; stroke-width: 1.3; color: var(--gold-500); }
.also__text { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.also__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: #fff; }
.also__desc { font-size: 0.94rem; line-height: 1.5; color: var(--on-dark-muted); }
.also__arrow { width: 20px; height: 20px; color: var(--gold-500); transition: transform 0.35s var(--ease); }
.also__link:hover .also__arrow { transform: translateX(5px); }

/* ---------- Services overview rows ---------- */

.service-rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.service-row {
  display: grid;
  gap: 32px;
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
@media (min-width: 900px) {
  .service-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(48px, 6vw, 96px); }
  .service-row:nth-child(even) .service-row__media { order: 2; }
}
.service-row__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__media::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(227, 204, 159, 0.5);
  pointer-events: none;
}
.service-row__media--icon {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #17395b, var(--navy-900) 70%);
}
.service-row__media--icon .rose { inset: 8%; width: 84%; height: 84%; opacity: 0.25; }
.service-row__media--icon .icon { position: relative; width: 96px; height: 96px; stroke-width: 1; color: var(--gold-500); }

.service-row__num {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.service-row__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--text-strong);
}
.service-row__tagline {
  margin: 8px 0 18px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--accent-em);
}
.service-row__body > p:not([class]) { color: var(--text-muted); }
.service-row .check-list { margin: 22px 0 30px; }

/* ---------- Related services cards ---------- */

.link-cards { display: grid; gap: 24px; }
@media (min-width: 720px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .link-cards { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
}
/* Five cards (About page): two large on top, three below */
@media (min-width: 1024px) {
  .link-cards:has(> :nth-child(5)) { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .link-cards:has(> :nth-child(5)) > * { grid-column: span 2; }
  .link-cards:has(> :nth-child(5)) > :nth-child(-n + 2) { grid-column: span 3; }
}
.link-card__link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.link-card__media { position: absolute; inset: 0; z-index: -2; }
.link-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.link-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 26, 44, 0.1) 0%, rgba(8, 26, 44, 0.55) 45%, rgba(8, 26, 44, 0.96) 100%);
}
.link-card__link:hover .link-card__media img { transform: scale(1.06); }
.link-card__media--icon {
  display: grid;
  place-items: start center;
  padding-top: 18%;
  background: radial-gradient(circle at 30% 15%, #17395b, var(--navy-900) 70%);
}
.link-card__media--icon .rose { top: -10%; left: 50%; width: 110%; height: auto; aspect-ratio: 1; opacity: 0.2; transform: translateX(-50%); }
.link-card__media--icon .icon {
  position: relative;
  width: 84px;
  height: 84px;
  stroke-width: 1;
  color: var(--gold-500);
  transition: transform 1.4s var(--ease);
}
.link-card__link:hover .link-card__media--icon .icon { transform: scale(1.08); }
.link-card__body { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding: 30px; }
.link-card__num { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-400); }
.link-card__title { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; line-height: 1.15; }
.link-card__tagline { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; line-height: 1.3; color: var(--gold-300); }
.link-card__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(197, 164, 109, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.link-card__more .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-card__link:hover .link-card__more .icon { transform: translateX(5px); }

/* ---------- Closing call to action ---------- */

.cta-band {
  overflow: hidden;
  background: radial-gradient(100% 140% at 50% 0%, #17395b 0%, var(--navy-900) 62%);
  text-align: center;
}
.cta-band__rose {
  top: 50%;
  left: 50%;
  width: 920px;
  height: auto;
  aspect-ratio: 1;
  opacity: 0.08;
  transform: translate(-50%, -50%);
}
.container.cta-band__inner { position: relative; max-width: calc(880px + var(--gutter) * 2); }
.cta-band__text { max-width: 38em; margin: 24px auto 0; color: var(--text-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }

/* ---------- Lead magnet: guide download ---------- */

.guide-offer { scroll-margin-top: var(--header-h); }

.guide-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 40px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-top: 3px solid var(--gold-500);
  background: radial-gradient(110% 120% at 0% 0%, #17395b 0%, var(--navy-900) 60%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) {
  .guide-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(48px, 6vw, 88px);
  }
}
.guide-card__rose {
  top: -220px;
  left: -240px;
  z-index: -1;
  width: 760px;
  height: auto;
  aspect-ratio: 1;
  opacity: 0.1;
}

.guide-card__cover {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  perspective: 1400px;
}
@media (min-width: 960px) { .guide-card__cover { max-width: 380px; } }
.guide-card__cover img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 44px 60px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(197, 164, 109, 0.28);
  transform: rotateY(-10deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
}
.guide-card:hover .guide-card__cover img { transform: rotateY(-2deg); }
/* Spine highlight on the left edge of the "book" */
.guide-card__cover::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.guide-card__lead {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: #e6eaee;
}
.guide-card__points { display: grid; gap: 8px; margin-top: 22px; }
.guide-card__points li { position: relative; padding-left: 24px; line-height: 1.5; color: var(--on-dark); }
.guide-card__points li::before {
  content: "";
  position: absolute;
  top: calc(0.75em - 3px);
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.guide-card__note {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 2px solid var(--gold-500);
  background: rgba(197, 164, 109, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gold-200);
}

.guide-form { margin-top: 30px; }
.guide-form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .guide-form__grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; } }

.field--check { display: flex; align-items: flex-start; gap: 12px; }
.field--check input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--gold-500);
  cursor: pointer;
}
.field--check label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  cursor: pointer;
}

.guide-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.guide-form__privacy { flex: 1 1 220px; font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); }
.guide-form__privacy a { color: var(--text-strong); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
@media (max-width: 639.98px) { .guide-form__footer .btn { width: 100%; } }

/* Guide landing page: chapter list */
.chapter-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-strong);
}
.chapter-list span {
  min-width: 2em;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* Thank-you page */
.thank-you { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) {
  .thank-you { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 64px; }
}
.thank-you__cover {
  width: 180px;
  border-radius: 2px;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(197, 164, 109, 0.3);
  transform: rotate(3deg);
}
@media (min-width: 900px) { .thank-you__cover { width: 100%; justify-self: end; } }

.next-steps { border-top: 1px solid var(--line); }
.next-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.next-steps__num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
}
.next-steps h3 {
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-strong);
}
.next-steps p { color: var(--text-muted); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 12s var(--ease) both; }
  .hero__line,
  .hero__lead-text,
  .hero__actions { animation: launchfolio-fade 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .hero__line:nth-child(2) { animation-delay: 0.05s; }
  .hero__lead-text { animation-delay: 0.1s; }
  .hero__actions { animation-delay: 0.15s; }
  /* The blur patches fade in with their text (opacity only, so the blur itself is never interrupted). */
  .hero__title::before,
  .hero__lead::before { animation: veil-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .hero__lead::before { animation-delay: 0.1s; }
  .hero__scroll-line { animation: scroll-cue 2.6s var(--ease) infinite; }

  /* Interior page heroes use the same blur-to-sharp fade as the reference. */
  .page-hero__media img { animation: hero-settle 12s var(--ease) both; }
  .page-hero__inner > * { animation: launchfolio-fade 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .page-hero__inner > :nth-child(2) { animation-delay: 0.05s; }
  .page-hero__inner > :nth-child(3) { animation-delay: 0.1s; }
  .page-hero__inner > :nth-child(4) { animation-delay: 0.15s; }
  .page-hero__inner > :nth-child(5) { animation-delay: 0.2s; }

  /* Launchfolio-style scroll reveal: fade from soft focus to sharp, with no slide. */
  .js [data-reveal] {
    opacity: 0.001;
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, filter;
  }
  /* Legacy direction values intentionally share one consistent reveal. */
  .js [data-reveal].is-visible { opacity: 1; filter: blur(0); will-change: auto; }

  /* Keep service-card hover effects alongside the reveal transition. */
  .js .area[data-reveal] {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) var(--reveal-delay, 0s),
      filter 0.8s cubic-bezier(0.4, 0, 0.2, 1) var(--reveal-delay, 0s),
      border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }

  /* Reference-matched stagger: each child starts 50ms after the previous one. */
  .js [data-stagger] > * {
    opacity: 0.001;
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--stagger-base, 0s) + var(--i, 0) * 0.05s);
    will-change: opacity, filter;
  }
  .js [data-stagger].is-visible > * { opacity: 1; filter: blur(0); will-change: auto; }
}

main { overflow-x: clip; }

@keyframes launchfolio-fade {
  from { opacity: 0.001; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes veil-in {
  from { opacity: 0; }
}

@keyframes hero-settle {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

@keyframes scroll-cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

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

/* ---------- Print ---------- */

@media print {
  .site-header,
  .hero__scroll,
  .rose,
  .enquiry { display: none; }
  .hero { min-height: 0; padding-top: 40px; }
  .js [data-reveal],
  .js [data-stagger] > * { opacity: 1; filter: none; transform: none; }
}
