:root {
  --ink: #0E0E0C;
  --ink-soft: #1A1A18;
  --paper: #FAF8F4;
  --paper-warm: #F2EDE4;
  --rule: rgba(14, 14, 12, 0.12);
  --rule-soft: rgba(14, 14, 12, 0.06);
  --rule-inverse: rgba(255, 255, 255, 0.15);
  --gold: #C28A3A;
  --gold-soft: #D4A155;
  --font-display: "Cormorant Garamond", "Garamond", "Georgia", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========= NAV ========= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(20px);
  padding: 0.75rem 3rem;
  border-bottom: 1px solid var(--rule-soft);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  filter: invert(1) brightness(2);
  transition: filter 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-brand { filter: none; }

.nav-brand img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  justify-self: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: opacity 200ms;
  position: relative;
}

.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { opacity: 0.6; }

.nav-cta {
  justify-self: end;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 200ms;
}

.nav.scrolled .nav-cta { color: var(--ink); }
.nav-cta:hover {
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.625rem 1.25rem;
  border-radius: 24px;
  transition: all 200ms ease;
}
.nav.scrolled .nav-cta:hover {
  background: rgba(14, 14, 12, 0.08);
}
.nav-cta svg { width: 14px; height: 14px; }

/* ========= HERO ========= */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media {
  position: absolute; inset: 0;
  z-index: 1;
}

.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  animation: heroIn 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes heroIn {
  to { opacity: 0.85; transform: scale(1); }
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-content.container {
  padding: 0 3rem 5rem;
}

.hero-meta {
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1.4s forwards;
}

.hero-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.hero-headline {
  align-self: end;
  max-width: 1100px;
  margin-top: -2rem;
}

.hero-headline h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-headline h1 .word {
  display: inline-block;
  overflow: hidden;
}

.hero-headline h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-headline h1 .word:nth-child(1) > span { animation-delay: 0.5s; }
.hero-headline h1 .word:nth-child(2) > span { animation-delay: 0.65s; }
.hero-headline h1 .word:nth-child(3) > span { animation-delay: 0.8s; }

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

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

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1rem;
  max-width: 460px;
  opacity: 0;
  line-height: 1.6;
  animation: fadeIn 1.2s ease-out 1.6s forwards;
  color: rgba(255,255,255,0.78);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  animation: fadeIn 1s ease-out 2s forwards;
}

.scroll-cue .line {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: translateY(-100%); }
  50% { transform: translateY(200%); }
}

/* ========= SECTION BASE ========= */
section {
  position: relative;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.eyebrow .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0;
}

.display-h {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.display-h em {
  font-style: italic;
  color: var(--gold);
}

/* ========= INTRO ========= */
.intro {
  padding: 10rem 0 8rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: stretch;
}

.intro-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intro-left .eyebrow { margin-bottom: 3rem; }

.intro-aside {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(14,14,12,0.6);
  max-width: 280px;
}

.intro-aside .stat {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.intro-headline {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  max-width: 14ch;
}

.intro-body {
  margin-top: 3rem;
  max-width: 540px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(14,14,12,0.7);
}

.intro-meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 540px;
}

.intro-meta .item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.intro-meta .item .label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14,14,12,0.5);
}

/* ========= MARQUEE ========= */
:root { --ticker-scale: 0.55; }

.marquee {
  padding: calc(2rem * var(--ticker-scale)) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: calc(4rem * var(--ticker-scale));
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: calc(clamp(3rem, 7vw, 6rem) * var(--ticker-scale));
  line-height: 1;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: calc(4rem * var(--ticker-scale));
  color: var(--ink);
}

.marquee-track span::after {
  content: '✦';
  color: var(--gold);
  font-size: 0.5em;
}

.marquee-track em {
  font-style: italic;
  color: var(--gold);
}

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

/* ========= FEATURED PROJECTS ========= */
.projects {
  padding: 8rem 0 6rem;
}

.projects-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 6rem;
}

.projects-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.projects-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(14,14,12,0.65);
  max-width: 420px;
  justify-self: end;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 8rem;
  align-items: center;
}

