/* ===========================================================
   Chloe & Co. Signature Events — Site Stylesheet
   Type: Italiana (display) + Jost (body/nav)
   Palette: navy / sage / sky / cream — drawn from the brand mark
   =========================================================== */

:root{
  --navy: #16233f;
  --navy-deep: #0c1526;
  --navy-soft: #2f4368;
  --ink: #29354a;
  --sage: #6b9061;
  --sage-deep: #3f6b3a;
  --sage-light: #cfe6c4;
  --sky: #4f97ab;
  --sky-deep: #2c6d82;
  --sky-light: #c9e7ee;
  --gold: #cf9b3f;
  --gold-deep: #a97a26;
  --gold-light: #f6e3bd;
  --cream: #faf8f2;
  --white: #ffffff;
  --line: #e2e0d4;
  --max: 1180px;

  --display: "Italiana", "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1{ font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2{ font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3{ font-size: clamp(1.3rem, 2vw, 1.7rem); }
p{ margin: 0 0 1.1em; }
.eyebrow{
  font-family: var(--body);
  font-size: .78rem;
  letter-spacing: .22em;
  color: var(--sage-deep);
  font-weight: 500;
  margin: 0 0 1em;
}
.lede{
  font-size: 1.18rem;
  color: var(--navy-soft);
  max-width: 62ch;
}
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section{ padding: clamp(3.5rem,7vw,7rem) 1.5rem; }
.wrap{ max-width: var(--max); margin: 0 auto; }
.narrow{ max-width: 720px; margin: 0 auto; }
:focus-visible{ outline: 2px solid var(--sky-deep); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family: var(--body);
  font-size: .84rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .95em 2em;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  cursor:pointer;
}
.btn:hover{ background: var(--navy); color: var(--white); }
.btn-solid{ background: var(--sky-deep); color: var(--white); border-color: var(--sky-deep); }
.btn-solid:hover{ background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-light{ border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light:hover{ background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-sage{ background: var(--sage); border-color: var(--sage); color: var(--white); }
.btn-sage:hover{ background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }
.btn-gold{ background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display:flex; align-items:center; justify-content:space-between;
  padding: .8rem clamp(1.2rem,4vw,3rem);
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  transition: box-shadow .35s ease, padding .35s ease;
}
.site-header.is-solid{
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.brand{ display:flex; align-items:center; gap:.65em; color: var(--white); }
.brand-icon{ height: 40px; width:auto; flex-shrink:0; }
.brand-word{ font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; white-space:nowrap; }
@media (max-width:400px){ .brand-word{ display:none; } }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding: 8px;
}
.nav-toggle span{ width:26px; height:1.5px; background: currentColor; }
.site-nav{ display:flex; align-items:center; gap: clamp(1.1rem,2.2vw,2.4rem); }
.site-nav a{
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .09em;
  color: var(--white);
  padding: .3em 0;
  position:relative;
}
.site-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px;
  background: currentColor; transition: right .3s ease;
}
.site-nav a:hover::after, .site-nav a.active::after{ right:0; }
.site-nav a.pill{
  border:1px solid var(--gold); background: var(--gold); color: var(--navy-deep) !important;
  border-radius:999px; padding:.6em 1.4em; font-family: var(--body);
  font-size:.78rem; text-transform:uppercase; letter-spacing:.14em;
}
.site-nav a.pill::after{ display:none; }
.site-nav a.pill:hover{ background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white) !important; }

@media (max-width: 880px){
  .nav-toggle{ display:flex; color: var(--white); }
  .site-nav{
    position: fixed; inset: 0; z-index: 99;
    background: var(--navy); flex-direction: column; justify-content:center;
    transform: translateY(-100%); transition: transform .4s ease;
    gap: 2rem;
  }
  .site-nav a{ color: var(--white); font-size: 1.5rem; }
  .site-nav.is-open{ transform: translateY(0); }
  body.nav-locked{ overflow:hidden; }
}

/* ---------- Hero (home) ---------- */
.hero{
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display:flex; align-items:flex-start; justify-content:center;
  overflow:hidden; color: var(--white);
}
.hero video, .hero > .poster, .hero > img.kenburns{
  position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%; object-fit:cover;
}
.hero img.kenburns{
  animation: kenburns 22s ease-in-out infinite alternate;
  object-position: center 30%;
}
@keyframes kenburns{
  0%{ transform: scale(1) translate(0,0); }
  100%{ transform: scale(1.035) translate(-0.5%,-0.5%); }
}
@media (prefers-reduced-motion: reduce){
  .hero img.kenburns{ animation: none; }
}
.hero::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background: linear-gradient(180deg, rgba(9,16,30,.25) 0%, rgba(9,16,30,0) 30%, rgba(9,16,30,0) 70%, rgba(12,21,38,.5) 100%);
}
.hero-inner{
  position:relative; z-index:2; max-width: 420px; margin: 0 1.5rem; padding-top: clamp(5.5rem, 10vh, 7rem);
  display:flex; flex-direction:column; align-items:center; gap: 1.1rem; text-align:center;
}
.hero-inner .brandmark-sm{
  width: 60px; height:auto;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.9)) drop-shadow(0 0 8px rgba(255,255,255,.75)) drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
