/* ================================================
   DESIGN TOKENS
   ================================================ */

:root {
  /* Colors — off-black base, never pure #000000 */
  --bg:           #0b0b0a;
  --surface:      #111110;
  --surface-2:    #181816;
  --border:       rgba(200, 169, 110, 0.13);
  --border-sub:   rgba(242, 237, 228, 0.055);

  /* Single accent — muted antique gold */
  --gold:         #C8A96E;
  --gold-bright:  #D4B87A;
  --gold-dim:     rgba(200, 169, 110, 0.35);
  --gold-faint:   rgba(200, 169, 110, 0.07);
  --gold-glow:    rgba(200, 169, 110, 0.18);

  /* Text scale */
  --text:         #F2EDE4;
  --text-muted:   #8A857D;
  --text-subtle:  #4A4640;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script:  'Luxurious Script', 'Brush Script MT', cursive;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:   cubic-bezier(0.76, 0, 0.24, 1);

  /* Layout */
  --max-w:        1380px;
  --pad-x:        2.5rem;
  --radius:       2px;
}


/* ================================================
   RESET & BASE
   ================================================ */

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

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

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, button {
  font-family: inherit;
}


/* ================================================
   NOISE GRAIN OVERLAY
   Performance rule: fixed + pointer-events-none
   avoids GPU repaints on scroll.
   ================================================ */

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}


/* ================================================
   SHARED LAYOUT HELPERS
   ================================================ */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.gold-dash {
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}


/* ================================================
   BUTTONS
   ================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: var(--gold);
  color: #0b0b0a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  /* Liquid-glass edge refraction: inner border + inner highlight */
  box-shadow:
    0 0 0 1px rgba(200, 169, 110, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 16px rgba(200, 169, 110, 0.12);
  transition:
    transform 0.28s var(--ease-out),
    background 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(200, 169, 110, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 28px rgba(200, 169, 110, 0.22);
}

/* Tactile press feedback */
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 0 0 1px rgba(200, 169, 110, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    color 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
  white-space: nowrap;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-full {
  width: 100%;
}


/* ================================================
   NAVIGATION
   ================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition:
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    backdrop-filter 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(11, 11, 10, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

.nav-logo:hover .nav-logo-text {
  color: var(--gold);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.lang-switch,
.mobile-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  background: rgba(17, 17, 16, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-switch-btn {
  min-width: 2.35rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  transition:
    color 0.28s var(--ease-out),
    background 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
}

.lang-switch-btn:hover {
  color: var(--text);
}

.lang-switch-btn.active {
  background: var(--gold);
  color: var(--bg);
}

.lang-switch-btn:active {
  transform: scale(0.98);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease-out);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.nav-link.active {
  color: var(--text);
}

/* CTA nav link */
.nav-link--cta {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gold);
  transition:
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    background 0.3s var(--ease-out);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  color: #0b0b0a;
  background: var(--gold);
  border-color: var(--gold);
}

/* Hamburger button */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.nav-menu-btn.open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-menu-btn.open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}


/* ================================================
   MOBILE FULL-SCREEN MENU
   ================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(11, 11, 10, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  /* Hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

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

.mobile-lang-switch {
  margin-bottom: 1rem;
}


/* ================================================
   HERO SECTION
   ================================================ */

.hero {
  --hero-shift-content: 0px;
  --hero-shift-visual: 0px;
  --hero-shift-bg: 0px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle radial gold glow on right side */
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate3d(0, calc(-50% + (var(--hero-shift-bg) * 0.55)), 0);
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at 80% 50%, rgba(200, 169, 110, 0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-bg-decor {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translate3d(0, calc(-50% + var(--hero-shift-bg)), 0);
  width: 42%;
  max-width: 600px;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  will-change: transform;
}

.hero-bg-lines {
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: heroLinesFloat 26s var(--ease-inout) infinite alternate;
}

@keyframes heroLinesFloat {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.58;
  }
  100% {
    transform: rotate(4deg) scale(1.03);
    opacity: 0.72;
  }
}

/* Asymmetric CSS Grid — DESIGN_VARIANCE = 8 */
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 2.75rem;
  align-items: start;
}

