/* ─── NEUE MONTREAL ───────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-LightItalic.otf') format('opentype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-Italic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-MediumItalic.otf') format('opentype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('./assets/fonts/NeueMontreal-BoldItalic.otf') format('opentype');
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ─── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --color-bg:          #080808;
  --color-bg-raised:   #111010;
  --color-bg-card:     rgba(255, 255, 255, 0.035);

  /* Gold */
  --color-gold:        #C9A96E;
  --color-gold-bright: #E2C07A;
  --color-gold-dim:    #8A7048;
  --color-gold-glow:   rgba(201, 169, 110, 0.12);

  /* Amber atmosphere */
  --color-amber-glow:  rgba(180, 100, 30, 0.18);
  --color-amber-deep:  rgba(120, 60, 10, 0.25);

  /* Text */
  --color-text-primary: #F2EDDF;
  --color-text-heading: #FFFFFF;
  --color-text-muted:   #7A7169;
  --color-text-dim:     #4A4540;

  /* Borders */
  --color-border:      rgba(201, 169, 110, 0.15);
  --color-border-card: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-display: 'Neue Montreal', sans-serif;
  --font-accent:  'Neue Montreal', sans-serif;
  --font-body:    'Neue Montreal', sans-serif;

  /* Type scale */
  --text-hero:  clamp(40px, 5.5vw, 80px);
  --text-h1:    clamp(30px, 4vw, 58px);
  --text-h2:    clamp(22px, 3vw, 38px);
  --text-h3:    clamp(16px, 2vw, 20px);
  --text-body:  16px;
  --text-small: 13px;
  --text-micro: 11px;

  /* Motion */
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   0.2s;
  --dur-base:   0.4s;
  --dur-slow:   0.7s;

  /* Layout */
  --max-width:       1200px;
  --section-pad:     clamp(110px, 14vw, 200px);
  --container-x:     clamp(24px, 5vw, 80px);
  --nav-height:      72px;
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9000;
}

img, svg { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
button   { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul       { list-style: none; }

/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-x);
}

section { position: relative; overflow: hidden; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.0em;
  letter-spacing: -0.02em;
  /* color intentionally unset here — inherits from context.
     In hero headlines: gradient via parent line.
     In section headlines: set per-section. */
}

/* Section headlines outside the hero get the gold accent colour */
.section-header__headline .headline-accent,
.comparison__col-header .headline-accent,
.final-cta__headline .headline-accent {
  color: var(--color-gold);
}

/* ─── UTILITIES ───────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  background: rgba(201, 169, 110, 0.06);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.4;
}

/* Atmospheric glows */
.hero-glow {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 140vw);
  height: min(800px, 120vw);
  background: radial-gradient(
    ellipse at center 60%,
    rgba(180, 100, 30, 0.26) 0%,
    rgba(140, 70, 15, 0.14) 38%,
    transparent 68%
  );
  pointer-events: none;
  filter: blur(70px);
  animation: glowPulse 6s ease-in-out infinite;
  z-index: 0;
}

.section-glow {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(201, 169, 110, 0.07) 0%,
    transparent 55%
  );
  width: 800px;
  height: 600px;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* ─── KEYFRAMES ───────────────────────────────────────────────────────────── */
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -60%) scale(1.0); }
  50%       { transform: translate(-50%, -60%) scale(1.08); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── SCROLL REVEAL ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity  var(--dur-slow) var(--ease-expo),
    transform var(--dur-slow) var(--ease-expo);
}

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

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--color-gold);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background var(--dur-fast) ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

/* Shine sweep — diagonal gold highlight travels left→right on hover */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(255, 240, 180, 0.55) 50%,
    transparent 75%,
    transparent 100%
  );
  background-size: 250% 250%, 100% 100%;
  background-position: 200% 0, 0 0;
  background-repeat: no-repeat;
  transition: background-position 0s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  background-position: -100% 0, 0 0;
  transition-duration: 900ms;
  transition-timing-function: ease;
}

.btn-primary:hover { background: var(--color-gold-bright); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--color-gold-dim);
  color: var(--color-gold);
}

/* ─── NAVIGATION ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  /* Transparent wrapper — visual pill lives on .nav__inner */
  padding: 14px clamp(16px, 3vw, 40px) 0;
  background: transparent;
  pointer-events: none;
}

