:root {
  color-scheme: dark;
  --ink: #f7f1e5;
  --muted: #c5bcae;
  --paper: #f4eee1;
  --paper-ink: #211a15;
  --deep: #080b0d;
  --deep-2: #101615;
  --teal: #163d3b;
  --gold: #d9aa61;
  --copper: #a96543;
  --line: rgba(247, 241, 229, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--deep);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0), rgba(8, 11, 13, 0.92) 820px),
    var(--deep);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(247, 241, 229, 0.16);
  border-radius: 8px;
  background: rgba(8, 11, 13, 0.42);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 13, 0.84);
  border-color: rgba(217, 170, 97, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 170, 97, 0.5);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 170, 97, 0.24), rgba(22, 61, 59, 0.6));
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: inline-flex;
  justify-content: center;
  gap: 28px;
  color: rgba(247, 241, 229, 0.82);
  font-size: 14px;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.header-cta,
.button,
.menu-toggle,
.panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.header-cta {
  min-height: 46px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 700;
}

.button {
  min-height: 54px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, #f1c878, #bc7449);
  color: #17100b;
  box-shadow: 0 16px 36px rgba(188, 116, 73, 0.24);
}

.button.ghost {
  border: 1px solid rgba(247, 241, 229, 0.22);
  background: rgba(247, 241, 229, 0.07);
  color: var(--ink);
}

.button.ghost.light {
  border-color: rgba(33, 26, 21, 0.18);
  background: rgba(33, 26, 21, 0.06);
  color: var(--paper-ink);
}

.button svg,
.header-cta svg,
.service-card svg,
.check-item svg,
.social-card svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: rgba(247, 241, 229, 0.1);
  color: var(--ink);
}

.mobile-panel {
  position: fixed;
  top: 86px;
  right: 10px;
  left: 10px;
  z-index: 30;
  display: grid;
  gap: 6px;
  width: auto;
  max-height: calc(100svh - 106px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 1px solid rgba(217, 170, 97, 0.2);
  border-radius: 8px;
  background: #080b0d;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

.panel-close {
  justify-self: end;
  width: 42px;
  height: 42px;
  background: rgba(247, 241, 229, 0.1);
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 148px max(24px, calc((100vw - 1180px) / 2)) 42px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(8, 11, 13, 0.98) 0%, rgba(8, 11, 13, 0.68) 38%, rgba(8, 11, 13, 0.08) 76%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.04), rgba(8, 11, 13, 0.76)),
    url('../public/images/atmika-hero.png');
  background-position: center right;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, rgba(8, 11, 13, 0), var(--deep));
  content: "";
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 64px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 12px 4px;
  border: 1px solid rgba(217, 170, 97, 0.34);
  border-radius: 999px;
  color: #e8c07e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.hero-content p {
  max-width: 660px;
  color: rgba(247, 241, 229, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

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

.hero-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  border: 1px solid rgba(247, 241, 229, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(247, 241, 229, 0.08);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  min-height: 70px;
  padding: 20px;
  background: rgba(8, 11, 13, 0.46);
  color: rgba(247, 241, 229, 0.86);
  font-weight: 700;
}

section {
  scroll-margin-top: 106px;
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
}

.section-band {
  background:
    linear-gradient(135deg, rgba(22, 61, 59, 0.22), rgba(217, 170, 97, 0.04)),
    #0d1112;
}

.intro.section-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 38%, rgba(217, 170, 97, 0.18), transparent 36%),
    radial-gradient(circle at 22% 72%, rgba(92, 141, 143, 0.18), transparent 34%),
    #080b0d;
}

.intro.section-band > :not(.nebula-canvas) {
  position: relative;
  z-index: 2;
}

.intro.section-band::before,
.intro.section-band::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.intro.section-band::before {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.86), rgba(8, 11, 13, 0.42) 46%, rgba(8, 11, 13, 0.78)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.06), rgba(8, 11, 13, 0.52));
}

