﻿/* Fonts loaded via <link> in HTML for parallel loading performance */

:root {
  --olive: #6a2231;
  --olive-rgb: 106, 34, 49;
  --olive-deep: #2b1118;
  --olive-ink: #32151d;
  --champagne: #eadfca;
  --champagne-rgb: 234, 223, 202;
  --champagne-soft: #f8f1e7;
  --sand: #d8bea4;
  --blackfield: #120c11;
  --surface-light: rgba(255, 249, 243, 0.8);
  --surface-glass: rgba(252, 244, 237, 0.58);
  --surface-dark: rgba(31, 16, 21, 0.8);
  --line: rgba(var(--olive-rgb), 0.14);
  --line-strong: rgba(var(--champagne-rgb), 0.2);
  --text: rgba(42, 25, 31, 0.94);
  --text-soft: rgba(65, 40, 48, 0.72);
  --text-faint: rgba(65, 40, 48, 0.54);
  --text-dark: rgba(247, 239, 228, 0.9);
  --text-dark-soft: rgba(247, 239, 228, 0.7);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --shadow-sm: 0 16px 36px rgba(17, 28, 24, 0.08);
  --shadow-md: 0 26px 66px rgba(17, 28, 24, 0.12);
  --shadow-lg: 0 40px 120px rgba(10, 18, 15, 0.22);
  --nav-h: 84px;
  --gutter: clamp(28px, 5vw, 72px);
  --container: 1440px;
  --content: 1280px;
  --section-y: clamp(108px, 12vw, 192px);
  --stack-xs: 16px;
  --stack-sm: 28px;
  --stack-md: 44px;
  --stack-lg: 64px;
  --stack-xl: clamp(72px, 8vw, 112px);
  --display: clamp(5rem, 9vw, 10rem);
  --h1: clamp(4rem, 7vw, 7.8rem);
  --h2: clamp(3.2rem, 6vw, 6.2rem);
  --h3: clamp(2.1rem, 3.2vw, 3.4rem);
  --body-lg: 1.3rem;
  --body: 1.05rem;
  --caption: 0.85rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.24, 0.76, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--body);
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 230, 213, 0.92), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(182, 132, 147, 0.18), transparent 22%),
    linear-gradient(180deg, #efe2d3 0%, #f4e7dc 32%, #f8f0e8 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: opacity 0.2s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.page-out {
  opacity: 0;
}

main,
nav,
footer,
.proposal-float,
.back-top,
.cookie-banner,
.cursor-dot,
.cursor-ring {
  position: relative;
  z-index: 2;
}

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

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

a {
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

a,
button {
  cursor: pointer;
}

button {
  border: 0;
  background: none;
}

/* hover transform handled per-component */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(135, 180, 154, 0.82);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 400;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: var(--olive);
  color: var(--champagne-soft);
}

.skip-link:focus {
  top: 16px;
}

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

