/* ============================================================
   SOHXM — warm editorial gallery system
   Display: Syne · Body: Hanken Grotesk · Mono: Space Mono
   ============================================================ */

:root {
  /* light (default) */
  --bg:      244 241 234;   /* warm bone   */
  --surface: 234 229 218;   /* deeper bone */
  --raise:   249 247 242;   /* card lift   */
  --ink:     28 26 22;      /* near-black  */
  --muted:   110 103 92;    /* warm gray   */
  --line:    28 26 22;      /* hairlines via alpha */
  --accent:  193 91 51;     /* clay        */
  --accent-ink: 255 255 255;
  --shadow: 30 24 16;

  --maxw: 1280px;
  --ease: cubic-bezier(.22,.7,.25,1);
  --font-display: "Syne", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}
[data-theme="dark"] {
  --bg:      20 17 13;
  --surface: 30 26 20;
  --raise:   36 31 24;
  --ink:     242 237 227;
  --muted:   154 145 131;
  --line:    242 237 227;
  --accent:  210 108 64;
  --accent-ink: 22 16 11;
  --shadow: 0 0 0;
}
[data-font="bricolage"] { --font-display: "Bricolage Grotesque", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: rgb(var(--bg));
  color: rgb(var(--ink));
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: rgb(var(--accent) / .25); }
.theme-tx, section, header, footer { transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }

/* ---------- type helpers ---------- */
.display { font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: -.02em; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: rgb(var(--accent));
}
.lead { font-size: clamp(16px, 1.4vw, 19px); color: rgb(var(--muted)); font-weight: 300; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px){ .wrap { padding: 0 20px; } }
.hairline { border-top: 1px solid rgb(var(--line) / .14); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ============================================================
   HEADER
   ============================================================ */
#hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease); }
#hdr .bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; }
@media (max-width:640px){ #hdr .bar { padding: 16px 20px; } }
#hdr .logo { height: 30px; width: auto; transition: filter .45s var(--ease); filter: brightness(0) invert(1); }
#hdr nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 1000px){ #hdr nav { display: flex; } }
.nlink {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,.82); position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.nlink::after { content:""; position:absolute; left:0; bottom:-2px; height:1.5px; width:0; background: rgb(var(--accent)); transition: width .32s var(--ease); }
.nlink:hover { color:#fff; } .nlink:hover::after { width:100%; }
#hdr.solid {
  background: rgb(var(--bg) / .82); backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgb(var(--line) / .12);
}
#hdr.solid .logo { filter: brightness(0); }
[data-theme="dark"] #hdr.solid .logo { filter: brightness(0) invert(1); }
#hdr.solid .nlink { color: rgb(var(--muted)); }
#hdr.solid .nlink:hover { color: rgb(var(--ink)); }
#hdr.solid .menu-ic, #hdr.solid .tgl { color: rgb(var(--ink)); }
.menu-ic { color:#fff; display:flex; }
@media (min-width:1000px){ .menu-ic { display:none; } }

.book {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 11px 22px; background: rgb(var(--accent)); color: rgb(var(--accent-ink));
  transition: transform .25s var(--ease), background-color .3s; border-radius: 2px;
}
.book:hover { transform: translateY(-2px); }

/* theme toggle */
.tgl { width: 56px; height: 28px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.25); backdrop-filter: blur(4px); position: relative; display: inline-flex; align-items:center; flex-shrink:0; padding: 0 4px; transition: background-color .4s, border-color .4s; }
#hdr.solid .tgl { border-color: rgb(var(--line) / .3); background: rgb(var(--surface)); }
.tgl .knob { position: absolute; top: 50%; left: 3px; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: rgb(var(--accent)); box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: left .4s var(--ease), background-color .4s; }
[data-theme="dark"] .tgl .knob { left: 31px; background: #F2EDE3; }
.tgl svg { width: 12px; height: 12px; position: relative; z-index: 1; pointer-events: none; }
.tgl .ic-sun { color: #FFD98A; margin-right: auto; }
.tgl .ic-moon { color: rgba(255,255,255,.55); margin-left: auto; }
[data-theme="dark"] .tgl .ic-sun { opacity: .3; }
[data-theme="light"] .tgl .ic-moon { opacity: .5; }

/* mobile menu */
#mnav { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); background: rgb(var(--bg) / .97); backdrop-filter: blur(16px); }
#mnav.open { max-height: 460px; }
#mnav .inner { display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 24px; }
#mnav a { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--muted)); padding: 12px 0; border-bottom: 1px solid rgb(var(--line) / .08); }
#mnav a:last-child { border:0; }

/* ============================================================
   HERO — floating photo marquee
   ============================================================ */
#hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #0c0a08; }
.hero-marquee { position: absolute; inset: -6% -4%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; will-change: transform; }
@media (max-width: 900px){ .hero-marquee { grid-template-columns: repeat(3, 1fr); inset: -10% -10%; } }
.hero-col { display: flex; flex-direction: column; gap: 18px; will-change: transform; }
.hero-col img { width: 100%; height: auto; border-radius: 3px; object-fit: cover; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
@media (max-width: 900px){ .hero-col:nth-child(4), .hero-col:nth-child(5){ display:none; } }
.hero-scrim { position: absolute; inset: 0; background:
   radial-gradient(120% 90% at 50% 42%, rgba(0,0,0,.28), rgba(0,0,0,.62) 70%, rgba(0,0,0,.78));
   z-index: 2; }
.hero-grain { position:absolute; inset:0; z-index:3; opacity:.5; pointer-events:none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.hero-center { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; will-change: transform, opacity; }
.hero-center .wordmark { width: min(74vw, 460px); filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.hero-center .tag { margin-top: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.hero-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5; color: rgba(255,255,255,.6); display:flex; flex-direction:column; align-items:center; gap:8px; }
.hero-cue span { font-family: var(--font-mono); font-size: 10px; letter-spacing:.3em; text-transform: uppercase; }
.hero-cue svg { animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce){ .hero-cue svg { animation: none; } }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec { padding: clamp(72px, 11vw, 150px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.h-xl { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: .92;
  font-size: clamp(40px, 8vw, 104px); }
.h-lg { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: .98;
  font-size: clamp(34px, 5.2vw, 68px); }
.h-md { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.02;
  font-size: clamp(26px, 3.2vw, 40px); }

/* ============================================================
   WORK / CAROUSELS
   ============================================================ */
#work { background: rgb(var(--bg)); }
.work-top { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin-bottom: 40px; }
.work-top > div:first-child { width: 100%; }
.work-title-wrap { overflow: hidden; }
#workTitle { display: inline-block; transition: transform .5s var(--ease), opacity .5s var(--ease); }
#workTitle.swap { transform: translateY(-18px); opacity: 0; }
.work-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--muted)); margin-top: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid rgb(var(--line) / .2); color: rgb(var(--muted));
  border-radius: 2px; transition: all .3s var(--ease);
}
.pill:hover { color: rgb(var(--ink)); border-color: rgb(var(--line) / .4); }
.pill.active { background: rgb(var(--ink)); color: rgb(var(--bg)); border-color: rgb(var(--ink)); }

.cr-stack { position: relative; margin-top: 8px; border-top: 1px solid rgb(var(--line) / .12); }
.cr-row { position: relative; border-bottom: 1px solid rgb(var(--line) / .12); }
.cr-label { position: absolute; top: 14px; left: 28px; z-index: 5; display: flex; align-items: baseline; gap: 12px; pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cr-label .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: rgb(var(--accent)); }
.cr-label .t { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 46px); line-height: 1; color: rgb(var(--ink) / .32); }
.cr-stack.solo .cr-label { opacity: 0; transform: translateY(-8px); }
.cr-view { width: 100%; overflow: hidden; cursor: grab; padding: 20px 0; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.cr-view.grab { cursor: grabbing; }
.cr-track { display: flex; gap: 16px; width: max-content; will-change: transform, filter; }
.cr-item {
  flex: 0 0 auto; height: 230px; border-radius: 3px; overflow: hidden; position: relative;
  background: rgb(var(--surface)); box-shadow: 0 8px 26px rgb(var(--shadow) / .14);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
@media (min-width: 768px){ .cr-item { height: 320px; } }
.cr-item img { height: 100%; width: auto; object-fit: cover; pointer-events: none; }
.cr-view:not(.grab) .cr-item:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgb(var(--shadow) / .28); }
.cr-item::after { content:""; position:absolute; inset:0; background: rgb(var(--accent) / 0); transition: background .4s; }
.cr-view:not(.grab) .cr-item:hover::after { background: rgb(var(--accent) / .08); }
.cr-stack::before, .cr-stack::after { content:""; position:absolute; top:0; bottom:0; width: 7%; z-index: 4; pointer-events: none; }
.cr-stack::before { left:0; background: linear-gradient(90deg, rgb(var(--bg)), transparent); }
.cr-stack::after { right:0; background: linear-gradient(270deg, rgb(var(--bg)), transparent); }
.svg-defs { position: absolute; width: 0; height: 0; }

/* ============================================================
   MARQUEE DIVIDER
   ============================================================ */
.mq { overflow: hidden; padding: 22px 0; border-top: 1px solid rgb(var(--line)/.12); border-bottom: 1px solid rgb(var(--line)/.12); }
.mq-track { display: flex; gap: 48px; width: max-content; animation: mqmove 32s linear infinite; }
.mq-track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 52px); color: rgb(var(--ink) / .14); white-space: nowrap; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 48px; }
.mq-track span::after { content:"✦"; color: rgb(var(--accent)); font-size: .5em; }
.mq { overflow: hidden; padding: 22px 0; border-top: 1px solid rgb(var(--line)/.12); border-bottom: 1px solid rgb(var(--line)/.12); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.mq:active { cursor: grabbing; }
.mq[data-charge] { position: relative; }
.mq[data-charge]::before { content:""; position:absolute; left:0; bottom:0; height:2px; width: calc(var(--charge, 0) * 1%); background: rgb(var(--accent)); transition: width .2s var(--ease); z-index: 3; }
.mq[data-charge="1"]{ --charge: 10; } .mq[data-charge="2"]{ --charge: 20; } .mq[data-charge="3"]{ --charge: 30; } .mq[data-charge="4"]{ --charge: 40; } .mq[data-charge="5"]{ --charge: 50; } .mq[data-charge="6"]{ --charge: 60; } .mq[data-charge="7"]{ --charge: 70; } .mq[data-charge="8"]{ --charge: 80; } .mq[data-charge="9"]{ --charge: 90; } .mq[data-charge="10"]{ --charge: 100; }
.mq-track .david { color: rgb(var(--accent)); -webkit-text-stroke: 0; animation: davidPop .6s var(--ease) infinite alternate; }
@keyframes davidPop { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-8px) rotate(2deg); } }
@keyframes mqmove { to { transform: translateX(-50%); } }

/* DAVID easter-egg — full epileptic takeover */
html.david-mode { animation: davidShake .4s steps(2) infinite; }
@keyframes davidShake { 0%,100%{ transform: translate(0,0); } 25%{ transform: translate(-3px,2px); } 50%{ transform: translate(3px,-2px); } 75%{ transform: translate(-2px,-3px); } }

/* rapid rainbow strobe over the whole screen */
#davidStrobe { position: fixed; inset: 0; z-index: 9990; pointer-events: none; display: none; mix-blend-mode: hard-light; opacity: .6; }
html.david-mode #davidStrobe { display: block; animation: davidFlash .1s steps(1) infinite; }
@keyframes davidFlash {
  0%{ background:#ff0040; } 14%{ background:#ff8a00; } 28%{ background:#ffe600; } 42%{ background:#28ff5b; }
  57%{ background:#00d6ff; } 71%{ background:#5b6bff; } 85%{ background:#c800ff; } 100%{ background:#ff0040; }
}
/* everything — bg, text, icons — flashes colors epileptically */
html.david-mode body { animation: davidBg .12s steps(1) infinite; }
@keyframes davidBg { 0%{ background:#1a0030; } 33%{ background:#001a2a; } 66%{ background:#2a0010; } }
html.david-mode *:not(#davidSign):not(#davidSign *):not(#davidStrobe) {
  animation: davidText .11s steps(1) infinite !important;
}
@keyframes davidText {
  0%{ color:#ff0040; border-color:#ffe600; } 16%{ color:#ff8a00; border-color:#28ff5b; }
  33%{ color:#ffe600; border-color:#00d6ff; } 50%{ color:#28ff5b; border-color:#c800ff; }
  66%{ color:#00d6ff; border-color:#ff0040; } 83%{ color:#c800ff; border-color:#ff8a00; }
}
html.david-mode img, html.david-mode .cr-item { animation: davidHue .14s steps(1) infinite !important; }
@keyframes davidHue { 0%{ filter:hue-rotate(0deg) saturate(3); } 33%{ filter:hue-rotate(140deg) saturate(4); } 66%{ filter:hue-rotate(260deg) saturate(3) invert(.15); } }

/* DAVID MODE ACTIVATED sign drops from the top */
#davidSign { position: fixed; top: 0; left: 50%; transform: translate(-50%, -160%); z-index: 9999; width: min(86vw, 520px); text-align: center; pointer-events: none; }
#davidSign.show { animation: davidDrop .7s cubic-bezier(.5,1.7,.45,.95) forwards; }
@keyframes davidDrop { from { transform: translate(-50%, -160%); } to { transform: translate(-50%, 0); } }
#davidSign .chains { display: flex; justify-content: space-between; padding: 0 16%; }
#davidSign .chains i { width: 4px; height: 26px; background: repeating-linear-gradient(#bbb 0 4px, #777 4px 8px); display: block; }
#davidSign .plate { margin-top: -2px; background: #0c0a08; border: 4px solid; border-image: linear-gradient(90deg,#ff0040,#ffe600,#28ff5b,#00d6ff,#c800ff) 1; padding: 22px 20px; box-shadow: 0 24px 70px rgba(0,0,0,.6); animation: signGlow .3s steps(1) infinite; }
@keyframes signGlow { 0%{ box-shadow:0 0 60px #ff0040, 0 24px 70px rgba(0,0,0,.6); } 50%{ box-shadow:0 0 60px #00d6ff, 0 24px 70px rgba(0,0,0,.6); } }
#davidSign .plate .st { font-family: var(--font-display); font-weight: 800; line-height: .92; font-size: clamp(26px, 6vw, 42px); letter-spacing: -.02em; background: linear-gradient(90deg,#ff0040,#ff8a00,#ffe600,#28ff5b,#00d6ff,#c800ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 100%; animation: signText .6s linear infinite; }
@keyframes signText { to { background-position: 200% 0; } }
#davidSign .plate .sc { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-top: 12px; }
#davidSign .plate .sc b { display:inline-block; min-width: 1.4em; font-size: 18px; color:#ffe600; }

@media (prefers-reduced-motion: reduce){
  .mq-track .david { animation: none; }
  html.david-mode, html.david-mode body, html.david-mode #davidStrobe,
  html.david-mode *:not(#davidSign):not(#davidSign *), html.david-mode img, html.david-mode .cr-item { animation: none !important; }
  html.david-mode #davidStrobe { display:block; background: linear-gradient(90deg,#ff0040,#ffe600,#28ff5b,#00d6ff,#c800ff); opacity:.4; }
  #davidSign.show { animation: none; transform: translate(-50%, 0); }
  #davidSign .plate, #davidSign .plate .st, #davidSign .plate .sc b { animation: none; }
}

/* ============================================================
   FILMS
   ============================================================ */
#films { background: rgb(var(--surface)); }
.films-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 52px; }
@media (min-width: 760px){ .films-grid { grid-template-columns: 1.5fr 1fr; grid-auto-rows: 1fr; } }
.film {
  position: relative; overflow: hidden; border-radius: 4px; background: #0c0a08; aspect-ratio: 16/9;
  border: 1px solid rgb(var(--line)/.1);
}
.film.tall { aspect-ratio: 16/9; }
@media (min-width: 760px){
  .film.feature { grid-row: span 2; aspect-ratio: auto; }
}
.film video, .film img, .film iframe { width: 100%; height: 100%; object-fit: cover; border:0; }
.film .poster { position:absolute; inset:0; transition: transform .8s var(--ease), opacity .5s; }
.film:hover .poster { transform: scale(1.05); }
.film .vmeta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent); color: #fff; pointer-events: none; }
.film .vmeta .vk { font-family: var(--font-mono); font-size: 10px; letter-spacing:.25em; text-transform:uppercase; color: rgba(255,255,255,.7); }
.film .vmeta .vt { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); margin-top: 4px; }
.film .play { position:absolute; inset:0; z-index:4; display:flex; align-items:center; justify-content:center; }
.film .play .disc { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.4); display:flex; align-items:center; justify-content:center; color:#fff; transition: transform .35s var(--ease), background .35s; }
.film:hover .play .disc { transform: scale(1.12); background: rgb(var(--accent)); border-color: rgb(var(--accent)); }
.film .scrim { position:absolute; inset:0; z-index:2; background: rgba(0,0,0,.18); }

/* ============================================================
   PORTAL
   ============================================================ */
#portal { background: rgb(var(--bg)); text-align: center; }
.portal-card { max-width: 720px; margin: 0 auto; }
.portal-ic { width: 54px; height: 54px; color: rgb(var(--accent)); margin: 0 auto 22px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 15px 28px; border-radius: 2px; transition: transform .25s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn-solid { background: rgb(var(--accent)); color: rgb(var(--accent-ink)); }
.btn-solid:hover { transform: translateY(-2px); }
.btn-ink { background: rgb(var(--ink)); color: rgb(var(--bg)); }
.btn-ink:hover { transform: translateY(-2px); }
.btn-out { border: 1px solid rgb(var(--line)/.3); color: rgb(var(--ink)); }
.btn-out:hover { border-color: rgb(var(--accent)); color: rgb(var(--accent)); }

/* ============================================================
   PRICING / ESTIMATOR
   ============================================================ */
#pricing { background: rgb(var(--surface)); }
#pricing.sec { padding-top: clamp(46px, 6vw, 78px); padding-bottom: clamp(46px, 6vw, 78px); }
.svc-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 16px; }
.svc { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 20px; border: 1px solid rgb(var(--line)/.2); border-radius: 2px; color: rgb(var(--muted)); transition: all .3s var(--ease); }
.svc svg { width: 16px; height: 16px; }
.svc:hover { color: rgb(var(--ink)); border-color: rgb(var(--line)/.4); }
.svc.active { background: rgb(var(--ink)); color: rgb(var(--bg)); border-color: rgb(var(--ink)); }
.club-row { display: flex; justify-content: center; margin-bottom: 22px; }
.club { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; padding: 11px 18px; border: 1px dashed rgb(var(--accent)/.5); border-radius: 2px; transition: background .3s; }
.club:hover { background: rgb(var(--accent)/.06); }
.club .box { width: 20px; height: 20px; border: 1.5px solid rgb(var(--accent)); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .25s; }
.club .box svg { width: 13px; height: 13px; color: rgb(var(--accent-ink)); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s; }
.club.on .box { background: rgb(var(--accent)); }
.club.on .box svg { opacity: 1; transform: none; }
.club .lbl { font-size: 13px; font-weight: 500; }
.club .lbl b { color: rgb(var(--accent)); }

.price-card { max-width: 940px; margin: 0 auto; background: rgb(var(--raise)); border: 1px solid rgb(var(--line)/.14); border-radius: 6px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 20px 60px rgb(var(--shadow)/.1); display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 880px){ .price-card { grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: start; } }
.pc-left, .pc-right { display: flex; flex-direction: column; min-width: 0; }
.price-card .pc-title { display: flex; align-items: center; gap: 12px; }
.price-card .pc-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); margin: 8px 0 22px; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.perks li { display: flex; gap: 11px; font-weight: 300; color: rgb(var(--muted)); font-size: 14.5px; }
.perks li .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--accent)); margin-top: 9px; flex-shrink: 0; }
.field-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--ink)); margin-bottom: 16px; }
.range-row { display: flex; align-items: center; gap: 22px; }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: rgb(var(--line)/.18); outline: none; }
.rng::-webkit-slider-thumb { -webkit-appearance: none; height: 22px; width: 22px; border-radius: 50%; background: rgb(var(--accent)); cursor: pointer; box-shadow: 0 2px 8px rgb(var(--shadow)/.3); border: 3px solid rgb(var(--raise)); }
.rng::-moz-range-thumb { height: 18px; width: 18px; border: 3px solid rgb(var(--raise)); border-radius: 50%; background: rgb(var(--accent)); cursor: pointer; }
.qty { font-family: var(--font-mono); font-size: 15px; font-weight: 700; white-space: nowrap; min-width: 96px; }
.addons { margin-top: 20px; padding: 22px; border: 1px solid rgb(var(--line)/.12); border-radius: 4px; background: rgb(var(--bg)/.5); display: flex; flex-direction: column; gap: 16px; }
.addon { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.addon input[type=checkbox] { margin-top: 3px; width: 17px; height: 17px; accent-color: rgb(var(--accent)); flex-shrink: 0; }
.addon input[type=number] { width: 58px; padding: 6px; text-align: center; border: 1px solid rgb(var(--line)/.25); border-radius: 3px; background: rgb(var(--bg)); color: rgb(var(--ink)); font-family: var(--font-mono); }
.addon .ab { font-weight: 600; font-size: 14px; display: block; }
.addon .as { font-size: 12.5px; color: rgb(var(--muted)); }
.total { margin-top: 20px; padding: 22px; border: 1px solid rgb(var(--line)/.16); border-radius: 4px; background: rgb(var(--bg)/.6); text-align: center; }
.total .tk { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--muted)); }
.total .tv { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.5vw, 58px); line-height: 1; margin-top: 8px; letter-spacing: -.02em; }
.total .tdisc { color: rgb(var(--accent)); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; margin-top: 8px; height: 16px; }
.total .tf { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--muted)); margin-top: 6px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
#quote { background: rgb(var(--bg)); text-align: center; }
.stars { display: flex; gap: 6px; justify-content: center; color: rgb(var(--accent)); margin-bottom: 26px; }
.stars svg { width: 17px; height: 17px; }
.bigquote { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(22px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.01em; max-width: 980px; margin: 0 auto 28px; }

/* ============================================================
   ABOUT + TEAM
   ============================================================ */
#about { background: rgb(var(--surface)); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 860px){ .about-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.about-photo { position: relative; aspect-ratio: 4/5; border-radius: 5px; overflow: hidden; border: 1px solid rgb(var(--line)/.15); max-width: 420px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.about-photo:hover img { transform: scale(1.05); }
.about-photo .tagchip { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgb(var(--bg)/.9); color: rgb(var(--ink)); padding: 7px 12px; border-radius: 2px; }
.pull { border-left: 2px solid rgb(var(--accent)); padding-left: 18px; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 17px; color: rgb(var(--ink)); }
.team { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
@media (min-width: 720px){ .team { grid-template-columns: repeat(3, 1fr); } }
.tcard { padding: 32px; border: 1px solid rgb(var(--line)/.14); border-radius: 5px; background: rgb(var(--raise)); transition: transform .4s var(--ease), border-color .4s; }
.tcard:hover { transform: translateY(-5px); border-color: rgb(var(--accent)/.4); }
.tcard .tic { width: 44px; height: 44px; border-radius: 50%; background: rgb(var(--accent)/.12); display: flex; align-items: center; justify-content: center; color: rgb(var(--accent)); margin-bottom: 20px; }
.tcard .tic svg { width: 20px; height: 20px; }
.tcard h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 4px; }
.tcard .role { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--accent)); display: block; margin-bottom: 14px; }
.tcard p { font-size: 13.5px; font-weight: 300; color: rgb(var(--muted)); margin: 0; line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: rgb(var(--bg)); }
.faq-list { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid rgb(var(--line)/.14); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; text-align: left; padding: 26px 4px; }
.faq-q span { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 2vw, 22px); }
.faq-q .chev { color: rgb(var(--accent)); transition: transform .4s var(--ease); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { padding: 0 4px 28px; font-weight: 300; color: rgb(var(--muted)); font-size: 15px; max-width: 680px; }

/* ============================================================
   BOOKING FORM
   ============================================================ */
#book { background: rgb(var(--surface)); }
.book-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 920px){ .book-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }
.book-aside .row { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.book-aside .row .ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(var(--line)/.2); display:flex; align-items:center; justify-content:center; color: rgb(var(--accent)); flex-shrink: 0; }
.book-aside .row a, .book-aside .row span { font-size: 14.5px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.fg { display: flex; flex-direction: column; gap: 8px; position: relative; }
.fg label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--muted)); }
.fg input, .fg select, .fg textarea {
  font-family: var(--font-body); font-size: 15px; color: rgb(var(--ink)); background: rgb(var(--raise));
  border: 1px solid rgb(var(--line)/.18); border-radius: 3px; padding: 14px 16px; width: 100%;
  transition: border-color .3s; outline: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgb(var(--muted)/.7); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: rgb(var(--accent)); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px){ .two { grid-template-columns: 1fr; } }
