/* ==========================================================================
   Optimus — Executive Luxury, image-led edition
   Shared stylesheet for index.html, about.html and services.html

   Contents
    1. Tokens            9. Editorial stories        17. Services page
    2. Base             10. Statement                18. Invitation band
    3. Buttons & links  11. Columns & lists          19. Contact & form
    4. Header & nav     12. Timeline                 20. Footer
    5. Media & fallback 13. Commitments              21. Reveal
    6. Home hero        14. Values                   22. Reduced motion
    7. Page hero        15. Image band
    8. Service cards    16. Service index
   ========================================================================== */

/* 1. Tokens
   ------------------------------------------------------------------------ */
:root {
  --char: #1C1C1E;
  --char-2: #252528;
  --char-3: #2E2E32;
  --ivory: #F2EEE5;
  --ivory-2: #E9E3D7;
  --ivory-3: #F8F5EE;
  --gold: #C8B07A;
  --gold-light: #D9C597;
  --gold-deep: #8F7745;
  --stone: #A39E93;
  --text: #1C1C1E;
  --text-2: #5C5850;
  --text-on-dark: #F2EEE5;
  --text-on-dark-2: #C9C3B8;
  --line-light: #D9D2C3;
  --line-dark: #3A3A40;
  --error: #9B2C2C;
  --notice-bg: #F1E7CF;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --header-h: 84px;
  --section: clamp(80px, 10vw, 136px);

  --ease: cubic-bezier(.6, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .7, .1, 1);

  /* Champagne arch motif, used as the image fallback */
  --arch-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cg fill='none' stroke='%23C8B07A' stroke-opacity='.45' stroke-width='1.2'%3E%3Cpath d='M20 240V100a80 80 0 0 1 160 0v140'/%3E%3Cpath d='M50 240V110a50 50 0 0 1 100 0v130'/%3E%3Cpath d='M0 210h200' stroke-opacity='.25'/%3E%3C/g%3E%3C/svg%3E");
}

/* 2. Base
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--char); }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--gold); color: var(--char);
  padding: 12px 18px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.dark { background: var(--char); color: var(--text-on-dark); }
.dark-2 { background: var(--char-2); color: var(--text-on-dark); }
.ivory-2 { background: var(--ivory-2); }

.section { padding-block: var(--section); }
.section-end { padding-bottom: var(--section); }
.stack-top { margin-top: clamp(64px, 8vw, 104px); }

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head p { max-width: 44ch; color: var(--text-2); line-height: 1.75; }
.dark .section-head p, .dark-2 .section-head p { color: var(--text-on-dark-2); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.005em;
  max-width: 17ch;
  text-wrap: balance;
}

.kicker {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; letter-spacing: .12em; color: var(--gold-deep);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.dark .kicker, .dark-2 .kicker, .on-image .kicker { color: var(--gold); }

/* 3. Buttons and links
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; padding: 17px 30px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--char); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost { border-color: rgba(242, 238, 229, .55); color: var(--ivory); background: transparent; }
.btn-ghost:hover { background: var(--ivory); color: var(--char); border-color: var(--ivory); }
.btn-line { border-color: var(--gold); color: var(--gold); background: transparent; padding: 12px 22px; font-size: 13px; letter-spacing: .1em; white-space: nowrap; }
.btn-line:hover { background: var(--gold); color: var(--char); }
.btn-dark { background: var(--char); color: var(--ivory); border-color: var(--char); }
.btn-dark:hover { background: var(--char-3); border-color: var(--char-3); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Arrow made of a gold rule; it extends on hover of its parent link */
.arrow { display: inline-block; position: relative; width: 26px; height: 1px; background: currentColor; transition: width .45s var(--ease); flex: none; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
a:hover .arrow, a:focus-visible .arrow { width: 42px; }

.text-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; letter-spacing: .08em; font-weight: 400;
  text-decoration: none; color: var(--gold-deep);
}
.dark .text-link, .dark-2 .text-link, .on-image .text-link { color: var(--gold); }

