/* ==========================================================================
   MOHAMMED BOU-SABER — OFFICIAL PORTFOLIO
   Design System & Luxury Aesthetics (Inspired by frremi.com)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/great-vibes-latin.woff2") format("woff2");
}

:root {
  --bg: #050706;
  --bg-deep: #030403;
  --bg-soft: #0a0d0b;
  --ink: #efe2d2;
  --ink-bright: #faf6f0;
  --muted: #c8b8a3;
  --dim: #ad9b86;
  --gold: #c79d73;
  --gold-strong: #e0b58a;
  --gold-light: #f5d6b3;
  --gold-dim: #8e6843;
  --gold-glow: rgba(199, 157, 115, 0.18);
  --line: rgba(217, 175, 132, 0.35);
  --line-subtle: rgba(217, 175, 132, 0.16);
  --card: rgba(13, 16, 14, 0.82);
  --card-hover: rgba(18, 22, 19, 0.94);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 30px rgba(199, 157, 115, 0.15);
  --page-max: 1440px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 8%, rgba(142, 85, 48, 0.15), transparent 32rem),
    radial-gradient(circle at 10% 38%, rgba(78, 56, 38, 0.14), transparent 24rem),
    radial-gradient(circle at 80% 68%, rgba(130, 80, 42, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #070a08 100%);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, .serif-font {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink-bright);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.36em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gold-line {
  display: block;
  width: 42px;
  height: 1px;
  margin-bottom: 24px;
  background: var(--gold);
}

.gold-line.centered {
  margin: 14px auto 0;
}

/* ==========================================================================
   SVG ICONS
   ========================================================================== */

.sprite {
  display: none;
}

svg.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  transition: stroke 180ms ease, transform 180ms ease;
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 64px) 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 0.88;
  user-select: none;
}

.brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 10vw, 56px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-bright);
}

.brand small {
  margin-top: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.54em;
  text-transform: uppercase;
}

.main-nav {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: 100%;
  padding: 112px 24px 36px;
  background: rgba(4, 6, 5, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  overflow-x: hidden;
  overflow-y: auto;
  transition:
    opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 260ms;
  z-index: 40;
}

.main-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
}

.nav-links-row {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 100%;
}

.nav-primary {
  flex-direction: column;
  gap: 16px;
}

.main-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold-strong);
}

.main-nav a[aria-current="location"] {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 7px;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--ink);
  transition: color 180ms ease, background 180ms ease;
}

.nav-icon:hover {
  color: var(--gold-strong);
  background: rgba(199, 157, 115, 0.1);
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line-subtle);
  border-radius: 999px;
  color: var(--dim);
  line-height: 1;
}

.locale-switch a {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.locale-switch a:hover,
.locale-switch a[aria-current="page"] {
  color: var(--gold-light);
}

.locale-switch a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.locale-switch span {
  color: var(--gold-dim);
}

.social-badge,
.nav-favicon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--gold);
  transition: transform 200ms ease, color 200ms ease, border-color 200ms ease;
}

.nav-favicon svg {
  width: 26px;
  height: 26px;
  stroke: none;
  fill: none;
}

.social-badge:hover,
.nav-favicon:hover {
  border-color: var(--gold-strong);
  color: var(--gold-strong);
  transform: scale(1.1);
}

.menu-button {
  position: relative;
  z-index: 60;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 4px;
  border: 1px solid rgba(222, 181, 141, 0.38);
  border-radius: 50%;
  background: rgba(4, 5, 4, 0.5);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.menu-button:hover {
  border-color: var(--gold-strong);
  background: rgba(199, 157, 115, 0.12);
}

.menu-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease;
  transform-origin: center;
}

.menu-button span:first-child {
  transform: translate(-50%, calc(-50% - 4px));
}

.menu-button span + span {
  transform: translate(-50%, calc(-50% + 4px));
}

.menu-button.is-open span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button.is-open span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */

main {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

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

.hero {
  position: relative;
  min-height: 720px;
  padding: 310px clamp(20px, 5vw, 64px) 68px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(3, 4, 3, 0) 0%, rgba(4, 6, 5, 0.4) 55%, #050706 90%),
    linear-gradient(90deg, rgba(3, 4, 4, 0.96) 0%, rgba(3, 4, 4, 0.75) 35%, rgba(3, 4, 4, 0) 60%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  height: 60%;
  min-height: 380px;
  opacity: 1;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 480px;
}

.hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 11vw, 62px);
  color: var(--ink-bright);
}

