:root {
  --bg: #000;
  --panel: #070707;
  --line: rgba(210, 230, 255, 0.16);
  --text: #c5cdd6;
  --muted: #8e98a4;
  --white: #f4f7fb;
  --ice: #d7e8ff;
  --nav-h: 160px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter: clamp(20px, 4.5vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--safe-top) + 12px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: #000;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

.fx-grid, .fx-scan { pointer-events: none; }
.fx-grid {
  position: fixed; inset: 0; z-index: 3;
  background-image:
    linear-gradient(rgba(215,232,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,232,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
  opacity: 0.45;
}
.fx-scan {
  position: fixed; inset: 0; z-index: 4;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0,0,0,0.12) 2px 3px
  );
  opacity: 0.25;
}

.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 18px;
  padding-left: 0.22em;
}
.hud-status span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice);
  animation: pulse 1.6s ease-in-out infinite;
  flex: 0 0 7px;
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.hud-frame {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 20px;
  margin: 0 auto 8px;
}
.hud-frame::before, .hud-frame::after,
.hud-frame .tl, .hud-frame .br {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid rgba(215,232,255,0.55);
  pointer-events: none;
}
.hud-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-frame::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-frame .tl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-frame .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

header, main, footer, .site-header, .float-book { position: relative; z-index: 5; }
.site-header { z-index: 80; }
img, video, iframe, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, li, cite, label, a, button, span, em {
  overflow-wrap: break-word;
}
.display, .lede, .hero-content h1 {
  overflow-wrap: break-word;
  hyphens: manual;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 200;
}
.skip:focus { top: 16px; }

