@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ===========================
   BRAND COLORS (from logo & poster)
   Orange:    #E8581A
   Dark Teal: #1E3A3A  
   White:     #FFFFFF
   Off-white: #F5F2EE
   Mid-gray:  #8A8A8A
=========================== */

:root {
  --orange:       #E8581A;
  --orange-mid:   #C94A10;
  --orange-pale:  #FDF0E8;
  --teal:         #1E3A3A;
  --teal-mid:     #2C5050;
  --teal-light:   #3A6464;
  --white:        #FFFFFF;
  --offwhite:     #F5F2EE;
  --stone:        #EAE7E2;
  --mid:          #8A8A8A;
  --dark:         #111111;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --radius:       4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--teal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Global centered headings */
h1, h2, h3, .display-xl, .display-lg, .display-md, .display-sm,
.section-heading { text-align: center; }

/* Allow left-align override where needed */
.text-left, .text-left h1, .text-left h2, .text-left h3,
.text-left .display-md, .text-left .display-sm { text-align: left; }

/* Eyebrow also centered by default */
.eyebrow { display: block; text-align: center; }

.section      { padding: 7rem 0; }
.section-sm   { padding: 4.5rem 0; }
.section-xs   { padding: 3rem 0; }

/* ===========================
   TYPOGRAPHY SYSTEM
=========================== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.eyebrow-left { text-align: left; }

.eyebrow-light { color: rgba(255,255,255,0.6); }
.eyebrow-left  { text-align: left; }

/* Card titles center by default */
.card-title, .card-num { text-align: center; }
.card-text { text-align: center; }
.card-link { justify-content: center; }

.display-xl {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display-sm {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.body-lg {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--teal-mid);
}

.body-md {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}

.body-sm {
  font-size: 0.85rem;
  line-height: 1.65;
}

.text-orange  { color: var(--orange); }
.text-teal    { color: var(--teal); }
.text-white   { color: var(--white); }
.text-mid     { color: var(--mid); }
.text-muted   { color: rgba(255,255,255,0.55); }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-mid);
  border-color: var(--orange-mid);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--teal);
}

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

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: all 0.35s ease;
  padding: 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.35s ease;
}

.navbar.scrolled .navbar-inner {
  border-bottom-color: var(--stone);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 20px rgba(30,58,58,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  filter: brightness(1.05);
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  transition: color 0.35s;
}
.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  transition: color 0.35s;
}

.navbar.scrolled .nav-logo-text { color: var(--teal); }
.navbar.scrolled .nav-logo-sub  { color: var(--mid); }

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0 1.1rem;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled .nav-links a { color: var(--teal-mid); }

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0 1.5rem;
  border-bottom: 2px solid transparent;
  margin-left: 0.75rem;
  font-size: 0.75rem;
}
.nav-links .nav-cta:hover { background: var(--orange-mid); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--teal); }

/* ===========================
   HERO
=========================== */
.hero {
  background: var(--teal);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Subtle geometric accents */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border: 1px solid rgba(232,88,26,0.12);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border: 1px solid rgba(232,88,26,0.08);
  border-radius: 50%;
}

.hero-centered {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 2rem 7rem;
  position: relative;
  z-index: 1;
}


.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.75rem;
  letter-spacing: -0.03em;
  text-align: center;
}

.hero-headline-xl {
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  text-align: left;
}

.hero-headline em {
  font-style: italic;
  color: var(--orange);
}

.hero-body-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Keep old split hero vars but they're no longer used */
.hero-body   { display: none; }
.hero-left   { display: none; }
.hero-right  { display: none; }

/* ===========================
   RULE DIVIDER
=========================== */
.rule-divider {
  height: 1px;
  background: var(--stone);
}

/* ===========================
   SERVICES STRIP
=========================== */
.services-strip {
  background: var(--offwhite);
  padding: 2rem 0;
}

.services-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

.strip-item {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  border-right: 1px solid var(--stone);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  white-space: nowrap;
}

.strip-item:last-child { border-right: none; }

