/* ============================================================
   BRIANA FORD — DESIGN SYSTEM
   brianaford.com | Civic Designer · Commons Strategist
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Karla:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ---- TOKENS ---- */
:root {
  --cream:           #F6F1E9;
  --warm-white:      #FDFAF5;
  --espresso:        #1A1108;
  --espresso-mid:    #3A2618;
  --espresso-light:  #6B4E3A;
  --terracotta:      #B04A2C;
  --terracotta-bg:   #C45533;
  --sage:            #3A5830;
  --sage-light:      #E8EDE6;
  --sand:            #C6B098;
  --sand-light:      #EDE3D5;
  --sand-mid:        #D4C4AE;
  --warm-mid:        #8A7060;
  --rule:            #D8CDBF;

  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'Karla', system-ui, sans-serif;

  --max-width:       1180px;
  --content-width:   760px;
  --section:         clamp(5rem, 10vw, 9rem);
  --gap:             clamp(1.5rem, 4vw, 3rem);
  --ease:            cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { background: var(--cream); color: var(--espresso); font-family: var(--font-body); font-size: clamp(1rem, 1.05vw, 1.1rem); line-height: 1.72; }
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--espresso); }
::selection { background: var(--sand-light); color: var(--espresso); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--espresso); }
h1 { font-size: clamp(3rem, 6.5vw, 6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h5 { font-size: 1.2rem; font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--espresso-mid);
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  border-left: 3px solid var(--terracotta);
  padding: 0.25rem 0 0.25rem 1.75rem;
  margin: 2.5rem 0;
  line-height: 1.4;
}

/* ---- LAYOUT ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.container--narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
section { padding: var(--section) 0; }

/* ---- NAV ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(26,17,8,0.09); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  color: var(--espresso); text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo .dot { color: var(--terracotta); }

.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--espresso-light); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }

.nav-cta {
  background: var(--terracotta) !important;
  color: var(--warm-white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--espresso) !important; color: var(--warm-white) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--espresso); transition: 0.3s; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: calc(100% + 1px); left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
    gap: 1.25rem; border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 32px rgba(26,17,8,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.95rem; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; padding: 0.9rem 2.25rem;
  border: none; cursor: pointer; transition: all 0.22s var(--ease);
  border-radius: 2px;
}
.btn-primary { background: var(--terracotta); color: var(--warm-white); }
.btn-primary:hover { background: var(--espresso); color: var(--warm-white); }
.btn-outline { background: transparent; color: var(--espresso); border: 1.5px solid var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(246,241,233,0.5); }
.btn-outline-light:hover { background: var(--cream); color: var(--espresso); }
.btn-ghost {
  background: transparent; color: var(--terracotta);
  padding: 0; border: none; border-bottom: 1.5px solid currentColor;
  border-radius: 0; font-size: 0.85rem;
}
.btn-ghost:hover { color: var(--espresso); }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- HERO ---- */
.hero {
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(4rem, 8vw, 8rem);
  position: relative; overflow: hidden;
}
.hero-bg-shape {
  position: absolute; top: 0; right: 0;
  width: 38%; height: 100%;
  background: var(--sand-light);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero h1 { max-width: 14ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero-body {
  max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--espresso-mid); margin-bottom: 2.5rem; line-height: 1.68;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-header h2 { margin-top: 0.75rem; }
.section-header p { max-width: 60ch; margin-top: 1rem; color: var(--espresso-mid); font-size: 1.05rem; }

/* ---- MARGINS AUDIT QUESTIONS ---- */
.ma-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px; margin: 3rem 0;
}
.ma-q {
  padding: 2.75rem 2rem 2.5rem;
  position: relative; background: var(--sand-light);
}
.ma-q--dark { background: var(--espresso); }
.ma-q--dark h3 { color: var(--cream); }
.ma-q--dark .ma-q__num { color: var(--terracotta-bg); opacity: 0.7; }
.ma-q--dark p { color: var(--sand); }
.ma-q--sage { background: var(--sage); }
.ma-q--sage h3 { color: var(--cream); }
.ma-q--sage .ma-q__num { color: var(--sand); opacity: 0.5; }
.ma-q--sage p { color: rgba(246,241,233,0.75); }

.ma-q__num {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 300;
  color: var(--sand-mid); line-height: 1;
  margin-bottom: 1rem; display: block;
}
.ma-q h3 {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-style: italic; font-weight: 600;
  line-height: 1.2;
}
.ma-q p { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 720px) {
  .ma-questions { grid-template-columns: 1fr; }
}

/* ---- BOOK PREVIEW ---- */
.book-section {
  background: var(--espresso); color: var(--cream);
  padding: var(--section) 0;
}
.book-section h2, .book-section h3, .book-section h4 { color: var(--cream); }
.book-section .eyebrow { color: var(--sand-mid); }

.book-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.book-spine {
  width: 220px; flex-shrink: 0;
  background: var(--espresso-mid);
  border: 1px solid rgba(198,176,152,0.25);
  padding: 3rem 2rem;
  position: relative; aspect-ratio: 0.65 / 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.book-spine::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 10px; background: var(--terracotta);
}
.book-spine-title {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--cream); line-height: 1.2; font-weight: 500;
}
.book-spine-sub { font-size: 0.85rem; color: var(--sand); margin-top: 0.5rem; }
.book-spine-author { font-family: var(--font-display); font-size: 1rem; color: var(--sand); font-style: italic; }
.book-spine-year { font-size: 0.8rem; color: rgba(198,176,152,0.5); letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase; }

.book-text p { color: rgba(246,241,233,0.78); line-height: 1.7; margin-bottom: 1.25rem; font-size: 1.05rem; }
.book-text p:last-of-type { margin-bottom: 2rem; }

@media (max-width: 720px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-spine { width: 160px; }
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2px; margin-top: 2.5rem;
}
.service-card {
  background: var(--warm-white);
  border: 1px solid var(--rule);
  padding: 2.5rem 2rem;
}
.service-card__tag {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 1rem; display: block;
}
.service-card h4 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.service-card p { font-size: 0.95rem; color: var(--warm-mid); line-height: 1.65; }
.service-card__price { margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--espresso-mid); }

