/* ==========================================================================
   Golden Glass DC — Design system
   ========================================================================== */

:root {
  /* Brand */
  --gold: #c8a24a;
  --gold-light: #e6cd8d;
  --gold-deep: #9b7a2c;

  /* Neutrals */
  --ink: #0d0e10;
  --ink-soft: #17181c;
  --ink-line: #26282e;
  --paper: #faf8f4;
  --paper-warm: #f2ede4;
  --slate: #6b6f78;
  --slate-light: #9aa0aa;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--slate);
  --rule: rgba(13, 14, 16, 0.1);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --shell: min(1280px, 100% - 3rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 2px;

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

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* `clip` rather than `hidden`: it prevents sideways scrolling without
     turning the root into a scroll container (which would break the sticky
     header and scroll-margin). */
  overflow-x: clip;
}

@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;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--muted);
  max-width: 56ch;
}

.on-dark { color: rgba(255, 255, 255, 0.72); }
.on-dark .eyebrow { color: var(--gold-light); }

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

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #fff;
}
.btn--gold:hover { --btn-bg: var(--gold-deep); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(13, 14, 16, 0.28);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.3rem;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 1rem; color: var(--gold-deep); }

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

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.6rem;
  flex-wrap: wrap;
}
/* Dropped on mobile: it wrapped onto two lines and pushed the logo down the
   screen. The phone number stays one tap away via the floating call button,
   which appears at exactly this breakpoint. */