.hero-copy h1 em {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero-text {
  max-width: 380px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.scroll-cue {
  display: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  user-select: none;
  cursor: pointer;
}

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

.button svg {
  width: 16px;
  height: 16px;
}

.button-outline {
  padding: 0 28px;
  border: 1px solid var(--gold);
  background: rgba(5, 7, 6, 0.4);
  color: var(--ink-bright);
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  border-color: var(--gold-strong);
  background: rgba(199, 157, 115, 0.12);
  box-shadow: var(--shadow-gold);
}

.button-filled {
  width: min(100%, 390px);
  padding: 0 30px;
  border: 1px solid rgba(246, 209, 168, 0.72);
  background: linear-gradient(180deg, #d8b28b 0%, #ba8e63 100%);
  color: #080604;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(199, 157, 115, 0.25);
}

.button-filled:hover {
  background: linear-gradient(180deg, #e4be97 0%, #c5986c 100%);
  box-shadow: 0 14px 34px rgba(199, 157, 115, 0.38);
  border-color: #fff;
}

.button-secondary {
  padding: 0 24px;
  border: 1px solid var(--line-subtle);
  background: rgba(12, 15, 13, 0.7);
  color: var(--muted);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--ink-bright);
}

/* ==========================================================================
   ABOUT SECTION & VALUES
   ========================================================================== */

.about-section {
  display: grid;
  gap: 40px;
  padding: 18px clamp(20px, 5vw, 64px) 68px;
}

.about-text {
  display: contents;
}

.about-intro {
  order: 1;
}

.about-photo {
  order: 2;
}

.about-copy {
  order: 3;
}

.value-list {
  order: 4;
}

.about-photo {
  justify-self: center;
  width: min(72vw, 260px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 40px rgba(199, 157, 115, 0.08);
  position: relative;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(5, 7, 6, 0.6);
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

.about-photo:hover img {
  transform: scale(1.04);
}

.about-copy {
  min-width: 0;
}

.about-intro h2 {
  font-size: clamp(32px, 8vw, 42px);
  margin-bottom: 20px;
}

.about-copy p {
  width: 100%;
  max-width: 66ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-positioning {
  color: var(--gold) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-subtle);
}

.stat-item strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.value-list {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.value-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 12px;
  border-radius: 6px;
  transition: background 200ms ease;
}

.value-item:hover {
  background: rgba(199, 157, 115, 0.04);
}

.value-item svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-top: 2px;
}

.value-item h3 {
  margin: 0 0 6px;
  color: var(--ink-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.value-item p {
  margin: 0;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
}

.value-item > div {
  min-width: 0;
}

.value-item h3,
.value-item p {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   LEGACY EDITORIAL CARDS
   ========================================================================== */

.corner-section {
  padding: 16px clamp(20px, 5vw, 64px) 34px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 8vw, 42px);
}

.corner-grid {
  display: grid;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.corner-card {
  display: grid;
  grid-template-rows: minmax(160px, 1fr) auto;
  min-height: 280px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  position: relative;
}

.corner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 181, 138, 0.75);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 20px rgba(199, 157, 115, 0.15);
}

.corner-card.accent {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(224, 181, 138, 0.25), 0 20px 52px rgba(0, 0, 0, 0.35);
}

.corner-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  background: #090c0a;
}

.corner-card-media img,
.corner-card-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.corner-card:hover .corner-card-media img,
.corner-card:hover .corner-card-media svg {
  transform: scale(1.05);
}

.corner-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(5, 7, 6, 0.75);
  border: 1px solid rgba(217, 175, 132, 0.4);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px 20px;
  background: linear-gradient(180deg, rgba(13, 16, 14, 0.9), rgba(9, 11, 10, 0.98));
  border-top: 1px solid var(--line-subtle);
}

.card-body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-body small {
  display: block;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.card-body svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--gold);
  transition: transform 200ms ease, color 200ms ease;
}

.corner-card:hover .card-body svg {
  transform: translateX(4px);
  color: var(--gold-light);
}

/* ==========================================================================
   LATE NIGHT / HIGHLIGHT CTA BANNER ("STEP INTO...")
   ========================================================================== */

.late-night {
  position: relative;
  max-width: 1160px;
  min-height: 310px;
  margin: 16px clamp(20px, 5vw, 64px) 44px;
  border: 1px solid rgba(218, 178, 134, 0.35);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #080b09;
}

.late-night::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 5, 4, 0.4), rgba(4, 5, 4, 0.72) 35%, rgba(4, 5, 4, 0.55)),
    radial-gradient(circle at 50% 50%, rgba(199, 157, 115, 0.12), transparent 24rem);
  pointer-events: none;
}

