:root {
  --sand: #d0b088;
  --sand-light: #e8d6b8;
  --cream: #f4ecdc;
  --ink: #2c2520;
  --ink-deep: #1d1915;
  --yellow: #f4ecdc;
  --ember: #f4c85c;
  --line: rgba(29, 25, 21, 0.85);
  --line-soft: rgba(29, 25, 21, 0.22);
  --line-light: rgba(244, 236, 220, 0.2);
  --display: "Big Shoulders Display", "Oswald", "Impact", sans-serif;
  --body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --pad: clamp(20px, 4.5vw, 72px);
  --head-h: 76px;
  --ring: #d8dce0;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-deep);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink-deep); color: var(--sand); }

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.squiggle {
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath d='M0 5 Q5 0 10 5 T20 5' fill='none' stroke='%231d1915' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x;
  opacity: 0.8;
}

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; }
.progress span { display: block; height: 100%; width: 100%; background: var(--ink-deep); transform: scaleX(0); transform-origin: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 17px 26px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink-deep);
  color: var(--cream);
  border: 1.5px solid var(--ink-deep);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink-deep); }
.btn i { font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn--ember { background: var(--ember); border-color: var(--ember); color: var(--ink-deep); }
.btn--ember::before { background: var(--cream); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink-deep); }
.btn--light::before { background: var(--ember); }

.link-arrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
  transition: letter-spacing 0.4s var(--ease);
}
.link-arrow:hover { letter-spacing: 0.26em; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(29, 25, 21, 0.14); }
.header-inner { display: flex; align-items: stretch; height: var(--head-h); transition: height 0.45s var(--ease); }
.brand { display: flex; align-items: center; padding: 0 var(--pad); border-right: 1px solid var(--line); }
.brand img { height: 34px; width: auto; transition: height 0.45s var(--ease); }
.nav { display: flex; flex: 1; align-items: stretch; justify-content: space-between; }
.nav-list { display: flex; align-items: stretch; }
.nav-list li { display: flex; border-right: 1px solid var(--line-soft); }
.nav-list a, .nav-cta {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(16px, 2.2vw, 34px);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease);
}
.nav-list a b { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.14em; opacity: 0.55; transform: translateY(-0.7em); }
.nav-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-deep);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.nav-list a:hover { color: var(--cream); }
.nav-list a:hover::before { transform: none; }
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: stretch; }
.nav-status { display: flex; align-items: center; gap: 10px; padding: 0 clamp(14px, 1.8vw, 28px); font-size: 0.8rem; color: #5b4e3c; border-left: 1px solid var(--line-soft); white-space: nowrap; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 var(--pad);
  background: var(--ember);
  color: var(--ink-deep);
  border-left: 1px solid var(--line);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav-cta i { font-style: normal; transition: transform 0.35s var(--ease); }
.nav-cta:hover { background: var(--ink-deep); color: var(--cream); }
.nav-cta:hover i { transform: translateX(5px); }
@media (min-width: 961px) {
  .site-header.is-scrolled .header-inner { height: 62px; }
  .site-header.is-scrolled .brand img { height: 28px; }
}
@media (max-width: 1180px) {
  .nav-status { display: none; }
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

/* Reveal helpers */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--head-h) + clamp(32px, 6vh, 70px)) var(--pad) 70px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-deep); animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.5; } }

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.8rem, 9vw, 10rem);
  line-height: 0.84;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line.indent { padding-left: 0.9em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.15s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }

.hero-sub { margin-top: 34px; max-width: 30ch; font-size: 1.2rem; line-height: 1.45; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero .reveal { animation: fadeUp 1s var(--ease) 0.7s forwards; transition: none; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-collage { position: relative; height: min(66vh, 680px); min-height: 480px; margin-top: 56px; }
.card { position: absolute; margin: 0; will-change: transform; }
.card img { position: relative; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.03); }
.block { position: absolute; inset: 0; transform: translate(16px, 16px); }
.block-yellow { background: var(--yellow); }
.block-ink { background: var(--ink-deep); }
.block-ember { background: var(--ember); }
.card-a { width: 52%; aspect-ratio: 4 / 5; top: 0; left: 4%; }
.card-b { width: 46%; aspect-ratio: 4 / 5; top: 24%; right: 0; z-index: 2; }
.card-c { width: 40%; aspect-ratio: 4 / 5; bottom: 0; left: 18%; z-index: 3; }
.card-a, .card-b, .card-c { clip-path: none; animation: pop 1.2s var(--ease) both; }
.card-b { animation-delay: 0.15s; }
.card-c { animation-delay: 0.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(70px) scale(0.94); } }

