/* Yudita mockup. Mobile first: base styles are the phone layout, wider screens are added at 900px.
   White page, ink type, red display (a touch softer than the reel's #E80E12), wine and gold as accents. */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-var.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --cream: #F6EEDE;
  --paper: #FFFFFF;
  --ink: #140404;
  --red: #CF1A1F;
  --wine: #700A16;
  --gold: #E3A92B;
  --line: #140404;
  --soft-line: #E4DCD0;
  --dark-line: #4a2a2a;
  --sans: "Montserrat", "Poppins", system-ui, sans-serif;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --gutter: 16px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type: the Didone from the reel, but not stretched and at a small optical size,
   so the thin strokes stay thick enough to read on a phone. (Only the wordmark keeps the stretch.) */
.didot {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 14;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 .22em;
}
.red { color: var(--red); }
.wine { color: var(--wine); }
.gold { color: var(--gold); }

.label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--wine);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.label .ph { font-size: 18px; }

/* Header */
.site-head { border-bottom: 2px solid var(--ink); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 14px; }
.wordmark {
  text-decoration: none; color: var(--red);
  font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96;
  font-size: 32px; line-height: 1; letter-spacing: .01em;
  display: inline-block; transform: scaleY(1.4); transform-origin: 0 50%;
}
.nav { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--red); }
.nav .hide-sm { display: none; }

/* Buttons: square, solid, with an icon. No pills, no rounding. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 15px 22px; border: 2px solid var(--red);
  background: var(--red); color: var(--paper); text-decoration: none; cursor: pointer;
  border-radius: 4px; line-height: 1.1;
}
.btn:disabled { background: var(--soft-line); border-color: var(--soft-line); color: var(--ink); cursor: not-allowed; }
.btn .ph { font-size: 20px; }
.btn:hover { background: var(--wine); border-color: var(--wine); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--bg); }
.btn.small { padding: 10px 14px; font-size: 15px; }
.btn.block { width: 100%; justify-content: center; padding: 18px 22px; font-size: 17px; }

/* The hero's main action: full width on phones, big on desktop. */
.btn.cta {
  width: 100%; justify-content: center;
  font-size: 20px; padding: 21px 24px;
}
.btn.cta .ph { font-size: 26px; }
.cta-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; font-weight: 600; }
.cta-note .ph { font-size: 18px; color: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.text-link:hover { color: var(--red); border-color: var(--red); }

/* Hero */
.hero .wrap { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(50px, 14vw, 72px); --lines: 3; }
.hero p.lead { font-size: 17px; max-width: 34ch; margin: 0 0 22px; font-weight: 500; }
.hero-cta { margin: 0 0 26px; }
.price-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 16px; margin: 0 0 18px; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); max-width: 520px; }
.price-row .amount { font-size: 50px; --lines: 1; color: var(--red); margin-bottom: 12px; }
.price-row .amount small { font-size: .42em; }
.price-row .terms { font-size: 14px; font-weight: 600; line-height: 1.4; padding-bottom: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.photo-frame { margin: 0 0 18px 18px; }
.photo-frame .photo { position: relative; }
.photo-frame .photo::before { content: ""; position: absolute; top: 18px; left: -18px; width: 100%; height: 100%; background: var(--red); }
.photo-frame img { position: relative; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; width: 100%; border: 2px solid var(--ink); }
.photo-frame figcaption { position: relative; margin-top: 28px; font-size: 14px; font-weight: 600; }

/* Send section */
.send { border-top: 2px solid var(--ink); }
.send .wrap { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 56px; grid-template-areas: "head" "form" "tips"; }
.send h2 { font-size: clamp(46px, 13vw, 80px); --lines: 2; }
.tips { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; font-weight: 500; }
.tips li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.tips .ph { font-size: 22px; color: var(--red); margin-top: 1px; }
.honest { font-size: 15px; border-left: 4px solid var(--gold); padding: 4px 0 4px 14px; max-width: 40ch; margin: 0; }

.panel { background: var(--paper); border: 2px solid var(--ink); padding: 18px; }
.drop {
  border: 2px dashed var(--wine); padding: 28px 16px; text-align: center; cursor: pointer;
  display: grid; justify-items: center; gap: 8px; background: var(--paper);
}
.drop:hover, .drop.over { border-style: solid; border-color: var(--red); }
.drop .ph { font-size: 44px; color: var(--red); }
.drop strong { font-size: 19px; }
.drop span { font-size: 15px; }
.drop input { display: none; }

.files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.files:empty { display: none; }
.file { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 2px solid var(--soft-line); padding: 10px 12px; background: var(--paper); }
.file .thumb { width: 40px; height: 40px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 20px; }
.file .name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .meta { font-size: 13px; font-weight: 500; color: var(--wine); }
.file .bar { height: 6px; background: var(--soft-line); margin-top: 6px; }
.file .bar i { display: block; height: 100%; background: var(--red); }
.file.done .bar i { background: var(--ink); }
.file button { background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--ink); padding: 6px; }
.file .ok { font-size: 22px; color: var(--ink); }

