/* ==========================================================================
   Brand layer: aligns every sub-page with the home page aesthetic.
   Paper #FAF8F5 · ink #1C1917 · gold #B08D57 · Playfair Display + Inter.
   Load LAST, after each page's own stylesheets.
   ========================================================================== */
:root {
  --paper: #FAF8F5;
  --paper-2: #F3EFE8;
  --ink: #1C1917;
  --ink-2: #44403C;
  --muted: #78716C;
  --line: #E7E5E4;
  --brand-gold: #B08D57;
  --brand-gold-soft: #F4EBDD;
  --brand-gold-ink: #7A5A24;
  --green: #1F4D3E;
  --display: "Playfair Display", "Noto Serif Display", Georgia, serif;
  --serif: "Playfair Display", "Noto Serif Display", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand-shadow-card: 0 1px 2px rgb(28 25 23 / .04), 0 8px 24px -12px rgb(28 25 23 / .12);
  --brand-shadow-lift: 0 2px 4px rgb(28 25 23 / .05), 0 24px 48px -20px rgb(28 25 23 / .25);
}
/* Home-page seasonal accents (softer than the legacy saturated ones) */
body[data-season] { --accent: #9F1F2E; }
body[data-season="newyear"] { --accent: #4B3BEA; }
body[data-season="valentine"] { --accent: #C2185B; }
body[data-season="spring"], body[data-season="easter"] { --accent: #2F7D4F; }
body[data-season="exams"], body[data-season="school"] { --accent: #2B59C3; }
body[data-season="summer"] { --accent: #0E7490; }
body[data-season="autumn"] { --accent: #B4501A; }
body[data-season="wedding"], body[data-season="baptism"] { --accent: #A8475A; }

body {
  background: #FAF8F5;
  color: #1C1917;
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body:not(.studio-body):not(.wb-body) {
  background-image: radial-gradient(rgb(176 141 87 / .06) 1px, transparent 1px);
  background-size: 18px 18px;
}
::selection { background: #F4EBDD; color: #1C1917; }

/* ---------- Typography ---------- */
h1:where(:not(.inv *)), h2:where(:not(.inv *)) {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.015em;
}
h1:where(:not(.inv *)) { line-height: 1.08; text-wrap: balance; }
h2:where(:not(.inv *)) { line-height: 1.1; text-wrap: balance; }
h1:where(:not(.inv *)) em, h2:where(:not(.inv *)) em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #9F1F2E);
}
.lead { color: #78716C; line-height: 1.65; }
.kicker, .pack-eyebrow, .account-kicker {
  color: #B08D57 !important;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- Header / navigation ---------- */
.nav { border-bottom: 1px solid rgb(231 229 228 / .8); margin-bottom: 8px; }
@media (min-width: 901px) { .nav { padding: 18px 0; } }
.logo, .account-nav a:first-child {
  font-family: var(--display) !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  letter-spacing: -.01em;
  color: #1C1917;
}
.logo span, .logo .logo-mark { color: #B08D57; }
.logo > span:not(.logo-mark) { font-style: italic; }
.logo .logo-mark {
  width: auto; height: auto; border-radius: 0;
  background: none; color: #B08D57; font-size: 18px; transform: none;
}
.logo:hover .logo-mark { transform: rotate(18deg); }
.logo:not(:has(.logo-mark))::before { content: "✦"; color: #B08D57; font-size: 18px; margin-right: 2px; }
.nav a.link, .guide-text-link {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: #44403C;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a.link:hover, .guide-text-link:hover { background: #fff; color: #1C1917; }
.nav-links .link-pack { font-weight: 600; color: #7A5A24; box-shadow: inset 0 0 0 1px rgb(176 141 87 / .55); }
@media (max-width: 900px) {
  .nav a.link { font-size: 13px; font-weight: 500; padding: 7px 14px; border-color: #E7E5E4; box-shadow: none; color: #44403C; }
}
.nav a.link::after { display: none; }
.pill-link {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  background: #1C1917;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
}
.pill-link:hover { background: #44403C; }
.topbar { background: #1C1917; font-weight: 500; font-size: 13px; letter-spacing: .01em; }
.topbar b { color: #E5C998; }

/* ---------- Buttons ---------- */
.btn {
  font: 600 15px/1.2 var(--body);
  padding: 13px 22px;
  border-radius: 999px;
  background: #1C1917;
  color: #fff;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { background: #44403C; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgb(28 25 23 / .55); }
.btn:active { transform: none; box-shadow: none; }
.btn:focus-visible { outline: 2px solid #B08D57; outline-offset: 3px; }
.btn.ghost { background: #fff; color: #1C1917; box-shadow: inset 0 0 0 1px #E7E5E4; }
.btn.ghost:hover { background: #fff; color: #1C1917; box-shadow: inset 0 0 0 1px rgb(28 25 23 / .4); }
.btn-hot { background: #B08D57; color: #fff; }
.btn-hot:hover { background: #9A7745; color: #fff; }
.btn-glass { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); }
.btn-glass:hover { background: #fff; color: #1C1917; }
.studio-actions .btn { box-shadow: none; }

/* ---------- Surfaces / cards ---------- */
.hero-panel {
  border-radius: 28px;
  background: radial-gradient(circle at 85% 15%, rgb(176 141 87 / .32), transparent 45%), linear-gradient(135deg, #1C1917, #3A302A) !important;
}
.file, .tier, .contact-form, .review, .vs-col, .guide-screening, .pack-grid > *, .wed-choice {
  border-color: #E7E5E4;
}
input, select, textarea { font-family: var(--body); }
:is(input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=url], input:not([type]), select, textarea):focus {
  border-color: #1C1917;
  outline: none;
  box-shadow: 0 0 0 4px rgb(176 141 87 / .15);
}
a:focus-visible, button:focus-visible { outline-color: #B08D57; }

/* ---------- Wedding / baptism landing ---------- */
body[data-season="wedding"], body[data-season="baptism"] { --paper: #FAF8F5; --paper-2: #F3EFE8; }
.wed-intro h1 em { font-family: var(--display); }
.wed-intro .kicker, .wed-finish .kicker, .wed-choice-top .kicker { color: #B08D57 !important; }
.wed-choice { background: #fff; border-color: #E7E5E4; box-shadow: var(--brand-shadow-card); }
.wed-choice-pack { background: linear-gradient(180deg, #FFFFFF 0%, #FCF8F1 100%); border-color: rgb(176 141 87 / .45); }
.wed-price { border-color: #E7E5E4; background: #fff; font-weight: 600; }

/* ---------- Ready packs (Γάμος Έτοιμος / Βάπτιση / Γαμοβάπτιση) ---------- */
.pack-page { background: #FAF8F5; --pack-ink: #1C1917; --pack-paper: #FFFFFF; --pack-line: #E7E5E4; }
.pack-page h1, .pack-page h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
.pack-page h1 { font-size: clamp(44px, 7vw, 92px); }
.pack-page h2 { font-size: clamp(30px, 4vw, 52px); }
.pack-page em { color: var(--pack-wine); }
.pack-page :focus-visible { outline-color: #B08D57; }

/* ---------- Design studio ---------- */
.studio-body { background: #F3EFE8; }
.studio-top { background: rgb(250 248 245 / .88); border-bottom-color: rgb(231 229 228 / .8); }
.studio-title h1 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.005em; }
.studio-body :focus-visible { outline-color: #B08D57; }

/* ---------- Account page ---------- */
.account-page {
  --ink: #1C1917; --muted: #78716C; --dark: #1C1917; --line: #E7E5E4; --paper: #FFFFFF;
  background: #FAF8F5;
  font-family: var(--body);
}
.account-nav a:first-child span { color: #B08D57; }
.account-layout { box-shadow: var(--brand-shadow-lift); }
.account-cover { background: radial-gradient(ellipse at 25% 20%, #FBF6EE, transparent 70%), #F4EBDD; }
.account-paper { outline-color: rgb(176 141 87 / .6); background: #FFFDF9; box-shadow: 10px 14px 0 rgb(176 141 87 / .14), 0 22px 55px rgb(28 25 23 / .16); color: #1C1917; }
.account-mark { font-family: var(--display); color: #B08D57; }
.account-edition, .account-card h1 { font-family: var(--display) !important; }
.account-card h1 { font-weight: 500 !important; letter-spacing: -.015em; }
#account-status { background: #F4EBDD; }

/* ---------- Footer ---------- */
footer, .foot { color: #78716C; }
footer a:hover, .foot a:hover { color: #1C1917; }

/* ---------- Soft cards instead of heavy black outlines ---------- */
.card, .ats, .tier, .ats-demo, .wb-form fieldset, .wb-dash, .match-box,
.pp-promo, .order-personal, .ppl-panel, .ppl-side, .stat-strip div, .wed-steps .step, .app-card, .step, .file {
  border: 1px solid #E7E5E4;
  box-shadow: var(--brand-shadow-card);
}
.card:hover { box-shadow: var(--brand-shadow-lift); }
.tier.rec {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCF8F1 100%);
  color: #1C1917;
  border-color: rgb(176 141 87 / .55);
  box-shadow: 0 0 0 4px rgb(176 141 87 / .10), var(--brand-shadow-lift);
}
.tier.rec .btn { background: #1C1917; color: #fff; }
.tier.rec .btn:hover { background: #44403C; }
.wb-themes input:checked + span { border-color: #1C1917; box-shadow: 0 0 0 3px rgb(176 141 87 / .25); }
.wb-replay { border: 1px solid #E7E5E4; background: #fff; box-shadow: var(--brand-shadow-card); font-weight: 600; }
.wb-replay:hover { box-shadow: var(--brand-shadow-lift); }

/* Dark bands keep light text; italic accents turn gold */
:is(.themes-band, .wb-activate, .cv-promo, .bundle, .studio-promo, .guide-film) :is(h1, h2, h3) em { color: #E5C998; }
.themes-band, .bundle, .studio-promo, .cv-promo { background: #1C1917; }
.wb-activate { background: radial-gradient(circle at 85% 15%, rgb(176 141 87 / .3), transparent 45%), linear-gradient(135deg, #1C1917, #3A302A); }

.filters button { font: 500 14px var(--body); border: 1px solid #E7E5E4; background: #fff; color: #44403C; box-shadow: none; }
.filters button:hover { border-color: rgb(28 25 23 / .4); }
.filters button.on { background: #1C1917; border-color: #1C1917; color: #fff; }
.tier-badge { background: #B08D57; color: #fff; border: 0; font-weight: 600; }
.tier.rec small { color: #78716C; }
.tool-tabs button { font-weight: 600; }
.tool-tabs button.on { background: #F4EBDD; color: #1C1917; }
