/* --- Tokens --- */
:root {
  /* Full-page wash (html); sections still use --bg / --surface */
  --canvas-top: #f4ece2;
  --canvas-mid: #e9dfd2;
  --canvas-deep: #d9c9b4;
  --bg: #e8ddd0;
  --bg-elevated: #d8cbb9;
  --surface: #faf6ef;
  --text: #2a2318;
  --text-muted: rgba(42, 35, 24, 0.62);
  --accent: #9a6b1a;
  --accent-bright: #c9a227;
  --accent-soft: rgba(154, 107, 26, 0.14);
  --line: rgba(42, 35, 24, 0.1);
  --on-accent: #2a2318;
  --veil: rgba(242, 235, 225, 0.88);
  --veil-mid: rgba(242, 235, 225, 0.72);
  --veil-strong: rgba(232, 223, 210, 0.94);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;
  --header-h-scrolled: 60px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --header-total: calc(var(--header-h) + var(--safe-top));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  min-height: 100%;
  background-color: var(--canvas-mid);
  background-image: linear-gradient(
    165deg,
    var(--canvas-top) 0%,
    var(--canvas-mid) 42%,
    var(--canvas-deep) 100%
  );
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--safe-bottom);
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.page-ready) body {
    opacity: 0;
  }

  html.page-ready body {
    opacity: 1;
    transition: opacity 0.65s var(--ease-out);
  }
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.nav-open body {
  touch-action: none;
}

html.nav-open .mobile-nav.is-open {
  touch-action: pan-y;
}

/* Film grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--safe-top) max(var(--safe-right), clamp(1rem, 4vw, 2.5rem)) 0
    max(var(--safe-left), clamp(1rem, 4vw, 2.5rem));
  min-height: var(--header-total);
  transition:
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    min-height 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  min-height: calc(var(--header-h-scrolled) + var(--safe-top));
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0.25rem 0.35rem 0.25rem 0;
}

.logo-img {
  display: block;
  height: clamp(32px, 8vw, 46px);
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.site-header.is-scrolled .logo-img {
  height: clamp(28px, 7vw, 38px);
}

.nav {
  display: none;
  gap: 2rem;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:not(.nav-cta) {
  position: relative;
  color: var(--text-muted);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

.nav a:not(.nav-cta):hover {
  color: var(--text);
}

.nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--accent-bright);
  color: var(--on-accent) !important;
  font-weight: 600;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(154, 107, 26, 0.22);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0 -0.15rem 0 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  top: var(--header-total);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem max(var(--safe-right), clamp(1rem, 4vw, 2.5rem)) max(1rem, var(--safe-bottom))
    max(var(--safe-left), clamp(1rem, 4vw, 2.5rem));
  max-height: min(70dvh, calc(100dvh - var(--header-total) - var(--safe-bottom)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: rgba(250, 246, 239, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s var(--ease-out),
    opacity 0.35s ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-weight: 600;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
}

/* --- Layout --- */
.container {
  width: min(1120px, 100% - clamp(1.25rem, 5vw, 3rem));
  margin-inline: auto;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-total) + 1.25rem) clamp(1rem, 4vw, 1.5rem) max(3.5rem, var(--safe-bottom));
  overflow: clip;
}

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

.hero-photo {
  position: absolute;
  inset: 0;
  background: url("../assets/bse_event.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 32s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  100% {
    transform: scale(1.07) translate(-1.2%, 0.6%);
  }
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      165deg,
      var(--veil) 0%,
      var(--veil-mid) 38%,
      var(--veil-strong) 100%
    ),
    radial-gradient(ellipse 95% 65% at 50% 100%, var(--veil-strong), transparent 58%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orb-float 18s ease-in-out infinite;
  mix-blend-mode: multiply;
}

.hero-orb--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(circle, rgba(196, 180, 220, 0.55), transparent 70%);
  top: 10%;
  right: -10%;
}

