:root {
  --teal: #1E4D47;
  --teal-deep: #153933;
  --teal-soft: #3A6B64;
  --ivory: #F4EDE0;
  --ivory-warm: #EDE3D0;
  --sand: #B8A589;
  --sand-light: #D4C4A8;
  --charcoal: #2A2520;
  --charcoal-soft: #4A443E;
  --white-warm: #FAF6ED;
  --line: rgba(30, 77, 71, 0.15);
  --line-strong: rgba(30, 77, 71, 0.3);
  --serif: 'Cormorant Garamond', 'Didot', 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--teal); color: var(--ivory); }

/* ===== FOCUS STYLES ===== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav-cta:focus-visible { outline-offset: 4px; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.access-form input:focus-visible {
  outline-offset: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}
section.deep :focus-visible,
footer.site-footer :focus-visible { outline-color: var(--ivory); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--teal);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 24px; }
}

/* ===== NAV ===== */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 0.3s ease, background 0.3s ease;
}

nav.site-nav.scrolled {
  padding: 16px 0;
  border-bottom: 0.5px solid var(--line);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo svg { width: 36px; height: 36px; }

.nav-logo-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--teal);
}

.nav-logo-text .italic-s { font-style: italic; font-weight: 500; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 0.5px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

.nav-cta {
  padding: 11px 28px 11px 36px;
  border: 0.5px solid var(--teal);
  color: var(--teal) !important;
  transition: all 0.3s ease;
  text-indent: 0.05em;
}

.nav-cta:hover { background: var(--teal); color: var(--ivory) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--teal);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 968px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 0.5px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 14px; padding: 8px 0; }
  .nav-logo-text { font-size: 18px; }
}

/* ===== BUTTONS ===== */
.btn {
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0.5px solid var(--teal);
  background: transparent;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.btn-primary { background: var(--teal); color: var(--ivory); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-secondary:hover { background: var(--teal); color: var(--ivory); }

.btn .arrow { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== SECTION LABEL ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 40px;
}

.section-label::before {
  content: '';
  width: 36px;
  height: 0.5px;
  background: var(--teal);
}

.section-label.centered { justify-content: center; }

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  padding: 200px 0 100px;
  background: var(--ivory-warm);
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid var(--line);
}

.page-hero-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  opacity: 0.05;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 0.5px;
  background: var(--teal);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-soft);
}

.page-hero-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--charcoal-soft);
  max-width: 680px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}

/* ===== EDITORIAL CONTENT ===== */
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal-soft);
}

.prose p { margin-bottom: 24px; }
.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  margin-top: 72px;
  margin-bottom: 28px;
  line-height: 1.1;
}

.prose h2 em { font-style: italic; color: var(--teal-soft); }

.prose h3 {
  font-size: 24px;
  font-weight: 500;
  margin-top: 48px;
  margin-bottom: 14px;
}

.prose h3 em { font-style: italic; font-weight: 400; color: var(--teal-soft); }

.prose blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--teal);
  border-left: 2px solid var(--sand);
  padding: 8px 0 8px 32px;
  margin: 48px 0;
}

.prose a {
  color: var(--teal);
  border-bottom: 0.5px solid var(--line-strong);
  padding-bottom: 1px;
}

.prose a:hover { color: var(--teal-deep); border-bottom-color: var(--teal); }

.prose ul, .prose ol {
  margin: 24px 0;
  padding-left: 28px;
}

.prose li { margin-bottom: 12px; }

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.two-col-wide {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}

@media (max-width: 968px) {
  .two-col, .two-col-wide { grid-template-columns: 1fr; gap: 48px; }
}

.col-heading {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
}

.col-heading em { font-style: italic; color: var(--teal-soft); }

/* ===== GENERAL SECTIONS ===== */
section.standard { padding: 140px 0; }
section.band { padding: 140px 0; background: var(--ivory-warm); border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }
section.deep { padding: 140px 0; background: var(--teal); color: var(--ivory); }
section.deep h2 { color: var(--ivory); }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 0.5px solid var(--line);
  margin-top: 64px;
}

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

.card {
  background: var(--ivory);
  padding: 56px 40px;
  transition: background 0.4s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card:hover { background: var(--white-warm); }

.card-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--teal-soft);
  margin-bottom: 20px;
  display: block;
}

