:root {
  --ink: #0d0d0d;
  --ink-2: #171717;
  --ink-3: #262626;
  --paper: #f7f7f5;
  --warm: #efeee9;
  --white: #ffffff;
  --gold: #c9a227;
  --gold-light: #e0c45b;
  --gold-dark: #765b0c;
  --muted: #5f5e59;
  --line: rgba(13, 13, 13, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(10, 10, 10, 0.16);
  --radius: 2px;
  --header-h: 92px;
  --container: 1240px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5.5rem, 10vw, 9.5rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

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

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(3.25rem, 6.8vw, 7.15rem);
}

h2 {
  font-size: clamp(2.7rem, 5.3vw, 5.5rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

section[id] {
  scroll-margin-top: var(--header-h);
}

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

.container,
.container-wide {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - (2 * var(--gutter))), var(--container-wide));
}

.section {
  padding-block: var(--section-space);
}

.section-dark {
  color: var(--paper);
  background: var(--ink);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid #3d2e02;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(247, 247, 245, 0.92);
}

main[tabindex="-1"]:focus {
  outline: none;
  box-shadow: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.eyebrow-light {
  color: var(--gold-light);
}

.eyebrow span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.8rem 1.25rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.065em;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button span,
.button i {
  position: relative;
  z-index: 1;
}

.button i {
  font-style: normal;
}

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

.button-large {
  min-height: 56px;
  padding: 1rem 1.45rem;
}

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

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.64);
}

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

.button-dark:hover {
  color: var(--gold-light);
  background: var(--ink-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.45rem;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 200ms ease, color 200ms ease;
}

.text-link:hover {
  gap: 1.4rem;
  color: var(--gold-dark);
}

.text-link-dark {
  color: var(--ink);
}

.page-section-dark .text-link,
.section-dark .text-link {
  color: var(--paper);
}

.page-section-dark .text-link:hover,
.section-dark .text-link:hover {
  color: var(--gold-light);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  color: var(--paper);
  background: rgba(13, 13, 13, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(120%);
  transition: height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 80px;
  background: rgba(13, 13, 13, 0.97);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
}

.brand {
  position: relative;
  z-index: 1002;
  display: block;
  flex: 0 0 auto;
  width: clamp(118px, 10vw, 142px);
  height: 100%;
}

.brand picture,
.brand img {
  width: 100%;
  height: 100%;
}

.brand img {
  object-fit: contain;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav li a {
  position: relative;
  display: block;
  padding: 0.75rem 0;
  color: rgba(247, 247, 245, 0.8);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  transition: color 180ms ease;
}

.main-nav li a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav li a:hover,
.main-nav li a.is-active {
  color: var(--white);
}

.main-nav li a:hover::after,
.main-nav li a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  flex: 0 0 auto;
  padding-inline: 1.15rem;
}

.nav-mobile-cta,
.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(740px, 100svh, 960px);
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 55% center;
  animation: heroScale 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(7, 7, 7, 0.79) 35%, rgba(7, 7, 7, 0.25) 72%, rgba(7, 7, 7, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.75) 0%, transparent 45%, rgba(5, 5, 5, 0.25) 100%);
}