.hero-orb--2 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(circle, rgba(232, 200, 140, 0.45), transparent 65%);
  bottom: -15%;
  left: -20%;
  animation-delay: -6s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3%, 4%) scale(1.05);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 88% 78% at 50% 42%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 62%, transparent 100%);
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 52rem;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.hero-eyebrow {
  font-size: clamp(0.6875rem, 2.8vw, 0.8125rem);
  font-weight: 1000;
  letter-spacing: min(0.22em, 0.14rem);
  text-transform: uppercase;
  color: #008002;
  margin: 0 0 1.25rem;
  padding-inline: 0.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.05rem, 9.5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-title-line--accent {
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 4.2vw, 2.35rem);
  line-height: 1.12;
  font-style: italic;
  background: linear-gradient(120deg, var(--text) 0%, var(--accent-bright) 45%, var(--accent) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-lede {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 3.8vw, 1.125rem);
  text-wrap: pretty;
}

.hero-lede em {
  font-style: italic;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 400px) {
  .hero-actions {
    max-width: none;
    gap: 1rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  flex: 1 1 auto;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

@media (min-width: 400px) {
  .btn {
    flex: 0 1 auto;
    padding: 0.85rem 1.6rem;
  }
}

.btn-primary {
  background: var(--accent-bright);
  color: var(--on-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(154, 107, 26, 0.25);
}

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

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: rgba(42, 35, 24, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.hero-scroll {
  position: absolute;
  bottom: max(1.25rem, var(--safe-bottom));
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-bright), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* --- Marquee strip (static) --- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.85rem clamp(1rem, 4vw, 1.5rem);
}

.marquee-inner {
  width: min(1120px, 100% - clamp(1.25rem, 5vw, 3rem));
  margin-inline: auto;
  text-align: center;
}

.marquee-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-style: italic;
  color: var(--text-muted);
  user-select: none;
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 12vw, 7rem) 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-dek {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

.section-dek--narrow {
  max-width: 32rem;
}

.section-head {
  margin-bottom: 3rem;
}

/* --- About (from trust materials) --- */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  max-width: 52rem;
  margin-inline: auto;
}

.about-intro .section-title {
  margin-bottom: 1.25rem;
}

.about-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.about-lead {
  max-width: none;
  margin-bottom: 1.5rem;
}

.about-highlight {
  margin: 0;
  padding: 1.1rem clamp(1rem, 4vw, 1.35rem);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-bright);
  background: rgba(232, 210, 170, 0.35);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.about-trust .section-dek {
  max-width: none;
}

.about-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 500;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.about-focus .about-subtitle {
  margin-bottom: 1.25rem;
}

.about-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.about-card {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.35s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 107, 26, 0.28);
}

.about-card-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}

.about-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
}

/* --- Media presence --- */
.section-media {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(228, 217, 203, 0.35) 45%, var(--bg) 100%);
}

.media-showcase {
  width: 100%;
}

/* --- Press links (read coverage online) --- */
.press-links {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
}

.press-links-inner {
  max-width: min(52rem, 100%);
  margin-inline: auto;
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1rem, 3vw, 1.75rem);
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.45) 0%, var(--surface) 42%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 14px 44px rgba(42, 35, 24, 0.06);
}

.press-links-head {
  text-align: center;
  margin-bottom: clamp(1.35rem, 3vw, 1.85rem);
  max-width: 32rem;
  margin-inline: auto;
}

.press-links-head .about-kicker {
  margin-bottom: 0.5rem;
}

.press-links-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.press-links-dek {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.press-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.press-links-item {
  margin: 0;
}

.press-links-anchor {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(250, 246, 239, 0.75);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.35s var(--ease-out),
    box-shadow 0.3s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.press-links-anchor:hover {
  border-color: rgba(154, 107, 26, 0.32);
  background: rgba(255, 252, 247, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 14px 40px rgba(42, 35, 24, 0.08);
  transform: translateY(-3px);
}

.press-links-anchor:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.press-links-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--accent);
  background: linear-gradient(155deg, rgba(232, 200, 140, 0.4), var(--accent-soft));
  border: 1px solid rgba(154, 107, 26, 0.2);
  transition:
    transform 0.3s var(--ease-out),
    background 0.25s ease;
}

.press-links-anchor:hover .press-links-icon {
  transform: translate(2px, -2px);
  background: linear-gradient(155deg, rgba(232, 200, 140, 0.55), rgba(154, 107, 26, 0.12));
}

.press-links-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.press-links-outlet {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.press-links-action {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.press-links-anchor:hover .press-links-action {
  opacity: 1;
}

@media (min-width: 640px) {
  .press-links-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
  }

  .press-links-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: min(24rem, 100%);
    justify-self: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-links-anchor:hover {
    transform: none;
  }

  .press-links-anchor:hover .press-links-icon {
    transform: none;
  }
}

.media-scroll {
  overflow-x: auto;
  padding: 0;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(0.5rem, 2vw, 1rem);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-soft) transparent;
}

.media-scroll::-webkit-scrollbar {
  height: 6px;
}

.media-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-soft);
  border-radius: 99px;
}

.media-scroll-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  padding-bottom: 1rem;
}

.media-scroll-set {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.media-scroll:not(.media-scroll--marquee) .media-scroll-track {
  padding-inline: clamp(0.5rem, 2vw, 1rem);
}

.media-scroll--marquee {
  overflow: hidden;
  padding-inline: clamp(0.5rem, 2vw, 1rem);
  scroll-snap-type: none;
  touch-action: auto;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2%,
    #000 98%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2%,
    #000 98%,
    transparent
  );
}

.media-scroll--marquee .media-scroll-track {
  animation: media-marquee 52s linear infinite;
  will-change: transform;
}

.media-scroll--marquee:hover .media-scroll-track,
.media-scroll--marquee:focus-within .media-scroll-track {
  animation-play-state: paused;
}

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

.media-scroll .media-scroll-set .media-card {
  flex: 0 0 min(300px, calc(100vw - 2.75rem));
  scroll-snap-align: start;
}

@media (min-width: 480px) {
  .media-scroll .media-scroll-set .media-card {
    flex: 0 0 min(300px, 82vw);
  }
}

