/* ============================================================
   ABCubed Architects — Luxury Theme Override
   Gold-on-black minimalist aesthetic
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --ink: #0a0a09;
  --ink-2: #141412;
  --ink-3: #1e1e1b;
  --smoke: #d8d6d0;
  --mist: #c8c6c0;
  --ash: #9e9c96;
  --ash-2: #6b6966;
  --gold: #ceaf6e;
  --gold-2: #e0c486;
  --gold-3: #a0844e;
  --gold-line: rgba(206, 173, 106, 0.28);
  --gold-glow: rgba(206, 173, 106, 0.08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Syncopate', sans-serif;
  --body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Light Mode Variables ───────────────────────────────────── */
:root.light {
  --ink: #f7f4eb;
  --ink-2: #edeadf;
  --ink-3: #e3ded3;
  --smoke: #141210;
  --mist: #28261f;
  --ash: #3a3830;
  --ash-2: #605e58;
  --gold: #8a6008;
  --gold-2: #b08820;
  --gold-3: #6a4e06;
  --gold-line: rgba(120, 90, 20, 0.22);
  --gold-glow: rgba(120, 90, 20, 0.07);
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ink) !important;
  color: var(--smoke);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
}

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

:root.light body::before { opacity: 0.15; }

/* Luxury cotton-stock texture — dark mode (premium matte card) */
body {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5 0.18' numOctaves='6' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.11'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Luxury cotton-stock texture — light mode (cream/ivory card) */
:root.light body {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5 0.18' numOctaves='6' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.14'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Luxury edge vignette — light mode only */
:root.light body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(80, 55, 15, 0.055) 100%);
  pointer-events: none;
  z-index: 8999;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Lexical editor wraps heading text in <span> — inherit the heading's serif font */
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
  font-family: inherit;
}

p, li, a, span, label, input, textarea, button {
  font-family: var(--body);
}

.sub-title {
  font-family: var(--body) !important;
  font-size: clamp(0.75rem, 1vw, 0.8rem) !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  font-weight: 400;
}

/* ── Background Classes ─────────────────────────────────────── */
body,
.main-bg {
  background-color: var(--ink) !important;
  color: var(--smoke);
}

.sub-bg {
  background-color: var(--ink-2) !important;
}

.sub-bg2 {
  background-color: var(--ink-3) !important;
}

/* ── Navbar ─────────────────────────────────────────────────── */
nav.navbar {
  background: transparent !important;
  border-bottom: 1px solid transparent;
  transition: background 0.6s var(--ease), padding 0.4s;
}

nav.navbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
  z-index: 10;
}

