/* =============================================
   Cruzmer Domínguez — cinematic dark portfolio
   Palette: near-black canvas, cream text, vinotinto accent
   Type: Playfair Display (titles) + Inter (text)
   ============================================= */
:root {
  color-scheme: dark;
  --bg:        #120E0F;
  --bg-2:      #191314;
  --surface:   #1F1819;
  --line:      #3D3032;
  --line-2:    #5E4A4E;
  --text:      #FBF7F0;
  --muted:     #D2C9C3;   /* 11:1 on --bg */
  --faint:     #AFA5A1;   /* 7.5:1 on --bg, labels only */
  --vino:      #8A3A43;   /* brand fill */
  --vino-2:    #A24550;   /* hover fill */
  --rose:      #F2B8B3;   /* accent text on dark, 11:1 */
  --accent:      #E6C48A;   /* 30X accent, highlights and totals */
  --display:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius:    12px;
  --gutter:    clamp(16px, 4vw, 40px);
  --max:       1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
input, textarea, select { caret-color: var(--accent); accent-color: var(--accent); }
html { scrollbar-color: var(--line-2) var(--bg); scrollbar-width: thin; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--text); color: var(--bg); border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}
em { font-style: italic; color: var(--rose); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 500 15px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-solid { background: var(--vino); color: var(--text); border-color: var(--vino); }
.btn-solid:hover { background: var(--vino-2); border-color: var(--vino-2); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 14, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--text); cursor: pointer; border-radius: 8px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.lede { margin-top: 24px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: start;
  gap: 10px;
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 10px; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-size: clamp(22px, 2vw, 26px); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero-reel { margin: 0; justify-self: end; width: min(100%, 380px); }
.hero-reel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface);
}
.hero-reel figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--faint); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #E0525E; flex: none; }

/* ---------- Who ---------- */
.who { border-block: 1px solid var(--line); background: var(--bg-2); }
.who-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-block: 20px; }
.who-row span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.brands-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; padding-block: 28px; }
.brands-row span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.brands-row img { height: 40px; width: auto; }
.who-row span + span::before { content: '·'; margin-right: 28px; color: var(--line-2); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-sub { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 60ch; }

/* visually hidden, still announced by screen readers */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.work video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 14, 15, 0.75), rgba(18, 14, 15, 0) 40%);
  pointer-events: none;
}
.work:hover video { transform: scale(1.03); }
.work-meta {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tag, .dur { font-size: 12px; font-weight: 500; line-height: 1; padding: 7px 10px; border-radius: 999px; background: rgba(18, 14, 15, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tag-hot { background: var(--vino); }
.dur { font-variant-numeric: tabular-nums; color: var(--muted); }
.work.is-previewing::after { opacity: 0.5; }

.work-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  text-decoration: none;
  background: var(--vino);
  transition: background-color 0.2s ease;
}
.work-cta::after { display: none; }
.work-cta:hover { background: var(--vino-2); }
.work-cta-title { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.work-cta-text { font-size: 15px; color: rgba(243, 238, 230, 0.85); }
.work-cta-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 500; }

.wide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.wide { margin: 0; }
.work-wide { aspect-ratio: 16 / 9; }
.wide figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc-controls { display: grid; gap: 28px; margin: 0; }
.calc-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-size: 17px; font-weight: 500; }
.calc-step .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; }
.opt-tag { font-size: 12px; font-weight: 400; color: var(--faint); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; }
.opts { display: grid; gap: 10px; }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.opt-box b { font-weight: 500; font-size: 15px; }
.opt-box small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.opt-box i { margin-top: auto; padding-top: 8px; font-style: normal; font-size: 13px; font-weight: 500; color: var(--rose); font-variant-numeric: tabular-nums; }
.opt:hover .opt-box { border-color: var(--text); transform: translateY(-2px); }
.opt input:checked + .opt-box { border-color: var(--accent); background: rgba(230, 196, 138, 0.07); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.8); outline: 1px solid var(--accent); outline-offset: -1px; }
.opt input:checked + .opt-box i { color: var(--accent); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--rose); outline-offset: 3px; }

.qty { display: flex; align-items: center; gap: 20px; }
.qty input[type=range] { flex: 1; min-width: 0; height: 28px; accent-color: var(--accent); cursor: pointer; background: none; }
.qty output { min-width: 64px; text-align: center; font-family: var(--display); font-size: 38px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-hint { margin-top: 10px; min-height: 22px; font-size: 14px; color: var(--muted); }

.calc-summary {
  position: sticky; top: 92px;
  display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 100% 0%, rgba(230, 196, 138, 0.10), transparent 60%), var(--bg);
}
.calc-summary .eyebrow { margin: 0; }
.calc-total { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); line-height: 1; color: var(--accent); }
.calc-total .cur { font-size: 30px; }
.calc-total #calc-total { font-size: clamp(54px, 6vw, 76px); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-total .per { margin-left: 4px; font: 400 14px/1 var(--sans); color: var(--muted); }
.calc-per { font-size: 15px; color: var(--muted); min-height: 24px; }
.calc-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.calc-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--vino-2), var(--accent)); transition: width .5s var(--ease); }
.calc-lines { list-style: none; margin: 4px 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-lines li span:last-child { color: var(--text); white-space: nowrap; }
.calc-save { font-size: 14px; font-weight: 500; color: var(--accent); }
.calc-summary .btn { width: 100%; }
.calc-note { font-size: 13px; color: var(--faint); }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; padding-top: 24px; border-top: 1px solid var(--line-2); }

.steps h3 { font-family: var(--display); font-size: 22px; margin-bottom: 10px; }
.steps p { font-size: 15px; color: var(--muted); }

/* ---------- About ---------- */
.section-slim { padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.about { display: flex; align-items: center; gap: 24px; max-width: 860px; }
.about img { flex: none; width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 2px solid var(--accent); }
.about-text { font-size: 16px; color: var(--muted); }
.about-text strong { color: var(--text); font-weight: 600; }

/* ---------- Grow ---------- */
.grow { position: relative; overflow: hidden; }
.grow::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(138, 58, 67, 0.35), transparent); pointer-events: none; }
.grow .wrap { position: relative; }
.grow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grow-grid { gap: clamp(24px, 4vw, 56px); }
.grow-grid article { padding-top: 24px; border-top: 1px solid var(--line-2); transition: border-color .3s var(--ease); }
.grow-grid article:hover { border-top-color: var(--accent); }
.grow-grid h3 { margin: 0 0 10px; font-family: var(--display); font-size: 26px; }
.grow-grid p { font-size: 15px; color: var(--muted); }
.grow-cta { margin-top: 32px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 0;
  font-size: 16px; font-weight: 500; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--rose); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--muted); }
