:root {
  --green: #3ddc84;
  --black: #050505;
  --white: #ffffff;
  --ink: #090909;
  --muted: rgba(9, 9, 9, 0.72);
  --max: 1180px;
  --copy-max: 550px;
  --gutter: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: #fff;
  padding: 12px 18px;
  color: #000;
}
.skip-link:focus { top: 12px; }

.site-shell { overflow: hidden; }
.container { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  padding: 30px 0 40px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 17.33px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .19em;
}
.logo::before { content: ""; width: calc(100% - .19em); height: 7px; background: var(--white); display: block; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.site-nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: currentColor; }
.nav-cta { padding: 11px 16px; background: var(--black); color: var(--white); }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--white); color: var(--black); border-color: transparent !important; }

.hero { padding: 40px 0 50px; }
.hero-grid { width: min(var(--max), calc(100% - (var(--gutter) * 2))); display: grid; grid-template-columns: minmax(0, 1fr) 550px; gap: clamp(45px, 6vw, 80px); align-items: center; }
.eyebrow {
  display: inline-block;
  margin: 0 0 40px;
  background: var(--white);
  padding: 4px 9px 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 700px;
  margin-bottom: 40px;
  font-size: 40px;
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 400;
  text-wrap: balance;
}
.hero-highlight { color: var(--white); }
.hero-copy { max-width: var(--copy-max); margin-bottom: 40px; font-size: 16px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 22px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover, .button:focus-visible { background: var(--white); color: var(--black); transform: translateY(-2px); }
.button-light { background: var(--green); color: var(--black); border-color: var(--green); }
.button-light:hover, .button-light:focus-visible { background: var(--white); border-color: var(--white); }
.microcopy { margin: 0; max-width: 260px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.hero-image-wrap { position: relative; width: 550px; max-width: 100%; justify-self: end; }
.hero-image { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1); }

.section { padding: clamp(105px, 13vw, 190px) 0; }
.section-tight { padding-top: 50px; }
#challenge { padding-bottom: 50px; }
#projects { padding-top: 50px; padding-bottom: 50px; }
#services { padding-top: 50px; padding-bottom: 50px; }
#about { padding-top: 50px; padding-bottom: 50px; }
.section-heading { max-width: 760px; margin-bottom: clamp(52px, 7vw, 90px); }
.kicker { display: block; margin-bottom: 7px; font-size: 18px; font-weight: 700; }
h2 { margin-bottom: 25px; font-size: 40px; line-height: .98; letter-spacing: -.045em; font-weight: 400; text-wrap: balance; }
.section-heading > p { max-width: var(--copy-max); font-size: 16px; line-height: 1.55; }

.challenge-heading { margin-bottom: 40px; }
.challenge-heading h2 { margin-bottom: 0; font-size: 40px; line-height: .96; }
.challenge-highlight { color: var(--white); }
.challenge-intro { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: var(--copy-max); margin-bottom: 50px; }
.challenge-intro p { margin-bottom: 0; font-size: 16px; line-height: 1.55; }
.projects-heading { margin-bottom: 50px; }
.projects-heading h2 { font-size: 40px; line-height: .96; }
.projects-highlight { color: var(--white); }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.challenge-card { min-height: 285px; padding: 30px; background: var(--black); color: var(--white); display: flex; flex-direction: column; }
.challenge-card h3 { margin: 16px 0 18px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.challenge-card p { margin-bottom: 0; color: rgba(255,255,255,.8); }
.expedition-icon {
  width: 64px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.project-grid { display: grid; grid-template-columns: minmax(0, 550px) minmax(0, 550px); gap: 20px; align-items: end; }
.project-image { width: 550px; height: auto; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .16s ease; }
.project-image.is-changing { opacity: .35; }
.project-details { position: relative; width: 550px; height: 550px; max-width: 100%; padding: 0 0 5px; display: flex; flex-direction: column; }
.project-details ul { margin: auto 0 48px; padding-left: 18px; line-height: 1.9; }
.project-label { height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 14px; background: var(--white); font-size: 13px; }
.project-controls { position: absolute; top: 0; right: 0; display: flex; gap: 12px; }
.project-controls button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 2px solid var(--black); background: var(--black); color: var(--white); font: inherit; font-size: 25px; line-height: 1; }
.project-controls button { cursor: pointer; transition: opacity .16s ease; }
.project-controls button:hover, .project-controls button:focus-visible { opacity: .72; }
.project-grid:focus-visible { outline: 2px solid var(--black); outline-offset: 8px; }

.services-head { width: min(100%, var(--copy-max)); display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; margin-bottom: 55px; }
.services-head > div:first-child { width: 100%; max-width: var(--copy-max); }
.services-head > div:first-child > p { max-width: var(--copy-max); }
.services-title span { color: var(--white); }
.services-price { height: 44px; display: flex; align-items: center; background: var(--white); padding: 0 16px; font-size: clamp(20px, 2vw, 28px); max-width: 330px; }
.price-note { max-width: 440px; margin: 12px 0 0; font-size: 12px; }
.service-stack { display: grid; gap: 34px; }
.service-card { position: relative; background: var(--black); color: var(--white); padding: clamp(30px, 4vw, 56px); }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.service-icon { width: 58px; height: 52px; object-fit: contain; object-position: right top; }
.service-name { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.service-tagline { margin: 15px 0 34px; font-size: clamp(24px, 3vw, 41px); line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.service-label { margin-bottom: 17px; color: var(--green); font-size: 12px; font-weight: 700; }
.service-list { margin: 0 0 34px; padding: 0; list-style: none; }
.service-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.88); }
.service-list strong { color: var(--white); }
.service-actions { display: flex; justify-content: flex-end; }
.service-book { width: 172px; }

.about-grid { display: grid; grid-template-columns: minmax(0, 550px) minmax(0, 550px); gap: 20px; align-items: start; }
.about-heading { margin-bottom: 40px; }
.about-heading h2 { margin-bottom: 0; }
.about-heading h2 span { color: var(--white); }
.about-copy { max-width: var(--copy-max); font-size: 16px; }
.about-copy p:last-of-type { margin-bottom: 30px; }
.signature { display: flex; flex-direction: column; align-items: flex-end; margin-top: 36px; font-size: 13px; }
.signature strong { font-size: 15px; }
.about-photo { width: 550px; height: auto; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; justify-self: end; }

.final-cta { padding: 50px 0 clamp(90px, 11vw, 160px); }
.final-cta-inner { width: min(var(--max), calc(100% - (var(--gutter) * 2))); display: grid; grid-template-columns: minmax(0, var(--copy-max)); gap: 28px; align-items: start; }
.final-cta h2 { max-width: 760px; }
.final-cta-title { margin-bottom: 40px; }
.final-cta-title span { color: var(--white); }
.final-cta p { max-width: var(--copy-max); font-size: 16px; line-height: 1.55; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-email { font-size: 13px; }

.hero-copy,
.challenge-intro p,
.section-heading > p,
.services-head > div:first-child > p,
.about-copy p,
.final-cta p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.site-footer { background: var(--black); color: var(--white); padding: 40px 0 84px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.footer-links { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 12px; max-width: 450px; }
.footer-links a { color: rgba(255,255,255,.76); font-size: 12px; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }
.footer-logo { color: var(--white); }
.footer-logo::before { background: var(--white); }

.legal-page { min-height: 72vh; padding: 90px 0 130px; }
.legal-page h1 { font-size: clamp(48px, 6vw, 82px); }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin-top: 48px; font-size: 30px; }
.legal-copy p, .legal-copy li { font-size: 16px; line-height: 1.7; }
.back-link { display: inline-block; margin-bottom: 38px; font-weight: 700; }

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

@media (max-width: 1319px) {
  .hero-grid { grid-template-columns: min(100%, var(--copy-max)); gap: 50px; }
  .hero-content { width: min(100%, var(--copy-max)); }
  .hero-image-wrap { width: 550px; max-width: 100%; justify-self: start; margin-left: 0; }
}

@media (max-width: 1249px) {
  .project-grid { grid-template-columns: min(100%, var(--copy-max)); gap: 50px; }
  .about-grid { grid-template-columns: min(100%, var(--copy-max)); gap: 50px; }
  .about-photo { width: 550px; max-width: 100%; justify-self: start; }
}

@media (max-width: 850px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-grid, .project-grid, .about-grid, .final-cta-inner, .services-head, .challenge-intro { grid-template-columns: 1fr; }
  .hero-grid { width: min(var(--max), calc(100% - (var(--gutter) * 2))); }
  .hero-grid { grid-template-columns: min(100%, var(--copy-max)); }
  .project-grid { grid-template-columns: min(100%, var(--copy-max)); }
  .hero-image-wrap { width: 550px; max-width: 100%; margin-left: 0; justify-self: start; }
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-card { min-height: 0; }
  .project-details { height: auto; padding: 68px 0 0; }
  .project-details ul { margin: 0 0 48px; }
  .project-image { width: 100%; }
  .about-photo { justify-self: start; width: min(100%, 550px); }
  .signature { align-items: flex-start; }
  .services-head { align-items: start; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .site-header { padding-top: 22px; }
  .nav-cta { padding: 10px 12px; font-size: 11px; }
  .hero { padding-top: 40px; }
  .hero-image-wrap { width: 100%; }

  .section { padding: 95px 0; }
  h2 { font-size: 40px; }
  .service-card { padding: 30px 23px; }
  .service-actions { justify-content: stretch; }
  .service-actions .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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