@media (min-width: 720px) {
  .media-scroll-set {
    gap: 1.25rem;
  }

  .media-scroll .media-scroll-set .media-card {
    flex: 0 0 min(320px, 38vw);
    max-width: 380px;
  }
}

/* --- Shankaracharya speech (YouTube) --- */
.section-media-speech {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 48%, var(--bg) 100%);
}

.section-media-speech .section-head {
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
}

.section-title--long {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(1.4rem, 3.4vw, 2.25rem);
  line-height: 1.22;
}

.video-feature {
  width: 100%;
  max-width: min(1200px, 100%);
  margin-inline: auto;
}

.video-feature-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14110d;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 24px 70px rgba(42, 35, 24, 0.14);
}

a.video-facade-btn {
  text-decoration: none;
  color: inherit;
}

.video-facade-btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #0a0908;
}

.video-facade-btn:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
}

.video-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.video-facade-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(3.5rem, 10vw, 4.75rem);
  height: clamp(3.5rem, 10vw, 4.75rem);
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(20, 17, 13, 0.78);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
}

.video-facade-play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent rgba(250, 246, 239, 0.95);
}

.video-facade-btn:hover .video-facade-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(154, 107, 26, 0.92);
}

.video-feature-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-feature-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.video-feature-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.video-feature-link:hover {
  color: var(--accent-bright);
}

#full-event-coverage .video-feature {
  max-width: min(900px, 100%);
}

#full-event-coverage .video-feature-frame {
  max-height: min(52vh, 420px);
}

#full-event-coverage .section-head {
  text-align: center;
}

/* --- DC 2026 button preview --- */
#dc-2026.section {
  position: relative;
  overflow: clip;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(201, 162, 39, 0.12), transparent 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(154, 107, 26, 0.09), transparent 62%),
    linear-gradient(180deg, rgba(250, 246, 239, 0.8) 0%, rgba(232, 223, 210, 0.55) 100%);
}

#dc-2026.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at center, #000 25%, transparent 100%);
}

#dc-2026 .dc-2026-wrap {
  text-align: center;
}

#dc-2026 .section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  max-width: min(58rem, 100%);
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(42, 35, 24, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.62) 0%, rgba(250, 246, 239, 0.84) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 20px 56px rgba(42, 35, 24, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#dc-2026 .about-kicker {
  font-size: clamp(0.85rem, 1.7vw, 1rem);
  letter-spacing: 0.22em;
  margin-bottom: 0.85rem;
}

#dc-2026 .section-title {
  margin-bottom: 1.3rem;
}

#dc-2026 .section-title .btn {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  padding: 0.95rem 2.15rem;
  min-height: 56px;
  border: 1px solid rgba(42, 35, 24, 0.14);
  background: linear-gradient(140deg, #d6b246 0%, #c89d2d 45%, #b9841f 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 14px 30px rgba(154, 107, 26, 0.3);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

#dc-2026 .section-title .btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 18px 36px rgba(154, 107, 26, 0.36);
}

.dc-2026-preview {
  width: min(940px, 98vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.2vw, 1.4rem);
  margin: 1.3rem auto 0;
  padding: clamp(0.75rem, 2vw, 1.15rem);
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(42, 35, 24, 0.12);
  background: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 14px 36px rgba(42, 35, 24, 0.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.dc-2026-preview-img {
  --dc-preview-offset: 0px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(42, 35, 24, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 54px rgba(42, 35, 24, 0.13);
  transform: translateY(var(--dc-preview-offset));
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease;
}

#dc-2026 .section-head:hover .dc-2026-preview-img {
  transform: translateY(calc(var(--dc-preview-offset) - 4px));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 22px 58px rgba(42, 35, 24, 0.16);
}

.dc-2026-preview-img--one {
  --dc-preview-offset: 0px;
}

.dc-2026-preview-img--two {
  --dc-preview-offset: 0px;
}

@media (max-width: 720px) {
  #dc-2026 .section-head {
    padding: 1.1rem 0.9rem 1.2rem;
  }

  .dc-2026-preview {
    width: min(640px, 96vw);
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .dc-2026-preview-img {
    aspect-ratio: 4 / 3;
  }

  .dc-2026-preview-img--one {
    --dc-preview-offset: 0px;
  }

  .dc-2026-preview-img--two {
    --dc-preview-offset: 0px;
  }
}

/* --- DC 2026: Speakers (dc-2026 page) --- */
.section-speakers {
  position: relative;
  overflow: clip;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(2.25rem, 6vw, 4rem);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(250, 246, 239, 0.92) 55%, var(--surface) 100%);
}

.section-speakers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% -10%, rgba(201, 162, 39, 0.1), transparent 55%);
}

.speakers-inner {
  position: relative;
  z-index: 1;
}

.speakers-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 40rem;
  margin-inline: auto;
}

.speakers-dek {
  margin-inline: auto;
}

.speakers-bento {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.35rem, 3.5vw, 2.1rem);
  width: 100%;
  max-width: min(880px, 100%);
  margin-inline: auto;
}