/* 4. Header and navigation
   ------------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--text-on-dark);
  background: linear-gradient(rgba(20, 20, 22, .6), rgba(20, 20, 22, 0));
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: var(--char);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.logo {
  font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: .01em; line-height: 1;
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit;
}
.logo i { width: 26px; height: 1px; background: var(--gold); transition: width .5s var(--ease); }
.logo:hover i { width: 40px; }

.nav-list { display: flex; gap: 40px; list-style: none; }
.nav-list a {
  font-size: 14px; letter-spacing: .06em; text-decoration: none; padding-block: 8px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.nav-list a:hover { background-size: 100% 1px; }
.nav-list a[aria-current="page"] { color: var(--gold); background-size: 100% 1px; }

.header-cta { background: var(--gold); color: var(--char); border-color: var(--gold); padding: 13px 22px; font-size: 13px; letter-spacing: .1em; }
.header-cta:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--char); }

.nav-toggle {
  display: none; appearance: none; background: none; border: 0; color: inherit;
  width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
  background: var(--char); color: var(--text-on-dark);
  padding-block: 32px calc(40px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }
.mobile-menu ul { list-style: none; display: grid; border-top: 1px solid var(--line-dark); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu ul a { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; font-family: var(--serif); font-size: 34px; line-height: 1.1; text-decoration: none; }
.mobile-menu ul a[aria-current="page"] { color: var(--gold); }
.mobile-menu ul a::after { content: ""; width: 24px; height: 1px; background: var(--gold); }
.mobile-menu .btn { margin-top: 36px; width: 100%; }
.mobile-menu .menu-tag { margin-top: 28px; color: var(--stone); font-size: 14px; letter-spacing: .12em; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .logo { font-size: 24px; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* 5. Media and image fallback
   ------------------------------------------------------------------------
   Every photograph sits in a .media box. The box shows the charcoal arch
   motif behind the image, so a slow or failed image still looks deliberate.
   main.js adds .is-failed when an image cannot load. */
.media {
  position: relative; overflow: hidden;
  background: var(--char-2) var(--arch-motif) center / min(46%, 220px) no-repeat;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media.is-failed img { visibility: hidden; }

/* Offset champagne frame behind feature images */
.framed { position: relative; isolation: isolate; }
.framed::before {
  content: ""; position: absolute; z-index: -1;
  inset: 18px -18px -18px 18px; border: 1px solid var(--gold);
  transition: inset .8s var(--ease-out);
}
.framed.left::before { inset: 18px 18px -18px -18px; }
.framed .media img { transition: transform 1.4s var(--ease-out); }
.framed:hover .media img { transform: scale(1.04); }
.framed:hover::before { inset: 10px -10px -10px 10px; }
.framed.left:hover::before { inset: 10px 10px -10px -10px; }

/* 6. Home hero
   ------------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(660px, 94svh, 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--char); color: var(--text-on-dark);
}
.hero > .media { position: absolute; inset: 0; z-index: -2; }
.hero > .media img { object-position: 60% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 24, 26, .94) 0%, rgba(24, 24, 26, .8) 38%, rgba(24, 24, 26, .35) 70%, rgba(24, 24, 26, .3) 100%),
    linear-gradient(0deg, rgba(24, 24, 26, .85) 0%, rgba(24, 24, 26, 0) 40%);
}
.js .hero > .media img { animation: settle 2.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 96px); padding-bottom: 72px; position: relative; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6vw, 92px); line-height: 1; letter-spacing: -.012em;
  max-width: 16em; text-wrap: balance;
}
.hero h1 span { display: block; }

.tagline { display: flex; align-items: center; gap: 18px; margin-top: 32px; font-size: 15px; letter-spacing: .12em; color: var(--gold); }
.tagline::before { content: ""; width: 48px; height: 1px; background: var(--gold); flex: none; }

.lede { max-width: 52ch; color: #DAD4C9; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; margin-top: 24px; }
.ctas { display: flex; gap: 16px; align-items: center; margin-top: 40px; flex-wrap: wrap; }

.js .hero-copy > * { animation: rise 1.1s var(--ease-out) both; }
.js .hero-copy > *:nth-child(2) { animation-delay: .15s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .25s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .35s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Gold arch, carried over from the original concept, drawn over the photo */
.hero-arch { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 0; width: clamp(180px, 22vw, 320px); height: auto; pointer-events: none; }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s var(--ease) .4s forwards; }
.js .draw.d2 { animation-delay: .75s; }
.js .draw.d3 { animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Quick links to each service along the foot of the hero */
.hero-links { border-top: 1px solid rgba(242, 238, 229, .18); position: relative; }
.hero-links ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-links li + li { border-left: 1px solid rgba(242, 238, 229, .18); }
.hero-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; text-decoration: none; font-size: 14.5px; letter-spacing: .04em;
  transition: background-color .4s var(--ease), color .3s;
}
.hero-links li:first-child a { padding-left: 0; }
.hero-links a:hover { color: var(--gold); }
.hero-links .arrow { width: 18px; color: var(--gold); }
.hero-links a:hover .arrow { width: 30px; }

