@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/lora-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/lora-latin-600-normal.woff2') format('woff2'); }

:root {
  --cream: #faf5ea;
  --paper: #fffdf7;
  --ink: #2a2622;
  --muted: #6b6259;
  --navy: #1d2b4a;
  --navy-deep: #141f37;
  --gold: #8e6526;
  --gold-soft: #e9d9b5;
  --line: #e4d9c3;
  --serif-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --serif-body: 'Lora', Georgia, 'Times New Roman', serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lightbox :focus-visible, .upsell :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-soft); }

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

h1, h2, h3 { font-family: var(--serif-display); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--serif-body);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8em;
}
.ornament { color: var(--gold); text-align: center; letter-spacing: .6em; margin: 0 0 1em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--serif-display); font-size: 1.55rem; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav { display: flex; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink); display: inline-block; padding: 10px 4px; }
.nav a[aria-current="page"] { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--serif-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.btn:hover { background: var(--navy-deep); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: #74521f; border-color: #74521f; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-block { display: block; width: 100%; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--paper), var(--cream)); border-bottom: 1px solid var(--line); padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-areas: "top art" "buy art"; column-gap: 56px; align-items: center; }
.hero-top { grid-area: top; align-self: end; }
.hero-buy { grid-area: buy; align-self: start; }
.hero-art { grid-area: art; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; margin-bottom: 0; }
.facts { font-weight: 600; color: var(--navy); margin: 22px 0 6px; }
.price-line { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 20px; flex-wrap: wrap; }
.price-big { font-family: var(--serif-display); font-size: 3rem; color: var(--navy); line-height: 1; }
.price-was { color: var(--muted); }
.price-was s { opacity: .8; }
.btn-hero { font-size: 1.08rem; padding: 16px 30px; }
.hero-alt { margin: 12px 0 0; }
.hero-alt a { display: inline-block; padding: 10px 0; }
.reassure { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }

/* Hero art: real sample pages laid on top of each other like printed sheets. */
.hero-art { position: relative; aspect-ratio: 4 / 3; }
.hero-art .pg { position: absolute; background: #fff; box-shadow: 0 14px 34px rgba(29,43,74,.22), 0 2px 6px rgba(29,43,74,.12); }
.hero-art .pg-left { width: 36%; left: 3%; top: 1%; transform: rotate(-6deg); }
.hero-art .pg-right { width: 36%; right: 3%; top: 0; transform: rotate(5deg); }
.hero-art .pg-front { width: 78%; left: 11%; top: 24%; z-index: 2; border: 1px solid var(--line); }
.hero-art .pg-crop { width: 34%; right: 0; bottom: 0; aspect-ratio: 4 / 3; overflow: hidden; z-index: 3; transform: rotate(3deg); border: 4px solid #fff; }
.hero-art .pg-crop img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.section-head { max-width: 40em; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 26px rgba(42,38,34,.12); transform: translateY(-2px); color: inherit; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #efe6d3; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.4rem; margin-bottom: .3em; }
.card-body p { font-size: .95rem; color: var(--muted); flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--muted); }
.card-price { font-family: var(--serif-display); font-size: 1.6rem; color: var(--navy); }

/* Bundle box */
.bundle-box { background: var(--paper); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px; padding: 36px; margin: 8px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.bundle-box ul { margin: 0 0 1em; padding-left: 1.2em; }
.bundle-price { text-align: center; }
.bundle-price .price-big { color: var(--navy); }
.bundle-price .price-was { color: var(--muted); display: block; margin: 8px 0 18px; }

/* Bundle strip at the top of the shop */
.bundle-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--gold); padding: 14px 18px; margin: -12px 0 40px; }
.bundle-strip p { margin: 0; flex: 1 1 auto; min-width: 0; }
.bundle-strip strong { color: var(--navy); }
.bundle-strip span { color: var(--muted); }
.bundle-strip .btn { padding: 11px 22px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 0 8px; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif-display); font-size: 1.4rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Product page */
.crumbs { font-size: .9rem; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); display: inline-block; padding: 10px 0; }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding: 28px 0 56px; align-items: start; }
.gallery { display: grid; gap: 14px; }
.gallery .main { border: 1px solid var(--line); background: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumbs img { border: 1px solid var(--line); background: #fff; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }
.thumbs.landscape img { aspect-ratio: 4 / 3; }
.gallery a { cursor: zoom-in; display: block; }
.gallery a:hover img { border-color: var(--gold); }

/* Lightbox for sample pages */
.lightbox { padding: 0; border: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: var(--navy-deep); color: #f3ead6; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(20,31,55,.7); }
html.lb-open { overflow: hidden; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 6px 18px; font-size: .92rem; }
.lb-close { width: 48px; height: 48px; font-size: 2.2rem; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; }
.lb-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; object-fit: contain; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 64px; border: 0; background: rgba(20,31,55,.45); color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; z-index: 1; }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.12); }
.lb-bar .btn { padding: 11px 22px; white-space: nowrap; }
.lb-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Phone buy bar on product pages (shown under 860px) */
.buy-bar { display: none; }
.buy-box { position: sticky; top: 20px; }
.buy-box .price-big { color: var(--navy); font-size: 2.6rem; }
.format { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.buy-box .btn { margin-bottom: 12px; }
.note { font-size: .88rem; color: var(--muted); }
.inside { list-style: none; padding: 0; margin: 0 0 1.2em; }
.inside li { padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); position: relative; }
.inside li::before { content: '✦'; color: var(--gold); position: absolute; left: 2px; top: 8px; font-size: .9rem; }
.product-text { max-width: 44em; }
.bonus { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 18px; margin: 24px 0; }
.bonus img { border: 1px solid var(--line); }
.upsell { background: var(--navy); color: #e6dcc6; padding: 28px; margin-top: 28px; }
.upsell-title { font-family: var(--serif-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: #fff; margin: 0 0 .5em; }
.upsell .btn { margin-top: 8px; }
.upsell-list { font-size: .9rem; color: #cfc4ad; }

/* FAQ */
.faq { max-width: 46em; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; color: var(--gold); font-size: 1.4rem; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #cfc4ad; padding: 44px 0 28px; font-size: .92rem; margin-top: 0; }
.site-footer a { color: #f3ead6; overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer .brand { color: #fff; font-size: 1.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #a69c87; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer li a { display: inline-block; padding: 10px 0; }

@media (max-width: 860px) {
  .hero-grid, .product, .bundle-box { grid-template-columns: 1fr; }
  .hero-grid { grid-template-areas: "top" "art" "buy"; }
  .hero { padding: 28px 0 40px; }
  .hero-art { margin: 22px auto 0; width: 100%; max-width: 480px; }
  .facts { margin-top: 18px; }
  .buy-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(42,38,34,.1); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transition: transform .2s; }
  .buy-bar.is-hidden { transform: translateY(110%); }
  .buy-bar-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
  .buy-bar-text strong { font-size: .95rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar-text span { font-size: .82rem; color: var(--muted); }
  .buy-bar .btn { padding: 11px 20px; white-space: nowrap; }
  body.has-buy-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .buy-box { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 56px; gap: 8px; padding-left: 16px; padding-right: 12px; }
  .brand { font-size: 1.3rem; }
  .nav { gap: 6px; }
  .nav a { padding: 12px 6px; }
  .bundle-box { padding: 22px; }
  .bonus { grid-template-columns: 90px 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .hero p.lead { font-size: 1rem; }
  .price-big { font-size: 2.6rem; }
  .btn-hero { display: block; width: 100%; }
  .bundle-strip { margin-top: -16px; flex-wrap: nowrap; padding: 12px 14px; font-size: .95rem; line-height: 1.35; }
  .bundle-strip span { display: block; font-size: .88rem; }
  .bundle-strip .btn { padding: 10px 14px; white-space: nowrap; font-size: .95rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (max-width: 360px) {
  .brand { font-size: 1.15rem; }
  .nav { gap: 2px; }
  .nav a { padding: 12px 5px; }
}