.speakers-row {
  display: grid;
  gap: clamp(0.65rem, 1.8vw, 1.1rem);
  width: 100%;
}

.speakers-row--top,
.speakers-row--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: min(640px, 100%);
}

.speakers-row--spotlight {
  display: flex;
  justify-content: center;
  width: 100%;
}

.speaker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease;
}

.speaker-card:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.55);
  outline-offset: 4px;
}

.speaker-card__frame {
  --speaker-avatar: clamp(72px, 15vw, 96px);
  position: relative;
  display: block;
  width: var(--speaker-avatar);
  height: var(--speaker-avatar);
  flex-shrink: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #ebe4d8, #f5f0e8);
  border: 1px solid rgba(42, 35, 24, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 10px 28px rgba(42, 35, 24, 0.08);
}

.speaker-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.speaker-card:hover .speaker-card__frame img {
  transform: scale(1.06);
}

.speaker-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
  padding: 0.55rem 0.25rem 0;
  max-width: 11rem;
}

.speaker-card__name {
  font-family: var(--font-serif);
  font-size: clamp(0.8125rem, 1.85vw, 0.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.speaker-card__role {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
}

.speaker-card--spotlight {
  width: auto;
  max-width: 34rem;
  z-index: 1;
}

.speaker-card--spotlight .speaker-card__frame {
  --speaker-avatar: clamp(96px, 20vw, 128px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4) inset,
    0 0 0 3px rgba(201, 162, 39, 0.28),
    0 12px 32px rgba(42, 35, 24, 0.1);
}

.speaker-card--spotlight .speaker-card__name {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  white-space: nowrap;
}

.speaker-card--spotlight .speaker-card__meta {
  max-width: max-content;
}

.section-support-partners .speaker-card__frame {
  width: clamp(104px, 18vw, 148px);
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) + 2px);
}

.section-support-partners .speaker-card__frame img {
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
}

.speaker-card__badge {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 4px 12px rgba(154, 107, 26, 0.35);
  white-space: nowrap;
}

@media (max-width: 719px) {
  .speakers-row--top,
  .speakers-row--bottom {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .speaker-card--spotlight {
    max-width: 100%;
  }
}

/* --- Speaker full-screen modal --- */
.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 10058;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: 100svh;
  max-height: 100dvh;
}

.speaker-modal:not([hidden]):not(.speaker-modal--open) {
  pointer-events: none;
}

.speaker-modal[hidden] {
  display: none !important;
}

.speaker-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(18, 15, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.38s ease;
  pointer-events: none;
}

.speaker-modal--open .speaker-modal__backdrop {
  opacity: 1;
  pointer-events: auto;
}

.speaker-modal__shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.98);
  filter: blur(0);
  transition:
    opacity 0.42s var(--ease-out),
    transform 0.42s var(--ease-out);
  pointer-events: none;
}

.speaker-modal--open .speaker-modal__shell {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.speaker-modal__inner {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: max(0.5rem, var(--safe-top)) max(0.65rem, var(--safe-right)) max(0.65rem, var(--safe-bottom))
    max(0.65rem, var(--safe-left));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
}

.speaker-modal__close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 0 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(42, 35, 24, 0.35);
  color: #faf6ef;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}

.speaker-modal__close:hover {
  transform: scale(1.05);
  background: rgba(42, 35, 24, 0.55);
}

.speaker-modal__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.15rem);
  width: 100%;
  max-width: min(560px, 100%);
  margin: 0 auto;
  padding-bottom: 0.85rem;
}

