:root {
  --bg: #07110c;
  --bg-2: #0c1912;
  --panel: #12201a;
  --panel-2: #182821;
  --line: rgba(196, 214, 188, 0.14);
  --olive: #b7c86a;
  --olive-deep: #6e7f3a;
  --glow: #7dffe6;
  --glow-dim: rgba(125, 255, 230, 0.18);
  --sand: #f3eee3;
  --sand-2: #e7e0d1;
  --ink: #f4f7f3;
  --ink-dark: #142018;
  --muted: #a7b5ab;
  --muted-dark: #5b675e;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1180px;
  --nav-h: 78px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

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

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--olive);
  color: var(--ink-dark);
  padding: 8px 14px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: var(--olive);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
}

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  color: var(--muted);
}

/* Concept bar */
.concept {
  background: var(--olive);
  color: var(--ink-dark);
  font-size: 13px;
  font-weight: 500;
}

.concept .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}

.concept a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--max));
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
}

.logo-mark {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--olive);
  color: var(--ink-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-dark {
  background: var(--ink-dark);
  color: var(--sand);
}

.btn-phone {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 17, 12, 0.2) 0%, rgba(7, 17, 12, 0.55) 42%, rgba(7, 17, 12, 0.96) 100%),
    url("../images/hero.jpg?v=2") center/cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(125, 255, 230, 0.16), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(183, 200, 106, 0.12), transparent 32%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  padding: 80px 0 56px;
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  max-width: 11ch;
  margin: 18px 0 18px;
}

.hero h1 span {
  color: var(--olive);
}

.hero p.intro {
  max-width: 36rem;
  font-size: 1.15rem;
  color: #d5ddd6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.hero-meta b {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px;
}

.tub-stage {
  position: relative;
  height: 460px;
  perspective: 1100px;
}

.tub {
  position: absolute;
  left: 12%;
  border-radius: 14px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: rotateX(58deg) rotateZ(-18deg);
  transform-style: preserve-3d;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 10px 0 rgba(255, 255, 255, 0.22),
    inset 0 -14px 18px rgba(0, 0, 0, 0.18);
}

.tub::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 18%;
  bottom: 28%;
  border-radius: 8px;
  background: rgba(7, 17, 12, 0.22);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.tub::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 6px;
  height: 16px;
  border-radius: 10px;
  background: inherit;
  filter: brightness(1.12);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.tub-1 {
  bottom: 54px;
  width: 320px;
  height: 118px;
  background: linear-gradient(180deg, rgba(125, 255, 230, 0.95), rgba(52, 168, 148, 0.88));
  z-index: 4;
}

.tub-2 {
  bottom: 118px;
  width: 292px;
  height: 110px;
  left: 16%;
  background: linear-gradient(180deg, rgba(183, 200, 106, 0.95), rgba(110, 127, 58, 0.9));
  z-index: 3;
}

.tub-3 {
  bottom: 178px;
  width: 264px;
  height: 102px;
  left: 20%;
  background: linear-gradient(180deg, rgba(232, 184, 109, 0.95), rgba(176, 118, 48, 0.9));
  z-index: 2;
}

.tub-4 {
  bottom: 234px;
  width: 236px;
  height: 94px;
  left: 24%;
  background: linear-gradient(180deg, rgba(120, 168, 255, 0.95), rgba(62, 96, 168, 0.9));
  z-index: 1;
}

.tub-caption {
  position: absolute;
  right: 6%;
  bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0a1610;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 32s linear infinite;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

.marquee-track span {
  white-space: nowrap;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 92px 0;
  scroll-margin-top: 88px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.light {
  background: var(--sand);
  color: var(--ink-dark);
}

.light .eyebrow,
.light .lede {
  color: var(--olive-deep);
}

.light .lede {
  color: var(--muted-dark);
}

/* Services bento */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 250px;
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 220px;
  color: var(--ink);
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.card:hover img {
  transform: scale(1.06);
  opacity: 0.7;
}

.card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 17, 12, 0.92));
}

.card.wide {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.card h3 {
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: #d5ddd6;
  max-width: 36ch;
}

.tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 10px;
}

.light .card {
  background: #fff;
  color: var(--ink-dark);
  border-color: rgba(20, 32, 24, 0.08);
}

.light .card-body {
  background: linear-gradient(180deg, transparent 10%, rgba(255, 255, 255, 0.92));
}

.light .card p {
  color: var(--muted-dark);
}

.light .card h3 {
  color: var(--ink-dark);
}

.light .tag {
  color: var(--olive-deep);
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse img {
  order: 2;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.light .checklist li {
  border-color: rgba(20, 32, 24, 0.1);
}

.checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 16px;
  background: var(--olive);
  box-shadow: 0 0 0 4px rgba(183, 200, 106, 0.2);
}

/* Materials */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.swatch {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chip {
  height: 54px;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: inset -10px 0 0 rgba(255, 255, 255, 0.35);
}

.swatch h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.swatch p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.stat b {
  font-family: var(--display);
  font-size: 2rem;
  display: block;
}

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

.light .stat {
  background: #fff;
  border-color: rgba(20, 32, 24, 0.08);
}

.light .stat span {
  color: var(--muted-dark);
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 230px;
}

.step-num {
  font-family: var(--display);
  color: var(--olive);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step h3 {
  font-size: 1.6rem;
  margin: 18px 0 10px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-card,
.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
}

.contact-card a {
  color: var(--olive);
}

.contact-card h3 {
  font-size: 1.7rem;
  margin: 8px 0 18px;
}

.map {
  margin-top: 22px;
  border: 0;
  width: 100%;
  height: 220px;
  border-radius: 18px;
  filter: grayscale(0.35) contrast(1.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 6px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d1813;
  color: var(--ink);
  padding: 12px 14px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.form-success {
  display: none;
  padding: 18px;
  border-radius: 14px;
  background: rgba(183, 200, 106, 0.15);
  color: var(--olive);
  margin-top: 12px;
}

.form.is-sent .form-success {
  display: block;
}

.form.is-sent .fields {
  display: none;
}

/* Pitch */
.pitch {
  background:
    linear-gradient(180deg, rgba(7, 17, 12, 0.3), rgba(7, 17, 12, 0.88)),
    url("../images/workshop.jpg?v=2") center/cover;
  color: var(--ink);
}

.pitch-box {
  background: rgba(7, 17, 12, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 48px;
  max-width: 760px;
}

.pitch h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 12px 0 16px;
}

/* Footer */
footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .btn-phone {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(7, 17, 12, 0.96);
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .section-head,
  .split,
  .split.reverse,
  .bento,
  .swatches,
  .stats,
  .steps,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .split.reverse img {
    order: 0;
  }

  .bento {
    grid-template-rows: none;
  }

  .card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .tub-stage {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 48px;
  }

  .split img {
    height: 280px;
  }

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

  .concept .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