.late-night-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

.late-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 310px;
  padding: 48px 24px;
  text-align: center;
}

.late-content h2 {
  font-size: clamp(30px, 7vw, 40px);
  margin-bottom: 8px;
  color: var(--ink-bright);
}

.late-content p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 540px;
}

.late-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

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

.site-footer {
  display: grid;
  gap: 36px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 64px) 24px;
  color: var(--muted);
  border-top: 1px solid var(--line-subtle);
}

.footer-social .eyebrow {
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
}

.social-links a:hover {
  color: var(--gold-strong);
  transform: translateY(-2px);
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.monogram {
  display: block;
  width: 68px;
  height: 68px;
  color: var(--gold);
  overflow: visible;
  transition: transform 300ms ease;
}

.monogram:hover {
  transform: rotate(5deg) scale(1.05);
}

.monogram-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  opacity: 0.75;
}

.monogram-mark {
  fill: none;
  stroke: var(--ink-bright);
  stroke-width: 1.6;
}

.footer-brand strong {
  color: var(--ink-bright);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.44em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand > .footer-tagline {
  color: var(--gold);
  font-family: "Great Vibes", "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.footer-brand > .footer-expertise-line {
  max-width: 680px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

.footer-brand > .footer-location {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: start;
}

.footer-links a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--gold-strong);
}

.disclaimer {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   INTERACTIVE MODALS & DRAWERS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 3, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 13, 11, 0.95);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(199, 157, 115, 0.1);
  transform: translateY(20px) scale(0.98);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-active .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.modal-close:hover {
  border-color: var(--gold-strong);
  color: var(--ink-bright);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: clamp(28px, 6vw, 38px);
  margin-bottom: 8px;
}

.modal-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.modal-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 28px 0 12px;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-highlight-box {
  background: rgba(199, 157, 115, 0.07);
  border: 1px solid rgba(217, 175, 132, 0.28);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 20px 0;
}

.modal-highlight-box strong {
  color: var(--ink-bright);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.metric-card {
  padding: 16px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background: rgba(5, 7, 6, 0.5);
  text-align: center;
}

.metric-card .metric-val {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
}

.metric-card .metric-lbl {
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Contact form in modal */
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.6);
  color: var(--ink-bright);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  border-color: var(--gold-strong);
  box-shadow: 0 0 10px rgba(199, 157, 115, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  border-radius: 4px;
  background: #0d120f;
  border: 1px solid var(--gold);
  color: var(--ink-bright);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
  z-index: 200;
}

.toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Matching frremi.com)
   ========================================================================== */

@media (max-width: 1179px) {
  .brand span {
    font-size: clamp(34px, 7vw, 42px);
  }

  .hero-media img {
    object-position: 62% center;
    transform: translateY(84px);
  }
}