.badge {
  position: absolute;
  width: 138px; height: 138px;
  right: 2%; bottom: 6%;
  z-index: 4;
  display: grid; place-items: center;
  background: var(--ink-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cream);
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-ring text { font-family: var(--body); font-size: 8.1px; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; fill: var(--cream); }
.badge img { position: relative; width: 36%; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-vertical {
  position: absolute;
  left: 18px; bottom: 70px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-vertical::after { content: ""; display: block; width: 1px; height: 60px; background: currentColor; margin-top: 12px; animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Marquee */
.marquee { background: var(--ink-deep); color: var(--cream); overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; padding: 18px 0; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3.2rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.marquee-track i { font-style: normal; color: var(--ember); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Story */
.story { background: var(--cream); padding: clamp(90px, 14vw, 200px) var(--pad); }
.story-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 6vw, 100px); }
.story-label { padding-top: 14px; }
.story-label .squiggle { margin-top: 16px; width: 120px; }
.story-lead {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 5.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.words .w { opacity: 0.16; transition: opacity 0.35s linear; }
.words .w.on { opacity: 1; }
.story-cols { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); max-width: 880px; font-size: 1.08rem; }

/* Services */
.services { background: var(--ink-deep); color: var(--cream); padding: clamp(80px, 12vw, 170px) var(--pad); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 90px); }
.services .display { font-size: clamp(4rem, 12vw, 11rem); line-height: 0.82; font-weight: 900; }
.services-note { max-width: 320px; display: grid; gap: 24px; justify-items: start; opacity: 0.9; }

.menu { border-top: 1px solid var(--line-light); }
.menu a {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 140px 110px;
  align-items: center;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line-light);
  isolation: isolate;
  transition: color 0.4s var(--ease), padding 0.5s var(--ease);
}
.menu a::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  background: var(--ember);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.menu a:hover::before { transform: scaleY(1); }
.menu a:hover { color: var(--ink-deep); padding-left: 18px; }
.menu .n { font-size: 0.8rem; letter-spacing: 0.2em; opacity: 0.55; }
.menu h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 3.4rem); text-transform: uppercase; line-height: 1; }
.menu h3 small { font-family: var(--body); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.14em; opacity: 0.6; margin-left: 10px; vertical-align: middle; }
.menu .t { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.menu .p { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.8rem); text-align: right; }
.menu li { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.menu li.is-in { opacity: 1; transform: none; }

/* Team */
.team { background: var(--sand); position: relative; }
.team-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; padding-top: var(--head-h); }
.team-head { flex: 0 0 auto; width: clamp(280px, 30vw, 460px); padding: 0 0 0 var(--pad); display: grid; gap: 22px; align-content: center; }
.team-head .display { font-size: clamp(4rem, 8vw, 8rem); font-weight: 900; }
.drag-hint { font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; }
.team-track { flex: 0 0 auto; display: flex; align-items: flex-start; gap: clamp(28px, 4vw, 64px); padding-right: var(--pad); will-change: transform; }
.member { flex: 0 0 clamp(240px, min(27vw, calc((100vh - 360px) * 0.8)), 410px); }
.member figure { position: relative; aspect-ratio: 4 / 5; margin-bottom: 26px; }
.member figure img { position: relative; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(0.3) contrast(1.05); transition: filter 0.6s var(--ease), transform 0.6s var(--ease); }
.member figure .block { transition: transform 0.6s var(--ease); }
.member:hover figure img { filter: none; transform: translate(-6px, -6px); }
.member:hover figure .block { transform: translate(22px, 22px); }
.member .role { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; }
.member h3 { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 5vw, 4.6rem); text-transform: uppercase; line-height: 0.95; margin: 4px 0 12px; }
.member p:last-child { font-size: 0.98rem; line-height: 1.55; max-width: 36ch; }
.team-end { flex: 0 0 clamp(280px, 30vw, 440px); align-self: center; display: grid; gap: 30px; justify-items: start; }
.team-end .display { font-size: clamp(3.4rem, 7vw, 7rem); font-weight: 900; }

