/* =============================================================
   Frogmade — warm glassmorphism, frog-green accent
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f5f1e8;
  --bg-2:      #efe8da;
  --paper:     #fffdf8;

  --ink:       #17231c;
  --ink-soft:  #38453d;
  --ink-mute:  #5a655d;   /* darkened for AA contrast on --bg */

  --frog:        #3fae5a;
  --frog-deep:   #2c8a45;
  --frog-belly:  #cdebd3;
  --frog-glow:   rgba(63, 174, 90, 0.28);

  --accent-2:    #ef7a52;

  --glass:       rgba(255, 255, 255, 0.46);
  --glass-brd:   rgba(255, 255, 255, 0.7);
  --glass-solid: rgba(255, 255, 255, 0.84);

  --line:      rgba(23, 35, 28, 0.12);
  --line-2:    rgba(23, 35, 28, 0.08);

  /* two-layer shadows read more premium than a single blur */
  --shadow-sm: 0 1px 2px rgba(23, 35, 28, 0.05), 0 3px 10px -4px rgba(23, 35, 28, 0.08);
  --shadow-md: 0 1px 3px rgba(23, 35, 28, 0.05), 0 16px 34px -18px rgba(23, 35, 28, 0.24);
  --shadow-lg: 0 2px 8px rgba(23, 35, 28, 0.06), 0 34px 64px -32px rgba(23, 35, 28, 0.32);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --r-sm:  12px;
  --r-md:  18px;
  --r-lg:  26px;
  --r-xl:  32px;

  --gutter: clamp(1.15rem, 5vw, 2.5rem);
  --maxw: 1140px;

  --space-section: clamp(4.5rem, 11vw, 8rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;   /* anchor jumps clear the fixed nav */
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.021em;
  text-wrap: balance;
  color: var(--ink);
}
::selection { background: var(--frog); color: #fff; }

:focus-visible {
  outline: 2px solid var(--frog-deep);
  outline-offset: 3px;
  border-radius: 5px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--paper); color: var(--ink);
  z-index: 9999; border-radius: 10px; font-weight: 600;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--frog-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--frog);
  flex: none;
}

/* animated underline for text links */
.u-link {
  position: relative;
  color: var(--frog-deep);
  font-weight: 600;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px; height: 1.5px;
  background: currentColor;
  transition: right .3s var(--ease-out);
}
.u-link:hover::after { right: 0; }

/* =============================================================
   4. Background: mesh + grain
   ============================================================= */
.mesh {
  position: fixed;
  inset: -22vmax;
  z-index: -3;
  background:
    radial-gradient(40% 40% at 16% 20%, rgba(120, 213, 150, 0.42) 0%, transparent 62%),
    radial-gradient(44% 44% at 84% 24%, rgba(255, 204, 168, 0.42) 0%, transparent 62%),
    radial-gradient(48% 48% at 50% 94%, rgba(190, 192, 255, 0.32) 0%, transparent 64%);
  filter: blur(64px) saturate(128%);
  animation: meshDrift 40s ease-in-out infinite;
}
.mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245,241,232,0.34), rgba(245,241,232,0.72));
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.14) rotate(7deg); }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.btn-arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--frog);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 90, 45, 0.25), 0 14px 28px -12px rgba(44, 138, 69, 0.62);
}
.btn-primary:hover {
  background: var(--frog-deep);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(20, 90, 45, 0.28), 0 22px 40px -14px rgba(44, 138, 69, 0.7);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
@supports (backdrop-filter: blur(10px)) {
  .btn-ghost { background: var(--glass); backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%); }
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.78); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.85rem var(--gutter);
  transition: padding .35s var(--ease-out);
}
.nav.is-scrolled { padding-block: 0.5rem; }
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1.05rem;
  border-radius: 999px;
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease-out), background-color .35s var(--ease-out);
}
@supports (backdrop-filter: blur(16px)) {
  .nav-inner { background: rgba(255,255,255,0.6); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); }
}
.nav.is-scrolled .nav-inner {
  box-shadow: var(--shadow-md);
  background: var(--glass-solid);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}
