/* ────────────────────────────────────────────────────────────
   Avenidis Digital · Warm Editorial Design System
   Self-hosted fonts: Inter (UI) + Instrument Serif (Display)
   ──────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-italic-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --bg: #f8f3ea;
  --bg-deep: #ebe7dd;
  --bg-cool: #eef1ed;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-glass: rgba(255, 253, 248, 0.78);

  --ink: #211912;
  --ink-2: #41362b;
  --muted: #70604e;
  --faint: #a08b71;
  --steel: #263943;
  --sage: #556c5f;
  --sage-soft: #e3ebe4;

  --line: rgba(64, 49, 34, 0.12);
  --line-soft: rgba(64, 49, 34, 0.08);
  --line-strong: rgba(64, 49, 34, 0.22);

  --accent: #e25303;
  --accent-deep: #b04101;
  --accent-ink: #8a3a05;
  --accent-soft: #faeadb;
  --amber: #f2a33c;

  --dark: #171009;
  --dark-2: #211710;
  --dark-cool: #142025;
  --on-dark: #fdf6ec;
  --on-dark-muted: rgba(253, 246, 236, 0.64);
  --on-dark-line: rgba(253, 246, 236, 0.14);

  --grad-text: linear-gradient(105deg, #f0942f 0%, #e25303 48%, #27414a 100%);
  --grad-premium: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 243, 234, 0.74));

  --shadow-xs: 0 1px 2px rgba(33, 25, 18, 0.05);
  --shadow-sm: 0 2px 10px rgba(33, 25, 18, 0.06);
  --shadow: 0 16px 40px -12px rgba(33, 25, 18, 0.14);
  --shadow-lg: 0 36px 80px -20px rgba(33, 25, 18, 0.25);
  --shadow-xl: 0 54px 120px -34px rgba(26, 20, 14, 0.44);
  --shadow-cta: 0 12px 28px -8px rgba(226, 83, 3, 0.45);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1180px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.5, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft-spring: cubic-bezier(0.2, 1, 0.22, 1);
  --motion-fast: 260ms;
  --motion-base: 440ms;
  --motion-slow: 900ms;

  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11" 1, "ss01" 1;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(248, 243, 234, 0.94) 0%, rgba(248, 243, 234, 1) 36%, rgba(238, 241, 237, 0.96) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(38, 57, 67, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 57, 67, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08) 52%, transparent 86%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08) 52%, transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.68), transparent 34%),
    radial-gradient(1100px 720px at 16% 12%, rgba(242, 163, 60, 0.18), transparent 62%),
    radial-gradient(900px 620px at 88% 6%, rgba(38, 57, 67, 0.14), transparent 64%);
}

main {
  overflow: clip;
}

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

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

::selection {
  background: rgba(226, 83, 3, 0.22);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@keyframes soft-fade-up {
  from {
    opacity: 0;
    translate: 0 14px;
    filter: blur(2px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes soft-scale-in {
  from {
    opacity: 0;
    translate: 0 16px;
    scale: 0.985;
    filter: blur(3px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0);
  }
}

@keyframes ambient-shift {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
    opacity: 0.86;
  }

  50% {
    translate: 0 10px;
    scale: 1.025;
    opacity: 1;
  }
}

@keyframes line-scan {
  from {
    transform: translateX(-36%);
    opacity: 0;
  }

  28%,
  74% {
    opacity: 0.82;
  }

  to {
    transform: translateX(42%);
    opacity: 0;
  }
}

@keyframes float-quiet {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

/* ───────── Header ───────── */

.site-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: calc(var(--max) - 60px);
  margin: 16px auto 0;
  padding: 8px 8px 8px 16px;
  background: rgba(253, 250, 244, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 20px 52px -26px rgba(33, 25, 18, 0.42),
    0 0 0 1px rgba(64, 49, 34, 0.035);
  animation: soft-fade-up 720ms var(--ease-soft) 60ms both;
}

