:root {
  color-scheme: light;
  --ink: #0b0d0b;
  --ink-soft: #191d19;
  --muted: #606660;
  --line: #dfe5df;
  --paper: #f4f7f2;
  --panel: #ffffff;
  --green: #00dc00;
  --green-dark: #008f18;
  --silver: #e9eee8;
  --shadow: 0 24px 70px rgba(11, 13, 11, 0.12);
  font-family:
    Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(11, 13, 11, 0.12);
  background: rgba(244, 247, 242, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 72px);
  background: var(--green);
  border-bottom: 1px solid var(--line);
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 620ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.68fr);
  height: 100%;
  padding: 102px 96px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, #00dc00 0%, #00dc00 55%, #00b800 100%);
  color: var(--ink);
}

.hero-slide::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background: var(--ink);
  content: "";
}

.hero-slide::before {
  position: absolute;
  right: 0;
  bottom: 20%;
  left: 0;
  z-index: 1;
  height: 46px;
  background:
    linear-gradient(90deg, #000 50%, transparent 0) 0 0 / 92px 46px,
    linear-gradient(90deg, transparent 50%, #000 0) 46px 46px / 92px 46px;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 980px;
  padding-bottom: 148px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(48px, 8vw, 126px);
  line-height: 0.98;
  font-weight: 950;
}

.hero-slide .eyebrow {
  color: rgba(11, 13, 11, 0.76);
}

.hero-slide h1 {
  max-width: 920px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(58px, 8.2vw, 142px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-signature {
  max-width: 780px;
  margin: 0;
  color: rgba(11, 13, 11, 0.9);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.55;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 36px;
  color: #3c433c;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

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

.button.secondary {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.hero-figure {
  position: relative;
  z-index: 2;
  align-self: end;
  height: min(72vh, 620px);
  min-height: 0;
  overflow: hidden;
}

.hero-figure img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
}

.hero-contact {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 96px;
  color: #fff;
}

.hero-vertical {
  position: absolute;
  z-index: 4;
  top: 56px;
  right: 34px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  writing-mode: vertical-rl;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 900;
  line-height: 1.05;
}

.hero-vertical strong {
  margin-inline-start: 24px;
  color: var(--ink);
  font-size: clamp(22px, 1.8vw, 36px);
}

.hero-contact span {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 900;
}

.hero-contact strong {
  display: block;
  font-size: clamp(34px, 3.2vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 72px;
  border: 0;
  background: transparent;
  color: rgba(11, 13, 11, 0.42);
  font-size: 46px;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.hero-arrow:hover {
  color: rgba(11, 13, 11, 0.88);
}

.hero-arrow-prev {
  left: 22px;
}

.hero-arrow-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 50px;
  left: 20px;
  display: flex;
  gap: 16px;
}

.hero-dots button {
  width: 38px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(11, 13, 11, 0.62);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--green);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.metrics div {
  min-height: 138px;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1;
  font-weight: 950;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 104px 32px;
  border-bottom: 1px solid var(--line);
}

.about-grid,
.method-layout,
.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(360px, 1.14fr);
  gap: 70px;
}

.about h2,
.services h2,
.works h2,
.method h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 1.08;
  font-weight: 950;
}

.about-copy {
  max-width: 790px;
  color: #3d443d;
  font-size: 18px;
  line-height: 1.9;
}

.about-copy p:last-of-type {
  margin-bottom: 28px;
}

.value-line {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-left: 8px solid var(--green);
  background: var(--panel);
}

.value-line span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.value-line strong {
  font-size: 22px;
  line-height: 1.35;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 440px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.75;
}

.services {
  background: var(--ink-soft);
  color: var(--paper);
}

.services .section-kicker {
  color: var(--green);
}

.services .section-heading p {
  color: rgba(244, 247, 242, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  background: transparent;
  border: 0;
}

.service-grid article {
  position: relative;
  min-height: 340px;
  padding: 52px;
  border: 1px solid rgba(244, 247, 242, 0.22);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 220, 0, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.service-grid article:hover,
.service-grid article.is-glowing {
  border-color: rgba(0, 220, 0, 0.92);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 220, 0, 0.2), transparent 36%),
    rgba(0, 220, 0, 0.04);
  transform: translateY(-4px);
}

.service-grid span,
.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.service-grid h3,
.steps h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.25;
}

.service-grid p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-grid h3 {
  margin-bottom: 28px;
  color: var(--paper);
  font-size: clamp(28px, 2.4vw, 44px);
}

.service-grid p {
  max-width: 720px;
  color: rgba(244, 247, 242, 0.72);
  font-size: clamp(18px, 1.55vw, 28px);
  line-height: 1.8;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.work-card {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(11, 13, 11, 0.14);
  overflow: hidden;
}

.work-card.featured {
  grid-row: span 2;
}

.work-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--silver);
}

.work-card.featured .work-image {
  aspect-ratio: 4 / 5;
}

.work-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-card:hover .work-image img {
  transform: scale(1.035);
}

.work-info {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 88px;
  gap: 18px;
  align-items: start;
  min-height: 124px;
  padding: 22px;
}

.work-index,
.work-type {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.work-type {
  color: var(--muted);
  text-align: right;
}

.work-info h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.work-info p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.work-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.work-link::after {
  margin-left: 8px;
  content: "→";
  transition: transform 180ms ease;
}

.work-link:hover::after {
  transform: translateX(4px);
}

.method {
  background: var(--ink-soft);
  color: var(--paper);
}

.method .section-kicker,
.method .steps span {
  color: var(--green);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(244, 247, 242, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.steps p {
  color: rgba(244, 247, 242, 0.74);
}

.glow-card {
  --glow-x: 50%;
  --glow-y: 50%;
  isolation: isolate;
  border-radius: 0;
  transform: translate3d(0, 0, 0);
}

.glow-card::before,
.glow-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
  content: "";
}

.glow-card::before {
  z-index: 2;
  padding: 1px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 220, 0, 0.9), transparent 30%),
    linear-gradient(135deg, rgba(0, 220, 0, 0.86), rgba(255, 255, 255, 0.18), rgba(0, 143, 24, 0.58));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.glow-card::after {
  z-index: 1;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 220, 0, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(0, 220, 0, 0.12), transparent 34%);
  mix-blend-mode: soft-light;
}

.glow-card:hover::before,
.glow-card:hover::after,
.glow-card.is-glowing::before,
.glow-card.is-glowing::after {
  opacity: 1;
}

.service-grid article > *,
.work-card > *,
.steps article > * {
  position: relative;
  z-index: 3;
}

.principles {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--green);
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(11, 13, 11, 0.25);
}

.principle-strip strong {
  display: flex;
  align-items: center;
  min-height: 118px;
  padding: 24px;
  background: var(--green);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.22;
}

.contact {
  align-items: center;
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.22fr);
  gap: 54px;
  padding-top: 84px;
  padding-bottom: 84px;
  background: var(--panel);
}

