/* ==========================================================================
   Hospitality IDS — Design System
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0d0e11;
  --charcoal: #15171b;
  --surface: #1c1f25;
  --surface-2: #252930;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(13, 14, 17, 0.12);
  --cream: #f6f2eb;
  --sand: #ebe4d8;
  --stone: #8f8a80;
  --text: #e9e6e0;
  --muted: #a3a6ad;
  --text-dark: #1b1c1f;
  --muted-dark: #5d5a54;

  /* Brand (from logo) */
  --gold: #e8b317;
  --gold-soft: #f2cd5c;
  --blue: #47b4ff;
  --blue-soft: #8fd0ff;

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 4px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service {
  scroll-margin-top: calc(var(--header-h) + 60px);
}
#inquiry {
  scroll-margin-top: calc(var(--header-h) + 32px);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--light { background: var(--cream); color: var(--text-dark); }
.section--sand { background: var(--sand); color: var(--text-dark); }
.section--charcoal { background: var(--charcoal); }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }

/* Typography ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold) 50%, var(--blue) 50%);
}
.section--light .eyebrow, .section--sand .eyebrow { color: #a27b06; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold-soft); }
.section--light .h2 em, .section--sand .h2 em { color: #a27b06; }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--muted); max-width: 640px; }
.section--light .lead, .section--sand .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; min-height: 56px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--text)); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); --hover: #fff; }
.btn--gold:hover { --fg: var(--ink); border-color: #fff; }
.btn--ghost { --bd: rgba(255,255,255,.35); --hover: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); --hover: var(--gold); }
.btn--dark:hover { color: var(--ink); border-color: var(--gold); }
.btn--outline-dark { --fg: var(--text-dark); --bd: rgba(13,14,17,.3); --hover: var(--ink); }
.btn--outline-dark:hover { color: #fff; border-color: var(--ink); }
.btn--sm { padding: 11px 22px; min-height: 44px; font-size: 12px; letter-spacing: 0.1em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.link-arrow svg { width: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--light .link-arrow, .section--sand .link-arrow { color: #8a6805; }

/* Logo ------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; letter-spacing: -0.01em; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo span { font-size: 21px; line-height: 1.1; }
.logo small {
  display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px; line-height: 1;
}

/* Header ----------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(13, 14, 17, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.nav a {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.78); padding: 6px 0; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold) 50%, var(--blue) 50%);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em; padding: 11px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 40px;
  transition: background .3s, border-color .3s, color .3s;
}
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.header-phone:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.header-phone:hover svg { color: var(--ink); }

.menu-toggle { display: none; width: 46px; height: 46px; position: relative; }
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 16px; background: var(--gold); }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; background: var(--blue); }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero (home) ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(60px, 9vh, 110px); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,14,17,.75) 0%, rgba(13,14,17,.2) 30%, rgba(13,14,17,.35) 55%, rgba(13,14,17,.95) 100%),
    linear-gradient(90deg, rgba(13,14,17,.7) 0%, rgba(13,14,17,0) 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.hero .display { max-width: 900px; margin-bottom: 30px; }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 40px; max-width: 580px; }
.hero-pillars {
  display: flex; flex-direction: column; gap: 2px; min-width: 260px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.hero-pillars a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 0 14px 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,.8); transition: color .3s, padding .4s var(--ease);
}
.hero-pillars a b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; color: var(--gold); letter-spacing: 0; }
.hero-pillars a:hover { color: #fff; padding-left: 32px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 54px; background: rgba(255,255,255,.2); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--gold); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  position: relative;
  min-height: clamp(340px, 44vh, 460px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 38px) 0 clamp(36px, 4.5vw, 56px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--compact {
  min-height: clamp(300px, 38vh, 400px);
  padding: calc(var(--header-h) + 32px) 0 clamp(28px, 3.5vw, 44px);
}
.page-hero .hero-media img { animation-duration: 14s; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,14,17,.75) 0%, rgba(13,14,17,.4) 40%, rgba(13,14,17,.96) 100%);
}
.page-hero .display { font-size: clamp(36px, 4.8vw, 68px); max-width: 900px; margin-bottom: 16px; }
.page-hero .lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 680px; }
.breadcrumb { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); transition: color .3s; }
.breadcrumb a:hover { color: #fff; }

/* Intro statement -------------------------------------------------------- */
.statement {
  font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.2;
  max-width: 1040px; letter-spacing: -0.005em;
}
.statement em { color: #a27b06; }
.statement-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-top: 56px; align-items: center; }

/* Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: 72px; }
.stat { padding: 34px 26px 0 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.stat-num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--text-dark); }
.stat-num sup { font-size: .45em; color: #a27b06; vertical-align: top; margin-left: 2px; }
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-top: 12px; }

/* Pillars (3 services) --------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; display: flex; flex-direction: column; min-height: 560px; overflow: hidden;
  border-radius: var(--radius); isolation: isolate; color: #fff;
}
.pillar img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,14,17,.15) 0%, rgba(13,14,17,.55) 50%, rgba(13,14,17,.95) 100%);
  transition: background .6s var(--ease);
}
.pillar:hover img { transform: scale(1.07); }
.pillar:hover::before { background: linear-gradient(180deg, rgba(13,14,17,.35) 0%, rgba(13,14,17,.8) 45%, rgba(13,14,17,.98) 100%); }
.pillar-num {
  position: absolute; top: 28px; left: 30px; font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--gold);
}
.pillar-body { margin-top: auto; padding: 34px 30px; }
.pillar-body p {
  color: rgba(255,255,255,.75); font-size: 15.5px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .7s var(--ease), opacity .5s var(--ease), margin .5s;
  margin: 0;
}
.pillar:hover .pillar-body p, .pillar:focus-visible .pillar-body p { max-height: 200px; opacity: 1; margin: 6px 0 22px; }
.pillar-line { display: block; width: 46px; height: 2px; margin-bottom: 22px; background: linear-gradient(90deg, var(--gold) 50%, var(--blue) 50%); transition: width .6s var(--ease); }
.pillar:hover .pillar-line { width: 90px; }

/* Split ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-media--wide img { aspect-ratio: 5 / 4; }
.split-media .tag {
  position: absolute; left: -1px; bottom: 32px; background: var(--gold); color: var(--ink);
  padding: 14px 22px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.media-stack { position: relative; padding: 0 0 70px 70px; }
.media-stack img:first-child { aspect-ratio: 4/5; }
.media-stack img:last-child {
  position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 3/4;
  border: 8px solid var(--cream); border-radius: var(--radius);
}
.section--charcoal .media-stack img:last-child { border-color: var(--charcoal); }

.checklist { display: grid; gap: 14px; margin: 30px 0 38px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 4px, transparent 5px), rgba(232,179,23,.16);
}

/* Brand experience strip ------------------------------------------------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; overflow: hidden; background: var(--ink); }
.brands-label { text-align: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; }
.marquee li {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); color: rgba(255,255,255,.55);
  padding: 0 34px; white-space: nowrap; display: flex; align-items: center; gap: 68px;
  transition: color .3s;
}
.marquee li:hover { color: #fff; }
.marquee li::after { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); margin-right: -34px; }
.marquee li:nth-child(even)::after { background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Process ---------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 27px; left: 0; right: 0; height: 1px; background: var(--line);
}
.step { position: relative; padding: 0 26px 0 0; counter-increment: step; }
.step-dot {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); border: 1px solid var(--line); margin-bottom: 30px;
  font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--gold);
  transition: background .4s, color .4s, border-color .4s;
}
.step-dot::before { content: "0" counter(step); }
.step:hover .step-dot { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.step h3 { font-family: var(--font-display); font-size: 27px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--muted); }
.section--light .process::before { background: var(--line-dark); }
.section--light .step-dot { background: var(--cream); border-color: var(--line-dark); color: #a27b06; }
.section--light .step p { color: var(--muted-dark); }

/* Detailed process (process page) --------------------------------------- */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: var(--line-dark); }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 40px; padding-bottom: 72px; counter-increment: step; }
.timeline { counter-reset: step; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .step-dot { background: var(--cream); border-color: var(--line-dark); color: #a27b06; margin: 0; }
.tl-item:hover .step-dot { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tl-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.tl-content h3 { margin-top: 8px; }
.tl-content p { color: var(--muted-dark); }
.tl-content ul { display: grid; gap: 10px; padding: 26px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line-dark); font-size: 15px; }
.tl-content ul li { display: flex; gap: 12px; }
.tl-content ul li::before { content: "—"; color: #a27b06; }
.tl-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 4px; }

/* Featured projects / gallery ------------------------------------------- */
.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(360px, 30vw, 440px);
  gap: 20px;
}
.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  grid-column: span 5;
  height: 100%;
  display: block;
  isolation: isolate;
  color: #fff;
}
.project--wide {
  grid-column: span 7;
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,14,17,.85) 100%);
  transition: opacity .5s; z-index: 0;
}
.project:hover img { transform: scale(1.06); }
.project-info { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.project-info h3 { font-family: var(--font-display); font-size: 28px; }
.project-info span { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.project-info .plus {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.project-info .plus svg { width: 18px; }
.project:hover .plus { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(90deg); }

/* Portfolio filters + grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; justify-content: center; }
.filter {
  padding: 11px 22px; border-radius: 40px; border: 1px solid var(--line-dark); font-size: 12.5px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark);
  transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 3 320px; column-gap: 20px; }
.g-item {
  break-inside: avoid; margin-bottom: 20px; position: relative; overflow: hidden; border-radius: var(--radius);
  display: block; width: 100%; cursor: zoom-in; padding: 0; background: var(--sand);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 20px 18px; text-align: left; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(13,14,17,.85));
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; }
.g-item figcaption b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.g-item figcaption span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.g-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,9,11,.96); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(92vw, 1500px); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { margin-top: 18px; font-family: var(--font-display); font-size: 22px; color: #fff; }
.lb-btn {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; color: #fff; transition: background .3s, color .3s;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-btn svg { width: 22px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Service detail (services page) ---------------------------------------- */
.service {
  padding: clamp(52px, 6.5vw, 84px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.service:last-child { border-bottom: 0; }
.service .split {
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.service .split-media img {
  aspect-ratio: 16 / 11;
  max-height: 420px;
}
.service .h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  margin-bottom: 16px;
}
.service .lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}
.service-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: #a27b06;
  margin-bottom: 8px;
  display: block;
}
.deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 22px 0 30px;
  font-size: 14.5px;
}
.deliverables li {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
}
.deliverables li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); }
.deliverables li:nth-child(even)::before { background: var(--blue); }