.project-row:nth-child(even) .project-img-wrap { order: 2; }
.project-row:nth-child(even) .project-info { order: 1; padding-right: 0; padding-left: 2rem; }

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--paper-warm);
  max-height: calc(100vh - 80px);
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-row:hover .project-img-wrap img {
  transform: scale(1.04);
}

.project-info {
  padding-right: 2rem;
}

.project-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.project-category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14,14,12,0.5);
  margin-bottom: 1rem;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.project-info p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(14,14,12,0.65);
  margin-bottom: 2rem;
}

.project-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.project-meta .item {
  flex: 1;
}

.project-meta .label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14,14,12,0.5);
  display: block;
  margin-bottom: 0.5rem;
}

.project-meta .val {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ink);
  transition: gap 300ms ease;
}

.arrow-link:hover { gap: 1.25rem; }
.arrow-link svg { width: 16px; height: 16px; }

.view-all {
  text-align: center;
  margin-top: 4rem;
}

.view-all .arrow-link {
  font-size: 0.9rem;
  padding-bottom: 0.75rem;
}

/* ========= SECTORS (DARK) ========= */
.sectors {
  background: var(--ink);
  color: #fff;
  padding: 10rem 0;
}

.sectors-header {
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.sectors-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
}

.sectors-header em { color: var(--gold-soft); }

.sectors-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  line-height: 1.6;
  justify-self: end;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sector-tile {
  position: relative;
  aspect-ratio: 3/5;
  overflow: hidden;
  cursor: pointer;
}

.sector-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.7;
}

.sector-tile:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.sector-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,12,0) 50%, rgba(14,14,12,0.85) 100%);
}

.sector-info {
  position: absolute;
  bottom: 0; left: 0;
  padding: 2rem;
  z-index: 2;
  width: 100%;
}

.sector-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.sector-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sector-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 400ms ease, opacity 400ms ease 100ms;
}

.sector-tile:hover .sector-info p {
  max-height: 100px;
  opacity: 1;
}

/* ========= PHILOSOPHY (LIGHT) ========= */
.philosophy {
  padding: 12rem 0;
  background: var(--paper-warm);
  overflow: hidden;
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.philosophy-text .eyebrow { margin-bottom: 2.5rem; }

.philosophy-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 18ch;
}

.philosophy-text p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(14,14,12,0.7);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.philosophy-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.philosophy-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ========= BRAND PARTNERS ========= */
.brands {
  background: var(--ink);
  color: #fff;
  padding: 8rem 0;
}

.brands-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.brands-header .eyebrow { margin-bottom: 1.5rem; }

