:root {
  --ink: #0a0a0a;
  --paper: #f3f0e8;
  --white: #fffef8;
  --lime: #c7f000;
  --line: rgba(10, 10, 10, 0.2);
  --muted: #aaa99f;
  --display: "Lexend Mega", sans-serif;
  --body: "Public Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

address {
  font-style: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -2px;
}

.brand-name {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:not(.nav-cta):hover {
  color: var(--lime);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: 180ms ease;
}

.nav-cta:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(7, 7, 7, 0.97) 0%, rgba(7, 7, 7, 0.82) 38%, rgba(7, 7, 7, 0.28) 72%, rgba(7, 7, 7, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, 0.78) 0%, transparent 42%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: min(100svh, 920px);
  align-items: end;
  gap: clamp(28px, 4vw, 48px);
  padding: 120px clamp(20px, 5vw, 80px) 56px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
}

.hero-content {
  max-width: 760px;
  padding-bottom: 8px;
  animation: rise 700ms ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.dark {
  color: #527000;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.075em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.8vw, 5.4rem);
  font-weight: 700;
}

h1 .brand-line {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h1 span:not(.brand-line),
.contact h2 span {
  color: var(--lime);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: #deddd5;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.hero-panel {
  align-self: end;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  animation: rise 900ms ease both;
}

.hero-panel-label {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-points {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.hero-points li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-points li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-points strong {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.04em;
}

.hero-points span {
  color: #bdbcb4;
  font-size: 13px;
  line-height: 1.45;
}

.hero-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.hero-meta div {
  display: grid;
  gap: 4px;
}

.hero-meta span {
  color: #8f8e87;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 180ms ease;
}

.button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.text-link {
  padding: 10px 0 6px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 180ms ease;
}

.text-link:hover {
  color: var(--lime);
}

.marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--lime);
  color: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 0 26px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.marquee i {
  width: 6px;
  height: 6px;
  background: var(--ink);
  transform: rotate(45deg);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 80px);
  background: var(--paper);
  color: var(--ink);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  column-gap: 80px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2,
.method h2,
.about h2,
.contact h2,
.team h2,
.company h2 {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 700;
}

.section-intro > p:last-child {
  align-self: end;
  max-width: 470px;
  margin-bottom: 44px;
  color: #4e4e48;
  font-size: 18px;
}

.service-grid {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  position: relative;
  min-height: 460px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: 220ms ease;
}

.service-card:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-8px);
}

.service-card svg {
  width: 52px;
  margin: 50px 0 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}

.card-number {
  color: #72726b;
  font-family: var(--display);
  font-size: 11px;
}

.service-card h3 {
  min-height: 56px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.service-card p {
  color: #62625c;
}

.service-card:hover p {
  color: #c9c8c0;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.service-card li {
  padding: 5px 9px;
  border: 1px solid currentColor;
  font-size: 11px;
}

.service-card.accent-card {
  background: var(--lime);
}

.service-card.accent-card:hover {
  background: var(--ink);
}

.team {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 80px);
  background: var(--ink);
}

.team-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.team-intro > p:last-child {
  max-width: 560px;
  margin: 0;
  color: #aaa9a2;
  font-size: 18px;
}

.team-mural {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid #2f2f2b;
}

.team-mural img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 28%;
}

.team-mural figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  overflow: hidden;
  border: 1px solid #2f2f2b;
  background: #111;
  transition: 220ms ease;
}

.team-card:hover {
  border-color: var(--lime);
  transform: translateY(-6px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.team-card div {
  padding: 18px 16px 20px;
  border-top: 1px solid #2f2f2b;
}

.team-card h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.04em;
}

.team-card p {
  margin: 0;
  color: #9d9c94;
  font-size: 13px;
}

.method {
  display: grid;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 80px);
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: 0.85fr 1.15fr;
}

.method-heading {
  position: sticky;
  top: 80px;
  align-self: start;
}

.method-heading h2 {
  max-width: 600px;
}

