/*
 * Farzad Mohebbipour Photography — Main Stylesheet (Complete)
 * Ultra-Luxury · Cinematic · Editorial · Fully Responsive · RTL/LTR
 * Version 1.1.0
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --fm-bg: #060608;
  --fm-bg-2: #0a0a0d;
  --fm-bg-3: #0e0e12;
  --fm-card: #121216;
  --fm-card-2: #16161c;
  --fm-line: #23232a;
  --fm-line-2: #32323c;
  --fm-text: #f4f4f5;
  --fm-text-2: #b7b7bf;
  --fm-text-3: #8a8a93;
  --fm-gold: #d4af37;
  --fm-gold-l: #f3d889;
  --fm-gold-d: #997e26;
  --fm-on-gold: #08080a;
  --fm-glow: rgba(212, 175, 55, .18);
  --fm-header-bg: rgba(6, 6, 8, .72);
  --fm-header-bg-solid: rgba(6, 6, 8, .96);
  --fm-overlay: rgba(3, 3, 5, .97);
  --fm-shadow: rgba(0, 0, 0, .65);
  --fm-media-bg: #000;
  --fm-hero-grad-1: rgba(6, 6, 8, .25);
  --fm-hero-grad-2: rgba(6, 6, 8, .93);
  --fm-hero-grad-3: #060608;
  --fm-hero-grad-4: rgba(6, 6, 8, .35);
  --fm-hero-grad-5: rgba(6, 6, 8, .85);
  --fm-hero-text: #ffffff;
  --fm-hero-text-2: #dcdce0;
  --fm-footer-bg: #030304;
  /* Text drawn over photographs — identical in both schemes */
  --fm-on-media: #ffffff;
  --fm-on-media-2: #d8d8de;
  --fm-on-media-gold: #f3d889;
  --fm-sans: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Tahoma, sans-serif;
  --fm-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --fm-tr: all .35s cubic-bezier(.16, 1, .3, 1);
  --fm-max: 1400px;
  --fm-radius: 14px;
}

/* ---------- LIGHT SCHEME: white · gold · black ---------- */
[data-theme="light"] {
  color-scheme: light;
  --fm-bg: #fbfaf7;
  --fm-bg-2: #f3f0e8;
  --fm-bg-3: #ebe7db;
  --fm-card: #ffffff;
  --fm-card-2: #faf8f3;
  --fm-line: #e5e0d2;
  --fm-line-2: #cec7b4;
  --fm-text: #14140f;
  --fm-text-2: #45443b;
  --fm-text-3: #6c6a5e;
  --fm-gold: #96701a;
  --fm-gold-l: #7d5c11;
  --fm-gold-d: #5d4509;
  --fm-on-gold: #ffffff;
  --fm-glow: rgba(150, 112, 26, .09);
  --fm-header-bg: rgba(251, 250, 247, .86);
  --fm-header-bg-solid: rgba(251, 250, 247, .98);
  --fm-overlay: rgba(251, 250, 247, .97);
  --fm-shadow: rgba(60, 50, 25, .13);
  --fm-media-bg: #e8e4d9;
  --fm-hero-grad-1: rgba(0, 0, 0, .22);
  --fm-hero-grad-2: rgba(0, 0, 0, .60);
  --fm-hero-grad-3: #fbfaf7;
  --fm-hero-grad-4: rgba(12, 12, 14, .34);
  --fm-hero-grad-5: rgba(10, 10, 12, .55);
  --fm-hero-text: #ffffff;
  --fm-hero-text-2: #f2f1ee;
  --fm-footer-bg: #f3f0e8;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: clip;
}

body {
  background: var(--fm-bg);
  color: var(--fm-text);
  font-family: var(--fm-sans);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: clip;
  width: 100%;
  min-height: 100vh;
  transition: background-color .35s ease, color .35s ease;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--fm-tr); }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: var(--fm-text); }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }

::selection { background: rgba(212, 175, 55, .3); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--fm-bg); }
::-webkit-scrollbar-thumb { background: #2a2a32; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--fm-gold); }

/* Main wrapper grows so footer sticks to bottom */
.fm-main-site { flex: 1 0 auto; display: block; width: 100%; }

/* =========================================================
   3. LAYOUT HELPERS
   ========================================================= */
.fm-container {
  width: 100%;
  max-width: var(--fm-max);
  margin: 0 auto;
  padding-inline: clamp(1.15rem, 4vw, 3rem);
}

.fm-section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; overflow: clip; }
.fm-main-site { overflow-x: clip; }
.fm-section--alt { background: var(--fm-bg-2); border-block: 1px solid var(--fm-line); }

.fm-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.fm-section-title { margin-top: .8rem; }
.fm-section-lead { color: var(--fm-text-2); font-weight: 300; max-width: 640px; margin-top: .9rem; font-size: .95rem; }

.fm-glow {
  position: absolute;
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  max-width: 70vw;
  background: var(--fm-glow);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}
.fm-glow--tl { top: 8%; inset-inline-start: 4%; }
.fm-glow--br { bottom: 8%; inset-inline-end: 4%; }
.fm-rel { position: relative; z-index: 1; }

/* Skip link (a11y) */
.fm-skip-link {
  position: absolute; top: -999px; inset-inline-start: 20px;
  background: var(--fm-gold); color: var(--fm-on-gold); padding: 10px 18px;
  font-weight: 700; z-index: 99999; border-radius: 6px;
}
.fm-skip-link:focus { top: 16px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--fm-gold); outline-offset: 3px; }

/* =========================================================
   4. BADGES / BUTTONS / LINKS
   ========================================================= */
.fm-gold-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem; border-radius: 99px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fm-gold-l);
  background: rgba(212, 175, 55, .09);
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 0 22px rgba(212, 175, 55, .08);
}
.fm-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fm-gold); box-shadow: 0 0 10px var(--fm-gold);
  animation: fmPulse 2.4s infinite ease-in-out;
}
@keyframes fmPulse { 0%,100% { opacity: .5 } 50% { opacity: 1 } }

.fm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 2.1rem; border-radius: 8px;
  font-size: .92rem; font-weight: 700; cursor: pointer;
  transition: var(--fm-tr); border: 1px solid transparent; text-align: center;
}
.fm-btn-sm { padding: .6rem 1.35rem; font-size: .8rem; }
.fm-btn-gold {
  background: linear-gradient(135deg, var(--fm-gold) 0%, var(--fm-gold-l) 100%);
  color: var(--fm-on-gold);
  box-shadow: 0 6px 28px rgba(212, 175, 55, .3);
}
.fm-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 38px rgba(212, 175, 55, .45); }
.fm-btn-outline {
  background: var(--fm-card);
  border-color: rgba(212, 175, 55, .45);
  color: var(--fm-text);
  backdrop-filter: blur(10px);
}
.fm-btn-outline:hover { border-color: var(--fm-gold); color: var(--fm-gold-l); background: rgba(212, 175, 55, .1); }

.fm-text-link { color: var(--fm-gold-l); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.fm-text-link:hover { color: var(--fm-gold); }
.fm-gold-text { color: var(--fm-gold-l); }

/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */
.fm-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  background: var(--fm-header-bg);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--fm-line);
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  width: 100%;
}
.fm-header.is-scrolled {
  background: var(--fm-header-bg-solid);
  border-bottom-color: rgba(212, 175, 55, .3);
  box-shadow: 0 10px 40px var(--fm-shadow);
}
.fm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 82px;
  flex-wrap: nowrap;
  min-width: 0;
}

