/* Ben Young Web Design */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --green: #006B42;
  --green-deep: #005434;
  --charcoal: #1F2328;
  --white: #FFFFFF;
  --paper: #F6F3EC;
  --ink: #0B0E0D;

  /* Champagne gold accent: use sparingly */
  --gold: #C9A96E;
  --gold-ink: #85693A;   /* gold text on light backgrounds */
  --gold-light: #D8C094; /* gold text on dark backgrounds */
  --gold-pale: #EBDDBD;  /* gold text on green */

  --text: var(--charcoal);
  --muted: rgba(31, 35, 40, .7);
  --line: rgba(31, 35, 40, .12);
  --line-light: rgba(255, 255, 255, .12);
  --on-dark: rgba(255, 255, 255, .92);
  --on-dark-muted: rgba(255, 255, 255, .64);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 12vw, 168px);
  --nav-h: 72px;

  --shadow-sm: 0 1px 2px rgba(11, 14, 13, .06), 0 2px 8px rgba(11, 14, 13, .04);
  --shadow-lg: 0 2px 4px rgba(11, 14, 13, .04), 0 12px 24px rgba(11, 14, 13, .06), 0 32px 64px rgba(11, 14, 13, .08);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--green); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
}
h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--green);
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--on-green { color: var(--gold-pale); }
.eyebrow--on-green::before { background: var(--gold-pale); }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--split {
  display: grid;
  gap: 24px;
  align-items: end;
}
.section-head__aside {
  max-width: 420px;
  color: var(--muted);
}
.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center > p:last-child {
  margin-top: 22px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.5fr 1fr; gap: 64px; }
  .section-head__aside { justify-self: end; }
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { --bg: var(--green); box-shadow: 0 8px 24px -8px rgba(0, 107, 66, .55); }
.btn--primary:hover { --bg: var(--green-deep); box-shadow: 0 14px 30px -10px rgba(0, 107, 66, .6); }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { --bg: var(--charcoal); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--text);
  border-color: rgba(31, 35, 40, .22);
}
.btn--ghost:hover { border-color: var(--text); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { --bg: var(--paper); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover svg,
.work-card:hover .link-arrow svg { transform: translate(3px, -3px); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
  opacity: .8;
}
.tag--concept {
  border-color: transparent;
  background: rgba(255, 255, 255, .12);
  opacity: 1;
}
.tag--live {
  gap: 7px;
  border-color: rgba(201, 169, 110, .45);
  color: var(--gold-light);
  opacity: 1;
}
.tag--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold);
  animation: pulseGold 2.4s ease-in-out infinite;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(246, 243, 236, .84);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand__logo {
  width: auto;
  height: 40px;
  transition: transform .6s var(--ease);
}
.brand:hover .brand__logo { transform: translateY(-1px); }
@media (max-width: 380px) { .brand__logo { height: 34px; } }

.nav__links { display: none; }
.nav__links a {
  position: relative;
  padding: 8px 2px;
  font-size: .9063rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
}
.nav__call svg { width: 18px; height: 18px; }
.nav__call span { display: none; }
.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(31, 35, 40, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav__burger,
.nav__burger::before {
  display: block;
  width: 16px; height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.nav__burger { position: relative; transform: translateY(-3px); }
.nav__burger::before {
  content: "";
  position: absolute;
  top: 6px;
}
.nav.is-open .nav__burger { transform: translateY(0) rotate(45deg); }
.nav.is-open .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }

.menu {
  padding: 8px var(--gutter) 28px;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.menu nav { display: grid; }
.menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  text-decoration: none;
}
.menu__foot { display: grid; gap: 10px; margin-top: 24px; }

@media (min-width: 640px) {
  .nav__call { width: auto; padding: 0 16px 0 14px; height: 40px; background: transparent; color: var(--text); border: 1px solid rgba(31, 35, 40, .18); }
  .nav__call span { display: inline; }
  .nav__call:hover { border-color: var(--text); }
}
@media (min-width: 1060px) {
  .nav__links { display: flex; gap: 28px; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 112px);
  overflow: clip;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0, 107, 66, .16), rgba(0, 107, 66, 0));
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(3rem, 11vw, 6.4rem);
  line-height: .96;
  letter-spacing: -.03em;
  margin-bottom: 28px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.hero__title .line > span {
  display: inline-block;
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms + 40ms);
}
.hero__title em { padding-right: .06em; }
.hero__in {
  animation: fadeUp .9s var(--ease) both;
  animation-delay: calc(var(--i) * 60ms + 80ms);
}
.hero__lede {
  max-width: 560px;
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  color: var(--muted);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__ctas .btn { flex: 1 1 auto; }
.hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: .9375rem;
  color: var(--muted);
  text-decoration: none;
  white-space: normal;
}
.hero__call strong { color: var(--text); font-weight: 600; white-space: nowrap; }
.hero__call-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(0, 107, 66, .1);
  color: var(--green);
}
.hero__call-icon svg { width: 16px; height: 16px; }
.hero__call:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}
.hero__facts strong { color: var(--text); font-weight: 600; }

