/* ============ TOKENS ============ */
:root {
  --bg: #06070a;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.14);
  --glass-hi: rgba(255,255,255,0.10);
  --ice: rgba(190,215,255,0.16);
  --text: #f4f6fa;
  --text-dim: rgba(244,246,250,0.62);
  --text-faint: rgba(244,246,250,0.5); /* raised from 0.38 to clear WCAG AA 4.5:1 for small text (Checkpoint 12) */
  --accent: #bfe0ff;

  --f-xlight: 200;
  --f-light: 300;
  --f-reg: 400;   /* reserved — not yet used by any element, kept for a complete type scale */
  --f-bold: 700;
  --f-xbold: 800;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 8px; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(120,160,255,0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(120,160,255,0.06), transparent 60%),
    var(--bg);
  background-size: 160% 160%, 160% 160%, auto;
  background-repeat: no-repeat;
  animation: auraShift 34s ease-in-out infinite alternate;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: var(--f-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@keyframes auraShift {
  0%   { background-position: 82% -8%, -8% 108%, 0 0; }
  100% { background-position: 55% 6%, 12% 88%, 0 0; }
}

/* ============ FILM GRAIN OVERLAY ============ */
.grain {
  position: fixed;
  inset: -10%;
  z-index: 5;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ BRANDED LOADER ============ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
  /* CSS-only failsafe: script.js normally hides the loader, but if that file never runs (blocked, dropped, extension, proxy)
     nothing else would — the visitor would be stuck on "CC" forever. After 10s the loader removes itself regardless. */
  animation: loaderFailsafe 0.01s linear 10s forwards;
}
@keyframes loaderFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#loader span {
  font-weight: var(--f-xbold);
  font-size: 26px;
  letter-spacing: 0.28em;
  color: var(--text);
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1); }
}
#loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============ CUSTOM CURSOR (fine-pointer devices only) ============ */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,224,255,0.9), rgba(191,224,255,0) 72%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.3s;
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor-glow.hover { width: 54px; height: 54px; }
body.custom-cursor, body.custom-cursor a, body.custom-cursor button, body.custom-cursor summary {
  cursor: none;
}
body.custom-cursor .form input,
body.custom-cursor .form textarea {
  cursor: text;
}
body.custom-cursor .form select {
  cursor: pointer;
}

/* ============ GLASS ============ */
.glass {
  background: linear-gradient(180deg, var(--glass-hi), var(--glass));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 60px rgba(0,0,0,0.35);
}

/* ============ WORDMARK ============ */
.wordmark {
  position: fixed;
  top: 28px; left: 32px;
  z-index: 50;
  font-weight: var(--f-xbold);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

/* ============ DOCK NAV ============ */
.dock {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none; /* the dock's empty box (invisible label space, gutters) must never swallow clicks meant for content underneath */
}
.dock ul { list-style: none; margin: 0; padding: 10px 8px; display: flex; flex-direction: column; gap: 18px; }
.dock li { position: relative; }
.dock a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-faint);
  pointer-events: none; /* only the dot (and a hovered label) are clickable — see .dot::before and li:hover .label below */
}
.dock .dot {
  position: relative;
  pointer-events: auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-faint);
  transition: all 0.4s var(--ease);
}
.dock .dot::before { /* invisible, slightly larger hit area so the small dot stays easy to hit (24px tall; kept tight so it covers as little underlying content as possible) */
  content: '';
  position: absolute;
  inset: -8px -4px;
}
.dock a.active .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--ice);
  transform: scale(1.3);
}
.dock .label {
  position: absolute; right: 100%; top: 50%; /* labels open leftward so the dots hug the right edge and never sit on page content */
  font-size: 11px;
  font-weight: var(--f-bold);
  letter-spacing: 0.12em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(8px, -50%);
  padding-right: 12px;
  transition: all 0.35s var(--ease);
  pointer-events: none;
}
.dock li:hover .label { pointer-events: auto; }
.dock li:hover .label,
.dock a:focus-visible .label,
.dock a.active .label {
  opacity: 1;
  transform: translate(0, -50%);
  color: var(--text);
}
.dock-track {
  width: 1px; height: 90px;
  background: rgba(255,255,255,0.10);
  border-radius: 1px;
  overflow: hidden;
}
.dock-progress {
  width: 100%; height: 0%;
  background: var(--accent);
  transition: height 0.15s linear;
}

