/* =========================================================
   Aaron R. Wilson, Attorney at Law
   Design system: sober, classical, restrained.
   - Display: Cormorant Garamond (editorial serif)
   - Body: Inter (clean sans)
   - Palette: deep navy / ink, parchment cream, brass accent
   ========================================================= */

:root {
  /* Color */
  --ink:        #0e1a2b;   /* primary dark — headlines, header bg */
  --ink-2:      #1a2740;   /* slightly lighter ink, dark surfaces */
  --paper:      #f5f1e8;   /* warm cream background */
  --paper-2:    #ece6d6;   /* secondary cream / dividers */
  --paper-3:    #faf7ef;   /* lightest cream surface */
  --text:       #1b2230;   /* body text */
  --text-muted: #5b6479;   /* secondary text */
  --text-faint: #8a8f9e;
  --brass:      #b8915a;   /* primary accent — restrained */
  --brass-2:    #c9a96a;   /* secondary brass for highlights */
  --rule:       #d6cfbf;   /* subtle dividers on cream */
  --rule-dark:  #2a3550;   /* dividers on dark */
  --focus:      #c9a96a;

  /* Type */
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sizes (clamp for fluid responsive) */
  --t-eyebrow: 0.78rem;      /* 12.5px */
  --t-xs:      0.8125rem;    /* 13px */
  --t-sm:      0.9375rem;    /* 15px */
  --t-base:    1rem;         /* 16px */
  --t-md:      1.0625rem;    /* 17px */
  --t-lg:      1.25rem;      /* 20px */
  --t-xl:      clamp(1.5rem, 2.4vw, 1.875rem);    /* h3 */
  --t-2xl:     clamp(1.875rem, 3.2vw, 2.5rem);    /* h2 */
  --t-3xl:     clamp(2.5rem, 5.2vw, 4.25rem);     /* hero */

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  z-index: 100; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.muted { color: var(--text-muted); }
.text-link {
  display: inline-flex;
  margin-top: .35rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
}
.text-link::after {
  content: "→";
  margin-left: .45rem;
  color: var(--brass);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 em, h2 em { font-style: italic; color: var(--brass); font-weight: 500; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  letter-spacing: 0.02em;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--ink-2);
  color: var(--paper);
  border-color: var(--ink-2);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header--scrolled {
  border-bottom-color: var(--rule);
  background: rgba(245, 241, 232, 0.94);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { color: var(--ink); display: inline-flex; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand__role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-top: .15rem;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin: 0; padding: 0;
}
.nav a {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: .25rem 0;
}
.nav a:hover { color: var(--brass); }
.nav__cta {
  border: 1px solid var(--ink);
  padding: .55rem 1.1rem !important;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

@media (max-width: 820px) {
  .nav ul { gap: 1.1rem; }
  .nav li:not(:last-child) { display: none; }
  .brand__role { display: none; }
}

@media (max-width: 1100px) {
  .nav ul { gap: 1rem; }
  .nav a { font-size: .875rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(184, 145, 90, 0.07), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-3) 100%);
  overflow: hidden;
}
.hero__inner { max-width: 980px; }
.hero__title {
  font-size: var(--t-3xl);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.hero__lede {
  font-size: var(--t-md);
  line-height: 1.65;
  color: var(--text);
  max-width: 60ch;
  margin-bottom: 2rem;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.25rem;
}
.hero__note {
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.hero__rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}

/* ---------- Landing pages ---------- */
.landing-hero {
  padding: clamp(3.75rem, 8vw, 6.75rem) 0 clamp(2.75rem, 6vw, 4.75rem);
  background:
    radial-gradient(1100px 460px at 82% 5%, rgba(184, 145, 90, 0.08), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-3) 100%);
  border-bottom: 1px solid var(--rule);
}
.landing-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 900px) {
  .landing-hero__inner { grid-template-columns: minmax(0, 1.35fr) 360px; }
}
.landing-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  max-width: 14ch;
  line-height: 1.05;
  margin-bottom: 1.35rem;
}
.landing-hero__lede {
  font-size: var(--t-md);
  line-height: 1.65;
  max-width: 62ch;
  margin-bottom: 1.75rem;
}
.landing-panel {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--rule-dark);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
}
.landing-panel h2 {
  color: var(--paper);
  font-size: 1.5rem;
  margin-bottom: .8rem;
}
.landing-panel p,
.landing-panel li { color: #cdd3df; font-size: var(--t-sm); }
.landing-panel ul {
  margin: 1rem 0 1.4rem;
  padding-left: 1.1rem;
}
.landing-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.landing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .landing-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}
.landing-copy h2 {
  font-size: var(--t-2xl);
  margin-top: 2rem;
  margin-bottom: .8rem;
}
.landing-copy h2:first-child { margin-top: 0; }
.landing-copy p { max-width: 72ch; }
.landing-copy ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--rule);
}
.landing-copy li {
  padding: .75rem 0 .75rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.landing-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 6px;
  height: 1px;
  background: var(--brass);
}
.sidebar-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: clamp(1.4rem, 3vw, 1.85rem);
  border-radius: var(--radius);
  position: sticky;
  top: 5.5rem;
}
.sidebar-card h2 {
  font-size: 1.45rem;
  margin-bottom: .8rem;
}
.sidebar-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 1.25rem;
  color: var(--text);
}
.sidebar-card li { margin-bottom: .55rem; }
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.related-links a {
  border: 1px solid var(--rule);
  padding: .75rem 1rem;
  text-decoration: none;
  background: var(--paper-3);
}
.related-links a:hover {
  border-color: var(--brass);
  background: var(--paper);
}
.faq-list {
  display: grid;
  gap: .8rem;
  margin: 1.25rem 0 2rem;
}
.faq-list details {
  border: 1px solid var(--rule);
  background: var(--paper-3);
  border-radius: calc(var(--radius) * .7);
  padding: 1rem 1.1rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.faq-list p {
  margin-top: .7rem;
  font-size: var(--t-sm);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0 2rem;
}
.social-links a {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .65rem .95rem;
  background: var(--paper-3);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 600;
}
.social-links a:hover {
  border-color: var(--brass);
  background: var(--paper);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
  border-top: 1px solid transparent;
}
.section--practice { background: var(--paper-3); }
.section--about { background: var(--paper); }
.section--approach { background: var(--ink); color: var(--paper); }
.section--faq { background: var(--paper-3); }
.section--contact { background: var(--paper); }

.section--approach h2,
.section--approach h3 { color: var(--paper); }
.section--approach .eyebrow { color: var(--brass-2); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--t-2xl); margin-bottom: 1rem; }
.section-head__lede {
  font-size: var(--t-md);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 55ch;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { display: block; }

/* ---------- Practice grid ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
@media (min-width: 780px) {
  .practice-grid { grid-template-columns: 1fr 1fr; }
}
.practice-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.practice-card:hover {
  border-color: var(--brass);
  box-shadow: 0 4px 24px -10px rgba(14, 26, 43, 0.12);
}
.practice-card__num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.practice-card__title {
  font-size: var(--t-xl);
  margin-bottom: .75rem;
}
.practice-card__lede {
  color: var(--text);
  margin-bottom: 1.25rem;
}
.practice-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--rule);
}
.practice-card__list li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
  color: var(--text);
  position: relative;
  padding-left: 1.25rem;
}
.practice-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px; height: 1px;
  background: var(--brass);
}
.practice-card__note {
  font-size: var(--t-sm);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) {
  .about__grid {
    grid-template-columns: 320px 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
}
.about__col-text h2 { font-size: var(--t-2xl); }
.about__col-text p { color: var(--text); max-width: 58ch; }
.portrait-frame {
  border: 1px solid var(--rule);
  padding: 12px;
  background: var(--paper-3);
  max-width: 320px;
}
.portrait-frame svg { width: 100%; height: auto; }

.about__facts {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.about__facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: .9rem 0;
  border-top: 1px solid var(--rule);
}
.about__facts > div:last-child { border-bottom: 1px solid var(--rule); }
.about__facts dt {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
}
.about__facts dd {
  margin: 0;
  font-size: var(--t-sm);
}
@media (max-width: 600px) {
  .about__facts > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* ---------- Approach (dark section) ---------- */
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 720px) {
  .approach-list { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
}
@media (min-width: 1040px) {
  .approach-list { grid-template-columns: repeat(4, 1fr); }
}
.approach-list li {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
}
.approach-list__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--brass-2);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.approach-list h3 {
  font-size: 1.35rem;
  margin-bottom: .6rem;
}
.approach-list p {
  font-size: var(--t-sm);
  color: #cdd3df;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 920px) {
  .faq__grid { grid-template-columns: 360px 1fr; }
}
.faq__intro h2 { font-size: var(--t-2xl); margin-bottom: 1rem; }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq__list details {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.faq__list summary {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--brass);
  font-weight: 400;
  transition: transform .2s ease;
  line-height: 1;
}
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p {
  margin-top: .85rem;
  font-size: var(--t-sm);
  color: var(--text);
  line-height: 1.65;
  max-width: 70ch;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 920px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
.contact__info h2 { font-size: var(--t-2xl); margin-bottom: 1rem; }
.contact__details {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--rule);
}
.contact__details li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: var(--t-sm);
}
.contact__details address { font-style: normal; line-height: 1.6; }
.contact__label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact__consultation-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
}
.contact__consultation-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.contact__consultation-card p {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.contact__cta-stack {
  display: grid;
  gap: .8rem;
  margin: 1.5rem 0;
}
.contact__caution {
  font-size: var(--t-xs);
  line-height: 1.55;
  margin: 0;
  padding: .85rem 1rem;
  background: var(--paper);
  border-left: 2px solid var(--brass);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cdd3df;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--brass-2); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 780px) {
  .site-footer__inner {
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas:
      "brand nav"
      "legal legal";
    column-gap: 3rem;
  }
  .site-footer__brand { grid-area: brand; }
  .site-footer__nav { grid-area: nav; justify-self: end; }
  .site-footer__legal { grid-area: legal; }
}
.site-footer__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--paper);
}
.site-footer__brand .brand__mark { color: var(--brass-2); }
.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--paper);
  margin: 0 0 .2rem;
}
.site-footer__brand .muted { color: #8b94a8; font-size: var(--t-xs); }
.site-footer__contact {
  margin: .85rem 0 0;
  color: #a8b0c2;
  font-size: var(--t-xs);
  line-height: 1.65;
}
.site-footer__contact a {
  color: var(--brass-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-start;
}
.site-footer__nav a {
  font-size: var(--t-sm);
  text-decoration: none;
}
.site-footer__legal {
  border-top: 1px solid var(--rule-dark);
  padding-top: 2rem;
  margin-top: 1rem;
}
.disclaimer {
  font-size: var(--t-xs);
  color: #a8b0c2;
  line-height: 1.7;
  max-width: 85ch;
  margin-bottom: 1.25rem;
}
.disclaimer strong { color: var(--paper); font-weight: 600; }
.copyright {
  font-size: var(--t-xs);
  color: #8b94a8;
  margin: 0;
}
.copyright .muted { color: #6c7488; }

/* ---------- Motion sensitivity ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer__nav, .contact__consultation-card, .btn { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 1rem 0; border: none; }
}
