:root {
  --ink: #0d0f11;
  --panel: #171a1d;
  --panel-2: #202429;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f4ee;
  --muted: rgba(246, 244, 238, 0.68);
  --soft: rgba(246, 244, 238, 0.08);
  --paper: #f1eee6;
  --paper-text: #171a1d;
  --signal: #c8ff5b;
  --blue: #8ddcff;
  --coral: #ff8a6b;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-height: 78px;
  --container: 1200px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 14% 18%, rgba(141, 220, 255, 0.1), transparent 26rem),
    radial-gradient(circle at 82% 12%, rgba(200, 255, 91, 0.08), transparent 24rem),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 17, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 48px;
  display: block;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-wordmark span:first-child {
  font-weight: 900;
}

.brand-wordmark span:last-child {
  font-weight: 300;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.footer-links a,
.header-cta {
  color: rgba(246, 244, 238, 0.76);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--signal);
}

.header-cta {
  border: 1px solid rgba(200, 255, 91, 0.42);
  border-radius: var(--radius);
  padding: 11px 16px;
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  display: grid;
  align-items: start;
  padding-top: 2rem;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, black 64%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "LUNA STUDIOS";
  position: absolute;
  left: 50%;
  bottom: -0.15em;
  transform: translateX(-50%);
  width: max-content;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 18rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  pointer-events: none;
}

.hero-gridline {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 1px;
  margin-top: 34px;
  background: var(--line);
  transform: translateX(-50%);
}

.particle-field {
  position: absolute;
  inset: -12%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle-field::before,
.particle-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(246, 244, 238, 0.84) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(141, 220, 255, 0.54) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(200, 255, 91, 0.4) 0 1px, transparent 2.2px);
  background-position:
    0 0,
    56px 82px,
    118px 42px;
  background-size:
    118px 154px,
    206px 234px,
    318px 360px;
  mask-image: radial-gradient(circle at 54% 42%, black 0%, black 50%, transparent 78%);
  opacity: 0.36;
  animation: particle-drift 46s linear infinite;
}

.particle-field::after {
  filter: blur(1px);
  opacity: 0.22;
  transform: scale(1.08);
  animation-duration: 68s;
  animation-direction: reverse;
}

.particle-field span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(246, 244, 238, 0.72);
  box-shadow: 0 0 22px rgba(141, 220, 255, 0.34);
  opacity: 0.54;
  animation: particle-float 8s ease-in-out infinite;
}

.particle-field span:nth-child(1) { left: 8%; top: 25%; animation-delay: -1.4s; }
.particle-field span:nth-child(2) { left: 18%; top: 66%; width: 2px; height: 2px; animation-delay: -4.2s; }
.particle-field span:nth-child(3) { left: 29%; top: 18%; background: rgba(141, 220, 255, 0.72); animation-delay: -2.3s; }
.particle-field span:nth-child(4) { left: 41%; top: 78%; width: 3px; height: 3px; animation-delay: -5.6s; }
.particle-field span:nth-child(5) { left: 53%; top: 15%; width: 2px; height: 2px; animation-delay: -3.1s; }
.particle-field span:nth-child(6) { left: 62%; top: 58%; background: rgba(200, 255, 91, 0.58); animation-delay: -6.4s; }
.particle-field span:nth-child(7) { left: 74%; top: 28%; width: 3px; height: 3px; animation-delay: -1.8s; }
.particle-field span:nth-child(8) { left: 86%; top: 72%; animation-delay: -7.2s; }
.particle-field span:nth-child(9) { left: 91%; top: 38%; width: 2px; height: 2px; animation-delay: -4.8s; }
.particle-field span:nth-child(10) { left: 35%; top: 48%; background: rgba(255, 138, 107, 0.54); animation-delay: -2.9s; }
.particle-field span:nth-child(11) { left: 68%; top: 84%; width: 2px; height: 2px; animation-delay: -6.8s; }
.particle-field span:nth-child(12) { left: 12%; top: 44%; width: 3px; height: 3px; animation-delay: -3.7s; }

@keyframes particle-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-96px, 74px, 0);
  }
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0.28;
    transform: translate3d(0, 0, 0) scale(0.82);
  }

  45% {
    opacity: 0.88;
    transform: translate3d(12px, -18px, 0) scale(1.28);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--signal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-title,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  max-width: 1040px;
  font-size: clamp(2.5rem, 5.9vw, 5.9rem);
  line-height: 0.94;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title span:nth-child(2) {
  color: var(--blue);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: transparent;
  color: var(--signal);
}

.button-ghost {
  background: transparent;
  color: var(--text);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border: 1px solid var(--line);
  background: rgba(23, 26, 29, 0.76);
}

.hero-panel div {
  min-height: 106px;
  padding: 22px;
  border-left: 1px solid var(--line);
}

.hero-panel div:first-child {
  border-left: 0;
}

.panel-kicker,
.card-meta,
.project-category,
.result-card span,
.process-item > span {
  color: rgba(246, 244, 238, 0.55);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

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

.split-layout,
.process-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
}

.consultation-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.12fr);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-intro-wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.52fr);
  gap: 42px;
  align-items: end;
}