nav.navbar.scrolled {
  background: rgba(10, 10, 9, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

:root.light nav.navbar.scrolled {
  background: rgba(247, 244, 235, 0.94) !important;
}

nav.navbar .nav-link {
  color: var(--ash) !important;
  font-family: var(--display);
  font-size: clamp(0.68rem, 0.85vw, 0.72rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
}

:root:not(.light) nav.navbar .nav-link {
  color: var(--smoke) !important;
}

nav.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

nav.navbar .nav-link:hover {
  color: var(--gold) !important;
}

nav.navbar .nav-link:hover::after {
  width: 100%;
}

/* Suppress Bootstrap caret on dropdown toggles */
nav.navbar .dropdown-toggle::after {
  display: none !important;
}

nav.navbar .nav-link .nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  opacity: 0.7;
  transition: transform 0.3s var(--ease), opacity 0.3s;
  position: relative;
  top: -1px;
}

nav.navbar .nav-item.dropdown.show .nav-chevron,
nav.navbar .nav-item.dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown menus */
nav.navbar .dropdown-menu {
  background-color: rgba(10, 10, 9, 0.96);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(14px);
  border-radius: 0;
}

:root.light nav.navbar .dropdown-menu {
  background-color: rgba(10, 10, 9, 0.96);
}

nav.navbar .dropdown-item {
  color: var(--ash);
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: color 0.3s, background 0.3s;
}

nav.navbar .dropdown-item:hover {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Hamburger icon */
nav.navbar .menu-icon .icon {
  color: var(--ash);
  transition: color 0.3s;
}

nav.navbar .menu-icon:hover .icon {
  color: var(--gold);
}

nav.navbar .search-form .search-icon .open-search,
nav.navbar .search-form .search-icon .close-search {
  color: var(--ash);
  transition: color 0.3s;
}

nav.navbar .search-form .search-icon:hover .open-search {
  color: var(--gold);
}

/* ── Navbar CTA Button ──────────────────────────────────────── */
.navbar-right {
  gap: 1rem;
}

.navbar-cta {
  font-size: clamp(0.62rem, 0.78vw, 0.68rem) !important;
  padding: 0.45rem 1.1rem !important;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s !important;
}

.navbar-cta:hover {
  background: #D4A33C !important;
  letter-spacing: 0.3em !important;
  color: #fff !important;
}

/* ── Theme Toggle Button ────────────────────────────────────── */
.theme-toggle {
  background: none;
  border: none;
  color: var(--ash);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  flex-shrink: 0;
  outline: none;
  padding: 4px;
  margin-left: 12px;
}

.theme-toggle:hover {
  color: var(--gold);
}

/* Dark mode (default): show sun, hide moon */
.theme-icon-light { display: block; }
.theme-icon-dark  { display: none; }

/* Light mode: show moon, hide sun */
:root.light .theme-icon-light { display: none; }
:root.light .theme-icon-dark  { display: block; }

/* Logo theme switching — variants are pre-colored, no invert needed */
.logo-variant-light { display: none; }
:root.light .logo-variant-dark  { display: none; }
:root.light .logo-variant-light { display: block; }

.navbar .logo img,
.hamenu .logo img {
  filter: none;
}

:root.light nav.navbar.scrolled .logo img {
  filter: none;
}

.topnav {
  display: flex;
  align-items: center;
}

/* ── Hamenu (full-screen mobile nav) ───────────────────────── */
.hamenu {
  background-color: var(--ink);
}

.hamenu.open {
  left: 0;
}

.hamenu .close-menu {
  color: var(--ash);
  border-color: var(--gold-line);
}

.hamenu .close-menu:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hamenu .fill-text,
.hamenu .link {
  color: var(--smoke);
}

.hamenu .sub-link {
  color: var(--ash);
  transition: color 0.3s;
}

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

.hamenu h6.sub-title {
  color: var(--gold) !important;
  font-family: var(--display);
  letter-spacing: 0.2em;
}

.hamenu h5, .hamenu h5 a {
  color: var(--smoke);
}

.hamenu .menu-links .main-menu > li .link {
  font-family: var(--display) !important;
  letter-spacing: 0.12em;
  font-weight: 300;
}

/* ── Hamenu cont-info panel (right side) ────────────────────── */
.hamenu .cont-info::after {
  background: var(--ink-2);
}

:root.light .hamenu .cont-info::after {
  background: var(--ink-2);
}

/* ── Hamenu light mode overrides ───────────────────────────── */
:root.light .hamenu .menu-links .main-menu > li .link {
  border-top-color: var(--gold-line);
}

:root.light .hamenu .menu-links .main-menu > li:last-of-type .link {
  border-bottom-color: var(--gold-line);
}

:root.light .hamenu .menu-links .main-menu > li .link .fill-text {
  color: rgba(20, 18, 16, 0.45);
}

:root.light .hamenu .menu-links .main-menu > li .link .fill-text::after {
  color: var(--smoke);
}

:root.light .hamenu .menu-links .main-menu > li .link i::before,
:root.light .hamenu .menu-links .main-menu > li .link i::after {
  background: var(--smoke);
}

:root.light .hamenu .menu-text .text h2 {
  color: var(--smoke);
}

/* ── Hamenu open state ──────────────────────────────────────── */
.hamenu.open {
  background-color: var(--ink);
  border-right: 1px solid var(--gold-line);
}

.hamenu.open::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────────────────────── */
.butn {
  font-family: var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.3s, border-color 0.3s, color 0.3s, letter-spacing 0.3s;
  cursor: pointer;
}

.butn.butn-bg {
  background: var(--gold) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
}

.butn.butn-bg:hover {
  background: var(--gold-2) !important;
  letter-spacing: 0.25em;
}

.butn.butn-bord {
  border: 1px solid var(--gold-line) !important;
  color: var(--gold) !important;
  background: transparent !important;
}

.butn.butn-bord:hover {
  border-color: var(--gold) !important;
  background: var(--gold-glow) !important;
  color: var(--gold-2) !important;
}

.butn.butn-bord:hover span {
  color: var(--gold-2) !important;
}

/* LED glass button (footer CTA) */
.led-glass-btn {
  color: var(--smoke);
  border: 1px solid var(--gold-line);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.led-glass-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ── Borders & Dividers ─────────────────────────────────────── */
.bord-thin-top,
.bord-thin-bottom,
.bord {
  border-color: var(--gold-line) !important;
}

/* ── Gold Utility Classes (new) ─────────────────────────────── */
.gold-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.gold-rule.left {
  margin: 0;
}

.section-tag {
  font-family: var(--body);
  font-size: clamp(0.78rem, 1vw, 0.82rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

h1.section-tag, h2.section-tag, h3.section-tag, h4.section-tag, h5.section-tag, h6.section-tag {
  font-size: clamp(0.78rem, 1vw, 0.82rem);
  font-family: var(--body);
  font-weight: 400;
  line-height: inherit;
}

.sep {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0 4rem;
}

.sep-line {
  flex: 1;
  height: 1px;
  background: var(--gold-line);
}

.sep-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
  flex-shrink: 0;
}

.accent-box {
  border-left: 1px solid var(--gold);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: var(--gold-glow);
  position: relative;
}

.accent-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 40%;
  background: var(--gold-2);
}

.accent-box p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.6;
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Image Treatment ────────────────────────────────────────── */
.imginc img,
.portfolio-img img,
.work-img img,
.proj img,
.gallery-img img {
  filter: grayscale(65%) brightness(0.58) contrast(1.05);
  transition: filter 0.9s var(--ease);
}

.imginc:hover img,
.portfolio-img:hover img,
.work-img:hover img,
.proj:hover img,
.gallery-img:hover img {
  filter: grayscale(12%) brightness(0.88) contrast(1.02);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer,
.modern-footer {
  margin-top: -1px;
  position: relative;
  background-color: var(--ink) !important;
  width: 100%;
}

.footer-inner {
  width: 100%;
  padding-left: clamp(1.5rem, 5vw, 6rem);
  padding-right: clamp(1.5rem, 5vw, 6rem);
}

footer::before,
.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

:root.light footer,
:root.light .modern-footer {
  background-color: var(--ink) !important;
}

.modern-footer a:not(.btn-primary):hover,
footer a:not(.btn-primary):hover {
  color: var(--gold) !important;
}

.footer-social-link {
  color: var(--ash);
  transition: color 0.3s;
}

.footer-social-link:hover {
  color: var(--gold) !important;
}

.footer-brand-link { text-decoration: none; }
.footer-nav-list     { gap: 20px; }
.footer-social-inline { gap: 20px; }

/* Main two-column grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 80px 0 60px;
  position: relative;
}

.footer-main-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Left column */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 60px;
  position: relative;
}

.footer-col-brand::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.footer-brand-wordmark {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--smoke);
  display: block;
}

.footer-brand-descriptor {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash-2);
  line-height: 1.8;
  margin: 0;
}

/* Right column */
.footer-col-right {
  display: flex;
  flex-direction: column;
  padding-left: 60px;
  gap: 40px;
}

/* CTA block */
.footer-cta-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-cta-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  color: var(--smoke);
  margin: 0;
}

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

.footer-cta-btn {
  display: inline-block;
  padding: 11px 28px;
  background-color: var(--gold);
  color: var(--ink) !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s;
}

.footer-cta-btn:hover {
  background-color: var(--gold-2) !important;
  color: var(--ink) !important;
}

.footer-email-chip {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.footer-email-chip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.footer-email-chip:hover::after {
  opacity: 1;
}

/* Info rows (Quick Contact, Social Media) */
.footer-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.footer-info-rows::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
}

.footer-info-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
}

.footer-info-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}

.footer-info-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-info-content a {
  font-size: 0.85rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info-content a:hover {
  color: var(--gold) !important;
}

/* Copyright bar */
.footer-copyright-bar {
  gap: 16px;
  padding: 28px 0;
  position: relative;
}

.footer-copyright-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
}