.date-trigger { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.date-trigger.placeholder { color: rgb(var(--muted)/.7); }
.date-trigger svg { width: 17px; height: 17px; color: rgb(var(--accent)); }

/* calendar popover */
.cal { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 304px; background: rgb(var(--raise)); border: 1px solid rgb(var(--line)/.18); border-radius: 6px; box-shadow: 0 24px 60px rgb(var(--shadow)/.25); padding: 16px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.cal.open { opacity: 1; visibility: visible; transform: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .m { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.cal-head button { width: 30px; height: 30px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: rgb(var(--ink)); transition: background .25s; }
.cal-head button:hover { background: rgb(var(--line)/.1); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: rgb(var(--muted)); text-align: center; padding: 6px 0; }
.cal-grid .day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 5px; cursor: pointer; transition: background .2s, color .2s; }
.cal-grid .day:hover:not(.off):not(.disabled) { background: rgb(var(--accent)/.15); }
.cal-grid .day.off { visibility: hidden; }
.cal-grid .day.disabled { color: rgb(var(--muted)/.4); cursor: default; }
.cal-grid .day.today { box-shadow: inset 0 0 0 1px rgb(var(--accent)/.5); }
.cal-grid .day.sel { background: rgb(var(--accent)); color: rgb(var(--accent-ink)); }
.form-note { font-size: 12.5px; color: rgb(var(--muted)); }
.form-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; min-height: 18px; }
.form-status.ok { color: rgb(var(--accent)); }
.form-status.err { color: #c0392b; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: rgb(var(--bg)); padding: 60px 0; border-top: 1px solid rgb(var(--line)/.12); }
.foot { display: flex; flex-direction: column; gap: 28px; align-items: center; }
@media (min-width: 760px){ .foot { flex-direction: row; justify-content: space-between; } }
.foot .flogo { height: 28px; filter: brightness(0); }
[data-theme="dark"] .foot .flogo { filter: brightness(0) invert(1); }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.foot nav a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--muted)); transition: color .3s; }
.foot nav a:hover { color: rgb(var(--ink)); }
.foot .cp { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--muted)); }

