/* The Refill — styles */

@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda-italic.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(fonts/jost-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(fonts/jost-500.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --plum: #2B1A26;
  --plum-2: #3A2533;
  --plum-3: #4A3242;
  --plum-4: #5A3D50;
  --line: #4E3647;
  --field-line: #6B5060;
  --cream: #F3E6DC;
  --soft: #D9C6BC;
  --muted: #BFA7B3;
  --accent: #E2A993;
  --accent-hover: #EDBBA7;
  --ink-on-cream: #2B1A26;
  --muted-on-cream: #5A4550;
  --serif: 'Bodoni Moda', 'Didot', 'Georgia', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(24px, 6.25vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--plum); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--cream); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; }
.wordmark { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 28px); text-decoration: none; color: var(--cream); }
.header-link { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 0; }

/* Eyebrow */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--accent); }
.eyebrow.plain::before { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 56px; padding-block: 40px 88px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 580px; }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.3vw, 80px); line-height: 1.04; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: italic; }
h1 em { color: var(--accent); }
.lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--soft); max-width: 500px; }

/* Signup form */
.signup { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.signup label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--soft); }
.field-row { display: flex; flex-direction: column; gap: 10px; }
.signup input[type="email"] { width: 100%; padding: 17px 22px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--plum-2); color: var(--cream); font: 16px/1.2 var(--sans); }
.signup input[type="email"]::placeholder { color: #9C8592; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 30px; border: none; border-radius: 999px; background: var(--accent); color: var(--plum); font: 500 14px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); }
.btn[disabled] { opacity: .7; cursor: progress; }
.fineprint { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.form-error { font-size: 14px; color: #FFB4A2; margin: 0; }
.honeypot { display: none !important; }

.thanks { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid var(--accent); border-radius: 20px; max-width: 520px; }
.thanks svg { flex-shrink: 0; }
.thanks-title { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.thanks-text { font-size: 15px; color: var(--soft); }
[hidden] { display: none !important; }

/* Hero art (photos fall back to soft gradients until images are added) */
.hero-art { position: relative; height: clamp(380px, 48vw, 600px); max-width: 520px; width: 100%; justify-self: center; }
.art-arch { position: absolute; top: 0; right: 0; width: 72%; height: 80%; border-radius: 999px 999px 0 0; background: url(images/hero.jpg) 58% 55%/cover no-repeat, radial-gradient(120% 90% at 30% 20%, #6A4659 0%, #4A3242 55%, #3A2533 100%); }
.art-oval { position: absolute; bottom: 0; left: 0; width: 46%; height: 50%; border-radius: 999px; border: 6px solid var(--plum); background: linear-gradient(rgba(226,169,147,.22), rgba(43,26,38,.28)), url(images/detail.jpg) 69% 70%/auto 250% no-repeat, radial-gradient(100% 100% at 60% 30%, #C98E7B 0%, #7A4F5E 60%, #5A3D50 100%); }
.art-line { position: absolute; top: 12%; left: 8%; width: 40%; height: 40%; border: 1px solid var(--accent); border-radius: 999px 999px 0 0; opacity: .5; }

/* What to expect */
.expect { border-top: 1px solid var(--line); padding-block: 88px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
.expect-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin: 0; padding: 0; list-style: none; }
.expect-item { border-top: 1px solid var(--accent); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.expect-num { font-family: var(--serif); font-size: 18px; color: var(--accent); }
.expect-item h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; }
.expect-item p { margin: 0; font-size: 16px; color: var(--soft); }

/* Bottom signup band */
.band { background: var(--cream); color: var(--ink-on-cream); border-radius: 28px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5.6vw, 72px); display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.band h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.band .signup label { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--muted-on-cream); }
.band .signup input[type="email"] { background: #FFFFFF; border-color: #C9B3A8; color: var(--ink-on-cream); }
.band .signup input[type="email"]::placeholder { color: #8C7A80; }
.band .btn { background: var(--plum); color: var(--cream); }
.band .btn:hover { background: #432B3B; }
.band .fineprint, .band .fineprint a { color: var(--muted-on-cream); }
.band .form-error { color: #9B2C1F; }
.band .thanks { border-color: var(--plum); }
.band .thanks-text { color: var(--muted-on-cream); }

/* Footer */
.site-footer { display: flex; flex-direction: column; gap: 14px; padding-block: 48px 40px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--cream); }

/* Privacy page */
.prose { max-width: 760px; padding-block: 40px 80px; display: flex; flex-direction: column; gap: 32px; }
.prose h1 { font-size: clamp(40px, 5vw, 60px); }
.prose h2 { font-size: 26px; margin-bottom: 8px; }
.prose p { margin: 0; color: var(--soft); line-height: 1.75; }

/* Tablet and up */
@media (min-width: 640px) {
  .field-row { flex-direction: row; }
  .expect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; padding-block: 56px 104px; }
  .hero-art { justify-self: end; }
  .expect-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}
@media (max-width: 639px) {
  .hero-art { max-width: 400px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .8s ease-out both; }
  .reveal-2 { animation-delay: .12s; }
  .reveal-3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
a[data-linkedin][href="#"] { display: none; }