.container-narrow {
  width: min(1120px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.eyebrow,
.section-eyebrow,
.kpi-label,
.meta-label,
.story-index {
  font-size: var(--caption);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}

h1,
h2,
h3,
h4,
.display {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-feature-settings: "liga" 1, "kern" 1, "swsh" 1;
}

p {
  margin: 0;
}

h1,
h2,
h3,
.hero-title,
.hero-title-page,
.story-title,
.case-banner-title h2,
.contact-heading {
  text-wrap: balance;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section::before {
  content: '';
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(var(--olive-rgb), 0.28), rgba(var(--olive-rgb), 0.02));
  transition: transform 0.9s var(--ease);
}

.section.in-view::before {
  transform: scaleX(1);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(43, 17, 24, 0.97), rgba(18, 12, 17, 1));
  color: var(--text-dark);
}

.section-near-black {
  background:
    radial-gradient(circle at top, rgba(176, 79, 111, 0.14), transparent 28%),
    linear-gradient(180deg, #231017 0%, #120c11 100%);
  color: var(--text-dark);
}

.section-near-black h1,
.section-near-black h2,
.section-near-black h3,
.section-near-black p,
.section-near-black .eyebrow,
.section-near-black .section-intro,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark .eyebrow,
.section-dark .section-intro {
  color: inherit;
}

.section-near-black .section-intro,
.section-near-black .kpi-copy,
.section-dark .section-intro {
  color: var(--text-dark-soft);
}

.section-light {
  background:
    radial-gradient(circle at top right, rgba(241, 222, 202, 0.8), transparent 28%),
    linear-gradient(180deg, #f1e4d8 0%, #fbf3eb 100%);
}

.section-field {
  background-color: #ecd9d6;
  background-image:
    linear-gradient(180deg, rgba(249, 235, 229, 0.84), rgba(244, 229, 224, 0.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='rgba(106%2C34%2C49%2C0.14)'/%3E%3C/svg%3E");
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
  margin-bottom: var(--stack-lg);
}

.section-head h2 {
  font-size: var(--h2);
}

.section-intro {
  max-width: 40ch;
  font-size: clamp(1.02rem, 1vw + 0.64rem, 1.16rem);
  line-height: 1.74;
  color: var(--text-soft);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  background: rgba(248, 241, 233, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(var(--olive-rgb), 0.1);
  box-shadow: 0 10px 28px rgba(55, 29, 36, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav.scrolled {
  background: rgba(251, 245, 238, 0.96);
  border-bottom-color: rgba(var(--olive-rgb), 0.14);
  box-shadow: 0 14px 34px rgba(55, 29, 36, 0.1);
}

.nav-logo {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  color: var(--olive-ink);
  transition: letter-spacing 0.18s ease;
}

.nav-logo:hover {
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.nav-links a,
.nav-contact {
  position: relative;
  font-size: var(--caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--olive-rgb), 0.74);
  transition: color 0.18s ease, transform 0.22s var(--ease);
}

.nav-links a:hover,
.nav-contact:hover {
  transform: translateY(-2px);
}

.nav-links a::after,
.nav-contact::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 1px;
  background: rgba(var(--olive-rgb), 0.48);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after,
.nav-contact:hover::after,
.nav-contact.active::after,
.nav-contact[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  width: 22px;
  height: 1px;
  background: var(--olive-ink);
}

.mob {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  place-content: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(193, 153, 166, 0.22), transparent 26%),
    rgba(247, 239, 232, 0.98);
  padding: max(26px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  transition: opacity 0.2s ease;
}

.mob.open {
  opacity: 1;
  pointer-events: auto;
}

.mob a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 8vw, 3.25rem);
  color: var(--olive-ink);
}

.page-home {
  --hero-poster: url('hf_20260318_222146_34bb98d7-7f74-42e4-b8b7-ad8dfb5a9f79.png');
  --hero-poster-slot: left center;
  --hero-panel-left: linear-gradient(180deg, #6a2b37 0%, #31141b 100%);
  --hero-panel-center: linear-gradient(180deg, #51202b 0%, #261116 100%);
  --hero-panel-right: linear-gradient(180deg, #2b1318 0%, #140b0f 100%);
  --hero-base-top: #4b1c27;
  --hero-base-bottom: #120b0f;
  --hero-overlay-tint: rgba(66, 27, 39, 0.12);
}

.page-offers {
  --hero-poster: url('hf_20260322_153852_ca9c5595-1d5a-4508-81d7-34b634c59d0e.png');
  --hero-poster-slot: center center;
  --hero-panel-left: linear-gradient(180deg, #412029 0%, #1e1116 100%);
  --hero-panel-center: linear-gradient(180deg, #733643 0%, #341720 100%);
  --hero-panel-right: linear-gradient(180deg, #382029 0%, #181014 100%);
  --hero-base-top: #512531;
  --hero-base-bottom: #140c10;
  --hero-overlay-tint: rgba(78, 30, 42, 0.12);
}

.page-about {
  --hero-poster: url('hf_20260322_164201_f6199e14-2c38-428e-8e63-cfb74170d2d1.png');
  --hero-poster-slot: right center;
  --hero-panel-left: linear-gradient(180deg, #3a1822 0%, #170d12 100%);
  --hero-panel-center: linear-gradient(180deg, #5f2433 0%, #28121b 100%);
  --hero-panel-right: linear-gradient(180deg, #854154 0%, #3d1c27 100%);
  --hero-base-top: #4f2230;
  --hero-base-bottom: #150d11;
  --hero-overlay-tint: rgba(78, 32, 47, 0.1);
}

.page-services {
  --hero-poster: url('hf_20260322_171403_0a8267c1-66dd-4572-b8ce-4436a82d6a89.png');
  --hero-poster-slot: left center;
  --hero-panel-left: linear-gradient(180deg, #5f4038 0%, #241613 100%);
  --hero-panel-center: linear-gradient(180deg, #8a6557 0%, #33231d 100%);
  --hero-panel-right: linear-gradient(180deg, #493129 0%, #1b120f 100%);
  --hero-base-top: #5e4036;
  --hero-base-bottom: #15100e;
  --hero-overlay-tint: rgba(74, 47, 38, 0.12);
}

.page-work {
  --hero-poster: url('hf_20260321_121409_4062da0a-409a-40c2-8920-2f8d374f4819.png');
  --hero-poster-slot: center center;
  --hero-panel-left: linear-gradient(180deg, #8d734e 0%, #34271a 100%);
  --hero-panel-center: linear-gradient(180deg, #d7bf8f 0%, #695033 100%);
  --hero-panel-right: linear-gradient(180deg, #70553a 0%, #241912 100%);
  --hero-base-top: #a28358;
  --hero-base-bottom: #17110d;
  --hero-overlay-tint: rgba(98, 74, 42, 0.1);
}

.page-work .media-item {
  cursor: default;
}

.page-contact {
  --hero-poster: url('hf_20260321_180124_97666e98-2a7b-4bf8-b274-6da698d6aa1a.png');
  --hero-poster-slot: right center;
  --hero-panel-left: linear-gradient(180deg, #c5d5cb 0%, #5e7367 100%);
  --hero-panel-center: linear-gradient(180deg, #8fa796 0%, #3a4f45 100%);
  --hero-panel-right: linear-gradient(180deg, #dde8e0 0%, #7b9484 100%);
  --hero-base-top: #8fa898;
  --hero-base-bottom: #0f1412;
  --hero-overlay-tint: rgba(34, 54, 44, 0.14);
}

.page-404 {
  --hero-poster: url('hf_20260321_191004_1182cf3a-47a2-4445-ace2-a92e6a8d822c.png');
  --hero-poster-slot: center center;
  --hero-panel-left: linear-gradient(180deg, #d9a5b0 0%, #69424b 100%);
  --hero-panel-center: linear-gradient(180deg, #bf8894 0%, #512d37 100%);
  --hero-panel-right: linear-gradient(180deg, #86606b 0%, #26161b 100%);
  --hero-base-top: #9a6974;
  --hero-base-bottom: #130c10;
  --hero-overlay-tint: rgba(77, 42, 53, 0.12);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 34px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--champagne-soft);
}

.page-hero {
  min-height: 72vh;
}

.page-home .hero-shell {
  align-items: end;
}

.page-hero .hero-shell {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  padding-bottom: clamp(72px, 9vw, 120px);
}

.page-hero .hero-copy {
  max-width: min(52rem, 100%);
}

.page-hero .hero-title-page {
  font-size: clamp(2.7rem, 4.1vw, 4.35rem);
  max-width: 22ch;
  line-height: 0.98;
}

.page-hero .hero-sub {
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.page-offers .hero-copy {
  max-width: min(64rem, 100%);
}

.page-offers .hero-title-page {
  max-width: 26ch;
  text-wrap: pretty;
}

.page-offers .hero-sub {
  max-width: 56ch;
}

.hero-media,
.hero-vignette,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media video,
.hero-media-surface {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-media-surface {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(81, 30, 43, 0.18), rgba(12, 9, 11, 0.08)),
    var(--hero-poster),
    linear-gradient(180deg, #3f1923 0%, #160d12 100%);
  background-size: auto 92%;
  background-position: center 78%;
  background-repeat: no-repeat;
}

.page-home .hero-media-surface,
.page-offers .hero-media-surface,
.page-about .hero-media-surface,
.page-services .hero-media-surface,
.page-work .hero-media-surface,
.page-contact .hero-media-surface,
.page-404 .hero-media-surface {
  background:
    linear-gradient(90deg, rgba(18, 10, 13, 0.7) 0, rgba(18, 10, 13, 0.16) 8%, rgba(18, 10, 13, 0.16) 92%, rgba(18, 10, 13, 0.72) 100%),
    linear-gradient(90deg, transparent calc(33.333% - 2px), rgba(18, 10, 13, 0.42) calc(33.333% - 2px), rgba(18, 10, 13, 0.42) calc(33.333% + 2px), transparent calc(33.333% + 2px), transparent calc(66.666% - 2px), rgba(18, 10, 13, 0.42) calc(66.666% - 2px), rgba(18, 10, 13, 0.42) calc(66.666% + 2px), transparent calc(66.666% + 2px)),
    linear-gradient(180deg, rgba(34, 12, 18, 0.24), rgba(10, 8, 10, 0.28)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    var(--hero-poster),
    var(--hero-panel-left),
    var(--hero-panel-center),
    var(--hero-panel-right),
    linear-gradient(180deg, var(--hero-base-top) 0%, var(--hero-base-bottom) 100%);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    calc(33.333% - 1px) 100%,
    calc(33.333% - 1px) 100%,
    calc(33.333% - 1px) 100%,
    calc(33.333% - 1px) 100%,
    100% 100%;
  background-position:
    center,
    center,
    center,
    center,
    var(--hero-poster-slot),
    left center,
    center center,
    right center,
    center;
  background-repeat: no-repeat;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 244, 232, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(54, 18, 29, 0.08) 0%, rgba(31, 14, 19, 0.24) 55%, rgba(12, 9, 11, 0.46) 100%),
    rgba(72, 28, 40, 0.22);
}

.page-home .hero-overlay,
.page-offers .hero-overlay,
.page-about .hero-overlay,
.page-services .hero-overlay,
.page-work .hero-overlay,
.page-contact .hero-overlay,
.page-404 .hero-overlay {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 244, 232, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(54, 18, 29, 0.04) 0%, rgba(31, 14, 19, 0.16) 55%, rgba(12, 9, 11, 0.38) 100%),
    var(--hero-overlay-tint, rgba(52, 22, 31, 0.12));
}

.hero-vignette {
  background:
    radial-gradient(circle at center, transparent 38%, rgba(16, 26, 22, 0.18) 80%, rgba(10, 16, 14, 0.42) 100%),
    linear-gradient(90deg, rgba(10, 16, 14, 0.14), transparent 24%, transparent 76%, rgba(10, 16, 14, 0.18));
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.56fr);
  gap: clamp(40px, 5vw, 84px);
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding-bottom: clamp(72px, 9vw, 132px);
  transform: translate3d(0, var(--hero-shell-shift, 0px), 0);
  will-change: transform;
  align-items: end;
}

.hero-shell::before {
  content: '';
  position: absolute;
  left: -6%;
  bottom: 10%;
  width: min(44vw, 680px);
  height: min(44vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--champagne-rgb), 0.18), rgba(var(--champagne-rgb), 0));
  filter: blur(24px);
  opacity: 0.72;
  pointer-events: none;
}

.page-home .hero-shell::after,
.page-about .hero-shell::after,
.page-services .hero-shell::after,
.page-work .hero-shell::after,
.page-contact .hero-shell::after {
  content: '';
  position: absolute;
  inset: auto 0 -6% auto;
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  border-radius: 28px;
  border: 1px solid rgba(var(--champagne-rgb), 0.08);
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.02)),
    rgba(255, 248, 240, 0.02);
  transform: rotate(14deg);
  box-shadow: 0 40px 100px rgba(2, 6, 5, 0.18);
  pointer-events: none;
}

.page-about .hero-shell::after {
  width: min(28vw, 360px);
  height: min(38vw, 520px);
  transform: rotate(10deg);
}

.page-work .hero-shell::after {
  width: min(38vw, 520px);
  height: min(22vw, 280px);
  transform: rotate(-8deg);
}

.page-contact .hero-shell::after {
  width: min(26vw, 320px);
  height: min(26vw, 320px);
  border-radius: 50%;
}

.hero-copy {
  max-width: min(44rem, 100%);
  animation: copyRise 1s var(--ease) both;
}

.page-home .hero-copy {
  max-width: min(56rem, 100%);
}

.page-home .hero-title {
  font-size: clamp(3.3rem, 5.4vw, 5.35rem);
  max-width: 18ch;
  line-height: 0.96;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--champagne-rgb), 0.18);
  background: rgba(255, 248, 240, 0.12);
  backdrop-filter: blur(12px);
  animation: eyebrowFloat 4.2s ease-in-out infinite alternate;
}

.hero-eyebrow::before {
  content: '';
  width: 72px;
  height: 1px;
  background: rgba(var(--champagne-rgb), 0.78);
  transform-origin: left;
  animation: drawLine 0.9s var(--ease) both;
}

.hero-title {
  font-size: var(--display);
  max-width: 20ch;
  text-wrap: balance;
  animation: titleLift 1s var(--ease) both;
  letter-spacing: -0.035em;
}

.hero-title em,
.display-italic {
  font-style: italic;
  color: rgba(var(--champagne-rgb), 0.82);
}

.hero-sub {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.7;
  color: var(--text-dark-soft);
  animation: copyRise 1.2s var(--ease) both;
}

.hero-title-page {
  font-size: clamp(4.2rem, 7.2vw, 7.6rem);
  max-width: 22ch;
}

.hero-full {
  min-height: 100vh;
}

.hero-side {
  align-self: end;
  display: grid;
  gap: 16px;
  padding-bottom: 10px;
  max-width: 340px;
  justify-self: end;
}

.glass-panel {
  border: 1px solid rgba(var(--champagne-rgb), 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.14), rgba(255, 250, 244, 0.07)),
    rgba(10, 18, 15, 0.26);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(4, 8, 7, 0.24);
}

.hero-card {
  padding: 26px 24px;
  min-height: 136px;
  transform: translate3d(0, var(--card-shift, 0px), 0);
  animation: floatCard 9s ease-in-out infinite;
}

.hero-side .hero-card:nth-child(2) {
  animation-delay: 1.2s;
}

.hero-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: var(--caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--champagne-rgb), 0.72);
}

.hero-card p {
  color: var(--text-dark-soft);
}

.hero-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.btn,
.btn-ghost,
.proposal-float,
.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--caption);
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn-ghost:hover,
.proposal-float:hover,
.cookie-button:hover {
  transform: translateY(-2px) scale(1.025);
}

.btn::before,
.btn-ghost::before,
.proposal-float::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 -32%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-22deg);
  transition: transform 0.55s var(--ease);
}

.btn:hover::before,
.btn-ghost:hover::before,
.proposal-float:hover::before {
  transform: translateX(340%) skewX(-22deg);
}

.btn {
  color: var(--champagne-soft);
  background: linear-gradient(135deg, #8b3046 0%, #5a1f2d 100%);
  box-shadow: 0 16px 34px rgba(38, 14, 21, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(var(--champagne-rgb), 0.3);
  color: var(--champagne-soft);
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--stack-sm);
}

.manifesto-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(var(--olive-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--olive-rgb), 0.1);
  background: linear-gradient(180deg, rgba(250, 244, 235, 0.94), rgba(243, 232, 217, 0.92));
}

.manifesto-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  min-width: max-content;
  padding: 18px 0;
  animation: manifestoSlide 24s linear infinite;
}

.manifesto-track span {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  letter-spacing: -0.02em;
  color: rgba(var(--olive-rgb), 0.88);
}

.eyebrow-stack {
  display: grid;
  gap: 14px;
}

.kpi-stack {
  display: grid;
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(var(--champagne-rgb), 0.06);
  max-width: 1100px;
  margin: 0 auto;
}

.kpi-row {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding: clamp(34px, 4.6vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.04), rgba(255, 248, 240, 0.02)),
    rgba(255, 248, 240, 0.02);
}

.kpi-meta {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
  max-width: 420px;
}

.kpi-value {
  position: relative;
  display: inline-block;
  padding-top: 18px;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.86;
  white-space: nowrap;
}

.kpi-value::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 1px;
  background: rgba(var(--champagne-rgb), 0.55);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}

.kpi-row.in .kpi-value::before {
  transform: scaleX(1);
}

.kpi-copy {
  max-width: 36ch;
  color: var(--text-dark-soft);
  align-self: start;
  padding-top: 22px;
  font-size: 1.08rem;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.philosophy-quote {
  font-size: clamp(1.75rem, 2.6vw, 2.65rem);
  font-style: italic;
  line-height: 1.16;
  max-width: 30ch;
  color: rgba(var(--olive-rgb), 0.84);
  animation: quoteFloat 10s ease-in-out infinite alternate;
}

.philosophy-quote + .philosophy-quote {
  margin-top: 32px;
}

.services-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card,
.info-card,
.meta-card {
  position: relative;
  padding: clamp(26px, 2.2vw, 34px);
  border: 1px solid rgba(var(--olive-rgb), 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16)),
    rgba(255, 251, 245, 0.5);
  box-shadow: 0 24px 56px rgba(24, 32, 28, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-card::after,
.info-card::after,
.meta-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--olive-rgb), 0.36), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.service-card:hover,
.info-card:hover,
.meta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card h3,
.info-card h3,
.meta-card h3 {
  font-size: var(--h3);
  margin-bottom: 16px;
}

.service-card p,
.info-card p,
.meta-card p {
  color: var(--text-soft);
  max-width: 34ch;
}

.technical-field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.field-panel {
  padding: clamp(30px, 3vw, 42px);
  border: 1px solid rgba(var(--olive-rgb), 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.48), rgba(255, 252, 247, 0.28)),
    rgba(255, 248, 240, 0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: panelDrift 9s ease-in-out infinite alternate;
}

.field-panel h3 {
  margin-bottom: 18px;
}

.space-top-lg {
  margin-top: var(--stack-lg);
}

.space-top-md {
  margin-top: var(--stack-md);
}

.space-top-sm {
  margin-top: var(--stack-sm);
}

.section-intro-top {
  margin-top: 20px;
}

.contact-heading {
  margin-top: 18px;
  max-width: 12ch;
  font-size: var(--h2);
  line-height: 0.98;
}

.footer-note {
  max-width: 34ch;
  margin-top: 16px;
  color: rgba(242, 233, 220, 0.68);
}

.story-flow-top {
  margin-top: 16px;
}

.field-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.compare-stage {
  position: relative;
  min-height: 540px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(3, 7, 6, 0.34);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.compare-stage:hover {
  transform: translateY(-4px);
}

.compare-image {
  position: absolute;
  inset: 0;
}

.compare-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.compare-before {
  background-image:
    linear-gradient(180deg, rgba(255, 247, 234, 0.04), rgba(26, 16, 20, 0.18)),
    url('hf_20260321_121409_4062da0a-409a-40c2-8920-2f8d374f4819.png'),
    linear-gradient(180deg, #f0deb5 0%, #d7c29d 100%);
}

.compare-after {
  background-image:
    linear-gradient(180deg, rgba(246, 255, 248, 0.04), rgba(18, 12, 16, 0.24)),
    url('hf_20260321_180124_97666e98-2a7b-4bf8-b274-6da698d6aa1a.png'),
    linear-gradient(180deg, #d9e5dd 0%, #b8c9bf 100%);
}

.compare-image.after {
  clip-path: inset(0 calc(100% - var(--compare, 54%)) 0 0);
}

.compare-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 10, 0.08), rgba(7, 12, 10, 0.3));
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--compare, 54%) - 1px);
  width: 2px;
  background: rgba(var(--champagne-rgb), 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.compare-grip {
  position: absolute;
  left: calc(var(--compare, 54%) - 22px);
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(var(--champagne-rgb), 0.74);
  background: rgba(255, 248, 240, 0.18);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
}

.compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.testimonials-stack {
  display: grid;
  gap: 42px;
}

.testimonial {
  position: relative;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(var(--olive-rgb), 0.12);
  transition: transform 0.28s var(--ease);
}

.testimonial:hover {
  transform: translateX(10px);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  left: -12px;
  top: -34px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: rgba(var(--olive-rgb), 0.07);
}

.testimonial blockquote {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-style: italic;
  line-height: 1.26;
  color: var(--text);
  max-width: 26ch;
}

.testimonial footer {
  margin-top: 18px;
  display: inline-grid;
  gap: 6px;
  color: var(--text-soft);
}

.testimonial footer::after {
  content: '';
  width: 100%;
  height: 1px;
  background: rgba(var(--olive-rgb), 0.28);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.testimonial:hover footer::after {
  transform: scaleX(1);
}

.testimonial cite {
  font-style: normal;
  font-size: var(--caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.story-scroll {
  position: relative;
}

.story-progress {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-bottom: var(--stack-sm);
}

.story-pill {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--olive-rgb), 0.12);
  background: rgba(255, 248, 240, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(24, 32, 28, 0.08);
}

.story-dots {
  display: flex;
  gap: 8px;
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--olive-rgb), 0.22);
}

.story-dot.active {
  background: var(--olive);
}

.story-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  gap: clamp(30px, 4vw, 48px);
  padding: clamp(52px, 6vw, 80px) 0;
  align-items: start;
}

.story-panel + .story-panel {
  border-top: 1px solid var(--line);
}

.story-panel-copy {
  position: relative;
  display: grid;
  gap: 18px;
}

.story-panel-copy::before {
  content: attr(data-index);
}

.story-number {
  position: absolute;
  inset: -28px auto auto -18px;
  font-family: 'Playfair Display', serif;
  font-size: 18vw;
  line-height: 0.8;
  color: rgba(var(--olive-rgb), 0.04);
  pointer-events: none;
  animation: numeralDrift 14s ease-in-out infinite;
}

.story-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 14ch;
}

.story-body {
  max-width: 40ch;
  color: var(--text-soft);
  line-height: 1.76;
}

.story-rail {
  padding: clamp(24px, 2.2vw, 32px);
  border-radius: 30px;
  border: 1px solid rgba(var(--olive-rgb), 0.12);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.54), rgba(255, 252, 247, 0.32)),
    rgba(255, 250, 244, 0.46);
  box-shadow: 0 24px 56px rgba(24, 32, 28, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.story-rail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-grid {
  display: grid;
  gap: 18px;
}

.story-row {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.story-flow span {
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.portfolio-filter {
  position: sticky;
  top: var(--nav-h);
  z-index: 3;
  padding: 18px 0 24px;
  background: linear-gradient(180deg, rgba(244, 234, 228, 0.92), rgba(244, 234, 228, 0.62));
  backdrop-filter: blur(16px);
}

.filter-shell {
  position: relative;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--olive-rgb), 0.1);
  background: rgba(255, 250, 244, 0.74);
}

.filter-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  border-radius: var(--radius-pill);
  background: rgba(var(--olive-rgb), 0.08);
  transition: transform 0.28s var(--ease), width 0.28s var(--ease);
}

.filter-btn {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  color: rgba(var(--olive-rgb), 0.66);
}

.filter-btn.active {
  color: var(--olive-ink);
}

.case-study {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: 18px;
  transition: transform 0.28s var(--ease);
}

.case-study:hover {
  transform: translateY(-6px);
}

.case-banner {
  position: relative;
  height: 440px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 76px rgba(4, 8, 7, 0.18);
}

.case-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--parallax-y, 0px)) scale(1.06);
  will-change: transform;
  transition: transform 0.5s var(--ease);
}

.case-surface {
  width: 100%;
  height: 100%;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(var(--parallax-y, 0px)) scale(1.01);
  will-change: transform;
  transition: transform 0.5s var(--ease);
}

.case-prestige {
  background-image:
    linear-gradient(180deg, rgba(12, 9, 11, 0.08), rgba(12, 9, 11, 0.5)),
    url('hf_20260318_222146_34bb98d7-7f74-42e4-b8b7-ad8dfb5a9f79.png'),
    linear-gradient(180deg, #461723 0%, #160d12 100%);
}

.case-apex {
  background-image:
    linear-gradient(180deg, rgba(12, 9, 11, 0.08), rgba(12, 9, 11, 0.44)),
    url('hf_20260322_164552_033fe125-f924-4741-9640-88e935360a85.png'),
    linear-gradient(180deg, #541626 0%, #1a0d12 100%);
}

.case-meridian {
  background-image:
    linear-gradient(180deg, rgba(18, 18, 18, 0.04), rgba(18, 18, 18, 0.38)),
    url('hf_20260321_121409_4062da0a-409a-40c2-8920-2f8d374f4819.png'),
    linear-gradient(180deg, #eddab3 0%, #d7c299 100%);
}

.case-vantage {
  background-image:
    linear-gradient(180deg, rgba(255, 247, 250, 0.02), rgba(26, 15, 20, 0.34)),
    url('hf_20260321_191004_1182cf3a-47a2-4445-ace2-a92e6a8d822c.png'),
    linear-gradient(180deg, #c69dac 0%, #9c7b88 100%);
}

.case-study:hover .case-banner img,
.case-study:hover .case-surface {
  transform: translateY(var(--parallax-y, 0px)) scale(1.03);
}

.case-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 15, 0.08), rgba(11, 18, 15, 0.72)),
    radial-gradient(circle at 24% 28%, rgba(var(--champagne-rgb), 0.12), transparent 22%);
}

.case-banner-title {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 1;
  color: var(--champagne-soft);
  animation: titleLift 1.1s var(--ease) both;
  max-width: min(68rem, calc(100% - 64px));
}

.case-banner-title h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 18ch;
}

.case-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.case-copy p {
  color: var(--text-soft);
  line-height: 1.76;
}

.case-meta {
  display: grid;
  gap: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.88fr);
  gap: clamp(28px, 4vw, 42px);
}

.contact-intro {
  position: relative;
  padding-right: 5vw;
  max-width: 38rem;
}

.contact-intro::before {
  content: 'C';
  position: absolute;
  right: 0;
  top: -36px;
  font-family: 'Playfair Display', serif;
  font-size: min(24vw, 20rem);
  line-height: 0.8;
  color: rgba(var(--olive-rgb), 0.06);
  animation: watermarkDrift 16s ease-in-out infinite alternate;
}

.contact-form-shell {
  position: relative;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(var(--olive-rgb), 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12)),
    rgba(255, 251, 245, 0.5);
  box-shadow: 0 24px 58px rgba(24, 32, 28, 0.08);
  overflow: hidden;
}

.contact-form-shell::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--olive-rgb), 0.26), rgba(var(--olive-rgb), 0.02));
}