/* Group photo */
.group { background: var(--sand); padding: clamp(60px, 9vw, 140px) 0; display: grid; place-items: center; }
.group-frame {
  position: relative;
  width: min(1100px, calc(100% - 2 * var(--pad)));
  aspect-ratio: 5 / 4;
  max-height: 86vh;
  overflow: hidden;
  transform: scale(0.8);
  will-change: transform;
}
.group-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.group-caption {
  position: absolute;
  left: clamp(16px, 3vw, 40px); bottom: clamp(12px, 2vw, 28px);
  color: var(--cream);
  font-size: clamp(3.6rem, 11vw, 10rem);
  font-weight: 900;
  mix-blend-mode: normal;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

/* Quote */
.quote { background: var(--sand-light); padding: clamp(60px, 9vw, 140px) var(--pad) clamp(80px, 12vw, 180px); text-align: center; display: grid; justify-items: center; gap: 34px; }
.quote blockquote { max-width: 1000px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1; }
.quote .squiggle { width: 180px; }

/* Visit */
.visit { background: var(--ink-deep); color: var(--cream); padding: clamp(80px, 12vw, 170px) var(--pad) clamp(70px, 9vw, 120px); }
.visit .display { font-size: clamp(4rem, 12vw, 11rem); font-weight: 900; line-height: 0.84; }
.visit-grid { margin-top: clamp(50px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 5vw, 80px); border-top: 1px solid var(--line-light); padding-top: 40px; }
.visit-block { display: grid; gap: 18px; justify-items: start; align-content: start; }
.visit-block h3 { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); }
.visit-block p { font-size: 1.2rem; line-height: 1.5; }
.visit-block p a { border-bottom: 1px solid currentColor; }
.visit .btn { background: var(--cream); color: var(--ink-deep); border-color: var(--cream); }
.hours { width: 100%; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: 1.05rem; }
.hours li span:last-child { opacity: 0.75; text-align: right; }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--cream); border-top: 1px solid var(--line-light); padding: clamp(56px, 7vw, 96px) var(--pad) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-logo { width: 132px; height: auto; }
.footer-brand p { max-width: 24ch; color: rgba(244, 236, 220, 0.7); font-size: 0.95rem; line-height: 1.5; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 0.95rem; color: rgba(244, 236, 220, 0.75); }
.footer-col h3 { margin-bottom: 6px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sand); }
.footer-col p { line-height: 1.55; }
.footer-col a { width: fit-content; color: var(--cream); transition: color 0.3s; }
.footer-col a:hover { color: var(--ember); }
.footer-row { border-top: 1px solid var(--line-light); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: rgba(244, 236, 220, 0.55); }
.to-top { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); transition: color 0.3s; }
.to-top:hover { color: var(--ember); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ink-deep), 0 0 0 6px var(--ember); }

/* Tablet and below */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--head-h) + 36px); }
  .hero-collage { height: auto; min-height: 0; aspect-ratio: 1 / 1.05; max-width: 560px; width: 100%; margin: 20px auto 0; }
  .hero-vertical { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .story-cols { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .menu a { grid-template-columns: 40px 1fr 90px; row-gap: 4px; }
  .menu .t { grid-column: 2; grid-row: 2; }
  .menu .p { grid-column: 3; grid-row: 1 / span 2; }

  .team-pin { position: static; height: auto; display: block; padding: 80px 0 40px; overflow: visible; }
  .team-head { width: 100%; padding: 0 var(--pad) 40px; }
  .drag-hint { display: none; }
  .team-track { transform: none !important; flex-direction: column; gap: 60px; padding: 0 var(--pad); }
  .member { flex-basis: auto; width: 100%; max-width: 440px; }
  .team-end { padding-top: 20px; }

  .nav-burger { display: block; width: var(--head-h); height: var(--head-h); position: relative; cursor: pointer; z-index: 3; margin-left: auto; border-left: 1px solid var(--line); }
  .nav-burger::before, .nav-burger::after, .nav-burger span { content: ""; position: absolute; left: 24px; right: 24px; height: 2px; background: var(--ink-deep); transition: transform 0.35s var(--ease), opacity 0.2s; }
  .nav-burger::before { top: 29px; }
  .nav-burger span { top: 37px; }
  .nav-burger::after { top: 45px; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--ink-deep); color: var(--cream); flex-direction: column; justify-content: center; align-items: center; gap: 40px; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
  .nav-list { flex-direction: column; gap: 22px; align-items: center; }
  .nav-list li { border: 0; }
  .nav-list a { font-family: var(--display); font-weight: 800; font-size: 3rem; letter-spacing: 0; line-height: 1; padding: 0; color: var(--cream); }
  .nav-list a::before, .nav-list a::after { display: none; }
  .nav-list a b { transform: none; align-self: flex-start; margin-top: 0.4em; font-family: var(--body); }
  .nav-right { flex-direction: column; align-items: center; }
  .nav-status { display: none; }
  .nav-cta { background: var(--ember); color: var(--ink-deep); padding: 18px 30px; border: 0; }
  .nav-toggle:checked ~ .nav { opacity: 1; visibility: visible; }
  .nav-toggle:checked ~ .nav-burger::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger::after { transform: translateY(-8px) rotate(-45deg); }
  .brand { border-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-title .line.indent { padding-left: 0.5em; }
  .badge { width: 104px; height: 104px; }
  .menu a { grid-template-columns: 30px 1fr 70px; }
  .menu h3 small { display: block; margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .line > span { transform: none; }
  .reveal, .menu li { opacity: 1; transform: none; }
  .words .w { opacity: 1; }
  .group-frame, .group-frame img { transform: none; }
}

/* Accessibility */
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--ink-deep); color: var(--cream); padding: 12px 18px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; transition: top 0.3s var(--ease); }
.skip:focus { top: 12px; }

/* Intro loader */
.loader { display: none; }
.js.intro .loader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--sand);
  animation: loaderOut 0.95s var(--ease) 1.55s forwards;
}
.js.intro .loader img { width: min(460px, 62vw); opacity: 0; animation: logoIn 1.1s var(--ease) 0.2s forwards; }
@keyframes logoIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }
.js.pending body { overflow: hidden; }
.js.pending .hero-title .line > span,
.js.pending .hero .reveal,
.js.pending .card { animation-play-state: paused; }

/* Grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Custom cursor */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 450; pointer-events: none; }
  .js .cursor span {
    display: block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 0 1.5px var(--ink-deep), 0 0 0 3px var(--cream);
    transform: translate(-50%, -50%);
  }
  .js .cursor.is-link span { width: 54px; height: 54px; background: rgba(244, 200, 92, 0.4); }
  .js .cursor.is-photo span { width: 64px; height: 64px; background: transparent; }
  .js.has-cursor, .js.has-cursor a, .js.has-cursor label { cursor: none; }
}

/* Watermarks and decoration */

.story-grid, .services > :not(.watermark) { position: relative; z-index: 1; }
.watermark { position: absolute; top: 50%; left: 0; width: min(1400px, 112vw); max-width: none; opacity: 0.075; pointer-events: none; transform: translate3d(var(--dx, 0px), -50%, 0); will-change: transform; }
.watermark--light { opacity: 0.06; }

.visit-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.open-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 0.86rem !important; letter-spacing: 0.04em; }
.is-closed .dot, .dot.is-closed { animation: none; background: #8a8680; }

/* Floating book button */
.book-pill {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ink-deep);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(160%);
  transition: transform 0.6s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.book-pill.is-on { transform: none; }
.book-pill:hover { background: var(--cream); }
.book-pill i { font-style: normal; }
@media (max-width: 960px) {
  .book-pill { left: 16px; right: 16px; justify-content: center; bottom: 16px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .js.intro .loader, .js.intro .cursor { display: none; }
  .js.pending body { overflow: visible; }
  .badge-ring { animation: none; }
  .book-pill { transition: none; }
}

.story, .services { position: relative; overflow: hidden; }


/* Follow along */
.follow { background: var(--cream); padding: clamp(70px, 10vw, 150px) var(--pad); display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.avatar { width: clamp(150px, 20vw, 290px); aspect-ratio: 1; border-radius: 50%; background: var(--sand); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--cream), 0 0 0 11px var(--ring); }
.avatar img { width: 74%; height: auto; }
.follow-body { display: grid; gap: 18px; justify-items: start; }
.follow-body .eyebrow { color: #6b5d4a; }
.follow-handle { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 9.4vw, 9.6rem); line-height: 0.86; letter-spacing: -0.012em; }
.follow-body p { max-width: 46ch; color: #3d342b; }
.follow-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 8px; }
.footer-tag { margin-top: 6px; }
@media (max-width: 860px) {
  .follow { grid-template-columns: 1fr; }
}


/* Brand figure and pattern */
.man-float { position: absolute; z-index: 1; bottom: clamp(40px, 6vw, 90px); right: var(--pad); width: clamp(90px, 11vw, 170px); height: auto; transform-origin: 50% 90%; will-change: transform; pointer-events: none; }
.man-sit { width: clamp(70px, 8vw, 120px); height: auto; margin-bottom: -6px; }
.hero, .services, .follow { position: relative; overflow: hidden; }
.hero::before, .services::before, .follow::before {
  content: "";
  position: absolute;
  inset: -60%;
  transform: rotate(-28deg);
  will-change: transform;
  background: url("../images/pattern.png") 0 0 / clamp(300px, 36vw, 560px) auto;
  opacity: 0.06;
  pointer-events: none;
}
.services::before { background-image: url("../images/pattern-light.png"); opacity: 0.035; }
.follow::before { opacity: 0.05; }
.hero-copy, .hero-collage, .follow > * { position: relative; z-index: 1; }


/* CMS additions: tones, generic blocks, counters, stacked team */
.no-decor::before { display: none; }
.page-main { padding-top: var(--head-h); }
main#top > :first-child:not(.hero) { padding-top: calc(var(--head-h) + clamp(40px, 6vw, 90px)); }

.tone-tan { background: var(--sand); color: var(--ink-deep); }
.tone-cream { background: var(--cream); color: var(--ink-deep); }
.tone-dark { background: var(--ink-deep); color: var(--cream); }
.tone-tan .eyebrow, .tone-cream .eyebrow { color: rgba(29, 25, 21, 0.65); }
.tone-dark .eyebrow { color: rgba(244, 236, 220, 0.6); }
.tone-tan .btn:not(.btn--ember):not(.btn--light), .tone-cream .btn:not(.btn--ember):not(.btn--light) { background: var(--ink-deep); color: var(--cream); border-color: var(--ink-deep); }
.tone-dark .btn:not(.btn--ember) { background: var(--cream); color: var(--ink-deep); border-color: var(--cream); }
.tone-dark .hours li, .tone-dark .visit-block, .tone-dark .visit-grid { border-color: var(--line-light); }
.tone-tan .hours li, .tone-cream .hours li { border-color: var(--line-soft); }
.tone-tan .visit-block h3, .tone-cream .visit-block h3 { color: var(--ink); }
.tone-tan .services-note, .tone-cream .services-note { color: rgba(29, 25, 21, 0.78); }
.tone-tan .menu a, .tone-cream .menu a { border-color: var(--line-soft); }
.tone-tan .menu, .tone-cream .menu { border-color: var(--line-soft); }
.tone-tan .menu .t, .tone-cream .menu .t, .tone-tan .menu .n, .tone-cream .menu .n { color: rgba(29, 25, 21, 0.6); opacity: 1; }
.tone-tan .menu a:hover, .tone-cream .menu a:hover { color: var(--ink-deep); }

.quote-by { display: block; margin-top: 18px; font-family: var(--body); font-size: 0.78rem; font-weight: 500; font-style: normal; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.7; }

.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-bottom: 1px solid var(--line-soft); }
.counter { padding: clamp(36px, 6vw, 80px) var(--pad); border-left: 1px solid var(--line-soft); display: grid; gap: 6px; }
.counter:first-child { border-left: 0; }
.counter b { font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 8vw, 8rem); line-height: 1; letter-spacing: -0.02em; }
.counter span { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.65; }

