:root {
  /* Colors */
  --cream: #F6F1EA;
  --warm-white: #FAF7F3;
  --stone: #E8E0D5;
  --taupe: #9B8B7A;
  --charcoal: #1C1917;
  --mid: #4A413B;
  --accent: #E8627A;
  --accent-light: #F2A4B0;
  --accent-pale: #FAE8EC;

  /* Font Families */
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Nunito Sans', sans-serif;

  /* Normalized Font Sizes */
  --fs-hero: clamp(3rem, 6vw, 5rem);
  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(2rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
}


.nunito-sans-400-normal {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 107.9,
    "YTLC" 500;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 243, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(155, 139, 122, 0.12);
  transition: all 0.4s ease;
}

.logo-wrap img {
  height: 36px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.25s;
}

nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--charcoal);
  color: var(--warm-white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.25s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--warm-white) !important;
}

/* ── HERO ── */
#hero {
  /* min-height: 100vh; */
  display: flex;
  /* grid-template-columns: 1fr 1fr; */
  flex-direction: row;
  justify-content: center;
  padding: 8rem 4rem 4rem 4rem;
  position: relative;
  overflow: hidden;
  align-content: center;
  flex-wrap: wrap;
}

.hero-bg-circle {
  position: absolute;
  top: -10vw;
  right: -8vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--accent-pale) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: var(--fs-body);
  color: var(--mid);
  line-height: 1.8;
  max-width: 45ch;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--charcoal);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--charcoal);
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.btn-primary:hover {
  background: transparent;
  color: var(--charcoal);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--stone);
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--charcoal);
}

/* ── SECTION LAYOUT ── */
section {
  padding: 7rem 4rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

h2 em {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: var(--fs-h3);
  color: var(--mid);
  max-width: 60ch;
  line-height: 1.6;
}

/* ── ABOUT / MISSION ── */
#about {
  background: var(--charcoal);
  color: var(--cream);
}

#about .section-tag {
  color: var(--accent-light);
}

#about .section-tag::before {
  background: var(--accent-light);
}

#about h2 {
  color: var(--cream);
}

#about h2 em {
  color: var(--accent-light);
}

#about .lead {
  color: rgba(246, 241, 234, 0.7);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  /* align-items: center; */
  margin-top: 4rem;
}

.about-quote {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-details {
  font-size: var(--fs-body);
  color: rgba(246, 241, 234, 0.55);
  line-height: 1.8;
}

.about-address {
  font-size: var(--fs-body-sm);
  line-height: 1.8;
  color: rgba(246, 241, 234, 0.45);
  font-style: normal;
  margin-top: 1.5rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pillar {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pillar-num {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.pillar-title {
  font-family: var(--sans);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.pillar-text {
  font-size: var(--fs-body);
  color: rgba(246, 241, 234, 0.65);
  line-height: 1.7;
}

/* ── PROBLEM ── */
#problem {
  background: var(--cream);
}

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

blockquote {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.4;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
  margin: 0;
}

.problem-text p {
  color: var(--mid);
  font-size: var(--fs-body);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

/* ── PRODUCT ── */
#product {
  background: var(--warm-white);
}

.product-header {
  margin-bottom: 5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--stone);
  border: 1px solid var(--stone);
  margin-bottom: 5rem;
}

.feature-card {
  background: var(--warm-white);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--accent-pale);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.feature-title {
  font-family: var(--sans);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: var(--fs-body);
  color: var(--mid);
  line-height: 1.7;
}

.product-manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.manifesto-left {
  background: var(--charcoal);
  padding: 3.5rem;
}

.manifesto-left p {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
}

.manifesto-right {
  background: var(--accent);
  padding: 3.5rem;
  display: flex;
  align-items: center;
}

.manifesto-right p {
  font-family: var(--sans);
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-weight: 300;
}

/* ── MARKET ── */
#market {
  background: var(--cream);
}

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

.market-card {
  background: var(--cream);
  padding: 3rem 2.5rem;
}

.market-label {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.market-num {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.market-desc {
  font-size: var(--fs-body);
  color: var(--taupe);
  line-height: 1.6;
}

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

.why-item {
  padding: 2.5rem;
  border: 1px solid var(--stone);
  transition: border-color 0.3s, transform 0.3s;
}

.why-item:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.why-item-title {
  font-family: var(--sans);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.why-item-text {
  font-size: var(--fs-body);
  color: var(--mid);
  line-height: 1.7;
}

/* ── COMPETITIVE ── */
#competitive {
  background: var(--warm-white);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
}

.comp-table th {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: left;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--stone);
  background: var(--cream);
}

.comp-table td {
  font-size: var(--fs-body);
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--stone);
  color: var(--mid);
  vertical-align: top;
  line-height: 1.6;
}

.comp-table tr.lotus-row td {
  background: var(--accent-pale);
  font-weight: 400;
  color: var(--charcoal);
}

.comp-table tr.lotus-row td:first-child {
  font-weight: 500;
  color: var(--accent);
}

.dot-yes {
  color: var(--accent);
  font-size: 1.2rem;
}

.dot-partial {
  color: var(--taupe);
  font-size: 1.2rem;
}

.dot-no {
  color: var(--stone);
  font-size: 1.2rem;
}

/* ── GTM ── */
#gtm {
  background: var(--charcoal);
}

#gtm .section-tag {
  color: var(--accent-light);
}

