/* ============================================================
   ARTHEALOS — Purpose-driven creation
   B2B landing page · Design system
   ============================================================ */

:root{
  --teal:        #0D7377;
  --teal-dark:   #0A5C5F;
  --teal-deep:   #084749;
  --gold:        #C9A84C;
  --gold-deep:   #A8862E;
  --navy:        #1A2E44;
  --navy-soft:   #2C435C;
  --bg:          #FAFAF8;
  --teal-tint:   #E6F4F5;
  --gold-tint:   #FDF6E3;
  --ink:         #233044;          /* body text */
  --ink-soft:    #4E5C6E;
  --line:        #E4E2DA;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(26,46,68,.06);
  --shadow:    0 14px 40px -18px rgba(26,46,68,.22);
  --shadow-lg: 0 26px 60px -22px rgba(26,46,68,.30);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

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

/* ---------- shared layout ---------- */
.wrap{
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 40px;
}
.section{ padding-block: 110px; position: relative; }
.eyebrow{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.section-head{ max-width: 720px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(34px, 4.4vw, 54px); }
.section-head p{
  margin-top: 18px; color: var(--ink-soft);
  font-size: 18px; max-width: 56ch;
}

/* ---------- buttons ---------- */
.btn{
  --btn-pad-y: 15px; --btn-pad-x: 30px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg{ width: 18px; height: 18px; }
.btn-teal{ background: var(--teal); color: #fff; }
.btn-teal:hover{ background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(13,115,119,.6); }
.btn-ghost{ background: transparent; color: var(--teal); border-color: rgba(13,115,119,.4); }
.btn-ghost:hover{ background: var(--teal-tint); border-color: var(--teal); }
.btn-gold{ background: transparent; color: var(--gold-deep); border-color: var(--gold); }
.btn-gold:hover{ background: var(--gold-tint); border-color: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost-light{ background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover{ background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity: 1; transform: none; }
.reveal.d1{ transition-delay: .08s; }
.reveal.d2{ transition-delay: .16s; }
.reveal.d3{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner{
  max-width: var(--maxw); margin-inline: auto;
  padding: 22px 40px; display: flex; align-items: center; gap: 32px;
  transition: padding .35s var(--ease);
}
.nav.scrolled{
  background: rgba(250,250,248,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(26,46,68,.5);
}
.nav.scrolled .nav-inner{ padding-block: 14px; }

.logo{ display: flex; align-items: center; gap: 11px; margin-right: auto; }
.logo .mark{ height: 40px; width: auto; flex: none; display: block; }
.logo .word{ font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--navy); letter-spacing: .01em; }

.nav-links{ display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a{
  font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding-block: 4px;
  white-space: nowrap;
}
.nav-links a::after{
  content:""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--teal); transition: right .3s var(--ease);
}
.nav-links a:hover{ color: var(--teal); }
.nav-links a:hover::after{ right: 0; }

.nav-cta{ display: flex; align-items: center; gap: 14px; }
.hamburger{
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
  color: var(--navy);
}
.hamburger svg{ width: 22px; height: 22px; }

/* mobile drawer */
.drawer-backdrop{
  position: fixed; inset: 0; z-index: 70; background: rgba(26,46,68,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.drawer-backdrop.open{ opacity: 1; pointer-events: auto; }
.drawer{
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(86vw, 360px);
  background: var(--teal); color: #fff; transform: translateX(100%);
  transition: transform .4s var(--ease); padding: 30px 30px 40px;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer.open{ transform: none; }
.drawer .drawer-top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer .word{ font-family: var(--serif); font-weight: 700; font-size: 22px; color: #fff; }
.drawer-close{ background: rgba(255,255,255,.14); border: none; color: #fff; width: 42px; height: 42px; border-radius: 11px; cursor: pointer; display:flex;align-items:center;justify-content:center; }
.drawer-close svg{ width: 20px; height: 20px; }
.drawer a{ font-size: 19px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer .btn{ margin-top: 22px; justify-content: center; background: #fff; color: var(--teal); }
.drawer .btn:hover{ background: var(--gold-tint); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding-top: 150px; padding-bottom: 90px; position: relative; overflow: hidden; }
.hero-grid{
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero h1{
  font-size: clamp(52px, 7vw, 96px); line-height: .98; letter-spacing: -0.02em;
}
.hero h1 .slash{ color: var(--gold); font-weight: 500; }
.hero h1 .pl{ display: block; }
.hero-sub{
  margin-top: 30px; font-size: 19.5px; color: var(--ink-soft); max-width: 50ch; line-height: 1.6;
}
.hero-cta{ margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-media{ position: relative; }
.hero-media .frame{
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4;
}
.hero-media image-slot{ width: 100%; height: 100%; }
.hero-media .hero-img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.gold-wash{
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(201,168,76,.28), rgba(201,168,76,0) 55%),
              linear-gradient(0deg, rgba(26,46,68,.22), rgba(26,46,68,0) 40%);
  mix-blend-mode: multiply;
}
.compass-watermark{
  position: absolute; pointer-events: none; z-index: 0;
}
.hero .compass-watermark{
  width: 620px; height: 620px; color: var(--teal);
  opacity: .05; right: -160px; top: -80px;
}
.hero-media .badge{
  position: absolute; left: -26px; bottom: 40px; z-index: 3;
  background: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 13px;
  border-left: 4px solid var(--gold); max-width: 250px;
}
.hero-media .badge .ico{ width: 36px; height: 36px; color: var(--teal); flex: none; }
.hero-media .badge b{ font-family: var(--serif); font-size: 22px; color: var(--navy); display:block; line-height:1; }
.hero-media .badge span{ font-size: 12.5px; color: var(--ink-soft); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust{ background: var(--teal-tint); }
.trust-inner{
  max-width: var(--maxw); margin-inline: auto; padding: 22px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px;
}
.trust-item{ display: flex; align-items: center; gap: 10px; color: var(--teal-deep); font-weight: 500; font-size: 14.5px; }
.trust-item svg{ width: 20px; height: 20px; color: var(--teal); flex: none; }
.trust-dot{ width: 4px; height: 4px; border-radius: 50%; background: rgba(13,115,119,.4); }
@media (max-width: 880px){ .trust-dot{ display:none; } }

/* ============================================================
   THREE PILLARS
   ============================================================ */
.pillars-grid{ position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; }
.pillar-connector{ position: absolute; top: 30px; left: 8%; width: 84%; height: 80px; pointer-events: none; color: var(--teal); z-index: 0; }
.pillar{ position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.pillar .num-ico{
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--teal); color: var(--teal);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.pillar .num-ico svg{ width: 32px; height: 32px; }
.pillar .num-ico .n{
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.pillar h3{ font-size: 25px; margin-bottom: 12px; }
.pillar p{ color: var(--ink-soft); font-size: 16px; }

/* ============================================================
   PRODUCT VERTICALS
   ============================================================ */
.cards-row{ display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.pcard{
  background: #fff; border-radius: var(--radius-lg); padding: 38px 34px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  border-left: 4px solid var(--card, var(--teal));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex; flex-direction: column;
}
.pcard:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); border-left-color: var(--gold); }
.pcard .pico{
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; color: var(--card, var(--teal)); background: color-mix(in srgb, var(--card, var(--teal)) 12%, #fff);
}
.pcard .pico svg{ width: 30px; height: 30px; }
.pcard h3{ font-size: 27px; margin-bottom: 14px; }
.pcard p{ color: var(--ink-soft); font-size: 16px; flex: 1; }
.pcard .arrow{
  margin-top: 26px; display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; color: var(--teal);
}
.pcard .arrow svg{ width: 17px; height: 17px; transition: transform .3s var(--ease); }
.pcard:hover .arrow{ color: var(--gold-deep); }
.pcard:hover .arrow svg{ transform: translateX(5px); }

/* ============================================================
   PARTNERSHIP TIMELINE
   ============================================================ */
.timeline{ position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.timeline-line{ position: absolute; top: 33px; left: 11%; width: 78%; height: 2px; z-index: 0; pointer-events: none; }
.tstep{ position: relative; z-index: 1; text-align: center; }
.tstep .dot{
  width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -14px rgba(13,115,119,.7); position: relative;
}
.tstep .dot svg{ width: 28px; height: 28px; }
.tstep .dot .n{
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: var(--teal); border: 1.5px solid var(--teal);
  font-family: var(--serif); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.tstep h3{ font-size: 21px; margin-bottom: 8px; }
.tstep p{ color: var(--ink-soft); font-size: 15px; }

/* ============================================================
   PRODUCT SPOTLIGHT
   ============================================================ */
.spotlight{ background: #fff; }
.spot-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot-media .frame{ position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4.2; }
.spot-media image-slot{ width: 100%; height: 100%; }
.spot-media .spot-img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }
.spot-text{ padding-left: 32px; border-left: 3px solid var(--gold); }
.spot-text h2{ font-size: clamp(34px, 4.2vw, 52px); }
.spot-text p{ margin-top: 20px; color: var(--ink-soft); font-size: 19px; max-width: 46ch; }
.spot-text .btn{ margin-top: 32px; }

/* ============================================================
   IMPACT NUMBERS
   ============================================================ */
.impact{ background: var(--teal); color: #fff; overflow: hidden; }
.impact .compass-watermark{ width: 760px; height: 760px; color: #fff; opacity: .06; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.impact-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat .num{ font-family: var(--serif); font-weight: 700; font-size: clamp(48px, 6vw, 74px); color: var(--gold); line-height: 1; }
.stat .lbl{ margin-top: 12px; font-size: 15.5px; color: rgba(255,255,255,.88); font-weight: 500; }
.impact-sep{ width: 1px; background: rgba(255,255,255,.18); }
.impact-divider{ display:flex; align-items: center; justify-content: center; }

/* ============================================================
   CSR ALIGNMENT
   ============================================================ */
.csr{ background: var(--gold-tint); }
.csr-grid{ display: grid; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; }
.csr h2{ font-size: clamp(34px,4.2vw,52px); }
.csr p{ margin-top: 18px; color: var(--ink-soft); font-size: 18px; max-width: 52ch; }
.csr-badges{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill-badge{
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 17px;
  border-radius: 999px; background: rgba(13,115,119,.1); color: var(--teal-deep);
  font-weight: 600; font-size: 14px; border: 1px solid rgba(13,115,119,.2);
}
.pill-badge svg{ width: 15px; height: 15px; }
.csr .btn{ margin-top: 34px; }
.csr-card{
  background: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.csr-card .row{ display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.csr-card .row:last-child{ border-bottom: none; padding-bottom: 0; }
.csr-card .row .ico{ width: 40px; height: 40px; border-radius: 11px; background: var(--teal-tint); color: var(--teal); display:flex; align-items:center; justify-content:center; flex: none; }
.csr-card .row .ico svg{ width: 20px; height: 20px; }
.csr-card .row b{ font-family: var(--serif); font-size: 19px; color: var(--navy); display: block; }
.csr-card .row span{ font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-card{
  max-width: 920px; margin-inline: auto; background: var(--bg);
  border-radius: var(--radius-lg); padding: 60px clamp(36px,6vw,80px); text-align: center;
  border-left: 4px solid var(--teal); box-shadow: var(--shadow-sm); position: relative;
}
.quote-card .qmark{ font-family: var(--serif); font-size: 130px; line-height: .6; color: var(--teal); opacity: .9; height: 56px; }
.quote-card blockquote{
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy); margin: 0; line-height: 1.32; font-weight: 500;
}
.quote-card .attr{ margin-top: 30px; }
.quote-card .attr b{ color: var(--navy); font-weight: 700; font-size: 16px; }
.quote-card .attr span{ display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 3px; }

/* ============================================================
   PARTNER LOGOS
   ============================================================ */
.logos-head{ text-align: center; margin-bottom: 44px; }
.logos-head .eyebrow{ margin-bottom: 0; }
.logos-row{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.logo-tile{
  width: 180px; height: 84px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: #9aa3ad; filter: grayscale(1); opacity: .72;
  transition: all .35s var(--ease); font-weight: 600;
}
.logo-tile svg{ width: 26px; height: 26px; }
.logo-tile span{ font-family: var(--serif); font-size: 18px; }
.logo-tile:hover{ filter: none; opacity: 1; color: var(--teal); border-color: var(--teal-tint); box-shadow: var(--shadow-sm); transform: translateY(-3px); }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing{ display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.closing-text{ background: var(--teal-tint); display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(40px,6vw,96px); }
.closing-text h2{ font-size: clamp(36px,4.6vw,58px); max-width: 14ch; }
.closing-text p{ margin-top: 20px; color: var(--ink-soft); font-size: 19px; max-width: 44ch; }
.closing-cta{ margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.closing-media{ position: relative; overflow: hidden; }
.closing-media image-slot{ width: 100%; height: 100%; min-height: 380px; }
.closing-media .closing-img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--navy); color: rgba(255,255,255,.72); }
.footer-main{ padding: 76px 0 50px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer .f-brand .logo .word{ color: #fff; }
.footer .f-brand .logo .mark{ height: 46px; }
.footer .f-brand p{ margin-top: 18px; font-size: 14.5px; max-width: 30ch; line-height: 1.6; }
.footer h4{ color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a{ font-size: 14.5px; transition: color .25s var(--ease); }
.footer ul a:hover{ color: var(--gold); }

.footer-contact{
  border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(13,115,119,.16); padding: 34px 0;
}
.contact-grid{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.contact-grid address{ font-style: normal; font-weight: 300; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 36ch; }
.contact-right{ display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact-email{ color: #fff; font-weight: 500; font-size: 15px; }
.contact-email a{ color: #fff; border-bottom: 1px solid transparent; transition: all .25s var(--ease); }
.contact-email a:hover{ color: var(--teal); border-bottom-color: var(--teal); }
.socials{ display: flex; gap: 20px; }
.socials a{ width: 22px; height: 22px; color: rgba(255,255,255,.7); transition: color .25s var(--ease); }
.socials a:hover{ color: #fff; }
.socials svg{ width: 22px; height: 22px; }

.footer-bottom{ padding: 26px 0; }
.bottom-grid{ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.bottom-grid .copy{ font-size: 13px; color: rgba(255,255,255,.55); }
.bottom-grid .tag{ font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); text-align: center; }
.bottom-grid .legal{ font-size: 13px; color: rgba(255,255,255,.55); text-align: right; display: flex; gap: 16px; justify-content: flex-end; }
.bottom-grid .legal a:hover{ color: rgba(255,255,255,.85); }

/* ============================================================
   LEAD-CAPTURE MODAL
   ============================================================ */
.modal-backdrop{
  position: fixed; inset: 0; z-index: 90; background: rgba(26,46,68,.5);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-backdrop.open{ opacity: 1; pointer-events: auto; }
.modal{
  background: var(--bg); border-radius: var(--radius-lg); width: min(540px, 100%);
  box-shadow: var(--shadow-lg); padding: 40px clamp(28px,4vw,46px); position: relative;
  transform: translateY(20px) scale(.98); transition: transform .35s var(--ease);
  max-height: 92vh; overflow-y: auto;
}
.modal-backdrop.open .modal{ transform: none; }
.modal .compass-watermark{ width: 220px; height: 220px; color: var(--teal); opacity: .05; right: -40px; top: -40px; }
.modal-close{ position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; color: var(--navy); display:flex;align-items:center;justify-content:center; z-index:2; }
.modal-close svg{ width: 19px; height: 19px; }
.modal .eyebrow{ margin-bottom: 10px; }
.modal h3{ font-size: 30px; position: relative; z-index: 1; }
.modal h3 + p{ margin-top: 8px; color: var(--ink-soft); font-size: 15.5px; position: relative; z-index: 1; }
.modal form{ margin-top: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.field label{ display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label .req{ color: var(--teal); }
.field input, .field textarea{
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,115,119,.14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"]{ border-color: #C0492F; box-shadow: 0 0 0 3px rgba(192,73,47,.13); }
.field .err{ color: #C0492F; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid .err{ display: block; }
.modal form .btn{ justify-content: center; margin-top: 6px; }
.modal .form-note{ font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.modal-success{ text-align: center; padding: 20px 0; position: relative; z-index: 1; }
.modal-success .check{ width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display:flex;align-items:center;justify-content:center; }
.modal-success .check svg{ width: 32px; height: 32px; }
.modal-success h3{ margin-bottom: 8px; }
.modal-success p{ color: var(--ink-soft); }
[hidden]{ display: none !important; }

/* skip link */
.skip{ position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--teal); color:#fff; padding: 10px 18px; border-radius: 8px; }
.skip:focus{ left: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px){
  .hero-grid{ grid-template-columns: 1fr; gap: 44px; }
  .hero-media{ max-width: 520px; }
  .csr-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 1024px){
  .nav-links, .nav-cta .btn{ display: none; }
  .hamburger{ display: flex; }
}
@media (max-width: 900px){
  .pillars-grid{ grid-template-columns: 1fr; gap: 40px; max-width: 440px; margin-inline: auto; }
  .pillar-connector{ display: none; }
  .timeline{ grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .timeline-line{ display: none; }
  .spot-grid{ grid-template-columns: 1fr; gap: 40px; }
  .spot-text{ padding-left: 24px; }
  .impact-grid{ grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .impact-divider{ display: none; }
  .closing{ grid-template-columns: 1fr; }
  .closing-media{ min-height: 320px; order: -1; }
}
@media (max-width: 760px){
  .section{ padding-block: 80px; }
  .wrap{ padding-inline: 24px; }
  .nav-inner{ padding-inline: 24px; }
  .cards-row{ grid-template-columns: 1fr; }
  .bottom-grid{ grid-template-columns: 1fr; text-align: center; gap: 14px; }
  .bottom-grid .legal{ justify-content: center; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px){
  .hero h1{ font-size: 48px; }
  .timeline{ grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .impact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
}