.fm-header-lead { display: none; flex: 0 0 auto; }
.fm-branding { flex: 0 1 auto; min-width: 0; }
.fm-brand-link { display: flex; flex-direction: column; line-height: 1.35; white-space: nowrap; }
.fm-brand-logo {
  max-height: 48px;
  max-width: min(220px, 46vw);
  width: auto;
  object-fit: contain;
}
/* Exactly one logo is ever visible — highest specificity wins over any later rule */
html[data-theme="dark"] .fm-brand-logo.fm-logo-light { display: none !important; }
html[data-theme="light"] .fm-brand-logo.fm-logo-dark { display: none !important; }
html[data-theme="dark"] .fm-brand-logo.fm-logo-dark,
html[data-theme="light"] .fm-brand-logo.fm-logo-light { display: block !important; }

.fm-brand-title {
  font-size: clamp(.82rem, 1.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.fm-brand-sub {
  font-size: clamp(.58rem, 1vw, .68rem);
  letter-spacing: .06em;
  color: var(--fm-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 44vw;
}

.fm-main-nav { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; justify-content: center; }
.fm-menu-list {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.6vw, 1.7rem);
  flex-wrap: nowrap;
  min-width: 0;
}
.fm-menu-list li { position: relative; flex: 0 0 auto; }
.fm-menu-list a {
  font-size: clamp(.74rem, 1.05vw, .87rem);
  font-weight: 500;
  color: var(--fm-text-2);
  padding: .45rem 0;
  display: inline-block;
  position: relative;
  white-space: nowrap;      /* never break Persian words into columns */
  word-break: keep-all;
}
.fm-menu-list a:hover, .fm-menu-list .current-menu-item > a { color: var(--fm-text); }
.fm-menu-list a::after {
  content: ''; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 0; height: 1.5px; background: var(--fm-gold); transition: width .3s ease;
}
.fm-menu-list a:hover::after, .fm-menu-list .current-menu-item > a::after { width: 100%; }

.fm-header-actions { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; white-space: nowrap; }
.fm-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid var(--fm-line-2);
  background: var(--fm-card);
  color: var(--fm-text-2);
  cursor: pointer;
  transition: var(--fm-tr);
  line-height: 1;
}
.fm-icon-btn:hover { border-color: var(--fm-gold); color: var(--fm-gold); }
.fm-icon-btn svg { display: block; }
.fm-lang-code { font-size: .68rem; font-weight: 800; letter-spacing: .04em; font-family: var(--fm-mono); }

/* Sun / moon icon swap */
[data-theme="dark"] .fm-ico-sun,
[data-theme="light"] .fm-ico-moon { display: none; }
.fm-scheme-toggle .fm-ico-moon,
.fm-scheme-toggle .fm-ico-sun { display: inline-flex; }
[data-theme="dark"] .fm-scheme-toggle .fm-ico-sun,
[data-theme="light"] .fm-scheme-toggle .fm-ico-moon { display: none; }
.fm-menu-btn, .fm-header-cta {
  border: 1px solid rgba(212, 175, 55, .5); color: var(--fm-gold-l);
  padding: .5rem 1rem; border-radius: 7px;
  font-size: clamp(.7rem, .95vw, .8rem); font-weight: 700;
  background: rgba(212, 175, 55, .08);
  white-space: nowrap; flex: 0 0 auto;
}
.fm-menu-btn:hover, .fm-header-cta:hover { background: var(--fm-gold); color: #000; }
.fm-menu-btn::after { display: none; }

/* Mobile */
.fm-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border: 1px solid var(--fm-line-2);
  border-radius: 9px;
  background: var(--fm-card);
}
.fm-burger-bar {
  width: 18px; height: 2px;
  background: var(--fm-text);
  border-radius: 2px;
  transition: var(--fm-tr);
}
.fm-mobile-toggle[aria-expanded="true"] .fm-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fm-mobile-toggle[aria-expanded="true"] .fm-burger-bar:nth-child(2) { opacity: 0; }
.fm-mobile-toggle[aria-expanded="true"] .fm-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer sits at the document root (never inside the blurred header) */
.fm-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99990;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;          /* the closed panel sits outside → must be clipped */
  contain: layout paint;
}
.fm-mobile-drawer.is-open { visibility: visible; pointer-events: auto; }

.fm-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}
.fm-mobile-drawer.is-open .fm-mobile-backdrop { opacity: 1; }

.fm-mobile-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(340px, 86vw);
  background: var(--fm-bg-2);
  border-inline-start: 1px solid var(--fm-line);
  box-shadow: -12px 0 40px var(--fm-shadow);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
[dir="rtl"] .fm-mobile-panel { transform: translateX(-100%); }
.fm-mobile-drawer.is-open .fm-mobile-panel { transform: translateX(0); }

.fm-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--fm-line);
}
.fm-mobile-brand {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fm-text);
}
.fm-mobile-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--fm-line-2);
  background: var(--fm-card);
  color: var(--fm-gold);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.fm-mobile-nav { padding: .6rem 0; flex: 1 1 auto; }
.fm-mobile-menu { display: flex; flex-direction: column; }
.fm-mobile-menu li { border-bottom: 1px solid var(--fm-line); }
.fm-mobile-menu a {
  display: block;
  padding: .95rem 1.35rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--fm-text-2);
}
.fm-mobile-menu a:hover,
.fm-mobile-menu .current-menu-item > a { color: var(--fm-gold); background: var(--fm-bg-3); }

.fm-mobile-foot {
  padding: 1.2rem 1.35rem calc(1.4rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--fm-line);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.fm-mobile-utils { display: flex; flex-direction: column; gap: .5rem; }
.fm-mobile-util {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .8rem;
  border: 1px solid var(--fm-line-2);
  border-radius: 9px;
  background: var(--fm-card);
  color: var(--fm-text-2);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: start;
}
.fm-mobile-util:hover { border-color: var(--fm-gold); color: var(--fm-gold); }

body.fm-drawer-open { overflow: hidden; }

/* =========================================================
   6. HERO
   ========================================================= */
.fm-hero-section {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 120px 0 70px; text-align: center;
}
.fm-hero-media { position: absolute; inset: 0; z-index: 0; }
.fm-hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s ease-in-out; will-change: opacity;
}
.fm-hero-slide.is-active { opacity: 1; }
.fm-hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fm-kenburns { animation: fmKenburns 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes fmKenburns {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.11) translate3d(-14px, -10px, 0); }
}
.fm-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, var(--fm-hero-grad-1) 0%, var(--fm-hero-grad-2) 82%),
    linear-gradient(to top, var(--fm-hero-grad-3) 2%, var(--fm-hero-grad-4) 55%, var(--fm-hero-grad-5) 100%);
}
.fm-hero-content { position: relative; z-index: 3; max-width: 1000px; margin: 0 auto; }
.fm-hero-badge {
  display: inline-flex; align-items: center; gap: .65rem; flex-wrap: wrap; justify-content: center;
  background: rgba(12, 12, 16, .72); border: 1px solid rgba(212, 175, 55, .45);
  color: #f3d889; padding: .5rem 1.15rem; border-radius: 99px;
  font-size: .78rem; margin-bottom: 1.7rem; backdrop-filter: blur(14px);
  box-shadow: 0 0 26px rgba(212, 175, 55, .13);
}
.fm-hero-heading { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin-bottom: 1.4rem; }
.fm-hero-name {
  font-size: clamp(2.1rem, 7.2vw, 5.6rem); font-weight: 800; text-transform: uppercase;
  letter-spacing: .01em; color: var(--fm-hero-text); text-shadow: 0 10px 40px rgba(0, 0, 0, .85); line-height: 1.05;
}
.fm-hero-rule { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.fm-hero-rule span.fm-line { width: clamp(28px, 7vw, 70px); height: 1px; background: linear-gradient(90deg, transparent, var(--fm-gold), transparent); }
.fm-hero-role {
  font-size: clamp(.78rem, 1.9vw, 1.12rem); font-weight: 300;
  letter-spacing: .3em; text-transform: uppercase; color: #f3d889;
}
.fm-hero-artwork-title { font-size: clamp(1.05rem, 2.6vw, 1.75rem); color: var(--fm-hero-text); margin-bottom: .55rem; }
.fm-hero-statement {
  font-size: clamp(.92rem, 1.7vw, 1.15rem); color: var(--fm-hero-text-2); font-weight: 300;
  font-style: italic; line-height: 2; max-width: 780px; margin: 0 auto 2rem;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .8);
}

