/* Thoughtful Media — brand system from Brand_guidelines.pdf
   Slate #617578 · Gold #ddb968 · Cream #f9f4ea · Near-black #020403
   Display: Aboreto · Body: Montserrat (Proxima Nova stand-in) · Script: Pinyon (Espiritu stand-in)
   v2 — design-committee pass: dandelion motif, gold accents, asymmetry, type scale, dividers */

:root {
  --slate: #617578;
  --gold:  #ddb968;
  --cream: #f9f4ea;
  --cream-deep: #f3ece0;
  --ink:   #020403;
  --slate-soft: #8a9a9c;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.9rem;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.7rem;
}

h2 {
  font-family: 'Aboreto', serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: 0.1em;
  line-height: 1.18;
  color: var(--ink);
}

h3 {
  font-family: 'Aboreto', serif;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--slate);
}

/* ---------- Motif: dandelion seeds ---------- */
.drift, .seedhead use, .card-icon use, .divider-seeds use,
.contact-seeds use, .footer-seeds use, .step-arrow use, .ph-seed use { color: var(--slate); }
.gold { color: var(--gold) !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem clamp(1.25rem, 5vw, 3.5rem);
  background: rgba(249, 244, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(97, 117, 120, 0.14);
}
.brand-mark { font-family: 'Aboreto', serif; font-size: 1.05rem; letter-spacing: 0.18em; color: var(--ink); }
.brand { text-decoration: none; }
.site-nav { display: flex; gap: clamp(0.9rem, 2.6vw, 2.1rem); align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 0.9rem; letter-spacing: 0.04em; transition: color 0.2s ease; }
.site-nav a:hover { color: var(--slate); }
.nav-cta { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0.5rem 1.2rem; font-weight: 500; }
.nav-cta:hover { color: var(--ink) !important; box-shadow: 0 6px 18px rgba(221,185,104,0.4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border-radius: 999px;
  transition: all 0.22s ease; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(221,185,104,0.38); }
.btn-outline { border: 1px solid var(--slate); color: var(--slate); }
.btn-outline:hover { background: var(--slate); color: var(--cream); }

/* ---------- Hero (left-anchored, motif on the right) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem clamp(1.5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 78% 22%, rgba(221,185,104,0.16), transparent 52%),
    radial-gradient(ellipse at 8% 92%, rgba(97,117,120,0.10), transparent 50%),
    var(--cream);
}
.hero-seeds {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero-seeds use, #seed { overflow: visible; }
.hero-seeds .seedhead { opacity: 0.4; }
.hero-inner { position: relative; z-index: 1; max-width: 640px; text-align: left; }
.hero-title {
  font-family: 'Aboreto', serif; font-weight: 400;
  font-size: clamp(2.9rem, 9vw, 6.2rem);
  letter-spacing: 0.1em; line-height: 1.12;
  color: var(--ink); margin: 0.6rem 0 1.6rem;
}
.hero-tagline { font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 300; color: var(--slate); max-width: 34ch; margin-bottom: 2.4rem; }

/* ---------- Section scaffolding ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 2rem); }
.section-head { text-align: center; margin-bottom: 3.2rem; }
.section-head.left { text-align: left; }
.section-head h2::after {
  content: ''; display: block;
  width: 48px; height: 2px; background: var(--gold);
  margin: 0.9rem 0 0;
}
.section-head:not(.left) h2::after { margin-left: auto; margin-right: auto; }

/* seed divider between sections */
.seed-divider { position: relative; max-width: var(--max); margin: 0 auto; height: 70px; }
.divider-rule { position: absolute; inset: 0; width: 100%; height: 100%; }
.divider-rule line { stroke: var(--gold); stroke-width: 1; opacity: 0.4; }
.divider-seeds { position: absolute; left: 50%; top: 0; width: 200px; height: 70px; transform: translateX(-50%); }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.6rem; }
.card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(97,117,120,0.14);
  border-top: 3px solid transparent;
  border-radius: 14px;
  padding: 2.2rem 1.9rem;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(2,4,3,0.08); border-top-color: var(--gold); }