.footer-copyright-text {
  color: var(--ash-2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 991px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    padding: 60px 0 40px;
    gap: 50px;
  }

  .footer-col-brand {
    padding-right: 0;
    padding-bottom: 40px;
    gap: 24px;
  }

  .footer-col-brand::after {
    display: none;
  }

  .footer-col-right {
    padding-left: 0;
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .footer-cta-headline {
    font-size: 1.5rem;
  }

  .footer-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-email-chip {
    font-size: 0.72rem;
  }
}

/* ── Light Mode Overrides ───────────────────────────────────── */
:root.light body,
:root.light .main-bg {
  background-color: var(--ink) !important;
  color: var(--smoke);
}

:root.light .sub-bg {
  background-color: var(--ink-2) !important;
}

:root.light .sub-bg2 {
  background-color: var(--ink-3) !important;
}

:root.light h1,
:root.light h2,
:root.light h3,
:root.light h4,
:root.light h5,
:root.light h6 {
  color: var(--smoke);
}

:root.light p,
:root.light li {
  color: var(--ash);
}

:root.light .butn.butn-bg {
  background: var(--gold) !important;
  color: #fff !important;
}

:root.light .butn.butn-bord {
  border-color: var(--gold-line) !important;
  color: var(--gold) !important;
}

:root.light .butn.butn-bord:hover {
  border-color: var(--gold) !important;
  background: var(--gold-glow) !important;
  color: var(--gold-2) !important;
}

:root.light .butn.butn-bord:hover span {
  color: var(--gold-2) !important;
}

:root.light .imginc img,
:root.light .portfolio-img img,
:root.light .work-img img {
  filter: grayscale(55%) brightness(0.88) contrast(1.04);
}

:root.light .imginc:hover img,
:root.light .portfolio-img:hover img,
:root.light .work-img:hover img {
  filter: grayscale(12%) brightness(1.0) contrast(1.01);
}

:root.light nav.navbar .dropdown-menu {
  border-color: var(--gold-line);
}

/* Navbar transparent state sits over dark hero photo — keep links legible */
:root.light nav.navbar:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.72) !important;
}
:root.light nav.navbar:not(.scrolled) .nav-link:hover {
  color: var(--gold) !important;
}

/* Icons: white in non-scrolled state (both themes — transparent navbar over dark hero) */
nav.navbar:not(.scrolled) .menu-icon .icon,
:root.light nav.navbar:not(.scrolled) .menu-icon .icon {
  color: rgba(255,255,255,0.8);
}

nav.navbar:not(.scrolled) .search-form .search-icon .open-search,
nav.navbar:not(.scrolled) .search-form .search-icon .close-search,
:root.light nav.navbar:not(.scrolled) .search-form .search-icon .open-search,
:root.light nav.navbar:not(.scrolled) .search-form .search-icon .close-search {
  color: rgba(255,255,255,0.8);
}

nav.navbar:not(.scrolled) .theme-toggle,
:root.light nav.navbar:not(.scrolled) .theme-toggle {
  color: rgba(255,255,255,0.8);
}

nav.navbar:not(.scrolled) .nav-link .nav-chevron {
  color: rgba(255,255,255,0.8);
}

/* ── Loader ─────────────────────────────────────────────────── */
#loader-wrapper,
.loader-section {
  background-color: var(--ink) !important;
}

#loader .loader-section .bg {
  background-color: var(--ink) !important;
}

.loader-wrap {
  background-color: #141412 !important;
}

.loader-wrap svg path {
  fill: #141412;
}

.load-text span {
  color: #ceaf6e;
}

/* ── Link Colors ────────────────────────────────────────────── */
a {
  transition: color 0.3s;
}

.abcubed-accent {
  color: var(--gold-3) !important;
}

/* ── Loader ─────────────────────────────────────────────────── */
.loading .tp-loader {
  background-color: var(--gold) !important;
}

/* ── Utility overrides ──────────────────────────────────────── */
.text-muted-light {
  color: var(--ash);
  transition: color 0.3s;
}

.text-muted-light:hover {
  color: var(--smoke);
}

