/* K & A — Design system · production build */

:root {
  --butter:     #FFC845;
  --butter-2:   #FFE9A8;
  --cream:      #FFF6E0;
  --paper:      #FFF8EC;
  --ink:        #2A0F1C;
  --ink-2:      #4A2230;
  --ink-3:      #8A5A6A;
  --pink:       #E11D5A;
  --pink-2:     #B7144A;
  --sage:       #F5722B;
  --sage-d:     #C73E0A;
  --green-pale: #90C98D;
  --green-soft: #CCDDA8;
  --green-mid:  #8FA970;
  --green-deep: #6E8A52;
  --green-text: #4A6038;
  --rule:       rgba(42,15,28,0.18);
  --rule-2:     rgba(42,15,28,0.08);
  --serif:      "Playfair Display", Georgia, serif;
  --sans:       "DM Sans", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--butter-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { color: var(--ink-2); margin: 0 0 1em; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--sage); border-bottom: 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav-mono {
  font-family: var(--serif); font-weight: 900; font-style: italic;
  font-size: 24px; color: var(--pink); letter-spacing: -0.01em;
  justify-self: start; white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--sans); font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream);
  padding: 8px 2px; border-bottom: 1.5px solid transparent;
  transition: all 0.18s cubic-bezier(.22,.68,0,1); white-space: nowrap;
}
.nav-links a:hover  { color: var(--pink); border-bottom-color: var(--pink); }
.nav-links a.active { color: var(--pink); border-bottom-color: var(--pink); }
.nav-date {
  justify-self: end; font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--cream); white-space: nowrap;
}
.nav-date strong { font-style: normal; font-weight: 700; color: var(--cream); margin-left: 6px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--cream); padding: 4px; line-height: 0;
  border-radius: 4px; align-items: center; justify-content: center;
}

/* ===== TYPE ===== */
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink);
  margin: 0 0 18px; white-space: nowrap;
}
.eyebrow.sage { color: var(--sage-d); }
.eyebrow.ink  { color: var(--ink-2); }
.eyebrow.with-rules { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow.with-rules::before,
.eyebrow.with-rules::after { content: ""; width: 36px; height: 1.5px; background: currentColor; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 900; color: var(--pink); }
h1 { font-size: 96px; line-height: 0.95; letter-spacing: -0.02em; }
h2 { font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
h3 { font-size: 28px; line-height: 1.2; font-weight: 700; }
h2 .em, h3 .em { font-style: italic; font-weight: 400; color: var(--sage); }

/* ===== PAGE HEAD ===== */
.page-head {
  padding: 80px 40px 56px; text-align: center; background: var(--green-pale);
}
.page-head .eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.page-head .eyebrow::before, .page-head .eyebrow::after {
  content: ""; width: 36px; height: 1.5px; background: var(--pink);
}
.page-head h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: 124px; line-height: 0.9; margin: 0 0 24px; letter-spacing: -0.03em;
}
.page-head h1 em { font-style: italic; font-weight: 400; color: var(--pink); }
.page-head p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--ink-2); max-width: 56ch; margin: 0 auto;
}

/* ===== SECTIONS ===== */
.section { padding: 96px 40px; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-pale); }
.section-sage  { background: var(--sage); }
.section-pink  { background: var(--pink); }
.section-sage h2, .section-sage h3 { color: var(--cream); }
.section-sage .eyebrow { color: rgba(255,248,236,0.8); }
.section-sage p { color: rgba(255,248,236,0.92); }
.section-sage .em { color: #FFC845; }

.container { max-width: 1140px; margin: 0 auto; }
.container-sm { max-width: 820px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 999px;
  border: 1.5px solid var(--pink); background: var(--pink); color: var(--cream);
  cursor: pointer; transition: all 0.18s cubic-bezier(.22,.68,0,1);
}
.btn:hover { transform: translateY(-1px); background: var(--pink-2); border-color: var(--pink-2); color: var(--cream); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--ink-2); }
.btn-ghost:hover { background: var(--pink); border-color: var(--pink); color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--sage-d); }