.container { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.eyebrow {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 12px;
}
.display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(30px, 7vw, 64px);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
}
.lede { color: var(--muted); font-size: clamp(15px, 2.4vw, 17px); max-width: 540px; margin-top: 16px; }
.display.left { text-align: left; }
.section-head { margin-bottom: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-fill {
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 1px #fff, 0 0 24px rgba(215,232,255,0.28);
}
.btn-fill:hover { background: var(--ice); box-shadow: 0 0 32px rgba(215,232,255,0.45); }
.btn-line {
  border: 1px solid rgba(215,232,255,0.5);
  color: var(--ice);
  background: rgba(215,232,255,0.04);
}
.btn-line:hover { background: #fff; color: #000; }

#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}
.loader-grid,
.loader-veil,
.loader-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loader-grid {
  background-image:
    linear-gradient(rgba(215,232,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,232,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
  opacity: 0.55;
}
.loader-veil {
  background:
    radial-gradient(ellipse at center, rgba(215,232,255,0.08), transparent 52%),
    radial-gradient(ellipse at center, transparent 40%, #000 78%);
}
.loader-line {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0,0,0,0.18) 2px 3px
  );
  opacity: 0.35;
  animation: loaderFlicker 3.2s linear infinite;
}
@keyframes loaderFlicker {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.42; }
}
.loader-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(560px, calc(100% - 40px));
  padding: 24px 20px;
}
.loader-stage .hud-status {
  margin-bottom: 8px;
}
.loader-frame {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 22px 20px;
  margin: 0 auto 4px;
}
.loader-frame::before,
.loader-frame::after,
.loader-frame span.tl,
.loader-frame span.br {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(215,232,255,0.7);
  animation: loaderCorners 0.9s var(--ease) both;
}
.loader-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.loader-frame::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.loader-frame span.tl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.loader-frame span.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
@keyframes loaderCorners {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
.loader-logo {
  display: block;
  height: min(46vh, 380px);
  width: auto;
  max-width: min(380px, 86vw);
  margin: 0 auto;
  background: transparent;
  filter: drop-shadow(0 24px 48px rgba(215,232,255,0.16));
  animation: loaderLogo 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes loaderLogo {
  from { opacity: 0; transform: scale(0.9) translateY(18px); filter: drop-shadow(0 0 0 transparent); }
  to { opacity: 1; transform: none; filter: drop-shadow(0 24px 48px rgba(215,232,255,0.16)); }
}
.loader-sweep {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  top: 14%;
  background: linear-gradient(90deg, transparent, #fff, var(--ice), transparent);
  box-shadow: 0 0 22px rgba(215,232,255,0.85);
  animation: loaderSweep 1.7s ease-in-out 0.35s both;
  pointer-events: none;
}
@keyframes loaderSweep {
  0% { top: 12%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 86%; opacity: 0; }
}
.loader-kicker {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ice);
  margin-top: 6px;
  padding-left: 0.34em;
  animation: loaderFade 0.8s ease 0.45s both;
}
.loader-bar {
  width: min(220px, 64vw);
  height: 1px;
  margin: 26px auto 12px;
  background: rgba(215,232,255,0.16);
  overflow: hidden;
  animation: loaderFade 0.8s ease 0.5s both;
}
.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ice);
  box-shadow: 0 0 14px var(--ice);
}
.loader-pct {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: #fff;
  min-width: 4.5em;
  text-align: center;
  animation: loaderFade 0.8s ease 0.55s both;
}
@keyframes loaderFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
body.is-loading { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .loader-frame::before,
  .loader-frame::after,
  .loader-frame span.tl,
  .loader-frame span.br,
  .loader-sweep,
  .loader-kicker,
  .loader-bar,
  .loader-pct,
  .loader-line { animation: none !important; }
}

/* Solid black navbar so the transparent logo sits correctly */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: #000;
  border-bottom: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(215,232,255,0.28),
    0 0 40px rgba(215,232,255,0.05);
}
.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(215,232,255,0.5);
  pointer-events: none;
  z-index: 2;
}
.site-header::before { top: 10px; left: 12px; border-right: 0; border-bottom: 0; }
.site-header::after { top: 10px; right: 12px; border-left: 0; border-bottom: 0; }
.header-inner {
  position: relative;
  height: 100%;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.header-inner::before,
.header-inner::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(215,232,255,0.35);
  pointer-events: none;
}
.header-inner::before { left: -8px; bottom: 12px; border-right: 0; border-top: 0; }
.header-inner::after { right: -8px; bottom: 12px; border-left: 0; border-top: 0; }
.brand {
  display: flex;
  align-items: center;
  height: 100%;
}
.brand img {
  height: 140px;
  width: auto;
  max-width: min(280px, 46vw);
  max-height: calc(var(--nav-h) - 16px);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  padding: 8px 12px 10px;
  position: relative;
}
.nav a small {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--ice);
  opacity: 0.55;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1px;
  background: var(--ice);
  box-shadow: 0 0 8px rgba(215,232,255,0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover small, .nav a.is-active small { opacity: 1; }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
}
.header-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
  animation: pulse 1.6s ease-in-out infinite;
}
.header-cta {
  background: #fff;
  color: #000;
  padding: 12px 18px;
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  box-shadow: 0 0 22px rgba(215,232,255,0.28);
}
.header-cta:hover { background: var(--ice); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  justify-self: end;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff;
  transition: 0.2s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { bottom: 14px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { bottom: 21px; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--safe-top));
}
.hero-slides, .hero-slide, .hero-veil { position: absolute; inset: 0; }
.hero-slides { z-index: 0; }
.hero-veil { z-index: 1; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(215,232,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,232,255,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-veil {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,8,16,0.62) 48%, #000 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}
.hero-content .hud-status {
  margin-bottom: 10px;
}
.hero-content .hud-status,
.loader-stage .hud-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding-left: 0.22em;
  box-sizing: border-box;
}
.hero-content .hud-status span,
.loader-stage .hud-status span {
  justify-self: end;
  margin-right: 8px;
}
.hero-logo {
  display: block;
  width: min(360px, calc(100vw - 72px));
  height: auto;
  margin: 0 auto;
  background: transparent;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.5));
}
.hero-kicker {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 6px 0 10px;
}
.hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 7vw, 60px);
  font-weight: 500;
  color: #fff;
  width: 100%;
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.08;
  text-align: center;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 24s linear infinite;
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(215,232,255,0.7);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.intro { padding: 120px 0 88px; }
.split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.story { display: grid; grid-template-columns: 1.05fr 0.95fr; }
.story.reverse { grid-template-columns: 0.95fr 1.05fr; }
.story.reverse .story-image { order: 2; }
.story-image { min-height: 560px; overflow: hidden; background: #111; }
.story-image img { width: 100%; height: 100%; object-fit: cover; min-height: 560px; }
.story-copy {
  background: var(--panel);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-copy p { margin-top: 16px; color: var(--muted); }
.story-points { margin-top: 28px; }
.story-points li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: #fff;
  font-size: 15px;
}
.story-points li:last-child { border-bottom: 1px solid var(--line); }

.services { padding: 120px 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(215,232,255,0.04), #050505 40%);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.service-card:hover {
  border-color: rgba(215,232,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(215,232,255,0.08);
}
.service-card .idx {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ice);
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: #fff;
  font-weight: 500;
}
.service-card p { color: var(--muted); margin: 8px 0 auto; }
.service-card span:not(.idx) { color: #fff; font-size: 14px; margin-top: 18px; letter-spacing: 0.04em; font-family: "Share Tech Mono", monospace; }
.service-card .service-meta span { margin-top: 0; }

.hours { position: relative; min-height: 400px; display: grid; place-items: center; overflow: hidden; }
.hours-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hours-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.hours-inner { position: relative; z-index: 1; text-align: center; padding: 80px 20px; }
.hours-list { margin: 28px auto 0; display: grid; gap: 12px; width: min(420px, 100%); }
.hours-list div {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: #fff;
}

.gallery { padding: 120px 0 0; }
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.gallery-filters button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-filters button.is-active,
.gallery-filters button:hover { background: #fff; color: #000; border-color: #fff; }
.gallery-filters button:disabled { opacity: 0.45; cursor: wait; }
.gallery-board { position: relative; min-height: 360px; }
.gallery-switch {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.gallery-board.is-switching .gallery-switch {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-spin {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(215,232,255,0.18);
  border-top-color: var(--ice);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(215,232,255,0.2);
  animation: gallerySpin 0.6s linear infinite;
}
@keyframes gallerySpin { to { transform: rotate(360deg); } }
@keyframes galleryIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  position: relative;
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  background: #111;
}
.gallery-item.is-in { animation: galleryIn 0.45s var(--ease) both; }
.gallery-item.is-hidden { display: none; }
.gallery-item img {
  width: 100%; height: 100%; min-height: 360px;
  object-fit: cover; display: block;
  transition: transform 0.55s var(--ease);
}
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.gallery-item:hover img { transform: scale(1.04); }

.quotes { padding: 88px 0; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
blockquote { border: 1px solid var(--line); padding: 28px 24px; background: #050505; }
blockquote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: italic;
  color: #fff;
  line-height: 1.25;
}
blockquote cite {
  display: block; margin-top: 16px;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); font-style: normal;
}

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-row strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 500;
  color: #fff;
}
.stats-row span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.team { padding: 120px 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(1); transition: filter 0.35s ease, transform 0.45s var(--ease); }
.member:hover img { filter: grayscale(0); transform: scale(1.02); }
.member h3 { font-family: "Cormorant Garamond", serif; font-size: 28px; color: #fff; margin-top: 14px; font-weight: 500; }
.member p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.member .bio {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.65;
}

.offers { padding: 0 0 120px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer { border: 1px solid var(--line); padding: 28px 24px; background: #050505; }
.offer p { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.offer h3 { font-family: "Cormorant Garamond", serif; font-size: 30px; color: #fff; font-weight: 500; margin: 10px 0 16px; }
.offer span { color: #fff; }
.offer .note {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin: -4px 0 16px;
  line-height: 1.6;
}

.contact { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.contact-panel, .contact-form { padding: 80px 56px; }
.contact-form {
  background: #080808;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-content: start;
}
.contact-details { margin-top: 28px; display: grid; gap: 18px; }
.contact-details span { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-details a, .contact-details p {
  color: #fff;
  font-size: clamp(18px, 5vw, 24px);
  font-family: "Cormorant Garamond", serif;
  overflow-wrap: anywhere;
}
.contact-form label { display: grid; gap: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #fff;
  padding: 10px 0 12px;
  outline: none;
  font: inherit;
  font-size: 16px;
  width: 100%;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: #fff; }
.contact-form button { grid-column: 1 / -1; width: max-content; margin-top: 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #000;
  position: relative;
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(215,232,255,0.4);
  pointer-events: none;
  z-index: 2;
}
.site-footer::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.site-footer::after { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.footer-cta {
  padding: 96px 24px 88px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(215,232,255,0.07), transparent 58%);
}
.footer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(215,232,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,232,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black, transparent 72%);
}
.footer-cta .display { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.footer-cta .lede { margin: 16px auto 0; position: relative; z-index: 1; }
.footer-cta .hero-actions { margin-top: 28px; position: relative; z-index: 1; }
.footer-cta .eyebrow { position: relative; z-index: 1; }
.site-footer .marquee { border-top: 1px solid var(--line); }
.footer-top {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.footer-brand img {
  height: 220px;
  width: auto;
  max-width: min(280px, 100%);
  max-height: 220px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  margin-bottom: 18px;
}
.footer-brand p { max-width: 280px; color: var(--muted); }
.footer-brand .hud-status { margin: 0 0 12px; }
.site-footer h4 {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 16px;
  font-weight: 400;
}
.site-footer a, .site-footer p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.site-footer a { display: block; }
.site-footer a:hover { color: #fff; }
.site-footer a.btn { display: inline-flex; margin: 0 0 18px; }
.site-footer a.btn-fill { color: #000; }
.site-footer a.btn-fill:hover { color: #000; }
.site-footer a.btn-line { color: var(--ice); }
.footer-links a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.04em;
}
.footer-links em {
  font-family: "Share Tech Mono", monospace;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ice);
  min-width: 18px;
}
.footer-hours {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  max-width: 260px;
}
.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  color: #fff;
  font-size: 13px;
}
.footer-hours span { color: var(--muted); }
.footer-hours em {
  font-family: "Share Tech Mono", monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer-book a:not(.btn) {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: #fff;
  line-height: 1.45;
}
.footer-book a[href^="mailto"] {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Share Tech Mono", monospace;
}
.footer-bottom p:last-of-type { text-align: center; }
.footer-bottom a { justify-self: end; letter-spacing: 0.16em; color: var(--ice); }

.float-book { display: none; }

/* Inner pages */
.page-main { padding-top: calc(var(--nav-h) + var(--safe-top)); min-height: 70vh; min-height: 70dvh; }
.page-hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero .display { max-width: 780px; }
.page-hero .lede { max-width: 560px; }
.page-main .gallery,
.page-main .team,
.page-main .services { padding-top: 72px; }

.principles { padding: 120px 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principle {
  border: 1px solid var(--line);
  padding: 32px 28px;
  min-height: 240px;
  background: #050505;
}
.principle .idx {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ice);
  display: block;
  margin-bottom: 18px;
}
.principle h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 12px;
}
.principle p { color: var(--muted); }

.process { padding: 120px 0; border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-step {
  border-top: 1px solid var(--line);
  padding: 24px 8px 0 0;
}
.process-step .idx {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ice);
}
.process-step h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: #fff;
  font-weight: 500;
  margin: 12px 0 10px;
}
.process-step p { color: var(--muted); font-size: 15px; }

.page-cta {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.page-cta .display { max-width: 720px; margin: 0 auto; }
.page-cta .hero-actions { justify-content: center; margin-top: 28px; }

.faq { padding: 100px 0 120px; }
.faq-list { margin-top: 12px; }
.faq-list article {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
.faq-list article:last-child { border-bottom: 1px solid var(--line); }
.faq-list h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: #fff;
  font-weight: 500;
}
.faq-list p { color: var(--muted); }

.visit-band {
  min-height: 440px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.visit-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.visit-copy {
  position: relative;
  z-index: 1;
  padding: 80px 56px;
  max-width: 560px;
}
.visit-copy p { color: var(--muted); margin-top: 16px; }

.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: "Share Tech Mono", monospace;
}
.service-card .btn { margin-top: 20px; width: max-content; }
.service-card, .member, .offer, .gallery-item, .principle, .process-step, .footer-top > *, .choice, .booking-panel {
  min-width: 0;
}

/* Booking */
.booking {
  padding: 48px 0 120px;
}
.booking-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.stepper { display: grid; gap: 6px; }
.stepper button {
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #050505;
}
.stepper button.is-current { border-color: #fff; color: #fff; }
.stepper button.is-done { color: #fff; }
.stepper b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 500;
}
.stepper small { letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; }
.booking-panel { border: 1px solid var(--line); padding: 36px 32px; background: #050505; min-height: 520px; }
.booking-panel h2 { margin-bottom: 8px; }
.booking-panel .lede { margin-bottom: 28px; }
.booking-details {
  background: transparent;
  padding: 24px 0 0;
  grid-template-columns: 1fr 1fr;
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  border: 1px solid var(--line);
  padding: 20px 18px;
  text-align: left;
  background: transparent;
  color: inherit;
}
.choice:hover, .choice.is-selected { border-color: #fff; }
.choice h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  color: #fff;
  font-weight: 500;
}
.choice p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.choice em { display: block; margin-top: 12px; color: #fff; font-style: normal; }
.barber-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.barber-choice { display: flex; gap: 14px; align-items: center; }
.barber-choice img { width: 64px; height: 64px; object-fit: cover; filter: grayscale(1); }
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.calendar .dow {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
}
.day {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
}
.day:disabled { opacity: 0.28; }
.day.is-selected { background: #fff; color: #000; }
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.slot {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
}
.slot:disabled { opacity: 0.28; text-decoration: line-through; }
.slot.is-selected { background: #fff; color: #000; }
.booking-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.review-list { display: grid; gap: 12px; }
.review-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: #fff;
}
.review-list span { color: var(--muted); }
.confirm {
  text-align: center;
  padding: 40px 12px;
}
.confirm h2 { margin: 12px 0 16px; }
.code {
  display: inline-block;
  margin: 18px 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  letter-spacing: 0.2em;
  color: #fff;
}
.hidden { display: none !important; }

@media (max-width: 1200px) {
  :root { --nav-h: 120px; }
  .brand img { height: 110px; }
  .header-inner { grid-template-columns: auto auto; gap: 16px; }
  .nav, .header-cta, .header-side { display: none; }
  .menu-toggle { display: block; }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: calc(var(--nav-h) + var(--safe-top));
    left: 0; right: 0; bottom: 0;
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    z-index: 70;
    overflow-y: auto;
    padding: 24px 20px calc(32px + var(--safe-bottom));
  }
  .nav.is-open a { font-size: clamp(20px, 5vw, 28px); }
  .nav.is-open a small { font-size: 11px; }
}

@media (max-width: 980px) {
  :root { --nav-h: 112px; }
  .brand img { height: 96px; }
  .hero-logo { width: min(300px, calc(100vw - 56px)); }
  .loader-logo { height: min(38vh, 300px); max-width: min(300px, 82vw); }
  .footer-brand img { height: 180px; max-height: 180px; }
  .intro, .services, .team, .principles, .process, .page-cta, .faq, .booking { padding-top: 72px; padding-bottom: 72px; }
  .gallery { padding-top: 72px; }
  .quotes { padding: 56px 0; }
  .offers { padding-bottom: 72px; }
  .footer-cta { padding: 72px 20px 64px; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .footer-bottom p:last-of-type, .footer-bottom a { text-align: center; justify-self: center; }
  .split, .story, .story.reverse, .contact, .footer-top, .faq-list article {
    grid-template-columns: 1fr;
  }
  .service-grid, .team-grid, .offer-grid, .quote-grid, .principle-grid, .stats-row, .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .story.reverse .story-image { order: 0; }
  .story-image, .story-image img { min-height: 340px; }
  .story-copy, .contact-panel, .contact-form, .visit-copy { padding: 40px 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .booking-details { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 40px; }
  .booking-shell { grid-template-columns: 1fr; gap: 20px; }
  .stepper { grid-template-columns: repeat(3, 1fr); }
  .stepper b { font-size: 16px; }
  .booking-panel { padding: 24px 18px; min-height: 0; }
  .choice-grid, .barber-grid, .slots { grid-template-columns: 1fr 1fr; }
  .calendar { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .day { min-height: 40px; font-size: 13px; }
  .hero-content { width: min(720px, calc(100% - 32px)); padding: 24px 0 56px; }
  .header-inner::before, .header-inner::after,
  .site-header::before, .site-header::after { display: none; }
  .float-book {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: calc(16px + var(--safe-bottom));
    z-index: 40;
    background: #fff;
    color: #000;
    padding: 12px 18px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .site-footer { padding-bottom: 72px; }
}

@media (max-width: 720px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn, .page-cta .hero-actions .btn, .footer-cta .hero-actions .btn {
    min-width: min(100%, 220px);
  }
  .choice-grid, .barber-grid { grid-template-columns: 1fr; }
  .booking-nav { flex-wrap: wrap; }
  .booking-nav .btn { flex: 1 1 140px; }
  .hours-list div { font-size: 14px; }
}

@media (max-width: 640px) {
  .service-grid, .team-grid, .offer-grid, .quote-grid, .principle-grid, .process-grid, .gallery-grid, .stats-row {
    grid-template-columns: 1fr;
  }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: 1fr 1fr; }
  .gallery-item, .gallery-item img { min-height: 280px; }
  .float-book {
    left: 16px;
    right: 16px;
    justify-content: center;
  }
  .eyebrow, .hero-kicker, .loader-kicker, .header-status {
    letter-spacing: 0.16em;
  }
  .hero-kicker, .loader-kicker { padding-left: 0.16em; }
  .contact-form button, .service-card .btn { width: 100%; }
  .hud-frame, .loader-frame { padding: 12px; }
}

@media (max-width: 420px) {
  :root { --nav-h: 96px; }
  .brand img { height: 80px; }
  .stepper { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stepper b { display: none; }
  .stepper button { padding: 10px 4px; text-align: center; }
  .calendar { gap: 3px; }
  .day { min-height: 36px; font-size: 12px; }
  .loader-logo { height: min(32vh, 220px); }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --nav-h: 72px; }
  .brand img { height: 56px; }
  .hero { min-height: auto; padding-bottom: 32px; }
  .hero-logo, .loader-logo { height: min(42vh, 180px); width: auto; }
  .nav.is-open { gap: 10px; justify-content: flex-start; padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