/* --- HERO CONTENT (LEFT) --- */

.hero-content {
  padding-top: 6.5rem;
  padding-right: 2rem;
  transform: translate3d(0, var(--hero-shift-content), 0);
  will-change: transform;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.75rem;
}

/* Stacked name with asymmetric offset — editorial luxury */
.hero-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: 0;
  margin-bottom: 2.9rem;
}

.name-line {
  display: block;
  font-size: clamp(5rem, 10.8vw, 9.2rem);
  color: var(--text);
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

/* Second name line: offset + outline stroke — premium asymmetry */
.name-line--accent {
  padding-left: 1.15rem;
  margin-top: -0.22em;
  color: var(--gold);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  text-shadow:
    0 0 0 rgba(0, 0, 0, 0),
    0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- HERO VISUAL (RIGHT) --- */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 7.35rem;
  justify-self: start;
  transform: translate3d(0, var(--hero-shift-visual), 0);
  will-change: transform;
}

/* Photo container */
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  padding: 0.7rem;
  background:
    linear-gradient(135deg, rgba(200, 169, 110, 0.28), rgba(200, 169, 110, 0.06) 38%, rgba(17, 17, 16, 0.8) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(200, 169, 110, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.55s var(--ease-out);
}

.photo-frame::before,
.photo-frame::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.photo-frame::before {
  inset: 0.38rem;
  border: 1px solid rgba(200, 169, 110, 0.28);
}

.photo-frame::after {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  /* Slight desaturation for luxury moodboard aesthetic */
  filter: grayscale(15%) contrast(1.06) brightness(0.94);
  transition: filter 0.6s var(--ease-out);
}

.photo-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(200, 169, 110, 0.18),
    0 24px 56px rgba(0, 0, 0, 0.34);
}

.photo-frame:hover .profile-photo {
  filter: grayscale(0%) contrast(1.05) brightness(0.96);
}

/* Gold overlay tint */
.photo-tint {
  position: absolute;
  inset: 0.7rem;
  background: linear-gradient(
    145deg,
    rgba(200, 169, 110, 0.07) 0%,
    transparent 45%,
    rgba(11, 11, 10, 0.35) 100%
  );
  pointer-events: none;
  overflow: hidden;
}

.photo-tint::after {
  content: '';
  position: absolute;
  inset: -35%;
  background: linear-gradient(
    118deg,
    transparent 34%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(255, 255, 255, 0.18) 49%,
    rgba(200, 169, 110, 0.26) 52%,
    rgba(255, 255, 255, 0.05) 58%,
    transparent 68%
  );
  mix-blend-mode: screen;
  opacity: 0.5;
  transform: translate3d(-62%, -62%, 0) rotate(8deg);
  animation: frameSweep 11s var(--ease-inout) infinite;
}

@keyframes frameSweep {
  0%, 52% {
    transform: translate3d(-62%, -62%, 0) rotate(8deg);
    opacity: 0;
  }
  58% {
    opacity: 0.38;
  }
  71% {
    transform: translate3d(34%, 34%, 0) rotate(8deg);
    opacity: 0.5;
  }
  76%, 100% {
    transform: translate3d(42%, 42%, 0) rotate(8deg);
    opacity: 0;
  }
}

/* Liquid-glass edge refraction borders */
.photo-edge-right {
  position: absolute;
  top: 16%;
  right: 0.7rem;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.7;
  pointer-events: none;
}

.photo-edge-top {
  position: absolute;
  top: 0.7rem;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.7;
  pointer-events: none;
}

/* Credentials strip below photo */
.hero-credentials {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 240px;
  /* Liquid-glass inner refraction */
  box-shadow:
    inset 0 1px 0 rgba(200, 169, 110, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.cred-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.cred-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.cred-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
}

.cred-sep {
  width: 100%;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.75rem;
  left: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.69rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  z-index: 1;
}

.scroll-track {
  width: 1px;
  height: 3rem;
  background: var(--border-sub);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollSlide 2.4s var(--ease-inout) infinite;
  transform-origin: top center;
}

@keyframes scrollSlide {
  0%   { transform: scaleY(0) translateY(0);     opacity: 0;   }
  20%  { transform: scaleY(1) translateY(0);     opacity: 1;   }
  80%  { transform: scaleY(1) translateY(150%);  opacity: 1;   }
  100% { transform: scaleY(0) translateY(250%);  opacity: 0;   }
}


/* ================================================
   MARQUEE BAND
   ================================================ */

.marquee-band {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  background: var(--surface);
  padding: 0.95rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  /* Hardware-accelerated transform only */
  animation: marqueeScroll 32s linear infinite;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  will-change: transform;
}

.m-dot {
  color: var(--gold);
  opacity: 0.7;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ================================================
   ABOUT SECTION
   ================================================ */

.about {
  padding: 9rem 0;
}

.about-grid {
  display: grid;
  /* Fractional columns — DESIGN_VARIANCE = 8 */
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

/* Pullquote */
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text);
  padding-left: 2rem;
  position: relative;
}

.about-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200, 169, 110, 0.1));
  border-radius: 1px;
}

