@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=Mulish:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────── */
:root {
  --ink:    #1A1A14;
  --sage:   #5C7A5C;
  --sage-l: #EBF0EB;
  --sage-m: #A8BFA8;
  --cream:  #F7F3EC;
  --blush:  #E8AEA6;
  --blush-l:#FCF0EE;
  --greige: #C8BFB0;
  --white:  #FFFFFF;
  --muted:  #6B6B5F;
  --border: #E0D9CF;
  --r:      10px;
  --rl:     16px;
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Mulish', sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; }
a    { text-decoration: none; color: inherit; }

/* ── NAV ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,243,236,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(26,26,20,.07); }
.nav-brand { font-family: 'Lora', serif; font-size: 17px; letter-spacing: .02em; }
.nav-links  { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
@media(max-width:640px) { .nav-links { display: none; } }

/* ── BUTTONS ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; cursor: pointer; font-family: 'Mulish', sans-serif; font-weight: 600; border-radius: 40px; transition: all .16s; text-decoration: none; }
.btn-dark   { background: var(--ink);   color: var(--cream); padding: 13px 28px; font-size: 14px; }
.btn-dark:hover   { background: #2A2A22; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); padding: 12px 26px; font-size: 14px; border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--sage-m); background: var(--sage-l); }
.btn-sage   { background: var(--sage);  color: #fff; padding: 13px 28px; font-size: 14px; }
.btn-sage:hover   { background: #4A6A4A; transform: translateY(-1px); }
.btn-white  { background: #fff; color: var(--sage); padding: 13px 28px; font-size: 14px; }
.btn-white:hover  { background: var(--cream); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn:disabled { opacity: .4; cursor: default; pointer-events: none; }

/* ── INPUTS ─────────────────────────────────── */
.input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--r); background: #fff; font-size: 14px; font-family: 'Mulish', sans-serif; color: var(--ink); outline: none; transition: border-color .15s; }
.input:focus { border-color: var(--sage); }
textarea.input { resize: vertical; min-height: 90px; }
select.input  { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B5F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ── SECTION HEADERS ────────────────────────── */
.section { padding: 96px 5vw; max-width: 1100px; margin: 0 auto; }
.tag  { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 14px; }
.h1   { font-family: 'Lora', serif; font-size: clamp(38px, 6vw, 76px); font-weight: 400; line-height: 1.08; }
.h2   { font-family: 'Lora', serif; font-size: clamp(26px, 4vw, 48px); font-weight: 400; line-height: 1.18; }
.h3   { font-family: 'Lora', serif; font-size: 20px; font-weight: 500; line-height: 1.3; }
.em   { font-style: italic; color: var(--sage); }
.em-blush { font-style: italic; color: var(--blush); }
.lead { font-size: 16px; line-height: 1.72; color: var(--muted); max-width: 520px; }

/* ── CARDS ──────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 28px; }
.card:hover { box-shadow: 0 6px 28px rgba(26,26,20,.07); }

/* ── TICKER ─────────────────────────────────── */
.ticker-band { background: var(--ink); padding: 15px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: tick 32s linear infinite; font-size: 13px; color: var(--greige); letter-spacing: .03em; }
.ticker-track .dot { color: var(--blush); margin: 0 14px; }
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── TOAST ──────────────────────────────────── */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px); background: var(--ink); color: var(--cream); padding: 11px 22px; border-radius: 40px; font-size: 13px; font-weight: 500; z-index: 999; opacity: 0; transition: all .3s; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── MODAL ──────────────────────────────────── */
.modal-wrap  { position: fixed; inset: 0; background: rgba(26,26,20,.65); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-wrap.open { display: flex; animation: fadeIn .2s; }
.modal { background: #fff; border-radius: var(--rl); padding: 36px; max-width: 440px; width: 100%; position: relative; animation: slideUp .25s; }
.modal-x { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* ── FOOTER ─────────────────────────────────── */
.footer { background: var(--ink); padding: 60px 5vw 36px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: 'Lora', serif; font-size: 18px; color: var(--cream); margin-bottom: 8px; }
.footer-tag   { font-size: 13px; color: var(--greige); line-height: 1.55; max-width: 260px; margin-bottom: 14px; }
.footer-email { font-size: 13px; color: var(--sage-m); }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--greige); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--greige); transition: color .15s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.3); }
@media(max-width:680px) { .footer { grid-template-columns: 1fr; } }

/* ── UTILITY ────────────────────────────────── */
.hidden  { display: none !important; }
.fadeUp  { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