.speaker-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1rem);
  padding: clamp(0.65rem, 1.8vw, 0.95rem);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(42, 35, 24, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.speaker-modal__avatar {
  margin: 0;
  flex-shrink: 0;
  width: clamp(56px, 14vw, 80px);
  height: clamp(56px, 14vw, 80px);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: #14110d;
}

.support-modal .speaker-modal__avatar {
  width: clamp(88px, 18vw, 132px);
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(250, 246, 239, 0.08);
  border-color: rgba(250, 246, 239, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.speaker-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.support-modal .speaker-modal__img {
  object-fit: contain;
  object-position: center;
  padding: 0.25rem;
}

.speaker-modal__intro {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.support-modal__site {
  margin: 0.35rem 0 0;
}

.support-modal__site a {
  color: rgba(232, 200, 140, 0.98);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-modal__site a:hover {
  color: #faf6ef;
}

.speaker-modal__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #faf6ef;
  white-space: pre-line;
  text-wrap: balance;
}

.speaker-modal__subtitle {
  margin: 0.3rem 0 0;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(250, 246, 239, 0.72);
  white-space: pre-line;
}

.speaker-modal__subtitle:empty {
  display: none;
}

.speaker-modal__subtitle[hidden] {
  display: none !important;
}

.speaker-modal__video.video-feature {
  width: 100%;
  margin: 0;
}

.speaker-modal__video .video-feature-frame {
  max-height: min(200px, 34vh);
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.speaker-modal__video .video-feature-caption {
  margin-top: 0.5rem;
  color: rgba(250, 246, 239, 0.72);
}

.speaker-modal__video .video-feature-link {
  color: rgba(232, 200, 140, 0.98);
}

.speaker-modal__video .video-feature-link:hover {
  color: #faf6ef;
}

.speaker-modal__translation-teaser {
  margin: 0.35rem 0 0;
  text-align: center;
}

.speaker-modal__translation-teaser[hidden] {
  display: none !important;
}

.speaker-modal__translation-btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(0.72rem, 1.65vw, 0.82rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(232, 200, 140, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-wrap: balance;
}

.speaker-modal__translation-btn:hover {
  color: #faf6ef;
}

.speaker-modal__translation-btn:focus-visible {
  outline: 2px solid rgba(232, 200, 140, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- HH English translation (nested over speaker modal) --- */
.hh-english-modal {
  position: fixed;
  inset: 0;
  z-index: 10064;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, var(--safe-top)) max(0.75rem, var(--safe-right)) max(0.75rem, var(--safe-bottom))
    max(0.75rem, var(--safe-left));
}

.hh-english-modal[hidden] {
  display: none !important;
}

.hh-english-modal__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(10, 9, 8, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hh-english-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(82vh, 880px);
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(42, 35, 24, 0.96) 0%, rgba(20, 17, 13, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hh-english-modal__bar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.hh-english-modal__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  font-weight: 600;
  line-height: 1.35;
  color: #faf6ef;
}

.hh-english-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #faf6ef;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.hh-english-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.04);
}

.hh-english-modal__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem 0.85rem;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.hh-english-modal__status {
  margin: 0;
  flex: 0 0 auto;
  padding: 0.35rem 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.45;
  color: rgba(250, 246, 239, 0.72);
}

.hh-english-modal__text {
  margin: 0;
  flex: 0 1 auto;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: clamp(0.8rem, 1.85vw, 0.92rem);
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(252, 248, 242, 0.95);
}

.speaker-modal__gallery-wrap {
  margin-top: clamp(0.65rem, 2vw, 1rem);
  padding-top: clamp(0.65rem, 1.8vw, 0.95rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.speaker-modal__gallery-wrap[hidden] {
  display: none !important;
}

.speaker-modal__gallery-title {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.55);
}

.speaker-modal__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(108px, 100%), 1fr));
  gap: 0.5rem;
}

.speaker-modal__gallery-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 17, 13, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.speaker-modal__gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  border-radius: var(--radius);
  overflow: hidden;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.speaker-modal__gallery-thumb::after {
  content: "View";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.32rem 0.25rem 0.28rem;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #faf6ef;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.88), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.speaker-modal__gallery-thumb:hover,
.speaker-modal__gallery-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.speaker-modal__gallery-thumb:hover::after,
.speaker-modal__gallery-thumb:focus-visible::after {
  opacity: 1;
}

.speaker-modal__gallery-thumb:focus-visible {
  outline: 2px solid rgba(201, 162, 39, 0.85);
  outline-offset: 2px;
}

.speaker-modal__gallery-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@media (max-width: 480px) {
  .speaker-modal__header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .speaker-modal__intro {
    width: 100%;
  }
}

html.speaker-modal-open,
html.speaker-modal-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.speaker-modal-open body {
  touch-action: none;
}

html.speaker-modal-open .speaker-modal {
  touch-action: auto;
}

@media (prefers-reduced-motion: reduce) {
  .speaker-card:hover .speaker-card__frame img {
    transform: none;
  }

  .speaker-card {
    transition: none;
  }

  .speaker-modal__backdrop,
  .speaker-modal__shell {
    transition: none !important;
  }

  .speaker-modal:not([hidden]) .speaker-modal__backdrop,
  .speaker-modal--open .speaker-modal__backdrop {
    opacity: 1;
  }

  .speaker-modal:not([hidden]) .speaker-modal__shell,
  .speaker-modal--open .speaker-modal__shell {
    opacity: 1;
    transform: none;
  }

  .speaker-modal__gallery-thumb,
  .speaker-modal__gallery-thumb::after {
    transition: none !important;
  }

  .speaker-modal__gallery-thumb:hover,
  .speaker-modal__gallery-thumb:focus-visible {
    transform: none;
    box-shadow: none;
  }
}

/* --- Speaker photo preview (popup over speaker modal) --- */
.speaker-img-pop {
  position: fixed;
  inset: 0;
  z-index: 10065;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, var(--safe-top)) max(0.75rem, var(--safe-right)) max(0.75rem, var(--safe-bottom))
    max(0.75rem, var(--safe-left));
}

.speaker-img-pop[hidden] {
  display: none !important;
}

.speaker-img-pop__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: zoom-out;
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.speaker-img-pop__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(78vh, 820px);
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(42, 35, 24, 0.92) 0%, rgba(20, 17, 13, 0.96) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: speaker-img-pop-in 0.28s var(--ease-out) both;
}

@keyframes speaker-img-pop-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.speaker-img-pop__toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.speaker-img-pop__close {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #faf6ef;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.speaker-img-pop__close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.04);
}

.speaker-img-pop__download {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  min-height: 40px;
  font-size: 0.8125rem;
  text-decoration: none;
}

.speaker-img-pop__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.speaker-img-pop__nav-btn {
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #faf6ef;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.speaker-img-pop__nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.speaker-img-pop__nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.speaker-img-pop__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.speaker-img-pop__img {
  max-width: 100%;
  max-height: min(62vh, 640px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

.img-overlay-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: clamp(2.25rem, 4vw, 2.85rem);
  height: clamp(2.25rem, 4vw, 2.85rem);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(15, 14, 12, 0.34);
  color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.img-overlay-nav span {
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  line-height: 1;
}

.img-overlay-nav--left {
  left: clamp(0.55rem, 1.8vw, 1rem);
}

.img-overlay-nav--right {
  right: clamp(0.55rem, 1.8vw, 1rem);
}

.img-overlay-nav:hover:not(:disabled) {
  background: rgba(15, 14, 12, 0.5);
  transform: translateY(-50%) scale(1.06);
}

.img-overlay-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.img-overlay-nav:focus-visible {
  outline: 2px solid rgba(201, 162, 39, 0.85);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .speaker-img-pop__toolbar {
    flex-wrap: wrap;
  }

  .speaker-img-pop__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .photo-gallery-modal__viewer-top {
    flex-wrap: wrap;
  }

  .photo-gallery-modal__viewer-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speaker-img-pop__panel {
    animation: none;
  }
}

/* --- Photo gallery (before Key projects) --- */
.section-photo-gallery {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 38%, var(--surface) 100%);
}

.section-photo-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 39, 0.08), transparent 55%);
}

.photo-gallery-inner {
  position: relative;
  z-index: 1;
}

.photo-gallery-head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 38rem;
  margin-inline: auto;
}

.photo-gallery-dek {
  margin: 0 auto;
  max-width: 34rem;
}

.photo-gallery-showcase {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  max-width: min(1040px, 100%);
  min-height: clamp(120px, 22vw, 200px);
}

.photo-gallery-side {
  flex: 0 1 13%;
  min-width: 0;
  max-width: 160px;
  align-self: center;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.36;
  filter: saturate(0.75) blur(2.5px);
  transform: scale(0.88);
  box-shadow: 0 8px 28px rgba(42, 35, 24, 0.08);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
}

.photo-gallery-side--left {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.photo-gallery-side--right {
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent);
  mask-image: linear-gradient(90deg, #000 45%, transparent);
}

.photo-gallery-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.photo-gallery-main {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.5vw, 0.95rem);
  min-width: 0;
  max-width: min(760px, 72%);
}

.photo-gallery-main figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(42, 35, 24, 0.12);
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 16px 48px rgba(42, 35, 24, 0.1);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.4s ease;
}

