/* Moments For Us — shared design system
   Warm dark. One light source. The room, not the newsletter. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:      #12100E;
  --panel:   #1B1815;
  --panel-2: #221E1A;
  --line:    #332C25;
  --ink:     #F3ECE2;
  --muted:   #A89B8B;
  --dim:     #7B7065;
  --ember:   #E8A33D;
  --clay:    #C97A50;
  --serif:   'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- structure ---------- */

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

section { padding: 76px 0; }
section + section { border-top: 1px solid var(--line); }

/* the lamp — one warm light source behind the top of every page */
.hero {
  position: relative;
  padding: 104px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -340px; left: 50%;
  width: 1100px; height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232,163,61,0.20), rgba(232,163,61,0.06) 55%, transparent 72%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

/* ---------- type ---------- */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  max-width: 16ch;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 22ch;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}

p { margin: 0 0 20px; max-width: 62ch; }

.lead { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.55; color: var(--ink); max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.6; color: var(--muted); }

a { color: var(--ember); text-decoration: none; border-bottom: 1px solid rgba(232,163,61,0.35); }
a:hover { border-bottom-color: var(--ember); }

strong { font-weight: 600; color: #FFF7EC; }

/* ---------- panels ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
}
.card .num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 16px;
}
.card p { font-size: 16px; margin-bottom: 0; }

/* ---------- the pull quote ---------- */

.pull {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.35;
  color: #FFF7EC;
  border-left: 2px solid var(--ember);
  padding: 6px 0 6px 30px;
  margin: 0 0 26px;
  max-width: 30ch;
}

/* ---------- the standing-time slab ---------- */

.slab {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 32px;
}
.slab .when {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  color: #FFF7EC;
  margin: 0 0 10px;
}
.slab .where { font-size: 16px; color: var(--muted); margin: 0; }

/* ---------- doors ---------- */

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.door {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 30px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color .18s ease, background .18s ease;
}
.door:hover { border-color: var(--ember); background: var(--panel-2); }
.door .k {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ember); display: block; margin-bottom: 14px;
}
.door h3 { margin-bottom: 10px; }
.door p { font-size: 16px; color: var(--muted); margin: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--ember);
  color: #17130D;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 3px;
  border-bottom: none;
}
.btn:hover { background: #F2B052; border-bottom: none; }

.btn-ghost {
  display: inline-block;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
}
.btn-ghost:hover { border-color: var(--ember); }

/* ---------- link rows (elsewhere / footer) ---------- */

.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; }
.linkcard {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 22px;
  color: var(--ink);
  background: var(--panel);
}
.linkcard:hover { border-color: var(--ember); }
.linkcard .t { font-weight: 600; font-size: 16px; display: block; margin-bottom: 4px; }
.linkcard .d { font-size: 14px; color: var(--muted); display: block; }

/* ---------- masthead / footer ---------- */

.masthead { padding: 26px 0; border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mark {
  font-family: var(--serif); font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink); border-bottom: none;
}
.mark:hover { color: var(--ember); border-bottom: none; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); border-bottom: none; }
.nav a:hover { color: var(--ember); }

footer { padding: 54px 0 68px; border-top: 1px solid var(--line); }
footer p { font-size: 14px; color: var(--dim); max-width: 70ch; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 68px 0 60px; }
  .wrap { padding: 0 20px; }
  .grid-3, .grid-2, .doors, .links { grid-template-columns: 1fr; gap: 18px; }
  .grid-2 { gap: 34px; }
  .nav { gap: 16px; font-size: 14px; }
  h1 { max-width: none; }
  .pull { padding-left: 20px; }
}