@media (min-width: 560px) {
  .hero__ctas .btn { flex: 0 0 auto; }
}

/* fanned phones */
.hero__visual {
  position: relative;
  animation: fadeIn 1.1s var(--ease) .15s both;
}
.fan {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 1 / 1.08;
}
@media (max-width: 959px) {
  .fan { width: min(84%, 460px); }
}
.fan__item {
  position: absolute;
  top: 50%; left: 50%;
  width: 46%;
}
.fan__item--c {
  z-index: 3;
  transform: translate(-50%, -50%);
  animation: float 9s ease-in-out infinite;
}
.fan__item--l {
  z-index: 1;
  transform: translate(-112%, -46%) rotate(-9deg);
  animation: floatL 10s ease-in-out infinite;
}
.fan__item--r {
  z-index: 2;
  transform: translate(12%, -46%) rotate(9deg);
  animation: floatR 11s ease-in-out infinite;
}

/* Phone frame */
.phone {
  padding: 2.4%;
  border-radius: 14% / 6.5%;
  background: linear-gradient(145deg, #2a2f2d, #0b0e0d 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 2px 4px rgba(0, 0, 0, .12),
    0 24px 48px -12px rgba(11, 14, 13, .35),
    0 48px 96px -24px rgba(11, 14, 13, .3);
}
.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 12% / 5.6%;
  aspect-ratio: 400 / 866;
  background: #fff;
}
.phone__screen img { width: 100%; }
.phone__screen::after {
  content: "";
  position: absolute;
  top: 1.6%; left: 50%;
  width: 30%; height: 3.4%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0e0d;
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.2fr .8fr; }
  .fan { width: 100%; }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  white-space: nowrap;
  color: rgba(255, 255, 255, .9);
}
.marquee li::after {
  content: "";
  width: 8px; height: 8px;
  margin-inline: clamp(28px, 4vw, 48px);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, .18);
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Work ---------- */

.work {
  position: relative;
  padding-block: var(--section);
  background: var(--ink);
  color: var(--on-dark);
  overflow: clip;
}
.work__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 85% 8%, rgba(0, 107, 66, .32), transparent 70%),
    radial-gradient(50% 30% at 0% 55%, rgba(0, 107, 66, .18), transparent 70%),
    radial-gradient(60% 30% at 100% 92%, rgba(201, 169, 110, .08), transparent 70%);
  pointer-events: none;
}
.work .wrap { position: relative; }
.work h2 { color: var(--white); }
.work h2 em { color: rgba(255, 255, 255, .62); }
.work .section-head__aside { color: var(--on-dark-muted); }

.work-grid { display: grid; gap: 24px; }
.work-card {
  display: grid;
  gap: 32px;
  align-content: start;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  color: inherit;
  text-decoration: none;
  transition: transform .7s var(--ease), border-color .5s;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 169, 110, .35);
}
.work-card__visual {
  position: relative;
  padding-right: 9%;
  padding-bottom: 6%;
}
.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--on-dark-muted);
}
.work-card__num {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-right: 6px;
}
.work-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--white);
  margin-bottom: 14px;
}
.work-card p {
  color: var(--on-dark-muted);
  margin-bottom: 24px;
  max-width: 480px;
}
.work-card .link-arrow { color: var(--white); }
.work__note {
  margin-top: 36px;
  max-width: 620px;
  font-size: .875rem;
  color: var(--on-dark-muted);
}