@media (max-width: 900px) {
  .topbar { display: none; }
}
.topbar a:hover { color: var(--gold-light); }
.topbar__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}
.brand__mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-block: 0.35rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--gold-deep); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  margin: 3.5px auto;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  /* The panel is a DOM child of the header, so it shares its stacking context
     and paints over the toggle no matter what z-index the header gets. The
     toggle has to be lifted above the panel explicitly, or the menu opens and
     cannot be closed. */
  .nav-toggle {
    display: grid;
    position: relative;
    z-index: 95;
  }

  /* Full-screen panel, and deliberately BELOW the sticky header's z-index.
     A right-hand drawer sat on top of the header and swallowed taps on the
     very button meant to close it — the menu could be opened and not shut. */
  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 6rem 2rem 3rem;
    transform: translateX(100%);
    /* visibility, not just transform: a panel parked off-screen with transform
       alone keeps its links in the tab order and in the accessibility tree,
       so keyboard and screen-reader users land in a menu they cannot see. */
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
    z-index: 90;
    overflow-y: auto;
  }
  .nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 1.75rem; width: 100%; }
  .nav__link { color: #fff; font-size: 1.35rem; letter-spacing: 0.06em; }
  .nav .btn { --btn-bg: var(--gold); --btn-fg: #fff; }

  /* While the menu is open the header is only a frame for the close button. */
  body.nav-is-open .site-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  body.nav-is-open .brand__name { color: #fff; }
  body.nav-is-open .nav-toggle { border-color: rgba(255, 255, 255, 0.4); }
  body.nav-is-open .nav-toggle span { background: #fff; }
}

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

.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.45) 42%, rgba(8, 9, 11, 0.35) 100%),
    linear-gradient(to right, rgba(8, 9, 11, 0.55) 0%, transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero .lede { color: rgba(255, 255, 255, 0.78); margin-top: 1.75rem; }

.hero__scroll {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--shell)) / 2));
  bottom: clamp(3.5rem, 8vw, 6.5rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scroll-hint 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-hint {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 780px) { .hero__scroll { display: none; } }

/* Compact page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 9, 11, 0.92), rgba(8, 9, 11, 0.55));
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: rgba(255, 255, 255, 0.75); margin-top: 1.5rem; }

.crumbs {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}
.crumbs a:hover { color: var(--gold-light); }
.crumbs span { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   Marquee / trust strip
   -------------------------------------------------------------------------- */

.trust {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--ink-line);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.trust__item svg { width: 1.05rem; height: 1.05rem; color: var(--gold); flex: none; }

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

.section { padding-block: var(--section-y); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-light); }
.section--warm { background: var(--paper-warm); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   Intro / split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-soft);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__media:hover img { transform: scale(1.04); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--rule);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  color: var(--gold-deep);
}
.stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}
.section--dark .stat-row { border-top-color: rgba(255, 255, 255, 0.14); }
.section--dark .stat__num { color: var(--gold-light); }
.section--dark .stat__label { color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   Scroll video chapters
   -------------------------------------------------------------------------- */

.chapter {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.chapter__media { position: absolute; inset: 0; z-index: 0; }
.chapter__media video,
.chapter__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chapter__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.55) 45%, rgba(8, 9, 11, 0.2) 100%);
}
.chapter--right .chapter__media::after {
  background: linear-gradient(to left, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.55) 45%, rgba(8, 9, 11, 0.2) 100%);
}
.chapter__inner {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.chapter__panel { max-width: 40rem; }
.chapter--right .chapter__panel { margin-left: auto; }
.chapter h2 { color: #fff; }
.chapter p { color: rgba(255, 255, 255, 0.76); }

.chapter__index {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.chapter__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.chapter__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}
.chapter__list li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.6rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* Sound / play control for chapter videos */
.media-toggle {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--shell)) / 2));
  bottom: 2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease);
}
.media-toggle:hover { background: rgba(255, 255, 255, 0.22); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

/* Hairlines come from each card's own outline rather than a background
   showing through 1px gaps — an auto-fit row that does not fill would
   otherwise leave a bare grey cell at the end of the grid. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
}

.service {
  outline: 1px solid var(--rule);
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.4s var(--ease);
}
.section--dark .service { background: var(--ink); outline-color: var(--ink-line); }
.section--warm .service { background: var(--paper-warm); }
.service:hover { background: var(--paper-warm); }
.section--dark .service:hover { background: var(--ink-soft); }

.service__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold-deep);
}
.section--dark .service__icon { color: var(--gold-light); }
.service h3 { margin-bottom: 0.15rem; }
.service p { font-size: 0.94rem; color: var(--muted); }
.section--dark .service p { color: rgba(255, 255, 255, 0.62); }
.service ul {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.section--dark .service ul { color: rgba(255, 255, 255, 0.6); }
.service ul li { padding-left: 1.05rem; position: relative; }
.service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.32rem;
  height: 0.32rem;
  background: var(--gold);
  transform: rotate(45deg);
}
.service .link-arrow { margin-top: auto; padding-top: 1rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--muted); }
.section--dark .step p { color: rgba(255, 255, 255, 0.62); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--fg); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* A uniform grid rather than a masonry column flow: the source images come
   from mixed 4:3 / 3:4 / 16:9 originals, and letting each tile keep its own
   height made the grid read as ragged. It also sidesteps the reflow bug you
   get filtering `hidden` items inside CSS multi-column. */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-soft);
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  color: inherit;
  font: inherit;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }

.tile__caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.15rem;
  z-index: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tile:hover .tile__caption,
.tile:focus-visible .tile__caption { opacity: 1; transform: none; }
.tile__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}
.tile__caption span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.tile[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 11, 0.94);
  display: grid;
  /* An implicit `auto` column sizes to the image's max-content, so a 1800px
     photo rendered 718px wide inside a 375px phone. minmax(0, 1fr) pins the
     column to the container and lets the figure shrink. */
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
/* The figure is a grid item, so it sizes to the image's intrinsic width and
   `max-width: 100%` on the image resolves against that — on a phone the
   picture rendered ~718px wide inside a 375px screen. Constrain the figure
   and let min-width: 0 override the automatic minimum. */