.about-quote em {
  font-style: italic;
  color: var(--gold);
}

.about-quote-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* Body copy */
.about-body p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}


/* ================================================
   SERVICES SECTION
   ================================================ */

.services {
  padding: 9rem 0;
  border-top: 1px solid var(--border-sub);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4.5rem;
}

/* Vertical numbered list — NOT 3-column equal cards (banned) */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 5rem 1fr 2.5rem;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-sub);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition:
    padding-left 0.4s var(--ease-out),
    transform 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

/* Subtle gold fill on row hover — using pseudo for performance */
.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200, 169, 110, 0.12), rgba(200, 169, 110, 0.03) 58%, transparent 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.55s var(--ease-out),
    opacity 0.35s var(--ease-out);
  pointer-events: none;
  border-radius: var(--radius);
  z-index: -1;
}

.service-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200, 169, 110, 0.85) 22%, rgba(200, 169, 110, 0.45) 78%, transparent);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.3s var(--ease-out);
  pointer-events: none;
}

.service-row[data-enter="right"]::before {
  transform-origin: right center;
  background: linear-gradient(270deg, rgba(200, 169, 110, 0.12), rgba(200, 169, 110, 0.03) 58%, transparent 100%);
}

.service-row:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-row:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.service-row:last-child {
  border-bottom: 1px solid var(--border-sub);
}

.service-row:hover {
  transform: translateX(0.45rem);
  border-top-color: rgba(200, 169, 110, 0.18);
}

.svc-num {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  padding-top: 0.3rem;
  font-family: 'Outfit', sans-serif;
}

.svc-body {
  padding-right: 2rem;
}

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-out);
}

.service-row:hover .svc-title {
  color: var(--gold);
}

.svc-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 58ch;
}

.svc-arrow {
  color: var(--text-subtle);
  align-self: center;
  transition: color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
  display: flex;
  align-items: center;
}

.service-row:hover .svc-arrow {
  color: var(--gold);
  transform: translateX(5px);
}

.reveal-stroke {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.reveal-stroke::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: min(14rem, 42vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 169, 110, 0.85), rgba(200, 169, 110, 0.18));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out) 0.12s;
}

.reveal-scroll.visible.reveal-stroke::after,
.contact-display.reveal-scroll.visible .reveal-stroke::after {
  transform: scaleX(1);
}


/* ================================================
   PHILOSOPHY SECTION
   ================================================ */

.philosophy {
  padding: 9rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
}

/* Grid: 2fr left, 3fr right — asymmetric */
.philosophy-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 7rem;
  align-items: start;
}

.philo-left .section-tag {
  margin-bottom: 2.5rem;
}

.philo-heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.9vw, 3.35rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 3rem;
}

.philo-decoration {
  opacity: 0.8;
}

/* Principle blocks */
.philo-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-sub);
  align-items: start;
}

.philo-block:first-child {
  padding-top: 0;
  border-top: none;
}