.intro.section-band::after {
  background:
    radial-gradient(circle at 50% 45%, transparent 0 28%, rgba(8, 11, 13, 0.44) 74%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.1), transparent 32%, rgba(8, 11, 13, 0.24));
  opacity: 0.36;
}

.nebula-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.nebula-canvas.is-fallback {
  display: none;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1.22fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.section-heading-centered,
.section-heading-stack {
  display: flex;
  flex-direction: column;
}

.section-heading-centered {
  align-items: center;
  gap: 18px;
  text-align: center;
}

.section-heading-centered h2 {
  max-width: 780px;
}

.section-heading-stack {
  align-items: flex-start;
  gap: 20px;
}

.process-heading {
  max-width: 860px;
  margin-bottom: 54px;
}

.section-heading h2,
.split h2,
.story h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.02;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
}

.intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro .section-heading h2 {
  margin: 18px 0 0;
}

.intro-copy {
  display: grid;
  gap: 24px;
  color: rgba(247, 241, 229, 0.78);
  font-size: 20px;
  line-height: 1.7;
}

.intro-copy p {
  margin-bottom: 0;
}

.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 170, 97, 0.14), transparent 34%),
    radial-gradient(circle at 82% 62%, rgba(70, 131, 130, 0.16), transparent 32%),
    #070a0b;
}

.services > :not(.warp-canvas) {
  position: relative;
  z-index: 2;
}

.services::before,
.services::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.services::before {
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.82), rgba(8, 11, 13, 0.34) 42%, rgba(8, 11, 13, 0.82)),
    radial-gradient(circle at 50% 36%, transparent 0 24%, rgba(8, 11, 13, 0.36) 76%);
}

.services::after {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.84), transparent 24% 76%, rgba(8, 11, 13, 0.84)),
    radial-gradient(circle at 50% 38%, transparent 0 34%, rgba(8, 11, 13, 0.38) 82%);
  opacity: 0.4;
}

.warp-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.warp-canvas.is-fallback {
  display: none;
}

.services-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto 54px;
  text-align: center;
}

.services-heading h2 {
  max-width: 820px;
}

.services-heading .kicker {
  width: auto;
}

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

.gallery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 116px;
  background:
    radial-gradient(circle at 50% 36%, rgba(217, 170, 97, 0.14), transparent 32%),
    radial-gradient(circle at 18% 62%, rgba(70, 131, 130, 0.2), transparent 30%),
    linear-gradient(180deg, #070a0b, #0d1112 48%, #080b0d);
}

.gallery::before,
.gallery::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.gallery::before {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.88), transparent 30% 70%, rgba(8, 11, 13, 0.88)),
    radial-gradient(circle at 50% 45%, transparent 0 28%, rgba(8, 11, 13, 0.5) 76%);
}

.gallery::after {
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(8, 11, 13, 0), rgba(8, 11, 13, 0.82));
}

.gallery-heading {
  margin-bottom: 34px;
}

.gallery-carousel {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
  touch-action: pan-y;
  user-select: none;
}

.gallery-stage {
  position: relative;
  width: min(100%, 1040px);
  height: clamp(460px, 58vw, 620px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.gallery-slide {
  --offset: 0;
  --distance: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(230px, 25vw, 330px);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 229, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 241, 229, 0.08), rgba(247, 241, 229, 0.02)),
    #101615;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(217, 170, 97, 0.05) inset;
  opacity: calc(1 - var(--distance) * 0.18);
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--offset) * clamp(142px, 18vw, 245px)))
    translateZ(calc(42px - var(--distance) * 78px))
    rotateY(calc(var(--offset) * -15deg))
    scale(calc(1 - var(--distance) * 0.11));
  transition:
    transform 620ms cubic-bezier(0.2, 0.82, 0.2, 1),
    opacity 360ms ease,
    filter 360ms ease;
}

.gallery-slide[aria-current] {
  border-color: rgba(217, 170, 97, 0.44);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.58),
    0 0 52px rgba(217, 170, 97, 0.16);
}