@media (min-width: 960px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  /* Wide layout: the feature card, plus an odd last card when a 4th project is added */
  .work-card--feature,
  .work-grid > .work-card:nth-child(even):last-child {
    grid-column: 1 / -1;
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
  }
  .work-card--feature h3,
  .work-grid > .work-card:nth-child(even):last-child h3 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
}

/* Laptop frame */
.laptop { position: relative; }
.laptop__lid {
  position: relative;
  padding: 2.2% 2.2% 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #2b302e, #121514);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    0 40px 80px -30px rgba(0, 0, 0, .7);
  transition: box-shadow .8s var(--ease);
}
.laptop__lid::before {
  content: "";
  position: absolute;
  top: .9%; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #3b403e;
  transform: translateX(-50%);
}
.laptop__screen {
  aspect-ratio: 16 / 10;
  border-radius: 6px 6px 0 0;
}
.laptop__base {
  position: relative;
  height: clamp(10px, 1.6vw, 18px);
  margin-inline: -7%;
  border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #d9dcdb 0%, #b9bdbc 45%, #8e9391 100%);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8);
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 16%; height: 45%;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #9da2a0, #c4c8c7);
}

/* Screens: still image first, muted loop fades in on top once it plays */
.screen {
  position: relative;
  overflow: hidden;
  background: #111;
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.screen__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.screen.is-playing .screen__video { opacity: 1; }

.work-card__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 23%;
  z-index: 2;
  transform: translate3d(0, calc((var(--p, .5) - .5) * -56px), 0);
}

@media (hover: hover) {
  .work-card:hover .laptop__lid {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 100px -30px rgba(0, 107, 66, .55);
  }
}

/* ---------- Services ---------- */

.services {
  padding-block: var(--section);
  background: var(--white);
}
.cards { display: grid; gap: 16px; }
.card {
  position: relative;
  padding: 32px 28px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 48px;
  border-radius: 14px;
  background: rgba(0, 107, 66, .08);
  color: var(--green);
  transition: background-color .5s, color .5s;
}
.card:hover .card__icon { background: var(--green); color: var(--white); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }

@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Pricing ---------- */

.pricing { padding-block: var(--section); }
.plans {
  display: grid;
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}
.plan {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan__label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 14px;
}
.plan__amount {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: .9;
  letter-spacing: -.03em;
}
.plan__unit, .plan__was { font-size: .9375rem; color: var(--muted); }
.plan__desc { color: var(--muted); }
.plan--launch .plan__top {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.checks { display: grid; gap: 12px; margin-bottom: 36px; }
.checks li {
  position: relative;
  padding-left: 34px;
  font-size: 1rem;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(0, 107, 66, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%23006B42' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks--light li::before {
  background-color: rgba(255, 255, 255, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan--featured {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  background: var(--green);
  color: var(--white);
  isolation: isolate;
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 120%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
  z-index: -1;
}
.plan--featured .plan__label,
.plan--featured .plan__was,
.plan--featured .plan__desc { color: rgba(255, 255, 255, .78); }
.plan--featured .plan__desc { margin-bottom: 28px; }
.plan--featured .checks { margin-bottom: 36px; }
.plan--featured .btn { margin-top: auto; }
.plan__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: .8125rem;
  font-weight: 600;
}
.plan__badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #fff;
  animation: pulse 2.4s ease-in-out infinite;
}
.plan--small .plan__amount { font-size: clamp(2.75rem, 5vw, 3.5rem); }

@media (min-width: 900px) {
  .plans {
    gap: 20px;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "launch featured"
      "launch small1"
      "launch small2";
  }
  .plan--launch { grid-area: launch; display: flex; flex-direction: column; }
  .plan--launch .btn { margin-top: auto; }
  .plan--featured { grid-area: featured; }
  .plan--small:nth-of-type(3) { grid-area: small1; }
  .plan--small:nth-of-type(4) { grid-area: small2; }
}

/* ---------- Why ---------- */

.why {
  padding-block: var(--section);
  background: var(--white);
}
.why__grid { display: grid; gap: 40px; }
.why__photo,
.about__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  isolation: isolate;
}
.why__photo { aspect-ratio: 16 / 10; }
.why__photo img,
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.12 - var(--z, 0) * .12));
  transition: transform .2s linear;
}
.why__photo img { object-position: 46% 50%; }
.why__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(31, 35, 40, .06);
  pointer-events: none;
}
.reasons { border-top: 1px solid var(--line); }
.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding-block: clamp(26px, 3.4vw, 38px);
  border-bottom: 1px solid var(--line);
}
.reason__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1px var(--green);
  transition: color .6s var(--ease);
  min-width: 1.3em;
}
.reason:hover .reason__num,
.reason:first-child .reason__num { color: var(--green); }
.reason h3 { margin-bottom: 8px; padding-top: .1em; }
.reason p { color: var(--muted); max-width: 520px; }