@media (max-width: 1240px) {
  .site-header {
    margin-left: 24px;
    margin-right: 24px;
  }
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 6px 14px -4px rgba(33, 25, 18, 0.35);
  transition: transform 520ms var(--ease-soft-spring);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.nav-links {
  gap: 2px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 550;
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  transition: color var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity var(--motion-fast) var(--ease-soft), transform var(--motion-fast) var(--ease-soft);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(64, 49, 34, 0.07);
}

.nav-links a:hover::after {
  opacity: 0.32;
  transform: scaleX(1);
}

/* ───────── Buttons ───────── */

.header-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--motion-base) var(--ease-soft), box-shadow var(--motion-base) var(--ease-soft),
    background var(--motion-base) var(--ease-soft), border-color var(--motion-base) var(--ease-soft), color var(--motion-base) var(--ease-soft);
}

.button::before,
.header-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 46%, transparent 64%);
  opacity: 0;
  transform: translateX(-46%);
  transition: opacity 420ms var(--ease-soft);
}

.button:hover::before,
.header-cta:hover::before {
  animation: line-scan 1100ms var(--ease-soft);
}

.header-cta:active,
.button:active {
  transform: scale(0.98);
}

.header-cta {
  min-height: 42px;
  padding: 0 20px;
  color: var(--on-dark);
  background: linear-gradient(135deg, var(--ink) 0%, var(--steel) 100%);
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px -8px rgba(33, 25, 18, 0.5);
}

.header-cta:hover {
  background: linear-gradient(135deg, #36281c 0%, #28424c 100%);
  transform: translateY(-1px);
}

.button {
  min-height: 52px;
  padding: 0 26px;
  font-size: 0.98rem;
}

.button .btn-icon {
  width: 17px;
  height: 17px;
  transition: transform 380ms var(--ease-soft);
}

.button:hover .btn-icon {
  transform: translateX(3px);
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7a1a 0%, var(--accent) 52%, #b94103 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--shadow-cta);
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 36px -10px rgba(226, 83, 3, 0.55);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}

.secondary:hover {
  transform: translateY(-1px);
  border-color: var(--faint);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* ───────── Type helpers ───────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
}

.eyebrow.on-dark {
  color: var(--amber);
}

.eyebrow.on-dark::before {
  background: var(--amber);
}

.text-gradient,
.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.text-gradient {
  display: inline;
  font-size: 1.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-band {
  background: transparent;
}

/* ───────── Hero ───────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  column-gap: clamp(44px, 7vw, 112px);
  row-gap: clamp(22px, 3vw, 38px);
  align-items: center;
  max-width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) max(30px, calc((100vw - var(--max)) / 2)) clamp(42px, 5vw, 72px);
}

.hero::after {
  content: "";
  position: absolute;
  right: max(30px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(30px, calc((100vw - var(--max)) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 57, 67, 0.16), rgba(226, 83, 3, 0.2), transparent);
}

.hero-glow {
  position: absolute;
  inset: -180px -20% auto -20%;
  height: 75%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.55) 0%, transparent 38%),
    radial-gradient(760px 460px at 18% 20%, rgba(242, 163, 60, 0.16), transparent 68%),
    radial-gradient(820px 520px at 88% 12%, rgba(38, 57, 67, 0.12), transparent 68%);
  filter: blur(18px);
  transform-origin: 50% 20%;
  animation: ambient-shift 14s var(--ease-soft) infinite;
}

.hero-copy,
.hero-media {
  position: relative;
  min-width: 0;
}

.hero .status-pill,
.hero-copy h1,
.hero-copy p,
.hero-actions,
.hero-meta,
.hero-credential,
.service-hero__copy > *,
.legal-hero > * {
  animation: soft-fade-up var(--motion-slow) var(--ease-soft) both;
}

.hero .status-pill,
.service-hero__copy > :first-child,
.legal-hero > :first-child {
  animation-delay: 120ms;
}

.hero-copy h1,
.service-hero__copy h1,
.legal-hero h1 {
  animation-delay: 220ms;
}

.hero-copy p,
.service-hero__copy p,
.legal-hero p {
  animation-delay: 320ms;
}

.hero-actions {
  animation-delay: 430ms;
}

.hero-meta {
  animation-delay: 520ms;
}

.hero-credential {
  animation-delay: 660ms;
}

.hero-media,
.service-hero__media {
  animation: soft-scale-in 1000ms var(--ease-soft) 260ms both;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.35);
  animation: pulse 3s var(--ease-soft) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }

  70%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.25vw, 6.15rem);
  line-height: 0.96;
  letter-spacing: -0.042em;
  font-weight: 650;
  text-wrap: balance;
}

.hero-copy h1 .text-gradient {
  letter-spacing: -0.02em;
}

.hero-copy p {
  max-width: 560px;
  margin: clamp(24px, 2.8vw, 34px) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.28vw, 1.24rem);
  line-height: 1.66;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

.hero-meta {
  grid-column: 1 / 2;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 0;
  padding: 1px;
  width: min(100%, 690px);
  background: rgba(64, 49, 34, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
  list-style: none;
  overflow: hidden;
}

.hero-meta li {
  display: grid;
  flex: 1 1 160px;
  gap: 3px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-meta strong {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.hero-meta span {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero media */

.hero-media {
  margin: 0;
  transform-style: preserve-3d;
  animation: soft-scale-in 1000ms var(--ease-soft) 260ms both, float-quiet 12s var(--ease-soft) 1400ms infinite;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(242, 163, 60, 0.34), rgba(85, 108, 95, 0.22) 48%, rgba(226, 83, 3, 0.24));
  box-shadow: 28px 34px 76px -42px rgba(33, 25, 18, 0.52);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  pointer-events: none;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(0deg, rgba(23, 16, 9, 0.22), transparent 42%);
  opacity: 0.72;
  transition: opacity 900ms var(--ease-soft);
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-xl);
  transition: transform 1200ms var(--ease-soft), filter 1200ms var(--ease-soft);
}