/* Telemetry HUD */
.fm-telemetry-hud {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .6rem 1.6rem; max-width: 860px; margin: 0 auto 2.2rem;
  background: rgba(12, 12, 16, .78); border: 1px solid rgba(212, 175, 55, .35);
  padding: .85rem 1.5rem; border-radius: 12px;
  font-family: var(--fm-mono); font-size: .74rem; color: #c9c9d1;
  backdrop-filter: blur(16px); box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
}
.fm-hud-item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.fm-hud-item strong { color: #fff; font-weight: 700; }
.fm-hud-item .fm-hud-k { color: #8f8f9a; }
.fm-hud-item.is-gold strong { color: #f3d889; }

.fm-hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.fm-hero-dots { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 2.6rem; }
.fm-hero-dot { width: 11px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.32); transition: var(--fm-tr); }
.fm-hero-dot.is-active { width: 38px; background: var(--fm-gold); box-shadow: 0 0 12px var(--fm-gold); }
.fm-hero-scroll-hint {
  position: absolute; bottom: 18px; inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.fm-scroll-indicator { width: 1px; height: 34px; background: linear-gradient(to bottom, var(--fm-gold), transparent); }

/* =========================================================
   7. ABOUT
   ========================================================= */
.fm-about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fm-portrait-frame {
  position: relative; border-radius: var(--fm-radius); overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .35); background: var(--fm-card);
  box-shadow: 0 25px 60px var(--fm-shadow);
}
.fm-portrait-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(20%) contrast(105%); transition: transform .8s ease, filter .8s ease; }
.fm-portrait-frame:hover .fm-portrait-img { transform: scale(1.04); filter: grayscale(0) contrast(102%); }
.fm-portrait-badge {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .97), rgba(0, 0, 0, .55) 60%, transparent);
  display: flex; flex-direction: column; gap: .2rem;
}
.fm-pb-title { font-size: 1.12rem; font-weight: 800; color: #ffffff; }
.fm-pb-sub { font-size: .74rem; color: var(--fm-on-media-gold); font-family: var(--fm-mono); }
.fm-pb-note { font-size: .7rem; color: var(--fm-on-media-2); margin-top: .55rem; padding-top: .55rem; border-top: 1px solid rgba(255, 255, 255, .14); }

.fm-about-bio { color: var(--fm-text-2); font-weight: 300; font-size: 1rem; margin: 1.3rem 0 1.9rem; }
.fm-about-bio p + p { margin-top: .95rem; }
.fm-about-bio strong { color: var(--fm-text); font-weight: 700; }

.fm-spec-title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fm-text-3); margin-bottom: .8rem; }
.fm-spec-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.fm-spec-tag {
  font-size: .74rem; padding: .45rem .9rem; border-radius: 8px;
  background: var(--fm-card); border: 1px solid var(--fm-line); color: var(--fm-text-2);
}
.fm-spec-tag:hover { border-color: var(--fm-gold); color: var(--fm-text); }

.fm-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  padding: 1.8rem 0; margin-bottom: 2rem;
  border-top: 1px solid var(--fm-line); border-bottom: 1px solid var(--fm-line);
}
.fm-stat-num { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--fm-gold-l); line-height: 1.1; }
.fm-stat-label { display: block; font-size: .74rem; color: var(--fm-text-3); margin-top: .25rem; }

.fm-gear-card {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem;
  background: var(--fm-card); border: 1px solid rgba(212, 175, 55, .28); border-radius: 12px;
}
.fm-gear-ico {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px;
  background: rgba(212, 175, 55, .12); border: 1px solid rgba(212, 175, 55, .35);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.fm-gear-card strong { display: block; color: var(--fm-text); font-size: .92rem; margin-bottom: .25rem; }
.fm-gear-card p { font-size: .74rem; color: var(--fm-text-3); font-family: var(--fm-mono); line-height: 1.85; }

/* =========================================================
   8. MACRO COMPARISON (1X vs 5X)
   ========================================================= */
.fm-compare-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.fm-compare-wrap { max-width: 980px; margin: 0 auto; }
.fm-compare-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .4); background: var(--fm-media-bg); cursor: ew-resize;
  box-shadow: 0 25px 70px var(--fm-shadow); user-select: none; touch-action: pan-y;
}
.fm-compare-layer { position: absolute; inset: 0; }
.fm-compare-layer img { width: 100%; height: 100%; object-fit: cover; }
.fm-compare-after img { transform: scale(1.5); transform-origin: center; }
.fm-compare-before { overflow: hidden; width: 50%; }
.fm-compare-before-inner { position: absolute; inset: 0; width: 100vw; max-width: none; }
.fm-compare-before img { filter: grayscale(35%) brightness(.88); }
.fm-compare-tag {
  position: absolute; top: 14px; z-index: 4;
  background: rgba(0, 0, 0, .82); border: 1px solid rgba(212, 175, 55, .5);
  color: #f3d889; font-family: var(--fm-mono); font-size: .68rem;
  padding: .35rem .8rem; border-radius: 8px; backdrop-filter: blur(8px); white-space: nowrap;
}
.fm-compare-tag--after { inset-inline-start: 14px; }
.fm-compare-tag--before { inset-inline-end: 14px; border-color: rgba(255,255,255,.35); color: #e4e4e7; }
.fm-compare-divider {
  position: absolute; top: 0; bottom: 0; width: 2px; z-index: 5;
  background: linear-gradient(to bottom, transparent, var(--fm-gold), transparent);
  pointer-events: none;
}
.fm-compare-handle {
  position: absolute; top: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--fm-card-2); border: 2px solid var(--fm-gold); color: var(--fm-gold-l);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: 0 0 22px rgba(212, 175, 55, .55);
}
.fm-compare-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.fm-compare-meta-item {
  background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 12px;
  padding: .9rem 1rem; font-family: var(--fm-mono); font-size: .72rem;
}
.fm-compare-meta-item span { display: block; color: var(--fm-text-3); font-size: .64rem; }
.fm-compare-meta-item strong { color: var(--fm-text); font-weight: 600; }

/* =========================================================
   9. PORTFOLIO GRID + FILTERS
   ========================================================= */