/* ============ LAYOUT ============ */
main { position: relative; z-index: 10; } /* sits above .grain (z-index:5) */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(24px, 6vw, 88px);
  text-align: center;
  opacity: 0.5;
  transform: scale(0.98);
  filter: blur(3px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.section.in-view { opacity: 1; transform: scale(1); filter: blur(0); }
.section.just-arrived { animation: sectionPulse 0.9s var(--ease); }
@keyframes sectionPulse {
  0%   { box-shadow: inset 0 0 0 0 rgba(191,224,255,0); }
  30%  { box-shadow: inset 0 0 140px 0 rgba(191,224,255,0.07); }
  100% { box-shadow: inset 0 0 0 0 rgba(191,224,255,0); }
}

.section-title {
  font-weight: var(--f-xbold);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.14em;
  margin-bottom: 48px;
}
.load-error { /* shared fallback message: used by Work, Services, and Contact on fetch failure */
  font-weight: var(--f-light);
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ============ HOME ============ */
.panel-hero {
  padding: 72px 56px;
  max-width: 720px;
  will-change: transform;
  transition: transform 0.2s var(--ease);
}
.eyebrow {
  font-weight: var(--f-bold);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  margin: 0 0 22px;
}
.headline {
  font-weight: var(--f-xbold);
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.tagline {
  font-weight: var(--f-xlight);
  font-size: 17px;
  color: var(--text-dim);
  margin: 0 0 40px;
}
.scroll-cue {
  display: inline-block;
  font-weight: var(--f-bold);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.85;
}

/* ============ HERO ENTRANCE (staggered reveal) ============ */
.reveal, .reveal-word {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  animation: revealUp 0.9s var(--ease) forwards;
}
p.reveal { display: block; }
.reveal-word, a.reveal { display: inline-block; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.eyebrow.reveal { animation-delay: 0.05s; }
.headline .w1   { animation-delay: 0.20s; }
.headline .w2   { animation-delay: 0.38s; }
.tagline.w3     { animation-delay: 0.56s; }
.scroll-cue.w4  { animation-delay: 0.74s; }

/* ============ WORK ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1080px;
}
.card {
  padding: 28px;
  text-align: left;
  animation: fadeUp 0.5s var(--ease) both;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: -160%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
}
.card:hover::after { left: 160%; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card .thumb {
  width: 100%; height: 160px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px dashed rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-size: 11px; letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.card h3 { font-weight: var(--f-xbold); font-size: 18px; margin: 0 0 6px; }
.card .meta { font-weight: var(--f-bold); font-size: 10px; letter-spacing: 0.12em; color: var(--text-faint); margin: 0 0 12px; }
.card p { font-weight: var(--f-xlight); font-size: 14px; color: var(--text-dim); margin: 0; }
.card .case-link { display: inline-block; margin-top: 14px; font-weight: var(--f-bold); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); text-decoration: none; }
.tag-mono {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

/* ============ SERVICES ============ */
.services-list {
  width: 100%; max-width: 760px;
  display: flex; flex-direction: column; gap: 16px;
}
.service-row {
  padding: 30px 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  text-align: left;
  animation: fadeUp 0.5s var(--ease) both;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 26px 70px rgba(0,0,0,0.45);
}
.service-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 10px;
}
.service-row h3 { font-weight: var(--f-xbold); font-size: 18px; margin: 0 0 6px; }
.service-row p { font-weight: var(--f-xlight); font-size: 14px; color: var(--text-dim); margin: 0; }
.service-price {
  font-weight: var(--f-bold);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ice);
  border: 1px solid rgba(191,224,255,0.28);
}

/* ============ FORM ============ */
.form {
  width: 100%; max-width: 760px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
.form-fieldset {
  display: contents; /* fieldset itself generates no box — legend + labels become direct grid items, same layout as before */
  border: 0;
  margin: 0;
  padding: 0;
}
.form-group-label {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin: 0;
  padding: 0;
}
.form-fieldset + .form-fieldset .form-group-label {
  margin: 10px 0 -4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: var(--f-bold); letter-spacing: 0.08em; color: var(--text-dim); }
.form label.full { grid-column: 1 / -1; }
.form input, .form textarea, .form select {
  font-family: inherit;
  font-weight: var(--f-light);
  font-size: 14px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.33);
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23bfe0ff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ice);
}
.submit-btn {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-weight: var(--f-xbold);
  font-size: 12px;
  letter-spacing: 0.14em;
  background: var(--text);
  color: #06070a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(191,224,255,0.18); }
.form-note { grid-column: 1 / -1; font-size: 11px; font-weight: var(--f-xlight); color: var(--text-faint); margin: 0; }

/* ============ ACCESSIBILITY: KEYBOARD FOCUS ============ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.dock a:focus-visible .dot {
  box-shadow: 0 0 0 4px var(--ice);
}

/* ============ CONTACT ============ */
.panel-contact { padding: 48px 56px; max-width: 520px; width: 100%; }
.contact-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-row:first-child { padding-top: 0; }
.contact-row > div { flex: 1; min-width: 0; } /* lets long values wrap instead of overflowing and pushing the copy button off-screen */
.contact-label {
  display: block;
  font-weight: var(--f-bold);
  letter-spacing: 0.1em;
  font-size: 10px;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.contact-value {
  display: block;
  font-weight: var(--f-light);
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-value:hover { color: var(--accent); }
.copy-btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.copy-btn:hover { color: var(--text); border-color: var(--accent); }
.copy-btn.copied { color: var(--accent); border-color: var(--accent); }
.contact-payment {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--ice);
  border: 1px solid rgba(191,224,255,0.22);
  font-weight: var(--f-light);
  font-size: 13px;
  color: var(--text-dim);
  text-align: left;
}
.contact-payment .contact-label { color: var(--accent); }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
  .dock { right: 12px; }
  .dock .label { display: none; }
  .dock .dot { width: 12px; height: 12px; }
  .dock .dot::before { inset: -9px -6px; } /* bigger touch target on phones (matches the 24px the old link padding gave) */
  .dock a { padding: 6px; }
  /* Hero: the old 48px headline floor made "CREATIVES" wider than a 320px screen, so the panel spilled
     off both edges (left side unreachable). Size the headline to the space actually available instead.
     The 120px subtracted = section padding + panel padding + clearance for the fixed dock dots. */
  .panel-hero { padding: 56px 24px; }
  .headline { font-size: clamp(28px, calc((100vw - 120px) / 6.4), 56px); }
}

/* ============ REDUCED MOTION (kept last — overrides everything above) ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .section { opacity: 1; transform: none; filter: none; }
  body { animation: none; background-position: 80% -10%, -10% 110%; }
}


/* =====================================================================
   v2 — WORK / SERVICES / FORM / CONTACT additions
   ===================================================================== */
.section--work, .section--services { justify-content: flex-start; }
.section--work > *, .section--services > * { width: 100%; max-width: 1400px; }
.section--work .section-title, .section--services .section-title { width: auto; }

/* ---- segmented control ---- */
.seg {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  width: auto !important; margin: 0 auto 20px;
}
.seg[hidden] { display: none; }
.seg button {
  font: inherit; font-weight: var(--f-bold); font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-dim); background: none; border: 0; border-radius: 999px;
  padding: 11px 20px; cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--text); color: #06070a; }
.seg--sub { transform: scale(0.92); margin-top: -4px; }
.seg--svc { margin: 0 0 22px; }

/* ---- work stage + carousel ---- */
.work-stage { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); margin-top: 8px; }
.work-stage.in { opacity: 1; transform: none; }
.carousel { --gap: 18px; --pv: 3; --per: var(--pv); text-align: left; }
.car-bar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-bottom: 12px; }
.car-bar.off { visibility: hidden; }
.car-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-faint); }
.car-arrows { display: flex; gap: 8px; }
.car-btn {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  cursor: pointer; transition: all 0.3s var(--ease);
}
.car-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.car-track {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 2px 10px; scroll-behavior: smooth;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; min-width: 0; }