@media (max-width: 1100px) { .hero-arch { display: none; } }
@media (max-width: 960px) {
  .hero-links ul { grid-template-columns: 1fr 1fr; }
  .hero-links li:nth-child(3) { border-left: 0; }
  .hero-links li:nth-child(n+3) { border-top: 1px solid rgba(242, 238, 229, .18); }
  .hero-links li:nth-child(3) a { padding-left: 0; }
}
@media (max-width: 560px) {
  .hero-inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: 48px; }
  .hero::before { background: linear-gradient(0deg, rgba(24, 24, 26, .95) 0%, rgba(24, 24, 26, .78) 55%, rgba(24, 24, 26, .5) 100%); }
  .hero-links ul { grid-template-columns: 1fr; }
  .hero-links li + li { border-left: 0; border-top: 1px solid rgba(242, 238, 229, .18); }
  .hero-links a, .hero-links li:nth-child(3) a { padding: 16px 0; }
  .ctas .btn { flex: 1 1 100%; }
}

/* 7. Inner page hero (About, Services)
   ------------------------------------------------------------------------ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 70svh, 700px);
  display: flex; align-items: flex-end;
  background: var(--char); color: var(--text-on-dark);
}
.page-hero > .media { position: absolute; inset: 0; z-index: -2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 24, 26, .92) 0%, rgba(24, 24, 26, .72) 45%, rgba(24, 24, 26, .3) 100%),
    linear-gradient(0deg, rgba(24, 24, 26, .7) 0%, rgba(24, 24, 26, 0) 50%);
}
.js .page-hero > .media img { animation: settle 2.6s var(--ease-out) both; }
.page-hero .wrap { width: 100%; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(56px, 7vw, 88px); }
.breadcrumb { display: flex; gap: 12px; list-style: none; font-size: 13px; letter-spacing: .08em; color: var(--text-on-dark-2); margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: 12px; color: var(--stone); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 5.8vw, 88px); line-height: 1.01; letter-spacing: -.01em;
  max-width: 15ch; text-wrap: balance;
}
.page-hero .lede { margin-top: 26px; }
@media (max-width: 560px) {
  .page-hero::before { background: linear-gradient(0deg, rgba(24, 24, 26, .95) 0%, rgba(24, 24, 26, .75) 60%, rgba(24, 24, 26, .55) 100%); }
}

/* 8. Image-led service cards
   ------------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(460px, 38vw, 560px); height: 100%;
  color: var(--text-on-dark); text-decoration: none; background: var(--char-2);
}
.card > .media { position: absolute; inset: 0; z-index: -2; }
.card > .media img { transition: transform 1.4s var(--ease-out); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(22, 22, 24, .96) 0%, rgba(22, 22, 24, .78) 38%, rgba(22, 22, 24, .2) 70%, rgba(22, 22, 24, .05) 100%);
  transition: background-color .6s var(--ease);
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .7s var(--ease);
}
.card:hover > .media img, .card:focus-visible > .media img { transform: scale(1.07); }
.card:hover::after, .card:focus-visible::after { width: 100%; }
.card:hover::before { background-color: rgba(22, 22, 24, .2); }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.card-body { padding: clamp(24px, 2.4vw, 32px); display: grid; gap: 12px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 2.2vw, 32px); line-height: 1.08; }
.card p { color: #DCD6CB; font-size: 15px; line-height: 1.65; }
.card .more { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--gold); font-size: 13.5px; letter-spacing: .1em; }
.card:hover .arrow, .card:focus-visible .arrow { width: 42px; }

@media (max-width: 1100px) { .cards { grid-template-columns: 1fr 1fr; } .card { min-height: 480px; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { min-height: 420px; } }

/* 9. Editorial stories
   ------------------------------------------------------------------------ */
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.story > .framed { grid-column: 1 / 8; }
.story > .story-text { grid-column: 9 / 13; }
.story.reverse > .framed { grid-column: 6 / 13; grid-row: 1; }
.story.reverse > .story-text { grid-column: 1 / 5; grid-row: 1; }
.story .media { aspect-ratio: 4 / 3; }
.story-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; text-wrap: balance; }
.story-text p { color: var(--text-2); margin-top: 22px; font-size: 16.5px; }
.story-text .text-link { margin-top: 32px; }
.media-link { display: block; }