@media (min-width: 580px) {
  .hero {
    padding-top: 360px;
  }

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

@media (min-width: 768px) {
  .about-section {
    grid-template-columns: minmax(220px, 280px) minmax(280px, 1fr);
    align-items: start;
  }

  .about-intro {
    grid-column: 2;
    grid-row: 1;
  }

  .about-photo {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .about-copy {
    grid-column: 2;
    grid-row: 2;
  }

  .value-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }

  .footer-links {
    justify-items: end;
  }

  .disclaimer {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1180px) {
  .site-header {
    align-items: flex-start;
    padding-top: 28px;
    padding-left: 54px;
    padding-right: 50px;
  }

  .brand span {
    font-size: 58px;
  }

  .brand small {
    font-size: 14px;
    letter-spacing: 0.52em;
  }

  .menu-button {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    width: auto;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    overflow: visible;
  }

  .nav-primary {
    flex-direction: row;
    gap: 14px;
  }

  .nav-primary .nav-optional {
    display: none;
  }

  .nav-secondary {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .nav-links-row.desktop-hide {
    display: none;
  }

  .hero {
    min-height: 540px;
    padding-top: 175px;
    padding-left: 54px;
    padding-right: 54px;
    padding-bottom: 50px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 6, 1) 0%, rgba(5, 7, 6, 0.95) 30%, rgba(5, 7, 6, 0.5) 45%, rgba(5, 7, 6, 0) 56%),
      linear-gradient(180deg, rgba(5, 7, 6, 0) 0%, rgba(5, 7, 6, 0) 75%, #050706 100%);
  }

  .hero-media {
    inset: 40px 0 auto auto;
    width: 58%;
    height: 500px;
    min-height: 500px;
  }

  .hero-media img {
    object-position: 72% 30%;
  }

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

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-text {
    max-width: 360px;
  }

  .scroll-cue {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 24px;
    display: block;
    width: 1px;
    height: 38px;
    background: rgba(225, 185, 144, 0.36);
  }

  .scroll-cue::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 6px;
    height: 6px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--bg);
  }

  .about-section {
    grid-template-columns: 270px minmax(320px, 1fr) 280px;
    grid-template-rows: auto;
    gap: 52px;
    padding: 10px 54px 44px;
  }

  .about-text {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .about-photo {
    grid-column: 1;
    grid-row: 1;
  }

  .about-photo {
    width: 260px;
  }

  .about-intro h2 {
    font-size: 38px;
  }

  .section-heading h2,
  .late-content h2 {
    font-size: 34px;
  }

  .value-list {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: 1fr;
    gap: 26px;
    align-self: start;
  }

  .corner-section {
    padding: 10px 54px 26px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .corner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .corner-card {
    grid-template-rows: 154px auto;
    min-height: 240px;
  }

  .card-body {
    min-height: 84px;
    padding: 18px 16px 16px;
  }

  .card-body small {
    font-size: 17px;
  }

  .late-night {
    min-height: 200px;
    margin: 10px 54px 34px;
  }

  .late-content {
    min-height: 200px;
    padding: 30px 24px;
  }

  .site-footer {
    padding: 10px 58px 18px;
  }
}

@media (min-width: 1160px) {
  .late-night {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 108px);
  }
}

@media (min-width: 1400px) {
  .nav-primary .nav-optional {
    display: inline-flex;
  }
}

/* ==========================================================================
   PREMIUM SEO / GEO EDITION — 2026-08-26
   ========================================================================== */

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--bg-deep);
  color: var(--ink-bright);
  font-size: 13px;
  transform: translateY(-160%);
}

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

section[id] {
  scroll-margin-top: 96px;
}

.hero-media picture,
.about-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.hero-text {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: 16px;
}

.hero-expertise-line {
  max-width: 600px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.hero-status span {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(224, 181, 138, 0.45);
}

.hero-actions {
  margin-top: 24px;
}

.about-lead {
  color: var(--ink-bright) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px !important;
  font-style: italic;
}

.value-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
}

.profiles-section,
.seo-geo-section,
.journey-section,
.notes-section,
.cv-section,
.contact-section,
.internal-two-column,
.internal-band,
.faq-section,
.resources-section,
.related-section,
.internal-cta {
  padding: 72px clamp(20px, 5vw, 64px);
}

.notes-section .section-heading {
  margin-bottom: 0;
}

.profiles-section,
.journey-section,
.cv-section {
  background: linear-gradient(180deg, rgba(9, 12, 10, 0.35), rgba(4, 6, 5, 0.16));
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.section-heading {
  max-width: 800px;
}

.section-heading > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.profile-grid {
  display: grid;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 157, 115, 0.11), transparent 13rem),
    linear-gradient(160deg, rgba(15, 18, 16, 0.96), rgba(7, 9, 8, 0.96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 181, 138, 0.62);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 22px rgba(199, 157, 115, 0.08);
}

.profile-index {
  margin-bottom: 28px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.16em;
}

.profile-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.profile-card > p:not(.profile-index) {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 9px;
  border: 1px solid var(--line-subtle);
  border-radius: 999px;
  color: var(--dim);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.profile-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-subtle);
}

.text-link,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

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

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

.seo-geo-section {
  max-width: 1288px;
  margin: 0 auto;
}

.seo-geo-grid {
  display: grid;
  gap: 20px;
  max-width: 1160px;
}

.discipline-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background: rgba(9, 12, 10, 0.72);
}

