/* ============================================
   M&T Legal — Shared Styles
   ============================================ */

:root {
  --ink: #0e1a2b;
  --ink-soft: #1a2540;
  --ink-deeper: #07111d;
  --cream: #f4efe4;
  --cream-warm: #ece6d7;
  --cream-soft: #faf6ec;
  --sage: #b8b89e;
  --sage-deep: #8e8f78;
  --rule: #d8d2c2;
  --text: #1a1d28;
  --muted: #6b6f7e;
  --urgent: #a23a2f;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Switzer', -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Justified text sitewide */
p, li, blockquote, .lead, .hero-sub, .principle p, .about-body p, .careers-body p { text-align: justify; }


html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ink); color: var(--cream); }

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--muted);
}

.italic-serif { font-family: var(--serif); font-style: italic; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
}

.chapter {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.chapter-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--sage-deep);
}

.chapter-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
}

.section-head h2 em { color: var(--sage-deep); font-style: italic; }

.section-head .lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 50ch;
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}

section { padding: 7rem 0; }
@media (max-width: 768px) { section { padding: 5rem 0; } }

/* ---------- NAVIGATION ---------- */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

nav.top.scrolled,
nav.top.solid {
  background: rgba(244,239,228,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2.5rem;
  border-bottom-color: var(--rule);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 3px;
}

.logo-mark span {
  width: 5px;
  height: 5px;
  background: var(--ink);
  border-radius: 50%;
}

.logo-mark span:nth-child(5) { background: var(--sage-deep); }

.logo-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

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

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.is-active:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }

.nav-links a.is-active { color: var(--sage-deep); }

.nav-cta {
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: var(--cream) !important;
  border-radius: 999px;
  font-size: 0.8rem !important;
  transition: background 0.3s ease;
}

.nav-cta:hover { background: var(--ink-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 900px) {
  nav.top { padding: 1.25rem 1.5rem; }
  nav.top.scrolled, nav.top.solid { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.5rem; font-family: var(--serif); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--cream-warm); transform: translateY(-1px); }

.btn-ghost-light { background: transparent; color: var(--cream); border-color: var(--sage); }
.btn-ghost-light:hover { background: var(--sage); color: var(--ink); }

.btn .arrow {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s;
}

.btn .arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn:hover .arrow { width: 22px; }

/* ---------- HERO (base) ---------- */
.hero {
  padding: 9rem 0 5rem;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle at center, var(--sage) 0%, transparent 60%);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--sage-deep);
  border-radius: 50%;
}

.hero-eyebrow span:last-child {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 16ch;
  font-weight: 400;
}

.hero h1 em { font-style: italic; color: var(--sage-deep); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-top: 4rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 38ch;
}

.hero-meta { display: grid; gap: 1rem; }

.hero-meta-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--sage-deep);
  font-style: italic;
}

.hero-meta-item .label {
  font-size: 0.85rem;
  color: var(--text);
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* HERO — dark variant for maritime */
.hero.dark {
  background: var(--ink);
  color: var(--cream);
}
.hero.dark h1 { color: var(--cream); }
.hero.dark h1 em { color: var(--sage); }
.hero.dark .hero-eyebrow span:last-child { color: var(--sage); }
.hero.dark .hero-eyebrow .dot { background: var(--sage); }
.hero.dark .hero-sub { color: rgba(244,239,228,0.85); }
.hero.dark .hero-meta-item { border-color: rgba(184,184,158,0.2); }
.hero.dark .hero-meta-item .num { color: var(--sage); }
.hero.dark .hero-meta-item .label { color: rgba(244,239,228,0.85); }
.hero.dark::before {
  background: radial-gradient(circle at center, var(--sage-deep) 0%, transparent 60%);
  opacity: 0.18;
}

@media (max-width: 768px) {
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0;
  overflow: hidden;
  background: var(--cream-warm);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  animation: scroll 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}

.marquee .sep { color: var(--sage-deep); font-style: normal; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- TWO PRACTICES PREVIEW (HOME) ---------- */
.two-practices { background: var(--cream); }

.tp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
}

.tp-col {
  padding: 3rem 3rem 3rem 0;
  position: relative;
  transition: background 0.3s ease;
}

.tp-col + .tp-col {
  padding: 3rem 0 3rem 3rem;
  border-left: 1px solid var(--rule);
}

.tp-col h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 400;
}

.tp-col h3 em { color: var(--sage-deep); font-style: italic; }

.tp-col p {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38ch;
}

.tp-col ul {
  list-style: none;
  margin: 2rem 0;
  counter-reset: prac;
}

.tp-col ul li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  counter-increment: prac;
}