/* contact channels: two clear ways to reach me, no form in between */
.channels { display: grid; gap: 14px; align-content: start; }
.channels-lead { margin: 0 0 4px; font-size: 15px; color: var(--muted); }
.channel {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--lift-sm);
  color: var(--text);
  text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .2s ease;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--lift-up); }
.channel-kicker { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.channel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.channel-title svg { flex: none; transition: transform .25s var(--ease); }
.channel:hover .channel-title svg { transform: translateX(4px); }
.channel-meta { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.channel.is-primary { background: var(--vino); color: var(--on-vino); }
.channel.is-primary:hover { background: var(--vino-2); }
.channel.is-primary .channel-kicker { color: rgba(255, 253, 237, .74); }
.channel.is-primary .channel-meta { color: rgba(255, 253, 237, .84); }
@media (prefers-reduced-motion: reduce) { .channel, .channel-title svg { transition: none; } }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.form .opt { font-weight: 400; color: var(--faint); }
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--sans);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.form ::placeholder { color: var(--faint); }
.form .btn { width: 100%; }
.form .btn:disabled { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.form-status { font-size: 15px; color: var(--rose); }
.form-status.is-error { color: #FF9B94; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.footer img { height: 28px; width: auto; }
.footer p { font-size: 13px; color: var(--faint); }

/* ---------- Player ---------- */
.player {
  width: min(92vw, 960px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  overflow: visible;
}
.player.is-vertical { width: auto; }
.player.is-vertical video { height: min(86vh, 900px); width: auto; }
.player::backdrop { background: rgba(8, 6, 7, 0.88); }
.player video { width: 100%; max-height: 86vh; border-radius: var(--radius); background: #000; }
.player-close {
  position: absolute; top: -52px; right: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--bg); color: var(--text); cursor: pointer;
}

/* ---------- Effects ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--vino-2), var(--accent)); }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before { width: 760px; height: 760px; top: -300px; left: -260px; background: radial-gradient(closest-side, rgba(138, 58, 67, 0.5), transparent); }
.hero::after { width: 620px; height: 620px; right: -220px; bottom: -260px; background: radial-gradient(closest-side, rgba(230, 196, 138, 0.13), transparent); }
.stats dd { color: var(--accent); }
.hero-reel video { box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line-2); }
.btn-solid { box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.55); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); }
.btn { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.work { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9); outline: 1px solid var(--accent); outline-offset: -1px; }
.tag-hot { background: var(--accent); color: var(--on-accent); }
.who { overflow: hidden; }
.who-row.is-marquee { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: max-content; max-width: none; padding-inline: 0; gap: 0; animation: marquee 38s linear infinite; }
.who-row.is-marquee span { padding-right: 28px; }
.who:hover .is-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- More videos + carousel ---------- */
.more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.more-btn { min-height: 54px; padding-inline: 32px; font-size: 16px; }
.more-btn svg { transition: transform .25s var(--ease); }
.more-btn:hover svg { transform: translateX(4px); }
.gallery { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--text); background: rgba(8, 6, 7, 0.95); overflow: hidden; }
.gallery::backdrop { background: rgba(8, 6, 7, 0.95); }
.gallery[open] { animation: gfade .4s var(--ease); }
@keyframes gfade { from { opacity: 0; } to { opacity: 1; } }
.g-close { position: absolute; top: 20px; right: 20px; z-index: 3; }
.g-track { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: 100%; padding-inline: 50vw; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: none; display: grid; gap: 12px; justify-items: center; margin: 0; scroll-snap-align: center; opacity: .35; transform: scale(.92); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.g-slide.is-active { opacity: 1; transform: none; }
.g-slide video { display: block; background: #000; border-radius: var(--radius); box-shadow: 0 30px 80px -30px #000, 0 0 0 1px var(--line-2); }
.g-slide.is-v video { height: min(74dvh, 780px); aspect-ratio: 9 / 16; width: auto; }
.g-slide.is-h video { width: min(88vw, 900px); aspect-ratio: 16 / 9; height: auto; }
.g-cap { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.g-cap .tag, .g-cap .dur { background: var(--surface); }
.g-nav { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; margin-top: -26px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(18, 14, 15, .8); color: var(--text); cursor: pointer; backdrop-filter: blur(8px); transition: border-color .2s ease, transform .2s var(--ease), background-color .2s ease; }
.g-nav:hover { border-color: var(--accent); background: rgba(230, 196, 138, .12); transform: scale(1.06); }
.g-nav:disabled { opacity: .3; cursor: default; transform: none; border-color: var(--line-2); background: rgba(18, 14, 15, .8); }
.g-prev { left: clamp(10px, 3vw, 40px); }
.g-next { right: clamp(10px, 3vw, 40px); }
.g-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; pointer-events: none; }
@media (max-width: 560px) {
  .g-nav { top: auto; bottom: 14px; margin: 0; }
  .g-count { bottom: 30px; }
  .g-slide.is-v video { height: min(68dvh, 780px); }
}

/* ---------- Language ---------- */
@keyframes unwait { to { visibility: visible; } }
.i18n-wait body { visibility: hidden; animation: unwait 0s 1.5s forwards; }
.lang { display: flex; gap: 4px; }
.lang button { min-width: 44px; min-height: 44px; padding: 0 10px; font: 500 13px/1 var(--sans); letter-spacing: .06em; color: var(--muted); background: none; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.lang button:hover { color: var(--text); border-color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* ---------- Motion (only with .fx: JS on and motion allowed) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes unmask { from { opacity: 0; clip-path: inset(14% 10% 14% 10% round 24px); transform: scale(1.06); } to { opacity: 1; clip-path: inset(0 round 12px); transform: none; } }
@keyframes unhide { to { visibility: visible; } }
.fx [data-intro] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms + 120ms); }
.fx [data-intro="mask"] { animation: unmask 1.3s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms + 120ms); }
.fx h1:not(.is-split) { visibility: hidden; animation: unhide 0s 1.2s forwards; }

/* word cascade: each word rises out of a mask, sharpening as it lands */
.fx .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.fx .wi { display: inline-block; opacity: 0; transform: translateY(105%) rotate(2deg); filter: blur(8px); transition: transform .9s var(--ease), opacity .7s ease, filter .8s ease; transition-delay: calc(var(--i) * 55ms + var(--w0, 0ms)); }
.fx h1.is-split { --w0: 250ms; }
.fx .is-in .wi, .fx .is-split.hero-in .wi { opacity: 1; transform: none; filter: none; }

/* scroll reveals: rise + unblur, cascaded by sibling order */
.fx .reveal { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(7px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .8s ease, clip-path 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.fx .reveal.is-in { opacity: 1; transform: none; filter: none; }
.fx .work.reveal { clip-path: inset(10% 6% round 20px); }
.fx .work.reveal.is-in { clip-path: inset(0 round 12px); }
.fx .steps li.reveal { border-top-color: transparent; }
.fx .steps li.reveal.is-in { border-top-color: var(--line-2); }

/* parallax: separate `translate` property, so hover/reveal transforms still work */
[data-speed], [data-fade] { will-change: translate; }
[data-speed] { translate: 0 var(--p, 0px); }
[data-fade] { translate: 0 var(--fy, 0px); opacity: var(--fo, 1); }
.hero::before { translate: 0 calc(var(--hp, 0) * 0.28px); }
.hero::after { translate: 0 calc(var(--hp, 0) * -0.12px); }
.grow::before { translate: 0 var(--gp, 0px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work video, .btn, .faq summary::after, .opt-box, .work, .g-slide, .g-nav { transition: none; }
  .who-row.is-marquee { animation: none; }
  [data-speed], [data-fade], .hero::before, .hero::after, .grow::before { translate: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-reel { justify-self: start; width: min(100%, 320px); }
  .calc { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .grow-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .wide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .work-cta { grid-column: 1 / -1; aspect-ratio: auto; min-height: 0; padding: 22px 20px; gap: 8px; }
  .work-cta-title { font-size: 21px; }
  .work-cta-text { font-size: 14px; }
  .work-cta-link { margin-top: 4px; }
  .wide-grid { gap: 18px; margin-top: 18px; }
  .tag, .dur { font-size: 12px; padding: 6px 8px; }
  .work .dur { display: none; }
  .stats { grid-template-columns: 1fr; gap: 16px; margin: 32px 0 40px; }
  .stats div { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 3px; }
  .stats dt { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .opts-3, .opts-2 { grid-template-columns: 1fr; }
  .about { align-items: flex-start; gap: 16px; }
  .about img { width: 72px; height: 72px; }
  .form-row { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .who-row { justify-content: flex-start; gap: 8px 16px; }
  .who-row span + span::before { margin-right: 16px; }
}

/* =============================================
   Paper layers: one surface color, no lines.
   Every sheet is told apart only by a soft shadow underneath it,
   like a page resting on another page.
   ============================================= */
:root {
  --bg:      #130E0F;   /* the table the paper rests on */
  --paper:   #211A1B;   /* every sheet shares this one color */
  --bg-2:    #211A1B;
  --surface: #211A1B;
  --edge:    inset 0 1px 0 rgba(255, 255, 255, .055);
  --lift-sm: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .55), 0 8px 16px -6px rgba(0, 0, 0, .85);
  --lift:    inset 0 1px 0 rgba(255, 255, 255, .055), 0 2px 3px rgba(0, 0, 0, .5), 0 10px 20px -6px rgba(0, 0, 0, .7), 0 28px 48px -16px rgba(0, 0, 0, .9);
  --lift-up: inset 0 1px 0 rgba(255, 255, 255, .06), 0 3px 5px rgba(0, 0, 0, .5), 0 14px 26px -6px rgba(0, 0, 0, .75), 0 36px 60px -18px rgba(0, 0, 0, .95);
  --sheet:   0 22px 36px -18px rgba(0, 0, 0, .95);
  --sunk:    inset 0 2px 6px rgba(0, 0, 0, .75), inset 0 -1px 0 rgba(255, 255, 255, .04);
}

/* full-width sheets stacked over the next section */
.who, .section-alt { border: 0; box-shadow: var(--sheet); position: relative; z-index: 1; }
.section-slim { border: 0; }
.footer { border: 0; background: var(--paper); box-shadow: 0 -22px 36px -18px rgba(0, 0, 0, .95), var(--edge); position: relative; z-index: 1; }
.nav { background: rgba(19, 14, 15, .88); }
.nav.is-scrolled { border-bottom-color: transparent; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .8); }
.mobile-menu { border-top: 0; }
.mobile-menu a:not(.btn) { border-bottom: 0; }
.stats { border-top: 0; }

/* buttons */
.btn-line { border-color: transparent; background: var(--paper); box-shadow: var(--lift-sm); }
.btn-line:hover { border-color: transparent; transform: translateY(-2px); box-shadow: var(--lift-up); }
.btn-line:active { transform: none; box-shadow: var(--sunk); }
.lang button { border: 0; background: var(--paper); box-shadow: var(--lift-sm); }
.lang button:hover { box-shadow: var(--lift-up); }
.lang button[aria-pressed="true"] { box-shadow: var(--sunk); background: var(--accent); }
.opt-tag { border: 0; box-shadow: var(--lift-sm); }

/* calculator */
.opt-box { border: 0; background: var(--paper); box-shadow: var(--lift-sm); }
.opt:hover .opt-box { border: 0; box-shadow: var(--lift-up); }
.opt input:checked + .opt-box { border: 0; outline: 0; background: var(--paper); box-shadow: var(--sunk); }
.opt input:checked + .opt-box b { color: var(--accent); }
.opt-box::after { content: ''; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.4); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.opt input:checked + .opt-box::after { opacity: 1; transform: none; }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--rose); outline-offset: 3px; }
.calc-summary { border: 0; background: var(--paper); box-shadow: var(--lift); }
.calc-lines { border-top: 0; }

/* content sheets */
.steps li { border: 0; padding: 24px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift-sm); }
.fx .steps li.reveal, .fx .steps li.reveal.is-in { border-top-color: transparent; }
.grow-grid article { border: 0; padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.grow-grid article:hover { border: 0; transform: translateY(-4px); box-shadow: var(--lift-up); }
.about img { border: 0; box-shadow: var(--lift); }
.hero-reel video, .g-slide video { box-shadow: var(--lift-up); }
.work:hover { outline: 0; box-shadow: var(--lift-up); }

/* FAQ: each question is its own sheet */
.faq { border: 0; display: grid; gap: 12px; }
.faq details { border: 0; padding-inline: 20px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift-sm); transition: box-shadow .25s var(--ease); }
.faq details[open] { box-shadow: var(--lift); }

/* form: the card is a raised sheet, the fields are pressed into it */
.form { border: 0; background: var(--paper); box-shadow: var(--lift); }
.form input, .form select, .form textarea { border: 0; background: var(--paper); box-shadow: var(--sunk); }
.form input:focus, .form select:focus, .form textarea:focus { border: 0; box-shadow: var(--sunk); outline: 2px solid var(--rose); outline-offset: 2px; }

/* gallery controls */
.player-close, .g-nav { border: 0; background: var(--paper); box-shadow: var(--lift-sm); }
.g-nav:hover { border: 0; background: var(--paper); box-shadow: var(--lift-up); color: var(--accent); }
.g-nav:disabled { border: 0; background: var(--paper); box-shadow: var(--lift-sm); }
.g-cap .tag, .g-cap .dur { background: var(--paper); box-shadow: var(--lift-sm); }


/* =============================================
   Champagne on cinema wine, grain, and paper that is not a generic card:
   option tickets with side notches, a receipt with a torn edge,
   notes with a folded corner.
   ============================================= */
:root {
  --bg:      #110B0C;
  --paper:   #1F1618;
  --bg-2:    #1F1618;
  --surface: #1F1618;
  --vino:    #8A2F3C;
  --vino-2:  #A23C4B;
  --drop:    drop-shadow(0 1px 1px rgba(0, 0, 0, .6)) drop-shadow(0 12px 12px rgba(0, 0, 0, .42));
  --drop-up: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)) drop-shadow(0 20px 18px rgba(0, 0, 0, .5));
}
.nav { background: rgba(11, 11, 13, .88); }

/* ticket stubs: the option is cut with a notch on each side, torn along a dashed line */
.opt { filter: var(--drop); transition: filter .25s var(--ease), transform .25s var(--ease); }
.opt:hover { transform: translateY(-2px); filter: var(--drop-up); }
.opt-box, .opt:hover .opt-box, .opt input:checked + .opt-box {
  box-shadow: none; border-radius: 6px; padding: 16px 22px;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
}
.opt-box i { margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .14); }
.opt input:checked + .opt-box { background: linear-gradient(rgba(230, 196, 138, .12), rgba(230, 196, 138, .12)), var(--paper); }
.opt input:checked + .opt-box b { color: var(--accent); }
.opt input:checked + .opt-box i { color: var(--accent); border-top-color: rgba(230, 196, 138, .4); }
.opt-box::after { top: 18px; right: 22px; }

/* receipt: the estimate prints on a strip with a torn bottom edge */
.calc-summary { background: none; box-shadow: none; padding: 0; border-radius: 0; filter: var(--drop-up); }
.ticket { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) 44px; background: var(--paper); border-radius: 6px 6px 0 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; }
.ticket .btn-line { box-shadow: none; background: rgba(255, 255, 255, .05); }
.ticket .btn-line:hover { box-shadow: none; background: rgba(255, 255, 255, .09); }

/* notes with a folded corner (steps and "always open") */
.steps li, .grow-grid article { position: relative; isolation: isolate; background: none; box-shadow: none; border-radius: 0; filter: var(--drop); --ds: var(--drop); }
.steps li::before, .grow-grid article::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.steps li::after, .grow-grid article::after { content: ''; position: absolute; top: 0; right: 0; width: 30px; height: 30px; z-index: -1; background: #33262A;
  clip-path: polygon(0 0, 100% 100%, 0 100%); }
.steps li { padding: 28px 24px 26px; }
.steps h3::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font: 500 13px/1 var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }
.grow-grid article { padding: 30px 26px; transition: filter .3s var(--ease), transform .3s var(--ease); }
.grow-grid article:hover { transform: translateY(-4px); filter: var(--drop-up); }
.fx .reveal.is-in { filter: var(--ds, none); }

.faq details { border-radius: 4px; }
.form { border-radius: 6px; }


/* =============================================
   Theme tokens, light theme, grain that shows, redesigned form
   ============================================= */
:root { --on-accent: #150E0F; --on-vino: #FBF7F0; --fold: #33262A; --nav-bg: rgba(17, 11, 12, .88); }
.nav { background: var(--nav-bg); }

/* the video theater and the player always stay dark, in either theme */
.gallery, .player {
  --bg: #110B0C; --paper: #1F1618; --bg-2: #1F1618; --surface: #1F1618;
  --text: #FBF7F0; --muted: #D2C9C3; --faint: #AFA5A1; --line: #3D3032; --line-2: #5E4A4E;
  --rose: #F2B8B3; --accent: #E6C48A; --on-accent: #150E0F;
  --lift-sm: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .55), 0 8px 16px -6px rgba(0, 0, 0, .85);
  --lift-up: inset 0 1px 0 rgba(255, 255, 255, .06), 0 3px 5px rgba(0, 0, 0, .5), 0 14px 26px -6px rgba(0, 0, 0, .75), 0 36px 60px -18px rgba(0, 0, 0, .95);
  color-scheme: dark;
}
.tag, .dur { color: #F6EFE6; }
.dur { color: #D2C9C3; }
.btn-solid, .work-cta { color: var(--on-vino); }
.steps li::after, .grow-grid article::after { background: var(--fold); }

/* light theme: warm paper on a slightly darker table */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #E8DFD3; --paper: #F7F1E8; --bg-2: #F7F1E8; --surface: #F7F1E8;
  --line: #D8CCBC; --line-2: #BFAF9C;
  --text: #241A1C; --muted: #54484A; --faint: #6E6163;
  --vino: #7A2432; --vino-2: #8F3040; --rose: #8E2F3E;
  --accent: #7A5516; --on-accent: #FFF8EA; --on-vino: #FBF7F0;
  --fold: #E3D6C4; --nav-bg: rgba(232, 223, 211, .88);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .85);
  --lift-sm: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(70, 42, 34, .20), 0 8px 14px -6px rgba(70, 42, 34, .28);
  --lift:    inset 0 1px 0 rgba(255, 255, 255, .85), 0 2px 3px rgba(70, 42, 34, .16), 0 10px 20px -6px rgba(70, 42, 34, .24), 0 26px 44px -16px rgba(70, 42, 34, .30);
  --lift-up: inset 0 1px 0 rgba(255, 255, 255, .9), 0 3px 5px rgba(70, 42, 34, .18), 0 14px 26px -6px rgba(70, 42, 34, .28), 0 36px 60px -18px rgba(70, 42, 34, .34);
  --sheet:   0 20px 34px -18px rgba(70, 42, 34, .38);
  --sunk:    inset 0 2px 5px rgba(70, 42, 34, .24), inset 0 -1px 0 rgba(255, 255, 255, .8);
  --drop:    drop-shadow(0 1px 1px rgba(70, 42, 34, .28)) drop-shadow(0 10px 10px rgba(70, 42, 34, .18));
  --drop-up: drop-shadow(0 2px 2px rgba(70, 42, 34, .28)) drop-shadow(0 18px 16px rgba(70, 42, 34, .24));
}
:root[data-theme="light"] .hero::before { opacity: .35; }
:root[data-theme="light"] .hero::after { opacity: .5; }
:root[data-theme="light"] .brand img, :root[data-theme="light"] .footer img { content: url(logo-wine.png); }
:root[data-theme="light"] .brands-row img { filter: brightness(.3); }
:root[data-theme="light"] .opt input:checked + .opt-box { background: linear-gradient(rgba(122, 85, 22, .10), rgba(122, 85, 22, .10)), var(--paper); }
:root[data-theme="light"] .opt input:checked + .opt-box i { border-top-color: rgba(122, 85, 22, .4); }
:root[data-theme="light"] .opt-box i { border-top-color: rgba(70, 42, 34, .2); }
:root[data-theme="light"] .ticket .btn-line { background: rgba(70, 42, 34, .06); }
:root[data-theme="light"] .ticket .btn-line:hover { background: rgba(70, 42, 34, .1); }

/* grain: hard-light shows on dark and light paper alike without shifting the overall tone */

/* theme switch */
.theme-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--text); cursor: pointer; box-shadow: var(--lift-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease), color .2s ease; }
.theme-btn:hover { transform: translateY(-1px); box-shadow: var(--lift-up); color: var(--accent); }
.theme-btn:active { box-shadow: var(--sunk); transform: none; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
@media (max-width: 860px) { .theme-btn { margin-left: auto; } .menu-btn { margin-left: 0; } }

/* form: a letter with a stamp, ticket choices and pressed-in fields */
.form { position: relative; gap: 22px; padding: clamp(26px, 3.4vw, 40px); border-radius: 6px; }
.form-head { position: relative; padding-right: 96px; }
.form-head h3 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.form-head p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 34ch; }
.stamp { position: absolute; top: -6px; right: 0; width: 84px; height: 84px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--accent); transform: rotate(-12deg); outline: 2px dashed currentColor; outline-offset: -7px; box-shadow: var(--sunk); background: var(--paper); line-height: 1; }
.stamp b { font: 600 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.stamp i { margin-top: 4px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; }
.form label, .form legend { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.form-type { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-type legend { padding: 0; margin-bottom: 10px; }
.form-type .opt { filter: var(--drop); }
.form .opt-box { padding: 14px 22px; min-height: 52px; justify-content: center; }
.form .opt-box b { font-size: 14px; color: var(--text); }
.form .opt input:checked + .opt-box b { color: var(--accent); }
.form input:not([type="radio"]), .form textarea { padding: 14px 16px; border-radius: 8px; color: var(--text); }
.form textarea { min-height: 132px; }
.form ::placeholder { color: var(--faint); }
.form .btn-solid { min-height: 56px; font-size: 16px; gap: 12px; }
.form .btn-solid svg { transition: transform .25s var(--ease); }
.form .btn-solid:hover svg { transform: translateX(4px); }
.form-status { padding: 12px 14px; border-radius: 8px; background: var(--paper); box-shadow: var(--sunk); font-size: 14px; }
@media (max-width: 560px) { .form-head { padding-right: 0; padding-top: 70px; } .stamp { top: 0; left: 0; right: auto; width: 68px; height: 68px; } .stamp b { font-size: 18px; } }

/* grain lives in the page background: it sits under every element and scrolls with the content */
body::after { content: none; }
body { background-image: url(grain-w3.png); background-size: 220px 220px; background-attachment: scroll; }
:root[data-theme="light"] body { background-image: url(grain-k3.png); }


/* =============================================
   Hairlines: a faint edge on every sheet so the spaces stay readable
   ============================================= */
:root {
  --ring: 0 0 0 1px rgba(255, 255, 255, .11);
  --lift-sm: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .55), 0 8px 16px -6px rgba(0, 0, 0, .85);
  --lift:    var(--ring), inset 0 1px 0 rgba(255, 255, 255, .055), 0 2px 3px rgba(0, 0, 0, .5), 0 10px 20px -6px rgba(0, 0, 0, .7), 0 28px 48px -16px rgba(0, 0, 0, .9);
  --lift-up: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .06), 0 3px 5px rgba(0, 0, 0, .5), 0 14px 26px -6px rgba(0, 0, 0, .75), 0 36px 60px -18px rgba(0, 0, 0, .95);
  --sunk:    var(--ring), inset 0 2px 6px rgba(0, 0, 0, .75), inset 0 -1px 0 rgba(255, 255, 255, .04);
  --drop:    drop-shadow(0 0 .6px rgba(255, 255, 255, .5)) drop-shadow(0 1px 1px rgba(0, 0, 0, .6)) drop-shadow(0 12px 12px rgba(0, 0, 0, .42));
  --drop-up: drop-shadow(0 0 .6px rgba(255, 255, 255, .55)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)) drop-shadow(0 20px 18px rgba(0, 0, 0, .5));
}
:root[data-theme="light"] {
  --ring: 0 0 0 1px rgba(70, 42, 34, .17);
  --lift-sm: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(70, 42, 34, .20), 0 8px 14px -6px rgba(70, 42, 34, .28);
  --lift:    var(--ring), inset 0 1px 0 rgba(255, 255, 255, .85), 0 2px 3px rgba(70, 42, 34, .16), 0 10px 20px -6px rgba(70, 42, 34, .24), 0 26px 44px -16px rgba(70, 42, 34, .30);
  --lift-up: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .9), 0 3px 5px rgba(70, 42, 34, .18), 0 14px 26px -6px rgba(70, 42, 34, .28), 0 36px 60px -18px rgba(70, 42, 34, .34);
  --sunk:    var(--ring), inset 0 2px 5px rgba(70, 42, 34, .24), inset 0 -1px 0 rgba(255, 255, 255, .8);
  --drop:    drop-shadow(0 0 .6px rgba(70, 42, 34, .6)) drop-shadow(0 1px 1px rgba(70, 42, 34, .28)) drop-shadow(0 10px 10px rgba(70, 42, 34, .18));
  --drop-up: drop-shadow(0 0 .6px rgba(70, 42, 34, .65)) drop-shadow(0 2px 2px rgba(70, 42, 34, .28)) drop-shadow(0 18px 16px rgba(70, 42, 34, .24));
}
.gallery, .player {
  --ring: 0 0 0 1px rgba(255, 255, 255, .11);
  --lift-sm: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .55), 0 8px 16px -6px rgba(0, 0, 0, .85);
  --lift-up: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .06), 0 3px 5px rgba(0, 0, 0, .5), 0 14px 26px -6px rgba(0, 0, 0, .75), 0 36px 60px -18px rgba(0, 0, 0, .95);
}