.service-nav { position: sticky; top: 70px; z-index: 20; background: rgba(246,242,235,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.service-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a { white-space: nowrap; padding: 9px 18px; border-radius: 40px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); transition: background .3s, color .3s; }
.service-nav a:hover { background: var(--ink); color: #fff; }

/* Feature cards ---------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--charcoal); padding: clamp(32px, 3.5vw, 48px); transition: background .5s var(--ease); position: relative; }
.card:hover { background: var(--surface); }
.card-icon { width: 52px; height: 52px; margin-bottom: 28px; color: var(--gold); }
.card:nth-child(even) .card-icon { color: var(--blue); }
.card h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.section--light .cards { background: var(--line-dark); border-color: var(--line-dark); }
.section--light .card { background: var(--cream); }
.section--light .card:hover { background: #fff; }
.section--light .card p { color: var(--muted-dark); }
.section--light .card-icon { color: #b58a07; }
.section--light .card:nth-child(even) .card-icon { color: #1c8fe0; }

/* Model diagram (about) -------------------------------------------------- */
.model { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-top: 20px; }
.model-box { padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; background: var(--charcoal); }
.model-box--us { border-color: var(--gold); background: linear-gradient(180deg, rgba(232,179,23,.1), rgba(232,179,23,0)); }
.model-box h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 8px; }
.model-box p { font-size: 14.5px; color: var(--muted); }
.model-arrow { display: grid; place-items: center; padding: 0 14px; color: var(--gold); }
.model-arrow svg { width: 34px; }

/* Quote ------------------------------------------------------------------ */
.quote { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.22; font-style: italic; max-width: 980px; margin: 0 auto; text-align: center; }
.quote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--gold); margin-bottom: 18px; }