.tp-col ul li::before {
  content: counter(prac, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-deep);
  font-size: 0.95rem;
  margin-right: 1.5rem;
  min-width: 24px;
}

.tp-col .tp-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.3rem;
  transition: gap 0.3s;
}

.tp-col .tp-cta:hover { gap: 1.2rem; }

@media (max-width: 768px) {
  .tp-grid { grid-template-columns: 1fr; }
  .tp-col, .tp-col + .tp-col {
    padding: 2.5rem 0;
    border-left: 0;
  }
  .tp-col + .tp-col { border-top: 1px solid var(--rule); }
}

/* ---------- SUB-PRACTICE GRID (CORPORATE / MARITIME PAGES) ---------- */
.sub-practices { background: var(--ink); color: var(--cream); }
.sub-practices .chapter-label, .sub-practices .chapter-num { color: var(--sage); }
.sub-practices .chapter { border-color: rgba(184,184,158,0.2); }
.sub-practices h2 { color: var(--cream); }
.sub-practices h2 em { color: var(--sage); }
.sub-practices .lead { color: rgba(244,239,228,0.7); }

.sp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(184,184,158,0.2);
  border-left: 1px solid rgba(184,184,158,0.2);
}

.sp-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(184,184,158,0.2);
  border-bottom: 1px solid rgba(184,184,158,0.2);
  transition: background 0.3s ease;
}

.sp-card:hover { background: rgba(184,184,158,0.06); }

.sp-card .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.sp-card h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: var(--cream);
  font-weight: 400;
}

.sp-card p {
  color: rgba(244,239,228,0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sp-card .scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sp-card .scope span {
  font-size: 0.7rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(184,184,158,0.3);
  border-radius: 999px;
  color: var(--sage);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .sp-grid { grid-template-columns: 1fr; border-left: 0; }
  .sp-card { padding: 2.5rem 0; border-right: 0; }
}

/* ---------- PRINCIPLES / PROCESS ---------- */
.how-we-work { background: var(--cream); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.principle {
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.principle .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 1rem;
}

.principle h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 400;
}

.principle p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

@media (max-width: 768px) { .principles { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- MATTERS ---------- */
.matters { background: var(--cream-warm); }

.matter-list {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
}

.matter {
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.3s ease;
}

.matter:hover { padding-left: 1rem; }

.matter .label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--sage-deep);
}

.matter h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.matter p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 60ch;
}

.matter .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.matter .tags span {
  font-size: 0.7rem;
  padding: 0.22rem 0.6rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .matter { grid-template-columns: 1fr; gap: 0.8rem; }
  .matter .tags { justify-content: flex-start; }
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  background: var(--sage);
  padding: 6rem 0;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 38ch;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.01em;
  font-weight: 400;
  position: relative;
  padding: 0 1rem;
}

.testimonial blockquote::before {
  content: '"';
  font-family: var(--serif);
  font-size: 3.2rem;
  position: absolute;
  top: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sage-deep);
  opacity: 0.6;
  line-height: 1;
}

.testimonial cite {
  display: block;
  margin-top: 2.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  text-align: center;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.testimonial cite em {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* ---------- FOUNDERS ---------- */
.founders { background: var(--cream); }

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.founder { display: grid; gap: 1.5rem; }

.founder-portrait {
  aspect-ratio: 4/5;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.founder-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 50%, var(--ink) 100%);
}

.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(184,184,158,0.15) 1px, transparent 0);
  background-size: 20px 20px;
}

.founder-portrait .initial {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--sage);
  font-style: italic;
  line-height: 1;
  z-index: 1;
}

.founder-portrait .role {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage);
  z-index: 1;
}

.founder h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.founder .title-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-style: italic;
  font-family: var(--serif);
}

.founder p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

@media (max-width: 768px) {
  .founders-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { margin-top: 4rem; }

.faq-item {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
}

.faq-item .icon {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.faq-item .icon::before,
.faq-item .icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: all 0.3s;
  top: 50%;
  left: 50%;
}

.faq-item .icon::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq-item .icon::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }

.faq-item[open] .icon { background: var(--ink); }
.faq-item[open] .icon::before { background: var(--cream); }
.faq-item[open] .icon::after { opacity: 0; }

.faq-answer {
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 70ch;
}

/* ---------- URGENT CALLOUT (Maritime page) ---------- */
.urgent-callout {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
  border-left: 3px solid var(--urgent);
}

