/* ==========================================================
   I Am Your Guy — styles
   ========================================================== */

:root {
  /* brand */
  --navy-950: #08111C;
  --navy-900: #0B1624;
  --navy-800: #0E1B2C;
  --navy-700: #16283F;
  --navy-600: #22395A;
  --sky: #55C6FB;        /* from the client's concept image */
  --sky-strong: #2BB3F3;
  --mint: #7BCBA5;       /* from the client's concept image */
  --mint-strong: #4CC08F;
  --spark: #FFC857;

  /* neutrals */
  --ink: #0E1B2C;
  --text: #33455A;
  --muted: #5B6B7D;
  --line: #E2E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F3F7FA;
  --link: #0A6FA3;

  /* hero photo hook: set to url("../img/hero.jpg") to layer a photo */
  --hero-image: none;

  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(14, 27, 44, .25);
  --header-h: 84px;
  --gutter: 16px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sky-strong); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
@media (min-width: 700px) { :root { --gutter: 32px; } }

.dot { color: var(--sky-strong); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--font);
  letter-spacing: .02em;
  padding: .95em 1.5em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky); color: var(--navy-900); box-shadow: 0 8px 24px -10px rgba(85, 198, 251, .8); }
.btn-primary:hover { background: #79D3FC; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-lg { font-size: 1.15rem; padding: 1.05em 2em; }
.btn-icon { display: inline-flex; width: 1.25em; height: 1.25em; }
.btn-icon svg { width: 100%; height: 100%; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(14, 27, 44, .35); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 58px; height: auto; color: var(--navy-800); flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-small { font-size: .78rem; font-weight: 600; letter-spacing: .42em; color: var(--muted); margin-bottom: 4px; }
.logo-big { font-size: 1.6rem; font-weight: 800; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }

.site-nav ul { list-style: none; display: flex; gap: 28px; }
.site-nav a {
  position: relative;
  color: var(--ink); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--mint));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 11px; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(14, 27, 44, .4);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a::after { display: none; }
}
@media (max-width: 420px) {
  :root { --header-h: 72px; }
  .logo-mark { width: 46px; }
  .logo-big { font-size: 1.3rem; }
  .logo-small { font-size: .68rem; }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(540px, 86vh, 820px);
  display: flex; align-items: center;
  color: #fff; text-align: center;
  background:
    var(--hero-image) center / cover no-repeat,
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(85, 198, 251, .22), transparent 70%),
    radial-gradient(35% 30% at 78% 20%, rgba(123, 203, 165, .16), transparent 70%);
}
.hero-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(85, 198, 251, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 198, 251, .22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }

