/* Séviane pre-launch site — single stylesheet */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jost-roman.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jost-italic.woff2') format('woff2');
}

:root {
  --paper: #edd8d2;      /* header, hero, founder — matches carton blush */
  --cream: #f6eee7;      /* page, story */
  --ivory: #fffaf7;
  --ink: #382d29;        /* headings, dark sections */
  --black: #000;
  --text: #493b35;       /* body copy */
  --muted: #6a564e;
  --label: #8a4f49;      /* section labels */
  --rose: #925e53;       /* buttons */
  --rose-dark: #6f4239;  /* button hover */
  --rule: #b98578;
  --line: #d5b3a9;
  --wrap: 1200px;
  --gutter: max(7vw, calc((100vw - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 350;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; transition: color .3s ease; }
strong { font-weight: 500; }

/* Accessibility */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 18px; background: var(--ink); color: var(--ivory);
  font-size: 15px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--label); outline-offset: 4px; }
.dark :focus-visible { outline-color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared type */
.label {
  font-size: 12px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  color: var(--label); line-height: 1.6; margin-bottom: 26px;
}
h1, h2 { font-weight: 300; color: var(--ink); }
.h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.22; letter-spacing: -.02em; margin-bottom: 32px; }
.body { font-size: 17px; line-height: 1.85; color: var(--text); max-width: 680px; margin-bottom: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 16px 28px;
  font: inherit; font-size: 15px; font-weight: 400; letter-spacing: .04em;
  color: var(--ivory); background: var(--rose); border: 1px solid var(--rose);
  text-decoration: none; cursor: pointer; transition: background-color .4s cubic-bezier(.25,1,.5,1), border-color .4s cubic-bezier(.25,1,.5,1);
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.arrow { transition: transform .4s cubic-bezier(.25,1,.5,1); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; padding: 8px var(--gutter) 0; background: var(--paper);
}
.brand { display: block; padding: 6px 0; }
.brand img { width: 196px; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  font-size: 15px; letter-spacing: .05em; text-decoration: none; color: var(--ink);
}
.nav-links a:hover { color: var(--label); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center;
  padding: 55px var(--gutter) 80px; background: var(--paper);
}
.hero h1 {
  font-size: clamp(38px, 4.4vw, 58px); line-height: 1.12; letter-spacing: -.025em;
  color: var(--black); margin-bottom: 24px;
}
.hero-copy { font-size: 18px; line-height: 1.8; color: var(--text); max-width: 540px; margin-bottom: 44px; }
.hero-image { justify-self: end; width: 100%; max-width: 650px; }

/* Sections */
.section { padding: 80px var(--gutter); }
.section-pale { background: var(--paper); }
.story { display: grid; grid-template-columns: .85fr 1fr; gap: 6vw; align-items: center; max-width: var(--wrap); margin: 0 auto; }
.story-image { max-width: 460px; min-width: 0; margin: 0; }
.story-image figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Founder */
.letter { max-width: 720px; margin: 0 auto; text-align: center; }
.letter .label { margin-bottom: 26px; }
.rule { width: 48px; height: 1px; margin: 0 auto; background: var(--rule); border: 0; }
.letter-quote {
  margin: 40px 0; font-size: 21px; font-style: italic; font-weight: 330;
  line-height: 1.7; color: var(--ink); font-synthesis: none;
}
.founder-name { font-size: 18px; line-height: 1.6; margin: 28px 0 0; }
.founder-name span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.monogram { width: 128px; margin: 26px auto 0; }

/* Signup (dark) */
.dark { background: var(--ink); color: var(--cream); }
.signup { position: relative; padding: 80px var(--gutter); text-align: center; overflow: hidden; }
.signup::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 100%, rgba(185,120,112,.22) 0%, transparent 70%);
}
.signup-inner { position: relative; max-width: 580px; margin: 0 auto; }
.signup h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.22; letter-spacing: -.02em; color: var(--cream); margin-bottom: 20px; }
.signup-intro { color: var(--paper); margin-bottom: 38px; }
.signup-form { max-width: 560px; margin: 0 auto; text-align: left; }
.signup-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { display: block; font-size: 15px; color: var(--cream); margin-bottom: 8px; }
.input-email {
  width: 100%; min-height: 56px; padding: 15px 16px;
  font: inherit; font-size: 16px; letter-spacing: .04em;
  color: var(--cream); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s ease, background-color .3s ease;
}
.input-email::placeholder { color: #c8b7ad; }
.input-email:focus { border-color: var(--cream); background: rgba(255,255,255,.07); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 10px; padding: 10px 0; cursor: pointer; }
.consent input {
  flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 1px solid var(--line); border-radius: 0; background: transparent;
  display: grid; place-content: center; transition: background-color .25s ease, border-color .25s ease;
}
.consent input::after { content: ''; width: 11px; height: 6px; border: solid var(--ivory); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px,-1px); opacity: 0; transition: opacity .2s ease; }
.consent input:checked { background: var(--rose); border-color: var(--rose); }
.consent input:checked::after { opacity: 1; }
.consent input:hover { border-color: var(--cream); }
.consent span { font-size: 15px; line-height: 1.6; color: var(--cream); }
.signup-help { font-size: 14px; line-height: 1.7; color: var(--paper); margin: 0 0 22px; }
.signup-help a, .credit a, .contact-note a { text-underline-offset: 3px; }
.signup-help a:hover, .credit a:hover, .contact-note a:hover { color: var(--ivory); }
.signup-form .btn { width: 100%; }
.credit { font-size: 14px; color: var(--paper); text-align: center; margin-top: 16px; }
.credit a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.contact-note { position: relative; font-size: 15px; color: var(--paper); margin-top: 30px; }
.contact-note a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--cream); }