/* full-width bands and the page frame */
.who, .section-alt { border-block: 1px solid var(--line-2); }
.footer { border-top: 1px solid var(--line-2); }
.nav.is-scrolled { border-bottom-color: var(--line-2); }
.section-slim { border-top: 1px solid var(--line-2); }
.hero-reel video, .g-slide video { box-shadow: var(--lift-up); }

/* =============================================
   Quieter hairlines (a hair off the surface color) and a proper About sheet
   ============================================= */
:root { --ring: 0 0 0 1px rgba(255, 255, 255, .075); --hair: rgba(255, 255, 255, .07);
  --drop:    drop-shadow(0 0 .6px rgba(255, 255, 255, .3)) drop-shadow(0 1px 1px rgba(0, 0, 0, .6)) drop-shadow(0 12px 12px rgba(0, 0, 0, .42));
  --drop-up: drop-shadow(0 0 .6px rgba(255, 255, 255, .34)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)) drop-shadow(0 20px 18px rgba(0, 0, 0, .5)); }
:root[data-theme="light"] { --ring: 0 0 0 1px rgba(70, 42, 34, .10); --hair: rgba(70, 42, 34, .09);
  --drop:    drop-shadow(0 0 .6px rgba(70, 42, 34, .34)) drop-shadow(0 1px 1px rgba(70, 42, 34, .28)) drop-shadow(0 10px 10px rgba(70, 42, 34, .18));
  --drop-up: drop-shadow(0 0 .6px rgba(70, 42, 34, .38)) drop-shadow(0 2px 2px rgba(70, 42, 34, .28)) drop-shadow(0 18px 16px rgba(70, 42, 34, .24)); }