.card-num {
  position: absolute; top: 0.7rem; right: 1.1rem;
  font-family: 'Aboreto', serif; font-size: 2.6rem;
  color: rgba(97,117,120,0.10); line-height: 1;
}
.card-icon { width: 30px; height: 45px; color: var(--slate); margin-bottom: 1rem; display: block; }
.card:hover .card-icon { color: var(--gold); transition: color 0.22s ease; }
.card p { font-size: 0.95rem; color: #3c4445; line-height: 1.6; max-width: 34ch; }

/* ---------- Process ---------- */
.section-process .steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
}
.step { text-align: center; padding: 0 1rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--slate);
  font-family: 'Aboreto', serif; font-size: 1.2rem; margin-bottom: 1rem;
}
.step p { font-size: 0.92rem; color: #3c4445; max-width: 26ch; margin: 0 auto; }
.step-arrow svg { width: 90px; height: 36px; margin-top: 1.4rem; }

/* ---------- About (full-bleed tinted band) ---------- */
.section-about-band { background: linear-gradient(180deg, var(--cream), var(--cream-deep)); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.photo-frame { position: relative; padding: 14px; }
.photo-frame::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold); border-radius: 16px;
  transform: translate(14px, 14px); z-index: 0;
}
.photo-placeholder {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5; border-radius: 14px;
  background: linear-gradient(145deg, var(--slate-soft), var(--slate));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem;
  color: rgba(255,255,255,0.8);
  font-family: 'Aboreto', serif; letter-spacing: 0.14em; font-size: 0.85rem;
}
.ph-seed { width: 40px; height: 60px; color: rgba(255,255,255,0.5); }
.about-photo img { width: 100%; border-radius: 14px; display: block; object-fit: cover; aspect-ratio: 4 / 5; position: relative; z-index: 1; }
.signature { font-family: 'Pinyon Script', cursive; font-size: 2.6rem; color: var(--slate); line-height: 1; margin-bottom: 0.4rem; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text .lead { color: #3c4445; margin-bottom: 1.8rem; max-width: 46ch; }

/* ---------- Contact ---------- */
.section-contact { position: relative; text-align: center; max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 2rem) clamp(5rem, 10vw, 8rem); }
.contact-seeds { position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); width: 200px; height: 80px; opacity: 0.6; }
.contact-sub { color: var(--slate); margin-top: 0.8rem; max-width: 44ch; margin-left: auto; margin-right: auto; }
.contact-cta { margin: 2rem 0 1.4rem; }
.contact-methods { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact-pill { text-decoration: none; border: 1px solid var(--slate); color: var(--ink); border-radius: 999px; padding: 0.7rem 1.5rem; font-size: 0.92rem; transition: all 0.2s ease; }
.contact-pill:hover { background: var(--slate); color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { position: relative; text-align: center; padding: 3.5rem 1.5rem 2.5rem; border-top: 1px solid rgba(221,185,104,0.4); background: var(--cream-deep); }
.footer-seeds { width: 240px; height: 60px; opacity: 0.6; display: block; margin: 0 auto 0.5rem; }
.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; opacity: 0.9; }
.footer-tagline { color: var(--slate); font-weight: 300; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-legal { font-size: 0.78rem; color: var(--slate-soft); letter-spacing: 0.03em; }

/* ---------- Drift animation (motion-safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .drift { animation: drift 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .d1 { animation-delay: 0s; }
  .d2 { animation-delay: -1.5s; animation-duration: 11s; }
  .d3 { animation-delay: -3s; animation-duration: 8s; }
  .d4 { animation-delay: -4.5s; animation-duration: 12s; }
  .d5 { animation-delay: -2s; animation-duration: 10s; }
  @keyframes drift {
    0%   { transform: translate(0,0) rotate(0deg); }
    50%  { transform: translate(-10px,-14px) rotate(-6deg); }
    100% { transform: translate(0,0) rotate(0deg); }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }
  .section-process .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .step-arrow { display: none; }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-seeds { opacity: 0.32; width: 80vw; }
  .brand-mark { font-size: 0.95rem; letter-spacing: 0.12em; }
}