.method-heading > p:last-child {
  max-width: 450px;
  color: #aaa9a2;
  font-size: 18px;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  padding: 38px 0;
  border-top: 1px solid #373733;
  gap: 26px;
  grid-template-columns: 55px 1fr;
}

.steps li:last-child {
  border-bottom: 1px solid #373733;
}

.steps > li > span {
  color: var(--lime);
  font-family: var(--display);
  font-size: 12px;
}

.steps h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.05em;
}

.steps p {
  max-width: 500px;
  margin: 0;
  color: #aaa9a2;
}

.about {
  display: grid;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: 0.8fr 1.2fr;
}

.about-logo {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.about-logo img {
  width: 100%;
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 32px;
  color: #4e4e48;
  font-size: 18px;
}

.dark-link:hover {
  color: #527000;
}

.company {
  padding: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 80px);
  background: #ece9df;
  color: var(--ink);
}

.company-intro {
  max-width: 720px;
  margin-bottom: 42px;
}

.company-intro > p:last-child {
  max-width: 540px;
  margin: 0;
  color: #4e4e48;
  font-size: 17px;
}

.company-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.company-block {
  padding: 28px 24px;
  border: 1px solid rgba(10, 10, 10, 0.16);
  background: rgba(255, 254, 248, 0.55);
}

.company-block h3 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.company-block dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.company-block dl > div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.company-block dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-block dt {
  color: #6f6f67;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-block dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.address-block address {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.address-note {
  margin: 0;
  color: #6f6f67;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 80px);
  gap: clamp(48px, 7vw, 110px);
  grid-template-columns: 1.1fr 0.9fr;
}

.contact h2 {
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
}

.contact-mail {
  display: inline-block;
  margin-bottom: 28px;
  color: #cbc9c0;
  font-size: 17px;
  text-underline-offset: 5px;
}

.contact-details {
  display: grid;
  gap: 18px;
  max-width: 420px;
}

.contact-details p {
  margin: 0;
  color: #aaa9a2;
  font-size: 14px;
  line-height: 1.55;
}

.contact-details strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#contact-form {
  padding-top: 10px;
}

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #b8b7af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #4a4a45;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 2px 0 var(--lime);
}

.contact .button {
  width: 100%;
  margin-top: 12px;
}

.form-status {
  min-height: 25px;
  margin: 14px 0 0;
  color: var(--lime);
  font-size: 14px;
}

footer {
  display: grid;
  padding: 48px clamp(20px, 5vw, 80px) 56px;
  border-top: 1px solid #343430;
  color: #8f8e87;
  font-size: 13px;
  gap: 36px;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

footer p {
  margin: 0 0 8px;
  line-height: 1.5;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--lime);
}

.footer-brand .brand {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-brand p {
  max-width: 220px;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .service-grid,
  .team-grid,
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-shell {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-panel {
    max-width: 520px;
  }

  .contact {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 76px;
  }

  .menu-button {
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 14px 11px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 26px;
    height: 2px;
    margin: 4px 0;
    background: var(--white);
    transition: 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 30px;
    background: var(--ink);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-family: var(--display);
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .nav-cta {
    margin-top: 12px;
    font-family: var(--body) !important;
    font-size: 15px !important;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 36px;
    gap: 22px;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.88) 48%, rgba(7, 7, 7, 0.96) 100%),
      linear-gradient(90deg, rgba(7, 7, 7, 0.55), transparent 70%);
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: none;
  }

  .section-intro,
  .method,
  .about,
  .contact,
  .service-grid,
  .team-grid,
  .company-grid,
  footer {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 0;
  }

  .section-intro h2,
  .method h2,
  .about h2,
  .contact h2,
  .team h2,
  .company h2 {
    font-size: clamp(2.2rem, 9.5vw, 3.4rem);
  }

  .service-card {
    min-height: auto;
  }

  .service-card svg {
    margin: 36px 0 28px;
  }

  .team-mural img {
    max-height: 360px;
  }

  .method-heading {
    position: static;
  }

  .about-logo {
    max-width: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