#gtm .section-tag::before {
  background: var(--accent-light);
}

#gtm h2 {
  color: var(--cream);
}

#gtm h2 em {
  color: var(--accent-light);
}

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

.gtm-card {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.gtm-card::before {
  content: attr(data-num);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: var(--serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.gtm-phase {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.gtm-title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.gtm-text {
  font-size: var(--fs-body);
  color: rgba(246, 241, 234, 0.55);
  line-height: 1.7;
}

/* ── TIMELINE ── */
#timeline {
  background: var(--cream);
}

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

.timeline-cell {
  background: var(--cream);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.3s;
}

.timeline-cell.active {
  background: var(--warm-white);
  border-top: 2px solid var(--accent);
}

.timeline-q {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--charcoal);
}

/* ── TEAM ── */
#team {
  background: var(--warm-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  justify-items: center;
}

.team-card {
  text-align: center;
  max-width: 400px;
}

.team-avatar {

  display: flex;
  align-items: center;
  justify-content: center;

}
.founder-img {
 width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #ddd;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.team-name {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.team-location {
  font-size: var(--fs-body-sm);
  color: var(--taupe);
  letter-spacing: 0.05em;
  /* margin-bottom: 1rem; */
  text-transform: uppercase;
}

.team-bio {
  font-size: var(--fs-body);
  color: var(--mid);
  line-height: 1.75;
  text-align: left;
}

/* ── CONTACT CTA ── */
#contact {
  background: var(--accent-pale);
  padding: 7rem 4rem;
  text-align: center;
}

#contact h2 {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

#contact p {
  color: var(--mid);
  font-size: var(--fs-body);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

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

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(246, 241, 234, 0.6);
  padding: 5rem 4rem 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: var(--fs-body-sm);
  line-height: 1.8;

  color: rgba(246, 241, 234, 0.5);
  /* max-width: 28ch; */
}

.footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  font-size: var(--fs-body-sm);
  color: rgba(246, 241, 234, 0.5);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-address {
  font-size: var(--fs-body-sm);
  line-height: 1.8;
  color: rgba(246, 241, 234, 0.45);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--fs-body-sm);
  color: rgba(246, 241, 234, 0.35);
  letter-spacing: 0.05em;
}

.footer-mission {
  font-family: var(--serif);
  font-size: var(--fs-body);
  font-style: italic;
  color: var(--accent-light);
  opacity: 0.7;
}

/* ── DIVIDER ── */
.divider {
  width: 3rem;
  height: 1px;
  background: var(--stone);
  margin: 2rem 0;
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(1.5rem);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
  animation-delay: 0.25s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.4s;
}

.fade-in:nth-child(4) {
  animation-delay: 0.55s;
}

/* Intersection observer fade */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE NAV ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  header {
    padding: 1.25rem 2rem;
  }

  section {
    padding: 5rem 2rem;
  }

  #hero {
    padding: 6rem 2rem 3rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .problem-grid {
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  nav {
    display: none;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    height: 500px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-white);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }

  nav.open a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
    z-index: 101;
    position: relative;
  }

  #hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .product-manifesto {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .why-now-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .comp-table th,
  .comp-table td {
    padding: 0.75rem 0.75rem;
  }

  .gtm-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr 1fr;
  }

  #contact {
    padding: 5rem 2rem;
  }

  footer {
    padding: 3rem 2rem 2rem;
  }

  .manifesto-left,
  .manifesto-right {
    padding: 2.5rem 1.5rem;
  }

  .hero-eyebrow {
    margin-bottom: 1rem;
  }


  .contact-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Add a universal offset for all anchor links on the page */
html {
  scroll-padding-top: 50px;
  /* Adjust the value based on your fixed header's height */
}

canvas {
  background-color: transparent;
  /* Dark background before reveal */
  cursor: crosshair;
  max-width: 500px;
  /* Prevents the page from scrolling when touching the canvas on mobile */
  touch-action: none;
}