.philo-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
  /* Subtle ambient pulse */
  animation: markerPulse 3.5s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(200, 169, 110, 0); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(200, 169, 110, 0); }
}

.philo-block-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.philo-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.82;
}


/* ================================================
   CONTACT SECTION
   ================================================ */

.contact {
  padding: 9rem 0 7rem;
}

/* Large display heading — editorial bold statement */
.contact-display {
  margin-bottom: 5rem;
  border-top: 1px solid var(--border-sub);
  padding-top: 4rem;
}

.contact-display-text {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.6vw, 4.9rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
}

/* Second line: outline stroke for asymmetric contrast */
.contact-display-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 169, 110, 0.5);
  text-stroke: 1px rgba(200, 169, 110, 0.5);
}

/* 2-column grid */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 6rem;
  align-items: start;
}

.contact-left .section-tag {
  margin-bottom: 2rem;
}

.contact-sub {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 42ch;
  margin-bottom: 3rem;
}

/* Contact details list */
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-sub);
  gap: 1rem;
}

.contact-detail-item:first-child {
  border-top: 1px solid var(--border-sub);
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.contact-detail-value {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
}


/* ================================================
   CONTACT FORM
   ================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 300;
  width: 100%;
  outline: none;
  /* Inner refraction border */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.form-input::placeholder {
  color: var(--text-subtle);
}

.form-input:focus {
  border-color: rgba(200, 169, 110, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 0 0 3px rgba(200, 169, 110, 0.09);
}

.form-input.invalid {
  border-color: rgba(224, 119, 119, 0.55);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.form-error {
  font-size: 0.75rem;
  color: #D97979;
  min-height: 1em;
  display: block;
  font-weight: 300;
}

.form-success {
  font-size: 0.88rem;
  color: #7BBE7B;
  text-align: center;
  min-height: 1.2em;
  display: block;
  font-weight: 300;
}


/* ================================================
   FOOTER
   ================================================ */

.footer {
  border-top: 1px solid var(--border-sub);
  padding: 3.5rem 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-sub);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 36ch;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  transition: color 0.3s var(--ease-out);
}

.footer-link:hover {
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 300;
}

.footer-copy-mark {
  font-style: normal;
}

.footer-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7BBE7B;
  /* Breathing pulse */
  animation: dotBreath 3s ease-in-out infinite;
}

@keyframes dotBreath {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(123, 190, 123, 0); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 4px rgba(123, 190, 123, 0); }
}


/* ================================================
   SCROLL REVEAL ANIMATIONS
   MOTION_INTENSITY = 6: CSS transitions + opacity/transform only
   ================================================ */

/* Hero page-load reveals */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  animation: revealFade 0.85s var(--ease-out) forwards;
}

.reveal-item.delay-1 { animation-delay: 0.12s; }
.reveal-item.delay-2 { animation-delay: 0.27s; }
.reveal-item.delay-3 { animation-delay: 0.42s; }
.reveal-item.delay-4 { animation-delay: 0.58s; }
.reveal-item.delay-5 { animation-delay: 0.74s; }

@keyframes revealFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered section reveals via IntersectionObserver */
.reveal-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.82s var(--ease-out),
    transform 0.82s var(--ease-out);
}

.reveal-scroll.delay-1 { transition-delay: 0.1s; }
.reveal-scroll.delay-2 { transition-delay: 0.22s; }
.reveal-scroll.delay-3 { transition-delay: 0.34s; }
.reveal-scroll.delay-4 { transition-delay: 0.46s; }
.reveal-scroll.delay-5 { transition-delay: 0.58s; }

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


/* ================================================
   RESPONSIVE — MOBILE OVERRIDE
   Per SKILL.md: levels 4-10 MUST collapse to strict
   single-column on viewports < 768px.
   ================================================ */