.hero-media:hover img {
  transform: scale(1.018) translateY(-3px);
  filter: saturate(1.06) contrast(1.03);
}

.hero-media:hover::after {
  opacity: 0.54;
}

.hero-credential {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  gap: 5px;
  width: min(270px, calc(100% - 36px));
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(253, 250, 244, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 20px 44px -24px rgba(23, 16, 9, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform 900ms var(--ease-soft), background 900ms var(--ease-soft);
}

.hero-credential span {
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-credential strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.25;
  letter-spacing: -0.016em;
}

.hero-media:hover .hero-credential {
  transform: translateY(-3px);
  background: rgba(255, 253, 248, 0.9);
}

.hero-media figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--on-dark);
  background: rgba(23, 16, 9, 0.72);
  border: 1px solid rgba(253, 246, 236, 0.16);
  border-radius: 999px;
  box-shadow: 0 16px 32px -8px rgba(23, 16, 9, 0.4);
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ───────── Proof strip ───────── */

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 30px clamp(72px, 9vw, 120px);
  isolation: isolate;
}

.proof-strip>div {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 184px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(64, 49, 34, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform var(--motion-base) var(--ease-soft), border-color var(--motion-base) var(--ease-soft),
    background var(--motion-base) var(--ease-soft), box-shadow var(--motion-base) var(--ease-soft);
}

.proof-strip>div+div {
  padding-left: 28px;
}

.proof-strip>div:first-child {
  border-radius: 22px 0 0 22px;
}

.proof-strip>div:last-child {
  border-radius: 0 22px 22px 0;
}

.proof-strip>div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 620ms var(--ease-soft);
}

.proof-strip>div:hover::before {
  width: 54px;
}

.proof-strip>div:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 83, 3, 0.22);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.proof-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  color: var(--accent);
  filter: drop-shadow(0 8px 14px rgba(226, 83, 3, 0.18));
}

.proof-strip strong {
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* ───────── Section scaffolding ───────── */

.services,
.process,
.faq,
.case-section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 9.5vw, 132px) 30px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(44px, 5.5vw, 68px);
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.contact h2,
.service-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.034em;
  font-weight: 640;
  text-wrap: balance;
}

.section-heading p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.section-heading.align-left p {
  margin-left: 0;
}

/* ───────── Services (Bento) ───────── */

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 250px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--grad-premium);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  overflow: hidden;
  transition: transform 560ms var(--ease-soft), box-shadow 560ms var(--ease-soft), border-color 560ms var(--ease-soft);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 36%),
    linear-gradient(180deg, transparent 0%, rgba(38, 57, 67, 0.045) 100%);
  opacity: 0.88;
  transition: opacity 560ms var(--ease-soft);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -22%;
  bottom: -42%;
  z-index: 0;
  width: 280px;
  height: 280px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(226, 83, 3, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 760ms var(--ease-soft), transform 760ms var(--ease-soft);
}