.photo-gallery-main figure:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 22px 56px rgba(42, 35, 24, 0.14);
}

.photo-gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.photo-gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.photo-gallery-more {
  min-width: min(100%, 220px);
}

@media (max-width: 719px) {
  .photo-gallery-showcase {
    gap: 0.25rem;
    min-height: 0;
  }

  .photo-gallery-side {
    flex-basis: 10%;
    max-width: 72px;
    transform: scale(0.82);
    filter: saturate(0.7) blur(2px);
  }

  .photo-gallery-main {
    max-width: none;
    gap: 0.35rem;
  }

  .photo-gallery-main figure:hover {
    transform: none;
  }
}

/* --- Photo gallery modal (true full viewport) --- */
.photo-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: 100svh;
  max-height: 100dvh;
}

.photo-gallery-modal[hidden] {
  display: none !important;
}

.photo-gallery-modal__scrim {
  display: none;
}

.photo-gallery-modal__panel {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  border: none;
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
}

.photo-gallery-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(0.75rem, var(--safe-top)) max(1rem, var(--safe-right)) 0.85rem max(1rem, var(--safe-left));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, var(--surface) 100%);
  flex-shrink: 0;
}

.photo-gallery-modal__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
}

.photo-gallery-modal__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}

.photo-gallery-modal__close:hover {
  transform: scale(1.05);
  background: var(--bg-elevated);
}

.photo-gallery-modal__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.photo-gallery-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(148px, 100%), 1fr));
  gap: 0.75rem;
  padding: max(1rem, var(--safe-left)) max(1rem, var(--safe-right)) max(1.25rem, var(--safe-bottom));
}

.photo-gallery-modal__tile {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(42, 35, 24, 0.08);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.photo-gallery-modal__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(42, 35, 24, 0.12);
}

.photo-gallery-modal__tile-open {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg);
  display: block;
  width: 100%;
  height: 100%;
}

.photo-gallery-modal__tile-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.photo-gallery-modal__tile-dl {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(42, 35, 24, 0.12);
  background: rgba(250, 246, 239, 0.94);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(42, 35, 24, 0.12);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}