.brands-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.brands-header p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.brands-tier {
  padding: 2.25rem 0;
  border-top: 1px solid var(--rule-inverse);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.brands-tier:last-of-type {
  border-bottom: 1px solid var(--rule-inverse);
}

.brands-tier-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.brands-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.brands-row li {
  background: #fff;
  border-radius: 6px;
  height: 60px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.brands-row li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.brands-row li.dark {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.brands-row img {
  display: block;
  max-height: 30px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brands-row img.lg {
  max-height: 42px;
  max-width: 150px;
}

.brands-row img.xl {
  max-height: 52px;
  max-width: 190px;
}

/* ========= TESTIMONIALS ========= */
.testimonials {
  padding: 10rem 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.testimonials .eyebrow {
  color: rgba(255,255,255,0.7);
  margin-bottom: 4rem;
  justify-content: center;
}

.testimonial-stage {
  max-width: 1000px;
  margin: 0 auto;
  min-height: 320px;
  position: relative;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.testimonial-quote em { color: var(--gold-soft); }

.testimonial-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-meta .name {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.testimonial-meta .role {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.testimonial-nav {
  display: inline-flex;
  gap: 1rem;
  margin-top: 4rem;
  justify-content: center;
}

.t-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: all 200ms;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.t-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.t-dot {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 300ms;
  border: none;
  padding: 0;
}

.t-dot.active {
  background: var(--gold);
  width: 48px;
}

/* ========= CTA ========= */
.cta-section {
  padding: 10rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 18ch;
  margin: 0 auto 2.5rem;
  line-height: 1;
}

.cta-section .arrow-link {
  font-size: 1rem;
  padding-bottom: 0.75rem;
}

/* ========= FOOTER ========= */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 6rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule-inverse);
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: all 200ms ease;
}

.footer-social svg { width: 16px; height: 16px; }

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col a, .footer-col p, .footer-col address {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-style: normal;
  margin-bottom: 0.75rem;
  transition: color 200ms;
}

.footer-col a:hover, .footer-col a:focus-visible { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ========= REVEAL ========= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.img-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.img-reveal.in {
  clip-path: inset(0 0 0 0);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 968px) {
  .nav { padding: 1.25rem 1.5rem; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-content {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 2.25rem;
  }
  .hero-content.container {
    padding: 6.5rem 1.5rem 3rem;
  }
  .hero-meta {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .hero-meta > span:last-child {
    font-size: 0.65rem;
    opacity: 0.75;
  }
  .hero-headline {
    align-self: auto;
    max-width: 100%;
    margin-top: 0;
  }
  .hero-headline h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-sub { max-width: 100%; }
  .container { padding: 0 1.5rem; }
  .intro { padding: 6rem 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-meta { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .projects-header { grid-template-columns: 1fr; gap: 2rem; }
  .projects-header p { justify-self: start; }
  .project-row { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; }
  .project-row:nth-child(even) .project-img-wrap { order: 1; }
  .project-row:nth-child(even) .project-info { order: 2; padding-left: 0; }
  .project-info { padding-right: 0; }
  .sectors { padding: 6rem 0; }
  .sectors-header { grid-template-columns: 1fr; gap: 2rem; }
  .sectors-header p { justify-self: start; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .philosophy { padding: 6rem 0; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 3rem; }
  .brands { padding: 6rem 0; }
  .brands-header { margin-bottom: 3rem; }
  .brands-tier { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem 0; }
  .brands-row li { height: 52px; padding: 0 1.1rem; }
  .brands-row img { max-height: 24px; max-width: 90px; }
  .brands-row img.lg { max-height: 34px; max-width: 120px; }
  .brands-row img.xl { max-height: 44px; max-width: 150px; }
  .testimonials, .cta-section { padding: 6rem 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* ========= ARCHIVE GRID & COMPACT LAYOUTS ========= */
.nav.nav-always-dark {
  color: var(--ink);
}
.nav.nav-always-dark .nav-brand {
  filter: none;
}
.nav.nav-always-dark .nav-links a {
  color: var(--ink);
}
.nav.nav-always-dark .nav-cta {
  color: var(--ink);
}
.nav.nav-always-dark.scrolled {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule-soft);
}

.archive-hero {
  background: var(--paper);
  padding: 12rem 0 6rem;
}

.archive-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: end;
}

.archive-hero-left .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.5);
  font-weight: 500;
}

.archive-hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 1rem;
}

.archive-hero-left h1 em {
  font-style: italic;
  color: var(--gold);
}

.archive-hero-right p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(14, 14, 12, 0.7);
  max-width: 440px;
  margin-bottom: 0.5rem;
}

.filter-bar {
  position: sticky;
  top: 72px; /* Sits below nav */
  z-index: 90;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 1.25rem 0;
  transition: all 300ms ease;
}

.filter-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-categories {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(14, 14, 12, 0.5);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color 250ms ease;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  color: var(--ink);
  font-weight: 600;
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.35rem; /* Sits exactly on the bottom border line of the filter bar */
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.filter-counter {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(14, 14, 12, 0.4);
}

.filter-counter span {
  color: var(--gold);
  font-weight: 600;
}

.archive-grid-section {
  padding: 4rem 0 8rem;
  background: var(--paper);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  width: 100%;
  transition: all 400ms ease;
}

.archive-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(14, 14, 12, 0.03);
  border: 1px solid rgba(14, 14, 12, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms ease;
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(14, 14, 12, 0.08);
  border-color: rgba(194, 138, 58, 0.2);
}

.archive-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-warm);
  border-radius: 10px;
  position: relative;
  width: 100%;
}

.archive-card-img img, 
.archive-card-img image-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.archive-card:hover .archive-card-img img {
  transform: scale(1.03);
}

.archive-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
}

.archive-card-header-left {
  flex-grow: 1;
}

.archive-card-header-left h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.archive-card-header-left h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 250ms ease;
}

.archive-card:hover .archive-card-header-left h3 a {
  color: var(--gold);
}

.archive-card-header-left h3 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.archive-card-cat {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  background: rgba(194, 138, 58, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.2rem;
}

.archive-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(14, 14, 12, 0.6);
  margin: 0;
  font-weight: 400;
  max-width: 440px;
}

/* Compact layout mode overrides */
.grid.compact {
  grid-template-columns: 1fr;
  gap: 0;
}

.grid.compact .archive-card {
  flex-direction: row;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
  gap: 3rem;
}

.grid.compact .archive-card:hover {
  transform: none;
  box-shadow: none;
}

.grid.compact .archive-card-img {
  width: 140px;
  height: 90px;
  aspect-ratio: 14/9;
  flex-shrink: 0;
  border-radius: 6px;
}

.grid.compact .archive-card-info {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 3rem;
  flex-grow: 1;
}

.grid.compact .archive-card-header {
  width: 100%;
  margin: 0;
}

.grid.compact .archive-card-header-left h3 {
  font-size: 1.35rem;
}

.grid.compact .archive-card p {
  display: none;
}

.archive-cta {
  background: var(--paper);
  padding: 10rem 0;
  text-align: center;
  border-top: 1px solid var(--rule-soft);
}

.archive-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 3.5rem;
}

.archive-cta h2 em {
  font-style: italic;
  color: var(--gold);
}

.archive-cta .arrow-link {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--ink);
}

@media (max-width: 968px) {
  .archive-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .archive-hero-right p {
    max-width: 100%;
  }
  .filter-bar {
    top: 60px;
    padding: 1rem 0;
  }
  .filter-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .filter-categories {
    gap: 1.25rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    max-width: 100%;
  }
  .filter-btn {
    font-size: 0.8rem;
  }
  .filter-btn.active::after {
    bottom: -0.5rem;
  }
  .filter-counter {
    font-size: 0.7rem;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .archive-card {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .grid.compact .archive-card {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 0;
    gap: 1.5rem;
  }
  .grid.compact .archive-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
  }
  .grid.compact .archive-card-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ========= CONTACT PAGE ========= */
.contact-hero {
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--rule);
}

.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.5);
  margin-bottom: 3rem;
}
.breadcrumb a { color: var(--ink); text-decoration: none; }

.contact-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  max-width: 14ch;
}

.contact-hero .lede {
  margin-top: 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(14, 14, 12, 0.65);
  max-width: 540px;
}

.contact-main {
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.form-section {
  padding-right: 4rem;
}

.info-section {
  padding-top: 2rem;
  padding-left: 4rem;
  border-left: 1px solid var(--rule);
}

.form-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.field {
  position: relative;
  margin-bottom: 2rem;
}

.field label {
  position: absolute;
  top: 0; left: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.5);
  transition: color 200ms;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1.75rem 0 0.75rem 0;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  outline: none;
  transition: border-color 300ms;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  padding-top: 2rem;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230E0E0C' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 2rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
}

.field input:focus + label,
.field textarea:focus + label,
.field select:focus + label {
  color: var(--gold);
}

.submit {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 1.25rem 2.5rem;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.submit:hover {
  background: var(--gold);
  gap: 1.5rem;
}

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

.success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(31, 138, 91, 0.08);
  border-left: 3px solid #1F8A5B;
  color: #1F8A5B;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.success.show {
  display: block;
  animation: successIn 0.4s ease;
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-section {
  padding-top: 2rem;
}

.info-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.info-block:last-child {
  border-bottom: none;
}

.info-block .label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.info-block .value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.info-block .value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}

.info-block .value a:hover {
  border-bottom-color: var(--gold);
}

.info-block .desc {
  font-size: 0.9rem;
  color: rgba(14, 14, 12, 0.6);
  line-height: 1.6;
}

.hours {
  list-style: none;
  font-size: 0.95rem;
  color: rgba(14, 14, 12, 0.75);
}

.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--rule-soft);
}

