/* ============================================================
   GrayWell Path — styles
   Palette: fresh greens + warm amber accent, charcoal text
   ============================================================ */

:root {
  --green-900: #143028;
  --green-800: #1c4a3a;
  --green-700: #206049;
  --green-600: #2b7a5b;
  --green-500: #38a06f;
  --green-300: #86d1a8;
  --green-100: #e2f4ea;
  --green-50:  #f1faf4;

  --amber:     #f6a83c;
  --amber-600: #e8912a;
  --coral:     #f47b5b;

  --ink:       #16241f;
  --slate:     #4a5b53;
  --cream:     #fbf9f4;
  --white:     #ffffff;
  --line:      #e6e2d8;

  --accent:    var(--amber);

  --font-display: 'Clash Display', 'Georgia', serif;
  --font-body: 'General Sans', system-ui, sans-serif;

  --wrap: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(20, 48, 40, 0.28);
  --shadow-sm: 0 6px 18px -8px rgba(20, 48, 40, 0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 100px; border: 2px solid transparent;
  background: var(--green-700); color: var(--white); cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--green-800); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-300); box-shadow: none; }
.btn--ghost:hover { background: var(--green-100); border-color: var(--green-500); }

.eyebrow {
  display: inline-block; font-weight: 600; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--green-600); }

.section__title { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.01em; color: var(--ink); }
.section__title--light { color: var(--white); }
.section__head { max-width: 640px; margin-bottom: 3.5rem; }
.section__sub { margin-top: 1rem; color: var(--slate); font-size: 1.1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem;
  font-weight: 600; color: var(--green-700);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 244, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.nav--scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(251,249,244,0.9); }
.nav__inner {
  width: min(var(--wrap), 94%); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 74px;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; color: var(--green-800); font-weight: 700; }
.nav__logo { width: 38px; height: 38px; flex: none; }
.nav__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav__links a:hover { color: var(--green-700); }
.nav__cta { margin-left: .3rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: .3rem; padding: 1rem 4% 1.5rem;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: .7rem .2rem; font-weight: 500; color: var(--slate); border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: none; margin-top: .6rem; color: var(--white); }
.nav__mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero__inner {
  width: min(var(--wrap), 94%); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; position: relative; z-index: 2;
}
.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.02em; margin-bottom: 1.4rem;
}
.hero__accent { position: relative; color: var(--green-600); white-space: nowrap; }
.hero__accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .05em; height: .16em;
  background: var(--amber); border-radius: 4px; transform: scaleX(0); transform-origin: left;
  animation: underline 1s var(--ease) .6s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__lead { font-size: 1.2rem; color: var(--slate); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; color: var(--slate); font-size: .9rem; font-weight: 500; }
.hero__meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--green-300); }

.hero__media { position: relative; }
.hero__frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid var(--white); transform: rotate(1.4deg);
  transition: transform .5s var(--ease);
}
.hero__frame:hover { transform: rotate(0deg) scale(1.01); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.hero__badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--white); border-radius: var(--radius-sm); padding: .9rem 1.2rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2;
  animation: float 5s ease-in-out infinite;
}
.hero__badge strong { color: var(--green-700); font-family: var(--font-display); font-size: 1.05rem; }
.hero__badge span { font-size: .8rem; color: var(--slate); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* organic blobs */
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; opacity: .55; }
.hero__blob--1 { width: 520px; height: 520px; background: var(--green-100); top: -160px; right: -120px; animation: drift 18s ease-in-out infinite; }
.hero__blob--2 { width: 360px; height: 360px; background: #fdeccd; bottom: -140px; left: -100px; animation: drift 22s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-20px) scale(1.08); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--green-800); color: var(--green-100); overflow: hidden; padding: 1rem 0; }
.marquee__track { display: flex; gap: 1.5rem; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.marquee__track i { color: var(--amber); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__text p { color: var(--slate); font-size: 1.08rem; margin-bottom: 1.1rem; max-width: 34rem; }
.about__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about__figure::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 6px var(--white);
}
.about__figure img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }

/* ============================================================
   SKILLS
   ============================================================ */
.skills { background: var(--green-50); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.12); }
.card__icon {
  font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center;
  background: var(--green-100); border-radius: 16px; margin-bottom: 1.2rem;
  transition: transform .35s var(--ease);
}
.card h3 { font-size: 1.18rem; margin-bottom: .6rem; color: var(--ink); }
.card p { font-size: .98rem; color: var(--slate); margin-bottom: 1.2rem; }
.card__outcome {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--green-700); background: var(--green-100); padding: .35rem .8rem; border-radius: 100px;
}
.card--wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 921px) { .card--wide { grid-column: span 2; } }

/* ============================================================
   WHY IT MATTERS
   ============================================================ */
.why { background: var(--green-900); color: var(--green-100); position: relative; overflow: hidden; }
.why__blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--green-800); filter: blur(80px); top: -100px; right: -150px; opacity: .6; }
.why__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 2; }
.why__text p { color: var(--green-100); opacity: .9; font-size: 1.12rem; max-width: 36rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(134,209,168,0.2);
  border-radius: var(--radius-sm); padding: 1.6rem 1.4rem;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.stat__num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--amber); line-height: 1; }
.stat__label { display: block; margin-top: .6rem; font-size: .9rem; color: var(--green-100); opacity: .85; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.cred {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cred__mark { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-500); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.cred p { color: var(--slate); font-size: 1rem; }
.scope {
  background: var(--green-50); border-left: 4px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.4rem 1.6rem; color: var(--slate); font-size: .98rem; max-width: 62rem;
}
.scope strong { color: var(--green-800); }

/* ============================================================
   PARTNER / CONTACT
   ============================================================ */
.partner { background: var(--green-800); color: var(--white); }
.partner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.partner__intro p { color: var(--green-100); opacity: .92; font-size: 1.1rem; max-width: 32rem; }
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: 1rem; align-items: baseline; font-size: 1rem; border-bottom: 1px solid rgba(134,209,168,0.2); padding-bottom: .9rem; }
.contact-list span { flex: none; width: 92px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.contact-list a { color: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: var(--amber); }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form__hp { position: absolute; left: -9999px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field span { display: block; font-size: .85rem; font-weight: 600; color: var(--green-800); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); background: var(--white);
}
.field textarea { resize: vertical; }
.form__note { text-align: center; font-size: .85rem; color: var(--slate); margin-top: .9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-900); color: var(--green-100); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(134,209,168,0.15); }
.footer .nav__brand { color: var(--white); margin-bottom: 1rem; }
.footer__brand p { color: var(--green-100); opacity: .8; font-size: .95rem; }
.footer__parent { margin-top: .4rem; font-size: .82rem !important; opacity: .55 !important; }
.footer__contact p { font-size: .95rem; margin-bottom: .5rem; opacity: .85; }
.footer__contact a:hover { color: var(--amber); }
.footer__bottom { padding-top: 1.6rem; font-size: .82rem; opacity: .6; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .about__grid, .why__grid, .partner__grid { grid-template-columns: 1fr; }
  .about__figure { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .creds, .stats, .form__row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -22px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__accent::after { transform: scaleX(1); }
}
