/*
Theme Name: Darden & Company
Theme URI: https://dardenandcompany.example
Author: Darden build team
Description: Custom theme for Darden & Company, built from the Darden — FINAL Figma file (TtPxEm5WZexK60LtlS3RCu).
Version: 0.1.0
Requires PHP: 7.4
License: Proprietary
Text Domain: darden
*/

/* ---------------------------------------------------------------------------
   Design tokens (from Figma variables)
   --------------------------------------------------------------------------- */
:root {
  /* Palette — pulled from the logo/brand: deep navy + gold */
  --darden-navy: #101c3f;
  --darden-navy-deep: #0a1329;
  --darden-gold: #a98b4f;
  --darden-gold-soft: #c6ac77;
  --darden-white: #ffffff;
  --darden-ink: #1b2237;
  --darden-mute: #6e7484;
  --darden-line: #e3e1d9;

  /* Section + component colors (Figma variables) */
  --scheme1-bg: #f3e9d8;        /* hero section cream */
  --card-cream: #f9f4eb;        /* protocol card foreground */
  --slate: #545f69;             /* What We Do + CTA band */
  --darden-blue: #0c1b2a;       /* color/darden-blue */
  --btn-navy: #17214f;          /* CTA buttons */
  --gold-text: #99782e;         /* OUTCOME values */
  --body-gray: #40454d;
  --subhead-bg: #e2e7ec;

  /* Figma tokens */
  --page-padding: 64px;           /* page-padding/padding-global */
  --section-padding: 80px;        /* section-padding/padding-section-medium */
  --text-small: 14px;             /* text-sizes/text-small */
  --content-max: 1280px;
}

/* ---------------------------------------------------------------------------
   Base
   --------------------------------------------------------------------------- */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  color: var(--darden-ink);
  background: var(--darden-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  width: 100%;
}
@media (max-width: 768px) {
  :root { --page-padding: 20px; --section-padding: 48px; }
  .site-header { height: auto; padding: 16px 0; }
}
html, body { overflow-x: hidden; }
h1, h2, h3, p, a { overflow-wrap: break-word; }

/* ---------------------------------------------------------------------------
   Header / Navbar (Figma node 6:171)
   --------------------------------------------------------------------------- */
.site-header {
  background: var(--darden-white);
  height: 137px;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand img { width: 294px; height: auto; }
.nav-toggle {
  background: none;
  border: 0;
  padding: 12px;
  cursor: pointer;
  line-height: 0;
}
.nav-toggle svg, .nav-toggle img { width: 48px; height: 48px; }

/* Menu overlay (Figma node 10:27) — white centered modal over an
   (intentionally near-invisible) click-to-close backdrop. */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.01);
  border: 0;
  cursor: pointer;
}
.menu-panel {
  position: relative;
  background: #fff;
  width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 12px;
  padding: 56px 48px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 16px 64px rgba(0, 0, 0, 0.25);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}
.menu-overlay.is-open .menu-panel { transform: translateY(0); }
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}
.menu-eyebrow {
  margin: 0;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b89440;
}
.nav-close {
  background: none;
  border: 0;
  padding: 4px 8px;
  font-size: 24px;
  line-height: 1;
  color: var(--btn-navy);
  cursor: pointer;
}
.nav-close:hover { color: var(--gold-text); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel ul li + li { border-top: 1px solid rgba(23, 33, 79, 0.12); }
.menu-panel ul a {
  display: block;
  padding: 18px 8px;
  text-align: center;
  font-weight: 600;
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--btn-navy);
  text-decoration: none;
}
.menu-panel ul a:hover, .menu-panel ul .current-menu-item > a { color: var(--gold-text); }
body.nav-open { overflow: hidden; }
@media (max-width: 640px) {
  .menu-panel { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-overlay, .menu-panel { transition: none; }
}

/* ---------------------------------------------------------------------------
   Footer (Figma node 8:109)
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--darden-white); /* Figma color-scheme-2/background — confirm against final theme */
  padding: var(--section-padding) 0;
}
.site-footer .footer-content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.site-footer .footer-brand { flex: 1 0 0; display: flex; flex-direction: column; gap: 32px; }
.site-footer .footer-brand img.logo { width: 294px; height: auto; }
.site-footer .social a { display: inline-block; line-height: 0; }
.site-footer .social svg, .site-footer .social img { width: 24px; height: 24px; }
.site-footer .footer-links { flex: 1 0 0; max-width: 400px; display: flex; gap: 24px; }
.site-footer .link-list, .site-footer .footer-links ul { flex: 1 0 0; list-style: none; margin: 0; padding: 0; }
.site-footer .link-list a, .site-footer .footer-links ul a {
  display: block;
  padding: 8px 0;
  font-weight: 600;
  font-size: var(--text-small);
  text-decoration: none;
}
.site-footer .link-list a:hover, .site-footer .footer-links ul a:hover { color: var(--darden-gold); }
.site-footer .credits { margin-top: 80px; border-top: 1px solid var(--darden-line); padding-top: 32px; }
.site-footer .credits-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-small);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .legal-links { display: flex; gap: 24px; }
.site-footer .legal-links a { text-decoration: underline; }
@media (max-width: 768px) {
  .site-footer .footer-content { flex-direction: column; }
  .site-header .brand img { width: 200px; }
}

