:root {
  --bg: #faf9f6;
  --bg-alt: #f3efe6;
  --surface: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b66;
  --rule: #e7e4dc;
  --rule-strong: #d8d4c8;
  --accent: #3a8fc4;
  --accent-icon: #3a8fc4;
  --accent-ink: #0e0e0e;
  --header-bg: rgba(250, 249, 246, 0.85);
  --header-bg-top: rgba(250, 249, 246, 0.60);
  --media-placeholder: #eeece6;
  --logo-blend: normal;
  --logo-filter: none;

  --panel-bg: rgba(243, 239, 230, 0.88);
  --panel-shadow: 0 0 40px rgba(0, 0, 0, 0.12);

  --nav-h: clamp(104px, calc(8vw + 32px), 140px);

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Iowan Old Style', 'Palatino', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Subtle warm paper grain — inline SVG noise, ~very faint */
  --paper: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.52  0 0 0 0 0.45  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

[data-theme="dark"] {
  --bg: #0e0e0e;
  --bg-alt: #181816;
  --surface: #1c1c19;
  --fg: #ece8e0;
  --muted: #948f84;
  --rule: #2d2b27;
  --rule-strong: #3a3833;
  --accent: #c8e8fd;
  --accent-icon: #c8e8fd;
  --accent-ink: #0e0e0e;
  --header-bg: rgba(14, 14, 14, 0.82);
  --header-bg-top: rgba(14, 14, 14, 0.55);
  --media-placeholder: #232220;
  --logo-blend: normal;
  --logo-filter: invert(1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.5);
  /* Lighter warm grain over near-black, slightly more visible to read as film */
  --paper: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --panel-bg: rgba(26, 24, 22, 0.86);
  --panel-shadow: 0 0 50px rgba(0, 0, 0, 0.55);
}

@supports (font-variation-settings: normal) {
  :root { --font-sans: 'InterVariable', 'Inter', system-ui, sans-serif; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background-color: var(--bg);
  background-image: var(--paper);
  background-size: 220px 220px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 200ms ease, color 200ms ease;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 120ms ease, opacity 120ms ease;
}

h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }

ul { list-style: none; }

/* ---------- Page loader ---------- */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 600ms ease;
  pointer-events: none;
}

.page-loader.is-hiding { opacity: 0; }

.page-loader.is-hidden,
html.loader-skip .page-loader { display: none; }

.page-loader-logo {
  width: clamp(200px, 38vw, 360px);
  height: auto;
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  transition: opacity 800ms ease, transform 1600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  filter: var(--logo-filter);
  mix-blend-mode: var(--logo-blend);
}

.page-loader.is-shown .page-loader-logo {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.page-loader.is-hiding .page-loader-logo {
  transform: scale(1.05) translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: background-color 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--rule);
}

.header-left {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  height: clamp(72px, 8vw, 108px);
}

.brand img {
  height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: var(--logo-blend);
  filter: var(--logo-filter);
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}

/* Header toggle buttons — borderless, Singer style */

.menu-toggle,
.contact-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font-family: inherit;
  transition: opacity 160ms ease, color 160ms ease;
}

.menu-toggle,
.theme-toggle { width: 32px; height: 32px; }

.contact-toggle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 2px;
}

.menu-toggle:hover,
.contact-toggle:hover,
.theme-toggle:hover { opacity: 0.6; }

.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Hamburger icon */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 260ms ease, opacity 160ms ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(6.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-6.25px) rotate(-45deg);
}

/* Side panels (slide in from edges) */

.side-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(280px, 26vw, 380px);
  z-index: 80;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  background: var(--panel-bg);
  color: var(--fg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow-y: auto;
}

.side-panel--left {
  left: 0;
  transform: translateX(-100%);
}

.side-panel--right {
  right: 0;
  transform: translateX(100%);
}

.side-panel.is-open {
  transform: translateX(0);
  box-shadow: var(--panel-shadow);
}

.side-panel-close {
  border: none;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  padding: 6px;
  opacity: 0.7;
  margin-bottom: clamp(28px, 4vw, 48px);
  transition: opacity 160ms ease, transform 200ms ease;
}

.side-panel-close:hover { opacity: 1; transform: rotate(90deg); }

.side-panel--right .side-panel-close { align-self: flex-end; }
.side-panel--left .side-panel-close { align-self: flex-start; }