.photo-gallery-modal__tile-dl:hover {
  transform: scale(1.06);
  background: #fff;
}

.photo-gallery-modal__tile-dl svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.photo-gallery-modal__tile-open:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.photo-gallery-modal__tile-dl:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.photo-gallery-modal__viewer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 0.75rem max(1rem, var(--safe-left)) max(1rem, var(--safe-bottom)) max(1rem, var(--safe-right));
  animation: pg-viewer-in 0.32s var(--ease-out) both;
}

.photo-gallery-modal__viewer[hidden] {
  display: none !important;
  pointer-events: none;
}

@keyframes pg-viewer-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.photo-gallery-modal__viewer-top {
  flex-shrink: 0;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.photo-gallery-modal__back {
  padding: 0.55rem 1rem;
  min-height: 44px;
  font-size: 0.9rem;
}

.photo-gallery-modal__viewer-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.photo-gallery-modal__viewer-nav-btn {
  min-height: 40px;
  min-width: 88px;
  font-size: 0.82rem;
}

.photo-gallery-modal__viewer-nav-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.photo-gallery-modal__viewer-dl {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}

.photo-gallery-modal__viewer-dl:hover {
  transform: scale(1.05);
  background: var(--bg-elevated);
}

.photo-gallery-modal__viewer-dl svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.photo-gallery-modal__figure {
  position: relative;
  margin: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-gallery-modal__viewer-img {
  max-width: 100%;
  max-height: min(76dvh, 80svh);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(42, 35, 24, 0.12);
}

html.photo-gallery-modal-open,
html.photo-gallery-modal-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.photo-gallery-modal-open body {
  touch-action: none;
}

html.photo-gallery-modal-open .photo-gallery-modal {
  touch-action: auto;
}

@media (prefers-reduced-motion: reduce) {
  .photo-gallery-modal__viewer {
    animation: none;
  }

  .photo-gallery-main figure {
    transition: none;
  }

  .photo-gallery-modal__tile,
  .photo-gallery-modal__tile-dl {
    transition: none;
  }

  .speaker-img-pop__nav-btn {
    transition: none;
  }

  .img-overlay-nav {
    transition: none;
  }
}

/* --- Key projects --- */
.section-key-projects {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 32%, var(--bg) 100%);
}

.section-key-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% -8%, rgba(201, 162, 39, 0.1), transparent 58%),
    radial-gradient(ellipse 70% 45% at 100% 60%, rgba(154, 107, 26, 0.05), transparent 50%);
}

.key-projects-inner {
  position: relative;
  z-index: 1;
}

.key-projects-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  max-width: 38rem;
  margin-inline: auto;
}

.key-projects-head .section-title {
  margin-bottom: 0.75rem;
}

.key-projects-dek {
  margin: 0 auto;
  max-width: 34rem;
}

.key-projects-list {
  counter-reset: keyproj;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: min(56rem, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .key-projects-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
  }
}

.key-projects-item {
  counter-increment: keyproj;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.2rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, var(--surface) 48%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 36px rgba(42, 35, 24, 0.05);
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.key-projects-item::before {
  content: counter(keyproj, decimal-leading-zero);
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: linear-gradient(160deg, rgba(232, 200, 140, 0.35), var(--accent-soft));
  border: 1px solid rgba(154, 107, 26, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.key-projects-item:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 107, 26, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(42, 35, 24, 0.09);
}

.key-projects-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.02rem;
  line-height: 1.52;
  color: var(--text);
}

@media (min-width: 720px) {
  .key-projects-text {
    font-size: 1.03rem;
    line-height: 1.5;
  }
}

.media-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 40px rgba(42, 35, 24, 0.06);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 107, 26, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 22px 56px rgba(42, 35, 24, 0.1);
}

.media-frame {
  position: relative;
  flex: 1;
  min-height: 200px;
  background: linear-gradient(165deg, #ebe4d8, #f5f0e8);
  overflow: hidden;
}

.media-scroll .media-frame {
  flex: none;
  aspect-ratio: 3 / 4;
  min-height: 220px;
  max-height: min(52vh, 460px);
  width: 100%;
}

button.media-frame {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  display: block;
}

button.media-frame:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

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

.media-cap {
  margin: 0;
  padding: 0.65rem 1rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  background: rgba(250, 246, 239, 0.85);
}

/* --- Media lightbox --- */
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, var(--safe-top)) max(0.75rem, var(--safe-right)) max(0.75rem, var(--safe-bottom))
    max(0.75rem, var(--safe-left));
}

.media-lightbox[hidden] {
  display: none !important;
}

