:root {
  --ink: #0d100e;
  --paper: #f2eee4;
  --lime: #d9ff58;
  --line-dark: rgba(13, 16, 14, 0.16);
  --line-light: rgba(242, 238, 228, 0.18);
  --muted-dark: rgba(13, 16, 14, 0.62);
  --muted-light: rgba(242, 238, 228, 0.62);
  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 1380px;
  --fs-display: clamp(3.4rem, 7vw, 6.8rem);
  --fs-title: clamp(2.5rem, 4.5vw, 4.4rem);
  --fs-body: 1rem;
  --fs-small: 0.72rem;
  --font: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.section {
  padding-top: clamp(6rem, 10vw, 10rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
}

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

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 2rem;
  font-size: var(--fs-display);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: var(--fs-title);
  line-height: 1.02;
}

h3 {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.2;
}

.eyebrow {
  margin-bottom: 2rem;
  color: var(--lime);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: inherit;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 470px;
  margin: 0 0 0.4rem;
  color: var(--muted-dark);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0.8rem 1rem 0.8rem 1.35rem;
  border: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.button span {
  font-size: var(--fs-body);
  line-height: 1;
}

.button-accent {
  background: var(--lime);
  color: var(--ink);
}

.button-accent:hover {
  background: var(--paper);
}

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-light);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line-light);
  background: rgba(13, 16, 14, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: 100%;
  max-width: var(--max);
  height: 84px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--lime);
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-name {
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.13em;
}

.desktop-nav {
  display: flex;
  gap: 2.6rem;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.desktop-nav a,
.header-cta {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.header-cta:hover {
  color: var(--lime);
}

.header-cta {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-light);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-light);
  background: transparent;
  place-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.2s ease;
}

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

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

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding-top: 150px;
  background:
    radial-gradient(circle at 78% 40%, rgba(217, 255, 88, 0.09), transparent 29%),
    var(--ink);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 12%;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--line-light) 15%, var(--line-light) 85%, transparent);
  content: "";
}

.hero-layout {
  display: grid;
  flex: 1;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-bottom: 4rem;
}

.lead {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: var(--muted-light);
  font-size: var(--fs-body);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-panel {
  border: 1px solid var(--line-light);
  background: rgba(22, 27, 23, 0.72);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.4rem 0.8rem;
  padding: 1.35rem 1.2rem;
  border-bottom: 1px solid var(--line-light);
}

.overview-list > div:last-child {
  border-bottom: 0;
}

.overview-list span {
  color: var(--lime);
  font-size: var(--fs-small);
}

.overview-list strong {
  font-size: var(--fs-body);
  font-weight: 500;
}

.overview-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted-light);
  font-size: var(--fs-body);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.2rem;
  padding-bottom: 1.3rem;
  border-top: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Products */

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.product-card {
  display: grid;
  min-height: 260px;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.product-icon {
  display: grid;
  width: 98px;
  height: 98px;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  place-items: center;
}

.product-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.card-index {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--muted-dark);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
}

.product-card h3 {
  margin-bottom: 0.65rem;
}

.product-card p {
  max-width: 430px;
  margin: 0;
  color: var(--muted-dark);
  font-size: var(--fs-body);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.product-tags li {
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--line-dark);
  font-size: var(--fs-small);
}

/* Services */

.services-section {
  background: var(--ink);
}

.services-section .eyebrow {
  color: var(--lime);
}

.services-list {
  border-top: 1px solid var(--line-light);
}

.services-list article {
  display: grid;
  grid-template-columns: 70px 0.75fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.services-list span {
  color: var(--lime);
  font-size: var(--fs-small);
}

.services-list h3 {
  margin: 0;
}

.services-list p {
  max-width: 520px;
  margin: 0;
  color: var(--muted-light);
  font-size: var(--fs-body);
}

/* About */

.about-section {
  background: #e8e2d7;
  color: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-layout .eyebrow {
  margin-bottom: 2rem;
  color: var(--muted-dark);
}

.about-layout h2 {
  max-width: 760px;
}

.about-copy {
  padding-top: 3.4rem;
}

.about-copy p {
  margin-bottom: 1.2rem;
  color: var(--muted-dark);
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.5rem;
}

.about-facts span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-dark);
  font-size: var(--fs-small);
}

/* Contact */

.contact-section {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  background: var(--lime);
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-copy .eyebrow {
  margin-bottom: 2rem;
  color: var(--muted-dark);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--muted-dark);
}

.contact-facts {
  display: grid;
  gap: 0.4rem;
  margin-top: 3rem;
  color: var(--muted-dark);
  font-size: var(--fs-body);
}

.inquiry-form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.2rem;
}

.inquiry-form label {
  display: block;
  margin-bottom: 1.2rem;
}

.inquiry-form label > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted-dark);
  font-size: var(--fs-small);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--ink);
}

.form-status {
  min-height: 1.2em;
  margin: 0.7rem 0 0;
  color: #365b18;
  font-size: var(--fs-small);
  text-align: center;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  background: var(--ink);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-layout p,
.footer-layout > span {
  margin: 0;
  color: var(--muted-light);
  font-size: var(--fs-small);
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    z-index: 99;
    top: 84px;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    flex-direction: column;
    padding: 2rem var(--pad);
    background: var(--ink);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-light);
    font-size: var(--fs-title);
    letter-spacing: -0.04em;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading .eyebrow {
    grid-column: auto;
  }

  .about-copy {
    padding-top: 0;
  }

  .services-list article {
    grid-template-columns: 45px 0.8fr 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 72px;
  }

  .mobile-menu {
    top: 72px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .product-card {
    min-height: 230px;
    grid-template-columns: 76px 1fr;
    padding: 1.3rem;
  }

  .product-icon {
    width: 72px;
    height: 72px;
  }

  .product-icon svg {
    width: 46px;
    height: 46px;
  }

  .card-index {
    margin-bottom: 1rem;
  }

  .services-list article {
    grid-template-columns: 34px 1fr;
    gap: 0.5rem 1rem;
    padding: 1.6rem 0;
  }

  .services-list p {
    grid-column: 2;
  }

  .about-facts {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