.brand-frog { width: 30px; height: 30px; flex: none; }

.nav-links {
  display: none;
  margin-left: auto;
  gap: 1.5rem;
}
.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  transition: color .2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -1px; height: 2px;
  border-radius: 2px;
  background: var(--frog);
  transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--ink); }

.nav-cta { margin-left: auto; padding: 0.72rem 1.2rem; font-size: 0.88rem; white-space: nowrap; }
.nav-links + .nav-cta { margin-left: 0; }
@media (max-width: 600px) {
  .nav-cta { padding: 0.62rem 0.95rem; font-size: 0.82rem; }
  .brand span { font-size: 1rem; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem var(--gutter) 4.5rem;
}
.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 40rem; }
.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--frog-deep);
}
.hero-sub {
  font-size: clamp(1.03rem, 1.9vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 33rem;
  margin-bottom: 2.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.hero-note {
  font-size: 0.88rem;
  color: var(--ink-mute);
  font-weight: 500;
}

.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -6% -10% 4%;
  background: radial-gradient(60% 55% at 55% 45%, var(--frog-glow), transparent 72%);
  filter: blur(46px);
  z-index: -1;
}
.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-lg);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-tag {
  position: absolute;
  left: 0.85rem; bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.7rem 0.34rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(23, 35, 28, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.photo-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--frog);
  box-shadow: 0 0 0 0 var(--frog-glow);
  animation: tagPulse 2.4s var(--ease-soft) infinite;
}
@keyframes tagPulse {
  0%   { box-shadow: 0 0 0 0 rgba(63,174,90,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(63,174,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,174,90,0); }
}

.hero-frog {
  position: absolute;
  width: clamp(72px, 11vw, 116px);
  right: -10px;
  top: -44px;
  filter: drop-shadow(0 18px 22px rgba(23, 35, 28, 0.22));
}

[data-float] { animation: float 6s var(--ease-soft) infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 22px;
  height: 42px;
  display: grid;
  place-items: center;
}
.hero-scroll-line {
  position: relative;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 42%;
  border-radius: 2px;
  background: var(--frog);
  animation: scrollCue 1.9s var(--ease-soft) infinite;
}
@keyframes scrollCue {
  0%        { transform: translateY(-110%); }
  55%, 100% { transform: translateY(260%); }
}

/* =============================================================
   8. Sections — shared
   ============================================================= */
.section {
  padding: var(--space-section) 0;
  scroll-margin-top: 6.5rem;
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  letter-spacing: -0.025em;
}
.section-lead {
  margin-top: 1.05rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 40rem;
}

/* =============================================================
   9. Glass surface
   ============================================================= */
.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
@supports (backdrop-filter: blur(18px)) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(175%);
    -webkit-backdrop-filter: blur(18px) saturate(175%);
  }
}

.cards { display: grid; gap: 1.4rem; }
.cards-3 { grid-template-columns: 1fr; }

/* =============================================================
   10. Why — editorial reason cards
   ============================================================= */
.card {
  position: relative;
  padding: 2rem 1.75rem 1.9rem;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--frog);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(63, 174, 90, 0.35);
}
.card:hover::before { transform: scaleX(1); }
.card-index {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(44, 138, 69, 0.32);
  margin-bottom: 0.9rem;
  font-feature-settings: "tnum";
}
@supports (-webkit-text-stroke: 1px red) {
  .card-index {
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(44, 138, 69, 0.42);
  }
}
.card h3 {
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.55rem;
}
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* =============================================================
   11. How — steps with connector
   ============================================================= */