/* ===========================
   TWO-COL CONTENT
=========================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.split-grid.thirds {
  grid-template-columns: 1fr 2fr;
}

.split-col {
  padding: 7rem 5rem;
}

.split-col-left {
  background: var(--teal);
  color: var(--white);
}

.split-col-right {
  background: var(--white);
}

/* ===========================
   CARDS
=========================== */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--stone);
}

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  padding: 2.5rem;
  transition: background var(--transition);
}

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

.card-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mid);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 1.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.card-link:hover { border-bottom-color: var(--orange); }

/* ===========================
   PACKAGES
=========================== */
.packages-wrap {
  background: var(--offwhite);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
}

.pkg-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
  position: relative;
}

.pkg-card:hover { background: var(--offwhite); }

.pkg-card.featured {
  background: var(--teal);
  color: var(--white);
}

.pkg-featured-tag {
  position: absolute;
  top: 0; left: 2.5rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
}

.pkg-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.pkg-price {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pkg-card.featured .pkg-price { color: var(--white); }

.pkg-period {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 2rem;
}

.pkg-card.featured .pkg-period { color: rgba(255,255,255,0.45); }

.pkg-divider {
  height: 1px;
  background: var(--stone);
  margin-bottom: 2rem;
}

.pkg-card.featured .pkg-divider { background: rgba(255,255,255,0.1); }

.pkg-features {
  list-style: none;
  flex: 1;
  margin-bottom: 2.5rem;
}

.pkg-features li {
  font-size: 0.88rem;
  color: var(--teal-mid);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--stone);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pkg-card.featured .pkg-features li {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.08);
}

.pkg-features li:last-child { border-bottom: none; }

.pkg-check {
  width: 16px;
  height: 16px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.pkg-check::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.founder-content-col {
  padding: 5rem;
  background: var(--offwhite);
}

.founder-content-col .display-sm {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
}

.founder-content-col .body-md {
  font-size: 1.05rem;
  line-height: 1.8;
}

.founder-cta-gap {
  background: var(--white);
  height: 5rem;
}
/* ===========================
   ABOUT / MISSION
=========================== */
.mission-wrap {
  background: var(--teal);
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 3rem;
}

.value-item {
  padding: 1.5rem 2rem;
  background: transparent;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}

.value-item:hover {
  background: rgba(232,88,26,0.08);
  border-left-color: var(--orange);
}

.value-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.value-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ===========================
   FOUNDER
=========================== */
.founder-wrap {
  background: var(--white);
}

.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  min-height: 600px;
}

.founder-photo-col {
  position: relative;
  overflow: hidden;
}

.founder-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
}

.founder-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, var(--teal) 0%, transparent 100%);
}

.founder-name-tag {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.founder-role-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 0.2rem;
}

.founder-content-col {
  padding: 5rem;
  background: var(--offwhite);
}

.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--stone);
  margin-top: 2.5rem;
}

.qual-item {
  padding: 1.5rem;
  background: var(--white);
}

.qual-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.qual-value {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 500;
  line-height: 1.4;
}

/* ===========================
   PILLARS (About page)
=========================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
}

.pillar-item {
  padding: 2.5rem;
  background: var(--white);
  transition: background var(--transition);
}

.pillar-item:hover { background: var(--offwhite); }

.pillar-num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.pillar-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ===========================
   SERVICES (detail page) — NEW DESIGN
=========================== */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--stone);
  transition: all var(--transition);
}

.service-item:first-child { border-top: 1px solid var(--stone); }

.service-item-num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
}

.service-item-body {}

.service-item-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.service-item-desc {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
  max-width: 560px;
}

.service-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: var(--offwhite);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--stone);
}

.service-item-cta {
  padding-top: 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }
  .service-item-cta {
    grid-column: 2;
    padding-top: 0;
  }
}

/* ===========================
   CTA SECTIONS
=========================== */
.cta-section {
  background: var(--orange);
  padding: 6rem 0;
}

.cta-section-dark {
  background: var(--teal);
  padding: 6rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ===========================
   NEWSLETTER
=========================== */
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
}

.nl-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
  cursor: pointer;
}

.nl-card:hover { background: var(--offwhite); }

.nl-card-top {
  padding: 2rem;
  border-bottom: 1px solid var(--stone);
  flex: 1;
}

.nl-date {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.nl-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.nl-excerpt {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--mid);
}