.motif { position: absolute; color: rgba(255, 255, 255, .22); z-index: 0; animation: drift 9s ease-in-out infinite; }
.motif-1 { width: 64px; top: 14%; left: 22%; }
.motif-2 { width: 78px; top: 11%; left: 55%; animation-delay: -3s; }
.motif-3 { width: 40px; top: 36%; left: 73%; animation-delay: -6s; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-content { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 72px; }
.hero-mark { width: 112px; margin: 0 auto 18px; color: rgba(255, 255, 255, .3); filter: drop-shadow(0 0 22px rgba(85, 198, 251, .35)); }
.hero-title {
  color: #fff;
  font-weight: 200;
  font-size: clamp(2.6rem, 9.5vw, 7rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
}
.hero-title .dot { color: var(--spark); font-weight: 400; }
.hero-sub { margin: 22px auto 34px; font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 300; color: rgba(255, 255, 255, .86); letter-spacing: .03em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 700px) {
  .motif-1 { left: 6%; top: 8%; width: 44px; }
  .motif-2 { left: 74%; top: 6%; width: 52px; }
  .motif-3 { left: 8%; top: 70%; width: 30px; }
  .hero-mark { width: 84px; }
}

/* ---------------- sections ---------------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--link); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--mint)); }
.eyebrow-light { color: var(--sky); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 400; letter-spacing: -.005em; margin-bottom: 20px; }
.lead { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--ink); font-weight: 300; }

/* about */
.about .narrow { margin-bottom: 48px; }
.promises { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise {
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line);
}
.promise strong { font-size: 1.1rem; }
.promise span:last-child { color: var(--muted); font-size: .98rem; }
.promise-dot {
  width: 14px; height: 14px; border-radius: 50%; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  box-shadow: 0 0 0 6px rgba(85, 198, 251, .15);
}
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* services */
.services { background: var(--bg-soft); }
.card-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  color: var(--navy-800);
  background: linear-gradient(135deg, rgba(85, 198, 251, .25), rgba(123, 203, 165, .3));
}
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card-punch {
  margin: 6px 0 0; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
  color: var(--ink);
}
.card-punch::after { content: "."; color: var(--sky-strong); }

.noscript-list { padding-left: 1.2em; }

/* how it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-badge {
  position: relative; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--navy-800);
}
.step-badge::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--spark); color: var(--navy-900);
}
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 32ch; margin: 0 auto; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
}

/* support / donate */
.support {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(50% 70% at 15% 50%, rgba(85, 198, 251, .18), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.support .section-title, .support strong { color: #fff; }
.support .lead { color: #fff; }
.support-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.support-visual { display: grid; place-items: center; }
.support-mark {
  width: min(340px, 80%); color: rgba(255, 255, 255, .14);
  filter: drop-shadow(0 0 40px rgba(85, 198, 251, .25));
}
.donate-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.btn-paypal { background: var(--sky); color: var(--navy-900); }
.btn-paypal:hover { background: #79D3FC; }
.btn-coffee { background: var(--spark); color: var(--navy-900); }
.btn-coffee:hover { background: #FFD47D; }
.share-line { font-size: .98rem; color: rgba(255, 255, 255, .75); }
.link-btn {
  background: none; border: 0; padding: 0; margin-left: 4px; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--mint); text-decoration: underline; text-underline-offset: 3px;
}
.share-status { margin-left: 8px; color: var(--mint); }
@media (max-width: 860px) {
  .support-inner { grid-template-columns: 1fr; }
  .support-mark { width: 180px; }
}

/* testimonials */
.testimonial { background: #fff; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.08rem; color: var(--ink); font-weight: 300; flex: 1; }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--sky-strong); margin-bottom: 10px; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: .95rem; }
.testimonial figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.testimonial-invite {
  border: 2px dashed rgba(43, 179, 243, .5); background: var(--bg-soft);
  align-items: flex-start;
}
.testimonial-invite:hover { border-color: var(--sky-strong); }
.testimonial-invite .card-icon { background: rgba(255, 200, 87, .3); }
.testimonial-invite a { font-weight: 600; }

/* meet */
.meet { background: var(--bg-soft); }
.meet-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.avatar {
  width: 240px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px rgba(85, 198, 251, .4), var(--shadow);
  color: rgba(255, 255, 255, .25);
}
.avatar svg { width: 58%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.meet .section-title { margin-bottom: 6px; }
.meet-role { color: var(--link); font-weight: 600; letter-spacing: .04em; margin-bottom: 18px; }
@media (max-width: 760px) {
  .meet-inner { grid-template-columns: 1fr; text-align: left; }
  .avatar { width: 160px; }
}

/* contact */
.contact {
  text-align: center; color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(123, 203, 165, .2), transparent 70%),
    var(--navy-900);
}
.contact .section-title, .contact .lead { color: #fff; }
.contact .eyebrow { justify-content: center; }
.contact-inner .btn { margin-top: 12px; }
.contact-email { margin-top: 18px; }
.contact-email a { color: var(--sky); font-weight: 500; overflow-wrap: anywhere; }

/* footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.logo-footer .logo-mark { width: 44px; color: rgba(255, 255, 255, .3); }
.logo-footer .logo-big { color: #fff; font-size: 1.25rem; }
.logo-footer .logo-small { color: rgba(255, 255, 255, .6); font-size: .66rem; }
.site-footer p { margin: 0; font-size: .95rem; }

/* ---------------- reveal on scroll ---------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
