:root {
  /* Layout */
  --container-max: 1600px;
  --container-pad: clamp(16px, 3vw, 56px);

  /* Spacing scale */
  --space-xs: clamp(8px, 1vw, 12px);
  --space-sm: clamp(12px, 1.5vw, 18px);
  --space-md: clamp(18px, 2.5vw, 28px);
  --space-lg: clamp(28px, 4vw, 48px);
  --space-xl: clamp(48px, 6vw, 80px);
  --space-2xl: clamp(80px, 8vw, 140px);

  /* Colors */
  --c-black: #000;
  --c-white: #fff;
  --c-text: #0a0a0a;
  --c-muted: rgba(0, 0, 0, 0.65);

  /* Lava gradients (hero) */
  --lava-orange: 240 135 70;
  --lava-red: 240 90 90;
  --lava-blue: 110 150 240;
  --lava-lavender: 185 155 240;
  --lava-cream: 245 235 225;

  /* Contact section colors */
  --contact-eggwhite: 245 240 230;
  --contact-light-yellow: 245 235 205;
  --contact-yellow-orange: 240 205 145;
  --contact-peach: 240 205 195;
  --contact-lavender-peach: 230 195 215;

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue",
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  /* Border radius */
  --radius: 18px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* ========================================
   Base Styles
   ======================================== */

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-white);
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.fullbleed {
  width: 100%;
}

.section {
  position: relative;
  padding: clamp(56px, 7vw, 80px) 0;
}

/* ========================================
   Typography Utilities
   ======================================== */

.section-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.headline-lg {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.02;
}

/* ========================================
   Lava Gradient Backgrounds
   ======================================== */

.lava {
  overflow: clip;
  isolation: isolate;
}

.lava::before,
.lava::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  filter: blur(40px) saturate(110%);
  opacity: 0.95;
  transform: translate3d(0, 0, 0);
}

/* Hero gradient */
.lava::before {
  background: radial-gradient(
      ellipse 900px 600px at 15% 0%,
      rgb(var(--lava-cream) / 0.95),
      rgb(var(--lava-cream) / 0.8) 40%,
      rgb(var(--lava-orange) / 0.6) 65%,
      transparent 85%
    ),
    radial-gradient(
      ellipse 800px 500px at 50% 0%,
      rgb(var(--lava-cream) / 0.85),
      rgb(var(--lava-orange) / 0.9) 45%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 700px 600px at 85% 10%,
      rgb(var(--lava-lavender) / 0.9),
      rgb(var(--lava-orange) / 0.7) 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 1000px 800px at 50% 50%,
      rgb(var(--lava-orange) / 0.95),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgb(var(--lava-cream) / 0.6) 0%,
      rgb(var(--lava-cream) / 0.85) 100%
    );
  animation: lavaMoveA 18s ease-in-out infinite;
}

.lava::after {
  background: radial-gradient(
      ellipse 700px 700px at 10% 45%,
      rgb(var(--lava-orange) / 0.7),
      rgb(var(--lava-blue) / 0.8) 60%,
      transparent 85%
    ),
    radial-gradient(
      ellipse 700px 700px at 5% 90%,
      rgb(var(--lava-blue) / 0.95),
      rgb(var(--lava-blue) / 0.7) 55%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 800px 700px at 50% 90%,
      rgb(var(--lava-orange) / 0.8),
      rgb(var(--lava-red) / 0.7) 50%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 700px 650px at 100% 100%,
      rgb(var(--lava-red) / 0.85),
      rgb(var(--lava-cream) / 0.6) 55%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 700px 750px at 95% 50%,
      rgb(var(--lava-orange) / 0.7),
      rgb(var(--lava-lavender) / 0.6) 50%,
      transparent 80%
    );
  animation: lavaMoveB 22s ease-in-out infinite;
}

@keyframes lavaMoveA {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(-3%, 5%) rotate(-4deg) scale(1.04);
  }
  66% {
    transform: translate(4%, -3%) rotate(5deg) scale(1.03);
  }
}

@keyframes lavaMoveB {
  0%,
  100% {
    transform: translate(8%, 6%) rotate(0deg) scale(1.02);
  }
  50% {
    transform: translate(2%, -8%) rotate(9deg) scale(1.06);
  }
}