@media (max-width: 1100px) {
  :root {
    --pad-x: 2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2rem;
  }

  .hero-content {
    padding-top: 2.5rem;
    padding-right: 0;
  }

  .hero-visual {
    align-items: flex-start;
    justify-self: start;
    padding-top: 5rem;
  }

  .photo-frame {
    max-width: 260px;
  }

  .hero-credentials {
    max-width: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

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

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 1.25rem;
  }

  /* Navigation */
  .nav-inner {
    padding: 1.25rem var(--pad-x);
  }

  .nav-links {
    display: none;
  }

  .lang-switch {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0.65rem;
    padding: 0.2rem;
    gap: 0.15rem;
  }

  .lang-switch-btn {
    min-width: 2.1rem;
    padding: 0.38rem 0.58rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .nav-menu-btn {
    display: flex;
    flex-shrink: 0;
  }

  .mobile-lang-switch {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding-top: 5.25rem;
    padding-bottom: 3rem;
  }

  .hero-grid {
    padding: 0 var(--pad-x);
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-areas:
      'label photo'
      'name photo'
      'tagline stats'
      'actions actions';
    gap: 1rem;
    align-items: start;
  }

  .hero-content {
    display: contents;
    padding-top: 0;
    padding-right: 0;
    transform: none;
    will-change: auto;
  }

  .hero-label {
    grid-area: label;
    margin-bottom: 0;
    padding-top: 0.7rem;
    line-height: 1.4;
    letter-spacing: 0.18em;
    align-self: start;
  }

  .hero-name {
    grid-area: name;
    margin-bottom: 0;
  }

  .name-line {
    font-size: clamp(4rem, 18vw, 6.25rem);
  }

  .name-line--accent {
    padding-left: 0.6rem;
  }

  .hero-tagline {
    grid-area: tagline;
    margin-bottom: 0;
    max-width: none;
  }

  .hero-actions {
    grid-area: actions;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.6rem;
  }

  .hero-visual {
    display: contents;
    align-items: flex-start;
    justify-self: end;
    padding-top: 0;
    transform: none;
    will-change: auto;
  }

  .photo-frame {
    grid-area: photo;
    max-width: 160px;
    justify-self: end;
    align-self: start;
    margin-top: 2.2rem;
  }

  .hero-credentials {
    grid-area: stats;
    max-width: 160px;
    justify-self: end;
    align-self: start;
  }

  .hero-scroll {
    display: none;
  }

  /* Sections */
  .about,
  .services,
  .philosophy,
  .contact {
    padding: 5.5rem 0;
  }

  .about-body p {
    max-width: 100%;
  }

  /* Services */
  .service-row {
    grid-template-columns: 3.25rem 1fr 2rem;
    gap: 1rem;
  }

  .service-row:hover {
    transform: translateX(0.2rem);
  }

  .svc-body {
    padding-right: 0.5rem;
  }

  /* Philosophy */
  .philo-block {
    gap: 1.25rem;
  }

  /* Contact display heading */
  .contact-display-text {
    font-size: clamp(2.2rem, 9vw, 4rem);
  }

  .contact-display {
    margin-bottom: 3.5rem;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 136px;
    grid-template-areas:
      'label photo'
      'name photo'
      'tagline stats'
      'actions actions';
    gap: 0.8rem;
  }

  .hero-label {
    padding-top: 0.45rem;
    font-size: 0.72rem;
  }

  .photo-frame {
    max-width: 136px;
    padding: 0.5rem;
    margin-top: 1.85rem;
  }

  .photo-tint {
    inset: 0.5rem;
  }

  .photo-edge-right {
    right: 0.5rem;
  }

  .photo-edge-top {
    top: 0.5rem;
  }

  .hero-credentials {
    max-width: 136px;
  }

  .cred-label {
    font-size: 0.68rem;
  }

  .hero-credentials {
    gap: 0.75rem;
    padding: 0.9rem 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-content,
  .hero-visual,
  .hero-bg-decor,
  .hero::after {
    transform: none !important;
  }

  .hero-bg-lines,
  .photo-tint::after,
  .scroll-thumb,
  .marquee-track,
  .philo-marker,
  .footer-dot,
  .reveal-item {
    animation: none !important;
  }

  .reveal-scroll,
  .service-row,
  .photo-frame,
  .svc-arrow,
  .reveal-stroke::after {
    transition: none !important;
  }
}