.steps {
  position: relative;
  list-style: none;
  display: grid;
  gap: 1.2rem;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem;
  align-items: start;
  padding: 1.7rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--glass-solid);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@supports (backdrop-filter: blur(16px)) {
  .step { background: var(--glass); backdrop-filter: blur(16px) saturate(165%); -webkit-backdrop-filter: blur(16px) saturate(165%); }
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* connector line between step number badges */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.75rem + 1.4rem - 1px);
  top: calc(1.7rem + 2.8rem);
  height: calc(100% - 4.5rem + 1.2rem + 1.7rem);
  width: 2px;
  background: var(--frog-belly);
  z-index: 0;
}
.step-n {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  background: var(--frog);
  width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center;
  border-radius: 14px;
  box-shadow: 0 8px 18px -8px rgba(44, 138, 69, 0.7);
  font-feature-settings: "tnum";
}
.step-body h3 { font-size: 1.28rem; letter-spacing: -0.018em; margin-bottom: 0.4rem; }
.step-body p { color: var(--ink-soft); }

/* =============================================================
   12. Work — demo cards
   ============================================================= */
.demo-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.demo-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.demo-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.demo-card:hover .demo-media img { transform: scale(1.045); }
.demo-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(23, 35, 28, 0.28));
  pointer-events: none;
}
.badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frog-deep);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.demo-text { padding: 1.35rem 1.45rem 1.55rem; }
.demo-text h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.demo-arrow {
  color: var(--frog-deep);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.demo-card:hover .demo-arrow { opacity: 1; transform: translateX(0); }
.demo-kind {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frog-deep);
  margin: 0.35rem 0 0.6rem;
}
.demo-text p:last-child { color: var(--ink-soft); font-size: 0.95rem; }

.work-foot {
  margin-top: 2.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

/* =============================================================
   13. Contact
   ============================================================= */
.contact-grid {
  display: grid;
  gap: clamp(2.2rem, 6vw, 4rem);
  align-items: start;
}
.contact-copy { position: relative; max-width: 34rem; }
.contact-copy h2 { font-size: clamp(1.85rem, 3.8vw, 2.55rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.contact-copy > p { color: var(--ink-soft); }
.contact-direct {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-2);
}
.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--frog-deep);
}
.contact-email {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.contact-hint { font-size: 0.83rem; color: var(--ink-mute); }
.contact-frog { width: 60px; margin-top: 2rem; opacity: 0.9; }

.contact-form { padding: 1.9rem 1.8rem; }
.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.42rem;
}
.field .opt { color: var(--ink-mute); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--frog);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(63, 174, 90, 0.16);
}
.field textarea { resize: vertical; min-height: 92px; }

.contact-form .btn-block { margin-top: 0.3rem; }
.form-status {
  margin-top: 0.9rem;
  font-size: 0.89rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status.is-ok { color: var(--frog-deep); }
.form-status.is-err { color: var(--accent-2); }

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) 2.2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}
.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: 2.2rem;
}
.footer-brand { max-width: 30rem; }
.footer .brand { font-size: 1.16rem; margin-bottom: 0.8rem; }
.footer-tag { color: var(--ink-soft); font-size: 0.95rem; }
.footer-nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.footer-nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.2rem;
}
.footer-nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  width: fit-content;
  transition: color .2s var(--ease-out);
}
.footer-nav a:hover { color: var(--frog-deep); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 2.4rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}
.footer-credits { font-size: 0.82rem; color: var(--ink-mute); }
.footer-legal { font-size: 0.82rem; color: var(--ink-mute); }

/* =============================================================
   15. Reveal on scroll
   ============================================================= */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .07s; }
.cards .reveal:nth-child(3) { transition-delay: .14s; }
.steps .reveal:nth-child(2) { transition-delay: .07s; }
.steps .reveal:nth-child(3) { transition-delay: .14s; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }

  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero-copy { max-width: none; }

  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { position: sticky; top: 6.5rem; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: clamp(3rem, 5.2vw, 4.7rem); }
}

@media (max-width: 640px), (max-height: 720px) {
  .hero-scroll { display: none; }
}

/* =============================================================
   17. Reduced motion — gate only the non-essential loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh { animation: none; }
  [data-float] { animation: none; }
  .photo-tag-dot { animation: none; }
  .hero-scroll-line::after { animation: none; }
}