.service-icon,
.service-card h3,
.service-card p,
.service-card .card-link {
  position: relative;
  z-index: 1;
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  grid-column: span 7;
  color: var(--on-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(145deg, var(--dark) 0%, var(--dark-cool) 58%, #2a1c11 100%);
  border-color: rgba(253, 246, 236, 0.14);
  box-shadow: 0 42px 92px -44px rgba(23, 16, 9, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 5;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 83, 3, 0.35);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
  transform: translate(-8px, -8px);
}

.service-number {
  position: absolute;
  right: 26px;
  bottom: 2px;
  z-index: 0;
  color: var(--accent);
  opacity: 0.1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 6.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: opacity 560ms var(--ease-soft), transform 560ms var(--ease-soft);
}

.service-card:hover .service-number {
  opacity: 0.2;
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  color: var(--accent-deep);
  background: rgba(250, 234, 219, 0.86);
  border: 1px solid rgba(226, 83, 3, 0.16);
  border-radius: 14px;
  transition: transform 620ms var(--ease-soft-spring);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-icon {
  transform: scale(1.045) rotate(-3deg);
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(4) .service-icon {
  color: var(--amber);
  background: rgba(253, 246, 236, 0.08);
  border-color: rgba(253, 246, 236, 0.16);
}

.service-card:nth-child(1) h3,
.service-card:nth-child(4) h3 {
  color: var(--on-dark);
}

.service-card h3,
.audience h3,
.process-list h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.25;
}

.service-card p,
.audience p,
.process-list p,
.faq p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.65;
  letter-spacing: -0.008em;
}

.service-card:nth-child(1) p,
.service-card:nth-child(4) p {
  color: var(--on-dark-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.card-link::after {
  content: "→";
  transition: transform 380ms var(--ease-soft);
}

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

.service-card:nth-child(1) .card-link,
.service-card:nth-child(4) .card-link {
  color: var(--amber);
}

.service-card:nth-child(1) .service-number,
.service-card:nth-child(4) .service-number {
  color: var(--amber);
  opacity: 0.13;
}

/* ───────── Audience ───────── */

.audience,
.seo-section {
  position: relative;
  padding: clamp(76px, 9.5vw, 132px) max(30px, calc((100vw - var(--max)) / 2));
}

.audience {
  background:
    linear-gradient(180deg, rgba(238, 241, 237, 0.72), rgba(235, 231, 221, 0.94)),
    linear-gradient(90deg, rgba(85, 108, 95, 0.08), transparent 52%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(38, 57, 67, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 57, 67, 0.045) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.42), transparent);
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.42), transparent);
}

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

.audience-columns article {
  position: relative;
  padding: clamp(28px, 3.4vw, 40px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 560ms var(--ease-soft), box-shadow 560ms var(--ease-soft), border-color 560ms var(--ease-soft);
}

.audience-columns article:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 83, 3, 0.3);
  box-shadow: var(--shadow);
}

.audience-columns article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber), var(--accent));
}

.audience-columns h3 {
  font-size: 1.35rem;
}

.audience-columns p {
  margin-top: 12px;
}

/* ───────── Process ───────── */

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 30px 0 0 22px;
  border-top: 1px solid var(--line);
}

.process-list li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
  border-radius: 2px;
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(226, 83, 3, 0.38), rgba(38, 57, 67, 0.08));
}

.process-list span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-list h3 {
  font-size: 1.22rem;
}

.process-list p {
  margin-top: -6px;
  font-size: 0.98rem;
}

/* ───────── About ───────── */

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(76px, 9.5vw, 132px) max(30px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(235, 231, 221, 0.94), rgba(238, 241, 237, 0.84)),
    linear-gradient(115deg, rgba(255, 255, 255, 0.44), transparent 52%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.about-media {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 0;
  justify-self: center;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: -16px 22px 22px -16px;
  z-index: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(242, 163, 60, 0.34), rgba(85, 108, 95, 0.24) 48%, rgba(226, 83, 3, 0.22));
  box-shadow: 26px 34px 70px -44px rgba(33, 25, 18, 0.48);
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  transition: transform 1000ms var(--ease-soft), filter 1000ms var(--ease-soft);
}

.about-media:hover img {
  transform: scale(1.012);
  filter: saturate(1.03) contrast(1.02);
}