.hero-inner .btn-solid{ background: var(--navy); border-color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.hero-inner .btn-solid:hover{ background: var(--navy-deep); border-color: var(--navy-deep); }
.scroll-cue{
  position:absolute; bottom: 1.6rem; left:50%; transform:translateX(-50%);
  z-index:2; color: var(--navy); font-size:.7rem; letter-spacing:.3em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:.6em; opacity:.85;
}
.scroll-cue::after{ content:""; width:1px; height:34px; background: currentColor; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{transform-origin:bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  padding: clamp(8rem,14vw,11rem) 1.5rem 4.5rem;
  background: var(--navy);
  color: var(--white);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-hero img.page-hero-photo{
  position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%; object-fit:cover; object-position: center 30%;
  z-index:0; filter: brightness(.55) saturate(1.05);
}
.page-hero::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:1;
  background: linear-gradient(180deg, rgba(12,21,38,.88) 0%, rgba(12,21,38,.8) 55%, rgba(12,21,38,.92) 100%);
}
.page-hero::after{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0; opacity:.14; mix-blend-mode: overlay; z-index:2;
  background-image: radial-gradient(circle at 20% 30%, var(--sky) 0, transparent 45%), radial-gradient(circle at 82% 70%, var(--sage) 0, transparent 45%);
}
.page-hero .wrap{ position:relative; z-index:3; }
.page-hero h1{ color: var(--white); }
.page-hero .lede{ color: rgba(255,255,255,.85); margin: 0 auto; }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap: 2rem; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-5{ grid-template-columns: repeat(5,1fr); }
@media (max-width: 980px){ .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr);} .grid-5{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid-2,.grid-3,.grid-4,.grid-5{ grid-template-columns: 1fr; } }

.split{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items:center; }
@media (max-width: 820px){ .split{ grid-template-columns: 1fr; } }
.split img, .split video{ border-radius: 4px; width:100%; height:100%; object-fit:cover; }
.split.reverse .media{ order:2; }
@media (max-width:820px){ .split.reverse .media{ order:0; } }

.media-frame{ position:relative; border-radius:4px; overflow:hidden; aspect-ratio: 4/5; }
.media-frame video, .media-frame img{ width:100%; height:100%; object-fit:cover; }

/* service card */
.service-card{
  background: var(--white); border:1px solid var(--line); border-top:3px solid var(--sky-deep); border-radius: 6px;
  padding: 2.2rem 1.8rem; text-align:center;
}
.service-card:nth-child(5n+2){ border-top-color: var(--sage); }
.service-card:nth-child(5n+3){ border-top-color: var(--gold); }
.service-card:nth-child(5n+4){ border-top-color: var(--sky-deep); }
.service-card:nth-child(5n+5){ border-top-color: var(--sage); }
.service-card .num{ font-family: var(--display); font-size:.95rem; color: var(--sky-deep); letter-spacing:.1em; }
.service-card:nth-child(5n+2) .num{ color: var(--sage-deep); }
.service-card:nth-child(5n+3) .num{ color: var(--gold-deep); }
.service-card:nth-child(5n+4) .num{ color: var(--sky-deep); }
.service-card:nth-child(5n+5) .num{ color: var(--sage-deep); }
.service-card h3{ margin: .5rem 0 .7rem; }
.service-card p{ font-size:.96rem; color: var(--navy-soft); margin-bottom:0; }

/* banded sections */
.band-cream{ background: var(--cream); }
.band-white{ background: var(--white); }
.band-sage{ background: var(--sage-light); }
.band-sky{ background: var(--sky-light); }
.band-navy{ background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3{ color: var(--white); }
.band-navy .lede{ color: rgba(255,255,255,.82); }

/* Team */
.team-card{ text-align:center; }
.team-card .photo{ border-radius: 6px; overflow:hidden; aspect-ratio: 3/4; margin-bottom: 1.3rem; }
.team-card .photo img{ width:100%; height:100%; object-fit:cover; object-position: top; }
.team-card h3{ margin-bottom:.15em; }
.team-card .role{ font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; color: var(--sage-deep); margin-bottom:1em; display:block; }
.team-bio{ font-size: .98rem; color: var(--navy-soft); max-width: 60ch; margin: 0 auto; text-align:left; }

/* Services detail rows */
.service-row{ padding: clamp(3rem,6vw,5.5rem) 0; border-bottom:1px solid var(--line); }
.service-row:last-of-type{ border-bottom:none; }
.service-row .tag{ font-size:.8rem; letter-spacing:.16em; text-transform:uppercase; color: var(--sky-deep); margin-bottom:.6em; display:block; }

/* Testimonials / kind words */
.quote-card{
  background: var(--white); border:1px solid var(--line); border-radius:6px;
  padding: 2.4rem 2rem; position:relative; border-left:4px solid var(--gold);
}
.quote-card:nth-child(3n+2){ border-left-color: var(--sky-deep); }
.quote-card:nth-child(3n+3){ border-left-color: var(--sage); }
.quote-card .stars{ color: var(--gold-deep); letter-spacing:.25em; font-size:.9rem; margin-bottom:1em; }
.quote-card p.quote{ font-family: var(--display); font-size:1.25rem; color: var(--navy); line-height:1.45; }
.quote-card .who{ margin-top:1.2em; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; color: var(--navy-soft); }

.placeholder-note{
  border:1px dashed var(--sky-deep); background: var(--sky-light);
  border-radius:6px; padding:1.4rem 1.6rem; font-size:.92rem; color: var(--navy-soft); margin-top: 2.5rem;
}
.placeholder-note strong{ color: var(--navy); }

/* Instagram band */
.insta-band{ text-align:center; }
.insta-band .handle{ font-family: var(--display); font-size: clamp(1.8rem,4vw,2.8rem); }
.insta-band a.handle-link{ display:inline-flex; align-items:center; gap:.5em; }
.insta-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-top: 2.4rem; }
.insta-grid img,.insta-grid video{ aspect-ratio:1/1; object-fit:cover; width:100%; height:100%; border-radius:3px; }
@media (max-width:700px){ .insta-grid{ grid-template-columns: repeat(2,1fr); } }

/* FAQ */
.faq-item{ border-bottom:1px solid var(--line); padding: 1.4rem 0; }
.faq-item summary{ cursor:pointer; font-family: var(--display); font-size:1.15rem; color: var(--navy); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; color: var(--gold-deep); transition: transform .25s ease; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ margin-top:.8rem; color: var(--navy-soft); max-width:70ch; }

/* Form */
.form-card{ background: var(--white); border:1px solid var(--line); border-radius:8px; padding: clamp(1.8rem,4vw,3.2rem); }
.field{ margin-bottom: 1.4rem; }
.field label{ display:block; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color: var(--navy); margin-bottom:.5em; }
.field input, .field select, .field textarea{
  width:100%; font-family: var(--body); font-size:1rem; padding: .85em 1em;
  border:1px solid var(--line); border-radius:4px; background: var(--cream); color: var(--ink);
}
.field textarea{ min-height:130px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--sky-deep); background: var(--white); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; }
@media (max-width:600px){ .field-row{ grid-template-columns:1fr; } }
.hp-field{ position:absolute; left:-9999px; }
.form-note{ font-size:.88rem; color: var(--navy-soft); margin-top:1rem; }

/* Footer */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,.85); padding: 4rem 1.5rem 1.6rem; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; max-width: var(--max); margin:0 auto; }
@media (max-width: 780px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{ color: var(--white); font-size:1rem; letter-spacing:.08em; margin-bottom:1rem; }
.site-footer a{ display:block; margin-bottom:.6em; color: rgba(255,255,255,.75); font-size:.94rem; }
.site-footer a:hover{ color: var(--white); }
.site-footer .logo-white{ width:130px; height:auto; margin-bottom:1rem; }
.footer-bottom{
  max-width: var(--max); margin: 2.6rem auto 0; padding-top:1.6rem; border-top:1px solid rgba(255,255,255,.14);
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; font-size:.82rem; color: rgba(255,255,255,.55);
}
.social-row{ display:flex; gap: 1rem; margin-top: .4rem; }
.social-row a{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid var(--gold); color: var(--gold); border-radius:50%; }
.social-row a:hover{ background: var(--gold); color: var(--navy-deep); }

/* utility */
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.sr-only{ position:absolute; width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap; }
.tag-list{ display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; font-size:.85rem; letter-spacing:.05em; color: var(--sage-deep); }