h2 {
  max-width: 820px;
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.92;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.copy-stack,
.contact-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.tag-list,
.contact-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tag-list span,
.contact-note span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(246, 244, 238, 0.74);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.work-card,
.result-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 16px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-card-wide {
  grid-column: span 2;
}

.service-card:hover,
.service-card:focus-within,
.result-card:hover {
  border-color: rgba(200, 255, 91, 0.48);
  background: var(--panel-2);
  transform: translateY(-2px);
}

.service-visual,
.project-image {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: var(--ink);
}

.service-visual {
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.2vw, 24px);
  background:
    linear-gradient(135deg, rgba(141, 220, 255, 0.1), transparent 42%),
    #f8fbff;
  border-color: rgba(246, 244, 238, 0.2);
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(rgba(13, 15, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 15, 17, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.service-visual img,
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 320ms ease, filter 320ms ease;
}

.service-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.82) contrast(1.02) brightness(1.02);
}

.service-card:hover img,
.work-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0.35) contrast(1.08);
}

.service-card:hover .service-visual img {
  filter: saturate(0.98) contrast(1.04) brightness(1.01);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.service-card p,
.work-card p,
.result-card p,
.process-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

.text-link {
  width: fit-content;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
}

.text-link-dark {
  color: #495f00;
}

.text-link-dark:hover,
.text-link-dark:focus-visible {
  color: #171a1d;
}

.service-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 12vh, 140px) 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 14%, rgba(141, 220, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 86%, rgba(200, 255, 91, 0.1), transparent 24rem),
    #101315;
}

.service-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.service-page-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.service-page-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(246, 244, 238, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.service-page-card {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 26, 29, 0.78);
}

.service-page-card strong {
  color: var(--text);
  font-size: 1.08rem;
}

.service-page-card span {
  color: var(--muted);
}

.service-content {
  background: var(--paper);
  color: var(--paper-text);
}

.service-content .eyebrow,
.service-content .text-link {
  color: #495f00;
}

.service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.service-content h2,
.service-content h3 {
  color: var(--paper-text);
}

.service-content h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.service-content p,
.service-content li {
  color: rgba(23, 26, 29, 0.72);
}

.service-list,
.faq-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li,
.faq-list article {
  padding: 18px;
  border: 1px solid rgba(23, 26, 29, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.service-list strong,
.faq-list h3 {
  display: block;
  margin-bottom: 6px;
  color: var(--paper-text);
}

.section-work {
  background: var(--paper);
  color: var(--paper-text);
}

.section-work .eyebrow {
  color: #495f00;
}

.section-work h2,
.section-work h3 {
  color: var(--paper-text);
}

.section-work .section-intro-wide > p {
  color: rgba(23, 26, 29, 0.66);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid rgba(23, 26, 29, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: rgba(23, 26, 29, 0.72);
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--paper-text);
  background: var(--paper-text);
  color: var(--paper);
}

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

.work-card {
  overflow: hidden;
  background: #fbf9f2;
  border-color: rgba(23, 26, 29, 0.14);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.section-work .work-card:hover,
.section-work .work-card:focus-within {
  border-color: rgba(23, 26, 29, 0.34);
  background: #ffffff;
  transform: translateY(-2px);
}

.section-work .work-card h3 {
  color: #111416;
}

.work-card.is-filtered-out {
  opacity: 0;
  transform: scale(0.98);
}

.work-card .project-image {
  border: 0;
  border-bottom: 1px solid rgba(23, 26, 29, 0.12);
  border-radius: 0;
}

.work-content {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.work-card p {
  color: rgba(17, 20, 22, 0.78);
}

.project-category {
  color: #3f5200;
}

.section-results {
  background: #101315;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.result-card {
  min-height: 244px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
  transition: background 180ms ease, transform 180ms ease;
}

.result-card strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 3.6rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.result-card:nth-child(2) span,
.result-card:nth-child(2) strong {
  color: var(--blue);
}

.result-card:nth-child(3) span,
.result-card:nth-child(3) strong {
  color: var(--coral);
}

.result-card:nth-child(4) span,
.result-card:nth-child(4) strong {
  color: var(--signal);
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-item h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.section-consultation {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(141, 220, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 9% 82%, rgba(200, 255, 91, 0.12), transparent 25rem),
    linear-gradient(135deg, #0f1311 0%, #111718 58%, #17212a 100%);
  color: var(--text);
}

.section-consultation::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 76%, transparent);
  pointer-events: none;
}

.section-contact .eyebrow {
  color: #495f00;
}

.section-contact h2 {
  color: var(--paper-text);
}

.consultation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section-consultation .eyebrow {
  color: var(--signal);
}

.section-consultation h2 {
  color: var(--text);
  max-width: 640px;
  font-size: clamp(2.4rem, 4.4vw, 4.9rem);
  line-height: 0.98;
}

.consultation-copy {
  display: grid;
  gap: 20px;
  max-width: 640px;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid rgba(246, 244, 238, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 244, 238, 0.08), rgba(246, 244, 238, 0.035));
  box-shadow: inset 0 1px 0 rgba(246, 244, 238, 0.08);
  color: rgba(246, 244, 238, 0.84);
}

.consultation-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(246, 244, 238, 0.8);
  font-size: 1.02rem;
}

.section-consultation .contact-note span {
  border-color: rgba(246, 244, 238, 0.28);
  background: rgba(246, 244, 238, 0.07);
  color: rgba(246, 244, 238, 0.86);
}

.section-contact {
  background: var(--paper);
  color: var(--paper-text);
}

.section-faq {
  background: #faf8f1;
  color: var(--paper-text);
}

.section-faq .eyebrow {
  color: #495f00;
}

.section-faq h2,
.section-faq h3 {
  color: var(--paper-text);
}

.section-faq .section-heading p:not(.eyebrow) {
  color: rgba(23, 26, 29, 0.68);
}

.section-contact .contact-copy {
  color: rgba(23, 26, 29, 0.68);
}

.section-contact .contact-note span {
  border-color: rgba(23, 26, 29, 0.2);
  color: rgba(23, 26, 29, 0.72);
}

.contact-form,
.calendly-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #fbf9f2;
  border-color: rgba(23, 26, 29, 0.14);
}

.calendly-card {
  align-content: start;
}

.section-consultation .calendly-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(246, 244, 238, 0.22);
  border-radius: 8px;
  background: #f7f5ee;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.calendly-card-header {
  display: grid;
  gap: 10px;
}