.who, .section-alt { border-block-color: var(--hair); }
.footer { border-top-color: var(--hair); }
.nav.is-scrolled { border-bottom-color: var(--hair); }

.section-slim { border-top: 0; padding-block: clamp(40px, 5vw, 72px); }
.about { max-width: 880px; margin-inline: auto; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px); gap: clamp(18px, 3vw, 32px); border-radius: 6px; background: var(--paper); box-shadow: var(--lift); }
.about img { width: 104px; height: 104px; box-shadow: var(--lift-up); }
.about-text { font-size: 17px; line-height: 1.65; }
@media (max-width: 560px) { .about img { width: 72px; height: 72px; } .about-text { font-size: 16px; } }

/* glows never end on a hard edge: they fade out before the section boundary */
.grow::before { content: none; }
.grow { background: radial-gradient(55% 46% at 82% 48%, rgba(138, 47, 60, .30), transparent 100%); }
:root[data-theme="light"] .grow { background: radial-gradient(55% 46% at 82% 48%, rgba(122, 36, 50, .13), transparent 100%); }
.hero { overflow: visible; }

/* =============================================
   Two-color system: burgundy and cream (#FDFBD4), plus black and white where needed.
   Dark = burgundy surfaces with cream type. Light = cream paper with burgundy and black type.
   No gradients, no third accent color.
   ============================================= */