/* media cards (video / photo / design / recent) */
.vcard, .pcard, .rcard {
  font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer;
  display: block; position: relative;
}
.vcard .media, .pcard .media, .rcard .media {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.vcard .media { aspect-ratio: var(--ar, 16/9); }
.pcard .media { aspect-ratio: 4/5; }
.rcard .media { aspect-ratio: 4/3; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease), filter 0.6s var(--ease); }
.vcard:hover .media img, .vcard:hover .media video, .pcard:hover .media img, .rcard:hover .media img { transform: scale(1.045); }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45)); pointer-events: none; }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; padding-left: 3px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.vcard:hover .play, .rcard:hover .play { transform: scale(1.1); background: rgba(255,255,255,0.24); }
.cap { display: block; margin-top: 12px; font-weight: var(--f-bold); font-size: 12px; letter-spacing: 0.06em; color: var(--text-dim); }
.pending { cursor: default; }
.pending .media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-style: dashed; box-shadow: none; }
.pending .media::after { display: none; }
.pending span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--text-faint); }
.pending em { font-style: normal; font-weight: var(--f-bold); font-size: 10px; letter-spacing: 0.14em; color: var(--text-faint); }

/* website cards */
.wcard { display: block; padding: 24px; text-decoration: none; color: inherit; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); position: relative; overflow: hidden; }
.wcard:hover { transform: translateY(-6px); }
.wcard::after { content:''; position:absolute; top:0; left:-160%; width:55%; height:100%; background:linear-gradient(120deg,transparent,rgba(255,255,255,0.12),transparent); transform:skewX(-20deg); transition:left 0.8s var(--ease); pointer-events:none; }
.wcard:hover::after { left: 160%; }
.wcard h3 { font-weight: var(--f-xbold); font-size: 20px; margin: 20px 0 6px; }
.wcard .meta { font-weight: var(--f-bold); font-size: 10px; letter-spacing: 0.12em; color: var(--text-faint); margin: 0 0 14px; }
.wcard .visit { font-weight: var(--f-bold); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); background: #0b0d12; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.browser-bar span { margin-left: 10px; font-family: var(--mono); font-size: 10px; color: var(--text-faint); letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-shot { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 6s ease-in-out; }
.wcard:hover .browser-shot img { object-position: bottom; }
.shot-fallback {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px;
  background:
    radial-gradient(120% 90% at 20% 0%, hsla(var(--hue), 70%, 62%, 0.28), transparent 60%),
    radial-gradient(100% 80% at 90% 100%, hsla(var(--hue), 60%, 50%, 0.16), transparent 60%), #0b0d12;
}
.shot-fallback strong { font-weight: var(--f-xbold); font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.01em; text-align: center; }
.shot-fallback span { font-family: var(--mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.06em; }

/* recent client work */
.recent { margin-top: 88px; text-align: left; }
.sub-title { font-weight: var(--f-xbold); font-size: 18px; letter-spacing: 0.14em; margin: 0 0 6px; text-align: center; }
.sub-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-faint); margin: 0 0 28px; text-align: center; }
.recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.rcard .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--text-faint); margin: 14px 0 6px; }
.rcard h4 { font-weight: var(--f-xbold); font-size: 16px; margin: 0 0 4px; }
.rcard .client { font-weight: var(--f-xlight); font-size: 13px; color: var(--text-dim); margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: rgba(4,5,8,0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: fadeUp 0.35s var(--ease); }
.lightbox[hidden] { display: none; }
body.lb-open { overflow: hidden; }
.lb-stage { max-width: min(92vw, 1400px); max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 82vh; border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
.lb-stage iframe { width: min(92vw, 1100px); aspect-ratio: 16/9; border: 0; border-radius: 16px; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--text); background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border); cursor: pointer; transition: all 0.3s var(--ease); }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 22px; right: 22px; font-size: 16px; }
.lb-prev { left: 22px; top: 50%; margin-top: -23px; }
.lb-next { right: 22px; top: 50%; margin-top: -23px; }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; margin: 0; font-weight: var(--f-bold); font-size: 12px; letter-spacing: 0.1em; color: var(--text-dim); }