.contact-form {
  display: grid;
  gap: 24px;
}

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

.field {
  position: relative;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(var(--olive-rgb), 0.22);
  background: transparent;
  color: var(--text);
}

.field::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--olive);
  transition: right 0.28s var(--ease);
}

.field:focus-within::after {
  right: 0;
}

.submit-wrap {
  position: relative;
}

.submit-wrap .btn {
  width: 100%;
  overflow: hidden;
}

.submit-wrap .btn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: skewX(-24deg);
  transition: transform 0.55s var(--ease);
}

.submit-wrap .btn:hover::after {
  transform: translateX(320%) skewX(-24deg);
}

.footer {
  padding: 100px 0 34px;
  background:
    radial-gradient(circle at top, rgba(var(--champagne-rgb), 0.06), transparent 24%),
    var(--blackfield);
  color: var(--text-dark);
}

.footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--champagne-rgb), 0), rgba(var(--champagne-rgb), 0.4), rgba(var(--champagne-rgb), 0));
  margin-bottom: 52px;
}

.footer-statement {
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-style: italic;
  margin-bottom: var(--stack-lg);
  animation: footerGlow 7s ease-in-out infinite alternate;
  max-width: 16ch;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.12);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links h5 {
  margin: 0 0 12px;
  font-size: var(--caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--champagne-rgb), 0.68);
}