/* Full-bleed story with an ivory panel over the photograph */
.story-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 72vh, 760px);
  display: flex; align-items: center;
  background: var(--char);
}
.story-band > .media { position: absolute; inset: 0; z-index: -1; }
.story-band > .media img { transition: transform 1.6s var(--ease-out); }
.story-band:hover > .media img { transform: scale(1.03); }
.story-band .wrap { width: 100%; padding-block: 72px; }
.panel {
  margin-left: auto; max-width: 540px;
  background: var(--ivory); padding: clamp(32px, 4vw, 56px);
  border-top: 2px solid var(--gold);
}
.panel h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.06; text-wrap: balance; }
.panel p { color: var(--text-2); margin-top: 20px; }
.panel .links { display: grid; gap: 14px; margin-top: 30px; }

@media (max-width: 900px) {
  .story > .framed, .story.reverse > .framed { grid-column: 1 / -1; grid-row: auto; margin-right: 18px; }
  .story.reverse > .framed { margin-right: 0; margin-left: 18px; }
  .story > .story-text, .story.reverse > .story-text { grid-column: 1 / -1; grid-row: auto; margin-top: 40px; }
  .story-band { min-height: 0; flex-direction: column; align-items: stretch; }
  .story-band > .media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .story-band .wrap { padding-block: 0 56px; margin-top: -64px; }
  .panel { margin-left: 0; max-width: none; }
}

/* 10. Statement
   ------------------------------------------------------------------------ */
.statement { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: var(--section); }
.statement-label { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.3; color: var(--gold-deep); }
.statement-lead { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.25; max-width: 28ch; text-wrap: balance; }
.statement-body { display: grid; gap: 20px; margin-top: 32px; max-width: 62ch; color: var(--text-2); font-size: 17px; }
@media (max-width: 820px) { .statement { grid-template-columns: 1fr; gap: 24px; } }

/* 11. Columns and lists
   ------------------------------------------------------------------------ */
.colonnade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.col { border-top: 1px solid var(--gold); padding-top: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.col::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold-deep); transition: width .6s var(--ease); }
.col:hover::before { width: 100%; }
.col h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.12; }
.col p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .colonnade { grid-template-columns: 1fr; gap: 32px; } }

.dash-list { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.dash-list li { display: flex; gap: 14px; align-items: baseline; }
.dash-list li::before { content: ""; width: 12px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }

/* 12. Timeline (Roman numerals denote sequence)
   ------------------------------------------------------------------------ */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 176, 122, .15));
}
.timeline li { position: relative; }
.timeline .num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--char);
  font-family: var(--serif); font-size: 24px; color: var(--gold); line-height: 1;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.timeline li:hover .num { background: var(--gold); color: var(--char); }
.timeline h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 28px 0 10px; }
.timeline p { color: var(--text-on-dark-2); font-size: 15.5px; }

@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(200, 176, 122, .15)); }
  .timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 40px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline h3 { margin-top: 10px; }
}

/* 13. Commitments (About)
   ------------------------------------------------------------------------ */
.commitments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: clamp(64px, 8vw, 96px); }
.commitments div { background: var(--char); padding: 32px 28px; }
.commitments h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--gold); margin-bottom: 10px; }
.commitments p { color: var(--text-on-dark-2); font-size: 15px; }
@media (max-width: 1020px) { .commitments { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .commitments { grid-template-columns: 1fr; } }

/* 14. Values (About)
   ------------------------------------------------------------------------ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.value { border-top: 1px solid var(--gold); padding-top: 28px; }
.value h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.value p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

/* 15. Full-width image band with statement
   ------------------------------------------------------------------------ */
.image-band { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(380px, 48vw, 560px); display: flex; align-items: flex-end; color: var(--text-on-dark); background: var(--char); }
.image-band > .media { position: absolute; inset: 0; z-index: -2; }
.image-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(24, 24, 26, .9) 0%, rgba(24, 24, 26, .35) 60%, rgba(24, 24, 26, .15) 100%); }
.image-band .wrap { width: 100%; padding-block: clamp(48px, 6vw, 80px); }
.image-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4.4vw, 62px); line-height: 1.06; max-width: 20ch; text-wrap: balance; }