/* ---- services ---- */
.svc-tools { max-width: 920px !important; display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 36px; }
.search { position: relative; width: 100%; display: block; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-weight: var(--f-light); font-size: 15px; color: var(--text);
  padding: 16px 20px 16px 48px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.33);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search input::placeholder { color: var(--text-faint); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ice); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  font: inherit; font-weight: var(--f-bold); font-size: 10px; letter-spacing: 0.12em; color: var(--text-dim);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--text); color: #06070a; border-color: var(--text); }
.services-list { max-width: 920px !important; text-align: left; display: flex; flex-direction: column; gap: 56px; }
.cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cat-head h3 { font-weight: var(--f-xbold); font-size: clamp(20px, 2.6vw, 26px); letter-spacing: 0.02em; margin: 0; }
.cat-blurb, .cat-includes { font-weight: var(--f-xlight); font-size: 14px; color: var(--text-dim); margin: 0 0 6px; }
.cat-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.svc { overflow: hidden; }
.svc-head {
  width: 100%; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 16px; padding: 24px 28px;
}
.svc-title { flex: 1; min-width: 0; }
.svc-title h4 { font-weight: var(--f-xbold); font-size: 18px; margin: 0 0 4px; }
.svc-sub { display: block; font-weight: var(--f-xlight); font-size: 13px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-head .service-price { flex-shrink: 0; }
.chev { flex-shrink: 0; color: var(--text-dim); transition: transform 0.4s var(--ease); }
.svc.open .chev { transform: rotate(180deg); }
.svc-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.svc.open .svc-wrap { grid-template-rows: 1fr; }
.svc-inner { overflow: hidden; min-height: 0; padding: 0 28px; visibility: hidden; transition: visibility 0.5s; }
.svc.open .svc-inner { padding-bottom: 26px; visibility: visible; }
.svc-panel .big { font-weight: var(--f-light); font-size: 18px; margin: 0 0 8px; }
.svc-panel .big b { font-weight: var(--f-xbold); color: var(--accent); margin-left: 8px; }
.dim { font-weight: var(--f-xlight); font-size: 14px; line-height: 1.6; color: var(--text-dim); margin: 0 0 16px; }
.items { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.items li { font-weight: var(--f-light); font-size: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: var(--text-dim); }
.body-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book {
  font: inherit; font-weight: var(--f-xbold); font-size: 11px; letter-spacing: 0.12em; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; background: var(--text); color: #06070a; border: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.book:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(191,224,255,0.18); }
.book.small { padding: 9px 14px; font-size: 10px; }
.srows { display: flex; flex-direction: column; }
.srow { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.srow:last-child { border-bottom: 0; }
.srow b { display: block; font-weight: var(--f-xbold); font-size: 14px; }
.srow span { display: block; font-weight: var(--f-xlight); font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.sprice { font-weight: var(--f-bold); font-size: 14px; color: var(--accent); white-space: nowrap; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.pkg { padding: 20px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; gap: 4px; }
.pkg-name { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-faint); margin: 0; text-transform: uppercase; }
.pkg-price { font-weight: var(--f-xbold); font-size: 24px; margin: 2px 0 8px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 16px; font-weight: var(--f-xlight); font-size: 13px; color: var(--text-dim); line-height: 1.8; flex: 1; }
.pkg .book { align-self: flex-start; }
.paid-note { max-width: 620px !important; margin: 44px auto 0; font-weight: var(--f-light); font-size: 13px; line-height: 1.6; color: var(--text-dim); padding: 16px 22px; border-radius: 14px; background: var(--ice); border: 1px solid rgba(191,224,255,0.22); }
.no-results { text-align: center; padding: 40px 0; color: var(--text-dim); }

/* ---- form: black text on white selections, autofill, combos ---- */
.form select option, .form select optgroup { color: #000; background: #fff; }
.form input:-webkit-autofill, .form input:-webkit-autofill:hover, .form input:-webkit-autofill:focus,
.form textarea:-webkit-autofill, .form select:-webkit-autofill {
  -webkit-text-fill-color: #000; caret-color: #000;
  -webkit-box-shadow: 0 0 0 100px #fff inset; transition: background-color 9999s ease-out 0s;
}
.form input[type="date"] { color-scheme: dark; }
.form label[hidden] { display: none; }
.combo-wrap { position: relative; }
.combo {
  position: absolute; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; z-index: 30;
  background: #fff; color: #000; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,0.5); text-align: left; max-height: 280px; overflow-y: auto;
}
.combo[hidden] { display: none; }
.combo li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: #000; }
body.custom-cursor .combo li { cursor: none; }
.combo li b { font-weight: var(--f-bold); font-size: 13px; letter-spacing: 0; color: #000; }
.combo li span { font-weight: var(--f-light); font-size: 11px; letter-spacing: 0; color: #444; }
.combo li:hover, .combo li.on { background: #e8eef7; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: var(--f-light); font-size: 13px; letter-spacing: 0; color: var(--text-dim); }
.form .check input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: #fff; padding: 0; }
.form .check a { color: var(--accent); }
.form-note { transition: color 0.3s; }

/* ---- contact ---- */
.section--contact { gap: 0; }
.panel-contact { max-width: 560px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.qbtn { text-align: center; text-decoration: none; font-weight: var(--f-xbold); font-size: 11px; letter-spacing: 0.12em; padding: 14px 8px; border-radius: 12px; background: var(--text); color: #06070a; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.qbtn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(191,224,255,0.18); }
.aka { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 16px 20px; border-radius: 14px; text-decoration: none; color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.2); transition: border-color 0.3s var(--ease); text-align: left; }
.aka:hover { border-color: var(--accent); }
.aka span { font-weight: var(--f-xlight); font-size: 12px; color: var(--text-dim); }
.aka b { font-weight: var(--f-xbold); font-size: 16px; letter-spacing: 0.06em; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.pay-chips span { font-weight: var(--f-bold); font-size: 11px; letter-spacing: 0.06em; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(191,224,255,0.28); color: var(--text); }
.contact-payment p { margin: 0; line-height: 1.6; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); }
.socials a { font-weight: var(--f-bold); font-size: 11px; letter-spacing: 0.14em; color: var(--text-dim); text-decoration: none; transition: color 0.25s; }
.socials a:hover { color: var(--accent); }
.terms { width: 100%; max-width: 560px; margin-top: 28px; padding: 6px 30px; text-align: left; }
.terms summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: var(--f-xbold); font-size: 13px; letter-spacing: 0.16em; display: flex; justify-content: space-between; align-items: center; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; font-size: 20px; font-weight: var(--f-light); color: var(--text-dim); transition: transform 0.3s var(--ease); }
.terms[open] summary::after { transform: rotate(45deg); }
.turn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.turn div { padding: 16px 10px; border-radius: 14px; text-align: center; background: var(--ice); border: 1px solid rgba(191,224,255,0.2); }
.turn b { display: block; font-weight: var(--f-xbold); font-size: 22px; }
.turn span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: var(--text-faint); margin: 4px 0 6px; }
.turn em { font-style: normal; font-weight: var(--f-light); font-size: 12px; color: var(--text-dim); }
.terms-intro { font-weight: var(--f-light); font-size: 14px; color: var(--text); margin: 0 0 10px; }
.terms ul { margin: 0 0 22px; padding-left: 18px; font-weight: var(--f-xlight); font-size: 13.5px; line-height: 1.7; color: var(--text-dim); }
.terms li { margin-bottom: 6px; }
.foot { margin: 36px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-faint); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .carousel { --per: min(var(--pv), 2.2); }
}
@media (max-width: 640px) {
  .section { padding: 96px 20px; }
  .carousel { --per: min(var(--pv), 1.15); }
  .car-btn { width: 36px; height: 36px; }
  .recent-grid { grid-template-columns: 1fr; }
  .svc-head { padding: 20px; gap: 10px; flex-wrap: wrap; }
  .svc-head .service-price { order: 3; }
  .svc-title { flex-basis: 70%; }
  .svc-sub { white-space: normal; }
  .svc-inner { padding: 0 20px; }
  .srow { grid-template-columns: 1fr auto; }
  .srow .book { grid-column: 1 / -1; justify-self: start; }
  .form { padding: 28px 22px; }
  .panel-contact { padding: 36px 28px; }
  .terms { padding: 4px 22px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .seg button { padding: 10px 14px; }
}

/* ---- config-driven extras: deals, badges, savings, honeypot, success ---- */
s { opacity: 0.55; text-decoration-thickness: 1px; margin-right: 2px; }
.badge { font-style: normal; font-family: var(--mono); font-weight: var(--f-bold); font-size: 9px; letter-spacing: 0.1em; margin-left: 10px; padding: 4px 8px; border-radius: 999px; vertical-align: middle; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: var(--text); }
.badge.deal { background: var(--accent); color: #06070a; border-color: var(--accent); }
.save { font-style: normal; font-family: var(--mono); font-weight: var(--f-bold); font-size: 9px; letter-spacing: 0.08em; margin-left: 8px; padding: 3px 7px; border-radius: 999px; color: var(--accent); border: 1px solid rgba(191,224,255,0.4); vertical-align: middle; }
.deal-banner { max-width: 920px !important; margin: 0 auto 28px; display: flex; flex-direction: column; gap: 8px; }
.deal-banner div { padding: 14px 22px; border-radius: 14px; background: var(--ice); border: 1px solid rgba(191,224,255,0.3); font-weight: var(--f-light); font-size: 14px; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.deal-banner b { font-weight: var(--f-xbold); letter-spacing: 0.06em; color: var(--accent); }
.deal-banner span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--text-faint); margin-left: 10px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field-hint { grid-column: 1 / -1; margin: -6px 0 0; font-weight: var(--f-xlight); font-size: 13px; color: var(--accent); }
.field-hint[hidden], .form-note[hidden], .form-success[hidden], .form label[hidden] { display: none; }
.form-success { grid-column: 1 / -1; padding: 18px 22px; border-radius: 14px; background: var(--ice); border: 1px solid rgba(191,224,255,0.35); font-weight: var(--f-light); font-size: 15px; line-height: 1.6; color: var(--text); text-align: center; }
.submit-btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