/* Floating glass pill */
.nav__inner {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;

  background: rgba(14, 12, 12, 0.76);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top-color: rgba(255, 255, 255, 0.17);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 rgba(0, 0, 0, 0.20) inset,
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px  rgba(0, 0, 0, 0.30),
    0 0 0 0.5px rgba(201, 169, 110, 0.07);

  transition:
    background var(--dur-base) ease,
    box-shadow  var(--dur-base) ease,
    border-color var(--dur-base) ease;
}

/* Denser pill when scrolled */
.nav.scrolled .nav__inner {
  background: rgba(10, 9, 9, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 rgba(0, 0, 0, 0.24) inset,
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 3px 10px  rgba(0, 0, 0, 0.40),
    0 0 0 0.5px rgba(201, 169, 110, 0.10);
}

/* T.N.A wordmark */
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  position: relative;
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) ease;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-expo);
}

.nav__link:hover             { color: var(--color-text-primary); }
.nav__link:hover::after      { transform: scaleX(1); }

/* Ghost-gold CTA — fills on hover */
.nav__cta {
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.32);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}

.nav__cta:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0a0a0a;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--dur-base) var(--ease-expo);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(8, 8, 8, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) ease, visibility var(--dur-base) ease;
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 44px);
  font-weight: 400;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) ease;
}

.nav__mobile-link:hover { color: var(--color-gold); }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Rook — absolute, directly in section, no wrapper */
.hero__rook {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  height: 100vh;
  width: auto;
  max-width: 52vw;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 88%);
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 88%);
  animation: fadeIn 1.4s var(--ease-expo) both;
  animation-delay: 100ms;
  z-index: 0;
}

/* Left — copy */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 54%;
  padding: clamp(80px, 10vw, 140px) 0;
}

.hero__pill {
  animation:
    fadeUp var(--dur-slow) var(--ease-expo) both,
    pillFloat 5s linear 800ms infinite;
}

@keyframes pillFloat {
  0%   { transform: translateY(0px); }
  15%  { transform: translateY(-1px); }
  30%  { transform: translateY(-2.5px); }
  50%  { transform: translateY(-3px); }
  70%  { transform: translateY(-2.5px); }
  85%  { transform: translateY(-1px); }
  100% { transform: translateY(0px); }
}

.hero__headline {
  display: block;
  font-size: var(--text-hero);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

/* Gradient applied per-line — spans are block elements, clip works reliably */
.hero__headline-line {
  display: block;
  background: linear-gradient(100deg, #ffffff 0%, #ede0c4 60%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp var(--dur-slow) var(--ease-expo) both;
}

.hero__headline-line .headline-accent {
  font-style: italic;
  font-weight: 400;
  /* inherits transparent fill and bg-clip from parent line */
}

.hero__subheadline {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(242, 237, 223, 0.58);
  max-width: 420px;
  line-height: 1.72;
  font-weight: 400;
  animation: fadeUp var(--dur-slow) var(--ease-expo) both;
  animation-delay: 400ms;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp var(--dur-slow) var(--ease-expo) both;
  animation-delay: 600ms;
}

/* ─── SOCIAL PROOF BAR ────────────────────────────────────────────────────── */
/* ── PROOF BAR / TICKER ──────────────────────────────────────────────────── */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--ticker-offset, -50%)); }
}

.proof-bar {
  padding: 32px 0 40px;
  overflow: hidden;
}