.urgent-callout .pulse {
  width: 14px;
  height: 14px;
  background: var(--urgent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.urgent-callout .pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--urgent);
  animation: pulse 1.8s ease-out infinite;
  opacity: 0;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.urgent-callout h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.urgent-callout p {
  color: rgba(244,239,228,0.7);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .urgent-callout { grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem; text-align: left; }
}

/* ---------- CONTACT / FORM ---------- */
.contact-section { background: var(--ink); color: var(--cream); }
.contact-section .chapter-label, .contact-section .chapter-num { color: var(--sage); }
.contact-section .chapter { border-color: rgba(184,184,158,0.2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  margin-top: 4rem;
}

.contact-grid h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-grid h2 em { color: var(--sage); font-style: italic; }

.contact-info > p {
  color: rgba(244,239,228,0.75);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 40ch;
}

.contact-channels {
  display: grid;
  gap: 0;
  margin-top: 3rem;
}

.contact-channel {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(184,184,158,0.2);
  align-items: baseline;
}

.contact-channel:first-child { border-top: 1px solid rgba(184,184,158,0.2); }

.contact-channel .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage);
}

.contact-channel .val {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  line-height: 1.4;
}

.contact-channel .val a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-channel .val a:hover { color: var(--sage); }

form.consult {
  background: var(--cream);
  color: var(--text);
  padding: 3rem;
}

form.consult h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

form.consult p.form-lead {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.field { margin-bottom: 1.4rem; }

.field label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.65rem 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}

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

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

form.consult button {
  width: 100%;
  margin-top: 1rem;
  padding: 1.15rem;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.3s;
}

form.consult button:hover { background: var(--ink-soft); }
form.consult button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  padding: 4rem 3rem;
  text-align: center;
  background: var(--cream);
}

.form-success.show { display: block; }
.form-success .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-deep);
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 400;
}
.form-success p { color: var(--muted); max-width: 36ch; margin: 0 auto; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  form.consult { padding: 2rem 1.5rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- PAGE-WIDE CONTACT (Contact page) ---------- */
.contact-page .contact-section { padding: 5rem 0 7rem; }

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 5rem;
}

.cc-tile {
  border: 1px solid rgba(184,184,158,0.25);
  padding: 2rem;
  display: grid;
  gap: 0.5rem;
  transition: background 0.3s, border-color 0.3s;
}

.cc-tile:hover { background: rgba(184,184,158,0.06); border-color: var(--sage); }

.cc-tile .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.cc-tile .val {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
}

.cc-tile .val a { color: var(--cream); text-decoration: none; transition: color 0.3s; }
.cc-tile .val a:hover { color: var(--sage); }

.cc-tile .sub {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(244,239,228,0.6);
}

@media (max-width: 900px) {
  .contact-channels-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 500px) {
  .contact-channels-grid { grid-template-columns: 1fr; }
}

/* What to expect (contact page) */
.expect {
  background: var(--cream);
  padding: 7rem 0;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.expect-step {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.expect-step .step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 1rem;
}

.expect-step h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.expect-step p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

@media (max-width: 768px) {
  .expect-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(184,184,158,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-mark span { background: var(--cream); }
.footer-brand .logo-mark span:nth-child(5) { background: var(--sage); }

.footer-brand p {
  margin-top: 1.5rem;
  color: rgba(244,239,228,0.6);
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col ul a {
  color: rgba(244,239,228,0.72);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--sage); }

.footer-base {
  border-top: 1px solid rgba(184,184,158,0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(244,239,228,0.55);
}

.socials { display: flex; gap: 0.75rem; }

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184,184,158,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s;
}

.socials a:hover { background: var(--sage); color: var(--ink); border-color: var(--sage); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .urgent-callout .pulse::before { animation: none; }
}

/* ---------- DISCLAIMER MODAL ---------- */
.disclaimer-overlay { display: none; position: fixed; inset: 0; background: rgba(7, 17, 29, 0.92); z-index: 10000; align-items: center; justify-content: center; padding: 1.5rem; }
.disclaimer-overlay.open { display: flex; }
.disclaimer-modal { background: var(--cream-soft); color: var(--text); border-radius: 8px; max-width: 600px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 2.5rem; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
.disclaimer-modal h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); font-weight: 400; margin-bottom: 1.25rem; }
.disclaimer-modal p, .disclaimer-modal li { color: var(--text); font-size: 0.95rem; line-height: 1.7; text-align: justify; margin-bottom: 1rem; }
.disclaimer-modal ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.disclaimer-modal li { margin-bottom: 0.5rem; }
.disclaimer-modal .btn-primary { margin-top: 0.5rem; }

/* ---------- FOUNDER PHOTOS: 50% smaller ---------- */
.founder-photo-wrap { max-width: 50%; margin: 0 auto; }