.side-panel-close svg { display: block; }

.side-panel-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.side-panel-nav a {
  display: block;
  padding: clamp(12px, 1.6vw, 18px) 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0ms;
}

.side-panel.is-open .side-panel-nav a {
  opacity: 0.7;
  transform: translateX(0);
}

.side-panel-nav a:hover {
  opacity: 1;
  transform: translateX(6px);
}

.side-panel-contact {
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--fg);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0ms;
}

.contact-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-icon);
  margin-top: 3px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.side-panel.is-open .contact-row {
  opacity: 1;
  transform: translateX(0);
}

.contact-row:last-child { border-bottom: none; }
.contact-row:hover { transform: translateX(6px); }

/* Stagger the items only when opening — closing snaps back together */
.side-panel.is-open .side-panel-nav a:nth-child(1),
.side-panel.is-open .contact-row:nth-child(1) { transition-delay: 260ms; }
.side-panel.is-open .side-panel-nav a:nth-child(2),
.side-panel.is-open .contact-row:nth-child(2) { transition-delay: 380ms; }
.side-panel.is-open .side-panel-nav a:nth-child(3),
.side-panel.is-open .contact-row:nth-child(3) { transition-delay: 500ms; }
.side-panel.is-open .side-panel-nav a:nth-child(4),
.side-panel.is-open .contact-row:nth-child(4) { transition-delay: 620ms; }

/* Panel theme row — sits at the bottom of the nav panel */

.panel-theme-row {
  margin-top: auto;
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: 8px;
  border-top: 1px solid var(--rule);
}

.panel-theme-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(10px, 1.4vw, 16px) 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0ms;
}

.side-panel.is-open .panel-theme-toggle {
  opacity: 0.7;
  transform: translateX(0);
  transition-delay: 740ms;
}

.panel-theme-toggle:hover {
  opacity: 1;
  transform: translateX(6px);
}

.panel-theme-toggle svg { flex-shrink: 0; }

.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-value {
  display: block;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .side-panel { width: min(86vw, 340px); }
  .contact-toggle { font-size: 11px; letter-spacing: 0.08em; white-space: nowrap; }
  .panel-theme-toggle { font-size: 15px; gap: 10px; }
  .panel-theme-label { white-space: nowrap; }
}

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

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--max);
  margin: clamp(32px, 5vw, 64px) auto;
  padding: 0 var(--gutter);
  align-items: center;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--media-placeholder);
  box-shadow: var(--shadow-md);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 20px;
}

.social-pill {
  --pill-bg: rgba(255, 255, 255, 0.55);
  --pill-border: rgba(0, 0, 0, 0.10);
  --pill-text: var(--fg);
  --pill-divider: rgba(0, 0, 0, 0.12);
  --pill-hover-bg: rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--pill-bg);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}

[data-theme="dark"] .social-pill {
  --pill-bg: rgba(20, 20, 22, 0.50);
  --pill-border: rgba(255, 255, 255, 0.12);
  --pill-text: #f5f5f3;
  --pill-divider: rgba(255, 255, 255, 0.16);
  --pill-hover-bg: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.social-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 160ms ease, opacity 160ms ease;
}

.social-pill-item:hover {
  background: var(--pill-hover-bg);
}

.social-pill-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cert-img {
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
  padding: 1px;
  width: auto;
  max-width: 52px;
}

.social-pill-divider {
  width: 1px;
  align-self: stretch;
  background: var(--pill-divider);
  margin: 4px 2px;
}

@media (max-width: 520px) {
  .social-pill {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 4px;
    border-radius: 16px;
  }
  .social-pill-divider { display: none; }
  .social-pill-item { padding: 8px 10px; font-size: 12px; gap: 6px; justify-content: center; border-radius: 12px; }
  .social-pill-icon { width: 16px; height: 16px; }
}

/* Shop photo full-bleed hero */
.hero--bg {
  position: relative;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  max-width: 100%;
  margin-top: calc(-1 * var(--nav-h));
  margin-bottom: 0;
  padding: calc(var(--nav-h) + clamp(40px, 6vh, 72px)) var(--gutter) clamp(60px, 8vh, 100px);
  min-height: 100vh;
  min-height: 100svh;
  background-image: url('assets/brand assets/shop.webp');
  background-size: auto 140%;
  background-position: center 28%;
  overflow: hidden;
}

.hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.42) 55%,
    rgba(0, 0, 0, 0.62) 100%
  );
  z-index: 0;
}

.hero--bg .hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero--bg h1,
.hero--bg .hero-lede {
  color: #fff;
}

.hero.hero--bg h1 .muted {
  color: #F5C518;
  font-weight: 500;
}

.hero--bg .hero-lede {
  color: rgba(255, 255, 255, 0.88);
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .muted {
  color: var(--muted);
  font-weight: 500;
}

.hero-lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 32px;
}

/* ---------- Anchor offset (sticky header compensation) ---------- */

#services,
#work,
#reviews,
#visit {
  scroll-margin-top: 96px;
}

@media (max-width: 520px) {
  #services,
  #work,
  #reviews,
  #visit {
    scroll-margin-top: 80px;
  }
}

/* ---------- Section heads ---------- */

.section-head {
  max-width: var(--max);
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
}

/* ---------- Brands marquee ---------- */

.brands {
  --brand-band-bg: #c8e8fd;
  --brand-band-ink: #0e0e0e;
  background: linear-gradient(rgba(255,255,255,0.22), rgba(255,255,255,0.22)), var(--brand-band-bg);
  padding: clamp(28px, 4vw, 52px) 0 clamp(32px, 4.5vw, 56px);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.brands-head {
  max-width: var(--max);
  margin: 0 auto clamp(28px, 3.6vw, 44px);
  padding: 0 var(--gutter);
  text-align: center;
  color: var(--brand-band-ink);
}

.brands-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-band-ink);
  margin-bottom: 16px;
}

.brands-heading {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.018em;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--brand-band-ink);
}

.brands-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brands-scroll 55s linear infinite;
}

.brands-marquee:hover .brands-track { animation-play-state: paused; }

.brand-card {
  flex-shrink: 0;
  width: clamp(180px, 18vw, 240px);
  height: clamp(72px, 8vw, 96px);
  margin-right: clamp(16px, 2vw, 28px);
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.brand-card img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 520px) {
  .brand-card {
    width: 150px;
    height: 72px;
    padding: 6px 14px;
    border-radius: 12px;
  }
}

/* ---------- Pillars ---------- */

.pillars {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px);
}

.pillar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.pillar + .pillar {
  margin-top: clamp(40px, 6vw, 80px);
}

.pillar:nth-child(even) .pillar-media { order: 2; }

.pillar-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--media-placeholder);
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-toggle {
  position: relative;
  cursor: pointer;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 450ms ease;
}

.ba-img.ba-img--active {
  opacity: 1;
}

.ba-chip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.pillar-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.018em;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pillar-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  max-width: 42ch;
}

@media (max-width: 760px) {
  .pillar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pillar:nth-child(even) .pillar-media { order: 0; }
}

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

.services {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px);
}

.services-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--rule);
  counter-reset: service;
}

.service-row {
  display: grid;
  grid-template-columns: auto minmax(200px, 1.1fr) 2fr;
  gap: clamp(18px, 3.4vw, 48px);
  align-items: baseline;
  padding: clamp(22px, 2.8vw, 36px) 0;
  border-bottom: 1px solid var(--rule);
}

.service-row::before {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-icon);
  font-variant-numeric: tabular-nums;
}

.service-name {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.15;
  color: var(--fg);
  margin: 0;
}

.service-desc {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--fg);
  max-width: 58ch;
  margin: 0;
}

@media (max-width: 720px) {
  .service-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
    padding: 22px 0;
  }
  .service-row::before {
    font-size: 24px;
    grid-column: 1;
    grid-row: 1;
  }
  .service-name {
    font-size: clamp(20px, 5.4vw, 25px);
    grid-column: 2;
    grid-row: 1;
  }
  .service-desc {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ---------- Work / Timeline Gallery ---------- */

.work {
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 4vw, 40px);
  background: var(--bg-alt);
  background-image: var(--paper);
  background-size: 220px 220px;
}

.timeline-gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
}

.timeline-job { margin: 0; }

.timeline-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

.timeline-step { margin: 0; }

.timeline-step-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--media-placeholder);
  cursor: zoom-in;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.timeline-step-media:hover {
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
}

.timeline-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.timeline-step-media:hover img { transform: scale(1.04); }


.timeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 3vw, 40px);
  color: var(--accent-icon);
  flex-shrink: 0;
  padding: 0 clamp(4px, 0.8vw, 10px);
}

.timeline-arrow svg { width: 100%; height: auto; display: block; }

.gallery-more {
  margin-top: 10px;
  font-size: 14px;
}

.gallery-more a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.gallery-more a:hover { opacity: 0.7; }

@media (max-width: 560px) {
  .timeline-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .timeline-step { width: 100%; }
  .timeline-arrow {
    width: 24px;
    transform: rotate(90deg);
  }
}

/* ---------- Pull-quote divider ---------- */

.pullquote {
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  background: var(--bg);
  background-image: var(--paper);
  background-size: 220px 220px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pullquote figure {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.pullquote blockquote {
  margin: 0;
}

.pullquote p {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.012em;
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  margin: 0;
}

.pullquote p::before {
  content: '“';
  display: block;
  font-size: clamp(60px, 7vw, 84px);
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.55;
  font-style: normal;
}

.pullquote figcaption {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

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

.reviews {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.review-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.review {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: clamp(18px, 2vw, 24px);
  padding: clamp(22px, 2.2vw, 30px);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar-bg, var(--accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
}

.review-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-name {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.review-stars {
  color: #FBBC04;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.review p {
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  color: var(--fg);
  margin: 0;
}

.reviews-link {
  margin-top: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-link a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.reviews-link a:hover { opacity: 0.7; }

/* ---------- Visit ---------- */

.visit {
  padding: clamp(60px, 7vw, 100px) 0;
}

.visit-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.visit-info h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-bottom: 28px;
}

.info-list {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px 20px;
  font-size: 15px;
}

.info-list dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-top: 2px;
}

.info-list dd { margin: 0; }

.hours-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.info-list a {
  border-bottom: 1px solid transparent;
}

.info-list a:hover { border-bottom-color: var(--fg); }

.visit-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--media-placeholder);
  box-shadow: var(--shadow-sm);
}


.visit-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.footer-col--brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  height: 90px;
  width: auto;
  filter: var(--logo-filter);
  flex-shrink: 0;
  display: block;
  align-self: center;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 26ch;
}

.footer-socials {
  display: inline-flex;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease;
}

.footer-social:hover { color: #1877F2; border-color: #1877F2; }
.footer-social svg { width: 16px; height: 16px; display: block; }

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
}

.footer-col--links,
.footer-col--contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-links a:hover { color: var(--fg); }

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-icon);
}

.footer-contact-item a {
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-contact-item a:hover { color: var(--fg); }

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding: 20px var(--gutter);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.footer-bottom .footer-legal {
  margin: 10px auto 0;
  font-size: 11px;
  line-height: 1.6;
  max-width: 780px;
  opacity: 0.7;
  text-align: center;
}

.footer-legal a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  opacity: 1;
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-col--brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  cursor: zoom-out;
  animation: fade 160ms ease;
}

.lightbox[hidden] { display: none; }

.lightbox-img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 140ms ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease, opacity 140ms ease;
  z-index: 1;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.18); }

.lightbox-prev:disabled,
.lightbox-next:disabled { opacity: 0.2; cursor: default; pointer-events: none; }

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Scroll-reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger child cards / timeline jobs inside revealed sections */
.reveal .timeline-job {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
              transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
              box-shadow 200ms ease,
              border-color 200ms ease;
}

.reveal.is-visible .timeline-job {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-media { aspect-ratio: 16 / 11; }

  .visit-grid {
    grid-template-columns: 1fr;
  }
  .visit-map { aspect-ratio: 16 / 11; order: -1; }
}

@media (max-width: 520px) {
  .site-header { padding: 10px 16px; gap: 10px; }
  .header-right { gap: 8px; }
  .brand { height: 56px; }
  .menu-toggle, .theme-toggle { width: 36px; height: 36px; }
  .contact-toggle { height: 36px; padding: 0 12px; font-size: 13px; }

  :root { --nav-h: 76px; }

  .hero h1 { margin-bottom: 18px; }
  .hero-lede { margin-bottom: 24px; }

  .info-list { grid-template-columns: 1fr; gap: 4px 0; }
  .info-list dt { padding-top: 12px; }
  .info-list dt:first-of-type { padding-top: 0; }
}

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