/* Allerta Stencil decorative uses → Syncopate */
.allerta-display {
  font-family: var(--display);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ================================================================
   HOMEPAGE LAYOUT — ported from reference design
   ================================================================ */

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  font-family: var(--body);
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff !important;
  background: #C5922A !important;
  border: none !important;
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background 0.3s, letter-spacing 0.3s, color 0.3s;
  display: inline-block;
  cursor: pointer;
}
.btn-primary:hover { background: #D4A33C !important; letter-spacing: 0.35em; color: #1a1209 !important; }
.btn-primary:focus, .btn-primary:active, .btn-primary:focus-visible { outline: none !important; box-shadow: none !important; border: none !important; }
.btn-ghost {
  font-family: var(--body);
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s, gap 0.3s;
  cursor: pointer;
}
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--smoke); gap: 1rem; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: grayscale(70%) brightness(0.52) contrast(1.05);
  transform: scale(1.02);
  transition: filter 1.2s var(--ease), transform 8s ease;
}
.hero:hover .hero-photo {
  filter: grayscale(10%) brightness(0.78) contrast(1.01);
  transform: scale(1.05);
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,9,0.55) 0%, rgba(10,10,9,0.15) 40%, rgba(10,10,9,0.4) 75%, rgba(10,10,9,0.82) 100%),
    linear-gradient(90deg, rgba(10,10,9,0.6) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 75% 55%, rgba(206,173,106,0.07) 0%, transparent 60%);
}
:root.light .hero-photo { filter: grayscale(60%) brightness(0.88) contrast(1.05); }
:root.light .hero:hover .hero-photo { filter: grayscale(10%) brightness(1.0) contrast(1.01); }
:root.light .hero-photo-overlay {
  background:
    linear-gradient(180deg, rgba(10,10,9,0.42) 0%, rgba(10,10,9,0.1) 40%, rgba(10,10,9,0.35) 75%, rgba(10,10,9,0.78) 100%),
    linear-gradient(90deg, rgba(10,10,9,0.48) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 75% 55%, rgba(206,173,106,0.06) 0%, transparent 60%);
}
.hero-streak {
  position: absolute; top: 0; bottom: 0; right: 35%; width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold-line) 20%, rgba(206,173,106,0.38) 50%, var(--gold-line) 80%, transparent 100%);
}
.hero-streak-2 {
  position: absolute; top: 10%; height: 55%; left: 8%; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(206,173,106,0.2) 30%, rgba(206,173,106,0.32) 60%, transparent 100%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 4rem clamp(3rem, 6vh, 5rem);
  max-width: 800px;
  height: 100%;
  position: relative;
  z-index: 2;
  animation: lux-fadeUp 1.4s var(--ease) both;
}
.hero-eyebrow {
  font-family: var(--body);
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: lux-fadeUp 1s 0.2s var(--ease) both;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--smoke);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: lux-fadeUp 1s 0.4s var(--ease) both;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-title .accent-word { color: var(--gold-2); font-style: italic; }
:root.light .hero-title { color: #fff; }
:root.light .hero-title em { color: var(--gold); }
:root.light .hero-eyebrow { color: #ceaf6e; }
:root.light .hero .btn-ghost { color: rgba(255,255,255,0.72); }
:root.light .hero .btn-ghost:hover { color: #fff; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--ash);
  max-width: 380px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: lux-fadeUp 1s 0.6s var(--ease) both;
}
:root.light .hero-sub { color: rgba(255,255,255,0.78); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 3rem;
  opacity: 0;
  animation: lux-fadeUp 1s 0.8s var(--ease) both;
}
.hero-strip {
  display: grid;
  height: 300px;
  opacity: 0;
  animation: lux-fadeUp 1s 1s var(--ease) both;
}
.hero-img { overflow: hidden; clip-path: inset(0); position: relative; height: 100%; }
.hero-img--bordered { box-shadow: inset -1px 0 0 var(--gold-line); }
.gold-border-hover::before,
.gold-border-hover::after {
  content: ''; position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
  z-index: 3; pointer-events: none;
}
.gold-border-hover::before { top: 0; }
.gold-border-hover::after { bottom: 0; }
.gold-border-hover:hover::before,
.gold-border-hover:hover::after { transform: scaleX(1); }
.hero-img::before,
.hero-img::after {
  content: ''; position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
  z-index: 3; pointer-events: none;
}
.hero-img::before { top: 0; }
.hero-img::after { bottom: 0; }
.hero-img:hover::before,
.hero-img:hover::after { transform: scaleX(1); }
.hero-img img {
  width: 100%; height: calc(100% + 2px);
  margin-top: -1px;
  object-fit: cover; display: block;
  filter: grayscale(35%) brightness(0.65) contrast(1.05);
  transition: filter 0.8s, transform 1.2s var(--ease);
}
.hero-img:hover img {
  filter: grayscale(10%) brightness(0.9) contrast(1.02);
  transform: scale(1.04);
}
.img-strip-label {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,9,0.88) 0%, transparent 45%);
  transition: background 0.42s ease;
}
.img-strip-content {
  position: absolute; left: 0; right: 0;
  top: calc(100% - 2rem);
  padding: 0 1.25rem 0.5rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  transition: top 0.46s cubic-bezier(0.25,0.46,0.45,0.94);
}
.img-label {
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.img-desc-hover {
  font-size: clamp(0.86rem, 1.1vw, 0.96rem);
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.02em;
  line-height: 1.55;
}
.hero-img:hover .img-strip-label {
  background: rgba(10,10,9,0.74);
}
.hero-img:hover .img-strip-content {
  top: 0.85rem;
}
:root.light .img-label { color: #ceaf6e; }
:root.light .hero-img img { filter: grayscale(60%) brightness(0.88) contrast(1.05); }
:root.light .hero-img:hover img { filter: grayscale(20%) brightness(1.0) contrast(1.01); }

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

/* ── Stats Bar ───────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stats-bar::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%; background: var(--gold-line);
}
.stat-item { padding: 2.5rem 4rem; border-right: 1px solid var(--gold-line); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-size: 3rem; font-weight: 300;
  color: var(--smoke); line-height: 1;
  display: flex; align-items: flex-start; gap: 0.1em;
}
.stat-num sup { font-size: 1rem; color: var(--gold); margin-top: 0.4rem; }
.stat-label {
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ash-2); margin-top: 0.5rem;
}

/* ── Section base ────────────────────────────────────────────── */
.lux-section { padding: 8rem 4rem; position: relative; }
.section-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 300; line-height: 1.15;
  color: var(--smoke); margin-top: 1.5rem; margin-bottom: 2rem;
}
.section-title em { color: var(--gold); font-style: italic; }
.body-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--ash); line-height: 1.95;
  margin-bottom: 1.5rem; letter-spacing: 0.02em;
}
.section-deco {
  position: absolute; top: 0; right: 4rem;
  width: 1px; height: 120px;
  background: linear-gradient(180deg, var(--gold-line), transparent);
}
:root.light .section-title { color: var(--smoke); }
:root.light .body-text { color: var(--ash); }
:root.light .section-title em { color: var(--gold); }