.generic { padding: clamp(80px, 11vw, 160px) var(--pad); }
.generic-inner { max-width: 860px; display: grid; gap: 24px; justify-items: start; }
.generic .display { font-size: clamp(2.6rem, 7vw, 6rem); }
.generic-body { font-size: 1.08rem; max-width: 62ch; }
.generic-body p { margin: 0 0 1em; }
.generic-body a { text-decoration: underline; text-underline-offset: 3px; }
.generic--image { padding-block: clamp(40px, 6vw, 90px); }
.generic-figure { margin: 0 auto; width: min(1100px, 100%); }
.generic-figure img { width: 100%; height: auto; }
.generic-figure figcaption { margin-top: 12px; font-size: 0.86rem; letter-spacing: 0.06em; opacity: 0.7; }
.generic--cta { background: var(--ink-deep); color: var(--cream); }
.generic--cta .btn { background: var(--cream); color: var(--ink-deep); border-color: var(--cream); }

.team--stacked .team-pin { position: static; height: auto; display: block; padding: 80px 0 40px; overflow: visible; }
.team--stacked .team-track { transform: none !important; flex-direction: column; gap: 60px; padding: 0 var(--pad); }
.team--stacked .team-head { width: 100%; padding-left: 0; }
.team--stacked .member { flex-basis: auto; width: 100%; max-width: 440px; }