.discipline-card-accent {
  border-color: rgba(224, 181, 138, 0.55);
  background:
    radial-gradient(circle at 85% 15%, rgba(199, 157, 115, 0.14), transparent 18rem),
    rgba(12, 14, 12, 0.86);
}

.discipline-label {
  margin-bottom: 24px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.discipline-card h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 5vw, 34px);
}

.discipline-card > p:not(.discipline-label) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.check-list,
.editorial-list,
.journey-bullets {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li,
.editorial-list li,
.journey-bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.check-list li::before,
.editorial-list li::before,
.journey-bullets li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.section-conclusion {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin-top: 28px;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
}

.section-conclusion p {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1.35;
}

.section-conclusion small {
  color: var(--dim);
  line-height: 1.65;
}

.section-conclusion .text-link {
  width: fit-content;
  margin-top: 4px;
}

.discipline-tools {
  display: block;
  margin-top: 22px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.discipline-card > .text-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 26px;
}

.journey-section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.journey-list {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid var(--line-subtle);
}

.journey-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.journey-marker span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.journey-title-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.journey-title-row h3 {
  margin-bottom: 4px;
  font-size: 25px;
}

.journey-title-row p,
.journey-title-row time {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-copy > p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.journey-copy > .journey-domain-label {
  margin: 22px 0 12px;
  color: var(--ink-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.journey-bullets {
  grid-template-columns: 1fr;
}

.inkore-secondary {
  color: var(--gold-light) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px !important;
  font-style: italic;
}

.cv-layout {
  display: grid;
  gap: 30px;
  max-width: 1160px;
  margin: 0 auto;
}

.cv-layout > .section-heading {
  margin: 0;
}

.cv-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background: rgba(11, 14, 12, 0.72);
  transition: transform 200ms ease, border-color 200ms ease;
}

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

.cv-index {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
}

.cv-card strong {
  color: var(--ink-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1.15;
}

.cv-card-description {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.cv-meta,
.cv-updated {
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.cv-download {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 15px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--ink-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-card-featured {
  position: relative;
  min-height: 390px;
  padding: clamp(26px, 5vw, 42px);
  overflow: hidden;
  border-color: rgba(199, 157, 115, 0.42);
  background:
    linear-gradient(145deg, rgba(199, 157, 115, 0.1), transparent 46%),
    rgba(11, 14, 12, 0.86);
}

.cv-card-featured::after {
  content: "MBS";
  position: absolute;
  right: -10px;
  bottom: -34px;
  color: rgba(199, 157, 115, 0.045);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(110px, 18vw, 190px);
  line-height: 1;
  pointer-events: none;
}

.cv-card-featured > * {
  position: relative;
  z-index: 1;
}

.expertise-context {
  max-width: 680px;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  gap: 44px;
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--line-subtle);
}

.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 7vw, 48px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.location-card {
  margin: 26px 0;
  padding: 22px;
  border-left: 1px solid var(--gold);
  background: rgba(199, 157, 115, 0.05);
}

.location-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.location-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.location-card span,
.contact-copy > small {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-email {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.contact-section .contact-form {
  align-self: start;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background: rgba(10, 13, 11, 0.72);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}

.form-status.is-success {
  color: #b9d7bd;
}

.form-status.is-error {
  color: #e8b8a7;
}

.form-status.is-notice {
  color: var(--gold-light);
}

.form-privacy {
  max-width: 58ch;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}

.form-fallback {
  width: fit-content;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.footer-social .social-links {
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-social .social-links a {
  display: inline-flex;
  width: auto;
  height: auto;
  color: var(--ink);
  font-size: 13px;
}

.footer-monogram {
  display: grid !important;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--ink-bright) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 18px !important;
  font-style: normal;
  letter-spacing: 0.14em;
}

/* Internal expertise pages */

.internal-page main {
  max-width: var(--page-max);
}

.internal-hero {
  position: relative;
  padding: 160px clamp(20px, 7vw, 110px) 86px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-subtle);
  background:
    radial-gradient(circle at 78% 22%, rgba(199, 157, 115, 0.15), transparent 25rem),
    linear-gradient(145deg, #030403 0%, #080b09 62%, #0e110e 100%);
}

.internal-hero::after {
  content: "";
  position: absolute;
  top: 85px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(224, 181, 138, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(224, 181, 138, 0.025), 0 0 0 90px rgba(224, 181, 138, 0.018);
  pointer-events: none;
}

.internal-hero > * {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 54px;
  color: var(--dim);
  font-size: 12px;
}

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

.internal-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(44px, 9vw, 76px);
}

.internal-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.internal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.internal-two-column {
  display: grid;
  gap: 50px;
  max-width: 1160px;
  margin: 0 auto;
}

.internal-two-column h2,
.internal-band h2,
.faq-section h2,
.resources-section h2,
.related-section h2,
.internal-cta h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 6vw, 42px);
}

.internal-band {
  display: grid;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  background: rgba(199, 157, 115, 0.035);
}

.tag-list-large {
  margin: 0;
}

.tag-list-large li {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 12px;
}

.internal-details {
  padding-top: 74px;
}

.faq-section,
.resources-section,
.related-section,
.internal-cta {
  max-width: 1160px;
  margin: 0 auto;
}

.faq-list {
  border-top: 1px solid var(--line-subtle);
}

.faq-list details {
  border-bottom: 1px solid var(--line-subtle);
}

.faq-list summary {
  position: relative;
  padding: 22px 46px 22px 0;
  color: var(--ink-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 8px;
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 18px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 820px;
  padding: 0 46px 24px 0;
  color: var(--muted);
}

.resources-section ul {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.resources-section a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--ink);
}

.related-grid {
  display: grid;
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding: 22px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  background: rgba(10, 13, 11, 0.72);
}

.related-card > span {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-card strong {
  color: var(--ink-bright);
}

.related-card small {
  color: var(--gold);
}

.internal-cta {
  margin-bottom: 60px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 90% 10%, rgba(199, 157, 115, 0.14), transparent 18rem),
    rgba(9, 12, 10, 0.84);
}

.internal-cta > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--muted);
}

.internal-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.not-found-main {
  display: grid;
  gap: 42px;
  min-height: 78vh;
  padding: 180px clamp(20px, 7vw, 110px) 90px;
}

.not-found-main section {
  max-width: 620px;
}

.not-found-main h1,
.not-found-main h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 9vw, 70px);
}

.not-found-main p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
}

@media (min-width: 580px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-title-row {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 768px) {
  .profile-grid,
  .seo-geo-grid,
  .internal-two-column,
  .contact-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .internal-band {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
  }

  .cv-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    align-items: center;
    gap: clamp(38px, 6vw, 80px);
  }
}

@media (min-width: 1180px) {
  .hero-copy {
    max-width: 590px;
  }

  .hero-text {
    max-width: 540px;
  }

  .about-section {
    padding-bottom: 74px;
  }

  .profile-card {
    padding: 22px;
  }

  .profile-card h3 {
    font-size: 25px;
  }

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

@media (min-width: 1200px) {
  .profile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 579px) {
  .hero-actions .button,
  .internal-actions .button,
  .internal-cta .button {
    width: 100%;
  }

  .hero-expertise-line {
    font-size: 12px;
  }

  .profiles-section,
  .seo-geo-section,
  .journey-section,
  .notes-section,
  .cv-section,
  .contact-section,
  .internal-two-column,
  .internal-band,
  .faq-section,
  .resources-section,
  .related-section,
  .internal-cta {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .internal-hero {
    padding-top: 132px;
  }
}

/* Keep the mobile portrait immersive without placing editorial copy on the face. */
@media (max-width: 767px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(360px, 110vw, 430px) auto;
    min-height: 0;
    padding: 0;
  }

  .hero::before {
    inset: 0 0 auto;
    height: clamp(360px, 110vw, 430px);
    background:
      linear-gradient(180deg, rgba(3, 4, 3, 0.12) 0%, rgba(3, 4, 3, 0) 64%, #050706 100%),
      linear-gradient(90deg, rgba(3, 4, 4, 0.72) 0%, rgba(3, 4, 4, 0.14) 48%, rgba(3, 4, 4, 0) 76%);
  }

  .hero-media {
    position: relative;
    inset: auto;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .hero-media img {
    object-position: 48% 36%;
    transform: none;
  }

  .hero-copy {
    grid-row: 2;
    max-width: none;
    padding: 32px clamp(20px, 6vw, 30px) 68px;
    background: var(--bg);
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero-text {
    max-width: 34rem;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 28px;
  }
}

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

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

  .hero-media img,
  .about-photo:hover img,
  .profile-card:hover,
  .cv-card:hover {
    transform: none !important;
  }
}