/* Contact section gradient */
.contact.lava::before {
  background: radial-gradient(
      ellipse 900px 700px at 10% 0%,
      rgb(var(--contact-eggwhite) / 0.95),
      rgb(var(--contact-light-yellow) / 0.8) 55%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 900px 700px at 50% 0%,
      rgb(var(--contact-yellow-orange) / 0.9),
      transparent 75%
    ),
    radial-gradient(
      ellipse 850px 700px at 90% 5%,
      rgb(var(--contact-yellow-orange) / 0.92),
      transparent 75%
    ),
    radial-gradient(
      ellipse 700px 800px at 0% 50%,
      rgb(var(--contact-eggwhite) / 0.9),
      transparent 70%
    ),
    radial-gradient(
      ellipse 1000px 900px at 50% 50%,
      rgb(var(--contact-light-yellow) / 0.7),
      rgb(var(--contact-yellow-orange) / 0.6) 50%,
      transparent 75%
    ),
    linear-gradient(
      180deg,
      rgb(var(--contact-eggwhite) / 0.7) 0%,
      rgb(var(--contact-light-yellow) / 0.8) 100%
    );
}

.contact.lava::after {
  background: radial-gradient(
      ellipse 700px 750px at 95% 50%,
      rgb(var(--contact-yellow-orange) / 0.65),
      rgb(var(--contact-lavender-peach) / 0.6) 55%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 750px 650px at 5% 95%,
      rgb(var(--contact-eggwhite) / 0.85),
      rgb(var(--contact-peach) / 0.4) 50%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 900px 600px at 50% 100%,
      rgb(var(--contact-peach) / 0.5),
      rgb(var(--contact-lavender-peach) / 0.55) 45%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 700px 650px at 100% 100%,
      rgb(var(--contact-lavender-peach) / 0.75),
      transparent 70%
    );
}

@media (prefers-reduced-motion: reduce) {
  .lava::before,
  .lava::after {
    animation: none;
  }
}

/* ========================================
   Header
   ======================================== */

.site-header {
  position: relative;
  z-index: 50;
  background: transparent;
  padding: clamp(16px, 2vw, 20px) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: clamp(24px, 3vw, 28px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 40px);
}

.nav a {
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.hamburger-lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.hamburger-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-black);
  border-radius: 2px;
  transition: transform var(--transition-base), top var(--transition-base),
    opacity var(--transition-base);
}

.hamburger-lines span:nth-child(1) {
  top: 0;
}
.hamburger-lines span:nth-child(2) {
  top: 5px;
}
.hamburger-lines span:nth-child(3) {
  top: 10px;
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-sm) var(--container-pad) var(--space-md);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  .nav.is-open {
    display: flex;
  }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: clamp(46px, 7vw, 96px) 0 clamp(26px, 3vw, 40px);
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
}

.hero .container {
  width: 100%;
}

.hero-wrap {
  display: grid;
  gap: clamp(18px, 3.2vw, 44px);
}

.hero-logo-wrap {
  position: relative;
}

.logo {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  font-size: clamp(72px, 12vw, 190px);
  color: var(--c-black);
}

.hero-tag {
  position: absolute;
  left: 0;
  bottom: -10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 900;
  opacity: 0.75;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 4vw, 70px);
  align-items: start;
  padding-top: var(--space-xs);
}

.hero-outline {
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(26px, 2.8vw, 44px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.26);
  text-stroke: 1.5px rgba(0, 0, 0, 0.26);
}

.hero-outline strong {
  font-weight: 900;
}

.hero-sub {
  max-width: 58ch;
  color: rgba(0, 0, 0, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.hero-sub strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  margin-bottom: var(--space-xs);
}

@media (max-width: 1024px) {
  .hero-bottom {
    grid-template-columns: 1fr;
  }
  .hero-tag {
    position: static;
    margin-top: var(--space-xs);
  }
}

/* ========================================
   Ticker
   ======================================== */

.ticker {
  padding: clamp(20px, 2.5vw, 24px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.ticker-row {
  position: relative;
  padding: var(--space-xs) 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ticker-content {
  display: flex;
  gap: clamp(18px, 2.2vw, 22px);
  white-space: nowrap;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(14px, 1.8vw, 16px);
  padding-right: clamp(18px, 2.2vw, 22px);
}

.ticker-content .sep {
  opacity: 0.65;
}

.ticker.is-paused .ticker-track {
  will-change: auto;
}

/* ========================================
   Team Section
   ======================================== */

.team {
  padding: clamp(56px, 6vw, 110px) 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.98));
  color: rgba(255, 255, 255, 0.88);
}

.team .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.team-list {
  display: grid;
  gap: var(--space-xs);
}

.team-item {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
}

.team-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
  border-radius: var(--space-xs);
}

.team-name {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.02;
  opacity: 0.32;
  transition: opacity var(--transition-fast);
}

.team-role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 900;
  opacity: 0;
  white-space: nowrap;
  transform: translateY(1px);
  transition: opacity var(--transition-fast);
}