/* CTA band --------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 12vw, 160px) 0; }
.cta .hero-media img { animation: none; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,14,17,.95) 0%, rgba(13,14,17,.75) 55%, rgba(13,14,17,.5) 100%); }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.cta .display { font-size: clamp(44px, 6vw, 86px); margin-bottom: 24px; }
.cta .lead { color: rgba(255,255,255,.8); }
.contact-tiles { display: grid; gap: 14px; }
.contact-tile {
  display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.contact-tile:hover { background: rgba(255,255,255,.12); border-color: var(--gold); transform: translateY(-3px); }
.contact-tile .ic { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.contact-tile:nth-child(2) .ic { background: var(--blue); }
.contact-tile .ic svg { width: 22px; }
.contact-tile small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-tile strong { font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; letter-spacing: .01em; word-break: break-word; }

/* Contact page ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card {
  position: relative; padding: clamp(28px, 3.5vw, 42px); border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line-dark); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.contact-card:nth-child(2)::before { background: var(--blue); }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(13,14,17,.16); }
.contact-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-card .ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(232,179,23,.12); color: #a27b06; margin-bottom: 0;
}
.contact-card:nth-child(2) .ic { background: rgba(71,180,255,.12); color: #0b7ac9; }
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card .eyebrow { margin-bottom: 0; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.contact-card .contact-val {
  display: inline-block; font-family: var(--font-body); font-size: clamp(20px, 2vw, 25px);
  font-weight: 700; letter-spacing: -0.01em; color: var(--text-dark); text-decoration: none;
  margin: 4px 0 14px; transition: color .2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.contact-card .contact-val:hover { color: #a27b06; text-decoration: underline; }
.contact-card:nth-child(2) .contact-val:hover { color: #0b7ac9; }
.contact-card p { color: var(--muted-dark); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.contact-card .card-action { margin-top: auto; padding-top: 8px; }
.contact-card .card-action .btn { width: auto; }
.copy-btn.is-copied { --bg: #1f7a4d; --bd: #1f7a4d; --fg: #fff; }

.info-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.info-list > div { padding: 32px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: #ffffff; }
.info-list h3 { font-size: 12px; font-family: var(--font-body); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #a27b06; margin-bottom: 12px; }
.info-list p { color: var(--muted-dark); font-size: 15.5px; }

.prep { counter-reset: prep; list-style: none; padding-left: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prep li { counter-increment: prep; padding: 32px 28px; border-radius: var(--radius); background: #ffffff; border: 1px solid var(--line-dark); color: var(--text-dark); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.prep li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(13,14,17,.15); }
.prep li::before { content: "0" counter(prep); display: block; font-family: var(--font-display); font-style: italic; font-size: 26px; color: #a27b06; margin-bottom: 12px; font-weight: 500; }
.prep b { display: block; font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.35; }
.prep span { display: block; color: var(--muted-dark); font-size: 15px; line-height: 1.6; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.14); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.14); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px);
  color: #ffffff; transition: color .25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24); color: #ffffff;
  display: grid; place-items: center; font-family: var(--font-body); font-size: 20px;
  transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s;
}
.faq summary:hover::after { border-color: var(--gold); color: var(--gold); }
.faq details[open] summary::after {
  transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.faq details p {
  color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; padding: 0 60px 28px 0;
}

/* Light mode FAQ support */
.section--light .faq, .section--sand .faq { border-top-color: var(--line-dark); }
.section--light .faq details, .section--sand .faq details { border-bottom-color: var(--line-dark); }
.section--light .faq summary, .section--sand .faq summary { color: var(--text-dark); }
.section--light .faq summary:hover, .section--sand .faq summary:hover { color: #a27b06; }
.section--light .faq summary::after, .section--sand .faq summary::after { border-color: var(--line-dark); color: var(--text-dark); }
.section--light .faq summary:hover::after, .section--sand .faq summary:hover::after { border-color: var(--gold); color: var(--ink); }
.section--light .faq details[open] summary::after, .section--sand .faq details[open] summary::after { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.section--light .faq details p, .section--sand .faq details p { color: var(--muted-dark); }

/* Project Inquiry Form --------------------------------------------------- */
.inquiry-wrap { max-width: 960px; margin: 0 auto; }
.inquiry-card {
  background: #ffffff; border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px); box-shadow: 0 30px 60px -25px rgba(13,14,17,.12);
  position: relative; overflow: hidden;
}
.inquiry-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold) 50%, var(--blue) 50%);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-full { grid-column: span 2; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dark); display: flex; align-items: center; justify-content: space-between;
}
.form-label small { font-weight: 500; text-transform: none; color: var(--muted-dark); letter-spacing: 0; font-size: 12px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 15px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15.5px; color: var(--text-dark); background: #fdfcfa;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold); background: #ffffff;
  box-shadow: 0 0 0 3px rgba(232, 179, 23, 0.2);
}
.form-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238f8a80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px;
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hp { display: none !important; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.form-note { font-size: 13px; color: var(--muted-dark); }
.form-msg {
  display: none; padding: 18px 22px; border-radius: var(--radius); margin-bottom: 24px; font-size: 15px; line-height: 1.5;
  align-items: flex-start; gap: 14px;
}
.form-msg.is-visible {
  display: flex;
}
.form-msg--success {
  background: #eef8f1; border: 1px solid #b7e3c5; color: #16532d;
}
.form-msg--error {
  background: #fdf2f2; border: 1px solid #f8c8c8; color: #991b1b;
}
.form-msg svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading::after {
  content: ""; display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor;
  border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; margin-left: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 90px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer h4 { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.footer ul { display: grid; gap: 12px; }
.footer a { color: rgba(255,255,255,.8); transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer-about p { color: var(--muted); margin-top: 22px; max-width: 340px; }
.footer-contact a { display: block; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 72px; padding-top: 28px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.footer-bottom p { margin: 0; }

/* Mobile call bar -------------------------------------------------------- */
.mobile-bar { display: none; }

/* Reveal animations ------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

.hero [data-anim] { opacity: 0; transform: translateY(30px); animation: rise 1.2s var(--ease) forwards; animation-delay: var(--d, .2s); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .hero [data-anim] { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-pillars { flex-direction: row; flex-wrap: wrap; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); min-width: 0; }
  .hero-pillars a { padding: 16px 28px 0 0; }
  .hero-pillars a:hover { padding-left: 0; }
  .tl-content { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .header-phone span { display: none; }
  .header-phone { padding: 11px; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav a { font-family: var(--font-display); font-size: 40px; text-transform: none; letter-spacing: 0; font-weight: 500; transform: translateY(20px); transition: transform .6s var(--ease), color .3s; }
  .menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { transform: none; }
  .menu-open { overflow: hidden; }

  .pillars, .cards { grid-template-columns: 1fr; }
  .pillar { min-height: 440px; }
  .pillar-body p { max-height: none; opacity: 1; margin: 6px 0 22px; }
  .split, .cta-inner, .section-head--split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px 24px 0; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-dark); padding-left: 20px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .projects { grid-auto-rows: auto; }
  .projects .project, .projects .project--wide { grid-column: span 12; height: clamp(260px, 50vw, 360px); aspect-ratio: auto; }
  .model { grid-template-columns: 1fr; }
  .model-arrow { transform: rotate(90deg); padding: 10px 0; }
  .info-list, .prep { grid-template-columns: 1fr; }
  .deliverables { grid-template-columns: 1fr; }

  body { padding-bottom: 66px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(13,14,17,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 66px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-bar a:first-child { background: var(--gold); color: var(--ink); }
  .mobile-bar svg { width: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .media-stack { padding: 0 0 50px 40px; }
  .btn { width: 100%; }
  .tl-item { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before { display: none; }
  .faq details p { padding-right: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}