.footer-links a,
.footer-bottom {
  color: var(--text-dark-soft);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--champagne-rgb), 0.16);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: var(--caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proposal-float,
.back-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.proposal-float.show,
.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.proposal-float {
  bottom: calc(92px + env(safe-area-inset-bottom));
  background: rgba(95, 32, 46, 0.94);
  color: var(--champagne-soft);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(192, 148, 162, 0.26), transparent 32%),
    linear-gradient(180deg, #efe1d3 0%, #eadbcf 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.site-loader-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: min(320px, calc(100% - 48px));
}

.site-loader-mark {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-ink);
}

.site-loader-copy {
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-loader-line {
  position: relative;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(var(--olive-rgb), 0.18);
}

.site-loader-line::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(var(--olive-rgb), 0.72), transparent);
  animation: loaderSweep 1.35s ease-in-out infinite;
}

.back-top {
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #7a2b3e 0%, #5a1f2d 100%);
  color: var(--champagne-soft);
}

.cookie-banner {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(20, 12, 16, 0.94);
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  margin-top: -4px;
}

.cursor-ring {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  margin-left: -8px;
  margin-top: -8px;
  transition: width 0.18s ease, height 0.18s ease, margin 0.18s ease;
}

.cursor-ring.active {
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
}

.reveal,
.reveal-blur,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  will-change: transform;
}