.team-item:hover .team-name {
  opacity: 0.95;
}

.team-item:hover .team-role {
  opacity: 0.7;
}

.team-item.is-active .team-name {
  opacity: 1;
  background: linear-gradient(90deg, var(--member-a), var(--member-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-item.is-active .team-role {
  opacity: 0.95;
}

/* ========================================
   Statement Section
   ======================================== */

.statement {
  background: var(--c-white);
}

.statement-kicker {
  margin-left: auto;
  text-align: right;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  font-size: clamp(14px, 1.6vw, 22px);
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.22);
  text-stroke: 1.2px rgba(0, 0, 0, 0.22);
  max-width: 22ch;
  margin-bottom: clamp(22px, 3.2vw, 46px);
}

.statement-head {
  max-width: 26ch;
}

.statement-copy {
  margin-top: var(--space-sm);
  color: var(--c-muted);
  line-height: 1.6;
  font-size: 15px;
  max-width: 68ch;
}

.cta-row {
  margin-top: var(--space-sm);
}

@media (max-width: 1024px) {
  .statement-kicker {
    max-width: none;
  }
}

/* ========================================
   CTA Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.92);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-base),
    background var(--transition-base);
}

.btn:hover {
  background: rgba(0, 0, 0, 0.98);
  text-decoration: underline;
}

.btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.85);
  outline-offset: 4px;
}

.btn::before {
  content: "";
  width: 32px;
  height: 8px;
  opacity: 0.9;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='8' viewBox='0 0 32 8' fill='none'%3E%3Cpath d='M1 4H27' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M24 1L27 4L24 7' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform var(--transition-base);
}

.btn:hover::before {
  animation: arrowWobble 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes arrowWobble {
  0%,
  100% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(3px);
  }
}

.btn svg {
  display: none;
}

/* ========================================
   Accordion (Services)
   ======================================== */

.accordion {
  display: grid;
  gap: var(--space-xs);
}

.acc-item {
  border-top: 1px solid rgba(0, 0, 0, 0.85);
  padding-top: var(--space-sm);
}

.acc-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: clamp(20px, 2.5vw, 24px) 0;
}

.acc-button:hover .acc-title,
.acc-button:hover .headline-lg {
  text-decoration: underline;
}

.acc-icon {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  width: auto;
  height: auto;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.acc-button[aria-expanded="true"] + .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel-inner {
  color: rgba(0, 0, 0, 0.76);
  line-height: 1.6;
  font-size: 15px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: var(--space-md);
  overflow: hidden;
}

.acc-text {
  margin: var(--space-xl) 0 var(--space-md) 0;
  max-width: 62ch;
}

.acc-cta {
  margin-bottom: var(--space-md);
  align-self: end;
  justify-self: end;
}

@media (max-width: 1024px) {
  .acc-panel-inner {
    grid-template-columns: 1fr;
  }
  .acc-cta {
    justify-self: start;
    align-self: start;
    margin-top: var(--space-xs);
  }
}

/* ========================================
   Use Cases Section
   ======================================== */

.use-cases {
  background: var(--c-white);
}

.use-cases-line {
  border-top: 1px solid rgba(0, 0, 0, 0.85);
  margin: var(--space-md) 0;
}

.use-cases-line.--bottom {
  margin: clamp(48px, 6vw, 64px) 0 var(--space-md);
}

.use-cases-subtitle {
  margin-bottom: clamp(28px, 3.5vw, 32px);
}

.use-cases-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 26px);
}

.use-cases-list {
  display: grid;
  gap: var(--space-xs);
}

.use-case-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(13px, 1.8vw, 18px);
  opacity: 0.55;
  border-bottom: 2px solid transparent;
  transition: opacity var(--transition-fast);
}

.use-case-item:hover {
  opacity: 0.85;
}