.gallery-slide[aria-hidden="true"] {
  pointer-events: none;
}

.gallery-media,
.gallery-media img,
.gallery-media video {
  width: 100%;
  height: 100%;
}

.gallery-media {
  position: absolute;
  inset: 0;
}

.gallery-media img,
.gallery-media video {
  display: block;
  object-fit: cover;
}

.gallery-slide::before,
.gallery-slide::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.gallery-slide::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.04), rgba(8, 11, 13, 0.38) 68%, rgba(8, 11, 13, 0.82)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 28% 74%, rgba(0, 0, 0, 0.18));
}

.gallery-slide::after {
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.gallery-slide figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  display: grid;
  gap: 8px;
}

.gallery-slide figcaption span {
  justify-self: start;
  padding: 5px 9px;
  border: 1px solid rgba(217, 170, 97, 0.34);
  border-radius: 999px;
  background: rgba(8, 11, 13, 0.34);
  color: #f0c878;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-slide figcaption strong {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.66);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(247, 241, 229, 0.18);
  border-radius: 50%;
  background: rgba(8, 11, 13, 0.54);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.gallery-arrow:hover {
  border-color: rgba(217, 170, 97, 0.46);
  background: rgba(217, 170, 97, 0.16);
  color: #f0c878;
}

.gallery-arrow svg {
  width: 28px;
  height: 28px;
}

.gallery-arrow-prev {
  left: 0;
}

.gallery-arrow-next {
  right: 0;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}

.gallery-dots button {
  width: 36px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 241, 229, 0.2);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.gallery-dots button.is-active {
  width: 54px;
  background: #e8c07e;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 328px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(247, 241, 229, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 170, 97, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(247, 241, 229, 0.075), rgba(247, 241, 229, 0.032)),
    #0e1213;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(217, 170, 97, 0.7), transparent);
  opacity: 0.54;
}

.service-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(217, 170, 97, 0.14);
  color: var(--gold);
}

.service-card h3 {
  margin: 30px 0 14px;
  font-size: 25px;
  line-height: 1.15;
}

.service-card p {
  margin-bottom: 30px;
  color: rgba(247, 241, 229, 0.72);
  line-height: 1.62;
}

.price {
  align-self: end;
  color: #f3c678;
  font-size: 20px;
  font-weight: 900;
}

.split {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 72px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 28%, rgba(217, 170, 97, 0.16), transparent 34%),
    radial-gradient(circle at 28% 72%, rgba(70, 131, 130, 0.16), transparent 36%),
    #080b0d;
}

.split > :not(.sky-canvas) {
  position: relative;
  z-index: 2;
}

.split::before,
.split::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.split::before {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.78), rgba(8, 11, 13, 0.38) 50%, rgba(8, 11, 13, 0.82)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.9), rgba(8, 11, 13, 0.2) 44%, rgba(8, 11, 13, 0.86));
}

.split::after {
  background:
    radial-gradient(circle at 50% 52%, transparent 0 26%, rgba(8, 11, 13, 0.4) 78%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.18), transparent 34%, rgba(8, 11, 13, 0.22));
  opacity: 0.42;
}

.sky-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.sky-canvas.is-fallback {
  display: none;
}

.split h2 {
  margin: 18px 0 22px;
}

.split p {
  color: rgba(247, 241, 229, 0.76);
  font-size: 20px;
  line-height: 1.68;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(247, 241, 229, 0.12);
  border-radius: 8px;
  background: rgba(247, 241, 229, 0.055);
  color: rgba(247, 241, 229, 0.86);
  line-height: 1.5;
}

.check-item svg {
  justify-self: center;
  align-self: center;
  color: var(--gold);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}

.outcome-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(217, 170, 97, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 170, 97, 0.11), rgba(22, 61, 59, 0.12)),
    rgba(247, 241, 229, 0.04);
  color: rgba(247, 241, 229, 0.86);
  line-height: 1.45;
}

.outcome-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(217, 170, 97, 0.14);
  color: #f0c878;
  font-size: 13px;
  font-weight: 900;
}

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