/* Footer */
.footer { padding: 50px var(--gutter) 36px; text-align: center; border-top: 1px solid rgba(237,216,210,.08); }
.footer-mark { width: 150px; margin: 0 auto 16px; }
.footer-tag { font-size: 14px; letter-spacing: .03em; color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 15px; color: var(--paper); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { font-size: 14px; line-height: 1.7; letter-spacing: .02em; color: var(--paper); opacity: .85; margin: 26px auto 0; }

.nowrap { white-space: nowrap; }

/* Privacy notice (page and pop-up share these) */
.policy h2 { font-size: 21px; font-weight: 450; margin: 30px 0 8px; }
.policy h3 { font-size: 17px; font-weight: 450; margin: 22px 0 6px; }
.policy p, .policy li { margin: 0 0 12px; }
.policy ul { padding-left: 20px; margin: 0 0 12px; }
.policy a { color: var(--label); text-underline-offset: 3px; }
.privacy-dialog {
  width: calc(100% - 32px); max-width: 800px; max-height: 85vh; padding: 0;
  border: 1px solid var(--rule); background: var(--cream); color: var(--ink); font-weight: 350;
}
.dialog-inner { padding: 28px 28px 36px; }
.privacy-dialog::backdrop { background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.privacy-dialog h1 { font-size: 32px; font-weight: 300; margin-bottom: 8px; }
.dialog-close {
  display: block; margin-left: auto; min-height: 44px; padding: 10px 18px;
  font: inherit; font-size: 15px; color: var(--ivory); background: var(--ink); border: 0; cursor: pointer;
}
.dialog-close:hover { background: var(--rose-dark); }

/* Standalone pages (privacy, thanks, confirmed) */
.page { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.page .brand img { width: 170px; margin-bottom: 28px; }
.page h1 { font-size: 34px; font-weight: 300; margin-bottom: 12px; }
.page > p { margin-bottom: 14px; color: var(--text); }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--label); }
.page-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.page-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--label); }

/* Mobile */
@media (max-width: 720px) {
  .nav { min-height: 76px; }
  .brand img { width: 180px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 8px var(--gutter) 50px; }
  .hero h1 { font-size: 34px; }
  .hero-copy { font-size: 16.5px; margin-bottom: 25px; }
  .hero-image { justify-self: stretch; max-width: none; order: -1; }
  .hero-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .label { font-size: 12px; letter-spacing: .2em; }
  .h2, .signup h2 { font-size: 29px; }
  .section, .signup { padding-top: 60px; padding-bottom: 60px; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .story-image { order: 2; max-width: 280px; margin: 0 auto; text-align: center; }
  .letter-quote { font-size: 19px; }
  .footer-links { gap: 0 18px; }
}