.fields { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 22px 0 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field label em { font-style: normal; font-weight: 500; color: var(--wine); }
.field input, .field select {
  font: inherit; font-weight: 500; font-size: 17px; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); padding: 13px 14px; width: 100%;
}
.field .error { font-size: 13px; font-weight: 600; color: var(--red); }
.field .error:empty { display: none; }
.field input:focus, .field select:focus { outline: 3px solid var(--gold); outline-offset: 0; }
.phone { display: grid; grid-template-columns: 96px 1fr; }
.phone select { border-right: 0; border-radius: 4px 0 0 4px; }
.phone input { border-radius: 0 4px 4px 0; }
.field .hint { font-size: 13px; font-weight: 500; }
.agree { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; font-weight: 500; margin: 6px 0 20px; align-items: start; }
.agree input { width: 20px; height: 20px; accent-color: var(--red); margin: 2px 0 0; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; margin: 12px 0 0; text-align: center; }

/* Two-step form: details are saved first, then videos upload the moment they're picked */
.send-head { grid-area: head; }
.send .panel { grid-area: form; }
.send-tips { grid-area: tips; }
.stepper { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--soft-line); }
.stepper b { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 4px; font-size: 13px; }
.stepper li.on { border-color: var(--red); }
.stepper li.on b { background: var(--red); border-color: var(--red); color: var(--paper); }
.stepper li.done b { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.form-step[hidden] { display: none; }
.form-step .fields { margin-top: 0; }
.save-note { display: flex; gap: 8px; font-size: 13px; font-weight: 600; margin: 12px 0 0; }
.save-note .ph { font-size: 18px; color: var(--red); flex: none; }
.saved { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: start; border: 2px solid var(--ink); border-radius: 4px; padding: 12px; font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.saved .ph { font-size: 20px; color: var(--red); }
.saved button { background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; color: var(--ink); }
.drop .starts { font-weight: 700; color: var(--wine); }
.file .thumb { background-size: cover; background-position: center; position: relative; }
.file .thumb.has-img .ph { display: none; }
.file .thumb .dur { position: absolute; bottom: 1px; right: 2px; font-size: 9px; font-weight: 700; color: var(--paper); background: var(--ink); padding: 0 2px; }
.total { margin: 14px 0 0; font-size: 14px; font-weight: 700; }
.total:empty { display: none; }
.total .bar { height: 8px; background: var(--soft-line); margin-top: 6px; }
.total .bar i { display: block; height: 100%; background: var(--red); transition: width .3s; }
#finish { margin-top: 16px; }
.wa-alt { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.wa-alt .ph { font-size: 20px; }

/* Upload bar that stays on screen while files upload, so people can scroll and still see progress */
.upbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px var(--gutter) 12px; font-size: 14px; font-weight: 600; transform: translateY(110%); transition: transform .25s; }
.upbar.show { transform: none; }
.upbar .row { display: flex; justify-content: space-between; gap: 12px; }
.upbar .bar { height: 5px; background: var(--dark-line); margin-top: 8px; }
.upbar .bar i { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.upbar small { display: block; font-size: 12px; font-weight: 500; margin-top: 6px; }

/* Steps band: the one dark, cinematic band on the page */
.steps { background: var(--ink); color: var(--bg); }
.steps .wrap { padding-top: 48px; padding-bottom: 56px; }
.steps h2 { font-size: clamp(40px, 11vw, 84px); --lines: 1; color: var(--bg); }
.steps .label { color: var(--gold); }
.step-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--bg); }
.step-list li { padding: 18px 0; border-bottom: 1px solid var(--dark-line); display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; }
.step-list .n { grid-row: span 2; font-size: 50px; --lines: 1; color: var(--gold); }
.step-list h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.step-list p { margin: 0; font-size: 15px; }
.step-list li.pay .n { color: var(--red); }

/* Meet section: copy only on the home page (one photo per page) */
.meet .wrap { display: grid; gap: 18px; padding-top: 52px; padding-bottom: 56px; }
.meet .pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: end; }
.meet .pair img { border: 2px solid var(--ink); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.meet .pair img:last-child { aspect-ratio: 1; }
.meet h2 { font-size: clamp(44px, 12vw, 76px); --lines: 2; }
.meet p { max-width: 46ch; font-weight: 500; margin: 0 0 14px; }
.meet .btn { margin-top: 8px; }

/* Footer */
.site-foot { background: var(--ink); color: var(--bg); border-top: 6px solid var(--red); }
.site-foot .wrap { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.site-foot .wordmark { font-size: 40px; margin-bottom: 18px; }
.site-foot h4 { font-size: 15px; margin: 0 0 12px; color: var(--gold); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--dark-line); padding-top: 20px; font-size: 14px; margin: 0; }

/* Received page */
.received .wrap { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.tick { width: 56px; height: 56px; background: var(--red); color: var(--paper); display: grid; place-items: center; font-size: 32px; margin-bottom: 22px; }
.received h1 { font-size: clamp(76px, 22vw, 150px); --lines: 1; color: var(--red); }
.received .lead { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.ref { display: inline-flex; gap: 10px; align-items: center; border: 2px solid var(--ink); padding: 8px 14px; font-weight: 700; margin: 18px 0 24px; background: var(--paper); }
.ref span { font-weight: 500; }
.sent-to { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; font-weight: 500; }
.sent-to li { display: flex; gap: 10px; align-items: center; }
.sent-to .ph { font-size: 22px; color: var(--wine); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; background: var(--bg); border: 2px solid var(--ink); }
.timeline li.done::before { background: var(--red); border-color: var(--red); }
.timeline h3 { margin: 0; font-size: 17px; }
.timeline p { margin: 2px 0 0; font-size: 15px; font-weight: 500; }
.timeline .when { color: var(--wine); font-weight: 600; font-size: 14px; }
.side-photo img { border: 2px solid var(--ink); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; width: 100%; }
.side-photo p { font-size: 15px; font-weight: 500; }

/* Legal pages */
.legal-page .wrap { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 56px; }
.legal-page h1 { font-size: clamp(64px, 18vw, 140px); --lines: 1; color: var(--red); }
.toc { font-size: 15px; font-weight: 600; order: 2; display: none; }
.toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--red); }
.doc { max-width: 70ch; min-width: 0; }
.doc .updated { font-weight: 600; margin: 0 0 24px; }
.doc .summary { background: var(--paper); border: 2px solid var(--ink); padding: 16px 18px; margin: 0 0 32px; font-weight: 500; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.doc h2 { font-family: var(--sans); font-size: 20px; font-weight: 800; margin: 34px 0 10px; padding-top: 16px; border-top: 2px solid var(--ink); display: flex; gap: 12px; }
.doc h2 b { color: var(--red); }
.doc p, .doc li { font-weight: 500; }
.doc ul { padding-left: 20px; }
.tbd { background: var(--gold); color: var(--ink); padding: 0 6px; font-weight: 700; }
.draft-note { display: flex; gap: 10px; align-items: center; background: var(--ink); color: var(--bg); padding: 10px var(--gutter); font-size: 13px; font-weight: 600; }
.draft-note .ph { color: var(--gold); font-size: 18px; flex: none; }

/* Wider phones and small tablets */
@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .panel { padding: 28px; }
  .btn.cta { width: auto; }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: clamp(28px, 4vw, 56px); }
  body { font-size: 17px; }
  .label { font-size: 15px; margin-bottom: 18px; }

  .site-head .wrap { height: 78px; gap: 24px; }
  .wordmark { font-size: 38px; }
  .nav { gap: 28px; }
  .nav .hide-sm { display: inline; }
  .btn.small { padding: 10px 16px; }

  .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 56px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(64px, 7.2vw, 104px); }
  .hero p.lead { font-size: 19px; margin-bottom: 28px; }
  .btn.cta { font-size: 21px; padding: 22px 34px; }
  .hero-cta { margin-bottom: 32px; }
  .price-row { gap: 18px; flex-wrap: nowrap; padding: 18px 0; }
  .price-row .amount { font-size: 64px; margin-bottom: 14px; }
  .price-row .terms { font-size: 15px; }
  .photo-frame { margin: 0 0 0 24px; }
  .photo-frame .photo::before { top: 22px; left: -22px; }
  .photo-frame figcaption { margin-top: 34px; }

  .send .wrap { grid-template-columns: .8fr 1.2fr; grid-template-areas: "head form" "tips form"; grid-template-rows: auto 1fr; gap: 0 clamp(28px, 5vw, 72px); padding-top: 72px; padding-bottom: 88px; }
  .send h2 { font-size: clamp(48px, 5.4vw, 80px); }
  .tips { gap: 14px; margin-bottom: 28px; }
  .panel { padding: clamp(20px, 3vw, 36px); }
  .drop { padding: 34px 20px; }
  .fields { margin-top: 24px; }

  .steps .wrap { padding-top: 76px; padding-bottom: 84px; }
  .steps h2 { font-size: clamp(48px, 6vw, 84px); }
  .step-list { grid-template-columns: repeat(5, 1fr); }
  .step-list li { display: block; padding: 22px 22px 0 0; border-bottom: 0; border-right: 1px solid var(--dark-line); }
  .step-list li + li { padding-left: 22px; }
  .step-list li:last-child { border-right: 0; }
  .step-list .n { font-size: 66px; }
  .step-list h3 { margin-bottom: 8px; }

  .meet .wrap { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 84px; padding-bottom: 84px; }
  .meet h2 { font-size: clamp(48px, 5.6vw, 80px); }

  .site-foot .wrap { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
  .site-foot .wordmark { font-size: 44px; }

  .received .wrap { grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); padding-top: 64px; padding-bottom: 88px; }
  .tick { width: 64px; height: 64px; font-size: 36px; margin-bottom: 26px; }
  .received h1 { font-size: clamp(80px, 11vw, 150px); }
  .received .lead { font-size: 21px; }

  .legal-page .wrap { grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 72px); padding-top: 56px; padding-bottom: 88px; }
  .legal-page h1 { font-size: clamp(72px, 10vw, 140px); }
  .toc { display: block; order: 0; position: sticky; top: 110px; align-self: start; }
  .doc .summary { padding: 20px 24px; margin-bottom: 40px; }
  .doc h2 { font-size: 22px; margin-top: 40px; padding-top: 18px; }
  .draft-note { font-size: 14px; }
}

body.uploading { padding-bottom: 84px; }
.agree-error { font-size: 13px; font-weight: 600; color: var(--red); margin: -12px 0 16px; }
.agree-error:empty { display: none; }
[hidden] { display: none !important; }