@media (min-width: 960px) {
  .why__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .why__photo {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    aspect-ratio: 4 / 5;
  }
  .reasons { border-top: 0; }
  .reason:first-child { padding-top: 0; }
}

/* ---------- Process ---------- */

.process {
  position: relative;
  background: var(--green);
  color: var(--white);
}
.process__pin {
  position: relative;
  padding-block: var(--section);
  overflow: clip;
}
.process__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(255, 255, 255, .12), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(11, 14, 13, .35), transparent 70%);
  pointer-events: none;
}
.process .wrap { position: relative; }
.process h2 { color: var(--white); }
.process h2 em { color: rgba(255, 255, 255, .7); }
.process .section-head__aside { color: rgba(255, 255, 255, .8); }

/* Scroll-linked progress: JS sets --progress (0 to 1) and .is-active per step */
.steps {
  --progress: 0;
  position: relative;
  display: grid;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, .25);
}
.steps::after {
  width: 2px;
  left: 6.5px;
  background: linear-gradient(180deg, var(--gold-pale), var(--white));
  transform: scaleY(var(--progress));
  transform-origin: top;
}
.step {
  position: relative;
  padding: 0 0 44px 48px;
}
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: absolute;
  left: 0; top: 4px;
  width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 6px var(--green);
  z-index: 1;
  transition: background-color .5s var(--ease), border-color .5s, box-shadow .6s var(--ease), transform .6s var(--ease);
}
.step.is-active .step__dot {
  background: var(--gold-pale);
  border-color: var(--gold-pale);
  box-shadow: 0 0 0 6px var(--green), 0 0 0 10px rgba(235, 221, 189, .22), 0 0 24px 6px rgba(235, 221, 189, .35);
  transform: scale(1.12);
}
.step__num {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 14px;
  transition: color .5s;
}
.step.is-active .step__num { color: var(--gold-pale); }
.step h3 {
  color: var(--white);
  margin-bottom: 12px;
  transition: transform .7s var(--ease);
}
.step p:last-child { color: rgba(255, 255, 255, .82); font-size: 1rem; }
.js .step:not(.is-active) h3 { transform: translateX(-4px); }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps::before,
  .steps::after {
    left: 0; right: 0; top: 7px; bottom: auto;
    width: auto; height: 1px;
  }
  .steps::after {
    height: 2px;
    top: 6.5px;
    background: linear-gradient(90deg, var(--gold-pale), var(--white));
    transform: scaleX(var(--progress));
    transform-origin: left;
  }
  .step { padding: 48px 0 0; }
  .js .step:not(.is-active) h3 { transform: translateY(6px); }

  /* Pin the section while the steps light up, on screens tall enough for it */
  @media (min-height: 700px) {
    .js .process.is-pinned { height: 220vh; }
    .js .process.is-pinned .process__pin {
      position: sticky;
      top: 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-block: calc(var(--nav-h) + 24px) 48px;
    }
    .js .process.is-pinned .process__pin > .wrap { width: 100%; }
  }
}

/* ---------- About ---------- */

.about { padding-block: var(--section); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; max-width: 560px; }
.about__photo img { object-position: 50% 30%; }
.about h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 32px; }
.about__body { max-width: 600px; }
.about__body > p:not(.eyebrow) { font-size: 1.125rem; color: rgba(31, 35, 40, .84); }
.about__body > p + p { margin-top: 20px; }
.about__body > .about__cred {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--muted);
}
.signature {
  margin-top: 28px !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem !important;
  line-height: 1;
  color: var(--green) !important;
}

@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(56px, 7vw, 112px); }
}

/* ---------- FAQ ---------- */