@keyframes heroScale {
  from { opacity: 0.7; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 7rem;
}

.hero-copy {
  max-width: 880px;
}

.hero h1 {
  max-width: 850px;
  color: var(--paper);
  text-wrap: balance;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 500;
}

.hero-lead {
  max-width: 690px;
  margin: 1.85rem 0 0;
  color: rgba(247, 247, 245, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 3.6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  list-style: none;
}

.hero-trust li {
  min-width: 195px;
  padding: 1.15rem 1.8rem 0 0;
  color: rgba(247, 247, 245, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-trust li + li {
  padding-left: 1.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-trust span {
  margin-right: 0.65rem;
  color: var(--gold-light);
  font-size: 0.64rem;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: rgba(247, 247, 245, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 3.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-cue i::after {
  display: block;
  width: 100%;
  height: 45%;
  background: var(--gold);
  content: "";
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(250%); }
}

/* Headings */
.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.heading-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.55fr);
  align-items: end;
  gap: 4rem;
}

.heading-split h2 {
  max-width: 760px;
}

.section-intro {
  max-width: 610px;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.heading-split.compact {
  margin-bottom: 3.5rem;
}

/* Services */
.services {
  background:
    linear-gradient(rgba(13, 13, 13, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 13, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
}

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

.service-card {
  position: relative;
  min-height: 395px;
  padding: clamp(1.8rem, 3.4vw, 3.2rem);
  overflow: hidden;
  background: rgba(247, 247, 245, 0.82);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 320ms ease, background 320ms ease, transform 320ms ease;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.service-card:hover {
  z-index: 1;
  color: var(--paper);
  background: var(--ink-2);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3.3rem;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--gold-dark);
}

.service-top > span {
  color: #676660;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.service-card h3 {
  margin-bottom: 1.05rem;
  letter-spacing: -0.025em;
}

.service-card p {
  max-width: 360px;
  margin-bottom: 2rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color 320ms ease;
}

.service-card > a {
  position: absolute;
  right: clamp(1.8rem, 3.4vw, 3.2rem);
  bottom: clamp(1.8rem, 3.4vw, 3.2rem);
  left: clamp(1.8rem, 3.4vw, 3.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 320ms ease, border-color 320ms ease;
}

.service-card:hover .service-icon,
.service-card:hover > a {
  color: var(--gold-light);
}

.service-card:hover .service-top > span {
  color: rgba(247, 247, 245, 0.72);
}

.service-card:hover p {
  color: rgba(247, 247, 245, 0.68);
}

.service-card:hover > a {
  border-color: var(--line-light);
}

/* About */
.about {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
}

.about::before {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(201, 162, 39, 0.025), 0 0 0 12rem rgba(201, 162, 39, 0.018);
  content: "";
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 9rem);
}

.about-content h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  text-wrap: balance;
}

.about-lead {
  max-width: 690px;
  margin: 2rem 0 2.5rem;
  color: rgba(247, 247, 245, 0.68);
  font-size: clamp(1rem, 1.22vw, 1.15rem);
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0 0 2.75rem;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.expertise-list li {
  position: relative;
  padding: 0.9rem 0.5rem 0.9rem 1.25rem;
  color: rgba(247, 247, 245, 0.88);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.86rem;
  font-weight: 700;
}

.expertise-list li::before {
  position: absolute;
  top: 1.38rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

.about-visual {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: visible;
}

.about-visual::before {
  position: absolute;
  z-index: 2;
  top: -1.1rem;
  right: -1.1rem;
  width: 5.5rem;
  height: 5.5rem;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  content: "";
}

.about-visual picture,
.about-visual img {
  width: 100%;
  height: 100%;
}

.about-visual img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.about-visual figcaption {
  position: absolute;
  z-index: 3;
  bottom: -2.3rem;
  left: -2.3rem;
  display: flex;
  min-width: 230px;
  flex-direction: column;
  padding: 1.5rem 1.8rem;
  color: var(--ink);
  background: var(--gold);
  box-shadow: var(--shadow);
}

.about-visual figcaption span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-visual figcaption strong {
  font-size: 1.35rem;
  line-height: 1.25;
}

/* Reasons */
.reasons {
  background: var(--warm);
}

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

.reason-card {
  position: relative;
  min-height: 410px;
  padding: clamp(2rem, 4vw, 3.2rem);
  background: var(--paper);
  border: 1px solid rgba(13, 13, 13, 0.09);
}

.reason-card.featured {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.reason-number {
  color: #66655f;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.reason-mark {
  display: grid;
  width: 6.2rem;
  height: 6.2rem;
  place-items: center;
  margin: 3.5rem 0 3.25rem;
  color: var(--gold-dark);
  border: 1px solid currentColor;
  font-size: 2rem;
  font-weight: 300;
  transform: rotate(45deg);
}

.reason-mark span {
  transform: rotate(-45deg);
}

.reason-card.featured .reason-mark {
  color: var(--gold-light);
}

.reason-card.featured .reason-number {
  color: rgba(247, 247, 245, 0.72);
}

.reason-card h3 {
  margin-bottom: 0.9rem;
}

.reason-card p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
}

.reason-card.featured p {
  color: rgba(247, 247, 245, 0.66);
}

/* Transformation */
.transformation {
  padding-block: var(--section-space);
  overflow: hidden;
}

.transformation-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.transformation-copy {
  position: relative;
  z-index: 2;
}

.transformation-copy h2 {
  max-width: 420px;
  text-wrap: balance;
}

.transformation-copy > p:not(.eyebrow) {
  max-width: 410px;
  margin: 1.7rem 0 2rem;
  color: rgba(247, 247, 245, 0.64);
}

.comparison-help {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-light);
}

.comparison-help > span {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 50%;
}

.comparison-help p {
  margin: 0;
  color: rgba(247, 247, 245, 0.74);
  font-size: 0.8rem;
}

.comparison-wrap {
  min-width: 0;
}

.comparison {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
  isolation: isolate;
}

.comparison::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  content: "";
  pointer-events: none;
}

.comparison-image,
.comparison-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-image img {
  object-fit: cover;
}

.comparison-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.comparison-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transform: translateX(-50%);
}

.comparison-divider > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 4.2rem;
  height: 4.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--ink);
  background: var(--gold);
  border: 4px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.comparison-divider b {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.comparison-label {
  position: absolute;
  z-index: 5;
  top: 1.2rem;
  padding: 0.5rem 0.75rem;
  color: var(--paper);
  background: rgba(13, 13, 13, 0.72);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.label-before { left: 1.2rem; }
.label-after { right: 1.2rem; }

.comparison-range {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.comparison:focus-within {
  outline: 3px solid var(--gold-light);
  outline-offset: 5px;
}

.visual-note {
  margin: 0.85rem 0 0;
  color: rgba(247, 247, 245, 0.64);
  font-size: 0.69rem;
  letter-spacing: 0.025em;
}

/* Process */
.process {
  background: var(--paper);
}

.process-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

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

.process-step {
  position: relative;
  min-height: 305px;
  padding-right: clamp(1.5rem, 3vw, 3rem);
}

.process-step + .process-step {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.step-number {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-bottom: 5.5rem;
  color: var(--gold-dark);
  border: 1px solid rgba(150, 119, 24, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  letter-spacing: -0.025em;
}

.process-step p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.step-line {
  position: absolute;
  top: 1.75rem;
  right: 0;
  left: 3.5rem;
  height: 1px;
  background: var(--line);
}

.step-line::after {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold-dark);
  border-right: 1px solid var(--gold-dark);
  content: "";
  transform: rotate(45deg);
}

/* Projects */
.projects {
  padding-block: var(--section-space);
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.25rem;
}

.project-filters {
  display: flex;
  max-width: 720px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.project-filters button {
  padding: 0.55rem 0.8rem;
  color: rgba(247, 247, 245, 0.58);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-filters button:hover,
.project-filters button.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 360px 300px 390px;
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--ink-3);
  isolation: isolate;
}

.project-card:nth-child(1) { grid-area: 1 / 1 / 2 / 8; }
.project-card:nth-child(2) { grid-area: 1 / 8 / 3 / 13; }
.project-card:nth-child(3) { grid-area: 2 / 1 / 3 / 5; }
.project-card:nth-child(4) { grid-area: 2 / 5 / 3 / 8; }
.project-card:nth-child(5) { grid-area: 3 / 1 / 4 / 9; }
.project-card:nth-child(6) { grid-area: 3 / 9 / 4 / 13; }

.project-grid.is-filtered {
  grid-template-rows: minmax(420px, 65vh);
}

.project-grid.is-filtered .project-card:not([hidden]) {
  grid-area: 1 / 1 / 2 / 13;
}

.project-card picture,
.project-card img {
  width: 100%;
  height: 100%;
}

.project-card picture {
  position: absolute;
  inset: 0;
}

.project-card img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 400ms ease;
}

.project-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.2) 58%, rgba(5, 5, 5, 0.04) 100%);
  content: "";
  transition: background 350ms ease;
}

.project-card:hover img,
.project-card:focus-visible img {
  filter: saturate(0.82);
  transform: scale(1.045);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.32) 68%, rgba(5, 5, 5, 0.08) 100%);
}

.project-index {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--paper);
  background: rgba(13, 13, 13, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.63rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  color: var(--paper);
}

.project-overlay > span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-overlay h3 {
  max-width: 570px;
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  letter-spacing: -0.035em;
}

.project-overlay p {
  max-width: 480px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(247, 247, 245, 0.7);
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 320ms ease, margin 320ms ease, opacity 320ms ease, transform 320ms ease;
}

.project-card:hover .project-overlay p,
.project-card:focus-visible .project-overlay p {
  max-height: 6rem;
  margin-top: 0.65rem;
  opacity: 1;
  transform: translateY(0);
}

.project-disclaimer {
  max-width: 690px;
  margin: 1.1rem 0 0 auto;
  color: rgba(247, 247, 245, 0.62);
  font-size: 0.68rem;
  text-align: right;
}

/* Commercial CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--gold);
}

.cta-band::after {
  position: absolute;
  top: -22rem;
  right: -12rem;
  width: 45rem;
  height: 45rem;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(13, 13, 13, 0.025), 0 0 0 12rem rgba(13, 13, 13, 0.02);
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4.2rem, 7vw, 6.5rem);
}

.cta-band .eyebrow {
  color: rgba(13, 13, 13, 0.82);
}

.cta-band h2 {
  max-width: 900px;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  text-wrap: balance;
}

.cta-band h2 + p {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: rgba(13, 13, 13, 0.78);
}

.cta-actions {
  display: flex;
  min-width: 325px;
  flex-direction: column;
  gap: 1.3rem;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.cta-phone span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact */
.contact {
  background: var(--warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.43fr) minmax(0, 0.83fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 8rem);
}

.contact-details {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.contact-details h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.contact-lead {
  max-width: 530px;
  margin: 1.6rem 0 2.8rem;
  color: var(--muted);
}

.contact-list {
  margin: 0;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  font-weight: 650;
}

.contact-list a {
  transition: color 180ms ease;
}

.contact-list a:hover {
  color: var(--gold-dark);
}

.contact-promise {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-promise > span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
}

.contact-promise p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-promise strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.form-shell {
  padding: clamp(1.5rem, 4vw, 3.3rem);
  background: var(--paper);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.form-heading h2,
.form-heading h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem 1.25rem;
}

.form-field {
  position: relative;
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field > label:not([for="privacy"]) {
  display: block;
  margin-bottom: 0.48rem;
  color: #44433f;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.form-field label span {
  color: var(--gold-dark);
}

.form-field input:not([type="checkbox"]),
.form-field textarea,
.form-field select {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcec8;
  border-radius: 0;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  color-scheme: light;
}

.form-field input:not([type="checkbox"]),
.form-field select {
  min-height: 52px;
  padding: 0.75rem 0.9rem;
}

.form-field textarea {
  min-height: 145px;
  padding: 0.9rem;
  resize: vertical;
}

.form-field textarea::placeholder {
  color: #6d6c67;
}

.form-field input:not([type="checkbox"]):focus,
.form-field textarea:focus,
.form-field select:focus {
  background: #fff;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px var(--gold-dark);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.select-wrap select {
  padding-right: 2.8rem;
  appearance: none;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  color: #a52f2f;
  font-size: 0.72rem;
  line-height: 1.35;
}

.form-field.has-error .field-error {
  display: block;
}

.form-field.has-error input:not([type="checkbox"]),
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: #a52f2f;
}

.form-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.65rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.7rem;
  align-items: start;
  padding-top: 0.65rem;
}

.checkbox-field input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  accent-color: var(--gold-dark);
}

.checkbox-field label {
  color: #55544f;
  font-size: 0.76rem;
}

.checkbox-field label a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-dark);
}