/* 16. Service index (links to the four services)
   ------------------------------------------------------------------------ */
.service-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; }
.service-index a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; border-top: 1px solid var(--gold); padding-top: 26px; position: relative; height: 100%; }
.service-index a::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold-deep); transition: width .6s var(--ease); }
.service-index a:hover::before, .service-index a:focus-visible::before { width: 100%; }
.service-index strong { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.12; }
.service-index p { color: var(--text-2); font-size: 15px; }
.service-index .text-link { margin-top: auto; padding-top: 8px; }
@media (max-width: 1020px) { .service-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-index { grid-template-columns: 1fr; gap: 32px; } }

/* 17. Services page
   ------------------------------------------------------------------------ */
.subnav {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 50;
  background: rgba(242, 238, 229, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.subnav ul { list-style: none; display: flex; gap: clamp(24px, 3.4vw, 48px); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding-block: 20px 18px;
  font-size: 14px; letter-spacing: .06em; text-decoration: none; color: var(--text-2);
  border-bottom: 2px solid transparent;
  transition: color .3s, border-color .3s;
}
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--text); border-bottom-color: var(--gold); }

.svc { padding-block: var(--section); scroll-margin-top: 49px; } /* html scroll-padding covers the header; this clears the sub-navigation */
.svc + .svc { border-top: 1px solid var(--line-light); }
.svc.ivory-2 + .svc, .svc + .svc.ivory-2 { border-top: 0; }
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.svc.reverse .svc-intro > .framed { order: -1; }
.svc-intro .media { aspect-ratio: 5 / 4; }
.svc-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; text-wrap: balance; }
.svc-summary { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 26px); line-height: 1.35; color: var(--gold-deep); margin-top: 20px; }
.svc-text p.body { color: var(--text-2); font-size: 16.5px; margin-top: 20px; max-width: 54ch; }
.svc-text .btn { margin-top: 32px; }

.svc-details { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(48px, 7vw, 112px); margin-top: clamp(64px, 8vw, 104px); align-items: start; }
.svc-details h3 {
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--gold-deep);
  display: flex; align-items: center; gap: 16px; margin-bottom: 26px;
}
.svc-details h3::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.svc-side { display: grid; gap: 48px; }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; list-style: none; }
.areas h4 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; margin-bottom: 6px; }
.areas p { color: var(--text-2); font-size: 15px; }

.scope-note { border: 1px solid var(--gold); background: var(--ivory-3); padding: 24px 28px; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); margin-top: 56px; }
.scope-note strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); }

@media (max-width: 960px) {
  .svc-intro, .svc-details { grid-template-columns: 1fr; }
  .svc-intro > .framed, .svc.reverse .svc-intro > .framed { order: -1; margin-right: 18px; }
}
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }

/* Split layout with sticky heading (used for principles) */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.split .h2 { position: sticky; top: calc(var(--header-h) + 40px); }
.principles { list-style: none; display: grid; }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding-block: 32px; border-top: 1px solid var(--line-light); }
.principles li:last-child { border-bottom: 1px solid var(--line-light); }
.principles .mark { width: 24px; height: 1px; background: var(--gold); margin-top: 18px; }
.principles h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin-bottom: 8px; }
.principles p { color: var(--text-2); max-width: 54ch; }
.dark .principles li { border-top-color: var(--line-dark); }
.dark .principles li:last-child { border-bottom-color: var(--line-dark); }
.dark .principles p { color: var(--text-on-dark-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .h2 { position: static; } }

/* 18. Invitation band
   ------------------------------------------------------------------------ */
.invite { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(104px, 12vw, 152px); background: var(--char-2); color: var(--text-on-dark); }
.invite > .media { position: absolute; inset: 0; z-index: -2; }
.invite::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24, 24, 26, .78); }
.invite h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 78px); line-height: 1.04; margin-bottom: 20px; text-wrap: balance; }
.invite p { color: var(--text-on-dark-2); max-width: 50ch; margin: 0 auto 40px; }
.invite .ctas { justify-content: center; }

