/* Jenni Sullivan — Household Transitions
   Edit the tokens below to restyle the whole site. */
:root {
  --ground: #F6F4EE;
  --ground-alt: #ECE8DD;
  --ground-soft: #F0EDE4;
  --ink: #1F2A28;
  --ink-soft: #3B4744;
  --sage: #5E7468;
  --accent: #3F5A4E;
  --forest: #2A3F36;
  --forest-deep: #1F2E28;
  --on-dark: #EEF1EC;
  --on-dark-soft: #CFD8D1;
  --on-dark-muted: #B9C9BE;
  --line: #D8D3C4;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--forest); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section--alt { background: var(--ground-alt); }
.section--soft { background: var(--ground-soft); }
.section--dark { background: var(--forest); color: var(--on-dark); }
.center { text-align: center; }

.eyebrow {
  font-size: 12px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--on-dark-muted); }
.h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.lede { color: var(--ink-soft); }
.section--dark .lede { color: var(--on-dark-soft); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 30px;
  font: 400 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--forest); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--ground); }
.btn--light { background: var(--on-dark); color: var(--forest); font-weight: 500; }
.btn--light:hover { background: #fff; color: var(--forest); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Top bar + header */
.topbar { background: var(--forest); color: #E9EEE9; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-align: center; padding: 10px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 238, .96); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); line-height: 1.1; }
.logo svg { width: 52px; height: 52px; flex: none; }
.logo__name { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .02em; display: block; }
.logo__tag { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage); margin-top: 4px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--sage); }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); width: 48px; height: 48px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero__copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 78px); line-height: 1.02; letter-spacing: -.01em; }
.hero h1 em { color: var(--sage); }
.hero__lede { margin: 28px 0 36px; max-width: 520px; font-size: 19px; color: var(--ink-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__media { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 270px 270px; gap: 16px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img:first-child { grid-row: span 2; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 32px; text-align: center; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); }

/* Mission */
.mission { max-width: 900px; margin: 0 auto; text-align: center; }
.mission svg { width: 96px; height: 96px; margin: 0 auto 24px; display: block; }
.mission h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); line-height: 1.15; }
.mission p { margin: 28px auto 0; max-width: 640px; color: var(--ink-soft); }

/* Cards */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head p { max-width: 460px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.card { background: var(--ground); padding: 32px 28px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* Services */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split__aside { flex: 1 1 340px; min-width: 0; }
.split__main { flex: 1.3 1 480px; min-width: 0; }
.split__aside .h2 { margin-bottom: 24px; }
.split__aside .lede { margin-bottom: 28px; }
.stack-img { display: grid; gap: 16px; }
.stack-img img { width: 100%; object-fit: cover; }
.stack-img img:first-child { height: 320px; }
.stack-img img:last-child { height: 280px; }
.service-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.service-list li { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.service-list .num { font-family: var(--serif); font-size: 28px; color: var(--sage); min-width: 40px; line-height: 1.2; }
.service-list h3 { font-weight: 500; font-size: 20px; margin-bottom: 6px; }
.service-list p { font-size: 15px; color: var(--ink-soft); }

/* Process */
.process h2 { margin-bottom: 56px; max-width: 720px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.steps li { border-top: 1px solid var(--sage); padding-top: 24px; }
.steps .step-label { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--on-dark-muted); margin-bottom: 8px; }
.steps h3 { font-weight: 500; font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--on-dark-soft); }

/* Pricing */
.pricing-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.pricing-head .h2 { margin-bottom: 16px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tier { border: 1px solid var(--line); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; }
.tier--featured { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.tier h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--sage); }
.tier--featured h3 { color: var(--on-dark-muted); }
.tier .price { font-family: var(--serif); font-size: 54px; line-height: 1; }
.tier .price small { font-size: 22px; color: var(--sage); }
.tier--featured .price small { color: var(--on-dark-muted); }
.tier p { font-size: 15px; color: var(--ink-soft); }
.tier--featured p { color: var(--on-dark-soft); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.trust h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.trust p { font-size: 15px; color: var(--ink-soft); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__photo { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.about__photo img { width: 100%; max-width: 380px; height: auto; }
.about__copy { flex: 1.2 1 420px; min-width: 0; }
.about__copy .h2 { margin-bottom: 24px; }
.about__copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about__copy .btn { margin-top: 14px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.review { margin: 0; background: var(--ground); padding: 36px 32px; }
.review blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.35; }
.review figcaption { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 96px; padding-bottom: 96px; border-bottom: 1px solid var(--line); }
.partners > div { flex: 1 1 520px; min-width: 0; }
.partners h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin-bottom: 12px; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq .h2 { text-align: center; margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 400; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 28px; color: var(--sage); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact__intro { flex: 1 1 360px; min-width: 0; }
.contact__intro h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 58px); line-height: 1.05; margin-bottom: 24px; }
.contact__intro .lede { margin-bottom: 32px; }
.contact__intro a { color: var(--on-dark); }
.contact__form { flex: 1.2 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.field--full { grid-column: span 2; }
.field input, .field select, .field textarea {
  min-height: 48px; background: transparent; border: 1px solid #7E9488; color: #fff;
  padding: 12px 14px; font: 300 16px/1.4 var(--sans); letter-spacing: 0; border-radius: 0;
}
.field select { background: var(--forest); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--on-dark); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-status { font-size: 15px; color: var(--on-dark); }
.form-status.is-error { color: #F2C4B8; }

/* Footer */
.site-footer { background: var(--forest-deep); color: var(--on-dark-muted); padding: 56px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand svg { width: 40px; height: 40px; }
.footer-brand .logo__name { color: var(--on-dark); font-size: 26px; font-weight: 400; }
.footer-brand .logo__tag { color: var(--on-dark-muted); }
.site-footer p { max-width: 520px; }
.site-footer a { color: var(--on-dark-muted); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 32px; }
.legal h1 { font-family: var(--serif); font-size: 48px; margin-bottom: 24px; }
.legal h2 { font-family: var(--serif); font-size: 28px; margin: 32px 0 10px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }

/* Mobile */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 24px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero__media { grid-template-rows: 200px 200px; }
  .contact__form { grid-template-columns: 1fr; }
  .field--full, .form-actions { grid-column: auto; }
  .logo__name { font-size: 24px; }
  .logo svg { width: 42px; height: 42px; }
  .topbar { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