.faq {
  padding-block: var(--section);
  background: var(--white);
}
.faq__grid { display: grid; gap: 40px; }
.faq__head > p:last-child { margin-top: 22px; color: var(--muted); max-width: 360px; }
.faq__head a { color: var(--green); font-weight: 600; text-underline-offset: 4px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--green); }
.qa__icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s;
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--green); border-color: var(--green); color: var(--white); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p {
  padding-bottom: 28px;
  max-width: 620px;
  color: var(--muted);
}

@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 1fr 1.5fr; gap: 96px; }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  padding-block: var(--section);
  background: var(--ink);
  color: var(--on-dark);
  overflow: clip;
}
.contact__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 0% 0%, rgba(0, 107, 66, .35), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(0, 107, 66, .22), transparent 70%);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  gap: 48px;
}
.contact h2 { color: var(--white); }
.contact h2 em { color: rgba(255, 255, 255, .62); }
.contact__lede { margin-top: 24px; max-width: 520px; color: var(--on-dark-muted); font-size: 1.125rem; }
.contact__direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 40px;
}
.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}
.contact__phone small {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.contact__phone-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  transition: transform .5s var(--ease);
}
.contact__phone:hover .contact__phone-icon { transform: rotate(-12deg) scale(1.06); }
.contact__phone-icon svg { width: 22px; height: 22px; }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}
.form__who {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.form__who img,
.avatar {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold);
}
.form__who p { display: grid; gap: 2px; line-height: 1.35; }
.form__who strong { font-size: 1rem; font-weight: 600; }
.form__who span { font-size: .875rem; color: var(--muted); }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 600; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 35, 40, .18);
  border-radius: var(--radius-sm);
  background: #FBFAF7;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover,
.field textarea:hover { border-color: rgba(31, 35, 40, .35); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 107, 66, .14);
}
.field textarea::placeholder { color: rgba(31, 35, 40, .5); }
.form .btn { margin-top: 6px; }
.form__note { font-size: .8125rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 72px 32px;
  background: var(--ink);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--line-light);
  font-size: .9375rem;
}
.footer__grid { display: grid; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer a { text-decoration: none; transition: color .3s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--white); }
.footer__contact a:first-child { color: var(--white); font-weight: 600; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: .8125rem;
}

@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s), box-shadow .7s var(--ease), border-color .5s;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js .work-card[data-reveal].is-in:hover,
.js .card[data-reveal].is-in:hover { transform: translateY(-8px); }
.js .plan[data-reveal].is-in:hover { transform: translateY(-6px); }

/* ---------- Keyframes ---------- */

@keyframes rise { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -53%); }
}
@keyframes floatL {
  0%, 100% { transform: translate(-112%, -46%) rotate(-9deg); }
  50% { transform: translate(-112%, -43%) rotate(-8deg); }
}
@keyframes floatR {
  0%, 100% { transform: translate(12%, -46%) rotate(9deg); }
  50% { transform: translate(12%, -49%) rotate(8deg); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, .6); }
  50% { box-shadow: 0 0 0 5px rgba(201, 169, 110, 0); }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .work-card__phone { transform: none !important; }
  .why__photo img, .about__photo img { transform: none !important; }
  .screen__video { display: none !important; }
  .js .step:not(.is-active) h3 { transform: none; }
}

/* ---------- Simple pages (thank you, 404) ---------- */

.simple { background: var(--ink); color: var(--on-dark); }
.simple__main {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: 64px;
  overflow: clip;
}
.simple__inner { position: relative; }
.simple .brand { margin-bottom: clamp(48px, 10vh, 96px); }
.simple__who {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.simple__who .avatar { width: 72px; height: 72px; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--gold); }
.simple__who p { display: grid; gap: 2px; line-height: 1.35; }
.simple__who strong { color: var(--white); font-weight: 600; }
.simple__who span { font-size: .875rem; color: var(--on-dark-muted); }
.simple h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: var(--white);
  margin-bottom: 28px;
}
.simple h1 em { color: rgba(255, 255, 255, .62); }
.simple__lede { max-width: 560px; font-size: 1.125rem; color: var(--on-dark-muted); }
.simple__lede + .simple__lede { margin-top: 12px; }
.simple__back { margin-top: 48px; color: var(--white); }