/* ── Services Grid ───────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--gold-line);
}
.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--gold-line);
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.service-card:last-child { border-right: none; }
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
}
.service-card:hover { background: rgba(206,173,106,0.06); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--display);
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.2em; color: var(--gold); opacity: 0.7; margin-bottom: 2rem;
}
.service-title {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 300; color: var(--smoke);
  line-height: 1.2; margin-bottom: 1.25rem;
}
.service-body {
  font-size: clamp(1rem, 1.5vw, 1.05rem);
  color: var(--ash-2); line-height: 1.85; letter-spacing: 0.02em;
}
.service-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 2rem;
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; transition: gap 0.3s, opacity 0.3s;
  opacity: 0;
}
.service-card:hover .service-link { opacity: 1; }
.service-link:hover { gap: 0.75rem; color: var(--gold-2); }
.service-link::after { content: '→'; }
:root.light .service-body { color: var(--ash-2); }

/* ── Portfolio / Projects Grid ───────────────────────────────── */
.portfolio-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 4rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 420px 300px;
  gap: 2px;
  background: linear-gradient(to bottom, rgba(160,132,78,0.1), var(--gold-3) 30%, var(--gold-2) 70%, rgba(160,132,78,0.1));
}
.project-card {
  position: relative; overflow: hidden;
  cursor: pointer; background: var(--ink-3);
  text-decoration: none;
}
.project-card:first-child { grid-row: 1 / 3; }
.project-bg { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.project-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(70%) brightness(0.55) contrast(1.05);
  transition: filter 0.8s var(--ease);
}
.project-card:hover .project-bg { transform: scale(1.06); }
.project-card:hover .project-bg img { filter: grayscale(25%) brightness(0.75) contrast(1.02); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,9,0.85) 0%, transparent 50%);
  transition: background 0.4s;
}
.project-card:hover .project-overlay {
  background: linear-gradient(0deg, rgba(10,10,9,0.9) 0%, rgba(10,10,9,0.2) 100%);
}
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem;
}
.project-category {
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.project-name {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 300; color: var(--smoke); line-height: 1.2;
}
.project-card:first-child .project-name { font-size: 2.2rem; }
.project-year {
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  color: var(--ash-2); margin-top: 0.4rem; letter-spacing: 0.1em;
}
:root.light .project-bg img { filter: grayscale(40%) brightness(0.85) contrast(1.03); }
:root.light .project-card:hover .project-bg img { filter: grayscale(10%) brightness(1.0) contrast(1.01); }
:root.light .project-overlay { background: linear-gradient(0deg, rgba(5,5,5,0.55) 0%, transparent 55%); }
:root.light .project-card:hover .project-overlay { background: linear-gradient(0deg, rgba(5,5,5,0.65) 0%, rgba(5,5,5,0.1) 100%); }
:root.light .project-name { color: #fff; }
:root.light .project-year { color: rgba(255,255,255,0.75); }
:root.light .project-category { color: #ceaf6e; }

/* ── Process List ────────────────────────────────────────────── */
.process-list {
  counter-reset: process;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--gold-line); margin-top: 4rem;
}
.process-item {
  padding: 3rem 2rem;
  border-right: 1px solid var(--gold-line); position: relative;
}
.process-item:last-child { border-right: none; }
.process-item::before {
  counter-increment: process;
  content: '0' counter(process);
  font-family: var(--display);
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  letter-spacing: 0.25em; color: var(--gold);
  opacity: 0.8; display: block; margin-bottom: 1.5rem;
}
.process-item::after {
  content: ''; position: absolute;
  top: 3rem; right: 2rem;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: 0.5;
}
.process-title {
  font-family: var(--serif); font-size: 1.2rem;
  font-weight: 300; color: var(--smoke);
  margin-bottom: 1rem; line-height: 1.25;
}
.process-body {
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  color: var(--ash-2); line-height: 1.85;
}
:root.light .process-body { color: var(--ash-2); }

/* ── Team Grid ───────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 4rem;
}
.team-member { text-align: center; position: relative; }
.team-member::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s var(--ease); z-index: 1;
}
.team-member:hover::before { transform: scaleX(1); }
.team-photo {
  width: 100%; aspect-ratio: 3/4;
  background: var(--ink-3); margin-bottom: 1.5rem;
  position: relative; overflow: hidden;
}
.team-portrait {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
  filter: grayscale(25%) brightness(0.6) contrast(1.05);
  transition: filter 0.8s var(--ease);
}
.team-member:hover .team-portrait { filter: grayscale(25%) brightness(0.82) contrast(1.02); }
.team-name {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 300; color: var(--smoke);
  margin-bottom: 0.25rem; letter-spacing: 0.05em;
}
.team-role {
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); opacity: 0.8;
}
:root.light .team-name { color: var(--smoke); }
:root.light .team-portrait { filter: grayscale(60%) brightness(0.9) contrast(1.02); }
:root.light .team-member:hover .team-portrait { filter: grayscale(20%) brightness(1.0) contrast(1.0); }

/* ── Contact Section ─────────────────────────────────────────── */
.contact-section {
  border-top: 1px solid var(--gold-line);
  display: grid; grid-template-columns: 1fr 1fr;
}
.contact-left {
  padding: 8rem 4rem; border-right: 1px solid var(--gold-line); position: relative;
}
.contact-left::before {
  content: ''; position: absolute; top: 0; right: -1px;
  width: 1px; height: 40%;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.contact-right { padding: 8rem 4rem; }
.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  font-weight: 300; line-height: 1.15;
  color: var(--smoke); margin: 1.5rem 0 2rem;
}
.contact-title em { font-style: italic; color: var(--gold); }
.contact-details { margin-top: 3rem; }
.contact-item {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(206,173,106,0.13);
}
.contact-item-label {
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--ash-2);
}
.contact-item-value {
  font-family: var(--serif); font-size: 1rem;
  font-weight: 300; color: var(--smoke); letter-spacing: 0.03em;
}
:root.light .contact-section { border-color: var(--gold-line); }
:root.light .contact-left { border-color: var(--gold-line); }
:root.light .contact-title em { color: var(--gold); }
:root.light .contact-item-value { color: var(--smoke); }
:root.light .contact-item-label { color: var(--ash-2); }

/* ── Contact Form ────────────────────────────────────────────── */
.lux-form-group { margin-bottom: 2rem; }
.lux-form-label {
  display: block;
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ash-2); margin-bottom: 0.75rem;
}
.lux-form-input,
.lux-form-textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--gold-line);
  padding: 0.75rem 0; color: var(--smoke);
  font-family: var(--body);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 300; outline: none;
  transition: border-color 0.3s; letter-spacing: 0.02em;
}
.lux-form-input:focus,
.lux-form-textarea:focus { border-bottom-color: var(--gold); }
.lux-form-input::placeholder,
.lux-form-textarea::placeholder { color: var(--ash-2); }
.lux-form-textarea { resize: none; height: 100px; display: block; }
.lux-form-submit {
  font-family: var(--body);
  font-size: clamp(0.82rem, 1.05vw, 0.875rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: #fff; background: var(--gold); border: none;
  padding: 1rem 2.5rem; cursor: pointer;
  transition: background 0.3s, letter-spacing 0.3s;
  width: 100%; margin-top: 1rem;
}
.lux-form-submit:hover { background: var(--gold-2); letter-spacing: 0.35em; }
:root.light .lux-form-input,
:root.light .lux-form-textarea { color: var(--smoke); border-bottom-color: var(--gold-line); }
:root.light .lux-form-input::placeholder,
:root.light .lux-form-textarea::placeholder { color: var(--ash-2); }
:root.light .lux-form-label { color: var(--ash-2); }

/* ── Welcome: About Photo ────────────────────────────────────── */
.about-studio-cta { margin-top: 2.5rem; }
.about-photo-frame { height: 520px; position: relative; overflow: hidden; }
.about-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  filter: grayscale(60%) brightness(0.55) contrast(1.05);
  transition: filter 1s var(--ease), transform 1.2s var(--ease);
}
.about-photo:hover { filter: grayscale(10%) brightness(0.8) contrast(1.02); transform: scale(1.04); }
:root.light .about-photo { filter: grayscale(40%) brightness(0.88) contrast(1.02); }
:root.light .about-photo:hover { filter: grayscale(10%) brightness(1.0) contrast(1.0); }
.about-photo-border { position: absolute; inset: 0; border: 1px solid var(--gold-line); pointer-events: none; }
.about-photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem;
  background: linear-gradient(0deg, rgba(10,10,9,0.82) 0%, transparent 100%);
  pointer-events: none;
}
.about-photo-caption-inner {
  border-top: 1px solid var(--gold-line); padding-top: 1rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.about-photo-caption .img-title { font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.about-photo-credit {
  font-family: var(--serif); font-size: clamp(0.95rem, 1.2vw, 1rem);
  color: rgba(255,255,255,0.6); font-style: italic;
}

/* ── Welcome: Section Utilities ──────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-footer { text-align: center; margin-top: 3rem; }
.section-tag--centered { justify-content: center; }
.section-tag-dash { transform: scaleX(-1); display: block; }
.section-title--lg { font-size: clamp(2.2rem, 3.2vw, 3.5rem); }
.portfolio-header .section-title { font-size: clamp(2.2rem, 3.2vw, 3.5rem); margin-top: 1rem; margin-bottom: 0; }

/* ── Welcome: Button Variants ────────────────────────────────── */
.btn-ghost--ash { color: var(--ash); }
.btn-ghost--gold { color: var(--gold); }
.btn-ghost--gold:hover { color: var(--gold-2); }
.btn-ghost--inline { display: inline-flex; color: var(--ash); }

/* ── Welcome: Contact ────────────────────────────────────────── */
.contact-body-text { max-width: 340px; }
.contact-details a { color: inherit; text-decoration: none; transition: color 0.3s; }
.contact-details a:hover { color: var(--gold); }
.contact-form { margin-top: 2rem; }

/* ── Navbar: true-center nav links via absolute positioning ──── */
@media (min-width: 1200px) {
  nav.navbar .navbar-collapse {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ── Responsive: Tablet 993–1199px (navbar xl gap) ──────────── */
@media (min-width: 993px) and (max-width: 1199px) {
  .navbar .search-form {
    display: none;
  }
}

/* ── Responsive: Tablet 481–1024px ──────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { padding: clamp(5rem, 12vh, 9rem) 2.5rem calc(260px + 2rem); }
  .hero-strip { height: 260px; }
  .lux-section { padding: 5rem 2.5rem; }
  .section-grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .sep { margin: 0 2.5rem !important; }
  .section-deco { right: 2.5rem; }
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 2rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--gold-line); }
  .service-card:last-child { border-bottom: none; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 240px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-item:nth-child(2) { border-right: none; }
  .process-item:nth-child(3) { border-top: 1px solid var(--gold-line); }
  .process-item:nth-child(4) { border-top: 1px solid var(--gold-line); border-right: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--gold-line); padding: 5rem 2.5rem; }
  .contact-right { padding: 5rem 2.5rem; }
}

/* ── Responsive: Mobile navbar ──────────────────────────────── */
@media (max-width: 767px) {
  .navbar-cta {
    font-size: 0.58rem !important;
    padding: 0.3rem 0.7rem !important;
    letter-spacing: 0.12em;
  }
  .navbar-right { gap: 0.75rem; }
  nav.navbar .container-fluid { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ── Responsive: Mobile ≤640px ───────────────────────────────── */
@media (max-width: 640px) {
  .hero-content { padding: clamp(4rem, 10vh, 7rem) 1.25rem 2.5rem; max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-streak, .hero-streak-2 { display: none; }
  .hero-strip { display: none; }
  .lux-section { padding: 4rem 1.25rem; }
  .section-grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-deco { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar::before { display: none; }
  .stat-item { padding: 1.75rem 1.25rem; border-right: none; border-bottom: 1px solid var(--gold-line); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--gold-line); }
  .stat-item:last-child { border-bottom: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-num { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2rem 1.25rem; border-right: none; border-bottom: 1px solid var(--gold-line); }
  .service-card:last-child { border-bottom: none; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .projects-grid .project-card { height: 260px; }
  .projects-grid .project-card:first-child { grid-row: auto; height: 320px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
  .process-list { grid-template-columns: 1fr; border-top: none; }
  .process-item { border-right: none; border-top: 1px solid var(--gold-line); padding: 2rem 1.25rem; }
  .process-item::after { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--gold-line); padding: 4rem 1.25rem; }
  .contact-right { padding: 4rem 1.25rem; }
  .contact-left::before { display: none; }
}

/* ================================================================
   PORTFOLIO ARTICLE — Luxury Overrides
   ================================================================ */

/* ── Article Hero ─────────────────────────────────────────────── */
.article-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
}

.article-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: grayscale(60%) brightness(0.52) contrast(1.06);
  transform: scale(1.03);
  transition: filter 1.4s var(--ease), transform 10s ease;
}

.article-hero:hover .article-hero-photo {
  filter: grayscale(15%) brightness(0.78) contrast(1.02);
  transform: scale(1.06);
}

:root.light .article-hero-photo { filter: grayscale(50%) brightness(0.85) contrast(1.04); }
:root.light .article-hero:hover .article-hero-photo { filter: grayscale(10%) brightness(1.0) contrast(1.01); }

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,9,0.45) 0%, rgba(10,10,9,0.08) 35%, rgba(10,10,9,0.45) 65%, rgba(10,10,9,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,9,0.55) 0%, transparent 60%);
}

.article-hero-streak {
  position: absolute;
  top: 0; bottom: 0; right: 38%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold-line) 20%, rgba(206,173,106,0.32) 55%, var(--gold-line) 80%, transparent 100%);
}

.article-hero-content {
  position: absolute;
  bottom: clamp(3.5rem, 7vh, 5.5rem);
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: 2;
  max-width: 860px;
  padding-right: clamp(1.5rem, 5vw, 5rem);
  animation: lux-fadeUp 1.2s var(--ease) both;
}

.article-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: lux-fadeUp 1s 0.15s var(--ease) both;
}

.article-hero-breadcrumb a {
  font-size: clamp(0.72rem, 0.9vw, 0.78rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.article-hero-breadcrumb a:hover { color: var(--gold); }

.article-hero-breadcrumb-sep {
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

.article-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: lux-fadeUp 1s 0.3s var(--ease) both;
}

.article-hero-category {
  font-size: clamp(0.78rem, 1vw, 0.82rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-hero-year {
  font-size: clamp(0.78rem, 1vw, 0.82rem);
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}

.article-hero-divider {
  width: 1px;
  height: 14px;
  background: var(--gold-line);
  flex-shrink: 0;
}

.article-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--smoke);
  margin: 0;
  opacity: 0;
  animation: lux-fadeUp 1s 0.5s var(--ease) both;
}

.article-hero-title em { font-style: italic; color: var(--gold); }

:root.light .article-hero-title { color: #fff; }
:root.light .article-hero-title em { color: var(--gold); }
:root.light .article-hero-category { color: #ceaf6e; }

.article-hero-scroll-hint {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(3.5rem, 7vh, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: lux-fadeUp 1s 1s var(--ease) both;
  z-index: 2;
}

.article-hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.article-hero-scroll-label {
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transform: rotate(180deg);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── Article Dimensions (metadata bar) ───────────────────────── */
.article-dimensions {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.article-dimensions-inner {
  display: grid;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.article-dimensions-inner--2 { grid-template-columns: 1fr 1fr; }
.article-dimensions-inner--3 { grid-template-columns: repeat(3, 1fr); }
.article-dimensions-inner--4 { grid-template-columns: repeat(4, 1fr); }

.article-meta-item {
  padding: 2.75rem 2.5rem;
  border-right: 1px solid var(--gold-line);
  position: relative;
}

.article-meta-item:last-child { border-right: none; }

.article-meta-label {
  font-size: clamp(0.72rem, 0.9vw, 0.76rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
  display: block;
}

.article-meta-value {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--ash);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ── Article Teaser (3-up image strip) ───────────────────────── */
.article-teaser {
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(90deg, rgba(160,132,78,0.08), var(--gold-3) 30%, var(--gold-2) 70%, rgba(160,132,78,0.08));
}

.article-teaser-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-3);
  aspect-ratio: 4 / 3;
}

.article-teaser-item--tall { aspect-ratio: 3 / 4; }

.article-teaser-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(60%) brightness(0.58) contrast(1.05);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}

.article-teaser-item:hover .article-teaser-img {
  filter: grayscale(12%) brightness(0.88) contrast(1.02);
  transform: scale(1.04);
}

:root.light .article-teaser-img { filter: grayscale(50%) brightness(0.88) contrast(1.04); }
:root.light .article-teaser-item:hover .article-teaser-img { filter: grayscale(10%) brightness(1.0) contrast(1.01); }

.article-teaser-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,9,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.article-teaser-item:hover .article-teaser-overlay { opacity: 1; }

.article-teaser-expand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(206,173,106,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.article-teaser-item:hover .article-teaser-expand {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.article-teaser-expand svg { color: var(--gold); }

.article-teaser-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.article-teaser-item:hover .article-teaser-caption {
  transform: translateY(0);
}

.article-teaser-caption-title {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ── Article TOC — Luxury Override ───────────────────────────── */
.article-toc {
  padding-left: 0;
  border-left: none;
  position: sticky;
  top: 130px;
}

.article-toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold-line) 15%, var(--gold-line) 85%, transparent);
}

.article-toc-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 1.25rem 0 1.25rem 1.5rem;
  text-decoration: none;
  position: relative;
  border-bottom: 1px solid var(--gold-line);
  transition: padding-left 0.4s var(--ease);
}

.article-toc-link:last-child { border-bottom: none; }

.article-toc-link::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: transparent;
  transition: background 0.4s var(--ease);
}

.article-toc-link:hover::before,
.article-toc-link.is-active::before {
  background: var(--gold);
}

.article-toc-link:hover,
.article-toc-link.is-active {
  padding-left: 2rem;
  text-decoration: none;
}

.article-toc-num {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-3);
  opacity: 0.8;
  transition: color 0.4s, opacity 0.4s;
  font-family: var(--body);
}

.article-toc-title {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ash-2);
  line-height: 1.5;
  transition: color 0.4s;
  font-family: var(--body);
}

.article-toc-link:hover .article-toc-num,
.article-toc-link.is-active .article-toc-num {
  color: var(--gold);
  opacity: 1;
}

.article-toc-link:hover .article-toc-title,
.article-toc-link.is-active .article-toc-title {
  color: var(--smoke);
}

.article-toc-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  display: block;
}

/* ── Article Body Content ────────────────────────────────────── */
.article-body-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

@media (min-width: 768px) {
  .article-body-section {
    padding-left: clamp(1.5rem, 5vw, 5rem);
    padding-right: clamp(1.5rem, 5vw, 5rem);
  }
}

/* Article content typography */
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

:root.light .article-content h2,
:root.light .article-content h3,
:root.light .article-content h4 {
  color: var(--gold-2);
}

.article-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.article-content h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }

.article-content p {
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  color: var(--ash);
  line-height: 1.95;
  letter-spacing: 0.015em;
  margin-bottom: 1.5rem;
}

.article-content blockquote {
  border-left: 1px solid var(--gold);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: var(--gold-glow);
  position: relative;
}

.article-content blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--mist);
  margin: 0;
}