.hours li:last-child { border: none; }

.hours .day { letter-spacing: 0.04em; }

.map-section {
  padding: 4rem 0 8rem;
  border-top: 1px solid var(--rule);
}

.map-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.map-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.map-head p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(14, 14, 12, 0.6);
  max-width: 400px;
  justify-self: end;
}

.map-frame {
  aspect-ratio: 21 / 9;
  background: var(--paper-warm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
}

.map-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(0.95);
}

.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.map-pin .dot {
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(194, 138, 58, 0.2), 0 0 0 14px rgba(194, 138, 58, 0.08);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(194, 138, 58, 0.2), 0 0 0 14px rgba(194, 138, 58, 0.08); }
  50% { box-shadow: 0 0 0 10px rgba(194, 138, 58, 0.3), 0 0 0 22px rgba(194, 138, 58, 0.12); }
}

.map-pin .label {
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1rem;
}

@media (max-width: 968px) {
  .contact-hero { padding: 4rem 0 2rem; }
  .contact-main { padding: 4rem 1.5rem; grid-template-columns: 1fr; gap: 4rem; }
  .form-section { padding-right: 0; }
  .info-section { padding-left: 0; padding-top: 3rem; border-left: none; border-top: 1px solid var(--rule); }
  .form-row { grid-template-columns: 1fr; }
  .map-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .map-head p { justify-self: start; }
  .map-frame { aspect-ratio: 4/3; }
}