.about-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 9px 15px;
  color: var(--on-dark);
  background: rgba(23, 16, 9, 0.72);
  border: 1px solid rgba(253, 246, 236, 0.16);
  border-radius: 999px;
  box-shadow: 0 14px 28px -8px rgba(23, 16, 9, 0.4);
  font-size: 0.78rem;
  font-weight: 560;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy h2 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 640;
  text-wrap: balance;
}

.about-copy>p {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  letter-spacing: -0.01em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.about-facts strong {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-facts span {
  color: var(--ink);
  font-weight: 560;
  font-size: 0.96rem;
  letter-spacing: -0.012em;
}

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

/* ───────── Region / SEO links ───────── */

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  max-width: 880px;
}

.city-grid a,
.city-grid span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  transition: transform 520ms var(--ease-soft), border-color 520ms var(--ease-soft), color 520ms var(--ease-soft), box-shadow 520ms var(--ease-soft);
}

.city-grid a::after,
.city-grid span::after {
  content: "→";
  color: var(--accent);
  font-weight: 600;
  transition: transform 380ms var(--ease-soft);
}

.city-grid a:hover,
.city-grid span:hover {
  transform: translateY(-1px);
  border-color: rgba(226, 83, 3, 0.4);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.city-grid a:hover::after,
.city-grid span:hover::after {
  transform: translateX(3px);
}

/* ───────── Cases ───────── */

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

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(26px, 3vw, 34px);
  background: var(--grad-premium);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: transform 560ms var(--ease-soft), box-shadow 560ms var(--ease-soft), border-color 560ms var(--ease-soft);
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 83, 3, 0.3);
  box-shadow: var(--shadow);
}

.case-label {
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 16px 0 0;
  font-size: 1.26rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.022em;
}

.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.68;
  letter-spacing: -0.008em;
}

.case-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent-deep);
  font-weight: 650;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

.case-card a::after {
  content: "→";
  transition: transform 380ms var(--ease-soft);
}

.case-card a:hover::after {
  transform: translateX(4px);
}

/* ───────── FAQ ───────── */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(18px, 2.6vw, 30px);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.018em;
  transition: color var(--motion-fast) var(--ease-soft);
}

summary:hover {
  color: var(--accent-deep);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background-color: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211912' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
  transition: transform 560ms var(--ease-soft-spring), background-color var(--motion-base) var(--ease-soft), border-color var(--motion-base) var(--ease-soft);
}

details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--accent-soft);
  border-color: rgba(226, 83, 3, 0.3);
}

details p {
  max-width: 64ch;
  margin: 0;
  padding: 0 44px 24px 4px;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: -0.008em;
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  details::details-content {
    height: 0;
    overflow: clip;
    transition: height 560ms var(--ease-soft), content-visibility 560ms allow-discrete;
  }

  details[open]::details-content {
    height: auto;
  }
}

/* ───────── Contact ───────── */

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) max(30px, calc((100vw - var(--max)) / 2));
  color: var(--on-dark);
  background:
    radial-gradient(920px 560px at 8% 0%, rgba(242, 163, 60, 0.14), transparent 64%),
    radial-gradient(940px 620px at 96% 100%, rgba(38, 57, 67, 0.28), transparent 64%),
    linear-gradient(170deg, var(--dark) 0%, var(--dark-cool) 56%, var(--dark-2) 100%);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(253, 246, 236, 0.065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(253, 246, 236, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7), transparent 70%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7), transparent 70%);
}

.contact-glow {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(640px 360px at 50% 100%, rgba(226, 83, 3, 0.18), transparent 65%);
  filter: blur(24px);
  animation: ambient-shift 16s var(--ease-soft) infinite reverse;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 560px;
  color: var(--on-dark);
}

.contact-copy p {
  max-width: 480px;
  margin: 20px 0 0;
  color: var(--on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.direct-mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--amber);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 650;
  letter-spacing: -0.018em;
  transition: color var(--motion-fast) var(--ease-soft);
}

.direct-mail::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  opacity: 0.4;
  transform-origin: left;
  transition: opacity var(--motion-fast) var(--ease-soft);
}

.direct-mail::after {
  content: "↗";
  font-size: 0.9em;
  transition: transform 420ms var(--ease-soft);
}