.reveal-left {
  transform: translateX(-22px);
}

.reveal-right {
  transform: translateX(22px);
}

.reveal-blur {
  filter: blur(12px);
}

.reveal.in,
.reveal-blur.in,
.reveal-left.in,
.reveal-right.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.motion-copy,
.motion-panel,
.motion-media,
.motion-quote {
  will-change: transform, opacity, filter;
  transform: translate3d(0, var(--scrub-y, 0px), 0) scale(var(--scrub-scale, 1));
  opacity: var(--scrub-opacity, 1);
  transition:
    transform 0.18s linear,
    opacity 0.18s linear,
    filter 0.18s linear,
    box-shadow 0.24s ease;
}

.motion-copy {
  filter: blur(var(--scrub-blur, 0px));
}

.motion-panel {
  filter: saturate(var(--scrub-sat, 1)) blur(var(--scrub-blur, 0px));
}

.motion-media {
  transform:
    translate3d(0, var(--scrub-y, 0px), 0)
    scale(var(--scrub-scale, 1))
    rotate(var(--scrub-rotate, 0deg));
}

.motion-quote {
  transform:
    translate3d(0, var(--scrub-y, 0px), 0)
    scale(var(--scrub-scale, 1))
    skewY(var(--scrub-skew, 0deg));
}

