/* The Nest Story — brand stylesheet */

:root {
  --green:      #244A41;
  --green-dark: #1A3730;
  --green-mid:  #33574B;
  --gold:       #C9A227;
  --bone:       #FAF8F4;
  --bone-warm:  #F2F0E8;
  --paper:      #FFFFFF;
  --ink:        #2E2E2B;
  --ink-soft:   #55554F;
  --ink-mute:   #7E7E76;
  --line:       #E3DFD5;
  --line-mid:   #D8D4C7;
  --serif: 'Cormorant Garamond', 'Baskerville', Georgia, serif;
  --sans:  'Jost', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;
  --pad: clamp(20px, 4.4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: pretty; line-height: 1.15; }
p { margin: 0; }
a { color: var(--green); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--pad); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.stack { display: flex; flex-direction: column; }
.row   { display: flex; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* ---------- type ---------- */
.eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #7E8B7F; }
.rule    { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }
.h-xl { font-size: clamp(34px, 4.6vw, 62px); color: var(--green); font-weight: 400; }
.h-lg { font-size: clamp(28px, 3.1vw, 44px); color: var(--green); font-weight: 400; }
.h-md { font-size: clamp(24px, 2.7vw, 38px); color: var(--green); }
.h-sm { font-size: clamp(19px, 1.5vw, 22px); color: var(--green); }
.lede { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; color: var(--ink-soft); }
.meta { font-size: 13px; color: var(--ink-mute); }
.price { font-size: 15px; color: var(--ink); }
.label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }

/* ---------- buttons ---------- */
.btn, .btn-ghost, .btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; font-family: var(--sans); cursor: pointer;
  border: 1px solid var(--green); transition: background .18s ease, color .18s ease;
}
.btn       { background: var(--green); color: var(--bone); }
.btn:hover { background: var(--green-dark); color: var(--bone); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--bone); }
.btn-gold  { background: var(--gold); color: var(--green); border-color: var(--gold); }
.btn-gold:hover { background: #B8931F; color: var(--green); }

/* ---------- header ---------- */
.announce { background: var(--green); color: #F0EDE4; min-height: 40px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12px; letter-spacing: .14em; padding: 8px 16px; }
.site-head { display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px var(--pad); border-bottom: 1px solid var(--line); }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); flex: 1; flex-wrap: wrap; }
.nav a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green); border-bottom: 1px solid var(--gold); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.brand img { width: 42px; height: auto; }
.brand-name { font-family: var(--serif); font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 600; letter-spacing: .2em; color: var(--green); white-space: nowrap; }
.head-icons { display: flex; gap: 20px; flex: 1; justify-content: flex-end; }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; gap: 12px; }
.card img { width: 100%; height: auto; border: 1px solid var(--line); }
.card:hover img { border-color: var(--gold); }

/* ---------- panels ---------- */
.band-green { background: var(--green); color: var(--bone); }
.band-warm  { background: var(--bone-warm); }
.split { display: flex; align-items: stretch; gap: 0; }
.split > .split-copy { flex: 1; padding: clamp(40px, 5vw, 84px) var(--pad); display: flex;
  flex-direction: column; justify-content: center; gap: 22px; }
.split > img { width: 46%; object-fit: cover; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 10px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; font-weight: 300; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-mid); border-radius: 0;
  min-height: 52px; padding: 14px 16px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green); outline-offset: -2px; }
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { min-height: 48px; padding: 0 22px; border: 1px solid var(--line-mid);
  display: inline-flex; align-items: center; font-size: 14px; color: var(--ink-soft);
  cursor: pointer; background: transparent; font-family: var(--sans); }
.pill.is-on { background: var(--green); border-color: var(--green); color: var(--bone); }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }

/* ---------- footer ---------- */
.site-foot { background: var(--green-dark); color: #C6CFC6; padding: clamp(44px, 5vw, 72px) var(--pad) 36px; }
.site-foot a { color: #C6CFC6; font-size: 13px; }
.site-foot a:hover { color: var(--gold); }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--green-mid); }
.foot-head { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8FA391; }
.foot-base { display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; flex-wrap: wrap; font-size: 12px; color: #8FA391; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split  { flex-direction: column; }
  .split > img { width: 100%; max-height: 380px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .brand { order: -1; }
  .nav { order: 1; justify-content: center; gap: 18px; }
  .head-icons { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .btn, .btn-ghost, .btn-gold { width: 100%; }
  .cta-pair { flex-direction: column; align-items: stretch; }
}

@media (max-width: 520px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
}