.proof-bar__label {
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.proof-bar__track-wrap {
  overflow: hidden;
  /* Soft edge fade on both sides */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}

.proof-bar__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.proof-bar__track:hover {
  animation-play-state: paused;
}

.proof-bar__logo-item {
  font-weight: 600;
  font-size: 12px;
  color: var(--color-text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.5;
  padding: 0 36px;
  transition: opacity var(--dur-base) ease;
}

.proof-bar__track:hover .proof-bar__logo-item { opacity: 0.75; }

.proof-bar__sep {
  color: var(--color-gold);
  font-size: 8px;
  opacity: 0.35;
  flex-shrink: 0;
}

/* ─── SECTION HEADER ──────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(64px, 8vw, 110px);
  position: relative;
  z-index: 1;
}

.section-header .pill { margin-bottom: 20px; }

.section-header__headline {
  font-size: var(--text-h1);
  max-width: 720px;
  margin: 0 auto;
}

/* ─── SERVICES ────────────────────────────────────────────────────────────── */
.services { padding: clamp(20px, 3vw, 50px) 0 var(--section-pad); }


/* Intro block: pill + one sentence — right-aligned */
.services__intro-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.services__intro-block .pill {
  flex-shrink: 0;
}

.services__intro {
  max-width: 560px;
  text-align: right;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* Two large feature cards */
.services__feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* ── LIQUID GLASS CARDS ──────────────────────────────────────────────────── */
.sfc {
  position: relative;
  min-height: 440px;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Liquid glass — dark-tinted frosted pane */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(64px) saturate(200%) brightness(1.07);
  -webkit-backdrop-filter: blur(64px) saturate(200%) brightness(1.07);

  /* Outer edge */
  border: 1px solid rgba(255, 255, 255, 0.14);

  /* Layered inset specular: bright top/left (light source), dark bottom/right (glass thickness) */
  box-shadow:
    0 1px 0   rgba(255, 255, 255, 0.32) inset,   /* top specular streak  */
    1px 0 0   rgba(255, 255, 255, 0.14) inset,   /* left edge catch      */
    0 -1px 0  rgba(0, 0, 0, 0.30) inset,         /* bottom glass edge    */
    -1px 0 0  rgba(0, 0, 0, 0.14) inset,         /* right glass edge     */
    0 0 50px  rgba(255, 255, 255, 0.03) inset,   /* ambient inner glow   */
    0 40px 100px rgba(0, 0, 0, 0.55),            /* deep float shadow    */
    0 10px 36px  rgba(0, 0, 0, 0.38),            /* close shadow         */
    0 0 120px rgba(201, 169, 110, 0.06);          /* gold bloom           */

  transition:
    border-color var(--dur-base) ease,
    box-shadow   var(--dur-base) ease,
    background   var(--dur-base) ease;
}

/* Prismatic shimmer — angled light streak across the glass face */
.sfc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    148deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.07) 18%,
    rgba(201, 169, 110, 0.07) 52%,
    rgba(255, 255, 255, 0.01) 78%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Caustic light — radial patches simulating refracted light through glass */
.sfc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 62% 42% at 20% 10%,  rgba(255, 255, 255, 0.10) 0%, transparent 65%),
    radial-gradient(ellipse 38% 28% at 74%  8%,  rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 48% 36% at 76% 90%,  rgba(201, 169, 110, 0.08) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
  transition: filter var(--dur-base) ease;
  animation: liquidCaustic 10s ease-in-out infinite;
}

@keyframes liquidCaustic {
  0%, 100% { opacity: 0.72; }
  42%       { opacity: 1;    }
  68%       { opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  .sfc::after { animation: none; opacity: 0.88; }
}

.sfc:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0   rgba(255, 255, 255, 0.42) inset,
    1px 0 0   rgba(255, 255, 255, 0.18) inset,
    0 -1px 0  rgba(0, 0, 0, 0.30) inset,
    -1px 0 0  rgba(0, 0, 0, 0.14) inset,
    0 0 50px  rgba(255, 255, 255, 0.05) inset,
    0 44px 110px rgba(0, 0, 0, 0.60),
    0 10px 40px  rgba(0, 0, 0, 0.44),
    0 0 140px rgba(201, 169, 110, 0.10);
}

.sfc:hover::after {
  filter: brightness(1.45);
}

/* Darker tint for owner card */
.sfc--dark {
  background: rgba(0, 0, 0, 0.30);
  border-color: rgba(255, 255, 255, 0.10);
}
.sfc--dark::before {
  background: linear-gradient(
    148deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(201, 169, 110, 0.06) 60%,
    rgba(0, 0, 0, 0.06) 100%
  );
}
/* Warmer caustics for the darker card — offset animation so they pulse out of sync */
.sfc--dark::after {
  background:
    radial-gradient(ellipse 55% 38% at 20% 10%,  rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 32% 24% at 74%  8%,  rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 52% 40% at 76% 90%,  rgba(201, 169, 110, 0.11) 0%, transparent 65%);
  animation-delay: -5s;
}
.sfc--dark:hover { background: rgba(0, 0, 0, 0.22); }

/* Index label */
.sfc__index {
  position: relative;
  z-index: 1;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-gold-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

/* Card body */
.sfc__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Card images ─────────────────────────────────────────────────── */
.sfc__img {
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.35);
  display: block;
}

/* Wrapper — carries the position, size, clip, and overlay */
.sfc__img-wrap {
  position: absolute;
  bottom: 28px;
  left: 16px;
  right: 16px;
  height: 48%;
  border-radius: 14px;
  overflow: hidden;
}

/* Golden overlay — scoped to the image wrapper only */
.sfc__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(170, 100, 15, 0.28) 50%,
    rgba(140, 75, 8, 0.52) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Landscape image — fills its wrapper */
.sfc__img--landscape {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Portrait — upper-left, compact enough for header above & text to the right */
.sfc__img--portrait {
  position: absolute;
  left: 36px;
  top: 56px;
  width: 36%;
  height: 62%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

/* ── Location card ───────────────────────────────────────────────── */

/* Content block — sits above the absolute image */
.sfc__location-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
  /* leave bottom clear for the absolute image (~52% height) */
  padding-bottom: 12px;
}

/* Availability indicator */
.sfc__availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.sfc__avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.6);
}

