:root {
  --ink: #07120f;
  --ink-soft: #11231d;
  --paper: #ffffff;
  --mint: #84f4b8;
  --mint-pale: #dff8e9;
  --muted: #75807c;
  --line: #d8dfdc;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(24px, 5.5vw, 88px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(7, 18, 15, 0.96), rgba(7, 18, 15, 0));
  transition: height 240ms ease, background 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(7, 18, 15, 0.92);
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 56px);
  font-size: 14px;
}

.site-nav > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.site-nav > a:hover {
  color: var(--mint);
}

.nav-cta {
  border: 1px solid var(--mint);
  padding: 12px 19px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  color: var(--ink) !important;
  background: var(--mint);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 840px;
  padding: 168px var(--gutter) 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 34%, rgba(132, 244, 184, 0.06), transparent 28%),
    linear-gradient(120deg, #07120f 0%, #07120f 58%, #06100e 100%);
}

.hero-copy {
  z-index: 2;
  max-width: 740px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(64px, 6.8vw, 108px);
  line-height: 0.91;
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 38px;
}

.button {
  min-height: 54px;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 500;
}

.text-link svg,
.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 67px;
  right: -1vw;
  width: min(47vw, 690px);
  height: calc(100% - 67px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 18%, transparent 84%, var(--ink) 100%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  mix-blend-mode: screen;
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-line {
  width: 55px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.services {
  padding: 122px var(--gutter) 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 88px;
}

.section-index {
  margin-bottom: 20px;
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.section-heading h2,
.process h2,
.about h2,
.pricing h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(52px, 6.1vw, 92px);
  line-height: 0.95;
}

.section-heading > p:last-child {
  padding-top: 9px;
  color: #53605b;
  font-size: 15px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service {
  min-height: 390px;
  padding: 32px clamp(28px, 3vw, 48px) 42px 0;
}

.service + .service {
  padding-left: clamp(28px, 3vw, 48px);
  border-left: 1px solid var(--line);
}

.service-top {
  min-height: 70px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-number {
  color: #7d8884;
  font-size: 12px;
}

.service svg {
  width: 38px;
  fill: none;
  stroke: #2a6f50;
  stroke-width: 1.25;
}

.service h3,
.step h3 {
  margin: 50px 0 20px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.4vw, 39px);
  font-weight: 400;
  line-height: 1.05;
}

.service p,
.step p,
.about-copy > p,
.price-block > p {
  color: #5d6864;
  font-size: 15px;
}

.process {
  position: relative;
  padding: 132px var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
  overflow: hidden;
  color: var(--ink);
  background: var(--mint-pale);
}

.process-intro {
  position: relative;
  z-index: 1;
}

.process-intro > p:last-child {
  max-width: 420px;
  margin-top: 35px;
  color: #4e6259;
}

.process-orbit {
  position: absolute;
  left: -280px;
  bottom: -440px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(31, 102, 71, 0.25);
  border-radius: 50%;
}

.process-orbit::after {
  content: "";
  position: absolute;
  top: 78px;
  right: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a865e;
  box-shadow: 0 0 0 10px rgba(42, 134, 94, 0.08);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 0 0 48px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 10px;
  left: 23px;
  width: 1px;
  background: rgba(7, 18, 15, 0.22);
}

.step > span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 18, 15, 0.35);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  background: var(--mint-pale);
}

.step h3 {
  margin: 2px 0 9px;
}

.step p {
  max-width: 490px;
  margin-bottom: 0;
}

.about {
  min-height: 760px;
  padding: 130px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 10vw;
  align-items: center;
}

.about-copy {
  max-width: 690px;
}

.about-lead {
  max-width: 600px;
  margin: 38px 0 18px;
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: clamp(27px, 2.4vw, 37px) !important;
  line-height: 1.18;
}

.about-copy > p:not(.section-index):not(.about-lead) {
  max-width: 560px;
  margin-bottom: 33px;
}

.dark-link {
  color: #20764f;
}

.about-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.identity-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(132, 244, 184, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 244, 184, 0.25) 1px, transparent 1px);
  background-size: 46px 46px;
}