.contact-heading {
  min-width: 0;
}

.contact h2 {
  max-width: 780px;
  font-size: clamp(42px, 5vw, 88px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 34px;
  min-height: 164px;
  padding: 26px 34px;
  background: #000;
  color: var(--paper);
  font-size: 22px;
  font-weight: 900;
}

.contact-info {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.contact-panel a {
  color: var(--green);
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1;
  font-weight: 950;
}

#contactNotes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  align-items: center;
}

.contact-panel span {
  color: rgba(244, 247, 242, 0.82);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-qrs {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.contact-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 112px;
  margin: 0;
}

.contact-qr img,
.qr-placeholder {
  width: 112px;
  height: 112px;
  border: 6px solid var(--paper);
  background: var(--paper);
  object-fit: cover;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  font-weight: 950;
}

.contact-qr figcaption {
  color: rgba(244, 247, 242, 0.72);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.case-page {
  background: var(--paper);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 64px;
  padding: 96px 32px 64px;
  border-bottom: 1px solid var(--line);
}

.case-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
}

.case-hero h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(54px, 8vw, 132px);
  line-height: 0.98;
}

.case-lede {
  max-width: 760px;
  margin: 0;
  color: #3d443d;
  font-size: 20px;
  line-height: 1.8;
}

.case-meta {
  align-self: end;
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-meta div {
  padding: 22px;
  background: var(--panel);
}

.case-meta dt {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.case-cover {
  padding: 32px;
  background: var(--ink-soft);
}

.case-cover img {
  max-height: 78vh;
  object-fit: cover;
  border: 1px solid rgba(244, 247, 242, 0.18);
}

.case-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 32px;
  background: var(--line);
}

.case-body article {
  min-height: 360px;
  padding: 42px;
  background: var(--panel);
}

.case-body span {
  display: block;
  margin-bottom: 58px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.case-body h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 2.5vw, 44px);
  line-height: 1.15;
}

.case-body p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 96px 32px;
  background: var(--ink-soft);
}

.case-gallery img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(244, 247, 242, 0.18);
}

.case-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 48px 32px 104px;
  background: var(--paper);
}

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

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

@media (max-width: 1120px) {
  .hero-slide {
    grid-template-columns: 1fr;
    height: 100%;
    padding: 78px 42px 180px;
  }

  .hero-copy {
    padding-bottom: 42px;
  }

  .hero-figure {
    height: min(46vh, 520px);
    min-height: 0;
  }

  .about-grid,
  .method-layout,
  .contact,
  .case-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-carousel,
  .hero-slide {
    height: calc(100vh - 64px);
  }

  .hero-slide {
    padding: 54px 18px 150px;
  }

  .hero-slide h1 {
    font-size: 48px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-lede,
  .about-copy {
    font-size: 16px;
  }

  .hero-figure {
    height: min(34vh, 360px);
    min-height: 0;
  }

  .hero-contact {
    right: 18px;
    bottom: 42px;
    left: 18px;
  }

  .hero-vertical {
    top: 20px;
    right: 16px;
    font-size: 14px;
  }

  .hero-vertical strong {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 24px;
    left: 18px;
  }

  .metrics,
  .service-grid,
  .work-list,
  .steps,
  .principle-strip,
  .case-body,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid article {
    min-height: 240px;
    padding: 30px;
  }

  .service-grid h3 {
    font-size: 28px;
  }

  .service-grid p {
    font-size: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-card.featured {
    grid-row: auto;
  }

  .work-card.featured .work-image,
  .work-image {
    aspect-ratio: 4 / 3;
  }

  .work-info {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .work-type {
    grid-column: 2;
    text-align: left;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    font-size: 18px;
  }

  .contact-panel a {
    font-size: 34px;
  }

  #contactNotes {
    display: grid;
    gap: 8px;
  }

  .contact-qrs {
    flex-wrap: wrap;
    gap: 18px;
  }

  .contact-qr {
    width: 96px;
  }

  .contact-qr img,
  .qr-placeholder {
    width: 96px;
    height: 96px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 20px 18px;
  }

  .case-hero,
  .case-cover,
  .case-body,
  .case-gallery,
  .case-next {
    padding-right: 18px;
    padding-left: 18px;
  }

  .case-hero {
    padding-top: 54px;
  }

  .case-body article {
    min-height: auto;
    padding: 30px;
  }

  .case-gallery {
    gap: 16px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