.motion-copy.in,
.motion-panel.in,
.motion-media.in,
.motion-quote.in {
  --scrub-opacity: 1;
  --scrub-y: 0px;
  --scrub-scale: 1;
  --scrub-blur: 0px;
  --scrub-sat: 1;
  --scrub-rotate: 0deg;
  --scrub-skew: 0deg;
}

.section-head,
.split-intro,
.story-panel,
.case-study,
.contact-form-shell {
  transform-origin: center top;
}

@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes heroDrift {
  0% { transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.01); }
  100% { transform: translate3d(0, calc(var(--hero-shift, 0px) - 6px), 0) scale(1.03); }
}

@keyframes floatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes quoteFloat {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -6px, 0); }
}

@keyframes numeralDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.04; }
  50% { transform: translate3d(8px, -10px, 0); opacity: 0.065; }
}

@keyframes titleLift {
  0% { opacity: 0; transform: translate3d(0, 18px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes watermarkDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-10px, 10px, 0); }
}

@keyframes footerGlow {
  0% { opacity: 0.92; }
  100% { opacity: 1; }
}

@keyframes eyebrowFloat {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -4px, 0); }
}

@keyframes copyRise {
  0% { opacity: 0; transform: translate3d(0, 20px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes panelDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -7px, 0); }
}