.timeline-item {
  min-height: 260px;
  padding: 24px;
  border-left: 1px solid rgba(217, 170, 97, 0.48);
  background: rgba(247, 241, 229, 0.05);
}

.timeline-item span {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 34px 0 14px;
  font-size: 24px;
}

.timeline-item p {
  color: rgba(247, 241, 229, 0.74);
  line-height: 1.58;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 24px;
  background: var(--paper);
  color: var(--paper-ink);
}

.story .kicker,
.contact .kicker {
  border-color: rgba(169, 101, 67, 0.35);
  color: #936039;
}

.story-card,
.quote-card {
  border-radius: 8px;
  background: rgba(33, 26, 21, 0.05);
}

.story-card {
  padding: clamp(28px, 5vw, 56px);
}

.story-card h2 {
  margin: 18px 0 24px;
}

.story-card p {
  color: rgba(33, 26, 21, 0.76);
  font-size: 19px;
  line-height: 1.72;
}

.quote-card {
  display: grid;
  align-items: start;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.16), rgba(8, 11, 13, 0.62)),
    var(--teal);
  color: var(--ink);
}

.quote-card p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.contact {
  background:
    linear-gradient(135deg, rgba(217, 170, 97, 0.22), rgba(22, 61, 59, 0.1)),
    var(--paper);
  color: var(--paper-ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.contact h2 {
  margin: 18px 0 20px;
}

.contact p {
  max-width: 760px;
  color: rgba(33, 26, 21, 0.76);
  font-size: 20px;
  line-height: 1.65;
}

.social-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(33, 26, 21, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.36);
}

.social-card h3 {
  margin-bottom: 10px;
}

.social-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(33, 26, 21, 0.06);
  font-weight: 800;
}

.social-card small {
  margin-top: 18px;
  color: rgba(33, 26, 21, 0.58);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-panel,
  .section-heading,
  .intro,
  .split,
  .story,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline,
  .outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-stage {
    height: 560px;
  }

  .gallery-arrow-prev {
    left: 8px;
  }

  .gallery-arrow-next {
    right: 8px;
  }

  .section-heading,
  .intro,
  .split,
  .contact-inner {
    gap: 30px;
  }

  section {
    padding-top: 78px;
    padding-bottom: 78px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding-left: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content,
  .hero-panel {
    width: 100%;
  }

  .intro,
  .section-heading,
  .service-grid,
  .split,
  .outcome-list,
  .timeline,
  .story-card,
  .quote-card,
  .contact-inner {
    width: 100%;
  }

  .eyebrow,
  .kicker {
    min-height: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    letter-spacing: 0.04em;
    overflow-wrap: break-word;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
    overflow-wrap: normal;
  }

  .section-heading h2,
  .split h2,
  .story h2,
  .contact h2 {
    font-size: clamp(34px, 11vw, 46px);
    overflow-wrap: break-word;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .service-grid,
  .timeline,
  .outcome-list {
    grid-template-columns: 1fr;
  }

  .gallery {
    padding-top: 74px;
    padding-bottom: 86px;
  }

  .gallery-stage {
    height: 520px;
    width: 100vw;
    max-width: none;
    margin-right: -16px;
    margin-left: -16px;
  }

  .gallery-slide {
    width: min(68vw, 270px);
    transform:
      translate(-50%, -50%)
      translateX(calc(var(--offset) * 132px))
      translateZ(calc(28px - var(--distance) * 56px))
      rotateY(calc(var(--offset) * -13deg))
      scale(calc(1 - var(--distance) * 0.1));
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
  }

  .gallery-arrow-prev {
    left: 10px;
  }

  .gallery-arrow-next {
    right: 10px;
  }

  .gallery-dots {
    margin-top: 16px;
  }

  .gallery-dots button {
    width: 28px;
  }

  .gallery-dots button.is-active {
    width: 42px;
  }

  section {
    scroll-margin-top: 92px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-card {
    min-height: 0;
  }
}
