@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Termina";
  src: url("../fonts/termina/Termina-Demi.woff2") format("woff2"),
    url("../fonts/termina/Termina-Demi.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Termina";
  src: url("../fonts/termina/Termina-Black.woff2") format("woff2"),
    url("../fonts/termina/Termina-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

: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: var(--c-black);
  --c-muted: rgba(0, 0, 0, 0.65);

  /* Gradients */
  --gradient-brand: linear-gradient(to right, #65a1f7, #fc996a);

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue",
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-montserrat: "Montserrat", var(--font-sans);
  --font-headline: "Termina", var(--font-sans);
  --text-body: clamp(15px, 1.8vw, 17px);

  /* 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;
  overflow-x: hidden;
}

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

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

/* ========================================
   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 {
  font-family: var(--font-montserrat);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--c-white);
  padding: clamp(16px, 2vw, 20px) 0;
  transition: opacity var(--transition-base);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: url("../images/bg-header.png") no-repeat center bottom / 100% 100%;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.site-header.is-scrolled::after {
  opacity: 1;
}

body:has(.hero) .site-header:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
}

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

.brand {
  display: inline-block;
  width: 112px;
  height: 16px;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjI0IiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMjI0IDMyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGQ9Ik0yMjMuNDUxIDB2OC45NzRoLTE2LjAzNVYzMC42NEgxOTAuNDFWOC45NzRoLTE2LjAzNVYwem0tNzAuMDg0IDBoMTYuMzk5djMwLjY0MmgtMTQuOTQybC0yMi4xMDgtMTYuNjc4djE2LjY3OGgtMTYuNFYwaDE3Ljk3OWwxOS4wNzIgMTQuNzUyem0tNjAuODYgMGgxNy4wMDd2MTYuMTk2YzAgOS41ODctOS40NzUgMTUuNDk2LTI2LjExNyAxNS40OTZzLTI2LjExOC01LjkxLTI2LjExOC0xNS40OTZWMGgxNy4wMDd2MTUuMjMzYzAgMy44OTYgMi42MTIgNy4wMDQgOS4xMSA3LjAwNCA2LjUgMCA5LjExMS0zLjEwOCA5LjExMS03LjAwNHptLTUyLjQyIDE0Ljc5NmM2LjgwMy4zNSAxMi42MzMgMi45MzIgMTIuNjMzIDcuNDg1IDAgNC45OS02LjkyNCA4LjM2LTE3Ljc5NiA4LjM2SDBWMGgzMi40OTVDNDMuMzY3IDAgNTAuMjkgMy4yODMgNTAuMjkgOC4wNTRjMCAzLjQxNS0zLjcwNSA2LjQ3OS0xMC4yMDQgNi43NDJNMTYuNzY0IDcuNDQydjQuMzc3SDI5LjY0YzIuMDY1IDAgMy44MjctLjcgMy44MjctMi4xODkgMC0xLjQ4OC0xLjc2Mi0yLjE4OC0zLjgyNy0yLjE4OHpNMzEuMjggMjMuMmMyLjQzIDAgNC4wMDktLjkyIDQuMDA5LTIuNDA3IDAtMS40ODktMS41OC0yLjQwOC00LjAwOS0yLjQwOEgxNi43NjRWMjMuMnoiIGZpbGw9IiMwMDAiLz4KPC9zdmc+Cg==")
    center/contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

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

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

.nav a:hover {
  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(23px, 3.5vw, 48px) 0 clamp(26px, 3vw, 40px);
  display: flex;
  align-items: flex-start;
  background: var(--c-white);
}

.hero .container {
  width: 100%;
}

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

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

.logo-with-gradient {
  position: relative;
  width: 100%;
}

.logo-gradient-bg {
  position: absolute;
  inset: 0;
  background: url("../images/bg-hero.png") center/cover no-repeat;
  animation: lavaLamp 22s linear infinite, lavaGlow 14s ease-in-out infinite;
  z-index: 1;
  -webkit-mask-image: url("../images/hero-bunt.png");
  mask-image: url("../images/hero-bunt.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 0;
  opacity: 0;
}

.hero-tag {
  position: absolute;
  left: 0;
  bottom: -48px;
  font-family: var(--font-headline);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 32px;
  font-weight: 900;
}

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

.hero-headline {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(20px, 6vw, 40px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--c-black);
}

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

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 58ch;
  color: var(--c-black);
  font-family: var(--font-montserrat);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.hero-sub strong {
  font-weight: 700;
}

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

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

.ticker {
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(20px, 2.5vw, 24px) 0;
  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);
  font-family: var(--font-headline);
  padding-right: clamp(18px, 2.2vw, 22px);
}

.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-family: var(--font-headline);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.02;
  transition: opacity var(--transition-fast);
}

.team-role {
  font-family: var(--font-headline);
  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);
}

@media (max-width: 768px) {
  .team-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .team-role {
    white-space: normal;
  }
}

.team-item:hover .team-role,
.team-item.is-active .team-role {
  opacity: 1;
}

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

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

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

.statement-kicker {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  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-black);
  font-family: var(--font-montserrat);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  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: 10px 16px;
  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: 12px;
  font-weight: 900;
  font-family: var(--font-headline);
  text-decoration: none;
  transition: transform var(--transition-base),
    background var(--transition-base);
}

@media (max-width: 768px) {
  .btn {
    padding: 14px 20px;
    font-size: 12px;
  }
}

.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: var(--c-black);
  font-family: var(--font-montserrat);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  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);
  margin-top: var(--space-lg);
  align-items: start;
  overflow: visible;
  min-height: var(--list-height, auto);
}

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

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

@media (max-width: 768px) {
  .use-cases-list {
    gap: var(--space-md);
  }
}

.use-case-item:hover {
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

.use-case-item.is-active {
  font-size: clamp(26px, 2.5vw, 32px);
  margin-bottom: var(--space-sm);
}

.use-case-item.is-active:hover {
  border-bottom-color: transparent;
}

.use-cases-content {
  position: relative;
  transform: translateY(var(--text-offset, 0px));
  transition: transform 0.3s ease;
}

.use-cases-text {
  position: relative;
  top: -26px;
  display: none;
  color: var(--c-black);
  font-family: var(--font-montserrat);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

.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 {
    display: block;
  }

  .use-cases-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .use-case-item {
    padding: 0 0 2px;
  }

  .use-case-item.is-active {
    margin-bottom: 0;
  }

  .use-cases-content {
    position: static;
    transform: none;
    display: none;
  }

  .use-cases-content.is-active {
    display: block;
    padding: 0 0 var(--space-md);
    margin-bottom: var(--space-sm);
  }

  .use-cases-text {
    display: block;
    top: 0;
  }

  .use-cases-text:not(.is-active) {
    display: none;
  }
}

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

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

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

.gallery .swiper-wrapper {
  height: 100%;
}

.gallery-item {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-slow);
}

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

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

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

.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-lg);
}

.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-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lightbox[aria-hidden="false"] .lightbox-nav > * {
  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=");
  background-position: 2px center;
}

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

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

@media (max-width: 768px) {
  .lightbox-nav {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: 11;
  }

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

  .lightbox-prev,
  .lightbox-next,
  .lightbox-close {
    position: static !important;
    transform: none !important;
    width: 44px;
    height: 44px;
    background-size: 36px 36px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .lightbox-close {
    margin-left: auto;
  }

  .lightbox-content {
    max-width: 100vw;
    max-height: 100vh;
  }

  .lightbox-content img {
    max-width: 100vw;
    max-height: 100vh;
  }
}

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

@keyframes lavaLamp {
  0% {
    background-position: 50% 50%;
    background-size: 130%;
  }
  8% {
    background-position: 25% 60%;
    background-size: 155%;
  }
  16% {
    background-position: 15% 75%;
    background-size: 170%;
  }
  24% {
    background-position: 20% 85%;
    background-size: 145%;
  }
  32% {
    background-position: 40% 90%;
    background-size: 110%;
  }
  40% {
    background-position: 65% 85%;
    background-size: 140%;
  }
  48% {
    background-position: 85% 75%;
    background-size: 165%;
  }
  56% {
    background-position: 90% 50%;
    background-size: 105%;
  }
  64% {
    background-position: 85% 25%;
    background-size: 150%;
  }
  72% {
    background-position: 70% 15%;
    background-size: 175%;
  }
  80% {
    background-position: 45% 20%;
    background-size: 120%;
  }
  88% {
    background-position: 25% 30%;
    background-size: 145%;
  }
  96% {
    background-position: 35% 42%;
    background-size: 135%;
  }
  100% {
    background-position: 50% 50%;
    background-size: 130%;
  }
}

@keyframes lavaGlow {
  0%,
  100% {
    filter: brightness(1) contrast(1) saturate(1);
  }
  25% {
    filter: brightness(1.08) contrast(1.04) saturate(1.08);
  }
  50% {
    filter: brightness(0.96) contrast(0.98) saturate(0.96);
  }
  75% {
    filter: brightness(1.05) contrast(1.02) saturate(1.05);
  }
}

.services {
  background: url("../images/bg-services.png") center/cover no-repeat;
  animation: lavaLamp 20s linear infinite, lavaGlow 12s ease-in-out infinite;
}

.contact {
  padding-bottom: var(--space-2xl);
  background: url("../images/bg-contact.png") center/cover no-repeat;
  animation: lavaLamp 24s linear infinite, lavaGlow 15s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .logo-gradient-bg,
  .services,
  .contact {
    animation: none;
  }
}

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

.contact h2 {
  font-family: var(--font-headline);
  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-family: var(--font-montserrat);
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 500;
  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-md);
}

.field label {
  position: absolute;
  left: 0;
  top: 32px;
  font-family: var(--font-montserrat);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-black);
  pointer-events: none;
  transition: all var(--transition-base);
  transform-origin: left top;
}
@media (max-width: 768px) {
  .field label {
    top: 26px;
  }
}

.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-family: var(--font-montserrat);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  transition: border-color var(--transition-base);
}

@media (max-width: 768px) {
  .field input {
    min-height: 44px;
  }
  .field textarea {
    min-height: 44px;
    padding: var(--space-sm) 0 30px;
  }
}

.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: 10px;
  font-size: 11px;
  color: var(--c-black);
}

.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: var(--c-black);
}

.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;
    margin-bottom: var(--space-lg);
  }
  .row2 {
    grid-template-columns: 1fr;
  }
}

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

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

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

.footer-links {
  display: flex;
  gap: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  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);
  margin-left: auto;
}

.footer-brand .mark {
  display: inline-block;
  width: 112px;
  height: 16px;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjI0IiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMjI0IDMyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGQ9Ik0yMjMuNDUxIDB2OC45NzRoLTE2LjAzNVYzMC42NEgxOTAuNDFWOC45NzRoLTE2LjAzNVYwem0tNzAuMDg0IDBoMTYuMzk5djMwLjY0MmgtMTQuOTQybC0yMi4xMDgtMTYuNjc4djE2LjY3OGgtMTYuNFYwaDE3Ljk3OWwxOS4wNzIgMTQuNzUyem0tNjAuODYgMGgxNy4wMDd2MTYuMTk2YzAgOS41ODctOS40NzUgMTUuNDk2LTI2LjExNyAxNS40OTZzLTI2LjExOC01LjkxLTI2LjExOC0xNS40OTZWMGgxNy4wMDd2MTUuMjMzYzAgMy44OTYgMi42MTIgNy4wMDQgOS4xMSA3LjAwNCA2LjUgMCA5LjExMS0zLjEwOCA5LjExMS03LjAwNHptLTUyLjQyIDE0Ljc5NmM2LjgwMy4zNSAxMi42MzMgMi45MzIgMTIuNjMzIDcuNDg1IDAgNC45OS02LjkyNCA4LjM2LTE3Ljc5NiA4LjM2SDBWMGgzMi40OTVDNDMuMzY3IDAgNTAuMjkgMy4yODMgNTAuMjkgOC4wNTRjMCAzLjQxNS0zLjcwNSA2LjQ3OS0xMC4yMDQgNi43NDJNMTYuNzY0IDcuNDQydjQuMzc3SDI5LjY0YzIuMDY1IDAgMy44MjctLjcgMy44MjctMi4xODkgMC0xLjQ4OC0xLjc2Mi0yLjE4OC0zLjgyNy0yLjE4OHpNMzEuMjggMjMuMmMyLjQzIDAgNC4wMDktLjkyIDQuMDA5LTIuNDA3IDAtMS40ODktMS41OC0yLjQwOC00LjAwOS0yLjQwOEgxNi43NjRWMjMuMnoiIGZpbGw9IiMwMDAiLz4KPC9zdmc+Cg==")
    center/contain no-repeat;
  filter: invert(1) brightness(2);
  text-indent: -9999px;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xl);
  }
  .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-family: var(--font-headline);
  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 {
  font-family: var(--font-headline);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: var(--space-lg);
}

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

.member-bio {
  font-family: var(--font-montserrat);
  color: var(--c-black);
  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;
  }
}