/* ---------------------------------------------------------------------------
   Typography (Fraunces headings / Inter body, per Figma)
   --------------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  margin: 0;
}
.outcome-value {
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  margin: 0;
}
.tm-mark {
  font-size: 0.35em;
  font-weight: 500;
  line-height: 0;
  vertical-align: super;
}
h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.2; letter-spacing: 0.01em; }

.section { padding: 112px 0; }
.container-narrow { max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
}
.btn-navy { background: var(--btn-navy); color: #fff; font-weight: 600; }
.btn-navy:hover { background: var(--darden-blue); }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-md { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 10px 24px; font-size: 14px; border-radius: 6px; }
.btn-hero {
  background: #fff;
  border: 1px solid #fff;
  color: var(--darden-blue);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
}
.btn-white { background: #fff; color: #000; padding: 6px 12px; border-radius: 6px; font-weight: 500; }

/* ---------------------------------------------------------------------------
   Hero (Figma 2:3136 / 2:3138)
   --------------------------------------------------------------------------- */
.hero-section { background: var(--scheme1-bg); padding: 80px 0; }
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 735px;
  display: flex;
  align-items: center;
  padding: 64px;
  color: #fff;
}
.hero-media, .hero-media picture, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: 0 30%; }
.hero-card::after {
  /* Legibility scrim — the Figma comp also carries a translucent "D" watermark
     baked into the art direction; add as decoration later if desired. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 27, 42, 0.72) 0%, rgba(12, 27, 42, 0.35) 55%, rgba(12, 27, 42, 0.15) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 568px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-content h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.06;
  letter-spacing: 0.01em;
}
.hero-content p { font-size: 18px; max-width: 518px; margin: 0; }
@media (max-width: 768px) {
  .hero-section { padding: 0; }
  .hero-card { min-height: 560px; padding: 32px var(--page-padding); }
}

/* ---------------------------------------------------------------------------
   Credentials (Figma 2:3145)
   --------------------------------------------------------------------------- */
.credentials { background: #fff; }
.subhead-box {
  background: var(--subhead-bg);
  border-radius: 10px;
  padding: 32px 48px;
  max-width: 840px;
  box-shadow: 2px 3px 4px rgba(23, 33, 79, 0.08), 6px 10px 18px rgba(23, 33, 79, 0.18);
}
.subhead-box p { font-weight: 600; font-size: 22px; margin: 0; }
.credentials-body { color: var(--body-gray); font-size: 18px; line-height: 1.55; max-width: 764px; margin: 0; }

/* ---------------------------------------------------------------------------
   What We Do (Figma 2035:535)
   --------------------------------------------------------------------------- */
.services { background: var(--slate); }
.services h2.on-dark { color: #fff; text-align: center; margin-bottom: 88px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  text-decoration: none;
}
.service-card .icon svg, .service-card .icon img { width: 48px; height: 48px; }
.service-card h3 { font-size: 28px; line-height: 1.4; letter-spacing: 0.01em; flex: 1 0 auto; }
.service-card:hover .btn-navy { background: var(--darden-blue); }

/* ---------------------------------------------------------------------------
   Transition Protocol (Figma 2:3199)
   --------------------------------------------------------------------------- */
.protocol { background: #fff; }
.protocol-intro {
  max-width: 676px;
  margin: 0 auto 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.protocol-lede { font-size: 18px; margin: 0; }
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
}
.protocol-card { background: var(--card-cream); display: flex; flex-direction: column; }
.protocol-card .protocol-img img, .protocol-card picture img { width: 100%; height: 413px; object-fit: cover; }
.protocol-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.protocol-body .tagline { font-weight: 600; font-size: 16px; margin: 0; }
.protocol-body h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.4; letter-spacing: 0.01em; }
.protocol-body > p { margin: 0; font-size: 16px; }
.protocol-body .outcome { margin: auto 0 0; padding-top: 16px; display: flex; gap: 10px; align-items: center; }
.outcome-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-gray);
}
.outcome-value { color: var(--gold-text); font-size: 15px; }