.fm-filter-tabs { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.fm-portfolio-controls { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.fm-tab-btn {
  background: var(--fm-card); border: 1px solid var(--fm-line); color: var(--fm-text-2);
  padding: .5rem 1.15rem; border-radius: 99px; font-size: .78rem; font-weight: 500; transition: var(--fm-tr);
}
.fm-tab-btn:hover { border-color: var(--fm-gold); color: var(--fm-text); }
.fm-tab-btn.is-active {
  background: linear-gradient(135deg, var(--fm-gold), var(--fm-gold-l));
  color: var(--fm-on-gold); border-color: transparent; font-weight: 700;
  box-shadow: 0 0 20px rgba(212, 175, 55, .3);
}
.fm-layout-switcher { display: flex; align-items: center; gap: .3rem; background: var(--fm-card); border: 1px solid var(--fm-line); padding: .28rem; border-radius: 10px; }
.fm-layout-btn { padding: .45rem .6rem; border-radius: 7px; color: var(--fm-text-3); display: inline-flex; }
.fm-layout-btn.is-active { background: var(--fm-gold); color: var(--fm-on-gold); }

.fm-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 1.6rem; }
.fm-gallery-masonry { columns: 3; column-gap: 1.6rem; }
.fm-gallery-masonry > * { break-inside: avoid; margin-bottom: 1.6rem; }
.fm-gallery-uniform-grid { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 1.6rem; }
.fm-gallery-uniform-grid > * { margin-bottom: 0; }

.fm-photo-card, .fm-gallery-item {
  position: relative; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--fm-card); border: 1px solid var(--fm-line);
  transition: transform .5s ease, border-color .4s ease, box-shadow .5s ease;
  display: block; margin: 0;
}
.fm-photo-card:hover, .fm-gallery-item:hover {
  transform: translateY(-7px); border-color: rgba(212, 175, 55, .7);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .72), 0 0 26px rgba(212, 175, 55, .12);
}
.fm-card-media, .fm-gallery-img-box { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--fm-media-bg); }
.fm-gallery-masonry .fm-gallery-img-box { aspect-ratio: auto; }
.fm-card-img, .fm-gallery-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.fm-photo-card:hover .fm-card-img, .fm-gallery-item:hover .fm-gallery-img-box img { transform: scale(1.07); }

.fm-card-cat {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  background: rgba(0, 0, 0, .78); border: 1px solid rgba(212, 175, 55, .4);
  color: #f3d889; font-family: var(--fm-mono); font-size: .62rem;
  padding: .22rem .6rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em;
}
.fm-card-overlay, .fm-gallery-caption {
  position: absolute; inset: 0; padding: 1.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .45) 55%, transparent 100%);
  opacity: 0; transition: opacity .35s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fm-photo-card:hover .fm-card-overlay, .fm-gallery-item:hover .fm-gallery-caption { opacity: 1; }
.fm-card-hint { font-family: var(--fm-mono); font-size: .68rem; color: var(--fm-on-media-gold); margin-bottom: .3rem; display: block; }
.fm-card-title, .fm-caption-title { font-size: 1.02rem; color: #ffffff; margin-bottom: .25rem; }
.fm-card-exif, .fm-caption-hint { font-size: .68rem; color: #d4d4da; font-family: var(--fm-mono); }
.fm-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.1rem; background: var(--fm-card-2); border-top: 1px solid var(--fm-line);
}
.fm-card-foot-title { font-size: .82rem; font-weight: 600; color: var(--fm-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-card-foot-year { font-size: .74rem; font-family: var(--fm-mono); font-weight: 700; color: var(--fm-gold); flex: 0 0 auto; }

/* =========================================================
   10. PROJECTS
   ========================================================= */
.fm-projects-list { display: flex; flex-direction: column; gap: 2.5rem; }
.fm-project-spotlight-card {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--fm-card); border: 1px solid var(--fm-line);
  border-radius: 18px; overflow: hidden; padding: 1.5rem; align-items: center;
  transition: var(--fm-tr);
}
.fm-project-spotlight-card:hover { border-color: rgba(212, 175, 55, .5); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.fm-proj-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--fm-media-bg); }
.fm-proj-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.fm-project-spotlight-card:hover .fm-proj-img { transform: scale(1.05); }
.fm-proj-year-chip {
  position: absolute; top: 14px; inset-inline-end: 14px;
  background: rgba(0, 0, 0, .8); border: 1px solid rgba(255,255,255,.2);
  color: #f3d889; font-family: var(--fm-mono); font-size: .7rem;
  padding: .25rem .7rem; border-radius: 99px;
}
.fm-proj-info { padding: .5rem .8rem 1rem; }
.fm-proj-meta-tags { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: .9rem; font-size: .76rem; color: var(--fm-text-3); }
.fm-proj-title { font-size: clamp(1.1rem, 2.2vw, 1.5rem); margin-bottom: .75rem; }
.fm-proj-title a:hover { color: var(--fm-gold-l); }
.fm-proj-excerpt { font-size: .88rem; color: var(--fm-text-2); font-weight: 300; margin-bottom: 1.2rem; }
.fm-proj-award-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem;
  background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .32);
  color: var(--fm-gold-l); padding: .45rem .95rem; border-radius: 8px; font-size: .76rem;
}
.fm-proj-tech {
  background: var(--fm-bg-3); border: 1px solid var(--fm-line); border-radius: 10px;
  padding: .85rem 1rem; font-family: var(--fm-mono); font-size: .68rem;
  color: var(--fm-text-3); margin-bottom: 1.3rem; line-height: 1.9;
}
.fm-proj-tech strong { color: var(--fm-text); display: block; margin-bottom: .2rem; }

.fm-projects-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 1.8rem; }
.fm-project-archive-card { background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 14px; overflow: hidden; transition: var(--fm-tr); }
.fm-project-archive-card:hover { border-color: rgba(212, 175, 55, .55); transform: translateY(-6px); }
.fm-pac-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fm-media-bg); }
.fm-pac-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.fm-project-archive-card:hover .fm-pac-media img { transform: scale(1.06); }
.fm-pac-content { padding: 1.3rem; }
.fm-pac-loc { font-size: .72rem; color: var(--fm-gold-l); font-family: var(--fm-mono); }
.fm-pac-title { font-size: 1.05rem; margin: .4rem 0 .6rem; }
.fm-pac-excerpt { font-size: .82rem; color: var(--fm-text-2); font-weight: 300; }
.fm-pac-award { display: inline-block; margin-top: .9rem; font-size: .72rem; color: var(--fm-gold-l); }

/* =========================================================
   11. AWARDS
   ========================================================= */
.fm-awards-timeline { border-top: 1px solid var(--fm-line); }
.fm-award-row {
  display: grid; grid-template-columns: minmax(90px, 150px) minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding: 1.7rem 1rem; border-bottom: 1px solid var(--fm-line);
  border-radius: 12px; transition: var(--fm-tr); border-inline: 1px solid transparent;
}
.fm-award-row:hover { background: var(--fm-bg-3); border-color: rgba(212, 175, 55, .3); }
.fm-award-year { font-family: var(--fm-mono); font-size: 1.55rem; font-weight: 800; color: var(--fm-gold-l); display: block; }
.fm-award-place-badge {
  display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .5rem;
  background: rgba(212, 175, 55, .14); border: 1px solid rgba(212, 175, 55, .38);
  color: var(--fm-gold-l); font-size: .68rem; font-weight: 700; padding: .18rem .68rem; border-radius: 99px;
}
.fm-award-comp { font-size: 1.12rem; margin-bottom: .2rem; }
.fm-award-title-text { font-size: .85rem; color: var(--fm-text-2); }
.fm-award-country { color: var(--fm-text-3); font-family: var(--fm-mono); font-size: .74rem; }
.fm-award-thumb { width: 84px; height: 58px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(212, 175, 55, .35); }
.fm-award-action-col { display: flex; align-items: center; gap: .9rem; }
.fm-award-link { font-size: .76rem; color: var(--fm-gold-l); white-space: nowrap; }