.article-content blockquote::before {
  content: '';
  position: absolute;
  top: 0; left: -1px;
  width: 1px; height: 40%;
  background: var(--gold-2);
}

/* Rich-text list styles (Lexical output) */
.article-content .lex-ul,
.article-content .lex-ol {
  margin: 0 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.article-content .lex-listitem {
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  color: var(--ash);
  line-height: 1.95;
  letter-spacing: 0.015em;
  padding: 0.45rem 0;
  position: relative;
}

.article-content .lex-listitem:first-child {
  border-top: 1px solid var(--gold-line);
}

/* Bold text in list items */
.article-content .lex-listitem .lex-bold {
  color: var(--gold);
  font-weight: 400;
  font-size: 1.2rem;
}

:root.light .article-content .lex-listitem .lex-bold {
  color: var(--gold-3);
}

/* Ordered: counter inline before content */
.article-content .lex-ol {
  counter-reset: lex-item;
}

.article-content .lex-ol > .lex-listitem {
  counter-increment: lex-item;
}

.article-content .lex-ol > .lex-listitem::before {
  content: counter(lex-item, decimal-leading-zero) '  ';
  font-size: 0.6rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  color: var(--gold);
  vertical-align: middle;
}

/* Nested lists */
.article-content .lex-nested-listitem::before {
  content: '–  ';
  color: var(--ash-2);
}

/* Section divider within article content */
[id^="section-"] {
  scroll-margin-top: 130px;
}

/* ── Article Gallery Section ─────────────────────────────────── */
.article-gallery,
.article-materials {
  padding: 0;
  margin-top: 0;
}

.article-gallery-label,
.article-materials-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-gallery-label::after,
.article-materials-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-line);
}