:root {
  --bg: #1A0709; --paper: #2A0E15; --bg-2: #2A0E15; --surface: #2A0E15;
  --line: #3E1B24; --line-2: #5A2C37;
  --text: #FDFBD4; --muted: #C4BEA1; --faint: #978D79;
  --vino: #7A1F2F; --vino-2: #922A3C;
  --rose: #FDFBD4; --accent: #FDFBD4; --on-accent: #1A0709; --on-vino: #FDFBD4;
  --fold: #3F1822; --nav-bg: rgba(26, 7, 9, .9);
}
:root[data-theme="light"] {
  --bg: #F0ECBE; --paper: #FDFBD4; --bg-2: #FDFBD4; --surface: #FDFBD4;
  --line: #DAD59E; --line-2: #C5BF86;
  --text: #14080B; --muted: #635B4F; --faint: #766E5F;
  --vino: #6E1B2B; --vino-2: #861F33;
  --rose: #6E1B2B; --accent: #6E1B2B; --on-accent: #FDFBD4; --on-vino: #FDFBD4;
  --fold: #E6E1AE; --nav-bg: rgba(240, 236, 190, .9);
}
.gallery, .player {
  --bg: #1A0709; --paper: #2A0E15; --bg-2: #2A0E15; --surface: #2A0E15;
  --text: #FDFBD4; --muted: #C4BEA1; --faint: #978D79; --line: #3E1B24; --line-2: #5A2C37;
  --rose: #FDFBD4; --accent: #FDFBD4; --on-accent: #1A0709;
}