.direct-mail:hover {
  color: #ffd9a8;
}

.direct-mail:hover::before {
  opacity: 0.8;
}

.direct-mail:hover::after {
  transform: translate(3px, -3px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3vw, 36px);
  color: var(--ink);
  background: rgba(248, 243, 234, 0.94);
  border: 1px solid rgba(253, 246, 236, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 54px 120px -26px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 620;
  letter-spacing: -0.008em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 0.97rem;
  letter-spacing: -0.008em;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(226, 83, 3, 0.14);
}

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

.contact-form .button {
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

/* ───────── Footer ───────── */

.site-footer {
  color: var(--on-dark-muted);
  background: var(--dark);
  border-top: 1px solid var(--on-dark-line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 6vw, 76px) 30px clamp(36px, 5vw, 56px);
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-brand .brand {
  color: var(--on-dark);
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  letter-spacing: -0.008em;
}

.footer-nav {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  font-size: 0.94rem;
}

.footer-nav strong {
  margin-bottom: 6px;
  color: var(--on-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-legal a,
.footer-legal button {
  color: var(--on-dark-muted);
  transition: color var(--motion-fast) var(--ease-soft);
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--amber);
}

.footer-legal {
  border-top: 1px solid var(--on-dark-line);
}

.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 30px;
  font-size: 0.86rem;
}

.footer-legal-inner p {
  margin: 0;
}

.footer-legal-inner div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-legal button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.back-to-top {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--on-dark);
  background: rgba(253, 246, 236, 0.07);
  border: 1px solid var(--on-dark-line);
  border-radius: 50%;
  transition: transform 440ms var(--ease-soft), background 440ms var(--ease-soft), border-color 440ms var(--ease-soft);
}

.back-to-top svg {
  width: 15px;
  height: 15px;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

/* ───────── Privacy banner ───────── */

.privacy-banner {
  position: fixed;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 18px;
  z-index: 80;
  width: min(580px, calc(100vw - 36px));
  color: var(--on-dark);
  animation: banner-in 700ms var(--ease-soft);
}

@keyframes banner-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-banner[hidden],
.privacy-details[hidden] {
  display: none;
}

.privacy-banner__content {
  padding: 24px;
  background: rgba(23, 16, 9, 0.92);
  border: 1px solid rgba(253, 246, 236, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.privacy-kicker {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.privacy-banner h2 {
  margin: 0;
  color: var(--on-dark);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 640;
  letter-spacing: -0.025em;
}

.privacy-banner p {
  margin: 10px 0 0;
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.privacy-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--on-dark-line);
}

.privacy-details dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.privacy-details div {
  display: grid;
  gap: 2px;
}

.privacy-details dt {
  color: var(--on-dark);
  font-weight: 650;
  font-size: 0.92rem;
}

.privacy-details dd {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.privacy-record {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-sm);
  background: rgba(253, 246, 236, 0.05);
}

.privacy-record strong {
  color: var(--on-dark);
  font-size: 0.9rem;
}

.privacy-record pre {
  max-height: 150px;
  margin: 0;
  overflow: auto;
  color: var(--on-dark-muted);
  font: 0.76rem/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.privacy-copy {
  width: fit-content;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.privacy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 360ms var(--ease-soft), border-color 360ms var(--ease-soft), background 360ms var(--ease-soft), color 360ms var(--ease-soft);
}

.privacy-button[hidden] {
  display: none;
}

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

.privacy-button:active {
  transform: scale(0.98);
}

.privacy-button--ghost {
  color: var(--on-dark);
  background: transparent;
  border: 1px solid rgba(253, 246, 236, 0.22);
}

.privacy-button--ghost:hover {
  border-color: rgba(253, 246, 236, 0.45);
  background: rgba(253, 246, 236, 0.07);
}

.privacy-button--primary {
  color: var(--dark);
  background: var(--amber);
  border: 1px solid var(--amber);
}

.privacy-button--primary:hover {
  background: #ffb95c;
}

/* ───────── Legal pages ───────── */

.legal-page {
  overflow: visible;
}

.legal-hero {
  display: grid;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) 30px clamp(40px, 5vw, 64px);
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.legal-meta {
  color: var(--accent-deep);
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 30px clamp(72px, 9vw, 110px);
}

.legal-card {
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: -0.008em;
}

.legal-card p {
  margin: 0;
}

.legal-card p+p {
  margin-top: 12px;
}

.legal-card a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(226, 83, 3, 0.4);
  transition: text-decoration-color var(--motion-fast) var(--ease-soft);
}

.legal-card a:hover {
  text-decoration-color: var(--accent);
}

.status-note {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--surface) 60%);
  border-color: rgba(226, 83, 3, 0.25);
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

/* ───────── SEO service pages ───────── */

.service-page {
  overflow: visible;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 5.6vw, 84px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 122px) 30px clamp(56px, 7vw, 88px);
}

.service-hero__copy h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-wrap: balance;
}

.service-hero__copy p:not(.legal-meta) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.68;
  letter-spacing: -0.01em;
}

.service-hero .hero-actions {
  margin-top: 34px;
}

.service-hero__media {
  position: relative;
  margin: 0;
}

.service-hero__media::before {
  content: "";
  position: absolute;
  inset: 18px -16px -16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(242, 163, 60, 0.32), rgba(226, 83, 3, 0.2) 60%, rgba(176, 65, 1, 0.26));
}