.checkbox-field .field-error {
  grid-column: 2;
}

.submit-button {
  min-width: 225px;
  flex: 0 0 auto;
  justify-content: space-between;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.2rem;
  margin: 1rem 0 0;
  color: #a52f2f;
  font-size: 0.75rem;
}

.form-status.is-success {
  color: #2f6b3e;
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer */
.site-footer {
  color: var(--paper);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.75fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.footer-brand img {
  width: min(250px, 100%);
}

.footer-label {
  margin-bottom: 1.4rem;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact a,
.footer-nav a {
  padding: 0.22rem 0;
  color: rgba(247, 247, 245, 0.68);
  font-size: 0.85rem;
  transition: color 180ms ease;
}

.footer-contact a:hover,
.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-nav > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 2rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: 1.5rem;
  color: rgba(247, 247, 245, 0.66);
  border-top: 1px solid var(--line-light);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.site-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  color: rgba(247, 247, 245, 0.72);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.footer-bottom .site-credit-link {
  position: relative;
  justify-self: auto;
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
}

.footer-bottom .site-credit-link::after {
  position: absolute;
  right: 0;
  bottom: -0.18rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.footer-bottom .site-credit-link:hover,
.footer-bottom .site-credit-link:focus-visible {
  color: var(--gold-light);
}

.footer-bottom .site-credit-link:hover::after,
.footer-bottom .site-credit-link:focus-visible::after {
  transform: scaleX(1);
}

.site-credit-heart {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  color: var(--gold-light);
  filter: drop-shadow(0 0 0.35rem rgba(229, 196, 87, 0.28));
  transform-origin: center;
  animation: nova-heartbeat 2.2s ease-in-out infinite;
}

.site-credit-heart svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@keyframes nova-heartbeat {
  0%, 36%, 50%, 100% { transform: scale(1); }
  40% { transform: scale(1.2); }
  44% { transform: scale(0.96); }
  47% { transform: scale(1.12); }
}

.footer-bottom a {
  justify-self: end;
  color: rgba(247, 247, 245, 0.6);
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.mobile-contact {
  display: none;
}

/* Fixed home shortcut */
.home-float {
  position: fixed;
  z-index: 880;
  right: clamp(1rem, 2.4vw, 2.2rem);
  bottom: 7.9rem;
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  gap: 0.42rem;
  color: var(--gold-light);
  text-align: center;
  transition: color 220ms ease, transform 220ms ease;
}

.home-page .home-float {
  display: none;
}

.home-float:hover,
.home-float:focus-visible {
  transform: translateY(-3px);
}

.home-float-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  color: var(--gold-light);
  background: rgba(13, 13, 13, 0.94);
  border: 1px solid rgba(229, 196, 87, 0.62);
  border-radius: 50%;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.home-float-icon::before {
  position: absolute;
  inset: 0.28rem;
  border: 1px solid rgba(229, 196, 87, 0.2);
  border-radius: inherit;
  content: "";
  transition: border-color 220ms ease, transform 220ms ease;
}

.home-float-icon svg {
  position: relative;
  z-index: 1;
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.home-float-label {
  padding: 0.3rem 0.5rem;
  color: rgba(247, 247, 245, 0.82);
  background: rgba(13, 13, 13, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 220ms ease, background 220ms ease;
}

.home-float:hover .home-float-icon,
.home-float:focus-visible .home-float-icon {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 18px 48px rgba(201, 162, 39, 0.24);
}

.home-float:hover .home-float-icon::before,
.home-float:focus-visible .home-float-icon::before {
  border-color: rgba(13, 13, 13, 0.24);
  transform: scale(0.92);
}

.home-float:hover .home-float-label,
.home-float:focus-visible .home-float-label {
  color: var(--ink);
  background: var(--gold);
}

/* Persistent quotation CTA */
@media (min-width: 681px) {
  body:not(.thank-you-page) .site-footer {
    padding-bottom: 8.2rem;
  }
}

.sticky-quote-cta {
  position: fixed;
  z-index: 860;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(calc(100% - 2rem), 1340px);
  margin-inline: auto;
  color: var(--paper);
  background:
    linear-gradient(115deg, rgba(201, 162, 39, 0.09), transparent 34%),
    rgba(13, 13, 13, 0.96);
  border: 1px solid rgba(201, 162, 39, 0.46);
  border-top: 3px solid var(--gold);
  border-radius: 1.15rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  animation: sticky-cta-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.thank-you-page .sticky-quote-cta {
  display: none;
}

.sticky-quote-cta__inner {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1rem clamp(1rem, 2.4vw, 2rem);
}

.sticky-quote-cta__headline {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-transform: uppercase;
}

.sticky-quote-cta__headline em {
  color: var(--gold-light);
  font-style: normal;
}

.sticky-quote-cta__subline {
  margin: 0.35rem 0 0;
  color: rgba(247, 247, 245, 0.68);
  font-size: 0.82rem;
}

.sticky-quote-cta__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sticky-quote-cta__whatsapp {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  transition: background 200ms ease, transform 200ms ease;
}

.sticky-quote-cta__whatsapp:hover,
.sticky-quote-cta__whatsapp:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.sticky-quote-cta__whatsapp svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.sticky-quote-cta__button {
  min-height: 3.15rem;
  white-space: nowrap;
}

.sticky-quote-cta__phone {
  padding: 0.55rem 0.2rem;
  color: var(--paper);
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.sticky-quote-cta__phone:hover,
.sticky-quote-cta__phone:focus-visible {
  color: var(--gold-light);
}

@keyframes sticky-cta-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) and (min-width: 681px) {
  .sticky-quote-cta__inner {
    grid-template-columns: minmax(135px, 0.7fr) auto;
    gap: 1rem;
    padding-inline: 0.9rem;
  }

  .sticky-quote-cta__subline {
    display: none;
  }

  .sticky-quote-cta__actions {
    gap: 0.5rem;
  }

  .sticky-quote-cta__button {
    padding-inline: 0.85rem;
    font-size: 0.68rem;
  }

  .sticky-quote-cta__phone {
    font-size: 0.82rem;
  }
}

/* Reveal animation */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.js-ready .reveal:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .service-card:nth-child(2),
.reasons-grid .reason-card:nth-child(2) { transition-delay: 70ms; }
.services-grid .service-card:nth-child(3),
.reasons-grid .reason-card:nth-child(3) { transition-delay: 140ms; }

/* Legal and confirmation pages */
.simple-page {
  min-height: 100vh;
  background: var(--warm);
}

.simple-header {
  height: var(--header-h);
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.simple-header .header-inner {
  justify-content: space-between;
}

.simple-header .back-link {
  color: rgba(247, 247, 245, 0.72);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.simple-header .back-link:hover {
  color: var(--gold-light);
}

.legal-main {
  padding-block: clamp(4rem, 8vw, 8rem);
  padding-top: calc(var(--header-h) + clamp(4rem, 8vw, 8rem));
  background: var(--warm);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.35fr) minmax(0, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.legal-aside {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.legal-aside h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.legal-aside > p:last-child {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-content {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--paper);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.legal-content section + section {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  color: #565550;
  font-size: 0.94rem;
}

.legal-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.confirmation-main {
  display: grid;
  min-height: calc(100vh - var(--header-h));
  place-items: center;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)) var(--gutter) clamp(3rem, 8vw, 7rem);
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.14), transparent 32rem),
    var(--ink);
}

.confirmation-card {
  width: min(100%, 780px);
  padding: clamp(2rem, 6vw, 5rem);
  text-align: center;
  border: 1px solid var(--line-light);
}

.confirmation-icon,
.confirmation-mark {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  margin: 0 auto 2rem;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.7rem;
}

.legal-aside .breadcrumbs,
.page-section-warm .breadcrumbs {
  color: var(--muted);
}

.legal-aside .breadcrumbs li:not(:last-child)::after,
.page-section-warm .breadcrumbs li:not(:last-child)::after {
  color: var(--gold-dark);
}

.legal-content button[data-cookie-settings] {
  padding: 0;
  color: var(--gold-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.confirmation-card h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.confirmation-card > p {
  max-width: 600px;
  margin: 1.5rem auto 2rem;
  color: rgba(247, 247, 245, 0.7);
  font-size: 1.05rem;
}

@media (max-width: 1180px) {
  :root { --header-h: 74px; }

  .header-cta,
  .main-nav > ul {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 1002;
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    color: var(--paper);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    bottom: auto;
    display: flex;
    width: min(88vw, 480px);
    height: 100dvh;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 2.5rem) clamp(2rem, 7vw, 4rem) max(3rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 100% 0, rgba(201, 162, 39, 0.13), transparent 22rem),
      var(--ink-2);
    border-left: 1px solid var(--line-light);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 250ms ease, visibility 250ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav li a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-light);
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 650;
    letter-spacing: -0.02em;
  }

  .main-nav li a::after {
    display: none;
  }

  .main-nav li a:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
    box-shadow: none;
  }

  .nav-mobile-cta {
    display: flex;
    margin-top: 2rem;
  }

  .heading-split {
    grid-template-columns: 1fr 0.65fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.85fr);
    gap: 4rem;
  }

  .about-visual {
    min-height: 560px;
  }

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

  .project-filters {
    justify-content: flex-start;
  }

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

  .cta-actions {
    width: min(100%, 470px);
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .heading-split,
  .about-grid,
  .transformation-grid,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .heading-split {
    align-items: start;
    gap: 1.5rem;
  }

  .section-intro {
    max-width: 760px;
  }

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

  .about-grid {
    gap: 5rem;
  }

  .about-visual {
    min-height: min(72vw, 620px);
  }

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

  .reason-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 4rem 7rem minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
  }

  .reason-mark {
    width: 4rem;
    height: 4rem;
    margin: 0;
  }

  .reason-card h3,
  .reason-card p {
    grid-column: 3;
  }

  .reason-card h3 {
    align-self: end;
  }

  .reason-card p {
    align-self: start;
    margin-top: -0.9rem;
  }

  .transformation-grid {
    gap: 3rem;
  }

  .transformation-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.65fr);
    column-gap: 2.5rem;
  }

  .transformation-copy .eyebrow,
  .transformation-copy h2 {
    grid-column: 1;
  }

  .transformation-copy > p:not(.eyebrow) {
    grid-area: 1 / 2 / 3 / 3;
    align-self: end;
  }

  .comparison-help {
    grid-column: 1 / -1;
    margin-top: 1rem;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .project-grid {
    grid-template-rows: 320px 280px 330px;
  }

  .project-overlay p {
    max-height: 6rem;
    margin-top: 0.5rem;
    opacity: 1;
    transform: none;
  }

  .contact-details,
  .legal-aside {
    position: static;
  }

  .contact-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
    gap: 0 3rem;
  }

  .contact-details .eyebrow,
  .contact-details h2,
  .contact-details .contact-lead {
    grid-column: 1;
  }

  .contact-details .contact-list {
    grid-area: 1 / 2 / 5 / 3;
  }

  .contact-promise {
    grid-column: 1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 1.15rem;
    --section-space: 5.2rem;
  }

  h1 {
    font-size: clamp(3rem, 14.2vw, 4.65rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .brand {
    width: 58px;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav {
    width: 100%;
  }

  .hero {
    min-height: max(740px, 100svh);
  }

  .hero-media img {
    object-position: 65% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.91) 0%, rgba(7, 7, 7, 0.59) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.1) 65%, rgba(5, 5, 5, 0.45) 100%);
  }

  .hero-inner {
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 5.5rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2.6rem;
  }

  .hero-trust li,
  .hero-trust li + li {
    min-width: 0;
    padding: 0.72rem 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .scroll-cue {
    display: none;
  }

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

  .service-card {
    min-height: 360px;
  }

  .about-grid {
    gap: 4.5rem;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 118vw;
  }

  .about-visual figcaption {
    bottom: -1.6rem;
    left: 1rem;
  }

  .reason-card {
    display: block;
    padding: 2rem;
  }

  .reason-number {
    display: block;
  }

  .reason-mark {
    width: 4rem;
    height: 4rem;
    margin: 2.5rem 0;
  }

  .reason-card p {
    margin-top: 0.75rem;
  }

  .transformation-copy {
    display: block;
  }

  .transformation-copy > p:not(.eyebrow) {
    margin-top: 1.4rem;
  }

  .comparison {
    aspect-ratio: 4 / 3;
  }

  .comparison-image img {
    object-position: center;
  }

  .comparison-divider > span {
    width: 3.5rem;
    height: 3.5rem;
  }

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

  .process-list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(3) {
    display: grid;
    min-height: 0;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-step:last-child {
    border-bottom: 1px solid var(--line);
  }

  .step-number {
    margin: 0;
  }

  .step-body {
    padding-top: 0.15rem;
  }

  .step-line {
    display: none;
  }

  .project-filters {
    width: calc(100% + var(--gutter));
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-right: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .project-filters button {
    flex: 0 0 auto;
  }

  .project-grid,
  .project-grid.is-filtered {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 0.85rem;
  }

  .project-card:nth-child(n),
  .project-grid.is-filtered .project-card:not([hidden]) {
    grid-area: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .project-card:nth-child(2),
  .project-card:nth-child(6) {
    aspect-ratio: 4 / 5;
  }

  .project-disclaimer {
    text-align: left;
  }

  .cta-inner {
    gap: 2.5rem;
  }

  .cta-actions .button {
    width: 100%;
  }

  .contact-details {
    display: block;
  }

  .contact-list {
    margin-top: 2.2rem;
  }

  .contact-list > div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .form-shell {
    margin-inline: calc(-1 * var(--gutter));
  }

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

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

  .form-field-full {
    grid-column: auto;
  }

  .form-bottom {
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-nav > div {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.75rem;
  }

  .footer-bottom a {
    justify-self: start;
  }

  .footer-bottom .site-credit {
    width: 100%;
    justify-content: center;
    justify-self: center;
    text-align: center;
  }

  .footer-bottom .site-credit-link {
    justify-self: auto;
  }

  .mobile-contact {
    position: fixed;
    z-index: 900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0.5rem max(0.6rem, env(safe-area-inset-right)) calc(0.5rem + env(safe-area-inset-bottom)) max(0.6rem, env(safe-area-inset-left));
    background: rgba(13, 13, 13, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
  }

  .mobile-contact a {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--paper);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-contact a + a {
    color: var(--ink);
    background: var(--gold);
  }

  .mobile-contact svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
  }

  .home-float {
    right: 0.75rem;
    bottom: calc(78px + env(safe-area-inset-bottom));
    gap: 0.3rem;
  }

  .home-float-icon {
    width: 3.15rem;
    height: 3.15rem;
  }

  .home-float-label {
    padding: 0.28rem 0.42rem;
    font-size: 0.52rem;
  }

  .legal-content {
    margin-inline: calc(-1 * var(--gutter));
  }

  .simple-header .back-link {
    font-size: 0;
  }

  .simple-header .back-link::after {
    font-size: 1.3rem;
    content: "←";
  }
}

@media (hover: none) {
  .project-overlay p {
    max-height: 6rem;
    margin-top: 0.5rem;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Multi-page layout */
.site-page {
  background: var(--paper);
}

.page-hero {
  position: relative;
  min-height: 660px;
  padding: calc(var(--header-h) + clamp(5rem, 10vw, 9rem)) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 22%, rgba(201, 162, 39, 0.12), transparent 28rem),
    var(--ink);
}

.page-hero::after {
  position: absolute;
  right: -12rem;
  bottom: -22rem;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(201, 162, 39, 0.025), 0 0 0 12rem rgba(201, 162, 39, 0.015);
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.page-hero-copy {
  max-width: 790px;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--paper);
  font-size: clamp(3.25rem, 6.4vw, 6.7rem);
  text-wrap: balance;
}

.page-hero h1 em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 500;
}

.page-hero-lead {
  max-width: 690px;
  margin: 1.6rem 0 0;
  color: rgba(247, 247, 245, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.page-hero-media {
  position: relative;
  min-height: 470px;
  margin: 0;
}

.page-hero-media::before {
  position: absolute;
  z-index: 2;
  top: -1rem;
  right: -1rem;
  width: 5rem;
  height: 5rem;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  content: "";
}

.page-hero-media picture,
.page-hero-media img {
  width: 100%;
  height: 100%;
}

.page-hero-media picture {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  object-fit: cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.page-hero-media figcaption {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  color: var(--paper);
  background: rgba(13, 13, 13, 0.78);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  margin: 0 0 2rem;
  color: rgba(247, 247, 245, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumbs li:not(:last-child)::after {
  color: var(--gold-light);
  content: "/";
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.page-section {
  padding-block: var(--section-space);
}

.page-section-warm {
  background: var(--warm);
}

.page-section-dark {
  color: var(--paper);
  background: var(--ink);
}

.page-section-dark .section-intro {
  color: rgba(247, 247, 245, 0.68);
}

.intro-grid,
.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.62fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.intro-grid h2,
.split-content h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.6rem);
  text-wrap: balance;
}

.intro-copy,
.content-prose {
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
}

.intro-copy p + p,
.content-prose p + p {
  margin-top: 1.2rem;
}

.intro-copy strong,
.content-prose strong {
  color: var(--ink);
}

.content-prose h2,
.content-prose h3 {
  color: var(--ink);
}

.content-prose h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.content-prose ul {
  padding-left: 1.15rem;
}

.content-prose li + li {
  margin-top: 0.5rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

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

.service-link-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: clamp(1.7rem, 3vw, 2.7rem);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: color 280ms ease, background 280ms ease, transform 280ms ease;
}

.service-link-card:hover,
.service-link-card:focus-visible {
  color: var(--paper);
  background: var(--ink-2);
  transform: translateY(-5px);
}

.service-link-card .service-icon {
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  margin-bottom: clamp(2.1rem, 3vw, 3.2rem);
  color: var(--gold-dark);
  filter: drop-shadow(0 8px 16px rgba(118, 91, 12, 0.1));
}

.service-link-card:hover .service-icon,
.service-link-card:focus-visible .service-icon {
  color: var(--gold-light);
}

.service-link-card h2,
.service-link-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.service-link-card p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 280ms ease;
}

.service-link-card:hover p,
.service-link-card:focus-visible p {
  color: rgba(247, 247, 245, 0.7);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: auto;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-link-card:hover .card-link,
.service-link-card:focus-visible .card-link {
  color: var(--gold-light);
  border-color: var(--line-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.feature-card {
  min-height: 235px;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  background: var(--paper);
  border-top: 2px solid var(--gold);
  box-shadow: 0 16px 44px rgba(13, 13, 13, 0.07);
}

.feature-card > span {
  display: block;
  margin-bottom: 3rem;
  color: var(--gold-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.scope-list li {
  position: relative;
  padding: 0.95rem 0.75rem 0.95rem 1.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 700;
}

.scope-list li::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold-dark);
  content: "";
  transform: rotate(45deg);
}

.split-media {
  position: relative;
  min-height: 520px;
  margin: 0;
}

.split-media picture,
.split-media img {
  width: 100%;
  height: 100%;
}

.split-media picture {
  position: absolute;
  inset: 0;
}

.split-media img {
  object-fit: cover;
  box-shadow: var(--shadow);
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.7rem;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  transition: border-color 200ms ease, transform 200ms ease;
}

.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.related-card span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-card h3 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.related-card p {
  margin: 0.65rem 0 0;
  color: rgba(247, 247, 245, 0.66);
  font-size: 0.88rem;
}

.home-services .service-link-card:nth-child(n+4) {
  display: none;
}

.home-project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-auto-rows: 470px;
  gap: 1rem;
}

.home-project-card {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink-2);
}

.home-project-card picture,
.home-project-card img {
  width: 100%;
  height: 100%;
}

.home-project-card picture {
  position: absolute;
  inset: 0;
}

.home-project-card img {
  object-fit: cover;
  transition: transform 600ms ease;
}

.home-project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.92), transparent 65%);
  content: "";
}

.home-project-card:hover img {
  transform: scale(1.045);
}

.home-project-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.home-project-card span {
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-project-card h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
}

.process-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: process;
}

.process-preview article {
  position: relative;
  min-height: 270px;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  counter-increment: process;
}

.process-preview article::before {
  display: block;
  margin-bottom: 5rem;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  content: "0" counter(process);
}

.process-preview h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.process-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.project-page-grid .project-card {
  grid-area: auto;
  min-height: 410px;
}

.project-page-grid .project-card:nth-child(1),
.project-page-grid .project-card:nth-child(5) { grid-column: span 7; }
.project-page-grid .project-card:nth-child(2),
.project-page-grid .project-card:nth-child(6) { grid-column: span 5; }
.project-page-grid .project-card:nth-child(3),
.project-page-grid .project-card:nth-child(4) { grid-column: span 6; }

.project-page-grid.is-filtered .project-card:not([hidden]) {
  grid-column: 1 / -1;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 4rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.values-list li {
  min-height: 190px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-list li:first-child {
  border-left: 1px solid var(--line);
}

.values-list span {
  color: var(--gold-dark);
  font-size: 0.67rem;
  font-weight: 800;
}

.values-list strong {
  display: block;
  margin-top: 4.5rem;
  font-size: 1.05rem;
}

.process-detailed {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-detailed li {
  display: grid;
  grid-template-columns: 110px minmax(230px, 0.45fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.process-detailed li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-detailed > li > span {
  color: var(--gold-dark);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1;
}

.process-detailed h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.7rem);
  letter-spacing: -0.035em;
}

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

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.78fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.contact-page-intro h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.contact-page-intro > p:not(.eyebrow) {
  margin: 1.4rem 0 2.5rem;
  color: var(--muted);
}

.footer-nav button {
  padding: 0.22rem 0;
  color: rgba(247, 247, 245, 0.68);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.85rem;
  text-align: left;
  transition: color 180ms ease;
}

.footer-nav button:hover {
  color: var(--gold-light);
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 1080px;
  padding: 1.25rem;
  margin-inline: auto;
  color: var(--paper);
  background: rgba(13, 13, 13, 0.98);
  border: 1px solid rgba(201, 162, 39, 0.46);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.cookie-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.cookie-banner__label {
  margin-bottom: 0.3rem;
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.cookie-banner h2 + p {
  max-width: 760px;
  margin: 0;
  color: rgba(247, 247, 245, 0.72);
  font-size: 0.82rem;
}

.cookie-banner h2 + p a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-banner__actions .button {
  min-width: 130px;
}

@media (max-width: 1000px) {
  .page-hero-grid,
  .intro-grid,
  .split-content,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-media {
    min-height: min(70vw, 560px);
  }

  .service-overview-grid,
  .feature-grid,
  .related-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-project-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .home-project-card:last-child {
    grid-column: 1 / -1;
  }

  .values-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .values-list li:nth-child(4) {
    border-left: 1px solid var(--line);
  }

}

@media (max-width: 680px) {
  .site-footer {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .sticky-quote-cta {
    display: none;
  }

  .page-hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 4rem);
  }

  .page-hero h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions .button {
    width: 100%;
  }

  .page-hero-media {
    min-height: 112vw;
  }

  .service-overview-grid,
  .feature-grid,
  .related-services,
  .process-preview {
    grid-template-columns: 1fr;
  }

  .home-services .service-link-card:nth-child(n+4) {
    display: flex;
  }

  .service-link-card {
    min-height: 330px;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 112vw;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .home-project-card,
  .home-project-card:last-child {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .home-project-card:nth-child(2) {
    aspect-ratio: 4 / 5;
  }

  .project-page-grid {
    grid-template-columns: 1fr;
  }

  .project-page-grid .project-card:nth-child(n),
  .project-page-grid.is-filtered .project-card:not([hidden]) {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .values-list li,
  .values-list li:nth-child(4) {
    min-height: 150px;
    border-left: 1px solid var(--line);
  }

  .values-list strong {
    margin-top: 2.5rem;
  }

  .process-detailed li {
    grid-template-columns: 55px 1fr;
    gap: 1rem 1.25rem;
  }

  .process-detailed p {
    grid-column: 2;
  }

  .cookie-banner {
    right: 0.6rem;
    bottom: calc(68px + env(safe-area-inset-bottom));
    left: 0.6rem;
    padding: 1rem;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-banner__actions .button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }

  .site-credit-heart {
    animation: none;
  }

  .sticky-quote-cta {
    animation: none;
  }
}