.card-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--teal);
}

.card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  margin-bottom: 28px;
}

.card-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== LIST ROWS ===== */
.row-list { display: flex; flex-direction: column; }

.row-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 48px;
  padding: 40px 0;
  border-top: 0.5px solid var(--line);
  align-items: start;
  transition: padding 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.row-item:last-child { border-bottom: 0.5px solid var(--line); }
.row-item:hover { padding: 40px 16px; }

.row-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--teal-soft);
}

.row-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--teal);
}

.row-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  max-width: 640px;
}

.row-arrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
  padding-top: 8px;
}

@media (max-width: 768px) {
  .row-item { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; }

.faq-item {
  border-top: 0.5px solid var(--line);
}

.faq-item:last-child { border-bottom: 0.5px solid var(--line); }

.faq-q {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.3;
  background: transparent;
  border: none;
  padding: 28px 0;
  cursor: pointer;
  text-align: left;
}

.faq-q:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  margin-left: 24px;
}

.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--teal);
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 1px;
}

.faq-toggle::after {
  top: 0;
  left: 9px;
  width: 1px;
  height: 20px;
}

.faq-item.open .faq-toggle::after { transform: scaleY(0); }

.faq-a {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0 0;
}

.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 0 28px;
}

/* ===== PULL QUOTE / EDITORIAL ===== */
.pull-quote {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pull-quote-mark {
  width: 44px;
  height: 44px;
  margin: 0 auto 36px;
  opacity: 0.8;
}

.pull-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.35;
  margin-bottom: 36px;
  letter-spacing: -0.005em;
}

.pull-quote-text::before, .pull-quote-text::after {
  content: '"';
  font-size: 1.4em;
  line-height: 0;
  color: var(--sand);
  opacity: 0.5;
  vertical-align: -0.15em;
}

.pull-quote-attr {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pull-quote-attr::before {
  content: '';
  width: 36px;
  height: 0.5px;
  background: var(--sand);
  opacity: 0.5;
}

/* ===== FORMS ===== */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--white-warm);
  border: 0.5px solid var(--line-strong);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); }

.form-field textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 12px; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  opacity: 0.7;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.breadcrumbs a { color: inherit; border-bottom: 0.5px solid transparent; }
.breadcrumbs a:hover { border-bottom-color: var(--teal); color: var(--teal); }
.breadcrumbs .sep { opacity: 0.5; }

/* ===== CROSS-LINKS ===== */
.cross-links {
  padding: 100px 0;
  border-top: 0.5px solid var(--line);
}

.cross-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 0.5px solid var(--line);
}

@media (max-width: 768px) { .cross-links-grid { grid-template-columns: 1fr; } }

.cross-link {
  padding: 48px 40px;
  background: var(--ivory);
  text-decoration: none;
  color: inherit;
  transition: background 0.4s ease;
}

.cross-link:hover { background: var(--white-warm); }

.cross-link-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}

.cross-link-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cross-link-title em { font-style: italic; color: var(--teal-soft); }

.cross-link-arrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 16px;
  display: inline-block;
}

/* ===== FOOTER ===== */
footer.site-footer {
  padding: 80px 0 40px;
  background: var(--teal-deep);
  color: var(--sand-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.footer-brand svg { width: 52px; height: 52px; margin-bottom: 20px; }

.footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ivory);
  margin-bottom: 16px;
}

.footer-brand-name .italic-s { font-style: italic; }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--sand-light);
  opacity: 0.85;
  max-width: 260px;
  line-height: 1.5;
}

.footer-col-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--sand-light); opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--ivory); }

.footer-bottom {
  padding-top: 32px;
  border-top: 0.5px solid rgba(184, 165, 137, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--sand);
}

.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.hero-anim-1 { opacity: 0; animation: fadeUp 0.9s ease-out 0.2s forwards; }
.hero-anim-2 { opacity: 0; animation: fadeUp 0.9s ease-out 0.4s forwards; }
.hero-anim-3 { opacity: 0; animation: fadeUp 0.9s ease-out 0.6s forwards; }
.hero-anim-4 { opacity: 0; animation: fadeUp 0.9s ease-out 0.8s forwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-anim-1, .hero-anim-2, .hero-anim-3, .hero-anim-4 { opacity: 1; animation: none; }
}