@keyframes railFloat {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -6px, 0); }
}

@keyframes dockFloat {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -4px, 0); }
}

@keyframes manifestoSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-25%, 0, 0); }
}

@keyframes loaderSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 1280px) {
  .hero-shell,
  .compare,
  .contact-grid,
  .story-panel,
  .case-copy,
  .split-intro,
  .technical-field,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head,
  .split-intro,
  .case-copy,
  .contact-grid {
    gap: 28px;
  }

  .hero-copy,
  .section-head h2 {
    max-width: none;
  }

  .hero-title,
  .hero-title-page,
  .story-title,
  .case-banner-title h2,
  .contact-heading {
    max-width: none;
  }

}

@media (max-width: 1024px) {
  :root {
    --nav-h: 74px;
  }

  .services-grid,
  .cards-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .story-number {
    font-size: 22vw;
  }

  .kpi-row {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 66px;
    --gutter: 22px;
    --section-y: 72px;
    --display: clamp(4rem, 15vw, 6rem);
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .nav-links,
  .nav-contact {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-shell {
    padding-bottom: 48px;
  }

  .page-hero .hero-shell {
    width: min(100%, calc(100% - (var(--gutter) * 2)));
  }

  .hero-title {
    max-width: 13ch;
    font-size: clamp(2.8rem, 8.8vw, 4rem);
    line-height: 0.94;
  }

  .hero-title-page {
    max-width: 13ch;
    font-size: clamp(2.7rem, 8.4vw, 3.8rem);
    line-height: 0.94;
  }

  .hero-sub {
    max-width: 42ch;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .story-panel {
    padding: 44px 0;
  }

  .case-banner {
    height: 380px;
  }

  .hero-shell::before,
  .page-home .hero-shell::after,
  .page-offers .hero-shell::after,
  .page-about .hero-shell::after,
  .page-services .hero-shell::after,
  .page-work .hero-shell::after,
  .page-contact .hero-shell::after,
  .page-404 .hero-shell::after {
    display: none;
  }

  .page-home .hero-media-surface,
  .page-offers .hero-media-surface,
  .page-about .hero-media-surface,
  .page-services .hero-media-surface,
  .page-work .hero-media-surface,
  .page-contact .hero-media-surface,
  .page-404 .hero-media-surface {
    background:
      linear-gradient(180deg, rgba(34, 12, 18, 0.2), rgba(10, 8, 10, 0.3)),
      radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
      var(--hero-poster),
      linear-gradient(180deg, var(--hero-base-top) 0%, var(--hero-base-bottom) 100%);
    background-size: 100% 100%, 100% 100%, cover, 100% 100%;
    background-position: center, center, center 42%, center;
    background-repeat: no-repeat;
  }

  .portfolio-filter {
    padding-inline: var(--gutter);
  }

  .kpi-row,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 28px;
  }

  .proposal-float {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
    --section-y: 58px;
  }

  .hero-eyebrow::before {
    width: 44px;
  }

  .page-hero {
    padding-top: calc(var(--nav-h) + 24px);
  }

  .hero-shell {
    width: calc(100% - (var(--gutter) * 2));
    padding-bottom: 36px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-title,
  .hero-title-page {
    max-width: 12.5ch;
    font-size: clamp(2.15rem, 7.6vw, 3rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
  }

  .hero-sub {
    max-width: 36ch;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .services-grid,
  .cards-grid {
    gap: 18px;
  }

  .service-card,
  .info-card,
  .meta-card,
  .field-panel,
  .story-rail,
  .contact-form-shell {
    border-radius: 24px;
  }

  .manifesto-track {
    gap: 28px;
    padding: 14px 0;
  }

  .manifesto-track span {
    font-size: 1rem;
  }

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

  .story-flow {
    grid-template-columns: 1fr;
  }

  .case-banner {
    height: 360px;
  }

  .case-banner-title {
    left: 22px;
    bottom: 20px;
    max-width: calc(100% - 44px);
  }

  .proposal-float,
  .back-top {
    right: max(16px, env(safe-area-inset-right));
  }
}

/* ─── Touch / no-hover devices ─────────────────────────────────── */
/* Neutralise hover transforms that linger on tap (sticky hover) */
@media (hover: none) {
  .nav-logo:hover { letter-spacing: 0.06em; }

  .nav-links a:hover,
  .nav-contact:hover { transform: none; }

  .btn:hover,
  .btn-ghost:hover,
  .proposal-float:hover,
  .cookie-button:hover { transform: none; }

  .btn:hover::before,
  .btn-ghost:hover::before,
  .proposal-float:hover::before { transform: skewX(-22deg); }

  .service-card:hover,
  .info-card:hover,
  .meta-card:hover { transform: none; box-shadow: none; }

  .service-card:hover::after,
  .info-card:hover::after,
  .meta-card:hover::after { transform: scaleX(0); }

  .field-panel:hover { transform: none; box-shadow: none; }
  .compare-stage:hover { transform: none; }
  .testimonial:hover { transform: none; }
  .story-rail:hover { transform: none; box-shadow: none; }
  .case-study:hover { transform: none; }

  .case-study:hover .case-banner img,
  .case-study:hover .case-surface {
    transform: translateY(var(--parallax-y, 0px)) scale(1.01);
  }
}

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

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

  .reveal,
  .reveal-blur,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