/* no gradients anywhere */
.hero::before, .hero::after, .grow::before { content: none; }
.grow, :root[data-theme="light"] .grow { background: none; }
.progress { background: var(--accent); }
.calc-bar span { background: var(--accent); }
.calc-summary { background: none; }
.dot { background: var(--vino-2); }
:root[data-theme="light"] .dot { background: var(--vino); }

/* one selection language: cream (dark) or burgundy (light) */
.opt input:checked + .opt-box { background: linear-gradient(rgba(253, 251, 212, .09), rgba(253, 251, 212, .09)), var(--paper); }
.opt input:checked + .opt-box i { border-top-color: rgba(253, 251, 212, .35); }
:root[data-theme="light"] .opt input:checked + .opt-box { background: linear-gradient(rgba(110, 27, 43, .08), rgba(110, 27, 43, .08)), var(--paper); }
:root[data-theme="light"] .opt input:checked + .opt-box i { border-top-color: rgba(110, 27, 43, .35); }
.g-nav:hover { background: var(--paper); border-color: transparent; }
.form-status.is-error { background: var(--vino); color: var(--on-vino); }

/* the 30X mark joins the palette: monochrome */
.brands-row img { filter: grayscale(1); }
:root[data-theme="light"] .brands-row img { filter: grayscale(1) brightness(.3); }
:root[data-theme="light"] { --muted: #5B474C; --faint: #756165; }
.tag, .dur { color: #FDFBD4; }
.dur { color: #C4BEA1; }
.tag-hot { color: var(--on-accent); }


/* =============================================
   Lighter cream; white leads in the dark theme, black leads in the light theme
   ============================================= */
:root {
  --strong: #FFFFFF;
  --text: #FFFDED; --muted: #C6BFB0; --faint: #988E84;
  --rose: #FFFDED; --accent: #FFFDED; --on-vino: #FFFDED;
}
:root[data-theme="light"] {
  --strong: #000000;
  --bg: #F6F2C8; --paper: #FFFDED; --bg-2: #FFFDED; --surface: #FFFDED;
  --line: #E2DDAE; --line-2: #CFCA97; --fold: #EDE8BC;
  --text: #14080B; --on-accent: #FFFDED; --on-vino: #FFFDED;
  --rose: #6E1B2B; --accent: #6E1B2B; --nav-bg: rgba(246, 242, 200, .9);
}
.gallery, .player { --strong: #FFFFFF; --text: #FFFDED; --muted: #C6BFB0; --faint: #988E84; --rose: #FFFDED; --accent: #FFFDED; }

h1, h2, h3, .calc-total, .stats dd, .qty output { color: var(--strong); }
h1 em, h2 em { color: var(--accent); }
.nav-links a:hover, .theme-btn:hover { color: var(--strong); }
.opt input:checked + .opt-box b, .form .opt input:checked + .opt-box b { color: var(--strong); }
.opt input:checked + .opt-box i { color: var(--accent); }
.tag, .dur { color: #FFFDED; }
.dur { color: #C6BFB0; }
.opt input:checked + .opt-box { background: linear-gradient(rgba(255, 253, 237, .10), rgba(255, 253, 237, .10)), var(--paper); }
:root[data-theme="light"] .opt input:checked + .opt-box { background: linear-gradient(rgba(110, 27, 43, .08), rgba(110, 27, 43, .08)), var(--paper); }


/* =============================================
   Deeper burgundy, one logo size, a clear selected state, cleaner shadows
   ============================================= */
:root {
  --bg: #0B0B0D; --paper: #151517; --bg-2: #151517; --surface: #151517;
  --line: #242428; --line-2: #36363C;
  --vino: #7C2032; --vino-2: #942840; --fold: #1B1B1F; --nav-bg: rgba(11, 11, 13, .92);
}
:root[data-theme="light"] {
  --bg: #F6F3D3; --paper: #FFFDED; --bg-2: #FFFDED; --surface: #FFFDED;
  --vino: #4E101C; --vino-2: #631625; --rose: #4E101C; --accent: #4E101C;
  --fold: #EEE9C2; --nav-bg: rgba(246, 243, 211, .92);
  --ring: 0 0 0 1px rgba(40, 10, 18, .10);
  --lift-sm: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(40, 10, 18, .16), 0 8px 14px -8px rgba(40, 10, 18, .30);
  --lift:    var(--ring), inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 3px rgba(40, 10, 18, .12), 0 12px 22px -10px rgba(40, 10, 18, .28), 0 28px 44px -22px rgba(40, 10, 18, .26);
  --lift-up: var(--ring), inset 0 1px 0 rgba(255, 255, 255, .95), 0 3px 5px rgba(40, 10, 18, .14), 0 16px 28px -10px rgba(40, 10, 18, .32), 0 34px 54px -24px rgba(40, 10, 18, .30);
  --sheet:   0 18px 30px -20px rgba(40, 10, 18, .35);
  --sunk:    var(--ring), inset 0 2px 5px rgba(40, 10, 18, .18), inset 0 -1px 0 rgba(255, 255, 255, .9);
  --drop:    drop-shadow(0 0 .6px rgba(40, 10, 18, .35)) drop-shadow(0 1px 1px rgba(40, 10, 18, .22)) drop-shadow(0 10px 10px rgba(40, 10, 18, .14));
  --drop-up: drop-shadow(0 0 .6px rgba(40, 10, 18, .4)) drop-shadow(0 2px 2px rgba(40, 10, 18, .22)) drop-shadow(0 18px 16px rgba(40, 10, 18, .2));
}
.gallery, .player { --bg: #0B0B0D; --paper: #151517; --bg-2: #151517; --surface: #151517; --vino: #7C2032; --vino-2: #942840; }

/* the video's shadow: one soft drop, no ring */
.hero-reel video { box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .85), 0 3px 8px rgba(0, 0, 0, .45); }
:root[data-theme="light"] .hero-reel video { box-shadow: 0 26px 44px -26px rgba(40, 10, 18, .55), 0 3px 8px rgba(40, 10, 18, .22); }
.hero-reel figcaption { font-size: 14px; color: var(--muted); }

/* pills over the videos stay readable: hot tag is cream with dark type (dark theme) or burgundy with cream type (light) */
.tag.tag-hot { background: var(--accent); color: var(--on-accent); }

/* selected = burgundy fill with cream type, in both themes */
:root .opt input:checked + .opt-box, :root[data-theme="light"] .opt input:checked + .opt-box { background: var(--vino); box-shadow: var(--sunk); }
:root .opt input:checked + .opt-box b, :root .opt input:checked + .opt-box small, :root .opt input:checked + .opt-box i,
:root[data-theme="light"] .opt input:checked + .opt-box b, :root[data-theme="light"] .opt input:checked + .opt-box small, :root[data-theme="light"] .opt input:checked + .opt-box i,
:root .form .opt input:checked + .opt-box b, :root[data-theme="light"] .form .opt input:checked + .opt-box b { color: var(--on-vino); }
:root .opt input:checked + .opt-box i, :root[data-theme="light"] .opt input:checked + .opt-box i { border-top-color: rgba(255, 253, 237, .4); }
.opt input:checked + .opt-box::after { background: var(--on-vino); }

/* one logo height everywhere, nav and footer alike */
.brand img, .footer img { height: 36px; width: auto; }
.brands-row img { height: 36px; width: auto; }


/* =============================================
   Type: Poppins everywhere; Instrument Serif italic only for the emphasized phrase
   ============================================= */
:root {
  --display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sans:    'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
}
body { font-size: 15.5px; line-height: 1.65; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(34px, 4.7vw, 62px); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.14; letter-spacing: -0.028em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: -0.01em; line-height: 1; }
.stats dd, .qty output, .calc-total, .stamp b, .work-cta-title { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.calc-total #calc-total { letter-spacing: -0.04em; }
.form-head h3, .steps h3, .grow-grid h3 { font-weight: 600; }
.lede, .section-sub, .about-text { font-weight: 400; }
.btn { font-weight: 500; }

/* three calm levels: table, band, sheet */
:root { --bg-2: #1B070A; }
:root[data-theme="light"] { --bg-2: #FAF7DD; }
.gallery, .player { --bg-2: #151517; }

/* =============================================
   "Tú grabas" stage: a recessed tray, notes floating above it with a gentle 3D drift
   ============================================= */
#proceso .wrap { position: relative; isolation: isolate; }
#proceso .wrap::before { content: ''; position: absolute; z-index: -1; inset: -40px -30px -48px; border-radius: 10px; background: var(--bg-2); box-shadow: var(--sunk); }
@media (max-width: 560px) { #proceso .wrap::before { inset: -28px -10px -32px; } }
.steps, .grow-grid { perspective: 1100px; }

@keyframes bob {
  0%, 100% { translate: 0 0; rotate: 1 0.6 0 0deg; }
  50%      { translate: 0 -7px; rotate: 1 0.6 0 1.6deg; }
}
.fx .steps li, .fx .grow-grid article { animation: bob 7s ease-in-out infinite; transform-style: preserve-3d; }
.fx .steps li:nth-child(2), .fx .grow-grid article:nth-child(2) { animation-delay: -1.8s; animation-duration: 8s; }
.fx .steps li:nth-child(3), .fx .grow-grid article:nth-child(3) { animation-delay: -3.6s; animation-duration: 6.4s; }
.fx .steps li:nth-child(4) { animation-delay: -5.1s; animation-duration: 7.6s; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--ease), filter .3s var(--ease); will-change: transform; }
.tilt:hover { animation-play-state: paused; filter: var(--drop-up); }
.grow-grid article.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .steps li, .grow-grid article { animation: none !important; } }


/* =============================================
   About: a taped photo, a real heading, facts as small tickets, one action
   ============================================= */
.about { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); max-width: 980px; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px); }
.about-photo { position: relative; margin: 0; padding: 10px 10px 40px; background: var(--paper); border-radius: 3px; box-shadow: var(--lift-up); rotate: -3deg; transition: rotate .5s var(--ease), translate .5s var(--ease); }
.about-photo:hover { rotate: 0deg; translate: 0 -4px; }
.about .about-photo img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 2px; box-shadow: none; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.tape { position: absolute; top: -13px; left: 50%; width: 84px; height: 26px; transform: translateX(-50%) rotate(2deg); background: var(--vino); opacity: .88; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.about-body h2 { font-size: clamp(26px, 3vw, 38px); }
.about-body .about-text { margin-top: 16px; max-width: 54ch; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.about-facts li { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: var(--paper); box-shadow: var(--lift-sm); }
.about-cta { margin-top: 26px; gap: 10px; }
.about-cta svg { transition: transform .25s var(--ease); }
.about-cta:hover svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-photo { width: 176px; rotate: 0deg; }
  .about-body h2 { text-align: center; }
  .about-text { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .about-photo { transition: none; } }

/* notes: plain sheets, no folded corner */
.steps li::before, .grow-grid article::before { clip-path: none; border-radius: 4px; }
.steps li::after, .grow-grid article::after { content: none; }

/* light theme: a deeper cream table, near-white sheets, no in-between band */
:root[data-theme="light"] {
  --bg: #EFEAC4; --bg-2: #EFEAC4; --paper: #FFFEF7; --surface: #FFFEF7;
  --line: #DDD8A6; --line-2: #C9C48F; --nav-bg: rgba(239, 234, 196, .92);
}
.gallery, .player { --bg-2: #151517; }

/* the photo keeps a white border (polaroid) in the dark theme */
.about-photo { background: #FFFFFF; }
.about-photo figcaption { color: #5B474C; }

/* no pure white: the lightest tone is a lighter cream of the same hue */
:root { --strong: #FFFDED; }
.gallery, .player { --strong: #FFFDED; }
:root[data-theme="light"] { --paper: #FBF8DE; --surface: #FBF8DE; --strong: #000000; }
.about-photo { background: #FFFDED; }
:root[data-theme="light"] .about-photo { background: #FBF8DE; }

/* =============================================
   One-column hero: parallax pushed the reel up over the stats,
   so it is off on small screens (the fade in/out stays).
   ============================================= */
@media (max-width: 860px) {
  [data-speed], [data-fade] { translate: none; }
}