.article-gallery-rows {
  display: flex;
  flex-direction: column;
}

.article-gallery-row {
  display: flex;
  flex-direction: row;
}

.article-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-3);
  flex: 1;
  aspect-ratio: 4 / 3;
}

.article-gallery-row--1 .article-gallery-item {
  aspect-ratio: 16 / 9;
}

.article-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(60%) brightness(0.58) contrast(1.05);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}

.article-gallery-item:hover img {
  filter: grayscale(12%) brightness(0.88) contrast(1.02);
  transform: scale(1.04);
}

:root.light .article-gallery-item img { filter: grayscale(50%) brightness(0.88) contrast(1.04); }
:root.light .article-gallery-item:hover img { filter: grayscale(10%) brightness(1.0) contrast(1.01); }

.article-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,9,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.article-gallery-item:hover .article-gallery-item-overlay { opacity: 1; }

.article-gallery-expand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(206,173,106,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.article-gallery-item:hover .article-gallery-expand {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.article-gallery-expand svg { color: var(--gold); }

.article-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.article-gallery-item:hover .article-gallery-caption { transform: translateY(0); }

.article-gallery-caption-text {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

/* ── Article Materials Section ──────────────────────────────── */
#article-materials {
  scroll-margin-top: 130px;
}


.article-materials-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(2, 1fr);
}

.article-materials-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-materials-item-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  filter: grayscale(30%) brightness(0.85) contrast(1.02);
  transition: filter 0.9s var(--ease);
}