.service-hero__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 1000ms var(--ease-soft), filter 1000ms var(--ease-soft);
}

.service-hero__media:hover img {
  transform: scale(1.012);
  filter: saturate(1.03) contrast(1.02);
}

.service-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 30px;
}

.service-detail.section-band {
  max-width: none;
  padding-left: max(30px, calc((100vw - var(--max)) / 2));
  padding-right: max(30px, calc((100vw - var(--max)) / 2));
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.service-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.service-points article {
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 560ms var(--ease-soft), box-shadow 560ms var(--ease-soft), border-color 560ms var(--ease-soft);
}

.service-points article:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 83, 3, 0.3);
  box-shadow: var(--shadow);
}

.service-points h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.service-points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  letter-spacing: -0.008em;
}

.service-cta {
  position: relative;
  display: grid;
  justify-items: start;
  padding: clamp(76px, 9.5vw, 130px) max(30px, calc((100vw - var(--max)) / 2));
  color: var(--on-dark);
  background:
    radial-gradient(820px 540px at 8% 0%, rgba(242, 163, 60, 0.16), transparent 62%),
    radial-gradient(900px 600px at 96% 100%, rgba(226, 83, 3, 0.2), transparent 62%),
    linear-gradient(170deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
}

.service-cta h2 {
  max-width: 700px;
  color: var(--on-dark);
}

.service-cta p {
  max-width: 600px;
  margin: 18px 0 32px;
  color: var(--on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ───────── Reveal animations ───────── */

.reveal,
.section-heading,
.service-card,
.audience-columns article,
.process-list li,
.about-media,
.about-copy > .eyebrow,
.about-copy h2,
.about-copy > p,
.about-actions,
.city-grid a,
.city-grid span,
.case-card,
.faq-list details,
.about-facts li,
.contact-copy > *,
.contact-form,
.legal-card,
.service-points article,
.service-cta > * {
  opacity: 0;
  translate: 0 14px;
  filter: blur(3px);
  animation: reveal-in 1000ms var(--ease-soft) both;
  animation-timeline: view();
  animation-range: entry 4% cover 28%;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    translate: 0 14px;
    filter: blur(3px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@supports not (animation-timeline: view()) {

  .reveal,
  .section-heading,
  .service-card,
  .audience-columns article,
  .process-list li,
  .about-media,
  .about-copy > .eyebrow,
  .about-copy h2,
  .about-copy > p,
  .about-actions,
  .city-grid a,
  .city-grid span,
  .case-card,
  .faq-list details,
  .about-facts li,
  .contact-copy > *,
  .contact-form,
  .legal-card,
  .service-points article,
  .service-cta > * {
    opacity: 1;
    translate: none;
    filter: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    translate: none !important;
    scale: none !important;
  }

  .site-header,
  .hero .status-pill,
  .hero-copy h1,
  .hero-copy p,
  .hero-actions,
  .hero-meta,
  .hero-media,
  .service-hero__copy > *,
  .service-hero__media,
  .legal-hero > * {
    opacity: 1;
    transform: none;
    translate: none;
    scale: none;
    filter: none;
    animation: none;
  }

  .reveal,
  .section-heading,
  .service-card,
  .audience-columns article,
  .process-list li,
  .about-media,
  .about-copy > .eyebrow,
  .about-copy h2,
  .about-copy > p,
  .about-actions,
  .city-grid a,
  .city-grid span,
  .case-card,
  .faq-list details,
  .about-facts li,
  .contact-copy > *,
  .contact-form,
  .legal-card,
  .service-points article,
  .service-cta > * {
    opacity: 1;
    transform: none;
    translate: none;
    filter: none;
    animation: none;
  }
}

/* ───────── Responsive ───────── */

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 940px) {

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

  .hero {
    padding-top: 56px;
  }

  .hero-media::before {
    inset: 14px -12px -12px 14px;
  }

  .hero-credential {
    top: 14px;
    right: 14px;
    width: min(250px, calc(100% - 28px));
  }

  .hero-media img,
  .service-hero__media img {
    aspect-ratio: 16 / 10;
  }

  .about-media {
    width: min(100%, 380px);
    justify-self: start;
  }

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

  .proof-strip>div {
    padding: 22px 20px 14px 0;
    min-height: 168px;
    border-radius: 0;
  }

  .proof-strip>div:nth-child(odd) {
    border-left: 0;
    padding-left: 20px;
  }

  .proof-strip>div:nth-child(even) {
    padding-left: 20px;
  }

  .proof-strip>div:nth-child(1) {
    border-radius: 22px 0 0 0;
  }

  .proof-strip>div:nth-child(2) {
    border-radius: 0 22px 0 0;
  }

  .proof-strip>div:nth-child(3) {
    border-radius: 0 0 0 22px;
  }

  .proof-strip>div:nth-child(4) {
    border-radius: 0 0 22px 0;
  }

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

  .service-card:nth-child(n) {
    grid-column: span 1;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    margin: 10px 12px 0;
    gap: 10px;
    padding: 7px 7px 7px 13px;
  }

  .brand {
    font-size: 0.92rem;
    gap: 9px;
  }

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

  .header-cta {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.86rem;
  }

  .hero,
  .proof-strip,
  .services,
  .process,
  .faq,
  .case-section,
  .audience,
  .about,
  .seo-section,
  .contact,
  .service-hero,
  .service-detail,
  .service-cta,
  .legal-hero,
  .legal-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 10vw, 2.9rem);
    line-height: 1.04;
  }

  .hero-copy p {
    font-size: 1.02rem;
  }

  .hero-actions,
  .about-actions {
    width: 100%;
  }

  .hero-actions .button,
  .about-actions .button {
    flex: 1 1 150px;
    min-width: min(100%, 150px);
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-actions {
    align-items: stretch;
  }

  .about-actions .button {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .hero-meta {
    gap: 14px 24px;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media figcaption {
    left: 12px;
    bottom: 12px;
  }

  .hero-credential {
    top: 12px;
    right: 12px;
    width: min(230px, calc(100% - 24px));
    padding: 13px 14px;
    border-radius: 15px;
  }

  .hero-credential span {
    font-size: 0.62rem;
  }

  .hero-credential strong {
    font-size: 0.86rem;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .proof-strip>div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    min-height: 0;
    padding: 18px 16px 16px;
    border-radius: 0;
  }

  .proof-strip>div:nth-child(even) {
    padding-left: 16px;
    border-left: 0;
  }

  .proof-strip>div:nth-child(n) {
    padding-left: 16px;
    border-radius: 0;
  }

  .proof-strip>div:first-child {
    border-radius: 18px 18px 0 0;
  }

  .proof-strip>div:last-child {
    border-radius: 0 0 18px 18px;
  }

  .proof-icon {
    grid-row: 1 / 3;
    margin: 2px 0 0;
  }

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

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

  .section-heading h2,
  .contact h2,
  .service-cta h2 {
    font-size: clamp(1.75rem, 7.6vw, 2.3rem);
  }

  .about-facts {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }

  .about-media {
    width: 100%;
  }

  .contact-form {
    padding: 22px 20px;
  }

  .footer-main {
    padding-top: 44px;
  }

  .footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .privacy-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .privacy-banner__content {
    padding: 18px;
  }

  .privacy-actions {
    display: grid;
  }

  .privacy-button {
    width: 100%;
  }
}