/* ============================================================
   GALLERY / LIGHTBOX
   ============================================================ */
#viewer { position: fixed; inset: 0; z-index: 100; background: rgba(8,6,4,.94); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
#viewer.open { opacity: 1; visibility: visible; }
.vstage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.vslide { position: absolute; max-width: 90vw; max-height: 84vh; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.7); will-change: transform, opacity; }
.vbtn { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s; }
.vbtn:hover { background: rgb(var(--accent)); border-color: rgb(var(--accent)); }
.vprev { left: 24px; } .vnext { right: 24px; }
@media (max-width: 640px){ .vbtn { width: 44px; height: 44px; } .vprev{ left: 10px; } .vnext{ right: 10px; } }
.vclose { position: absolute; top: 22px; right: 24px; z-index: 6; color: #fff; opacity: .85; width: 40px; height: 40px; display:flex; align-items:center; justify-content:center; }
.vclose:hover { opacity: 1; }
.vcount { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.8); }
.vcat { position: absolute; top: 26px; left: 26px; z-index: 6; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ============================================================
   TWEAKS PANEL (vanilla)
   ============================================================ */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 120; width: 280px; background: rgb(var(--raise)); border: 1px solid rgb(var(--line)/.2); border-radius: 10px; box-shadow: 0 24px 70px rgb(var(--shadow)/.3); padding: 0; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; font-family: var(--font-body); }