.use-case-item.is-active {
  opacity: 1;
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

.use-cases-text {
  display: none;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.65;
  font-size: 15px;
}

.use-cases-text.is-active {
  display: block;
}

.use-cases-nav {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.use-cases-arrow {
  width: 48px;
  height: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.use-cases-arrow-icon {
  display: block;
  width: 44px;
  height: 8px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8' viewBox='0 0 44 8' fill='none'%3E%3Cpath d='M1 4H39' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M36 1L39 4L36 7' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.use-cases-arrow.is-prev .use-cases-arrow-icon {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .use-cases-body {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Gallery (Amazing Events)
   ======================================== */

.gallery-wrap {
  margin-top: var(--space-md);
}

.gallery {
  display: flex;
  height: clamp(300px, 40vw, 400px);
  overflow: hidden;
}

.gallery-item {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform var(--transition-slow);
}

.gallery-item[data-ratio="landscape"] {
  width: calc(clamp(300px, 40vw, 400px) * 1.5);
}

.gallery-item[data-ratio="portrait"] {
  width: calc(clamp(300px, 40vw, 400px) * 0.67);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus img,
.gallery-item.is-focused img {
  transform: scale(1.15);
}

.gallery-item:focus {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: -3px;
  z-index: 2;
}

.gallery-nav {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.gallery-arrow {
  width: 48px;
  height: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-arrow-icon {
  display: block;
  width: 44px;
  height: 8px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8' viewBox='0 0 44 8' fill='none'%3E%3Cpath d='M1 4H39' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M36 1L39 4L36 7' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.gallery-arrow.is-prev .gallery-arrow-icon {
  transform: rotate(180deg);
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTYuNCAxOSA1IDE3LjZsNS42LTUuNkw1IDYuNCA2LjQgNWw1LjYgNS42TDE3LjYgNSAxOSA2LjQgMTMuNCAxMmw1LjYgNS42LTEuNCAxLjQtNS42LTUuNnoiLz4KPC9zdmc+Cg==");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px 48px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color var(--transition-base);
  z-index: 10;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color var(--transition-base);
  z-index: 10;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px 48px;
}

.lightbox-prev {
  left: 20px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iNCIgZD0iTTMxIDM2TDE5IDI0bDEyLTEyIi8+Cjwvc3ZnPgo=");
}

.lightbox-next {
  right: 20px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iNCIgZD0ibTE5IDEyIDEyIDEyLTEyIDEyIi8+PC9zdmc+Cg==");
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
  padding-bottom: var(--space-2xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 70px);
}

.contact h2 {
  margin-bottom: var(--space-md);
}

.contact-links {
  display: grid;
  gap: var(--space-xs);
  justify-items: end;
  text-align: right;
  margin-bottom: var(--space-xs);
}

.contact-links a {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: text-decoration var(--transition-fast);
}

.contact-links a:hover {
  text-decoration: none;
}

.form {
  margin-top: var(--space-sm);
  display: grid;
  gap: var(--space-sm);
  max-width: 50%;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.field {
  position: relative;
  padding-top: var(--space-sm);
}

.field label {
  position: absolute;
  left: 0;
  top: 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: all var(--transition-base);
  transform-origin: left top;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
  padding: var(--space-xs) 0 2px;
  background: transparent;
  font-size: 16px;
  transition: border-color var(--transition-base);
}

.field textarea {
  min-height: 32px;
  max-height: 32px;
  resize: none;
  overflow: hidden;
  transition: max-height var(--transition-slow),
    min-height var(--transition-slow);
}

.field textarea:focus,
.field textarea:not(:placeholder-shown) {
  min-height: 120px;
  max-height: 300px;
  resize: vertical;
  overflow: auto;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.75);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: rgba(0, 0, 0, 0.75);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.status {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.75);
}

.status.is-error {
  color: #9d0000;
}

.status.is-success {
  color: #0c6b2a;
}

@media (max-width: 1024px) {
  .form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-links {
    justify-items: start;
    text-align: left;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(80px, 10vw, 112px) 0 var(--space-md);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  opacity: 0.85;
  font-style: italic;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
  transition: text-decoration var(--transition-fast);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.footer-brand .mark {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: clamp(22px, 2.8vw, 26px);
}

.footer-brand .copy {
  opacity: 0.72;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .footer-brand {
    order: 2;
  }
  .footer-links {
    order: 1;
  }
}

/* ========================================
   Scroll Reveal
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   Member Page
   ======================================== */

.member-hero {
  padding-top: clamp(50px, 7vw, 110px);
}

.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.member-photo {
  overflow: hidden;
  background: #efefef;
  min-height: clamp(380px, 50vw, 420px);
}

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

.member-name {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--member-a), var(--member-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.member-role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

.member-spec {
  display: grid;
  gap: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 850;
  font-size: 16px;
  margin-bottom: var(--space-lg);
}

.member-bio {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.65;
  font-size: 15px;
}

.member-bio + .cta-row {
  margin-top: var(--space-lg);
}

@media (max-width: 1024px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
  .member-photo {
    min-height: 320px;
  }
}
