/* =========================================================
   The Law Office of Anneka G. Sweeney
   Aesthetic: light · warm · airy · boutique  (inspired by @annekagrace)
   Type: Cormorant Garamond (display) · Jost (labels) · Inter (body)
   ========================================================= */

:root {
  --ivory: #faf6f0;      /* page background */
  --cream: #f3ece1;      /* alternating sections */
  --sand:  #ece1d1;      /* deeper warm neutral */
  --taupe: #b9a78f;
  --accent: #b5854f;     /* warm camel / caramel */
  --accent-soft: #cda978;
  --sage: #8b9885;       /* muted sage, subtle secondary */
  --heading: #38302a;    /* warm near-black for headings */
  --ink: #4a4136;        /* body text */
  --muted: #857a6b;      /* secondary text */
  --line: #e6dccc;       /* hairlines */
  --white: #ffffff;

  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(56, 48, 42, 0.10);
  --shadow-sm: 0 8px 24px rgba(56, 48, 42, 0.07);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --label: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--heading); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--heading);
  margin: 0 0 0.45em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}
.lead { font-size: 1.22rem; color: var(--muted); line-height: 1.6; }
.serif-accent { font-family: var(--serif); font-style: italic; color: var(--accent); }

.section { padding: 110px 0; }
.section--tight { padding: 76px 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--label);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 16px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--heading); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--heading); color: var(--heading); }
.btn--ghost:hover { background: var(--heading); color: var(--ivory); }
.btn--light { background: var(--white); color: var(--heading); border-color: var(--line); }
.btn--light:hover { background: var(--cream); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; flex: 0 0 auto;
  border: 1px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.02em; color: var(--accent);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; gap: 5px; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; color: var(--heading); font-weight: 600; }
.brand__tag { font-family: var(--label); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--label); font-weight: 400; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--ink);
}
.nav__links a:hover, .nav__links a.active { color: var(--accent); }
.nav__cta { margin-left: 4px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 1.5px; background: var(--heading); margin: 6px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(205,169,120,0.18), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--cream));
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.hero h1 { margin-bottom: 0.3em; }
.hero p { color: var(--muted); font-size: 1.2rem; max-width: 48ch; }
.hero__actions { margin-top: 34px; }

/* Arched portrait frame (boutique signature) */
.portrait-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(160deg, var(--sand), var(--cream));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem; text-align: center; padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.portrait-arch::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--accent-soft); border-radius: 999px 999px 10px 10px;
  opacity: 0.5; pointer-events: none;
}
.portrait-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--wide-text { grid-template-columns: 0.9fr 1.1fr; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.99rem; }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 640px; margin: 0 auto 56px; }
.sec-head.left { margin-left: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: 3rem; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat__label { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: 28px; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 0.2em; }
.step p { color: var(--muted); margin-bottom: 0; }

/* ---------- Quote ---------- */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.3; color: var(--heading); margin: 0 0 24px;
}
.quote blockquote::before { content: "\201C"; color: var(--accent-soft); }
.quote blockquote::after { content: "\201D"; color: var(--accent-soft); }
.quote cite { font-family: var(--label); font-style: normal; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; color: var(--muted); }

/* ---------- Service detail list ---------- */
.service-detail { border-top: 1px solid var(--line); padding: 34px 0; display: grid; grid-template-columns: 0.4fr 1fr; gap: 30px; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail h3 { margin: 0; color: var(--heading); }
.service-detail p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  font-family: var(--serif); font-size: 1.3rem; color: var(--heading);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--accent); font-size: 1.5rem; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 16px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sand); text-align: center; }
.cta-band .eyebrow { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--label); font-weight: 500; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; color: var(--heading); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--body); font-size: 1rem; background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181,133,79,0.14);
}
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-card dl { margin: 0; }
.contact-card dt { font-family: var(--label); font-weight: 500; color: var(--heading); margin-top: 18px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 5px 0 0; color: var(--muted); }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 240px; border: 0; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Social ---------- */
.social { display: flex; gap: 14px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #2d2620; color: rgba(255,255,255,0.72); padding: 72px 0 32px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; margin-bottom: 44px; }
.site-footer h4 { font-family: var(--label); color: #fff; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 18px; font-weight: 500; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand__name { color: #fff; font-size: 1.45rem; }
.footer-brand .social { margin-top: 20px; }
.footer-brand .social a { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 26px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom p { margin: 0 0 0.7em; }
.disclaimer { max-width: 92ch; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split, .split--wide-text { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .service-detail { grid-template-columns: 1fr; gap: 10px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 14px 0 0; }
}