#tweaks.open { opacity: 1; visibility: visible; transform: none; }
#tweaks .tw-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgb(var(--line)/.12); }
#tweaks .tw-head .tt { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
#tweaks .tw-head button { color: rgb(var(--muted)); width: 26px; height: 26px; display:flex; align-items:center; justify-content:center; border-radius: 5px; }
#tweaks .tw-head button:hover { background: rgb(var(--line)/.1); color: rgb(var(--ink)); }
#tweaks .tw-body { padding: 16px; display: flex; flex-direction: column; gap: 18px; max-height: 70vh; overflow: auto; }
.tw-sec { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--muted)); }
.tw-swatches { display: flex; gap: 8px; margin-top: 8px; }
.tw-sw { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform .2s; }
.tw-sw:hover { transform: scale(1.12); }
.tw-sw.on { border-color: rgb(var(--ink)); }
.tw-seg { display: flex; gap: 6px; margin-top: 8px; }
.tw-seg button { flex: 1; font-family: var(--font-mono); font-size: 11px; padding: 8px 4px; border: 1px solid rgb(var(--line)/.2); border-radius: 5px; color: rgb(var(--muted)); transition: all .25s; }
.tw-seg button.on { background: rgb(var(--ink)); color: rgb(var(--bg)); border-color: rgb(var(--ink)); }
.tw-rng { width: 100%; margin-top: 10px; }
.tw-label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 500; }
.tw-label span:last-child { font-family: var(--font-mono); color: rgb(var(--muted)); }
