:root{
  --dusk: #2E2A47;
  --dusk-deep: #211E38;
  --amber: #F0A860;
  --amber-soft: #F6C892;
  --rose: #E8877E;
  --sand: #FAF3EA;
  --sage: #8FA694;
  --ink: #2B2A3B;
  --ink-soft: #5B586E;
  --line: rgba(43,42,59,0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#emailBody { scroll-margin-top: 32px; }

body{
  margin:0;
  background: var(--sand);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; margin: 0; }

a { color: inherit; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
.site-nav{
  background: var(--dusk-deep);
  padding: 16px 24px;
}

.site-nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 880px;
}

.site-nav .brand{
  color: var(--sand);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.site-nav .links{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav .links a{
  color: rgba(250,243,234,0.75);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav .links a:hover{
  background: rgba(250,243,234,0.1);
  color: var(--sand);
}

.site-nav .links a.active{
  background: var(--amber);
  color: var(--dusk-deep);
}

/* ---------- HERO ---------- */
.hero{
  position: relative;
  background:
    radial-gradient(560px 420px at 50% -60px, rgba(240,168,96,0.55), transparent 70%),
    linear-gradient(180deg, var(--dusk) 0%, var(--dusk-deep) 100%);
  color: var(--sand);
  padding: 90px 24px 70px;
  text-align: center;
  overflow: hidden;
}

.hero::after{
  content:"";
  position:absolute;
  left:50%; top:20px;
  width:2px; height:70px;
  background: linear-gradient(180deg, rgba(250,243,234,0.5), transparent);
  transform: translateX(-50%);
}

.hero .eyebrow{
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-soft);
  font-weight: 600;
  margin-bottom: 18px;
  display:inline-block;
}

.hero h1{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero h1 em{
  font-style: italic;
  color: var(--amber);
}

.hero p.lede{
  font-size: 1.15rem;
  color: rgba(250,243,234,0.85);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta{
  display:inline-block;
  background: var(--amber);
  color: var(--dusk-deep);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(240,168,96,0.25);
}
.hero-cta:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(240,168,96,0.35); }

/* ---------- BRIEF ---------- */
.brief{ padding: 64px 24px 40px; }

.brief .kicker{
  color: var(--rose);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.brief h2{ font-size: 1.9rem; margin-bottom: 22px; max-width: 620px; }

.brief p{ color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; }

.brief p + p { margin-top: 16px; }

/* ---------- EMAIL TOOL ---------- */
.tool{
  background: #fff;
  margin: 56px 0;
  border-radius: 20px;
  padding: 44px;
  border: 1px solid var(--line);
}

.tool .kicker{
  color: var(--rose);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tool h2{ font-size: 1.7rem; margin-bottom: 8px; }
.tool > p.sub{ color: var(--ink-soft); margin-bottom: 28px; }

.field-label{
  font-weight: 700;
  font-size: 0.92rem;
  margin: 28px 0 10px;
  display:block;
  color: var(--ink);
}
.field-label:first-of-type{ margin-top: 0; }

.chip-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.chip{
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  font-family: inherit;
}

.chip:hover{ background: var(--amber-soft); border-color: var(--amber); }
.chip:active{ transform: scale(0.97); }

textarea#emailBody{
  width: 100%;
  min-height: 260px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 18px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  resize: vertical;
  background: var(--sand);
}

textarea#emailBody:focus{
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  background: #fff;
}

/* BCC chips: toggle state */
.chip.recipient{ position: relative; padding-left: 34px; }
.chip.recipient::before{
  content:"";
  position:absolute;
  left: 13px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  border-radius: 4px;
  border: 1.5px solid var(--ink-soft);
  background: #fff;
}
.chip.recipient.selected{ background: var(--sage); border-color: var(--sage); color: #fff; }
.chip.recipient.selected::before{
  background: #fff;
  border-color: #fff;
}
.chip.recipient.selected::after{
  content:"✓";
  position:absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--sage);
  font-size: 11px;
  font-weight: 700;
}

.send-row{
  margin-top: 34px;
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}

.send-btn{
  background: var(--dusk);
  color: var(--sand);
  border: none;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.1s ease;
}
.send-btn:hover{ background: var(--dusk-deep); transform: translateY(-1px); }
.send-btn:active{ transform: scale(0.98); }

.send-note{ font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- VIDEOS PAGE ---------- */
.video-group{ margin: 0 0 44px; }

.video-group .group-date{
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.video-grid{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-card{
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-card .video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--dusk-deep);
}

.video-card .video-embed iframe{
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  border: 0;
}

.video-card .video-caption{
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- REFERENCES PAGE ---------- */
.reference-list{
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reference-list li{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.98rem;
  color: var(--ink);
}

.reference-list .ref-meta{
  display:block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.placeholder-note{
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 60px;
}

/* ---------- FOOTER ---------- */
footer{
  text-align:center;
  padding: 40px 24px 60px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media (max-width: 600px){
  .tool{ padding: 28px 20px; }
  .hero{ padding: 70px 20px 50px; }
}