.article-materials-item:hover .article-materials-item-image {
  filter: grayscale(10%) brightness(1.0) contrast(1.01);
}

.article-materials-item-title {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.article-materials-item-description {
  font-size: clamp(0.9rem, 1.2vw, 0.95rem);
  color: var(--ash);
  line-height: 1.8;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ── End Article Materials Section ───────────────────────────── */

/* ── Lightbox ────────────────────────────────────────────────── */
#lux-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

#lux-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lux-lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 7, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lux-lb-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lux-lb-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--gold-line);
  transform: scale(0.96);
  transition: transform 0.45s var(--ease), opacity 0.35s;
}

#lux-lightbox.is-open .lux-lb-img { transform: scale(1); }

.lux-lb-caption-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0;
  border-top: 1px solid var(--gold-line);
  margin-top: 0.75rem;
}

.lux-lb-title {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--ash);
  font-family: var(--body);
}

.lux-lb-counter {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-family: var(--body);
}

.lux-lb-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--gold-line);
  color: var(--ash);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.lux-lb-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.lux-lb-prev,
.lux-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 80px;
  background: none;
  border: 1px solid var(--gold-line);
  color: var(--ash);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.lux-lb-prev { left: 1.5rem; }
.lux-lb-next { right: 1.5rem; }

.lux-lb-prev:hover,
.lux-lb-next:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ── Next Project — Luxury Override ──────────────────────────── */
.lux-next-project {
  border-top: 1px solid var(--gold-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--ink);
}

.lux-next-project::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(180deg, var(--gold-line), transparent);
}

.lux-next-project-item {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.lux-next-project-bg {
  position: absolute;
  inset: 0;
}

.lux-next-project-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(70%) brightness(0.42) contrast(1.05);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}

.lux-next-project-item:hover .lux-next-project-bg img {
  filter: grayscale(20%) brightness(0.7) contrast(1.02);
  transform: scale(1.04);
}

.lux-next-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,9,0.88) 0%, rgba(10,10,9,0.2) 60%);
}

.lux-next-project-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  width: 100%;
}

.lux-next-project-direction {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lux-next-project-direction svg { flex-shrink: 0; }

.lux-next-project-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--smoke);
  line-height: 1.2;
  transition: color 0.3s;
}

.lux-next-project-item--next .lux-next-project-content {
  text-align: right;
}

.lux-next-project-item--next .lux-next-project-direction {
  justify-content: flex-end;
}

.lux-next-project-item:hover .lux-next-project-title { color: var(--gold-2); }

.lux-next-project-item--cta {
  align-items: center;
  justify-content: center;
  background: var(--ink-2);
  transition: background 0.4s var(--ease);
  z-index: 9001;
}

.lux-next-project-item--cta .lux-next-project-content {
  width: auto;
  padding: 0;
}

.lux-next-project-item--cta .lux-next-project-direction {
  margin-bottom: 0;
}

.lux-next-project-item--cta:hover {
  background: var(--gold-glow);
}

.lux-next-project-all {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: var(--ink);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.lux-next-project-all:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.lux-next-project-all svg { color: var(--ash); transition: color 0.3s; }
.lux-next-project-all:hover svg { color: var(--gold); }

/* ── Responsive: Article ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-dimensions-inner--3,
  .article-dimensions-inner--4 { grid-template-columns: repeat(2, 1fr); }
  .article-meta-item:nth-child(2n) { border-right: none; }
  .article-meta-item:nth-child(n+3) { border-top: 1px solid var(--gold-line); }
  .article-teaser { grid-template-columns: 1fr 1fr; }
  .article-teaser-item:last-child { display: none; }
  .article-gallery-rows { display: grid; grid-template-columns: repeat(2, 1fr); }
  .article-gallery-row { display: contents; }
  .article-gallery-item,
  .article-gallery-row--1 .article-gallery-item { aspect-ratio: 4 / 3; }
}

@media (max-width: 767px) {
  .article-hero { min-height: 44vh; }
  .article-hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .article-hero-scroll-hint { display: none; }
  .article-hero-streak { display: none; }
  .article-dimensions-inner--2,
  .article-dimensions-inner--3,
  .article-dimensions-inner--4 { grid-template-columns: 1fr 1fr; }
  .article-meta-item { padding-left: 0; padding-right: 0; }
  .article-teaser { grid-template-columns: 1fr; padding: 0; }
  .article-teaser-item:last-child { display: block; }
  .article-teaser-item { aspect-ratio: 16 / 9; }
  .article-gallery-rows { display: grid; grid-template-columns: 1fr; }
  .article-gallery-row { display: contents; }
  .article-gallery-item,
  .article-gallery-row--1 .article-gallery-item { aspect-ratio: 4 / 3; }
  .lux-next-project { grid-template-columns: 1fr; }
  .lux-next-project::before { display: none; }
  .lux-next-project-item { min-height: 220px; }
  .lux-next-project-item--next .lux-next-project-content { text-align: left; }
  .lux-next-project-item--next .lux-next-project-direction { justify-content: flex-start; }
  .lux-lb-prev { left: 0.5rem; }
  .lux-lb-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .article-dimensions-inner--2,
  .article-dimensions-inner--3,
  .article-dimensions-inner--4 { grid-template-columns: 1fr; }
  .article-meta-item { border-right: none; border-bottom: 1px solid var(--gold-line); }
  .article-meta-item:last-child { border-bottom: none; }
  .article-meta-item:nth-child(n+3) { border-top: none; }
  .article-materials-grid { grid-template-columns: 1fr; }
}