.about-visual svg {
  position: absolute;
  inset: 4% -3% auto auto;
  width: 104%;
  fill: none;
  stroke: var(--mint);
}

.portrait-line {
  opacity: 0.27;
  stroke-width: 1.1;
}

.orbit-line {
  opacity: 0.7;
  stroke-width: 1;
}

.about-visual circle {
  fill: var(--mint);
  stroke: none;
  filter: drop-shadow(0 0 9px var(--mint));
}

.location-note {
  position: absolute;
  left: 32px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-note strong {
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.pricing {
  padding: 128px var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 7vw;
}

.pricing h2 em {
  color: var(--mint);
  font-weight: 400;
}

.price-block {
  padding-top: 49px;
}

.price {
  font-family: var(--serif);
  font-size: clamp(88px, 9vw, 138px);
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.price span {
  margin-right: 5px;
  color: var(--mint);
  font-size: 0.45em;
  vertical-align: top;
}

.price-period {
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

.price-period small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price-block > p {
  color: rgba(255, 255, 255, 0.55);
}

.included {
  padding-top: 42px;
}

.included > div {
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 14px;
}

.included > div span:last-child {
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.included > p {
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.contact {
  padding: 125px var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10vw;
  color: var(--ink);
  background: var(--mint-pale);
}

.contact-copy > p:not(.section-index) {
  max-width: 560px;
  margin: 35px 0 27px;
  color: #4e6259;
}

.contact-copy > a {
  border-bottom: 1px solid currentColor;
  color: #206f4d;
  font-weight: 500;
}

.contact-form {
  padding-top: 19px;
}

.contact-form label {
  display: block;
  margin-bottom: 23px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 4px;
  color: #486057;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(7, 18, 15, 0.35);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #247950;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.form-note {
  margin: 15px 0 0;
  color: #60716a;
  font-size: 11px;
}

footer {
  padding: 70px var(--gutter) 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

footer > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

footer > p:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-art {
    right: -16%;
    width: 68vw;
    opacity: 0.58;
  }

  .section-heading {
    grid-template-columns: 0.7fr 2fr;
  }

  .section-heading > p:last-child {
    display: none;
  }

  .process,
  .about,
  .contact {
    gap: 6vw;
  }

  .pricing {
    grid-template-columns: 1fr 0.8fr;
  }

  .included {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 28px;
  }

  .included > p,
  .included > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 74px;
  }

  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 27px;
  }

  .menu-toggle {
    position: relative;
    z-index: 22;
    width: 42px;
    height: 42px;
    display: block;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    position: absolute;
    right: 5px;
    width: 25px;
    height: 1px;
    background: var(--paper);
    transition: transform 200ms ease, top 200ms ease;
  }

  .menu-toggle span:first-child {
    top: 16px;
  }

  .menu-toggle span:nth-child(2) {
    top: 25px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    padding: 120px var(--gutter) 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    color: var(--paper);
    background: var(--ink);
    transform: translateX(100%);
    transition: transform 300ms ease;
    font-family: var(--serif);
    font-size: 38px;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-cta {
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 14px;
  }

  .hero {
    min-height: 780px;
    padding-top: 140px;
    align-items: start;
  }

  h1 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .hero-copy > p {
    max-width: 470px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-art {
    top: 320px;
    right: -34%;
    width: 100vw;
    height: 520px;
    opacity: 0.34;
  }

  .scroll-cue {
    display: none;
  }

  .services,
  .process,
  .about,
  .pricing,
  .contact {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading,
  .process,
  .about,
  .pricing,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 58px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: auto;
    padding: 32px 0 40px !important;
  }

  .service + .service {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service h3 {
    margin-top: 25px;
  }

  .process {
    gap: 60px;
  }

  .about {
    gap: 58px;
  }

  .about-visual {
    min-height: 480px;
  }

  .pricing {
    gap: 44px;
  }

  .price-block {
    padding-top: 0;
  }

  .included {
    grid-column: auto;
    display: block;
    padding-top: 0;
  }

  .contact {
    gap: 55px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  footer > p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