/* ===== FORM ELEMENTS ===== */
.field { margin-bottom: 24px; }
.field label {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px;
}
.field-note {
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  margin: -6px 0 10px; font-style: italic;
}
.field input[type="text"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%; font-family: var(--sans); font-size: 16px;
  padding: 14px 16px; background: var(--cream);
  border: 1.5px solid var(--rule); border-radius: 8px; color: var(--ink);
  outline: none; transition: all 0.18s cubic-bezier(.22,.68,0,1);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--pink); background: #fff;
  box-shadow: 0 0 0 4px rgba(224,56,111,0.12);
}
.field textarea { resize: vertical; min-height: 100px; }

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { flex: 1 1 0; min-width: 0; position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill .pill {
  display: block; padding: 16px 20px; text-align: center;
  background: var(--cream); border: 1.5px solid var(--rule); border-radius: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); transition: all 0.18s cubic-bezier(.22,.68,0,1);
}
.radio-pill:hover .pill { border-color: var(--ink-2); }
.radio-pill input:checked + .pill { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.radio-pill .pill .em {
  display: block; font-family: var(--serif); font-style: italic; font-size: 20px;
  font-weight: 700; margin-bottom: 4px; line-height: 1.1;
}
.radio-pill .pill .desc { display: block; font-size: 12px; margin-top: 4px; opacity: 0.85; }

.checkpills { display: flex; flex-wrap: wrap; gap: 10px; }
.chk { position: relative; cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk .lbl {
  display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--rule); color: var(--ink);
  transition: all 0.18s cubic-bezier(.22,.68,0,1);
}
.chk:hover .lbl { border-color: var(--ink-2); }
.chk input:checked + .lbl { background: var(--pink); color: var(--cream); border-color: var(--pink); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== FOOTER ===== */
.foot {
  background: var(--green-pale); color: var(--ink-2); padding: 64px 40px 32px;
}
.foot-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; align-items: start;
}
.foot h4 {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--pink); margin: 0 0 14px;
}
.foot p, .foot a, .foot li { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.foot a:hover { color: var(--pink); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot .ka {
  font-family: var(--serif); font-style: italic; font-weight: 900;
  font-size: 32px; color: var(--pink); margin: 0 0 12px;
}
.foot p strong { color: var(--pink); }
.foot-bottom {
  max-width: 1140px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(42,15,28,0.2);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(42,15,28,0.55); display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.foot-admin {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(42,15,28,0.35);
  border: 1px solid rgba(42,15,28,0.2); border-radius: 999px;
  padding: 5px 14px;
  transition: all 0.18s cubic-bezier(.22,.68,0,1);
}
.foot-admin:hover { color: var(--pink); border-color: var(--pink); }

/* ===== UTILITIES ===== */
.rule { height: 1px; background: var(--rule); border: 0; margin: 40px 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s cubic-bezier(.22,.68,0,1) both; }

/* ─── 1024px ─── */
@media (max-width: 1024px) {
  .nav-inner { padding: 16px 28px; }
  h1 { font-size: 80px; }
  h2 { font-size: 52px; }
}

/* ─── 900px ─── */
@media (max-width: 900px) {
  .nav-inner { padding: 14px 20px; gap: 16px; }
  .nav-links  { gap: 16px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.1em; }
  .page-head h1 { font-size: 80px; }
  h1 { font-size: 72px; }
  h2 { font-size: 44px; }
  .section { padding: 64px 24px; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot { padding: 56px 28px 28px; }
  .foot-bottom { flex-wrap: wrap; gap: 10px; }
}

/* ─── 768px — nav collapses to hamburger ─── */
@media (max-width: 768px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    padding: 14px 20px; gap: 0;
  }
  .nav-date { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--sage); flex-direction: column; gap: 0;
    padding: 4px 20px 20px;
    border-top: 1px solid rgba(255,248,236,0.18);
    box-shadow: 0 8px 24px rgba(42,15,28,0.18);
    z-index: 100;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    font-size: 14px; letter-spacing: 0.1em;
    padding: 14px 0; border-bottom: 1px solid rgba(255,248,236,0.12);
    width: 100%;
  }
  .nav-links a:last-child { border-bottom: 0; }

  h1 { font-size: 60px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
  .page-head { padding: 56px 24px 40px; }
  .page-head h1 { font-size: 72px; }
  .page-head p { font-size: 18px; }
  .section { padding: 56px 20px; }
  .container { padding: 0 4px; }
  .container-sm { padding: 0 4px; }

  .row-2 { grid-template-columns: 1fr; }

  .foot { padding: 48px 20px 20px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ─── 600px ─── */
@media (max-width: 600px) {
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  h3 { font-size: 22px; }
  .page-head h1 { font-size: 52px; }
  .page-head { padding: 40px 20px 32px; }
  .page-head p { font-size: 16px; }
  .section { padding: 48px 16px; }
  .eyebrow.with-rules::before,
  .eyebrow.with-rules::after { width: 18px; }
  .btn { padding: 14px 22px; }
}

/* ─── 480px ─── */
@media (max-width: 480px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .page-head h1 { font-size: 40px; }
  .page-head p { font-size: 15px; }
}