/* ---------------------------------------------------------------------------
   CTA band (Figma 2:3555)
   --------------------------------------------------------------------------- */
.cta-band { background: var(--slate); }
.cta-card {
  background: var(--darden-blue);
  color: #fff;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.cta-card p { font-size: 18px; max-width: 768px; margin: 0; }
@media (max-width: 768px) {
  .cta-card { padding: 40px 24px; }
}

/* ---------------------------------------------------------------------------
   What We Do page (Figma 2:1725)
   --------------------------------------------------------------------------- */
.page-hero {
  background: var(--slate);
  color: #fff;
  padding: 112px 0;
  text-align: center;
}
.page-hero .container { max-width: 768px; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.2; letter-spacing: 0.01em; }
.page-hero p { font-size: 18px; margin: 0; max-width: 604px; }

/* Overview cards on very dark navy (Figma 2:1740, scheme-5) */
.services-overview { background: #061826; }
.services-overview h2.on-dark { color: #fff; text-align: center; max-width: 768px; margin: 0 auto 80px; }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}
.overview-card {
  background: #040a10;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 530px;
  overflow: hidden;
}
.overview-card h3 {
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  padding: 56px 24px 24px; /* Figma: 24px content padding + empty tagline row */
}
.overview-card picture img, .overview-card .overview-img img {
  width: 100%;
  height: 171px;
  object-fit: cover;
  display: block;
}
.overview-card:hover h3 { color: var(--gold-soft, #c6ac77); }
@media (max-width: 768px) {
  .overview-card { min-height: 0; }
  .overview-card h3 { padding-top: 32px; }
}

/* Service detail sections (Figma 135:14 …), alternating white / cream */
.service-detail { padding: 96px var(--page-padding); display: flex; justify-content: center; }
.service-detail.is-white { background: #fff; }
.service-detail.is-cream { background: #f2ebd9; }
.detail-column { max-width: 840px; width: 100%; display: flex; flex-direction: column; gap: 28px; }
.detail-title {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.25;
  color: #0a0d12;
}
.detail-lede { font-size: 18px; line-height: 1.55; color: var(--body-gray); margin: 0; }
.detail-list { list-style: none; margin: 0; padding: 0; color: var(--body-gray); font-size: 16px; }
.detail-list li { line-height: 1.75; padding-left: 1.2em; position: relative; }
.detail-list li::before { content: "\2022"; position: absolute; left: 0; }
.suited-box { border-radius: 8px; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.service-detail.is-white .suited-box { background: #edebe5; }
.service-detail.is-cream .suited-box { background: #fff; }
.suited-label {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0a0d12;
  margin: 0;
}
.suited-box p:not(.suited-label) { color: var(--body-gray); font-size: 16px; line-height: 1.55; margin: 0; }

/* ---------------------------------------------------------------------------
   Who We Are page (Figma 2:1414)
   --------------------------------------------------------------------------- */

/* Values + photo on near-black (Figma 2:1437, scheme-5 bg #03080c) */
.values-band { background: #03080c; color: #fff; }
.values-layout { display: flex; gap: 80px; align-items: center; }
.values-grid {
  flex: 1 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.value-item { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.value-item .icon svg, .value-item .icon img { width: 48px; height: 48px; }
.value-item h3 { font-size: 28px; line-height: 1.4; letter-spacing: 0.01em; color: #fff; }
.value-item p { font-size: 16px; margin: 0; }
.values-photo { flex: 1 0 0; aspect-ratio: 600 / 640; overflow: hidden; }
.values-photo picture, .values-photo img { width: 100%; height: 100%; }
.values-photo img { object-fit: cover; }
@media (max-width: 900px) {
  .values-layout { flex-direction: column; }
  .values-grid { grid-template-columns: 1fr; width: 100%; }
  .values-photo { width: 100%; }
}

/* Founder narrative on light gray (Figma 2:1480, scheme-3 bg #ced1d4) */
.narrative-band { background: #ced1d4; padding: 96px var(--page-padding); display: flex; justify-content: center; }
.narrative-column { max-width: 926px; color: var(--body-gray); font-size: 18px; }
.narrative-column p { margin: 0 0 1.6em; }
.narrative-column p:last-child { margin-bottom: 0; }
.narrative-lead { font-weight: 700; }

/* Team on cream (Figma 2:1500, scheme-1 bg) */
.team-band { background: var(--scheme1-bg); }
.team-band h2 { margin-bottom: 80px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
}
.team-card { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.team-card .headshot { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.headshot-placeholder {
  background:
    radial-gradient(circle at 50% 38%, #b8bec6 24%, transparent 25%),
    radial-gradient(circle at 50% 100%, #b8bec6 38%, transparent 39%),
    #d7dade;
}
.team-name { font-weight: 600; font-size: 18px; margin: 0; }
.btn-view-bio { padding: 6px 12px; border-radius: 6px; font-weight: 500; font-size: 16px; }
.team-linkedin svg, .team-linkedin img { width: 32px; height: 32px; }

/* ---------------------------------------------------------------------------
   How We Work page (Figma 2:1107)
   --------------------------------------------------------------------------- */

/* Protocol intro (Figma 2:1122) */
.protocol-header {
  background: #fff;
  padding: 96px var(--page-padding) 64px;
  display: flex;
  justify-content: center;
}
.protocol-header-column {
  max-width: 840px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}
.protocol-header h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.25; color: #0a0d12; }
.protocol-header-lede { font-size: 19px; line-height: 1.65; color: var(--body-gray); margin: 0; }
.framework-box {
  background: #f2ebd9;
  border-radius: 8px;
  padding: 32px 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.box-label {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0a0d12;
  margin: 0;
}
.box-label.small { font-size: 13px; }
.framework-box p:not(.box-label) { color: var(--body-gray); font-size: 16px; line-height: 1.55; margin: 0; }

/* Phase blocks (Figma 137:14 / 137:28 / 137:42) */
.phase-block { padding: 96px var(--page-padding); display: flex; justify-content: center; }
.phase-block.is-gray { background: #ced1d4; }
.phase-block.is-white { background: #fff; }
.phase-column { max-width: 880px; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.phase-header {
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.phase-block.is-gray .phase-header { background: #fff; }
.phase-block.is-white .phase-header { background: #edebe5; }
.phase-title { font-size: clamp(22px, 3vw, 28px); line-height: 1.3; color: #0a0d12; }
.phase-outcome { display: flex; flex-direction: column; align-items: flex-end; }
.phase-outcome .outcome-value { font-size: 22px; }
.phase-intro { font-size: 17px; line-height: 1.6; color: var(--body-gray); margin: 0; }
.phase-list { font-size: 16px; }
.phase-list li { line-height: 1.8; }
.phase-box { border-radius: 6px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.phase-box p:not(.box-label) { color: var(--body-gray); font-size: 15px; line-height: 1.6; margin: 0; }
.phase-block.is-gray .phase-box { background: #fff; }
.phase-block.is-white .deliverable-box { background: #edebe5; }
.phase-block.is-white .timeline-box { background: #f2ebd9; }

/* ---------------------------------------------------------------------------
   Get Started page (Figma 2:900)
   --------------------------------------------------------------------------- */

/* Intro (Figma 2:915) */
.start-intro { background: #fff; }
.start-intro .container-narrow { max-width: 768px; gap: 16px; }
.start-intro-title { font-size: 28px; line-height: 1.4; letter-spacing: 0.01em; }
.start-intro p { color: var(--body-gray); font-size: 18px; margin: 0; max-width: 700px; }
.start-contact-line { font-weight: 700; }
.start-contact-line a { color: inherit; text-decoration: none; }
.start-contact-line a:hover { color: var(--gold-text); }

/* Mirrored dark band variant (photo left, links right) */
.values-layout.is-mirrored .values-photo { order: 0; }
.values-layout.is-mirrored .values-grid { order: 1; }
@media (max-width: 900px) {
  .values-layout.is-mirrored .values-photo { order: 1; }
}
.value-link { text-decoration: none; color: inherit; }
.value-link:hover h3 { color: var(--gold-soft); }

/* FAQ on cream (Figma 2:954) */
.faq-band { background: var(--scheme1-bg); }
.faq-container { display: flex; flex-direction: column; align-items: center; gap: 80px; }
.faq-title { text-align: center; max-width: 768px; display: flex; flex-direction: column; gap: 24px; }
.faq-title p { font-size: 18px; margin: 0; }
.faq-list { max-width: 768px; width: 100%; margin: 0; display: flex; flex-direction: column; gap: 48px; }
.faq-item { display: flex; flex-direction: column; gap: 16px; }
.faq-item dt { font-weight: 700; font-size: 18px; }
.faq-item dd { margin: 0; font-size: 16px; }
.btn-ghost {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.1); }

/* ---------------------------------------------------------------------------
   Contact page (Figma 2:522)
   --------------------------------------------------------------------------- */
.contact-band { background: #f2f2f2; }
.contact-layout { display: flex; gap: 80px; align-items: flex-start; }
.contact-info { flex: 1 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info .tagline { font-weight: 600; font-size: 16px; margin: 0; }
.contact-info h2 { color: #000; }
.contact-lede { font-size: 18px; margin: 8px 0 0; }
.contact-details { list-style: none; margin: 24px 0 0; padding: 8px 0; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; }
.contact-details .icon svg, .contact-details .icon img { width: 24px; height: 24px; }
.contact-details a { color: #000; }
.contact-form { flex: 1 0 0; }
.form-missing-notice {
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 24px 28px;
}
.form-missing-notice p { margin: 0 0 12px; }
.form-missing-notice p:last-child { margin: 0; }
@media (max-width: 900px) {
  .contact-layout { flex-direction: column; }
  .contact-form { width: 100%; }
}

/* Gravity Forms overrides — match the Figma underline-input style.
   GF 2.7+ ships the "Orbital" theme (CSS variables + late-loaded stylesheet),
   so we override its variables on the wrapper and harden key rules. */
.contact-form .gform-theme,
.contact-form .gform_wrapper {
  --gf-color-primary: var(--darden-blue);
  --gf-ctrl-border-color: transparent;
  --gf-ctrl-bg-color: transparent;
  --gf-ctrl-shadow: none;
  --gf-ctrl-radius: 0;
  --gf-ctrl-btn-bg-color-primary: var(--darden-blue);
  --gf-ctrl-btn-bg-color-hover-primary: var(--btn-navy);
  --gf-ctrl-btn-border-color-primary: var(--darden-blue);
  --gf-ctrl-btn-radius: 6px;
  --gf-ctrl-checkbox-check-bg-color: var(--darden-blue);
  --gf-ctrl-radio-check-bg-color: var(--darden-blue);
}
.contact-form .gform_wrapper input[type="text"],
.contact-form .gform_wrapper input[type="email"],
.contact-form .gform_wrapper input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 8px 0 !important;
  font: 16px/1.6 "Inter", sans-serif !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline-offset: 4px;
}
.contact-form .gform_wrapper textarea {
  width: 100%;
  min-height: 180px;
  padding: 12px 12px 12px 0 !important;
  font: 16px/1.6 "Inter", sans-serif !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  resize: vertical;
}
.contact-form .gform_wrapper input:focus,
.contact-form .gform_wrapper textarea:focus {
  border-bottom-color: var(--darden-blue) !important;
  box-shadow: none !important;
}
.contact-form .gform_wrapper .gfield_label,
.contact-form .gform_wrapper legend.gfield_label {
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #000 !important;
}
.contact-form .gform_wrapper .gfield_required,
.contact-form .gform_wrapper .gfield_required_text {
  color: #b83333 !important;
  font-style: normal !important;
}
.contact-form .gform_wrapper .gfield_radio label,
.contact-form .gform_wrapper .gfield_checkbox label {
  font-weight: 400 !important;
  font-size: 16px !important;
}
.contact-form .gform_wrapper input[type="radio"],
.contact-form .gform_wrapper input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--darden-blue);
}
.contact-form .gform_wrapper input[type="submit"],
.contact-form .gform_wrapper .gform_button,
.contact-form .gform_wrapper button.gform_button {
  background: var(--darden-blue) !important;
  border: 1px solid var(--darden-blue) !important;
  color: #fff !important;
  font: 500 16px/1.6 "Inter", sans-serif !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  cursor: pointer;
}
.contact-form .gform_wrapper input[type="submit"]:hover,
.contact-form .gform_wrapper .gform_button:hover {
  background: var(--btn-navy) !important;
  border-color: var(--btn-navy) !important;
}
.contact-form .gform_wrapper ::placeholder { color: rgba(0, 0, 0, 0.6); }
.contact-form .gform_wrapper .gform_validation_errors,
.contact-form .gform_wrapper .gfield_validation_message {
  font-size: 14px;
  color: #b83333;
}


/* Small-screen safety for the contact form */
@media (max-width: 640px) {
  .contact-form .gform_wrapper .gform_fields { grid-template-columns: 1fr !important; }
  .site-footer .credits-row { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------------------
   Legal pages — Terms / Privacy (Figma 28:442)
   --------------------------------------------------------------------------- */
.legal-band {
  background: #fff;
  padding: 112px var(--page-padding);
  display: flex;
  justify-content: center;
}
.legal-column { max-width: 768px; width: 100%; }
.legal-column > * + * { margin-top: 40px; }
.legal-column h2, .legal-column h3 {
  font-size: 28px;
  line-height: 1.3;
  color: #0a0d12;
  letter-spacing: 0.01em;
}
.legal-column p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body-gray);
  margin: 0;
}
.legal-column p + p { margin-top: 24px; }
.legal-column ul, .legal-column ol {
  margin: 0;
  padding-left: 1.4em;
  color: var(--body-gray);
  font-size: 16px;
  line-height: 1.5;
}
.legal-column li + li { margin-top: 6px; }
.legal-column a { color: var(--btn-navy); }
.legal-column a:hover { color: var(--gold-text); }

/* ---------------------------------------------------------------------------
   Bio pages (Figma 31:550)
   --------------------------------------------------------------------------- */
.bio-band {
  background: #fff;
  padding: 112px var(--page-padding);
  display: flex;
  justify-content: center;
}
.bio-row { max-width: 840px; width: 100%; display: flex; gap: 48px; align-items: flex-start; }
.bio-photo { flex: 0 0 280px; width: 280px; }
.bio-photo img, .bio-photo .headshot-placeholder {
  width: 280px;
  height: 280px;
  object-fit: cover;
  display: block;
}
.bio-text { flex: 1 0 0; min-width: 0; }
.bio-text p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body-gray);
  margin: 0 0 24px;
}
.bio-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .bio-row { flex-direction: column; align-items: center; }
  .bio-photo { flex-basis: auto; }
}



/* Credentials section — heading holds one line (Figma 2:3149), Figma-spec gap below subhead box (2:3150 + spacer 172:14) */
.credentials h2 {
  font-size: 44px;
  width: max-content;
  max-width: calc(100vw - 128px);
  align-self: center;
  text-align: center;
  margin-bottom: 48px;
}
.credentials .subhead-box { margin-bottom: 48px; }

/* Hero headline: designer-specified breaks apply at desktop only */
@media (max-width: 900px) {
  .hero-content h1 br { display: none; }
}

/* Mobile footer: center all blocks; nav columns centered as a pair, links stay flush left */
@media (max-width: 900px) {
  .site-footer .footer-content { flex-direction: column; align-items: center; gap: 48px; }
  .site-footer .footer-brand { align-items: center; }
  .site-footer .footer-links { width: 100%; max-width: none; justify-content: center; gap: 48px; }
  .site-footer .footer-links ul, .site-footer .link-list { flex: 0 0 auto; text-align: left; }
  .site-footer .credits-row { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
}

/* LinkedIn icon: hide beige page-background rect baked into the Figma SVG export; align icon with legal links */
svg rect[fill="#F3E9D8"] { display: none; } /* artifact appears in team-card icons too */
.site-footer .legal-links { display: flex; align-items: center; gap: 24px; }

/* LinkedIn SVG export ships a black glyph on a black tile; render the standard white-on-tile mark */
svg rect[fill="#1E1E1E"] { rx: 6px; }
svg rect[fill="#1E1E1E"] ~ path { fill: #fff; }

/* overview-grid + services-grid: force 2 columns (2x2) on mid-size screens instead of 3+1 */
@media (min-width: 768px) and (max-width: 1183px) {
  .overview-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* hero watermark: pin image to right edge on small screens so the D mark is not cut off */
@media (max-width: 767px) {
  .hero-media img {
    object-position: 100% 30%;
  }
}


/* ---------------------------------------------------------------------------
   Articles (blog) — index grid + single article. Uses the design tokens above.
   --------------------------------------------------------------------------- */

/* Shared category eyebrow */
.article-eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-text);
}
.article-eyebrow a { color: inherit; text-decoration: none; }
.article-eyebrow a:hover { text-decoration: underline; }

/* Single article hero */
.article-hero h1 {
	font-size: clamp(34px, 4.5vw, 56px);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.page-hero .article-eyebrow { color: var(--darden-gold-soft); }
.article-hero .article-meta {
	margin-top: 16px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
}

/* Single article body */
.article-band { padding: var(--section-padding) 0; background: var(--darden-white); }
.article-column {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 32px;
}
.article-column p {
	color: var(--body-gray);
	font-size: 17px;
	line-height: 1.75;
	margin: 0 0 24px;
}
.article-column h2 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	font-size: 30px;
	line-height: 1.25;
	color: var(--darden-navy);
	margin: 48px 0 16px;
}
.article-column ul,
.article-column ol {
	color: var(--body-gray);
	font-size: 17px;
	line-height: 1.75;
	margin: 0 0 24px;
	padding-left: 24px;
}
.article-column li { margin-bottom: 8px; }
.article-footer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--darden-line); }
.article-back,
.article-read {
	font-weight: 600;
	font-size: 15px;
	color: var(--gold-text);
	text-decoration: none;
}
.article-back:hover,
.article-read:hover { text-decoration: underline; }

/* Articles index */
.articles-band { padding: var(--section-padding) 0; background: var(--darden-white); }
.articles-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.article-card {
	display: flex;
	flex-direction: column;
	background: var(--card-cream);
	border: 1px solid var(--darden-line);
	padding: 40px;
}
.article-card-title {
	margin: 0 0 16px;
	font-size: 26px;
	line-height: 1.3;
}
.article-card-title a {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	color: var(--darden-navy);
	text-decoration: none;
}
.article-card-title a:hover { color: var(--gold-text); }
.article-card-excerpt {
	margin: 0 0 20px;
	color: var(--body-gray);
	font-size: 16px;
	line-height: 1.7;
}
.article-card-meta {
	margin: auto 0 12px;
	font-size: 14px;
	color: var(--darden-mute);
}
.articles-pagination { margin-top: 48px; text-align: center; font-size: 15px; }
.articles-pagination .page-numbers {
	display: inline-block;
	margin: 0 6px;
	color: var(--darden-ink);
	text-decoration: none;
}
.articles-pagination .page-numbers.current { color: var(--gold-text); font-weight: 600; }
.articles-empty { text-align: center; color: var(--darden-mute); }

@media (max-width: 900px) {
	.articles-grid { grid-template-columns: 1fr; }
	.article-card { padding: 28px; }
	.article-column { padding: 0 24px; }
}