/* ---- ABOUT SNIPPET ---- */
.about-home-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: var(--gap); align-items: start;
}
.photo-placeholder {
  background: var(--sand-light); border: 1px solid var(--rule);
  aspect-ratio: 3/4; display: flex; align-items: flex-end;
  padding: 1.5rem; color: var(--warm-mid); font-size: 0.8rem;
  font-style: italic;
}
.about-home-aside { position: sticky; top: 6rem; }

@media (max-width: 720px) {
  .about-home-grid { grid-template-columns: 1fr; }
  .about-home-aside { position: static; }
}

/* ---- PULL QUOTE BAND ---- */
.quote-band {
  background: var(--sand-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(3rem, 5vw, 5rem) 0;
  text-align: center;
}
.quote-band blockquote {
  border: none; padding: 0;
  max-width: 22ch; margin: 0 auto;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}
.quote-band cite {
  display: block; margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-mid); font-style: normal;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 { max-width: 20ch; margin: 0.75rem 0 1.25rem; }
.page-hero .lead { max-width: 56ch; }

/* ---- PROSE ---- */
.prose { max-width: var(--content-width); }
.prose h2 { margin: 3rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.prose h3 { margin: 2rem 0 0.75rem; font-size: clamp(1.35rem, 2vw, 2rem); }
.prose p { margin-bottom: 1.35rem; }
.prose ul, .prose ol { margin: 0.5rem 0 1.5rem 1.75rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { font-weight: 600; color: var(--espresso); }

/* ---- METHODOLOGY STEPS ---- */
.method-step {
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 1.75rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.method-step:last-child { border-bottom: none; }
.method-step__num {
  font-family: var(--font-display);
  font-size: 2.5rem; color: var(--sand);
  font-weight: 300; line-height: 1;
  padding-top: 0.2rem;
}
.method-step h4 { margin-bottom: 0.5rem; }
.method-step p { font-size: 1rem; color: var(--espresso-mid); margin: 0; }

/* ---- TAGS ---- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.tag {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--sand-light);
  color: var(--espresso-mid); padding: 0.3rem 0.8rem; border-radius: 2px;
}
.tag--tc { background: rgba(176,74,44,0.1); color: var(--terracotta); }
.tag--sage { background: var(--sage-light); color: var(--sage); }

/* ---- BOARD / ROLE LIST ---- */
.role-list { list-style: none; }
.role-list li {
  padding: 1.1rem 0; border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
}
.role-list li:last-child { border-bottom: none; }
.role-list .role-org { font-weight: 500; font-family: var(--font-display); font-size: 1.15rem; }
.role-list .role-title { font-size: 0.85rem; color: var(--warm-mid); }

/* ---- CONTACT FORM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-mid); margin-bottom: 0.5rem; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 0.9rem 1rem;
  border: 1.5px solid var(--rule); background: var(--warm-white);
  color: var(--espresso); font-family: var(--font-body);
  font-size: 1rem; border-radius: 2px; transition: border-color 0.2s;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--terracotta);
}
textarea { min-height: 160px; resize: vertical; }
.form-hint { font-size: 0.82rem; color: var(--warm-mid); margin-top: 0.4rem; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- WRITING/THINKING ---- */
.writing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px; }
.writing-card {
  background: var(--warm-white); border: 1px solid var(--rule);
  padding: 2.25rem 2rem;
}
.writing-card .eyebrow { margin-bottom: 1rem; }
.writing-card h4 { margin-bottom: 0.75rem; font-size: 1.4rem; line-height: 1.25; }
.writing-card p { font-size: 0.95rem; color: var(--warm-mid); line-height: 1.6; }
.writing-card__date { font-size: 0.82rem; color: var(--sand); margin-top: 1.25rem; display: block; }

/* ---- FOOTER ---- */
.site-footer { background: var(--espresso); color: var(--cream); padding: 5rem 0 2.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); margin-bottom: 3.5rem; }
.footer-brand .nav-logo { color: var(--cream); margin-bottom: 1rem; }
.footer-brand p { color: var(--sand); font-size: 0.95rem; max-width: 34ch; line-height: 1.65; }
.footer-brand .eyebrow { color: var(--sand-mid); margin-top: 1.5rem; margin-bottom: 0.75rem; }
.footer-col h5 { color: var(--sand-mid); font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(246,241,233,0.65); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(198,176,152,0.18); padding-top: 1.75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(246,241,233,0.38); font-size: 0.82rem; }
.footer-bottom a { color: rgba(246,241,233,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---- FADE IN ---- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }
.fade-in[data-delay="3"] { transition-delay: 0.3s; }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* ---- TOOLKIT HIGHLIGHT ---- */
.toolkit-cta {
  background: var(--sage);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.toolkit-cta h2, .toolkit-cta h3 { color: var(--cream); }
.toolkit-cta .eyebrow { color: rgba(246,241,233,0.6); }
.toolkit-cta p { color: rgba(246,241,233,0.8); max-width: 56ch; margin: 1rem 0 2rem; font-size: 1.05rem; }

/* ---- ABOUT PAGE ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 2rem 0; }
.value-card { background: var(--sand-light); padding: 2.25rem 1.75rem; }
.value-card h4 { font-size: 1.5rem; margin-bottom: 0.6rem; font-style: italic; }
.value-card p { font-size: 0.95rem; color: var(--espresso-mid); line-height: 1.6; }

@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }

/* ---- MA PAGE — FULL QUESTION CARDS ---- */
.ma-full-questions { margin: 3rem 0; }
.ma-full-q {
  border: 1px solid var(--rule);
  padding: 3rem 2.5rem; margin-bottom: 3px;
  background: var(--warm-white);
  display: grid; grid-template-columns: 4rem 1fr;
  gap: 2rem; align-items: start;
}
.ma-full-q--highlight { background: var(--espresso); border-color: var(--espresso); }
.ma-full-q--highlight h3, .ma-full-q--highlight p, .ma-full-q--highlight li { color: var(--cream); }
.ma-full-q--highlight .ma-q__num { color: var(--terracotta-bg); opacity: 0.5; }
.ma-full-q ul { list-style: disc; margin: 1rem 0 0 1.25rem; }
.ma-full-q li { margin-bottom: 0.4rem; font-size: 0.98rem; color: var(--espresso-mid); }
.ma-full-q h3 { margin-bottom: 0.75rem; font-style: italic; }
.ma-full-q p { color: var(--espresso-mid); font-size: 1rem; }

@media (max-width: 620px) {
  .ma-full-q { grid-template-columns: 1fr; gap: 0.5rem; padding: 2rem 1.5rem; }
}

/* ---- WORK WITH ME ---- */
.offering-block {
  padding: 3.5rem 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gap);
}
.offering-block:last-of-type { border-bottom: none; }
.offering-meta h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin-bottom: 0.5rem; }
.offering-meta .eyebrow { margin-bottom: 0.75rem; }
.offering-meta .price { font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta); margin-top: 1rem; }
.offering-body p { color: var(--espresso-mid); margin-bottom: 1rem; font-size: 1rem; }
.offering-body ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1.25rem; }
.offering-body li { margin-bottom: 0.4rem; font-size: 0.98rem; color: var(--espresso-mid); }

@media (max-width: 720px) {
  .offering-block { grid-template-columns: 1fr; }
}

/* ---- HORIZONTAL RULE ---- */
hr.section-rule {
  border: none; border-top: 1px solid var(--rule);
  margin: 0;
}
