/* Default theme: Ivory */
:root {
  --paper: #f6f1e9;
  --paper-2: #efe7da;
  --card: #ffffff;
  --ink: #1f1a16;
  --ink-soft: #5c524a;
  --ink-hover: #3a3029;
  --line: #ddd2c2;
  --accent: #a8844c;
  --accent-strong: #84653a;
  --band: #1f2a22;        /* pack section + pack tile */
  --band-ink: #f6f1e9;
  --band-soft: #c9c2b5;
  --band-mute: #9b9486;
  --band-line: #3a322b;
  --hl: #d9bf8f;          /* highlight on dark areas */
  --hl-ink: #1f2a22;
  --footer: #1f1a16;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --classic: "Cinzel", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

/* Theme 1: Noir — dark, copper accent */
[data-theme="noir"] {
  --paper: #121110; --paper-2: #1c1a18; --card: #221f1c;
  --ink: #f3ede4; --ink-soft: #b3aa9e; --ink-hover: #ffffff; --line: #34302b;
  --accent: #c98f62; --accent-strong: #e0a77c;
  --band: #221e1a; --band-ink: #f3ede4; --band-soft: #b9b0a3; --band-mute: #857c70; --band-line: #3a342e;
  --hl: #e0a77c; --hl-ink: #1a1512; --footer: #0a0909;
}

/* Theme 2: Rose — blush paper, wine band */
[data-theme="rose"] {
  --paper: #fbf1ef; --paper-2: #f4e2df; --card: #ffffff;
  --ink: #3a1820; --ink-soft: #7a5158; --ink-hover: #5a2632; --line: #ebcfcb;
  --accent: #c46b7f; --accent-strong: #a2465c;
  --band: #4a1c2a; --band-ink: #fbeef0; --band-soft: #e0bcc4; --band-mute: #b48c96; --band-line: #6a3443;
  --hl: #f4b6c4; --hl-ink: #4a1c2a; --footer: #2c0f17;
}

/* Theme 3: Ocean — cool slate, deep navy band */
[data-theme="ocean"] {
  --paper: #eef3f5; --paper-2: #dfe8ec; --card: #ffffff;
  --ink: #10212c; --ink-soft: #4a5f6c; --ink-hover: #23394a; --line: #cdd9df;
  --accent: #3f87a6; --accent-strong: #236a8a;
  --band: #0f2a3b; --band-ink: #eaf3f7; --band-soft: #b4cad6; --band-mute: #7f99a8; --band-line: #24465a;
  --hl: #8fd0e6; --hl-ink: #0f2a3b; --footer: #0a1a24;
}

/* Theme 4: Terracotta — sun-baked clay, burnt brown band */
[data-theme="terracotta"] {
  --paper: #f7ece2; --paper-2: #efdccc; --card: #fffaf5;
  --ink: #2b1810; --ink-soft: #6f5242; --ink-hover: #4a2b1c; --line: #e3cbb7;
  --accent: #c4643b; --accent-strong: #a54b26;
  --band: #6b2e17; --band-ink: #fbeee3; --band-soft: #e6c3ad; --band-mute: #c39a82; --band-line: #874129;
  --hl: #f3b88f; --hl-ink: #4a1d0c; --footer: #2a140b;
}

/* Theme 5: Mocha — white paper, dark brown ink and band */
[data-theme="mocha"] {
  --paper: #ffffff; --paper-2: #f5f1ed; --card: #ffffff;
  --ink: #2b1d14; --ink-soft: #6b5a4e; --ink-hover: #4a3326; --line: #e8e1da;
  --accent: #8a5a3c; --accent-strong: #6e4529;
  --band: #2b1d14; --band-ink: #ffffff; --band-soft: #d9cbbf; --band-mute: #a8968a; --band-line: #4a3729;
  --hl: #e6c9a8; --hl-ink: #2b1d14; --footer: #1e140d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
h1 em, h2 em, .wordmark em { font-style: italic; color: var(--accent-strong); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-strong); font-weight: 600; margin: 0 0 16px;
}
.eyebrow-light { color: var(--hl); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-hover); }
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--hl); color: var(--hl-ink); }
.btn-light:hover { filter: brightness(1.08); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; margin: 0; }
.wordmark-lg { font-size: 34px; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.header-buy { min-height: 40px; padding: 0 18px; font-size: 14px; white-space: nowrap; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
  padding-top: 64px; padding-bottom: 72px;
}
.hero h1 { font-size: clamp(42px, 4.6vw, 62px); font-weight: 400; line-height: 1.1; }
.hero-rule { display: block; width: 48px; height: 1px; margin: 28px 0; background: var(--accent); }
.lede { font-size: 16px; color: var(--ink-soft); max-width: 460px; margin: 0 0 32px; }
.lede a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-soft); }
.hero-points li::before { content: "✦"; color: var(--accent); margin-right: 8px; font-size: 11px; }
.hero-media { margin: 0; width: 100%; max-width: 440px; justify-self: end; }