/* Tighten city → button gap inside the location card */
.sfc--location .sfc__city {
  margin-bottom: 6px;
}

/* City accent — gold italic */
.sfc__city-accent {
  font-style: italic;
  color: var(--color-gold);
}

/* ── BOOK MØTE — HOVER BORDER GRADIENT ──────────────────────────────────── */
/* Animatable angle property for the conic gradient */
@property --book-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.sfc__location-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 40px;
  border-radius: 999px;
  background: rgba(12, 11, 11, 0.92);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 4px;
  transition: color var(--dur-fast) ease;
}

/* Gradient border via mask-composite — no wrapper, no overflow:hidden, no box artifacts */
.sfc__location-cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 1px;
  background: conic-gradient(
    from var(--book-border-angle) at 50% 50%,
    rgba(201, 169, 110, 0)     0deg,
    rgba(138, 112, 72,  .2)   50deg,
    rgba(201, 169, 110, .85) 100deg,
    rgba(226, 192, 122,  1)  135deg,
    rgba(201, 169, 110, .85) 170deg,
    rgba(138, 112, 72,  .2)  220deg,
    rgba(201, 169, 110, 0)   270deg,
    rgba(201, 169, 110, 0)   360deg
  );
  /* Donut mask: show only the 1px padding ring, hide the content area */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bookBorderSpin 3s linear infinite;
  transition: filter 0.35s ease;
  pointer-events: none;
}

.sfc__location-cta:hover::before {
  filter: brightness(1.9) saturate(1.3);
}

.sfc__location-cta:hover {
  color: var(--color-gold-bright);
}

@keyframes bookBorderSpin {
  to { --book-border-angle: 360deg; }
}