.lightbox figure {
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 78svh;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 700px) {
  .lightbox { padding: 4.5rem 1rem 5.5rem; }
  .lightbox img { max-height: 62svh; }
  /* Side arrows would sit on top of a full-bleed image; drop them below it. */
  .lightbox__nav { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 4rem); }
  .lightbox__nav--next { right: calc(50% - 4rem); }
  .lightbox__close { top: 1rem; right: 1rem; }
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.review {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.section--warm .review { background: var(--paper); }
.section--dark .review { background: var(--ink-soft); border-color: var(--ink-line); }
.stars { display: flex; gap: 0.2rem; color: var(--gold); }
.stars svg { width: 1rem; height: 1rem; }
.review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
}
.section--dark .review blockquote { color: #fff; }
.review .service__icon { color: var(--gold-deep); }
.review__by {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .review__by { color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p {
  padding: 0 3rem 1.75rem 0;
  color: var(--muted);
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   Areas served
   -------------------------------------------------------------------------- */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2.5rem;
}
.area h3 { font-size: 1.25rem; margin-bottom: 0.9rem; }
.area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
}
.section--dark .area ul { color: rgba(255, 255, 255, 0.6); }
.area a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.area a:hover { color: var(--gold-light); border-bottom-color: currentColor; }
.section--warm .area a:hover, .section .area a:hover { color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.55));
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; margin-inline: auto; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-inline: auto; max-width: 52ch; margin-top: 1.25rem; }
.cta-band .btn-row { justify-content: center; }

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
.info-item { display: flex; gap: 1.1rem; }
.info-item svg { width: 1.35rem; height: 1.35rem; color: var(--gold-deep); flex: none; margin-top: 0.25rem; }
.info-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.info-item__value { font-size: 1.05rem; }
.info-item__value a:hover { color: var(--gold-deep); }

.form {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: grid;
  gap: 1.25rem;
}
.section--warm .form { background: var(--paper); }
.field { display: grid; gap: 0.5rem; }
.field--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1.25rem;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fg);
  width: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.18);
}
.field__opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }

.field-set {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  background: var(--paper-warm);
}
.field-set[hidden] { display: none; }
.field-set legend {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-inline: 0.5rem;
}

.form__note { font-size: 0.8rem; color: var(--muted); }
.form__status {
  font-size: 0.88rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--gold);
  background: var(--paper-warm);
}
.form__status[hidden] { display: none; }

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ink-line);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand__name { color: #fff; }
.footer-about { max-width: 34ch; margin-top: 1.5rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Floating call button (mobile)
   -------------------------------------------------------------------------- */

.call-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.call-fab svg { width: 1.05rem; height: 1.05rem; }
@media (max-width: 900px) { .call-fab { display: inline-flex; } }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.btn-row--center { justify-content: center; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-light); }
.text-center { text-align: center; margin-inline: auto; }
.stack-top { margin-top: 2.25rem; }
.stack-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.chapter__list--muted li { color: var(--muted); }
.lightbox figure { margin: 0; }

.form__intro h3 { margin-bottom: 0.4rem; }
.form__intro .eyebrow { margin-bottom: 0.65rem; }
.form .btn { justify-content: center; }
.form__note a { border-bottom: 1px solid currentColor; }

/* --------------------------------------------------------------------------
   Touch targets
   --------------------------------------------------------------------------
   Measured on device emulation, the inline links in the topbar, footer,
   breadcrumbs and area lists were 14–26px tall — under the 24px WCAG 2.2
   minimum and well under the 44px Google treats as comfortable. The text
   size stays as designed; only the hit area grows.
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .site-footer ul { gap: 0.15rem; }
  .site-footer li a { display: inline-block; padding-block: 0.65rem; }

  .area ul { line-height: 1.5; }
  .area a { display: inline-block; padding-block: 0.6rem; }

  .crumbs a, .crumbs span { display: inline-block; padding-block: 0.55rem; }

  .link-arrow { padding-block: 0.6rem 0.55rem; }

  .info-item__value a { display: inline-block; padding-block: 0.5rem; }
  .form__note a { display: inline-block; padding-block: 0.5rem; }

  .footer-bottom { gap: 0.5rem 2rem; }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