/* Before / After slider */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2); aspect-ratio: 4 / 5;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.15);
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #1f1a16; font-size: 18px; font-weight: 700; letter-spacing: 2px;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.ba-tag {
  position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(20, 16, 13, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  pointer-events: none; transition: opacity .2s ease;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }

/* Ribbon */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ribbon-track { display: flex; gap: 64px; width: max-content; padding-right: 64px; animation: scroll 40s linear infinite; font-family: var(--classic); font-size: 22px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-top: 112px; padding-bottom: 32px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(40px, 5vw, 64px); }
.section-sub { color: var(--ink-soft); margin: 18px 0 0; font-size: 17px; }

/* Looks grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.card { display: flex; flex-direction: column; }
.card-body { padding-top: 18px; }
.card h3 { font-size: 30px; }
.card-desc { color: var(--ink-soft); margin: 6px 0 0; font-size: 15px; }
.price { font-family: var(--sans); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }

/* Pack tile: last cell of the looks grid, stretches to the row height */
.pack-tile {
  display: flex; align-items: center; justify-content: center;
  padding: 36px 28px;
}
.pack-tile-main { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
/* The quote only shows on wide screens, where the tile has room beside the price */
.pack-tile-quote { display: none; margin: 0; }
.pack-tile-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 29px; line-height: 1.3; color: var(--ink); }
.pack-tile-quote em { color: var(--accent-strong); }
.pack-tile-quote .q-alt { display: inline-block; margin: 10px 0; font-family: "Lato", var(--sans); font-style: italic; font-weight: 300; font-size: 21px; color: var(--accent-strong); }
.pack-tile-quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.pack-tile-kicker { margin: 0; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-strong); }
.pack-tile h3 { font-size: 26px; font-weight: 400; }
.pack-tile h3 em { color: var(--accent-strong); }
.pack-tile-rule { width: 32px; height: 1px; background: var(--accent); }
.pack-tile .price { font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.pack-tile-note { margin: 0; font-size: 12px; color: var(--ink-soft); }
.pack-tile .btn { min-height: 38px; padding: 0 24px; margin-top: 6px; font-size: 13px; letter-spacing: .04em; }

/* Pack section */
.pack { background: var(--band); color: var(--band-ink); margin-top: 112px; padding: 104px 0; overflow: hidden; }
.pack-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pack-stack { position: relative; height: 520px; }
.pack-stack img {
  position: absolute; width: 56%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
}
.pack-stack img:nth-child(1) { left: 0; top: 40px; transform: rotate(-6deg); }
.pack-stack img:nth-child(2) { left: 22%; top: 0; z-index: 2; }
.pack-stack img:nth-child(3) { left: 44%; top: 50px; transform: rotate(6deg); }
.pack-copy h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 20px; }
.pack-copy h2 em { color: var(--hl); }
.pack-copy > p:not(.eyebrow) { color: var(--band-soft); font-size: 17px; max-width: 480px; margin: 0 0 24px; }
.included { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; color: var(--band-soft); }
.included li::before { content: "✓"; color: var(--hl); font-weight: 700; margin-right: 12px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.price-lg { font-size: 48px; line-height: 1; }
.price-note { color: var(--band-mute); font-size: 14px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent-strong); }
.steps h3 { font-size: 28px; margin: 12px 0 10px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* About: letter from Jawhar */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; padding-top: 112px; }
.about-media { position: sticky; top: 100px; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; width: 100%; height: auto; }
.letter h2 { font-size: clamp(44px, 5.5vw, 72px); margin-bottom: 32px; }
.letter-body { max-width: 580px; font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--ink-soft); }
.letter-body p { margin: 0 0 20px; }
.letter-lead { font-size: 25px; line-height: 1.4; color: var(--ink); }
.letter blockquote {
  margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent);
  font-size: 27px; line-height: 1.35; color: var(--ink);
}
.letter blockquote em { color: var(--accent-strong); }
.signoff { margin-top: 32px !important; font-style: italic; }
.signoff span { display: inline-block; margin-top: 4px; font-style: normal; font-size: 26px; color: var(--ink); }
.about-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 36px; }

