/* Off the Roll · website
   Layout: one dark forest-green page, gold engraved name, photos shown as real prints.
   Single dark look on purpose, matching the app. */
@font-face { font-family: "OTR Caps"; src: url("fonts/caps.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "OTR Italic"; src: url("fonts/italic.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "OTR Script"; src: url("fonts/script.otf") format("opentype"); font-display: swap; }

:root {
  --forest: #02150E;      /* page */
  --forest-2: #062619;    /* raised panels */
  --line: rgba(183,154,95,.38);
  --gold: #B79A5F;        /* labels, rules */
  --gold-lt: #D8C18A;     /* name, buttons */
  --cream: #EFE5CC;       /* text */
  --cream-dim: rgba(239,229,204,.72);
  --paper: #FBF8F1;       /* print borders */
  --ink: #1d3a2e;
  --font-caps: "OTR Caps", "Didot", "Bodoni 72", Georgia, serif;
  --font-italic: "OTR Italic", "Palatino", "Iowan Old Style", Georgia, serif;
  --font-script: "OTR Script", "Snell Roundhand", "Savoye LET", cursive;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-ui: -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--forest); color: var(--cream);
  font: 17px/1.6 var(--font-body);
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, #0b3324 0%, transparent 70%);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-lt); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: 72px; }
.narrow { max-width: 760px; }

/* Name */
.name { font-family: var(--font-caps); letter-spacing: .16em; color: var(--gold-lt); white-space: nowrap; text-decoration: none; }
.name i { font-family: var(--font-italic); letter-spacing: 0; font-size: .8em; margin: 0 .42em 0 .26em; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.top .name { font-size: 36px; }

/* Type */
.eyebrow { font: 700 12px/1 var(--font-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 400; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.3; color: var(--gold-lt); }
.script { font-family: var(--font-script); font-weight: 400; color: var(--gold-lt); font-size: 1.12em; }
.accent { color: var(--gold-lt); }
.lead { font-size: 19px; color: var(--cream-dim); max-width: 34em; }
p { margin: 0; }
.fine { font: 13px/1.5 var(--font-ui); color: var(--cream-dim); }

.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.divider span { width: 54px; height: 1px; background: var(--gold); }
.divider b { width: 7px; height: 7px; background: var(--gold-lt); transform: rotate(45deg); }
.center .divider { justify-content: center; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons and form */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold-lt); color: var(--forest); border: 0; border-radius: 999px;
  padding: 14px 26px; font: 700 16px var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #e4cf9b; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--gold-lt); border: 1.5px solid var(--gold-lt); }
.top .btn { padding: 10px 18px; font-size: 14px; white-space: nowrap; }

.join { display: flex; gap: 10px; flex-wrap: wrap; max-width: 470px; }
.join input[type=email] {
  flex: 1 1 220px; min-width: 0; background: var(--forest-2); color: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 14px 20px; font: 16px var(--font-body);
}
.join input::placeholder { color: rgba(239,229,204,.45); }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.join-msg { font: 14px/1.4 var(--font-ui); margin-top: 10px; min-height: 1.4em; color: var(--gold-lt); }
.join-msg.err { color: #ef9a8a; }
.center .join { margin-inline: auto; justify-content: center; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 40px 80px; }
.hero > div { min-width: 0; }
.hero h1 .accent { display: block; margin-top: 4px; }
.hero .lead { margin: 22px 0 28px; }
.hero .fine { margin-top: 4px; }
.phone {
  width: min(320px, 100%); margin-inline: auto; border-radius: 42px; padding: 9px;
  background: #151515; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; }
.hero-art { position: relative; }
.hero-art .tag {
  position: absolute; right: 2%; bottom: 14%; background: var(--paper); color: #333;
  padding: 10px 12px 26px; transform: rotate(5deg); box-shadow: 0 16px 30px rgba(0,0,0,.5); width: 150px;
}
.hero-art .tag img { aspect-ratio: 1; object-fit: cover; }
.hero-art .tag span { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 17px var(--font-script); color: #444; }

/* Question band */
.question { border-block: 1px solid var(--line); padding-block: 44px; }
.question p { font-size: clamp(22px, 3vw, 30px); line-height: 1.35; text-align: center; text-wrap: balance; }
.question em { font-style: normal; color: var(--gold-lt); }

/* Steps */
.how { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.how > div { min-width: 0; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; counter-increment: s; }
.steps li::before {
  content: counter(s); width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-lt); font: 18px var(--font-italic);
}
.steps h3 { font-size: 19px; margin-bottom: 3px; }
.steps p { color: var(--cream-dim); font-size: 16px; }

/* Keepsake */
.keep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.keep-grid img { aspect-ratio: 765 / 605; }
.keep-grid figure { margin: 0; position: relative; min-width: 0; }
.keep-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.keep-grid .big { grid-row: span 2; }
.keep-grid .big img { min-height: 420px; }
.soon {
  display: inline-block; background: var(--gold-lt); color: var(--forest); border-radius: 999px;
  font: 700 11px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px;
}
.keep-grid .soon { position: absolute; top: 14px; left: 14px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.trio > div { min-width: 0; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.trio p { color: var(--cream-dim); font-size: 15.5px; margin-top: 6px; }

/* Extras */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--forest-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; min-width: 0; }
.panel p { color: var(--cream-dim); margin-top: 8px; font-size: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.plan.best { border: 1.5px solid var(--gold-lt); background: var(--forest-2); }
.plan .soon { position: absolute; top: -12px; right: 18px; }
.plan h3 { color: var(--cream); font-size: 19px; }
.price { font-size: 38px; color: var(--gold-lt); line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; color: var(--cream-dim); }
.plan ul { margin: 10px 0 0; padding-left: 18px; color: var(--cream-dim); font-size: 15.5px; }
.plan li::marker { color: var(--gold); }
.terms-line { margin-top: 22px; text-align: center; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-lt); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--cream-dim); margin-top: 10px; max-width: 40em; }

/* Closing */
.closing { text-align: center; }
.closing h2 .accent { display: block; }
.closing .join { margin-top: 28px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 14px var(--font-ui); }
.foot nav a { color: var(--cream-dim); text-decoration: none; }
.foot nav a:hover { color: var(--gold-lt); }
.foot .name { font-size: 18px; }

/* Plain pages (privacy, terms, support) */
.doc { padding-block: 40px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 40px; color: var(--gold-lt); }
.doc p, .doc li { color: var(--cream-dim); margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--cream); font-weight: 600; }
.doc .updated { font: 14px var(--font-ui); color: var(--gold); margin-top: 10px; }
.contact-box { margin-top: 28px; }
.contact-box code { font: 20px var(--font-body); color: var(--gold-lt); user-select: all; }


/* Story: then and now, with a photo of real prints */
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.story > * { min-width: 0; }
.story .lead { margin-top: 18px; }
.story-photo { margin: 0; }
.story-photo img { display: block; width: 100%; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.then-now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.then-now .eyebrow { margin-bottom: 8px; }
.then-now p:not(.eyebrow) { font-size: 15.5px; color: var(--cream-dim); }
.then-now div:last-child p:not(.eyebrow) { color: var(--cream); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 36px; }
  .then-now { grid-template-columns: 1fr; }
  .story-photo { max-width: 460px; margin: 0 auto; }
}


/* A year on the roll: a row of prints */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 40px; }
.strip figure { margin: 0; background: var(--paper); padding: 8px 8px 0; transform: rotate(var(--r)); box-shadow: 0 16px 30px rgba(0,0,0,.5); }
.strip img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip figcaption { font-family: Georgia, serif; color: #3b3b33; text-align: center; font-size: 14px; padding: 8px 0 10px; }
@media (max-width: 860px) {
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 10px 6px 24px; margin-inline: -6px; }
  .strip figure { flex: 0 0 62%; scroll-snap-align: center; }
}

@media (max-width: 520px) { .wide-only { display: none; } .top .btn { padding: 10px 20px; } }

/* Phone width */
@media (max-width: 860px) {
  section { padding-block: 56px; }
  .hero, .how, .extras, .plans, .trio { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-block: 16px 56px; }
  .how .phone { order: 2; }
  .keep-grid { grid-template-columns: 1fr; }
  .trio { gap: 32px; }
  .hero-art .tag { width: 116px; right: 0; bottom: 8%; }
  .top .name { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