/* ── Owner card copy ─────────────────────────────────────────────────────── */
.sfc__owner-content {
  position: absolute;
  top: 36px;
  bottom: 36px;
  /* portrait sits at left:36px + width:36% of card; add 16px gap */
  left: calc(36% + 52px);
  right: 36px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.sfc__owner-pill {
  align-self: flex-start;
  margin-bottom: 14px;
}

.sfc__owner-name {
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.sfc__owner-divider {
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(
    to right,
    rgba(201, 169, 110, 0.45),
    rgba(201, 169, 110, 0.08) 65%,
    transparent
  );
  margin-bottom: 20px;
}

.sfc__owner-headline {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.sfc__owner-role {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.sfc__owner-statement {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-style: italic;
  opacity: 0.75;
  margin-top: 14px;
}

.sfc__coords {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sfc__city {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.sfc__desc {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-top: auto;
}

.sfc__pin {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  right: 36px;
  opacity: 0.85;
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease;
}
.sfc:hover .sfc__pin { opacity: 1; transform: translateY(-4px); }

/* ── Owner card ──────────────────────────────────────────────────── */
.sfc__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.sfc__name {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.sfc__role {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-gold);
  opacity: 0.8;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* ─── VIDEO SECTION ───────────────────────────────────────────────────────── */
.video-section {
  padding: 0 0 var(--section-pad);
}

.video-section__pill-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.video-section__pill {
  display: inline-flex;
  font-size: 16px;
  padding: 10px 24px;
}

/* Animated gradient border wrapper */
.video-border-wrap {
  position: relative;
  border-radius: 22px;
  padding: 2px;
  overflow: hidden;
}

/* Spinning conic gradient — only a partial arc so it reads as a sweeping light */
.video-border-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent         0deg,
    rgba(138,112,72,.3) 40deg,
    rgba(201,169,110,.9) 90deg,
    rgba(226,192,122,1)  130deg,
    rgba(201,169,110,.9) 170deg,
    rgba(138,112,72,.3)  210deg,
    transparent         260deg,
    transparent         360deg
  );
  animation: borderSpin 5s linear infinite;
  z-index: 0;
}

@keyframes borderSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-wrap {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 0.5px rgba(255, 255, 255, 0.04) inset;
  background: rgba(12, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  aspect-ratio: 16 / 9;
}

.video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(201, 169, 110, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  padding-left: 3px;
  transition: background var(--dur-base) ease, border-color var(--dur-base) ease, transform var(--dur-base) var(--ease-expo);
  cursor: pointer;
}

.video-placeholder:hover .video-play-btn {
  background: rgba(201, 169, 110, 0.14);
  border-color: rgba(201, 169, 110, 0.55);
  transform: scale(1.08);
}

/* ─── PORTFOLIO ───────────────────────────────────────────────────────────── */
.portfolio { padding: var(--section-pad) 0; position: relative; overflow: hidden; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color var(--dur-base) ease,
    transform    var(--dur-base) var(--ease-expo);
}

.portfolio-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  transform: translateY(-4px);
}

.portfolio-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-card__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.75;
}

.portfolio-card__client {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.portfolio-card__metric {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5vw, 68px);
  color: var(--color-gold);
  letter-spacing: -0.03em;
  line-height: 1;
}

.portfolio-card__metric span {
  font-size: 0.55em;
  opacity: 0.7;
}

.portfolio-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-top: auto;
}


/* ─── PROCESS ─────────────────────────────────────────────────────────────── */
.process { padding: var(--section-pad) 0; position: relative; overflow: hidden; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.process-step {
  position: relative;
  padding: 28px 20px 28px 20px;
}

.process-step__number {
  position: absolute;
  top: -8px;
  left: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 10vw, 128px);
  color: var(--color-gold);
  opacity: 0.07;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.process-step__title {
  font-size: var(--text-h3);
  margin-bottom: 12px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.process-step__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* ─── TESTIMONIALS ────────────────────────────────────────────────────────── */
.testimonials { padding: var(--section-pad) 0; position: relative; overflow: hidden; }

/* ── Shuffle stack ───────────────────────────────────────────────────────── */
.testimonials__stack-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0 16px;
}

.testimonials__stack {
  position: relative;
  width: 350px;
  height: 450px;
  /* Shift left so the full stacked spread is visually centred */
  transform: translateX(-116px);
}

.t-card {
  position: absolute;
  inset: 0;
  width: 350px;
  height: 450px;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* Opaque dark background — eliminates see-through compositing artifacts
     caused by overlapping backdrop-filter layers */
  background: rgba(18, 16, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 1px 0  rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(0, 0, 0, 0.30) inset,
    0 32px 80px rgba(0, 0, 0, 0.60),
    0 8px 32px  rgba(0, 0, 0, 0.40),
    0 0 80px rgba(201, 169, 110, 0.05);

  transition: transform 0.35s var(--ease-expo);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.t-card[data-pos="front"]  { z-index: 2; transform: rotate(-6deg) translateX(0%);   cursor: grab; }
.t-card[data-pos="front"]:active { cursor: grabbing; }
.t-card[data-pos="middle"] { z-index: 1; transform: rotate(0deg)  translateX(33%);  }
.t-card[data-pos="back"]   { z-index: 0; transform: rotate(6deg)  translateX(66%);  }

.t-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(201, 169, 110, 0.30);
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.t-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  justify-content: center;
}

.t-card__star { color: var(--color-gold); font-size: 12px; }

.t-card__quote {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px;
}

.t-card__name {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.t-card__role {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.testimonials__hint {
  font-size: var(--text-micro);
  color: var(--color-text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 48px;
}

/* ─── FINAL CTA ───────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: var(--section-pad) 0 calc(var(--section-pad) * 1.1);
  text-align: center;
  clip-path: inset(0);
  /* Clean top separator */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contained amber glow — centred in the upper half, fades long before the bottom */
.final-cta::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: 340px;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(160, 85, 20, 0.18) 0%,
    rgba(120, 60, 10, 0.06) 50%,
    transparent 72%
  );
  pointer-events: none;
  animation: ctaEmberPulse 6s ease-in-out infinite;
}

@keyframes ctaEmberPulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scaleX(1);    }
  50%       { opacity: 1;    transform: translateX(-50%) scaleX(1.07); }
}

/* Faint gold gradient sweep on the top border */
.final-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 110, 0.35) 30%,
    rgba(201, 169, 110, 0.35) 70%,
    transparent
  );
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
}

.final-cta__pill { margin: 0 auto 32px; }

.final-cta__headline {
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 640px;
  margin: 0 auto 24px;
}

.final-cta__sub {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.final-cta__btn { margin: 0 auto; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  border-radius: 2.5rem 2.5rem 0 0;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  padding: 80px 0 56px;
  overflow: hidden;
  background: radial-gradient(
    35% 200px at 50% 0%,
    rgba(201, 169, 110, 0.055),
    transparent
  );
}


.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  opacity: 0.88;
}

.footer__tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.footer__copyright {
  font-size: var(--text-small);
  color: var(--color-text-dim);
  line-height: 1.7;
}

/* 3-column link grid */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-dim);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