/* FAQ: open two-column Q&A */
.faq { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 112px; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 1px solid var(--ink); }
.qa { padding: 28px 0; border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0 0 10px; font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); }
.qa p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink); }

/* Footer */
.site-footer { background: var(--footer); color: var(--band-ink); padding: 72px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-inner .wordmark em { color: var(--hl); }
.footer-note { color: var(--band-mute); margin: 8px 0 0; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--band-soft); }
.footer-links a:hover { color: var(--band-ink); }
.copyright { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: 13px; color: var(--band-mute); }

/* Responsive */
/* Wide screens: 4 per row; the pack tile fills the 3 spaces next to the 5th look */
@media (min-width: 1181px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 56px 28px; }
  .pack-tile { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; padding: 48px 56px; }
  .pack-tile-quote { display: block; padding-right: 48px; }
  .pack-tile-main { padding-left: 48px; border-left: 1px solid var(--line); }
  .pack-tile h3 { font-size: 30px; }
  .card h3 { font-size: 26px; }
  .card-desc { font-size: 14px; }
  .card .ba-tag { top: 10px; padding: 4px 9px; font-size: 10px; }
  .card .ba-tag-before { left: 10px; }
  .card .ba-tag-after { right: 10px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero-media { justify-self: start; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pack-inner, .about, .faq { grid-template-columns: 1fr; gap: 48px; }
  .pack-stack { height: 420px; max-width: 480px; }
  .about-media { position: static; max-width: 420px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .wordmark { font-size: 22px; }
  .header-buy { padding: 0 14px; font-size: 13px; }
  .hero h1 { font-size: 40px; }
  .ribbon-track { font-size: 17px; gap: 40px; padding-right: 40px; }
  /* Two compact cards per row on phones */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .card .ba { border-radius: 10px; }
  .card .ba-tag { top: 8px; padding: 3px 7px; font-size: 9px; letter-spacing: .08em; }
  .card .ba-tag-before { left: 8px; }
  .card .ba-tag-after { right: 8px; }
  .card .ba-handle::after { width: 32px; height: 32px; font-size: 13px; letter-spacing: 1px; }
  .card-body { padding-top: 10px; }
  .card h3 { font-size: 21px; }
  .card-desc { font-size: 13px; line-height: 1.45; }
  .pack-tile { padding: 20px 12px; }
  .pack-tile-main { gap: 10px; }
  .pack-tile-kicker { font-size: 8px; letter-spacing: .16em; }
  .pack-tile h3 { font-size: 19px; }
  .pack-tile .price { font-size: 18px; }
  .pack-tile-note { display: none; }
  .pack-tile .btn { min-height: 34px; padding: 0 18px; font-size: 12px; margin-top: 2px; }
  .section { padding-top: 80px; }
  .section-head { margin-bottom: 36px; }
  .pack { margin-top: 80px; padding: 72px 0; }
  .pack-stack { height: 340px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .about { padding-top: 80px; }
  .letter h2 { margin-bottom: 24px; }
  .letter-body { font-size: 19px; }
  .letter-lead { font-size: 22px; }
  .letter blockquote { font-size: 23px; padding-left: 18px; }
  .faq { padding-bottom: 80px; }
  .faq-list { grid-template-columns: 1fr; }
  .qa p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Hero poster stack: the front photo sits in the middle, the rest peek out above and below */
.poster-stage { display: grid; place-items: center; padding: 110px 0; }
.posters { position: relative; isolation: isolate; width: min(300px, 70vw); aspect-ratio: 3 / 4; } /* keeps the cards' z-index below the sticky header */
.poster {
  position: absolute; inset: 0; overflow: hidden; border-radius: 3px; background: center / cover;
  box-shadow: 0 0 0 3px var(--paper); will-change: transform; /* paper edge keeps the strips apart */
  transition: transform .7s cubic-bezier(.65, 0, .25, 1), opacity .7s ease;
}

@media (max-width: 640px) {
  .poster-stage { padding: 100px 0; }
}