.nl-card-foot {
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nl-read {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Subscribe form */
.subscribe-bar {
  background: var(--teal);
  padding: 4rem 0;
}

.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.subscribe-form {
  display: flex;
  gap: 0;
}

.subscribe-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.subscribe-form input::placeholder { color: rgba(255,255,255,0.35); }
.subscribe-form input:focus { border-color: var(--orange); }

.subscribe-form button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 1rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.subscribe-form button:hover { background: var(--orange-mid); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,58,58,0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  max-width: 700px;
  width: 100%;
  padding: 4rem;
  position: relative;
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 2rem; right: 2rem;
  width: 36px; height: 36px;
  background: var(--offwhite);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--stone); }

.modal-date {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.modal-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--teal-mid);
}
.modal-content p { margin-bottom: 1.25rem; }
.modal-content strong { color: var(--teal); font-weight: 600; }

.modal-foot {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================
   CONTACT
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
}

.contact-info-col {
  padding: 6rem 5rem;
  background: var(--teal);
  color: var(--white);
}

.contact-form-col {
  padding: 6rem 5rem;
  background: var(--white);
}

.contact-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-item:last-of-type { border-bottom: none; }

.contact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.contact-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.contact-value a { color: inherit; transition: color var(--transition); }
.contact-value a:hover { color: var(--orange); }

.social-row {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,88,26,0.1);
}

/* Form */
.form-field { margin-bottom: 1.25rem; }

.form-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--stone);
  border-bottom: 2px solid var(--stone);
  background: var(--offwhite);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--teal);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--stone);
  border-bottom-color: var(--orange);
  background: var(--white);
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success-msg {
  display: none;
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: #166534;
  font-weight: 500;
  margin-top: 1rem;
}

/* ===========================
   PAGE HEADER
=========================== */
.page-header {
  background: var(--teal);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: rgba(232,88,26,0.05);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.7;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
}

.footer-top {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}



.footer-logo-wrap img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}


.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.footer-brand-sub {
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ===========================
   ADMIN
=========================== */
.admin-layout {
  min-height: 100vh;
  background: var(--offwhite);
}

.admin-top {
  background: var(--teal);
  padding: 1.25rem 0;
}

.admin-body { max-width: 900px; margin: 3rem auto; padding: 0 2rem; }

.admin-block {
  background: var(--white);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.admin-block-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone);
}

.admin-nl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone);
}

.admin-nl-row:last-child { border-bottom: none; }
.admin-nl-row-title { font-weight: 600; font-size: 0.9rem; color: var(--teal); }
.admin-nl-row-date { font-size: 0.78rem; color: var(--mid); margin-top: 0.15rem; }
.admin-nl-actions { display: flex; gap: 0.5rem; }

.admin-btn {
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.admin-btn-edit { background: var(--offwhite); color: var(--teal); border-color: var(--stone); }
.admin-btn-edit:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.admin-btn-del { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.admin-btn-del:hover { background: #dc2626; color: var(--white); border-color: #dc2626; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section {
  background: var(--offwhite);
  padding: 7rem 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
  margin-top: 4rem;
}

.testi-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background var(--transition);
}

.testi-card:hover { background: var(--offwhite); }

.testi-quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.3;
  margin-bottom: -1rem;
}

.testi-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--teal);
  flex: 1;
}

.testi-divider {
  height: 1px;
  background: var(--stone);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal);
  line-height: 1.2;
}