.calendly-card-header .eyebrow {
  margin-bottom: 0;
}

.section-consultation .calendly-card .eyebrow {
  color: #4f6700;
}

.calendly-card-header h3 {
  color: var(--paper-text);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.calendly-card-header p:last-child,
.calendly-note {
  color: rgba(23, 26, 29, 0.66);
  font-size: 0.92rem;
}

.calendly-inline-widget {
  min-width: 0;
  height: 580px;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 29, 0.13);
  border-radius: 8px;
  background: #efede6;
}

.calendly-fallback {
  display: grid;
  min-height: 100%;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: 24px;
  color: rgba(23, 26, 29, 0.72);
  text-align: left;
}

.calendly-fallback strong {
  color: var(--paper-text);
  font-size: 1.25rem;
  line-height: 1.2;
}

.calendly-fallback .button {
  width: auto;
  margin-top: 8px;
  border-color: var(--paper-text);
  background: var(--paper-text);
  color: var(--paper);
}

.calendly-fallback .button:hover,
.calendly-fallback .button:focus-visible {
  background: transparent;
  color: var(--paper-text);
}

.calendly-note {
  border-top: 1px solid rgba(23, 26, 29, 0.12);
  padding-top: 12px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: rgba(23, 26, 29, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(23, 26, 29, 0.18);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--paper-text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-group textarea {
  min-height: 148px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(23, 26, 29, 0.72);
  box-shadow: 0 0 0 3px rgba(200, 255, 91, 0.45);
}

.contact-form .button-primary {
  width: 100%;
  border-color: var(--paper-text);
  background: var(--paper-text);
  color: var(--paper);
}

.contact-form .button-primary:hover,
.contact-form .button-primary:focus-visible {
  background: transparent;
  color: var(--paper-text);
}

.form-message {
  min-height: 24px;
  color: #2f6700;
  font-size: 0.92rem;
}

.form-message.is-error {
  color: #a12a17;
}

.site-footer {
  padding: 42px 0;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .particle-field::before,
  .particle-field::after,
  .particle-field span {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .services-grid,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 15, 17, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: grid;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand-logo {
    width: 48px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 34px;
  }

  .hero-title {
    font-size: clamp(2.55rem, 11.5vw, 4.9rem);
    line-height: 0.94;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-panel,
  .service-page-hero .container,
  .service-content-grid,
  .split-layout,
  .process-layout,
  .contact-grid,
  .consultation-grid,
  .section-intro-wide {
    grid-template-columns: 1fr;
  }

  .consultation-grid {
    align-items: stretch;
  }

  .section-consultation h2 {
    max-width: 720px;
    font-size: clamp(2.45rem, 10vw, 4rem);
  }

  .hero-panel div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-panel div:first-child {
    border-top: 0;
  }

  .section {
    padding: 78px 0;
  }

  .services-grid,
  .work-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand-wordmark {
    display: inline-flex;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
  }

  h2 {
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }

  .section-consultation h2 {
    font-size: clamp(2rem, 11vw, 3.05rem);
  }

  .consultation-copy {
    padding: 18px;
  }

  .service-card,
  .work-content,
  .result-card,
  .contact-form,
  .calendly-card {
    padding: 16px;
  }

  .calendly-inline-widget {
    height: 680px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