.media-lightbox-scrim {
  position: absolute;
  inset: 0;
  background: rgba(242, 235, 225, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.media-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.media-lightbox-img {
  max-width: min(96vw, 1800px);
  max-height: min(88dvh, 92svh);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(42, 35, 24, 0.14);
  pointer-events: auto;
}

.media-lightbox-close {
  position: absolute;
  top: max(-2.5rem, -8vh);
  right: max(-0.25rem, env(safe-area-inset-right));
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1.65rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 6px 24px rgba(42, 35, 24, 0.1);
  pointer-events: auto;
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}

.media-lightbox-close:hover {
  transform: scale(1.05);
  background: var(--bg-elevated);
}

@media (min-width: 720px) {
  .media-lightbox-close {
    top: -0.5rem;
    right: -0.5rem;
  }
}

html.media-lightbox-open,
html.media-lightbox-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.media-lightbox-open body {
  touch-action: none;
}

html.media-lightbox-open .media-lightbox {
  touch-action: auto;
}

.media-lightbox:not([hidden]) .media-lightbox-scrim {
  opacity: 0;
  animation: lb-scrim-in 0.38s var(--ease-out) forwards;
}

.media-lightbox:not([hidden]) .media-lightbox-img {
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  animation: lb-img-in 0.48s var(--ease-out) 0.06s forwards;
}

@keyframes lb-scrim-in {
  to {
    opacity: 1;
  }
}

@keyframes lb-img-in {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- CTA --- */
.section-cta {
  padding-bottom: clamp(5rem, 15vw, 8rem);
}

.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(232, 200, 140, 0.45), transparent 55%);
  pointer-events: none;
  animation: cta-glow-pulse 5s ease-in-out infinite;
}

@keyframes cta-glow-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.04);
  }
}

.cta-title {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

.cta-copy {
  position: relative;
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--text-muted);
}

.cta-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  min-height: 48px;
}

@media (max-width: 520px) {
  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form .btn {
    width: 100%;
    flex: none;
  }

  .cta-form input {
    font-size: 16px;
  }
}

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

.cta-form input:focus {
  outline: none;
  border-color: rgba(154, 107, 26, 0.4);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.cta-note {
  position: relative;
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* --- Contact --- */
.section-contact {
  position: relative;
  padding: clamp(3.5rem, 10vw, 5.5rem) 0;
  overflow: clip;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-elevated);
  background-image: url("../assets/last_bd1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      160deg,
      var(--contact-wash-top) 0%,
      var(--contact-wash-mid) 45%,
      var(--contact-wash-bottom) 100%
    ),
    radial-gradient(ellipse 100% 70% at 50% 100%, var(--contact-wash-bottom), transparent 55%);
  pointer-events: none;
}

.contact-wrap {
  position: relative;
  z-index: 1;
}

.contact-panel {
  max-width: min(38rem, 100%);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--contact-panel-bg);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(42, 35, 24, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 500;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.contact-team-trigger {
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 246, 239, 0.55);
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.contact-team-trigger:hover {
  border-color: rgba(154, 107, 26, 0.35);
  background: rgba(250, 246, 239, 0.85);
  color: var(--accent);
}

.contact-team-trigger:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.contact-team-modal[hidden] {
  display: none !important;
}

.contact-team-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, var(--safe-top)) max(1rem, var(--safe-right)) max(1rem, var(--safe-bottom))
    max(1rem, var(--safe-left));
  pointer-events: none;
}

.contact-team-modal-panel {
  position: relative;
  width: 100%;
  max-width: 22rem;
  max-height: min(82dvh, 34rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 20px 56px rgba(42, 35, 24, 0.14);
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.985);
  transition:
    opacity 0.32s var(--ease-out),
    transform 0.38s var(--ease-out);
  will-change: opacity, transform;
}

.contact-team-modal:not([hidden]).contact-team-modal--open .contact-team-modal-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .contact-team-modal-panel {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.contact-team-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-team-modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-team-modal-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.contact-team-modal-close:hover {
  background: var(--bg-elevated);
  border-color: rgba(154, 107, 26, 0.25);
}

.contact-team-modal-close:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.contact-people {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-person {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.contact-person-name {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}

.contact-person-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.9875rem;
  line-height: 1.45;
}

.contact-person-lines .contact-link {
  font-weight: 500;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.contact-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact-link:hover {
  color: var(--accent-bright);
}

.contact-address {
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.contact-site {
  margin: 1.75rem 0 0;
}

.contact-site-btn {
  display: inline-flex;
}

.contact-site-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 max(2rem, calc(1rem + var(--safe-bottom)));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
}

.footer-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Scroll reveals --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}

[data-reveal-delay="5"] {
  transition-delay: 0.4s;
}

[data-reveal-delay="6"] {
  transition-delay: 0.48s;
}

[data-reveal-delay="7"] {
  transition-delay: 0.56s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-title-line--accent,
  .hero-scroll-line,
  .hero-photo,
  .cta-glow,
  .media-scroll--marquee .media-scroll-track {
    animation: none !important;
    transform: none !important;
  }

  .nav a:not(.nav-cta)::after {
    transition: none;
  }

  .media-lightbox:not([hidden]) .media-lightbox-scrim,
  .media-lightbox:not([hidden]) .media-lightbox-img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .about-card:hover,
  .media-card:hover,
  .key-projects-item:hover {
    transform: none;
  }

  .media-card:hover .media-frame img {
    transform: none;
  }

  .media-lightbox-close:hover {
    transform: none;
  }
}