.testi-role {
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ===========================
   TEMPLATE FILTERS
=========================== */
.filter-btn {
  padding: 0.55rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--stone);
  background: var(--white);
  color: var(--teal-mid);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

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

.anim-fade-up { animation: fadeUp 0.7s ease both; }
.anim-delay-1 { animation-delay: 0.12s; }
.anim-delay-2 { animation-delay: 0.24s; }
.anim-delay-3 { animation-delay: 0.36s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .hero-body           { grid-template-columns: 1fr; }
  .hero-left::after    { display: none; }
  .hero-left           { padding: 5rem 0 3rem; }
  .hero-right          { padding: 0 0 5rem; }
  .split-grid          { grid-template-columns: 1fr; }
  .split-col           { padding: 4rem 2rem; }
  .card-grid-3         { grid-template-columns: 1fr 1fr; }
  .packages-grid       { grid-template-columns: 1fr; }
  .founder-grid        { grid-template-columns: 1fr; }
  .founder-photo-col   { height: 420px; }
  .founder-content-col { padding: 3.5rem 2rem; }
  .contact-grid        { grid-template-columns: 1fr; }
  .contact-info-col    { padding: 4rem 2rem; }
  .contact-form-col    { padding: 4rem 2rem; }
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .pillars-grid        { grid-template-columns: 1fr 1fr; }
  .newsletter-grid     { grid-template-columns: 1fr 1fr; }
  .subscribe-inner     { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    background: var(--teal);
    padding: 5rem 2rem 2rem;
    gap: 0;
    z-index: 899;
    align-items: flex-start;
    
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.1rem;
    height: auto;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  }
  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 1.5rem;
    background: var(--orange);
    width: 100%;
    justify-content: center;
    border-bottom: none !important;
  }
  .hamburger { display: flex; z-index: 1000; }
  .card-grid-3  { grid-template-columns: 1fr; }
  .card-grid-2  { grid-template-columns: 1fr; }
  .form-row-2   { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .pillars-grid   { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  .service-row     { grid-template-columns: 1fr; }
  .service-row-label { border-right: none; border-bottom: 1px solid var(--stone); }
  .qual-grid       { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .cta-inner       { flex-direction: column; text-align: center; }
  .hero-left, .hero-right { padding: 4rem 0; }
  .section { padding: 5rem 0; }
  .split-col { padding: 3rem 1.5rem; }
  .split-grid.thirds { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* ===========================
   TEMPLATE CARDS
=========================== */
.tpl-card {
  background: var(--white);
  transition: background var(--transition), box-shadow var(--transition);
}

.tpl-card:hover {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  z-index: 1;
  position: relative;
}

.tpl-card-inner {
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tpl-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13, 92, 99, 0.07);
  padding: 0.3rem 0.65rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.tpl-card .card-title {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.tpl-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  border-top: 1px solid var(--stone);
  transition: color var(--transition), gap var(--transition);
}

.tpl-download-btn:hover {
  color: var(--dark);
  gap: 0.75rem;
}

/* ===========================
   MOBILE RESPONSIVE FIXES
=========================== */

/* Templates section header (newsletter.html) */
@media (max-width: 768px) {
  /* Templates section 2-col header */
  #templates .container > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Template cards grid */
  .card-grid-3 {
    grid-template-columns: 1fr !important;
  }

  /* Filter bar */
  #templateFilters {
    gap: 0.4rem !important;
  }

  /* Templates teaser on index.html — outer grid */
  section[style*="var(--dark)"] .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Templates teaser — inner 2x2 preview grid */
  section[style*="var(--dark)"] div[style*="grid-template-columns:1fr 1fr;gap:1px"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Newsletter teaser section on index.html */
  section[style*="var(--teal)"] .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* About page — mission/vision 2-col */
  div[style*="grid-template-columns:1fr 1fr"][style*="background:var(--teal)"],
  div[style*="grid-template-columns:1fr 1fr"][style*="background:var(--dark)"] {
    grid-template-columns: 1fr !important;
  }

  /* About page — who we are stats */
  div[style*="grid-template-columns:1fr 1fr;gap:5rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* General: any inline 2-col grid with 5rem gap not already handled */
  div[style*="grid-template-columns:1fr 1fr;gap:5rem;align-items:center"],
  div[style*="grid-template-columns:1fr 1fr;gap:5rem;align-items:end"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Also catch 480px and below for tighter layouts */
@media (max-width: 480px) {
  /* Templates teaser inner grid — stack fully on very small screens */
  section[style*="var(--dark)"] div[style*="grid-template-columns:1fr 1fr;gap:1px"] {
    grid-template-columns: 1fr !important;
  }

  .tpl-card-inner {
    padding: 1.5rem 1.5rem 1.25rem !important;
  }

  /* Tighter padding on template stat boxes */
  div[style*="border-left:3px solid var(--teal)"],
  div[style*="border-left:3px solid var(--orange)"] {
    padding: 1rem 1.25rem !important;
  }
}