.fm-awards-editorial-list { display: flex; flex-direction: column; gap: 1.6rem; }
.fm-award-card {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1.8rem; align-items: center;
  background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 16px;
  overflow: hidden; padding: 1.3rem; transition: var(--fm-tr);
}
.fm-award-card:hover { border-color: rgba(212, 175, 55, .5); }
.fm-ac-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.fm-ac-header { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .7rem; }
.fm-ac-year { font-family: var(--fm-mono); font-size: 1.2rem; font-weight: 800; color: var(--fm-gold-l); }
.fm-ac-place-badge {
  background: rgba(212, 175, 55, .14); border: 1px solid rgba(212, 175, 55, .38);
  color: var(--fm-gold-l); font-size: .68rem; font-weight: 700; padding: .18rem .7rem; border-radius: 99px;
}
.fm-ac-category { font-size: .7rem; color: var(--fm-text-3); font-family: var(--fm-mono); }
.fm-ac-competition { font-size: 1.2rem; margin-bottom: .25rem; }
.fm-ac-work-title { font-size: .92rem; color: var(--fm-gold-l); font-weight: 600; margin-bottom: .4rem; }
.fm-ac-country { font-size: .76rem; color: var(--fm-text-3); margin-bottom: .6rem; }
.fm-ac-excerpt { font-size: .84rem; color: var(--fm-text-2); font-weight: 300; margin-bottom: 1rem; }
.fm-awards-filter-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.fm-filter-label { font-size: .78rem; color: var(--fm-text-3); }
.fm-filter-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.fm-tag-btn {
  background: var(--fm-card); border: 1px solid var(--fm-line); color: var(--fm-text-2);
  padding: .42rem 1rem; border-radius: 99px; font-size: .75rem; transition: var(--fm-tr);
}
.fm-tag-btn.is-active { background: var(--fm-gold); color: var(--fm-on-gold); border-color: var(--fm-gold); font-weight: 700; }

/* =========================================================
   12. FINE ART / COLLECTOR
   ========================================================= */
.fm-fineart-box {
  position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(135deg, var(--fm-card) 0%, var(--fm-bg-3) 55%, var(--fm-card-2) 100%);
  border: 1px solid rgba(212, 175, 55, .35); padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 25px 60px var(--fm-shadow);
}
.fm-fineart-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; }
.fm-fa-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.4rem 0; }
.fm-fa-list li { font-size: .82rem; color: var(--fm-text-2); display: flex; align-items: center; gap: .55rem; }
.fm-fa-list li::before { content: '✓'; color: var(--fm-gold); font-weight: 800; }
.fm-cert-card {
  background: var(--fm-bg-3); border: 1px solid rgba(212, 175, 55, .4); border-radius: 16px;
  padding: 1.7rem; text-align: center; box-shadow: 0 20px 45px var(--fm-shadow);
}
.fm-cert-seal {
  width: 78px; height: 78px; margin: 0 auto 1rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--fm-gold), var(--fm-gold-l) 45%, var(--fm-gold-d));
  padding: 2px; box-shadow: 0 0 32px rgba(212, 175, 55, .4);
}
.fm-cert-seal-inner {
  width: 100%; height: 100%; border-radius: 50%; background: var(--fm-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--fm-gold); font-size: 1.5rem;
}
.fm-cert-title { font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .3rem; }
.fm-cert-id { font-family: var(--fm-mono); font-size: .72rem; color: var(--fm-gold-l); display: block; margin-bottom: 1.1rem; }
.fm-cert-rows { background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 10px; padding: .9rem; font-family: var(--fm-mono); font-size: .72rem; }
.fm-cert-row { display: flex; justify-content: space-between; gap: 1rem; padding: .22rem 0; }
.fm-cert-row span { color: var(--fm-text-3); }
.fm-cert-row strong { color: var(--fm-text); }

/* =========================================================
   13. JOURNAL
   ========================================================= */
.fm-journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.8rem; }
.fm-journal-card { background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: var(--fm-tr); }
.fm-journal-card:hover { border-color: rgba(212, 175, 55, .55); transform: translateY(-6px); }
.fm-jc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fm-media-bg); }
.fm-jc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.fm-journal-card:hover .fm-jc-media img { transform: scale(1.06); }
.fm-jc-cat { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(0, 0, 0, .78); color: #f3d889; font-size: .66rem; padding: .2rem .6rem; border-radius: 6px; }
.fm-jc-content { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.fm-jc-meta { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--fm-text-3); margin-bottom: .7rem; font-family: var(--fm-mono); }
.fm-jc-title { font-size: 1.02rem; margin-bottom: .6rem; }
.fm-journal-card:hover .fm-jc-title { color: var(--fm-gold-l); }
.fm-jc-excerpt { font-size: .82rem; color: var(--fm-text-2); font-weight: 300; flex: 1; }
.fm-jc-readmore { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--fm-line); font-size: .78rem; font-weight: 700; color: var(--fm-gold-l); }

/* =========================================================
   14. CTA
   ========================================================= */
