:root {
  --paper: #fff9f1;
  --paper-2: #fff0df;
  --ink: #1a1424;
  --muted: #6c6375;
  --line: #eadfce;
  --accent: #e8452c;
  --green: #1f6b4a;
  --display: "Commissioner", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --body: "Commissioner", system-ui, sans-serif;
  --r: 22px;
  /* season tokens (overridden per season) */
  --s1: #c8102e;
  --s2: #0f5a3c;
  --s3: #fde9dc;
  --gold: #f6c453;
  --hero-a: #8f0d22;
  --hero-b: #123f2c;
}
body[data-season="xmas"] { --s1: #b3262e; --s2: #1b4d3e; --s3: #fcedeb; --hero-a: #80101b; --hero-b: #183e30; --gold: #f4ca64; }
body[data-season="newyear"] { --s1: #4b3bea; --s2: #e3a008; --s3: #edebff; --hero-a: #1d1660; --hero-b: #4b3bea; --gold: #ffd166; }
body[data-season="valentine"] { --s1: #e0245e; --s2: #8e1442; --s3: #ffe6ee; --hero-a: #8e1442; --hero-b: #ff4d7d; --gold: #ffc2d4; }
body[data-season="spring"] { --s1: #1f9d5c; --s2: #e9a20a; --s3: #e8f7ec; --hero-a: #0f5c3a; --hero-b: #3cbf7a; --gold: #ffe27a; }
body[data-season="easter"] { --s1: #6a8f1f; --s2: #d9731a; --s3: #f2f7e1; --hero-a: #3e5a10; --hero-b: #9bbd3c; --gold: #ffd36e; }
body[data-season="exams"] { --s1: #2b59c3; --s2: #f29d0b; --s3: #e8efff; --hero-a: #172d6b; --hero-b: #3a6ee8; --gold: #ffc94a; }
body[data-season="summer"] { --s1: #0891b2; --s2: #f97316; --s3: #e0f7fb; --hero-a: #075e78; --hero-b: #22c3e6; --gold: #ffd23f; }
body[data-season="school"] { --s1: #2b59c3; --s2: #e85d2c; --s3: #eaf0ff; --hero-a: #1c2f73; --hero-b: #4f7cf0; --gold: #ffc94a; }
body[data-season="autumn"] { --s1: #c2410c; --s2: #7c2d12; --s3: #fdeee2; --hero-a: #6e260d; --hero-b: #d9601f; --gold: #ffcf6e; }
body[data-season="wedding"] { --s1: #a8475a; --s2: #b08d57; --s3: #fbefee; --hero-a: #5a2733; --hero-b: #b4646f; --gold: #f3d7a1; }
body { --accent: var(--s1); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background 0.6s;
}
a { color: inherit; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* Top bar */
.topbar { background: var(--ink); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; }
.topbar b { color: var(--gold); }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; gap: 16px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.logo .logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 16px; transform: rotate(-8deg); transition: transform 0.3s; }
.logo:hover .logo-mark { transform: rotate(12deg) scale(1.08); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-toggle { display: none; }
.nav a.link { font-size: 15px; font-weight: 600; text-decoration: none; position: relative; }
.nav a.link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--accent); transition: right 0.25s; }
.nav a.link:hover::after { right: 0; }
.pill-link { font-size: 14px; font-weight: 800; text-decoration: none; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; transition: background 0.2s; }
.pill-link:hover { background: var(--accent); }

/* Typography */
.kicker { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6.2vw, 86px); line-height: 0.96; letter-spacing: -0.035em; margin: 18px 0 22px; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; margin: 10px 0 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 32em; }
.cta-row { display: flex; gap: 14px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.hero-guide { display: inline-flex; align-items: center; gap: 13px; max-width: 100%; margin-top: 22px; padding: 6px 15px 6px 6px; border: 1px solid #ffffff59; border-radius: 14px; background: #20152240; color: #fff; text-decoration: none; vertical-align: top; transition: background 0.2s, border-color 0.2s; }
.hero-guide:hover { background: #20152280; border-color: var(--gold); }
.hero-guide-thumb { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: clamp(76px, 18vw, 100px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #352039; }
.hero-guide-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.hero-guide-play { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #302232; box-shadow: 0 2px 8px #20152280; }
.hero-guide-play svg { width: 20px; height: 20px; }
.hero-guide-copy { display: grid; gap: 2px; line-height: 1.25; }
.hero-guide-copy strong { font-size: 15px; }
.hero-guide-copy small { font-size: 13px; }
.hero-guide:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Buttons */
.btn {
  font: 800 16px var(--body);
  border: 0;
  cursor: pointer;
  padding: 15px 24px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s;
}
.btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn-hot { background: var(--gold); color: var(--ink); }
.btn-hot:hover { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.preview { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Hero panel */
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 40%), linear-gradient(135deg, var(--hero-a), var(--hero-b));
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 64px 56px;
  min-height: 560px;
  transition: background 0.6s;
}
.hero-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-copy { position: relative; z-index: 2; }
.hero-panel .lead { color: rgba(255, 255, 255, 0.85); }
.hero-panel h1 em { color: var(--gold); }
.season-pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 99px; padding: 7px 16px; font-size: 14px; font-weight: 800; }

/* Falling particles */
.flakes { position: absolute; inset: 0; z-index: 1; pointer-events: none; container-type: size; }
.flakes span { position: absolute; top: -40px; color: #fff; animation: fall linear infinite; }
@keyframes fall {
  0%, 100% { opacity: 0; }
  10%, 90% { opacity: var(--flake-opacity, 0.65); }
  to { transform: translate3d(var(--drift, 30px), var(--fall-distance, 1100px), 0) rotate(var(--spin, 200deg)); }
}
@supports (height: 1cqh) { .flakes { --fall-distance: calc(100cqh + 40px); } }

/* Hero books */
.hero-books { position: relative; z-index: 2; height: 440px; }
.book { position: absolute; width: 230px; aspect-ratio: 1 / 1.35; border-radius: 6px 16px 16px 6px; background: var(--c, #fff); color: #fff; padding: 26px 22px; box-shadow: -8px 0 0 rgba(0, 0, 0, 0.18) inset, 0 30px 50px -20px rgba(0, 0, 0, 0.55); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); animation: bob 6s ease-in-out infinite; text-decoration: none; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.6px); background-size: 16px 16px; }
.book > * { position: relative; }
.book small { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.book strong { font-size: 26px; line-height: 1.02; font-weight: 900; letter-spacing: -0.02em; }
.book .glyph { font-size: 54px; line-height: 1; }
.hero-panel.offscreen :is(.flakes span, .book, .sticker) { animation-play-state: paused; }
.book:nth-child(1) { left: 0; top: 70px; transform: rotate(-9deg); animation-delay: -1s; }
.book:nth-child(2) { left: 26%; top: 0; transform: rotate(3deg); z-index: 2; animation-delay: -3s; }
.book:nth-child(3) { left: 50%; top: 96px; transform: rotate(11deg); animation-delay: -5s; }
.book:hover { transform: rotate(0) scale(1.05) translateY(-10px); z-index: 5; }
@keyframes bob { 50% { translate: 0 -10px; } }
.hero-books .sticker { position: absolute; right: 4%; bottom: 12px; z-index: 4; }
.sticker { display: grid; place-items: center; text-align: center; width: 112px; height: 112px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 15px; line-height: 1.05; transform: rotate(12deg); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); animation: wobble 4s ease-in-out infinite; }
.sticker b { display: block; font-size: 28px; }
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.05); } }


/* Strip (CV page) */
.strip { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 18px 0; background: #fff; }
.strip .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.strip b { font-family: var(--display); font-weight: 900; font-size: 20px; margin-right: 6px; color: var(--accent); }

/* Sections */
section { padding: 100px 0; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }
.season { background: linear-gradient(var(--paper), var(--s3) 30%, var(--paper)); transition: background 0.6s; }

/* Season timeline */
.timeline { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; margin-bottom: 40px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; }
.tl { position: relative; font-family: var(--body); text-align: left; cursor: pointer; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px 12px 12px; min-width: 112px; color: var(--ink); transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.tl:hover { transform: translateY(-4px); border-color: var(--tc); }
.tl .g { display: block; font-size: 24px; line-height: 1; color: var(--tc); }
.tl b { display: block; font-size: 14px; font-weight: 800; margin-top: 8px; line-height: 1.15; }
.tl small { color: var(--muted); font-size: 12px; font-weight: 600; }
.tl.on { background: var(--tc); border-color: var(--tc); color: #fff; box-shadow: 0 14px 30px -14px var(--tc); transform: translateY(-4px); }
.tl.on .g, .tl.on small { color: #fff; }
.tl .now { position: absolute; top: -10px; right: 10px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 99px; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -12px 0 30px; }
.filters button { font: 800 15px var(--body); cursor: pointer; padding: 10px 18px; border-radius: 99px; border: 2px solid var(--ink); background: transparent; color: var(--ink); transition: background 0.2s, color 0.2s; }
.filters button:hover { background: var(--s3); }
.filters button.on { background: var(--ink); color: #fff; }

/* Products */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translate(-3px, -3px) rotate(-0.4deg); box-shadow: 10px 10px 0 var(--c, var(--ink)); }
.card .cover { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: space-between; color: #fff; padding: 22px; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.card .cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.6px); background-size: 18px 18px; transition: transform 0.6s; }
.card:hover .cover::before { transform: scale(1.15) rotate(4deg); }
.card .cover > * { position: relative; }
.card .cover .glyph { position: absolute; right: 18px; bottom: 6px; font-size: 88px; line-height: 1; opacity: 0.9; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .cover .glyph { transform: rotate(-12deg) scale(1.12); }
.card .cover strong { font-size: 28px; line-height: 1.02; font-weight: 900; letter-spacing: -0.02em; display: block; max-width: 70%; }
.card .cover span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; opacity: 0.9; }
.ribbon { position: absolute; top: 14px; right: -34px; z-index: 3; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 40px; transform: rotate(35deg); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.4); }
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 22px; font-weight: 900; margin: 0 0 4px; line-height: 1.15; letter-spacing: -0.01em; }
.card .tag { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.card ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 15px; }
.card li { padding: 6px 0 6px 30px; position: relative; }
.card li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; background: var(--c, var(--accent)); }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-actions { display: inline-flex; gap: 8px; align-items: center; }
.card-actions .btn { padding: 11px 16px; font-size: 14px; }
.card-actions .btn.ghost { border: 1.5px solid var(--ink); box-shadow: none; }
.card-actions .btn.ghost:hover { background: var(--paper-2); color: var(--ink); }
.price { font-family: var(--display); font-size: 34px; font-weight: 900; letter-spacing: -0.02em; }
.price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.card .btn { padding: 12px 20px; font-size: 15px; }
.card .btn:hover { background: var(--c, var(--accent)); color: #fff; }
.card .preview { margin-top: 14px; }
.card.hide { display: none; }

.skeleton { min-height: 500px; border-radius: var(--r); background: var(--paper-2); border: 2px solid var(--line); }
.catalog-error { grid-column: 1 / -1; }
.catalog-error p { margin: 0 0 12px; }

/* Bundle */
.bundle { margin-top: 34px; background: var(--ink); color: #fff; padding: 44px; border-radius: 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.bundle::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(var(--s1), transparent 65%); opacity: 0.7; }
.bundle > * { position: relative; }
.bundle .kicker { color: var(--gold); }
.bundle h3 { font-size: 38px; font-weight: 900; margin: 6px 0 8px; line-height: 1.05; letter-spacing: -0.02em; }
.bundle p { color: #c6bfd0; margin: 0; }
.bundle .right { text-align: right; }
.bundle .price { color: #fff; font-size: 56px; }
.bundle .old { text-decoration: line-through; color: #8f879a; margin-right: 12px; font-size: 22px; }
.bundle .save { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 13px; padding: 4px 10px; border-radius: 99px; transform: rotate(-4deg); }
.bundle .btn { background: var(--gold); color: var(--ink); margin-top: 12px; }
.bundle .btn:hover { background: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 28px; transition: transform 0.2s; }
.step:hover { transform: rotate(-1deg) translateY(-4px); }
.step:nth-child(2) { background: var(--s3); }
.step .n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff; font-size: 28px; font-weight: 900; line-height: 1; transform: rotate(-6deg); }
.step:nth-child(2) .n { background: var(--ink); transform: rotate(5deg); }
.step:nth-child(3) .n { background: var(--gold); color: var(--ink); }
.step h3 { font-size: 22px; font-weight: 900; margin: 18px 0 6px; }
.step p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 860px; }
details { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 10px; transition: border-color 0.2s; }
details[open] { border-color: var(--ink); }
summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--s3); color: var(--accent); font-weight: 900; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
details p { color: var(--muted); margin: 12px 0 0; }

footer { background: var(--ink); color: #b9b1c4; padding: 48px 0 60px; font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.toast { position: fixed; bottom: 24px; left: 50%; translate: -50% 0; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-size: 15px; z-index: 50; max-width: 90vw; animation: pop 0.3s ease both; }
@keyframes pop { from { opacity: 0; translate: -50% 20px; } }
@keyframes drop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }

/* Download page */
.thanks { padding: 60px 0 120px; max-width: 760px; }
.files { margin-top: 36px; display: grid; gap: 14px; }
.file { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; }
.file strong { font-size: 19px; font-weight: 800; }
.notice { margin-top: 28px; padding: 16px 20px; border-radius: 14px; border-left: 5px solid var(--accent); background: var(--paper-2); font-size: 15px; }

.reveal.pending { opacity: 0; translate: 0 14px; transition: opacity 0.35s ease, translate 0.35s ease; }
.reveal.pending:is(.in, :focus-within) { opacity: 1; translate: 0 0; }

/* Free gift */
.free { background: var(--s2); color: #fff; border-radius: 34px; width: min(1200px, 92vw); margin: 0 auto; padding: 70px 0; position: relative; overflow: hidden; transition: background 0.6s; }
.free::before { content: "2027"; position: absolute; right: -20px; bottom: -60px; font-size: 240px; font-weight: 900; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.07); line-height: 1; }
.free .wrap { width: min(1080px, 84vw); }
.free .kicker { color: var(--gold); }
.free h2 em { color: var(--gold); }
.free-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; position: relative; }
.free-inner p { color: rgba(255, 255, 255, 0.82); max-width: 34em; }
.free-form { display: grid; gap: 12px; background: rgba(0, 0, 0, 0.2); padding: 30px; border-radius: 24px; }
.free-form input { font: 400 17px var(--body); padding: 16px 20px; border: 0; border-radius: 99px; background: #fff; color: var(--ink); }
.free-form input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.free-form .btn { justify-content: center; }
.free-form small { color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.free-form .ok { font-size: 22px; font-weight: 800; margin: 0; color: #fff; }
.free-form .preview { color: rgba(255, 255, 255, 0.8); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.upsell { margin-top: 64px; }
.upsell h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; }
.up-list { display: grid; gap: 14px; }
.upsell .tag { color: var(--muted); font-size: 15px; margin: 4px 0 0; }

/* CV promo */
.cv-promo { background: var(--ink); color: #fff; margin-top: 0; }
.cv-promo-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cv-promo .kicker { color: var(--gold); }
.cv-promo p { color: #c6bfd0; max-width: 36em; }
.cv-promo .btn { margin-top: 18px; }
.cv-promo-art { position: relative; justify-self: center; }
.cvp { display: grid; grid-template-columns: 34% 1fr; width: 260px; aspect-ratio: 1 / 1.3; background: #fff; border-radius: 10px; overflow: hidden; transform: rotate(4deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); animation: bob 6s ease-in-out infinite; }
.cvp-side { background: var(--s1); padding-top: 20px; }
.cvp-side em { display: block; width: 52px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto; background: linear-gradient(135deg, #e7c3a2, #8a5f48); border: 3px solid #fff; }
.cvp-body { padding: 22px 16px; }
.cvp-body b { display: block; height: 14px; width: 80%; background: var(--ink); border-radius: 4px; margin-bottom: 8px; }
.cvp-body i { display: block; height: 8px; width: 50%; background: var(--s1); border-radius: 4px; opacity: 0.6; margin-bottom: 16px; }
.cvp-body u { display: block; height: 7px; background: #e6e3ea; border-radius: 4px; margin: 10px 0; }
.cvp-body u:nth-child(odd) { width: 80%; }
.cv-promo-art .sticker { position: absolute; left: -40px; bottom: 20px; font-size: 30px; }

@media (max-width: 900px) {
  .hero-panel, .section-head, .bundle, .cv-promo-inner, .free-inner { grid-template-columns: 1fr; }
  .hero-panel { padding: 40px 24px; border-radius: 26px; gap: 10px; }
  .hero-books { height: 330px; }
  .book { width: 170px; padding: 18px 16px; }
  .book strong { font-size: 20px; }
  .book .glyph { font-size: 40px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(10, 120px); }
  .bundle { padding: 30px; }
  .bundle .right { text-align: left; }
  section { padding: 70px 0; }
  .free { padding: 50px 0; border-radius: 26px; }
  .file { flex-direction: column; align-items: flex-start; }
  .cv-promo-art { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending { opacity: 1; translate: 0 0; }
  .flakes { display: none; }
}

@media (max-width: 900px) {
  .hero-panel :is(.book, .sticker), .studio-art :is(.sticker, .sa-tool) { animation: none; }
}

/* Legacy hero (CV page) */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 48px 0 90px; }
.hero h1 em { color: var(--accent); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 20px; } }

/* AI CV builder */
.cv-form { display: grid; gap: 18px; background: #fffdf8; border: 1px solid var(--line); padding: 32px; }
.cv-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cv-form input:not([type=radio]), .cv-form textarea { font: 400 16px var(--body); padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); resize: vertical; width: 100%; }
.cv-form input:focus, .cv-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row2, .row3 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr 1fr; }
.lang { border: 0; padding: 0; margin: 0; display: flex; gap: 22px; align-items: end; flex-wrap: wrap; }
.lang legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.lang label { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 16px; }
.cv-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cv-actions small { color: var(--muted); font-size: 13px; max-width: 30em; }
.cv-preview { background: #fffdf8; border: 1px solid var(--line); }
.pv-tabs { display: flex; gap: 6px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pv-tabs button { font: 600 14px var(--body); background: transparent; border: 1px solid var(--line); padding: 9px 14px; cursor: pointer; color: var(--ink); }
.pv-tabs button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pv-tabs a { margin-left: auto; }
#pv-frame { width: 100%; height: 820px; border: 0; display: block; background: #eee; }
@media (max-width: 900px) {
  .row2, .row3 { grid-template-columns: 1fr; }
  .cv-form { padding: 20px; }
  #pv-frame { height: 560px; }
}

/* ---------- CV builder: richer visuals ---------- */
.cv-mock2 { --c: #1f3a5f; position: relative; display: grid; grid-template-columns: 34% 1fr; background: #fff; aspect-ratio: 1 / 1.3; max-width: 400px; width: 100%; justify-self: center; transform: rotate(2deg); box-shadow: 0 40px 70px -30px rgba(20, 30, 50, 0.45); font-family: var(--body); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(1deg) translateY(-8px); } }
.cv-mock2 .side { background: var(--c); padding: 22px 14px; color: #fff; }
.cv-mock2 .ph { width: 64px; aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; margin: 0 auto 14px; background: linear-gradient(135deg, #e7c3a2, #8a5f48); font-weight: 700; font-size: 20px; }
.cv-mock2 h6 { font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; margin: 14px 0 6px; }
.cv-mock2 .side i { display: block; height: 5px; background: rgba(255, 255, 255, 0.35); margin: 5px 0; }
.cv-mock2 .dots { display: flex; gap: 3px; margin: 6px 0; }
.cv-mock2 .dots b, .cv-mock2 .dots em { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.cv-mock2 .dots em { background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); }
.cv-mock2 .body { padding: 26px 18px; }
.cv-mock2 strong { display: block; font-size: 19px; line-height: 1.1; color: #1e2126; }
.cv-mock2 small { color: var(--c); font-size: 11px; }
.cv-mock2 .hl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 14px 0 4px; }
.cv-mock2 .hl span { background: #e4e8ee; border-radius: 5px; padding: 6px; font-size: 7px; color: #444; line-height: 1.2; }
.cv-mock2 .hl b { display: block; color: var(--c); font-size: 13px; }
.cv-mock2 .body h6 { color: #1e2126; border-bottom: 1px solid #d5dbe4; padding-bottom: 3px; }
.cv-mock2 .body i { display: block; height: 5px; background: #e6e8ec; margin: 5px 0 5px 10px; }
.cv-mock2 .job { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cv-mock2 .job i { height: 7px; background: #1e2126; margin: 0; }
.cv-mock2 .job u { text-decoration: none; font-size: 7px; font-weight: 700; color: var(--c); background: #e4e8ee; border-radius: 9px; padding: 2px 6px; }
.cv-mock2 .badge { position: absolute; left: -26px; bottom: 34px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 14px; transform: rotate(-4deg); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5); }

.photo-field { display: flex; gap: 18px; align-items: center; }
.photo-field p { margin: 4px 0; color: var(--muted); font-size: 14px; max-width: 36em; }
.photo-box { position: relative; flex: none; width: 96px; height: 96px; border-radius: 50%; border: 2px dashed var(--line); display: grid !important; place-items: center; text-align: center; cursor: pointer; background: var(--paper) center / cover; font-size: 13px !important; line-height: 1.2; transition: border-color 0.2s; }
.photo-box:hover { border-color: var(--accent); }
.photo-box small { font-weight: 400; color: var(--muted); }
.photo-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-box.has { border: 3px solid var(--green); }
.photo-box.has span { visibility: hidden; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-family: var(--body); }
.photo-box:not(.has) ~ div .linkish { display: none; }

.designer { margin-bottom: 18px; display: grid; gap: 14px; }
.tpl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.designer.stack .tpl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-card { display: grid; gap: 3px; text-align: left; background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 12px; cursor: pointer; font-family: var(--body); color: var(--ink); transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.tpl-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.tpl-card.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tpl-card b { font-size: 15px; margin-top: 8px; }
.tpl-card small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.tpl-card em { font-style: normal; font-size: 11.5px; color: var(--ink); opacity: 0.7; }
.swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.swatches span { margin-right: 4px; }
.sw-name { font-size: 13px; margin-left: 4px; }
.sw { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--m) 0 55%, var(--a) 55% 100%); border: 3px solid #fffdf8; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform 0.15s; }
.sw:hover { transform: scale(1.12); }
.sw.on { box-shadow: 0 0 0 2px var(--ink); }
.cur-line { margin: 4px 0 14px; font-size: 15px; }
.cur-line small { color: var(--muted); }
.dl-design { margin-top: 18px; }
.dl-design .designer { margin-top: 14px; }

/* Page mock-ups of the four PDF designs */
.pg { position: relative; display: block; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid #e4e4e7; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 22px -16px rgba(20, 30, 50, 0.5); }
.pg i { position: absolute; display: block; }
.pg i:nth-child(6) { left: var(--tx, 38%); right: 9%; top: var(--ty, 40%); height: 44%; background: repeating-linear-gradient(#dfe3e8 0 3px, transparent 3px 9px); }
.pg-executive i:nth-child(1) { inset: 0 auto 0 0; width: 32%; background: var(--m); }
.pg-executive i:nth-child(2) { left: 7%; top: 5%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #e7c3a2, #8a5f48); border: 1.5px solid #fff; }
.pg-executive i:nth-child(3) { left: 38%; top: 7%; width: 46%; height: 5%; background: var(--m); border-radius: 2px; }
.pg-executive i:nth-child(4) { left: 38%; top: 15%; width: 14%; height: 2px; background: var(--a); }
.pg-executive i:nth-child(5) { left: 6%; right: 74%; top: 34%; height: 40%; background: repeating-linear-gradient(var(--a) 0 2px, transparent 2px 10px); opacity: 0.9; }
.pg-executive { --ty: 22%; }
.pg-executive::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--a); margin-left: 32%; }
.pg-minimal i:nth-child(1) { left: 8%; top: 7%; width: 64%; height: 8%; background: #111; border-radius: 2px; }
.pg-minimal i:nth-child(2) { left: 8%; top: 18%; width: 38%; height: 3px; background: var(--a); }
.pg-minimal i:nth-child(3) { left: 8%; right: 8%; top: 25%; height: 2px; background: #111; }
.pg-minimal i:nth-child(4) { left: 8%; top: 31%; width: 14%; height: 40%; background: repeating-linear-gradient(var(--a) 0 2px, transparent 2px 24px); }
.pg-minimal i:nth-child(5) { left: 34%; top: 70%; width: 24%; height: 5%; border: 1.5px solid #cfd2d8; border-radius: 99px; box-shadow: calc(100% + 6px) 0 0 -1.5px #fff, calc(100% + 6px) 0 0 0 #cfd2d8; }
.pg-minimal { --tx: 34%; --ty: 31%; }
.pg-creative i:nth-child(1) { left: 0; right: 0; top: 0; height: 19%; background: var(--m); }
.pg-creative i:nth-child(2) { left: 7%; top: 3.5%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #e7c3a2, #8a5f48); border: 2px solid #fff; }
.pg-creative i:nth-child(3) { left: 30%; top: 6%; width: 42%; height: 4%; background: #fff; border-radius: 2px; }
.pg-creative i:nth-child(4) { left: 6%; right: 6%; top: 16%; height: 6%; background: #fff; border-radius: 5px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.pg-creative i:nth-child(5) { right: 0; top: 19%; bottom: 0; width: 33%; background: color-mix(in srgb, var(--m) 9%, #fff); border-left: 0; }
.pg-creative i:nth-child(5)::before { content: ""; position: absolute; left: 14%; right: 14%; top: 16%; height: 50%; background: repeating-linear-gradient(var(--a) 0 3px, transparent 3px 12px); }
.pg-creative { --tx: 7%; --ty: 30%; }
.pg-creative i:nth-child(6) { right: 40%; }
.pg-ats i:nth-child(1) { left: 10%; top: 7%; width: 50%; height: 5%; background: #111; border-radius: 1px; }
.pg-ats i:nth-child(2) { left: 10%; top: 14.5%; width: 66%; height: 2px; background: #777; }
.pg-ats i:nth-child(3) { left: 10%; right: 10%; top: 21%; height: 1.5px; background: #111; }
.pg-ats i:nth-child(4) { left: 10%; width: 30%; top: 24%; height: 3px; background: #333; }
.pg-ats i:nth-child(5) { left: 10%; right: 10%; top: 50%; height: 1.5px; background: #111; }
.pg-ats { --tx: 10%; --ty: 28%; }
.pg-ats i:nth-child(6) { right: 10%; background: repeating-linear-gradient(#cfd2d6 0 3px, transparent 3px 8px); height: 60%; }

.tpl-show { padding-top: 0; }
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.demo-preview iframe { width: 100%; height: 760px; border: 0; display: block; background: #eee; }
.demo-note { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--muted); }

@media (max-width: 1000px) {
  .tpl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo { grid-template-columns: 1fr; }
  .demo-preview iframe { height: 560px; }
}
@media (max-width: 760px) {
  .cv-mock2 .badge { left: 8px; }
}

/* ---------- Homepage v3: trust row, real product pages, studio, lightbox ---------- */
.link-new { color: var(--accent); }
.link-new::before { content: "ΝΕΟ"; position: absolute; top: -13px; right: -14px; font-size: 9px; font-weight: 900; letter-spacing: 0.06em; background: var(--gold); color: var(--ink); padding: 1px 6px; border-radius: 99px; }

.trust { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.trust li > span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--s3); font-size: 22px; transition: transform 0.3s; }
.trust li:hover > span { transform: rotate(-10deg) scale(1.08); }
.trust b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.trust small { color: var(--muted); font-size: 13px; line-height: 1.3; display: block; }

/* Hero: real covers */
.book.real { padding: 0; background: #fff; border-radius: 4px 12px 12px 4px; }
.book.real::before { display: none; }
.book.real img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Product cards with real pages */
.card .cover { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; aspect-ratio: 4 / 3.3; overflow: hidden; border-bottom: 2px solid var(--ink); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 8%, #fff) 70%); }
.card .cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--c) 30%, transparent) 1.2px, transparent 1.4px); background-size: 16px 16px; opacity: 0.6; }
.card .cover:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.card .cover .pg { position: absolute; width: 42%; height: auto; top: 13%; left: 29%; border-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 18px 30px -14px rgba(20, 15, 30, 0.55); transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); background: #fff; }
.card .cover .pg-0 { transform: rotate(-2deg); z-index: 4; }
.card .cover .pg-1 { transform: translate(28%, 4%) rotate(6deg); z-index: 3; }
.card .cover .pg-2 { transform: translate(-28%, 5%) rotate(-9deg); z-index: 2; }
.card .cover .pg-3 { transform: translate(0, 2%) rotate(2deg); z-index: 1; opacity: 0; }
.card:hover .cover .pg-0 { transform: translate(0, -4%) rotate(0deg) scale(1.04); }
.card:hover .cover .pg-1 { transform: translate(62%, 2%) rotate(9deg); }
.card:hover .cover .pg-2 { transform: translate(-62%, 3%) rotate(-11deg); }
.card:hover .cover .pg-3 { opacity: 1; transform: translate(0, 10%) rotate(3deg) scale(0.96); }
.card .cover .glyph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px; }
.card .cover .pages-pill { position: absolute; left: 14px; bottom: 14px; z-index: 6; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 99px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.4); }
.card .cover .peek { position: absolute; right: 14px; bottom: 14px; z-index: 6; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; padding: 7px 13px; border-radius: 99px; transform: translateY(8px); opacity: 0; transition: opacity 0.25s, transform 0.25s; }
.card:hover .cover .peek, .card .cover:focus-visible .peek { opacity: 1; transform: none; }
@media (hover: none) { .card .cover .peek { opacity: 1; transform: none; } }
.card .cover > * { position: absolute; }

/* Studio promo */
.studio-promo { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 40px; width: min(1280px, 96vw); margin: 40px auto; }
.studio-promo::before { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(color-mix(in srgb, var(--s1) 70%, transparent), transparent 65%); }
.studio-promo::after { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -200px; border-radius: 50%; background: radial-gradient(rgba(124, 58, 237, 0.55), transparent 65%); }
.studio-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.studio-promo .kicker { color: var(--gold); }
.studio-promo h2 em { color: var(--gold); }
.studio-promo p { color: #cfc8d8; font-size: 18px; margin: 18px 0 22px; max-width: 32em; }
.studio-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio-feats li { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.studio-feats span { font-size: 20px; }
.free-note { font-size: 14px; font-weight: 700; color: #cfc8d8; }
.studio-art { position: relative; height: 520px; }
.sa { position: absolute; width: 50%; height: auto; border-radius: 6px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.8); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sa-1 { left: 0; top: 40px; transform: rotate(-8deg); }
.sa-2 { left: 25%; top: 0; transform: rotate(2deg); z-index: 2; }
.sa-3 { left: 50%; top: 60px; transform: rotate(10deg); }
.studio-art:hover .sa-1 { transform: rotate(-12deg) translate(-16px, 6px); }
.studio-art:hover .sa-2 { transform: rotate(0) translateY(-14px) scale(1.03); }
.studio-art:hover .sa-3 { transform: rotate(14deg) translate(16px, 6px); }
.sa-tool { position: absolute; z-index: 3; left: 4%; bottom: 0; display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 99px; padding: 10px 14px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6); animation: bob 5s ease-in-out infinite; }
.sa-tool i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.sa-tool b { font-size: 20px; margin-left: 4px; }
.studio-art .sticker { position: absolute; right: 0; bottom: 20px; z-index: 4; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 20px; border: 0; background: transparent; color: var(--ink); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn 0.25s ease; }
.lightbox::backdrop { background: #17101cba; backdrop-filter: blur(8px); }
@keyframes lbIn { from { opacity: 0; } }
.lb-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; width: min(1040px, 100%); max-height: calc(100vh - 40px); background: var(--paper); border-radius: 28px; padding: 28px; overflow: auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 16px; cursor: pointer; }
.lb-main { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: 20px; padding: 16px; }
.lb-main img { width: auto; height: min(53vh, 530px); max-width: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.35s, transform 0.35s; }
.lb-main img.in { opacity: 1; transform: none; }
.lb-side { display: flex; flex-direction: column; padding: 10px 6px 4px 0; }
.lb-side .kicker { color: var(--c); }
.lb-side h3 { font-size: 34px; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 12px; }
.lb-side p { color: var(--muted); margin: 0 0 20px; }
.lb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.lb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.lb-thumbs button:hover { transform: translateY(-3px); }
.lb-thumbs button.on { border-color: var(--ink); }
.lb-thumbs img { width: 100%; height: auto; display: block; }
.lb-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.lb-foot[hidden] { display: none; }
.lb-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; font-size: 14px; font-weight: 800; }
.lb-pagination button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fffdf9; color: var(--ink); font: 800 20px var(--body); cursor: pointer; }
.lb-pagination button:hover { border-color: var(--ink); }
.lb-foot .btn:hover { background: var(--c); }
.lb-side .preview { margin-top: 14px; }

@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust li { padding: 12px; gap: 10px; }
  .trust li > span { width: 38px; height: 38px; font-size: 18px; }
  .studio-promo { border-radius: 26px; }
  .studio-inner { grid-template-columns: 1fr; gap: 20px; }
  .studio-feats { grid-template-columns: 1fr; }
  .studio-art { height: 360px; }
  .lb-card { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .lb-main img { height: min(42vh, 420px); }
  .lb-side h3 { font-size: 26px; }
  .link-new::before { display: none; }
}
.card .cover span.pages-pill, .card .cover span.peek { letter-spacing: 0; text-transform: none; opacity: 1; }
.card .cover:not(:hover) span.peek { opacity: 0; }
@media (hover: none) { .card .cover:not(:hover) span.peek { opacity: 1; } }
@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 0 8px;
  }
  .nav .logo {
    justify-content: center;
  }
  .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav a.link {
    display: inline-flex !important;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 99px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    text-decoration: none;
    color: var(--ink);
  }
  .nav a.link::after { display: none; }
  .pill-link {
    font-size: 13px;
    padding: 7px 14px;
    flex-shrink: 0;
  }
}

.hero-season-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; position: relative; z-index: 3; }
.season-quick-bar { display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 99px; padding: 3px 8px 3px 12px; font-size: 13px; color: #fff; }
.sq-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.sq-btn { background: transparent; border: 0; color: #fff; font: 700 13px var(--body); padding: 4px 10px; border-radius: 99px; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s; }
.sq-btn:hover { background: rgba(255, 255, 255, 0.2); }
.sq-btn.on { background: var(--gold); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.sq-more { color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 700; margin-left: 3px; padding: 3px 6px; border-radius: 99px; }
.sq-more:hover { text-decoration: underline; }
.season-quick-bar { flex-wrap: wrap; row-gap: 4px; border-radius: 22px; }

.home-intro .hero-panel { min-height: 0; padding: clamp(28px, 4.3vw, 60px); gap: clamp(16px, 3.5vw, 44px); isolation: isolate; background: radial-gradient(ellipse at 98% 8%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 48%), linear-gradient(112deg, color-mix(in srgb, var(--hero-a) 82%, #241821), var(--hero-b)); position: relative; }
.home-intro .hero-panel::before { content: ""; position: absolute; inset: 8px; border: 1px solid #fff4df35; border-radius: inherit; pointer-events: none; z-index: 2; }
.home-intro h1 { font-size: clamp(40px, 5.8vw, 84px); line-height: 1.02; margin: 15px 0; transition: opacity 0.3s; }
.home-intro h1 em { display: block; }
.home-intro .lead { margin: 0; text-wrap: pretty; transition: opacity 0.3s; }
.home-intro .cta-row { gap: 10px; margin-top: 22px; }

/* ========================================================
   WORLD-CLASS FESTIVE COUNTDOWN TIMER
   ======================================================== */
.countdown-box {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(18, 12, 22, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 230, 180, 0.28);
  border-radius: 20px;
  padding: 16px 20px;
  margin: 18px 0 22px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.countdown-box[hidden] {
  display: none !important;
}
.countdown-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold, #f6c453), transparent);
  opacity: 0.85;
}
.cd-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cd-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold, #f6c453);
  box-shadow: 0 0 10px var(--gold, #f6c453), 0 0 0 2px rgba(246, 196, 83, 0.35);
  animation: cd-dot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes cd-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; box-shadow: 0 0 16px var(--gold, #f6c453), 0 0 0 4px rgba(246, 196, 83, 0.2); }
}
.cd-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #f6c453);
}
.cd-sep-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}
.cd-header p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fffdf9;
  letter-spacing: 0.01em;
}
.cd-dials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cd-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(0, 0, 0, 0.38) 100%);
  border: 1px solid rgba(255, 225, 160, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 68px;
  text-align: center;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s;
}
.cd-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold, #f6c453);
}
.cd-item b {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
  color: #fffdf9;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(246, 196, 83, 0.4);
  font-family: var(--display, var(--serif, Georgia, serif));
}
.cd-item small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 240, 210, 0.88);
  margin-top: 4px;
}
.cd-colon {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold, #f6c453);
  opacity: 0.85;
  line-height: 1;
  animation: cd-colon-blink 1s ease-in-out infinite;
  user-select: none;
}
@keyframes cd-colon-blink {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(0.9); }
}

.home-utilities { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.home-quick-actions { display: flex; align-items: center; gap: 12px; }

.hero-fx-toggle { display: inline-flex; align-items: center; gap: 6px; background: #fffdf9; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; font: 700 13px var(--body); color: var(--ink); transition: background 0.2s, border-color 0.2s; }
.hero-fx-toggle[hidden] { display: none; }
.hero-fx-toggle:hover { background: var(--paper-2); border-color: var(--s1); }
.hero-fx-toggle .fx-dot { font-size: 16px; }

.gift-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 20px; border: 0; background: transparent; color: var(--ink); }
.gift-dialog[open] { display: grid; place-items: center; animation: lbIn 0.25s ease; }
.gift-dialog::backdrop { background: rgba(23, 16, 28, 0.75); backdrop-filter: blur(8px); }
.gift-card { position: relative; width: min(640px, 94vw); background: var(--paper); border-radius: 28px; border: 2px solid var(--line); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6); padding: clamp(24px, 4vw, 36px); overflow: hidden; }
.gift-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 16px; cursor: pointer; }
.gift-confetti { font-size: 28px; display: block; margin-bottom: 8px; letter-spacing: 4px; }
.gift-head .kicker { color: var(--s1); }
.gift-head h3 { font-size: clamp(26px, 3.2vw, 36px); margin: 6px 0 10px; font-weight: 900; line-height: 1.1; }
.gift-head p { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.gift-items { display: grid; gap: 12px; margin-bottom: 20px; }
.gift-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 18px; transition: border-color 0.2s, transform 0.2s; }
.gift-row:hover { border-color: var(--s1); transform: translateY(-2px); }
.gr-icon { font-size: 30px; flex: none; }
.gr-info { flex: 1; display: grid; gap: 2px; }
.gr-info strong { font-size: 16px; font-weight: 800; }
.gr-info small { color: var(--muted); font-size: 13px; }
.gr-action { padding: 10px 16px; font-size: 14px; flex: none; }
.gift-tip { display: flex; gap: 12px; background: var(--s3); border-radius: 16px; padding: 14px 16px; border-left: 4px solid var(--s1); font-size: 14px; }
.gt-icon { font-size: 20px; flex: none; }
.gift-tip p { margin: 0; color: var(--ink); line-height: 1.4; }

.home-intro .hero-guide { margin-top: 0; color: var(--ink); background: #fffdf9; border-color: var(--line); }
.home-intro .hero-guide:hover { background: #fff5e7; border-color: #65454e; }
.home-intro .hero-guide:focus-visible { outline-color: #6e3a45; }
.home-intro .hero-guide-thumb { width: 62px; }
.home-intro .hero-guide-play { width: 26px; height: 26px; }

.home-intro .hero-shelf { position: relative; z-index: 2; min-width: 0; text-align: center; }
.shelf-label { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-intro .hero-books { height: clamp(250px, 27vw, 338px); display: grid; place-items: center; isolation: isolate; }
.home-intro .hero-books::before { content: ""; position: absolute; width: 85%; aspect-ratio: 1.03; z-index: -1; border-radius: 50%; border: 1px solid #ffeac662; box-shadow: 0 0 0 13px #fff8ec0e, inset 0 0 55px #ffecd92b; background: radial-gradient(ellipse, #fff3e148, transparent 72%); }
.home-intro .hero-books::before { pointer-events: none; }
.home-intro .book { top: 0; left: 0; width: min(39%, 194px); aspect-ratio: 744 / 1052; box-shadow: 0 18px 33px -10px #210d1bb0; border: 0; cursor: pointer; animation: none; opacity: .86; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, opacity 0.4s; }
.home-intro .book[data-slot="left"] { transform: translate(10%, 16%) rotate(-14deg) scale(.86); z-index: 1; }
.home-intro .book[data-slot="right"] { transform: translate(147%, 16%) rotate(14deg) scale(.86); z-index: 1; }
.home-intro .book[data-slot="center"] { transform: translate(78%, 5%) rotate(-2deg); z-index: 3; opacity: 1; box-shadow: 0 26px 48px -10px rgba(0, 0, 0, 0.65), 0 0 0 2px var(--gold); }
.home-intro .book:hover { opacity: 1; }
.home-intro .book:focus-visible { z-index: 4; outline: 3px solid var(--gold); }
.hero-shelf button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.shelf-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; margin: 0 auto; max-width: 340px; }
.shelf-arrow, .shelf-open { min-height: 44px; border: 1px solid #fff4df65; background: #23151e55; color: #fffdf9; cursor: pointer; font: 800 15px var(--body); }
.shelf-arrow { border-radius: 50%; font-size: 20px; }
.shelf-caption { min-height: 3.35rem; display: grid; align-content: center; line-height: 1.15; color: #fffdf9; }
.shelf-caption small { color: var(--gold); font-size: 11px; letter-spacing: .16em; }
.shelf-caption strong { margin-top: 4px; font-family: var(--serif); }
.shelf-open { margin-top: 4px; padding: 0 16px; border-radius: 99px; }
.shelf-open span { margin-left: 4px; }
.shelf-arrow:hover, .shelf-open:hover { background: var(--gold); color: #302232; }
.home-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.home-path { --path-bg: #f1e9da; --path-icon: #e7d6bb; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px; border-radius: 16px; background: var(--path-bg); color: #32232a; border: 1px solid #3d26251c; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.home-path-studio { --path-bg: #e9eee4; --path-icon: #d5e0cd; }
.home-path-wedding { --path-bg: #f5e6e6; --path-icon: #ebcdce; }
.home-path:hover { border-color: #65454e; box-shadow: 0 4px 12px #351b1b15; }
.home-path:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.home-path:focus-visible { outline: 3px solid #6e3a45; outline-offset: 3px; }
.path-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--path-icon); }
.path-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.home-path strong, .home-path small { display: block; line-height: 1.3; }
.home-path strong { font-size: 16px; }
.home-path small { margin-top: 3px; font-size: 13px; }
.path-arrow { font-size: 20px; }
.home-page #season { padding-top: clamp(42px, 6vw, 72px); }
.home-page .wed-promo { background: #633443; --gold: #f4d7aa; }
.home-page .wed-promo .cta-row { gap: 12px; margin-top: 20px; }
.home-page .wed-promo .btn { margin-top: 0; }
.home-wed-stationery { width: min(320px, 32vw); height: 282px; position: relative; border-radius: 48% 48% 15px 15%; background: radial-gradient(ellipse at 50% 10%, #edcbbc, #ae7486 80%); }
.home-wed-paper { position: absolute; inset: 14% 40% 12% 9%; display: grid; place-content: center; gap: 8px; transform: rotate(-9deg); text-align: center; background: #fff7ea; color: #633443; box-shadow: 0 14px 30px -9px #49263199; outline: 1px solid #b9868f; outline-offset: -9px; }
.home-wed-back { inset: 20% 8% 10% 40%; background: #f0d6d0; transform: rotate(10deg); }
.home-wed-paper i { font: italic 32px/1.2 var(--serif); }
.home-wed-paper small { font-size: 10px; font-weight: 800; letter-spacing: .1em; }
@media (max-width: 900px) {
  .home-page .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 0; }
  .home-page .nav .logo { justify-content: flex-start; min-height: 44px; font-size: clamp(18px, 4.8vw, 22px); }
  .home-page .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: #fffdf9; color: var(--ink); font: 800 14px var(--body); cursor: pointer; }
  .home-page .nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .home-page .nav-toggle:not([hidden])[aria-expanded="false"] + .nav-links { display: none; }
  .home-page .nav-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; white-space: normal; padding: 0 0 4px; align-items: stretch; }
  .home-page .nav-links a { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; }
  .home-page .nav-links .pill-link { grid-column: 1 / -1; }
  .home-intro .hero-panel { grid-template-columns: minmax(0, 1fr); padding: clamp(28px, 5vw, 48px); gap: 32px; }
  .home-intro .hero-books { height: 260px; width: min(100%, 320px); margin: 0 auto; }
  .home-utilities { flex-direction: column; align-items: stretch; gap: 12px; }
  .home-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .home-intro .hero-guide { margin-top: 0; width: 100%; box-sizing: border-box; }
  .hero-fx-toggle { width: 100%; min-height: 44px; justify-content: center; box-sizing: border-box; }
}
@media (max-width: 680px) {
  .home-intro .hero-panel {
    padding: 22px clamp(14px, 4.2vw, 22px);
    gap: 22px;
    border-radius: 24px;
    background: radial-gradient(ellipse at 80% 90%, #ffe4b424, transparent 60%), color-mix(in srgb, var(--hero-a) 82%, #241821);
  }
  .home-page .topbar { font-size: 12px; padding: 7px 12px; text-wrap: balance; }
  .home-intro h1 { font-size: clamp(30px, 8.2vw, 44px); line-height: 1.05; margin: 12px 0 14px; overflow-wrap: anywhere; text-wrap: balance; }
  .home-intro .lead { font-size: 15px; line-height: 1.5; }
  .hero-season-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .season-quick-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 100%; padding: 4px; border-radius: 16px; }
  .sq-label { grid-column: 1 / -1; padding: 4px 8px 0; }
  .season-quick-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sq-btn, .sq-more { display: grid; place-items: center; min-height: 44px; margin: 0; padding: 4px; text-align: center; border-radius: 10px; }
  .sq-more { grid-column: 1 / -1; }

  /* Mobile Countdown Timer - Seamless 4-dial single row */
  .countdown-box {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    margin: 16px 0 0;
    border-radius: 16px;
    gap: 10px;
  }
  .cd-header { gap: 6px; }
  .cd-badge { font-size: 10px; }
  .cd-header p { flex: 0 0 100%; font-size: 13px; }
  .cd-dials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(4px, 1.4vw, 9px); }
  .cd-item { min-width: 0; padding: 8px 2px; border-radius: 10px; }
  .cd-item b { font-size: clamp(20px, 5.8vw, 24px); }
  .cd-item small { font-size: clamp(9px, 2.65vw, 11px); letter-spacing: 0; margin-top: 3px; }
  .cd-colon, .cd-sep-dot { display: none; }

  /* Hero Books Fan - Perfectly balanced, zero cut-off */
  .home-intro .hero-books { width: min(100%, 300px); height: auto; aspect-ratio: 1.55; margin: 8px auto 12px; }
  .home-intro .hero-books::before { width: 85%; height: 85%; }
  .shelf-controls { max-width: 290px; gap: 6px; }
  .shelf-caption { font-size: 13px; }

  .home-intro .cta-row { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; }
  .home-intro .cta-row .btn { min-height: 46px; justify-content: center; padding: 10px 12px; font-size: 14px; text-align: center; }

  .home-paths { grid-template-columns: 1fr; gap: 10px; }
  .home-path { padding: 12px 14px; }
  .home-page .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .home-page .trust li { gap: 8px; padding: 10px; overflow-wrap: anywhere; }
  .home-page .trust li > span { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; }
  .home-page .trust b { font-size: 13px; }
  .home-page .trust small { font-size: 11px; }
  .home-page .free-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-page .free-form { padding: 16px; }
  .home-page .free-form input { min-width: 0; width: 100%; }
  .home-page :is(.match-chips button, .filters button, details > summary) { min-height: 44px; }
  .home-page footer { padding-bottom: max(84px, calc(68px + env(safe-area-inset-bottom))); }
}
@media (max-width: 440px) {
  .home-page .trust { grid-template-columns: 1fr; }
  .home-quick-actions { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .home-page :is(.lightbox, .gift-dialog) { padding: 10px; }
  .home-page :is(.lb-card, .gift-card) { width: min(100%, 560px); max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; padding: 14px; border-radius: 20px; }
  .home-page .lb-card { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-page :is(.lb-close, .gift-close) { position: sticky; top: 0; width: 44px; height: 44px; }
  .home-page .lb-close { justify-self: end; }
  .home-page .gift-close { display: block; margin-left: auto; }
  .home-page .gift-confetti { margin-top: -40px; padding-right: 52px; }
  .home-page .lb-main { padding: 8px; }
  .home-page .lb-main img { height: min(47dvh, 420px); }
}
@media (max-width: 520px) {
  .home-page .gift-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; padding: 12px; }
  .home-page .gr-action { grid-column: 1 / -1; justify-content: center; min-height: 44px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-live-dot, .cd-colon, .gift-dialog[open] { animation: none; }
}

.card a.cover { text-decoration: none; }
.card a.btn.buy { text-decoration: none; }
.tl[data-id="wedding"] { border-style: dashed; border-color: var(--tc); }
.tl[data-id="wedding"].on { border-style: solid; }

/* Wedding cards in the seasonal section: illustrated covers */
.timeline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); padding: 14px 16px 22px 2px; }
#season-title { word-spacing: 0.06em; }
.wcover { --serif: "Literata", Georgia, serif; }
.card .wcover span:not(.pages-pill):not(.peek), .card .wcover small { text-transform: none; opacity: 1; letter-spacing: 0; }
.card .wcover b { max-width: none; }
.wcover .wa-phone { position: absolute; z-index: 2; left: 50%; top: 9%; width: 34%; aspect-ratio: 9 / 17; transform: translateX(-50%) rotate(-3deg); background: #1b1420; border-radius: 22px; padding: 6px; box-shadow: 0 24px 40px -18px rgba(40, 10, 20, 0.6); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .wcover .wa-phone { transform: translate(-50%, -4%) rotate(0deg); }
.wcover .wa-screen { height: 100%; border-radius: 17px; background: linear-gradient(170deg, #fff8f3, #f7e4e1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; text-align: center; padding: 10% 8%; color: #4a2430; overflow: hidden; }
.wcover .wa-screen small { font-size: 8px; color: #a8475a; font-weight: 800; line-height: 1.3; }
.wcover .wa-screen b, .wcover .wa-paper b { font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.1; }
.wcover .wa-screen b i, .wcover .wa-paper b i { color: #b08d57; font-style: italic; }
.wcover .wa-date { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; padding: 3px 0; border-top: 1px solid #d9b9b4; border-bottom: 1px solid #d9b9b4; }
.wcover .wa-count { display: flex; gap: 4px; }
.wcover .wa-count em::after { content: attr(data-u); display: block; font-size: 6px; font-weight: 700; opacity: 0.7; }
.wcover .wa-count em { font-style: normal; font-size: 9px; font-weight: 900; background: #fff; border-radius: 5px; padding: 3px 4px; box-shadow: 0 1px 0 #ead2ce; }
.wcover .wa-gap { height: 22%; }
.wcover .wa-btn { font-size: 9px; font-weight: 800; color: #fff; background: #a8475a; border-radius: 99px; padding: 5px 10px; }
.wcover .wa-chip { position: absolute; z-index: 3; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 12px; box-shadow: 0 10px 20px -10px rgba(40, 10, 20, 0.5); white-space: nowrap; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wcover .wa-chip i { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #3f8f5f; color: #fff; font-size: 9px; margin-right: 4px; }
.wcover .wa-chip-a { left: 5%; top: 60%; transform: rotate(-4deg); }
.wcover .wa-chip-b { right: 5%; top: 16%; transform: rotate(3deg); color: #a8475a; }
.card:hover .wcover .wa-chip-a { transform: translate(-4px, -4px) rotate(-6deg); }
.card:hover .wcover .wa-chip-b { transform: translate(4px, 2px) rotate(5deg); }
.wcover .wa-paper { position: absolute; z-index: 2; top: 15%; left: 35%; width: 30%; aspect-ratio: 5 / 7; background: #fffdf9; border: 1px solid #eadfcd; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%; text-align: center; padding: 6%; color: #4a3a22; box-shadow: 0 18px 30px -14px rgba(60, 40, 10, 0.55); transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wcover .wa-paper::after { content: ""; position: absolute; inset: 5%; border: 1px solid #d8c29a; border-radius: 2px; pointer-events: none; }
.wcover .wa-paper small { font-family: var(--serif); font-style: italic; font-size: 10px; color: #b08d57; }
.wcover .wa-paper span { font-size: 8px; font-weight: 800; letter-spacing: 0.12em; }
.wcover .wa-lines { display: grid; gap: 4px; width: 70%; }
.wcover .wa-lines i { display: block; height: 2px; background: #e6d7bd; border-radius: 2px; }
.wcover .wa-lines i:nth-child(odd) { width: 80%; margin: 0 auto; }
.wcover .wa-p1 { z-index: 3; transform: rotate(-2deg); }
.wcover .wa-p2 { transform: translate(-66%, 6%) rotate(-9deg); background: #fbf4ec; }
.wcover .wa-p3 { transform: translate(66%, 6%) rotate(8deg); background: #f8ecea; }
.wcover .wa-p3 b { color: #a8475a; }
.card:hover .wcover .wa-p1 { transform: translate(0, -5%) rotate(0deg) scale(1.04); }
.card:hover .wcover .wa-p2 { transform: translate(-80%, 4%) rotate(-11deg); }
.card:hover .wcover .wa-p3 { transform: translate(80%, 4%) rotate(10deg); }
@media (max-width: 520px) {
  .wcover .wa-screen b, .wcover .wa-paper b { font-size: 14px; }
  .wcover .wa-chip { font-size: 10px; }
}

/* ---------- Homepage v4: picker, wedding pack everywhere, tabbed showcase ---------- */
.home-page .match { padding: clamp(36px, 5vw, 60px) 0 0; }
.match-box { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 30px; padding: clamp(22px, 4vw, 44px); box-shadow: 8px 8px 0 var(--s1); transition: box-shadow 0.6s; }
.match-q h2 { font-size: clamp(30px, 3.8vw, 48px); }
.match-q h2 em { color: var(--s1); }
.match-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.match-chips button { display: inline-flex; align-items: center; gap: 7px; font: 700 15px var(--body); color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 99px; padding: 9px 15px 9px 11px; cursor: pointer; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.match-chips button span { font-size: 18px; line-height: 1; }
@media (hover: hover) { .match-chips button:hover { transform: translateY(-2px); border-color: var(--ink); } }
.match-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.match-chips button[data-m="wedding"]:not(.on) { border-color: #dfbcb3; background: #faeee7; }
.match-chips button:focus-visible { outline: 3px solid var(--s1); outline-offset: 2px; }
.match-result { min-height: 260px; display: grid; align-items: center; background: var(--s3); border-radius: 22px; padding: clamp(16px, 2.6vw, 26px); transition: background 0.6s; }
.match-pick { display: grid; grid-template-columns: minmax(100px, 38%) 1fr; gap: 20px; align-items: center; opacity: 0; translate: 0 8px; transition: opacity 0.3s, translate 0.3s; }
.match-pick.in { opacity: 1; translate: 0 0; }
.match-pick-art { grid-template-columns: 1fr; }
.match-img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 30px -14px #1a142480; transform: rotate(-3deg); transition: transform 0.3s; }
.match-pick:hover .match-img { transform: rotate(0) scale(1.03); }
.match-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1); }
.match-info h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin: 6px 0 6px; }
.match-info p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.match-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.match-actions .btn { padding: 12px 18px; font-size: 15px; }
.match-bundle { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.match-art { margin-top: 18px; display: flex; justify-content: center; }
.match-art .home-wed-stationery { display: block; width: min(260px, 100%); height: 170px; }
.match-art .home-wed-paper { display: grid; }
.match-art .home-wed-paper i { font-size: 22px; }

/* Wedding pack feature card (season → Γάμος) */
.card.wed-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; background: #fffaf6; }
.wf-art { position: relative; display: grid; place-items: center; padding: 26px; background: radial-gradient(ellipse at 50% 20%, #f7e2da, #e9c6c3); border-right: 2px solid var(--ink); text-decoration: none; min-height: 300px; }
.wf-art .home-wed-stationery { width: min(320px, 90%); height: 250px; display: block; transition: transform 0.4s; }
.card.wed-feature:hover .wf-art .home-wed-stationery { transform: rotate(-2deg) scale(1.03); }
.wf-art .home-wed-paper { display: grid; }
.wf-art .peek { position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; padding: 7px 13px; border-radius: 99px; }
.wf-badge { align-self: flex-start; background: #723449; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 99px; margin-bottom: 10px; }
.card.wed-feature h3 { font-size: clamp(26px, 3vw, 36px); }
.card.wed-feature ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.card.wed-feature .btn.buy { background: #723449; }
.card-upsell { display: block; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: #faeee7; border: 1px dashed #c99aa0; color: #5d2a3a; font-size: 14px; text-decoration: none; transition: background 0.2s; }
.card-upsell:hover { background: #f5dfd6; }

/* Tabbed showcase */
.showcase { padding: clamp(48px, 6vw, 80px) 0; }
.showcase .wrap { position: relative; z-index: 1; }
.showcase-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.showcase-head h2 em { color: var(--gold); }
.showcase-tabs { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); padding: 6px; border-radius: 20px; }
.showcase-tabs button { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center; text-align: left; font-family: var(--body); color: #fff; background: transparent; border: 0; border-radius: 15px; padding: 9px 16px 9px 12px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.showcase-tabs button span { grid-row: 1 / 3; font-size: 24px; }
.showcase-tabs button b { font-size: 15px; line-height: 1.2; }
.showcase-tabs button small { font-size: 12px; opacity: 0.75; line-height: 1.2; }
.showcase-tabs button:hover { background: rgba(255, 255, 255, 0.1); }
.showcase-tabs button.on { background: var(--gold); color: var(--ink); }
.showcase-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@keyframes panel-in { from { opacity: 0; translate: 0 10px; } }
.showcase-panel { animation: panel-in 0.35s ease both; }
.showcase-panel[hidden] { display: none; }
.showcase h3 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0 0; }
.showcase h3 em { color: var(--gold); padding-right: 0.12em; }
.showcase .kicker { color: var(--gold); }
.showcase p { color: #cfc8d8; }
.showcase .cta-row { margin-top: 22px; gap: 12px; }
.showcase .cv-promo-art { position: relative; justify-self: center; }
.wed-tiers { display: grid; gap: 10px; margin-top: 18px; max-width: 560px; }
.wed-tier { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: center; padding: 13px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.wed-tier:hover { background: rgba(255, 255, 255, 0.13); transform: translateX(4px); }
.wed-tier b { font-size: 16px; }
.wed-tier small { grid-column: 1; font-size: 13px; color: #cfc8d8; line-height: 1.35; }
.wed-tier strong { grid-column: 2; grid-row: 1 / span 3; font-size: 22px; font-weight: 900; }
.wed-tier-top { background: #f4d7aa; color: var(--ink); border-color: #f4d7aa; }
.wed-tier-top:hover { background: #fbe4c0; }
.wed-tier-top small { color: #5d4a3a; }
.wed-tier-badge { grid-column: 1; justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #723449; color: #fff; padding: 2px 8px; border-radius: 99px; margin-bottom: 4px; }

@media (max-width: 900px) {
  .match-box { grid-template-columns: minmax(0, 1fr); }
  .match-result { min-height: 0; }
  .card.wed-feature { grid-template-columns: 1fr; }
  .wf-art { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 230px; }
  .showcase-tabs { width: 100%; }
  .showcase-tabs button { flex: 1; padding: 8px 10px; }
  .showcase .cv-promo-art { display: none; }
}
@media (max-width: 520px) {
  .match-chips button { font-size: 14px; padding: 8px 12px 8px 9px; }
  .match-pick { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .match-img { width: min(88px, 100%); margin: 4px auto; }
  .match-info, .match-q h2 { overflow-wrap: anywhere; }
  .card.wed-feature ul { grid-template-columns: 1fr; }
  .showcase-tabs button { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .showcase-tabs button span { grid-row: auto; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-panel { animation: none; }
  .match-pick { transition: none; }
  .lightbox[open] { animation: none; }
  .lb-main img, .home-intro .book { transition: none; }
}

.catalog-tools { display: grid; grid-template-columns: 1fr minmax(245px, .65fr); align-items: end; gap: 8px 20px; margin-bottom: 16px; }
.catalog-tools[hidden], .catalog-empty[hidden] { display: none; }
.catalog-tools .filters { margin: 0; }
.catalog-search { display: grid; gap: 4px; font-weight: 800; font-size: 14px; }
.catalog-search input { min-width: 0; min-height: 44px; padding: 9px 14px; border: 1px solid #866f75; border-radius: 12px; background: #fffdf9; color: var(--ink); font: 400 16px var(--body); }
.catalog-search input:focus-visible { outline: 2px solid #6e3a45; outline-offset: 2px; }
#catalog-count { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.catalog-empty { margin: 12px 0 24px; }
.catalog-empty p { margin: 0 0 12px; }
@media (max-width: 680px) {
  .catalog-tools { grid-template-columns: 1fr; }
  .catalog-search { grid-row: 1; }
}

/* ---- CV: job ad, keywords, ATS, interview prep ---- */
.cv-form .job-ad { padding: 16px; border: 1px dashed var(--accent); background: var(--paper-2); }
.cv-form .job-ad > span { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.cv-form .job-ad > span small, .cv-form .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.kw-box { margin: 0 0 18px; padding: 14px 18px; border-left: 5px solid #2e7d4f; background: #eef7f1; font-size: 15px; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kw span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #b9dcc6; color: #1d5a37; }
.cv-incl { margin: 6px 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.file > div { display: grid; gap: 4px; }
.file small { color: var(--muted); font-size: 14px; }
.interview { margin-top: 44px; }
.interview h3 { font-size: 26px; margin: 6px 0 18px; }
.iv { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.iv details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.iv summary { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
.iv summary::-webkit-details-marker { display: none; }
.iv summary .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; }
.iv-body { padding: 0 20px 18px 62px; display: grid; gap: 10px; font-size: 15.5px; }
.iv-body p { margin: 0; }
.iv-body .why { color: var(--muted); }
.iv-body blockquote { margin: 0; padding: 12px 16px; background: var(--paper-2); border-left: 4px solid var(--accent); font-style: italic; }
.iv-body blockquote b { display: block; font-style: normal; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.iv-loading { display: flex; gap: 10px; align-items: center; color: var(--muted); padding: 18px 0; }
.iv-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.spin { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: cvspin 0.8s linear infinite; }
@keyframes cvspin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .iv-body { padding-left: 20px; } }

/* Download page: three editions per planner */
.file.file-editions { flex-wrap: wrap; }
.file .file-formats { display: flex; flex-wrap: wrap; gap: 8px; }
.file .file-formats .btn { margin: 0; }

/* Import an existing CV (PDF) */
.cv-form .cv-import { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--accent); background: var(--paper-2); }
.cv-import-icon { font-size: 30px; line-height: 1; }
.cv-import b { font-size: 16px; }
.cv-import p { margin: 4px 0 0; font-size: 14px; font-weight: 400; color: var(--muted); }
.cv-import .cv-import-status { color: var(--ink); font-weight: 600; }
.cv-import .cv-import-status:empty { display: none; }
.cv-form label.cv-import-btn { display: inline-flex; position: relative; cursor: pointer; white-space: nowrap; }
.cv-import-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cv-import-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.cv-import.busy .cv-import-btn { opacity: .6; pointer-events: none; }
.cv-form .filled { animation: cv-filled 1.6s ease-out; }
@keyframes cv-filled { from { background: #fff3c4; } to { background: var(--paper); } }
@media (max-width: 640px) { .cv-form .cv-import { grid-template-columns: auto minmax(0, 1fr); } .cv-import-btn { grid-column: 1 / -1; justify-self: start; } }