/* ========= PROJECT DETAIL PAGE STYLES ========= */
.project-detail-section {
  background: var(--paper);
  padding: 12rem 0 4rem;
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.5);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 200ms ease, gap 200ms ease;
}

.back-link:hover {
  color: var(--ink);
  gap: 0.75rem;
}

.project-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.project-detail-title-wrap .project-breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.4);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.project-detail-title-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.5rem 0;
}

.project-detail-title-wrap h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.project-detail-title-wrap .project-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(14, 14, 12, 0.75);
  max-width: 480px;
}

.project-detail-meta-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(14, 14, 12, 0.03);
  border: 1px solid rgba(14, 14, 12, 0.04);
}

.project-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-detail-meta-item {
  display: flex;
  flex-direction: column;
}

.project-detail-meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.4);
  margin-bottom: 0.5rem;
}

.project-detail-meta-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.project-detail-main-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 6rem;
  background: var(--paper-warm);
}

.project-detail-main-img-wrap image-slot, 
.project-detail-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-narrative-section {
  padding: 2rem 0 6rem;
  background: var(--paper);
}

.project-detail-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.project-detail-narrative-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.project-detail-narrative-left h2 em {
  font-style: italic;
  color: var(--gold);
}

.project-detail-narrative-right .project-story {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(14, 14, 12, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-detail-gallery-section {
  padding: 6rem 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.project-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

.project-detail-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(14, 14, 12, 0.03);
  border: 1px solid rgba(14, 14, 12, 0.04);
}

.project-detail-gallery-item image-slot, 
.project-detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.project-detail-pagination {
  background: var(--paper);
  padding: 6rem 0;
}

.project-detail-pagination-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule-soft);
  padding-top: 4rem;
}

.pagination-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: opacity 200ms ease;
}

.pagination-link:hover {
  opacity: 0.7;
}

.pagination-link.prev {
  align-items: start;
}

.pagination-link.next {
  align-items: end;
}

.pagination-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 14, 12, 0.4);
  margin-bottom: 0.75rem;
}

.pagination-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--ink);
}

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

@media (max-width: 968px) {
  .project-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .project-detail-narrative-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .project-detail-gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .project-detail-pagination-inner {
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
  }
  .pagination-link.next {
    align-items: start;
  }
}

/* Image Source Attribution Caption */
.img-caption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(14, 14, 12, 0.75);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}

/* Horizontal Gallery Slider */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-count {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--card-bg, #fff);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  border-color: var(--rule);
  color: var(--fg);
}

.gallery-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.gallery-scroll-container::-webkit-scrollbar {
  height: 4px;
}
.gallery-scroll-container::-webkit-scrollbar-track {
  background: rgba(14, 14, 12, 0.05);
  border-radius: 2px;
}
.gallery-scroll-container::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

.gallery-slide {
  flex: 0 0 650px;
  max-width: 85vw;
  aspect-ratio: 16 / 10;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: rgba(14, 14, 12, 0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery-slide {
    flex: 0 0 85vw;
    aspect-ratio: 4 / 3;
  }
}