.fm-cta-box {
  background: linear-gradient(135deg, var(--fm-card-2) 0%, var(--fm-bg-3) 100%);
  border: 1px solid rgba(212, 175, 55, .35);
  padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 20px; text-align: center;
  box-shadow: 0 25px 60px var(--fm-shadow);
}
.fm-cta-title { margin: 1.1rem auto .9rem; max-width: 800px; }
.fm-cta-desc { color: var(--fm-text-2); max-width: 640px; margin: 0 auto 2.2rem; font-weight: 300; }
.fm-cta-buttons { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* =========================================================
   15. PAGE HEADERS / CONTENT
   ========================================================= */
.fm-page-header {
  padding: 150px 0 60px; text-align: center;
  background: linear-gradient(to bottom, var(--fm-bg-3) 0%, var(--fm-bg) 100%);
  border-bottom: 1px solid var(--fm-line);
}
.fm-page-title { margin: 1rem 0 .6rem; }
.fm-page-subtitle { color: var(--fm-text-2); max-width: 680px; margin: 0 auto; font-weight: 300; font-size: .95rem; }
.fm-page-body { padding-block: 4rem; }
.fm-rich-text { color: var(--fm-text-2); font-weight: 300; font-size: 1rem; line-height: 2; }
.fm-rich-text h2, .fm-rich-text h3 { color: var(--fm-text); margin: 2rem 0 1rem; }
.fm-rich-text p { margin-bottom: 1.1rem; }
.fm-rich-text a { color: var(--fm-gold-l); text-decoration: underline; }
.fm-rich-text ul, .fm-rich-text ol { margin: 0 0 1.2rem; padding-inline-start: 1.4rem; }
.fm-rich-text ul li { list-style: disc; margin-bottom: .45rem; }
.fm-rich-text img { border-radius: 12px; margin: 1.5rem 0; }
.fm-rich-text blockquote {
  border-inline-start: 3px solid var(--fm-gold); background: var(--fm-card);
  padding: 1.2rem 1.5rem; border-radius: 10px; margin: 1.6rem 0; font-style: italic; color: var(--fm-text-2);
}
.fm-artist-quote cite { display: block; margin-top: .8rem; font-size: .8rem; color: var(--fm-gold-l); font-style: normal; }

.fm-about-page-container, .fm-portfolio-page-container, .fm-awards-page-container,
.fm-contact-page-container, .fm-journal-container, .fm-projects-archive-container { padding-block: clamp(3rem, 6vw, 5rem); }
.fm-about-editorial-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: start; }
.fm-about-sticky-card { position: sticky; top: 110px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(212, 175, 55, .3); }
.fm-about-full-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.fm-about-photo-caption { padding: 1.1rem; background: var(--fm-card); display: flex; flex-direction: column; gap: .2rem; font-size: .78rem; }
.fm-about-photo-caption strong { color: var(--fm-text); }
.fm-about-photo-caption span { color: var(--fm-text-3); font-family: var(--fm-mono); font-size: .7rem; }
.fm-editorial-heading { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 1.2rem; }
.fm-gear-section, .fm-exhibitions-section { margin-top: 4.5rem; }
.fm-gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.fm-gear-grid .fm-gear-card { flex-direction: column; }
.fm-gear-grid ul li { font-size: .8rem; color: var(--fm-text-2); padding: .3rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); font-family: var(--fm-mono); }
.fm-timeline-list { margin-top: 2rem; border-inline-start: 1px solid var(--fm-line); padding-inline-start: 1.5rem; }
.fm-timeline-item { position: relative; padding-bottom: 2rem; }
.fm-timeline-item::before {
  content: ''; position: absolute; inset-inline-start: -1.87rem; top: .5rem;
  width: 11px; height: 11px; border-radius: 50%; background: var(--fm-gold); box-shadow: 0 0 12px var(--fm-gold);
}
.fm-tl-year { font-family: var(--fm-mono); font-size: .8rem; color: var(--fm-gold-l); font-weight: 700; }
.fm-tl-content h4 { font-size: 1rem; color: var(--fm-text); margin: .25rem 0; }
.fm-tl-content p { font-size: .82rem; color: var(--fm-text-3); }

/* Project single */
.fm-project-hero { padding: 150px 0 40px; text-align: center; }
.fm-project-meta-badges { display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.fm-year-tag { font-family: var(--fm-mono); color: var(--fm-gold-l); font-size: .82rem; }
.fm-project-hero-title { margin-bottom: .7rem; }
.fm-project-hero-location { color: var(--fm-text-3); font-size: .85rem; }
.fm-project-cover-img { width: 100%; border-radius: 16px; border: 1px solid var(--fm-line); }
.fm-project-body-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 3rem; padding-block: 3.5rem; align-items: start; }
.fm-subheading { font-size: 1.3rem; margin-bottom: 1.2rem; }
.fm-project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.2rem; margin-top: 2rem; }
.fm-project-gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.fm-tech-box { background: var(--fm-card); border: 1px solid rgba(212, 175, 55, .3); border-radius: 14px; padding: 1.5rem; position: sticky; top: 110px; }
.fm-tech-title { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--fm-line); }
.fm-tech-list dt { font-size: .72rem; color: var(--fm-text-3); margin-top: .9rem; }
.fm-tech-list dd { font-size: .82rem; color: var(--fm-text); font-family: var(--fm-mono); }
.fm-share-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--fm-line); font-size: .8rem; color: var(--fm-text-3); }
.fm-share-bar a { color: var(--fm-gold-l); }

/* Post single */
.fm-post-header { padding: 150px 0 40px; text-align: center; }
.fm-post-meta-top { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--fm-text-3); margin-bottom: 1rem; }
.fm-single-cover { width: 100%; border-radius: 16px; border: 1px solid var(--fm-line); }
.fm-post-body { max-width: 860px; margin: 0 auto; padding-block: 3rem; }
.fm-post-author-box { margin-top: 3rem; padding: 1.5rem; background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 14px; }
.fm-pab-title { font-size: .74rem; color: var(--fm-text-3); display: block; }
.fm-post-author-box strong { color: var(--fm-gold-l); font-size: 1rem; }
.fm-post-author-box p { font-size: .8rem; color: var(--fm-text-3); margin-top: .3rem; }

/* Pagination */
.pagination, .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.page-numbers {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .8rem; border-radius: 8px; background: var(--fm-card);
  border: 1px solid var(--fm-line); color: var(--fm-text-2); font-size: .82rem;
}
.page-numbers.current, .page-numbers:hover { background: var(--fm-gold); color: var(--fm-on-gold); border-color: var(--fm-gold); }

/* =========================================================
   16. CONTACT / FORMS
   ========================================================= */
.fm-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
.fm-contact-heading { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.fm-contact-lead { color: var(--fm-text-2); font-weight: 300; margin-bottom: 2rem; font-size: .92rem; }
.fm-contact-methods { display: flex; flex-direction: column; gap: .9rem; }
.fm-cm-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem;
  background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 12px; transition: var(--fm-tr);
}
.fm-cm-item:hover { border-color: rgba(212, 175, 55, .5); }
.fm-cm-icon {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  background: rgba(212, 175, 55, .12); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.fm-cm-item strong { display: block; font-size: .7rem; color: var(--fm-text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.fm-cm-item a, .fm-cm-item > div > span { font-size: .88rem; color: var(--fm-text); font-family: var(--fm-mono); }
.fm-cm-item a:hover { color: var(--fm-gold-l); }

.fm-contact-form-col { background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.6rem); }
.fm-form-group { margin-bottom: 1.2rem; }
.fm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.fm-form-group label { display: block; font-size: .78rem; color: var(--fm-text-2); margin-bottom: .45rem; }
.fm-input, .fm-textarea {
  width: 100%; background: var(--fm-bg-3); border: 1px solid var(--fm-line);
  color: var(--fm-text); padding: .85rem 1.1rem; border-radius: 9px; font-size: .88rem; transition: var(--fm-tr);
}
.fm-input:focus, .fm-textarea:focus { outline: none; border-color: var(--fm-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .12); }
.fm-textarea { resize: vertical; min-height: 130px; }
.fm-alert { padding: 1rem 1.2rem; border-radius: 10px; font-size: .85rem; margin-bottom: 1.4rem; }
.fm-alert-success { background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .45); color: #6ee7b7; }
.fm-alert-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .45); color: #fca5a5; }

/* =========================================================
   17. FOOTER
   ========================================================= */
.fm-footer { flex-shrink: 0; background: var(--fm-footer-bg); border-top: 1px solid var(--fm-line); padding: 3.5rem 0 2rem; }
.fm-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.2rem; border-bottom: 1px solid var(--fm-line); }
.fm-footer-logo { font-size: 1.15rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fm-text); display: block; }
.fm-footer-tagline { font-size: .78rem; color: var(--fm-text-3); margin-top: .2rem; }
.fm-footer-social { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.fm-footer-social a { font-size: .82rem; color: var(--fm-text-2); }
.fm-footer-social a:hover { color: var(--fm-gold); }
.fm-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .78rem; color: var(--fm-text-3); }
.fm-footer-links { display: flex; align-items: center; gap: .9rem; }
.fm-footer-links a:hover, .fm-back-to-top:hover { color: var(--fm-gold); }
.fm-back-to-top { color: var(--fm-gold-l); font-size: .78rem; }