.footer__col-link {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.footer__col-link:hover { color: var(--color-gold); }

/* Social rows: icon + label inline */
.footer__social-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Blur-in reveal for footer columns */
.footer .reveal {
  filter: blur(4px);
  transition:
    opacity  var(--dur-slow) var(--ease-expo),
    transform var(--dur-slow) var(--ease-expo),
    filter   var(--dur-slow) var(--ease-expo);
}
.footer .reveal.visible {
  filter: blur(0);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols  { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
}

@media (max-width: 768px) {
  /* ── Nav ── */
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  /* ── Hero ── */
  .hero__content {
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }
  .hero__subheadline { max-width: 100%; }
  .hero__pill        { flex-wrap: wrap; justify-content: center; }
  .hero__ctas        { justify-content: center; }
  .hero__rook {
    height: 70vh;
    max-width: 90vw;
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0.35;
  }

  /* ── Services intro — stack vertically ── */
  .services__intro-block {
    flex-direction: column;
    gap: 20px;
  }
  .services__intro {
    text-align: left;
    max-width: 100%;
    font-size: clamp(18px, 4.5vw, 26px);
  }
}

@media (max-width: 640px) {
  /* ── Grids ── */
  .portfolio__grid        { grid-template-columns: 1fr; }
  .services__feature-grid { grid-template-columns: 1fr; }
  .process__steps         { grid-template-columns: 1fr; }

  /* ── Buttons ── */
  .hero__ctas    { flex-direction: column; width: 100%; max-width: 320px; }
  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }

  /* ── Hero pill — too long on mobile, hides cleanly ── */
  .hero__pill { display: none; }

  /* ── Service cards ── */
  .sfc           { min-height: 360px; }
  /* Location card needs more height so button clears the bottom image */
  .sfc--location { min-height: 420px; }

  /* ── Owner card — portrait full-width top, content below ── */
  .sfc--owner { min-height: 500px; }
  .sfc__img--portrait {
    left: 0;
    top: 0;
    width: 100%;
    height: 50%;
    border-radius: 20px 20px 0 0;
    object-position: center 20%;
  }
  .sfc__owner-content {
    top: 52%;
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .sfc__owner-name { font-size: 18px; margin-bottom: 10px; }

  /* ── Testimonials — narrower cards, recalculated offset ── */
  .testimonials__stack {
    width: 290px;
    height: 420px;
    transform: translateX(-72px);
  }
  .t-card {
    width: 290px;
    height: 420px;
    padding: 28px 24px;
  }

  /* ── Footer ── */
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols  { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

@media (max-width: 480px) {
  /* ── Testimonials — even smaller ── */
  .testimonials__stack {
    width: 260px;
    height: 400px;
    transform: translateX(-60px);
  }
  .t-card {
    width: 260px;
    height: 400px;
    padding: 24px 20px;
  }

  /* ── Footer — single column ── */
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }

  /* ── Nav pill — reduce horizontal padding on tiny screens ── */
  .nav { padding: 10px 12px 0; }
}

/* ─── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-delay:      0ms   !important;
    transition-duration:  0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero-glow { animation: none; }
}