/* 19. Contact section and enquiry form
   ------------------------------------------------------------------------ */
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--char); color: var(--text-on-dark); }
.contact > .media { position: absolute; inset: 0; z-index: -2; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 24, 26, .95) 0%, rgba(24, 24, 26, .86) 50%, rgba(24, 24, 26, .7) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(48px, 7vw, 112px); align-items: start; padding-block: var(--section); }
.contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-intro h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 84px); line-height: 1; text-wrap: balance; }
.contact-intro p.intro { color: var(--text-on-dark-2); margin-top: 24px; max-width: 42ch; font-size: 17px; }

.next-steps { list-style: none; margin-top: 44px; display: grid; }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; padding-block: 18px; border-top: 1px solid rgba(242, 238, 229, .16); }
.next-steps li:last-child { border-bottom: 1px solid rgba(242, 238, 229, .16); }
.next-steps .num { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1.1; }
.next-steps strong { display: block; font-weight: 500; margin-bottom: 2px; }
.next-steps .d { color: var(--text-on-dark-2); font-size: 15px; }

.contact-details { list-style: none; margin-top: 36px; display: grid; gap: 10px; font-size: 15px; }
.contact-details span { color: var(--stone); display: inline-block; min-width: 80px; }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--gold); }

.enquiry-form {
  background: var(--ivory-3); color: var(--text);
  border-top: 2px solid var(--gold);
  padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.form-title { grid-column: 1 / -1; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.req { color: var(--gold-deep); }
.optional { color: var(--text-2); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 300; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid #B9B1A1; border-radius: 0;
  padding: 10px 0 12px; transition: border-color .3s var(--ease); appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238F7745' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; background-size: 12px;
  padding-right: 28px; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--gold-deep); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 1px solid var(--char); box-shadow: 0 1px 0 0 var(--char); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field-error { color: var(--error); font-size: 13.5px; font-weight: 400; }
.field-error:empty { display: none; }
.field-hint { color: var(--text-2); font-size: 13px; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--text-2); }
.check input { appearance: none; width: 20px; height: 20px; border: 1px solid #B9B1A1; margin: 3px 0 0; display: grid; place-items: center; cursor: pointer; background: transparent; }
.check input::after { content: ""; width: 10px; height: 10px; background: var(--gold-deep); transform: scale(0); transition: transform .2s var(--ease); }
.check input:checked::after { transform: scale(1); }
.check input:checked { border-color: var(--gold-deep); }
.check input[aria-invalid="true"] { border-color: var(--error); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-actions .privacy { color: var(--text-2); font-size: 13px; }
.form-status { grid-column: 1 / -1; padding: 18px 20px; font-size: 15px; border-left: 2px solid var(--gold-deep); background: var(--notice-bg); color: var(--text); }
.form-status[data-state="error"] { border-left-color: var(--error); }
.form-status strong { display: block; font-weight: 500; margin-bottom: 2px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .contact::before { background: rgba(24, 24, 26, .9); }
}
@media (max-width: 600px) { .enquiry-form { grid-template-columns: 1fr; } }

/* 20. Footer
   ------------------------------------------------------------------------ */
.site-footer { background: var(--char); color: var(--text-on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding-block: clamp(64px, 8vw, 96px) 56px; }
.footer-brand .logo { font-size: 26px; }
.footer-brand p { margin-top: 20px; color: var(--gold); font-size: 14px; letter-spacing: .12em; }
.footer-col h2 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--stone); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-col a { text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); color: var(--stone); font-size: 13px; }
.footer-base p { max-width: 70ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 21. Scroll reveal (progressive: content stays visible without JS)
   ------------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > .reveal:nth-child(2) { transition-delay: .1s; }
.js .reveal-group > .reveal:nth-child(3) { transition-delay: .2s; }
.js .reveal-group > .reveal:nth-child(4) { transition-delay: .3s; }
.js .reveal-group > .reveal:nth-child(5) { transition-delay: .4s; }
.js .reveal-group > .reveal:nth-child(6) { transition-delay: .5s; }

/* 22. Reduced motion
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .draw { stroke-dashoffset: 0; animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-copy > *, .js .hero > .media img, .js .page-hero > .media img { animation: none; }
  .card:hover > .media img, .framed:hover .media img, .story-band:hover > .media img { transform: none; }
}