/* =========================================================
   18. LIGHTBOX
   ========================================================= */
.fm-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.fm-lightbox.is-active { opacity: 1; visibility: visible; }
.fm-lightbox-backdrop { position: absolute; inset: 0; background: var(--fm-overlay); backdrop-filter: blur(24px); }
.fm-lightbox-container { position: relative; z-index: 2; width: 100%; max-width: 1500px; height: 92vh; }
.fm-lb-btn {
  position: absolute; z-index: 12; width: 46px; height: 46px; border-radius: 50%;
  background: var(--fm-card); border: 1px solid var(--fm-line-2); color: var(--fm-text);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--fm-tr);
}
.fm-lb-btn:hover { background: var(--fm-gold); color: var(--fm-on-gold); border-color: var(--fm-gold); }
.fm-lb-close { top: 8px; inset-inline-end: 8px; }
.fm-lb-zoom { top: 8px; inset-inline-end: 64px; width: auto; padding: 0 1rem; border-radius: 99px; font-size: .74rem; font-family: var(--fm-mono); gap: .4rem; color: var(--fm-gold-l); }
.fm-lb-prev { top: 50%; inset-inline-start: 10px; transform: translateY(-50%); }
.fm-lb-next { top: 50%; inset-inline-end: 10px; transform: translateY(-50%); }
.fm-lb-content {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); width: 100%; height: 100%;
  background: var(--fm-bg-3); border: 1px solid rgba(212, 175, 55, .28); border-radius: 18px; overflow: hidden;
}
.fm-lb-image-wrapper { display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--fm-media-bg); overflow: hidden; }
.fm-lb-image { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s ease; cursor: zoom-in; }
.fm-lb-sidebar { padding: 2.2rem 1.8rem; overflow-y: auto; background: var(--fm-card); border-inline-start: 1px solid var(--fm-line); display: flex; flex-direction: column; }
.fm-lb-title { font-size: 1.3rem; margin-bottom: .4rem; }
.fm-lb-category { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fm-gold-l); font-family: var(--fm-mono); margin-bottom: 1.2rem; }
.fm-lb-desc { font-size: .85rem; color: var(--fm-text-2); font-weight: 300; margin-bottom: 1.6rem; }
.fm-lb-exif { margin-top: auto; background: var(--fm-bg-2); border: 1px solid rgba(212, 175, 55, .25); border-radius: 12px; padding: 1.1rem; font-size: .78rem; }
.fm-lb-exif-item { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; border-bottom: 1px solid var(--fm-line); }
.fm-lb-exif-item:last-child { border-bottom: none; }
.fm-lb-exif-item span { color: var(--fm-text-3); }
.fm-lb-exif-item strong { color: var(--fm-text); font-family: var(--fm-mono); font-weight: 600; text-align: end; }

/* =========================================================
   19. 404
   ========================================================= */
.fm-404-container { min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 0 80px; }
.fm-404-title { font-size: clamp(4.5rem, 16vw, 10rem); font-weight: 900; color: var(--fm-gold); opacity: .2; line-height: 1; margin: .8rem 0; }
.fm-404-poetic { font-size: clamp(1rem, 2.4vw, 1.4rem); color: var(--fm-gold-l); font-style: italic; margin-bottom: .9rem; }
.fm-404-desc { color: var(--fm-text-2); margin-bottom: 2.2rem; font-weight: 300; }
.fm-404-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* =========================================================
   20. RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .fm-gallery-masonry { columns: 2; }
  .fm-about-grid, .fm-about-editorial-grid, .fm-contact-grid,
  .fm-project-body-grid, .fm-fineart-grid { grid-template-columns: 1fr; }
  .fm-project-spotlight-card { grid-template-columns: 1fr; }
  .fm-lb-content { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .fm-lb-sidebar { border-inline-start: none; border-top: 1px solid var(--fm-line); max-height: 40vh; }
  .fm-award-card { grid-template-columns: 1fr; }
  .fm-tech-box, .fm-about-sticky-card { position: static; }
}

/* ---------- MOBILE HEADER GRID ----------
   burger (start) · logo (centre) · theme + language (end)
------------------------------------------ */
@media (max-width: 1024px) {
  .fm-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem;
    height: 68px;
  }
  .fm-header-lead    { display: flex; justify-self: start; }
  .fm-branding       { justify-self: center; min-width: 0; text-align: center; }
  .fm-header-actions { justify-self: end; gap: .4rem; }

  .fm-brand-link { align-items: center; }
  .fm-brand-logo { max-height: 40px; max-width: min(170px, 42vw); }
  .fm-brand-title { font-size: .84rem; letter-spacing: .08em; }
  .fm-brand-sub {
    font-size: .56rem;
    max-width: 42vw;
    margin-inline: auto;
  }
  .fm-icon-btn { width: 34px; height: 34px; flex-basis: 34px; }
  .fm-mobile-toggle { width: 36px; height: 34px; flex-basis: 36px; }
}

@media (max-width: 420px) {
  .fm-header-inner { gap: .35rem; }
  .fm-brand-sub { display: none; }
  .fm-brand-logo { max-height: 34px; max-width: 40vw; }
  .fm-icon-btn { width: 32px; height: 32px; flex-basis: 32px; }
  .fm-mobile-toggle { width: 34px; height: 32px; flex-basis: 34px; }
  .fm-header-actions { gap: .3rem; }
}

/* Tablet: tighten the nav before it can ever overflow */
@media (max-width: 1180px) {
  .fm-menu-list { gap: .85rem; }
  .fm-menu-list a { font-size: .76rem; }
  .fm-brand-sub { display: none; }
}

@media (max-width: 1024px) {
  .fm-main-nav, .fm-header-actions .fm-header-cta { display: none; }
  .fm-mobile-toggle { display: flex; }
}

@media (max-width: 860px) {
  .fm-main-nav, .fm-header-actions .fm-header-cta { display: none; }
  .fm-mobile-toggle { display: flex; }
  .fm-stats-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .fm-award-row { grid-template-columns: 1fr; gap: .7rem; text-align: start; }
  .fm-award-action-col { justify-content: space-between; }
  .fm-compare-meta { grid-template-columns: 1fr; }
  .fm-fa-list { grid-template-columns: 1fr; }
  .fm-form-row { grid-template-columns: 1fr; }
  .fm-page-header { padding: 120px 0 45px; }
  .fm-telemetry-hud { gap: .5rem 1rem; font-size: .68rem; padding: .7rem 1rem; }
  .fm-hero-section { min-height: 92svh; padding-top: 100px; }
}