/* Contact form styles */


    .wrap {
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      background: #f7faf8;
      color: #1a3328;
      min-height: 100vh;
      padding: 3rem 1.25rem;
      text-align: start;
    }

    .wrap {
      max-width: 640px;
      margin: 0 auto;
      background: #fff;
      border-radius: 12px;
      border: 1px solid #d6e8df;
      padding: 2.5rem 2rem;
      h1 {
        font-size: 1.75rem;
        font-weight: 400;
        color: #1a3328;
        margin-bottom: .35rem;
        line-height: 1.25;
      }
    }

    .eyebrow {
      font-size: 11px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #5a8c72;
      font-weight: 500;
      margin-bottom: .5rem;
    }


    .subtitle {
      font-size: .9rem;
      color: #6b8c7a;
      margin-bottom: 2rem;
      line-height: 1.5;
    }

    /* ── Fields ── */
    .field { margin-bottom: 1.25rem; }

    label {
      display: block;
      font-size: .75rem;
      letter-spacing: .07em;
      text-transform: uppercase;
      color: #3d6e57;
      font-weight: 500;
      margin-bottom: .4rem;
    }

    .opt {
      font-size: .68rem;
      color: #9ab8ac;
      letter-spacing: .04em;
      text-transform: uppercase;
      margin-left: .4rem;
      font-weight: 400;
    }

    input, textarea {
      width: 100%;
      padding: .65rem .85rem;
      border: 1px solid #c8dbd4;
      border-radius: 6px;
      font-size: .95rem;
      color: #1a3328;
      background: #fff;
      transition: border .18s, box-shadow .18s;
      outline: none;
      font-family: inherit;
    }

    input:hover, textarea:hover { border-color: #a0c4b4; }

    input:focus, textarea:focus {
      border-color: #2d7a55;
      box-shadow: 0 0 0 3px rgba(45, 122, 85, .12);
    }

    input.error, textarea.error {
      border-color: #c0392b;
      box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
    }

    .err-msg {
      font-size: .78rem;
      color: #c0392b;
      margin-top: .35rem;
      display: none;
    }
    .err-msg.show { display: block; }

    textarea {
      resize: vertical;
      min-height: 130px;
      line-height: 1.55;
    }

    /* ── Extra fields ── */
    .extra-fields { margin-bottom: .5rem; }

    .extra-row {
      display: grid;
      grid-template-columns: 1fr 2fr auto;
      gap: .5rem;
      align-items: center;
      margin-bottom: .75rem;
    }

    .remove-btn {
      background: none;
      border: 1px solid #c8dbd4;
      border-radius: 5px;
      width: 32px;
      height: 38px;
      cursor: pointer;
      color: #9ab8ac;
      font-size: 1.2rem;
      flex-shrink: 0;
      transition: border-color .15s, color .15s;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .remove-btn:hover { border-color: #c0392b; color: #c0392b; }

    /* ── Add field btn ── */
    .add-btn {
      width: 100%;
      padding: .6rem 1rem;
      background: none;
      border: 1px dashed #c8dbd4;
      border-radius: 6px;
      color: #4a7060;
      font-size: .83rem;
      letter-spacing: .04em;
      cursor: pointer;
      transition: border-color .15s, color .15s, background .15s;
      margin-bottom: 1.75rem;
      font-family: inherit;
    }
    .add-btn:hover { border-color: #2d7a55; color: #2d7a55; background: #f3faf7; }

    /* ── Divider ── */
    hr { border: none; border-top: 1px solid #e8f0ed; margin: 1.5rem 0; }

    /* ── Submit ── */
    .submit-btn {
      width: 100%;
      padding: .85rem;
      background: #1a5c3a;
      border: none;
      border-radius: 6px;
      color: #fff;
      font-size: .95rem;
      font-weight: 500;
      letter-spacing: .06em;
      cursor: pointer;
      transition: background .18s;
      font-family: inherit;
    }
    .submit-btn:hover { background: #2d7a55; }
    .submit-btn:disabled { opacity: .65; cursor: not-allowed; }

    .spinner {
      display: inline-block;
      width: 14px;
      height: 14px;
      border: 2px solid rgba(255,255,255,.4);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin .7s linear infinite;
      margin-right: 8px;
      vertical-align: middle;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── Modal ── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .45);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s;
    }
    .modal-overlay.show { opacity: 1; pointer-events: all; }

    .modal {
      background: #fff;
      border-radius: 10px;
      padding: 2.25rem 2rem;
      max-width: 380px;
      width: 90%;
      text-align: center;
      transform: translateY(8px);
      transition: transform .2s;
    }
    .modal-overlay.show .modal { transform: translateY(0); }

    .modal-icon { font-size: 2.4rem; margin-bottom: .75rem; }

    .modal h2#modalTitle{
      font-size: 1.3rem;
      font-weight: 500;
      color: #1a3328;
      margin-bottom: .5rem;
    }

    .modal p {
      font-size: .9rem;
      color: #4a7060;
      line-height: 1.55;
      margin-bottom: 1.5rem;
    }

    .modal-close {
      background: #1a5c3a;
      border: none;
      color: #fff;
      padding: .65rem 1.75rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: .9rem;
      font-family: inherit;
      transition: background .15s;
    }
    .modal-close:hover { background: #2d7a55; }