@media (max-width: 620px) {
  .fm-gallery-masonry { columns: 1; }
  .fm-portfolio-grid, .fm-gallery-uniform-grid, .fm-journal-grid, .fm-projects-archive-grid { grid-template-columns: 1fr; }
  .fm-btn { width: 100%; }
  .fm-hero-actions, .fm-cta-buttons, .fm-404-actions { width: 100%; }
  .fm-lb-btn { width: 40px; height: 40px; }
  .fm-lb-image-wrapper { padding: 1rem; }
  .fm-section-header { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   21. MOTION / REVEAL
   ========================================================= */
/* Never allow single words to break into vertical letter stacks */
.fm-gold-badge,
.fm-btn,
.fm-tab-btn,
.fm-tag-btn,
.fm-hud-item,
.fm-card-cat,
.fm-award-place-badge,
.fm-ac-place-badge,
.fm-proj-year-chip,
.fm-lang-switch,
.fm-text-link,
.fm-jc-readmore,
.fm-card-foot-year { white-space: nowrap; word-break: keep-all; }

.fm-gold-badge { max-width: 100%; white-space: normal; text-align: center; }

h1, h2, h3, h4, h5, h6,
.fm-hero-name, .fm-section-title, .fm-page-title,
.fm-card-title, .fm-proj-title, .fm-award-comp {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.fm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.fm-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .fm-reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   22. HEADER VARIANTS & WP ADMIN BAR
   ========================================================= */
.fm-header.is-static { position: absolute; }
.admin-bar .fm-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .fm-header { top: 46px; }
}
.admin-bar .fm-mobile-drawer { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .fm-mobile-drawer { top: 46px; }
}


/* =========================================================
   23. LIGHT SCHEME — editorial ivory refinements
   ========================================================= */

/* Soft warm paper texture instead of flat white */
[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(150, 112, 26, .045) 0%, transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(150, 112, 26, .035) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Gold accents read as deep bronze on paper */
[data-theme="light"] .fm-gold-badge {
  background: rgba(150, 112, 26, .09);
  border-color: rgba(150, 112, 26, .34);
  color: var(--fm-gold-d);
  box-shadow: none;
}
[data-theme="light"] .fm-award-year,
[data-theme="light"] .fm-ac-year,
[data-theme="light"] .fm-stat-num,
[data-theme="light"] .fm-ac-work-title,
[data-theme="light"] .fm-text-link,
[data-theme="light"] .fm-jc-readmore,
[data-theme="light"] .fm-pac-loc,
[data-theme="light"] .fm-cert-id,
[data-theme="light"] .fm-award-link,
[data-theme="light"] .fm-back-to-top,
[data-theme="light"] .fm-brand-sub,
[data-theme="light"] .fm-404-poetic,
[data-theme="light"] .fm-artist-quote cite,
[data-theme="light"] .fm-spec-title { color: var(--fm-gold-d); }

[data-theme="light"] .fm-award-place-badge,
[data-theme="light"] .fm-ac-place-badge,
[data-theme="light"] .fm-proj-award-badge {
  background: rgba(150, 112, 26, .10);
  border-color: rgba(150, 112, 26, .32);
  color: var(--fm-gold-d);
}

/* Refined paper elevation */
[data-theme="light"] .fm-photo-card,
[data-theme="light"] .fm-gallery-item,
[data-theme="light"] .fm-journal-card,
[data-theme="light"] .fm-project-archive-card,
[data-theme="light"] .fm-project-spotlight-card,
[data-theme="light"] .fm-award-card,
[data-theme="light"] .fm-contact-form-col,
[data-theme="light"] .fm-gear-card,
[data-theme="light"] .fm-cm-item,
[data-theme="light"] .fm-tech-box,
[data-theme="light"] .fm-cert-card {
  box-shadow: 0 1px 2px rgba(60, 50, 25, .05), 0 6px 22px rgba(60, 50, 25, .06);
}
[data-theme="light"] .fm-photo-card:hover,
[data-theme="light"] .fm-gallery-item:hover,
[data-theme="light"] .fm-journal-card:hover,
[data-theme="light"] .fm-project-archive-card:hover {
  box-shadow: 0 18px 44px rgba(60, 50, 25, .16);
  border-color: var(--fm-gold);
}
[data-theme="light"] .fm-portrait-frame { box-shadow: 0 20px 50px rgba(60, 50, 25, .18); }
[data-theme="light"] .fm-fineart-box,
[data-theme="light"] .fm-cta-box {
  background: linear-gradient(150deg, #ffffff 0%, #f8f5ec 58%, #f2eee1 100%);
  box-shadow: 0 18px 50px rgba(60, 50, 25, .10);
}
[data-theme="light"] .fm-header.is-scrolled { box-shadow: 0 6px 26px rgba(60, 50, 25, .10); }

/* Hero keeps a cinematic scrim so white type stays crisp on paper pages */
[data-theme="light"] .fm-hero-overlay {
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .62) 80%),
    linear-gradient(to top, var(--fm-bg) 0%, rgba(10, 10, 12, .38) 14%, rgba(12, 12, 14, .34) 62%, rgba(10, 10, 12, .58) 100%);
}
[data-theme="light"] .fm-hero-scroll-hint { color: var(--fm-text-3); }
[data-theme="light"] .fm-scroll-indicator { background: linear-gradient(to bottom, var(--fm-gold), transparent); }
[data-theme="light"] .fm-hero-dot { background: rgba(255, 255, 255, .55); }
[data-theme="light"] .fm-hero-dot.is-active { background: var(--fm-gold-l); box-shadow: 0 0 12px rgba(150, 112, 26, .55); }
[data-theme="light"] .fm-portrait-img { filter: grayscale(6%) contrast(102%); }

/* Inputs, chrome, selection */
[data-theme="light"] .fm-input,
[data-theme="light"] .fm-textarea { background: #ffffff; }
[data-theme="light"] .fm-input::placeholder,
[data-theme="light"] .fm-textarea::placeholder { color: #9c9a8e; }
[data-theme="light"] .fm-proj-tech,
[data-theme="light"] .fm-compare-meta-item,
[data-theme="light"] .fm-lb-exif { background: var(--fm-bg-3); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--fm-bg-2); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #cdc6b3; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: var(--fm-gold); }
[data-theme="light"] ::selection { background: rgba(150, 112, 26, .20); color: #14140f; }
[data-theme="light"] .fm-icon-btn,
[data-theme="light"] .fm-mobile-toggle { background: #ffffff; }

/* Gold buttons: white type on deep bronze */
[data-theme="light"] .fm-btn-gold {
  background: linear-gradient(135deg, #96701a 0%, #7d5c11 100%);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(150, 112, 26, .30);
}
[data-theme="light"] .fm-tab-btn.is-active,
[data-theme="light"] .fm-tag-btn.is-active,
[data-theme="light"] .fm-layout-btn.is-active,
[data-theme="light"] .page-numbers.current,
[data-theme="light"] .page-numbers:hover,
[data-theme="light"] .fm-lb-btn:hover {
  background: var(--fm-gold);
  color: #ffffff;
  border-color: var(--fm-gold);
}
[data-theme="light"] .fm-cert-seal-inner { color: var(--fm-gold-d); }

/* =========================================================
   24. OVERFLOW SAFETY NET
   ========================================================= */
.fm-container,
.fm-section,
.fm-header,
.fm-footer { max-width: 100%; }

.fm-header-inner > *,
.fm-about-grid > *,
.fm-project-spotlight-card > *,
.fm-contact-grid > *,
.fm-fineart-grid > *,
.fm-award-row > *,
.fm-section-header > * { min-width: 0; }

/* Long URLs / EXIF strings must wrap instead of pushing the layout */
.fm-card-exif,
.fm-proj-tech,
.fm-tech-list dd,
.fm-lb-exif-item strong,
.fm-gear-card p,
.fm-cm-item a { overflow-wrap: anywhere; }

img, video, iframe, table { max-width: 100%; }
