:root {
  color-scheme: dark;
  --bg: #030405;
  --bg-elevated: #090a0c;
  --surface: rgba(18, 19, 22, .58);
  --surface-strong: rgba(21, 22, 25, .72);
  --surface-soft: rgba(255, 255, 255, .045);
  --text: #f4f3ef;
  --muted: #b4b4b0;
  --subtle: #7d7f83;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --accent: #f4f3ef;
  --accent-soft: #d8d7d2;
  --shadow: 0 28px 80px rgba(0, 0, 0, .46);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, .32);
  --radius-card: 8px;
  --radius-control: 999px;
  --max: 1160px;
  --header: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-sans: Aptos, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), transparent 260px),
    linear-gradient(118deg, rgba(255, 255, 255, .05), transparent 34%),
    linear-gradient(180deg, #030405 0%, #07080a 48%, #030405 100%);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, .7), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .045;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

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

p,
h1,
h2,
h3,
span,
a,
button,
label {
  overflow-wrap: anywhere;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: min(var(--max), calc(100% - clamp(28px, 5vw, 48px)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 10px 14px;
  background: rgba(15, 16, 18, .95);
  color: var(--text);
  transition: transform .22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(3, 4, 5, .58);
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 4, 5, .88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .34);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
  font-weight: 820;
  letter-spacing: 0;
}

.logo-image {
  width: auto;
  height: 34px;
  max-width: min(190px, 42vw);
  object-fit: contain;
}

.site-footer .logo-image {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 0 14px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .1);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  margin-left: 4px;
  color: #050607;
  border-color: rgba(255, 255, 255, .62);
  background: linear-gradient(180deg, #fff, #dbdad4);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  color: #050607;
  background: linear-gradient(180deg, #fff, #cfcfca);
  box-shadow: 0 12px 34px rgba(255, 255, 255, .08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .065);
  color: var(--text);
  cursor: pointer;
  transition: background .22s var(--ease), border-color .22s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .09);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 20px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0;
}

.section-compact {
  padding: 20px 0 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
    rgba(255, 255, 255, .018);
  border-block: 1px solid rgba(255, 255, 255, .08);
}

.hero,
.page-hero,
.contact-section {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: clamp(560px, 80svh, 840px);
  display: grid;
  align-items: end;
  padding: clamp(96px, 12vw, 128px) 0 clamp(52px, 7vw, 76px);
}

.hero-media,
.page-hero-media,
.contact-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #030405;
}

.hero-media::after,
.page-hero-media::after,
.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, .82) 0%, rgba(3, 4, 5, .54) 46%, rgba(3, 4, 5, .12) 100%),
    linear-gradient(0deg, rgba(3, 4, 5, .78) 0%, rgba(3, 4, 5, .28) 38%, rgba(3, 4, 5, .04) 100%);
}

.hero-media img,
.page-hero-media img,
.contact-media img {
  opacity: .9;
  filter: saturate(.82) contrast(1.03);
}

.hero-media img {
  animation: mediaDrift 18s var(--ease) infinite alternate;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: end;
  gap: clamp(24px, 4vw, 44px);
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.h1,
.h2 {
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}

.h1 {
  max-width: 960px;
  font-size: clamp(3.1rem, 7vw, 5rem);
  line-height: .98;
  font-weight: 800;
}

.h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.35rem);
  line-height: 1.02;
  font-weight: 780;
}

.lead,
.body-large {
  max-width: 780px;
  color: #e3e2dc;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.68;
}

.lead {
  margin: 24px 0 0;
}

.lead-secondary {
  margin-top: 10px;
  color: var(--muted);
}

.body-large {
  margin: 22px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 20px;
  color: var(--text);
  font-weight: 720;
  text-align: center;
  cursor: pointer;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #040506;
  border-color: rgba(255, 255, 255, .66);
  background: linear-gradient(180deg, #fff, #dcdad3);
  box-shadow: 0 18px 48px rgba(255, 255, 255, .08);
}

.button-primary:hover {
  background: linear-gradient(180deg, #fff, #cfcfca);
  box-shadow: 0 22px 58px rgba(255, 255, 255, .11);
}

.button-ghost {
  background: rgba(255, 255, 255, .055);
}

.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .095);
}

.glass-panel,
.service-card,
.feature-card,
.image-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .032)),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 70px rgba(0, 0, 0, .38);
  backdrop-filter: blur(22px) saturate(125%);
}

.hero-brief {
  width: 100%;
  align-self: end;
  padding: 22px;
}

.panel-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 680;
  text-transform: uppercase;
}

.brief-list {
  display: grid;
}

.brief-list div {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.brief-list div:first-child {
  border-top: 0;
}

.brief-list strong,
.service-index,
.feature-card span {
  color: var(--accent);
  font-size: .84rem;
  font-weight: 760;
}

.brief-list span {
  color: var(--text);
  font-weight: 700;
}

.service-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}

.service-ribbon span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-control);
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .035);
  font-size: .9rem;
  font-weight: 620;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
}

.content-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 40px);
}

.split .content-panel,
.contact-grid .content-panel {
  min-height: clamp(340px, 37vw, 500px);
}

.image-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 37vw, 500px);
  background: #090a0c;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 4, 5, .46), transparent 62%);
}

.image-panel img {
  filter: saturate(.78) contrast(1.04);
  transition: transform .7s var(--ease), filter .7s var(--ease);
}

.image-panel:hover img {
  transform: scale(1.025);
  filter: saturate(.92) contrast(1.06);
}

.image-panel-small {
  min-height: clamp(340px, 32vw, 430px);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 108px;
}

.page-hero {
  min-height: clamp(420px, 54svh, 620px);
  display: grid;
  align-items: end;
  padding: clamp(96px, 11vw, 122px) 0 clamp(52px, 7vw, 72px);
}

.page-hero-content {
  max-width: 920px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface-strong);
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(26, 27, 30, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 32px 82px rgba(0, 0, 0, .5);
}

.service-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101113;
}

.service-image img {
  filter: saturate(.72) contrast(1.05);
  transition: transform .7s var(--ease), filter .7s var(--ease);
}

.service-card:hover .service-image img {
  transform: scale(1.035);
  filter: saturate(.9) contrast(1.08);
}

.service-content {
  min-height: clamp(210px, 18vw, 244px);
  flex: 1;
  padding: clamp(20px, 2.3vw, 24px);
}

.service-content h2 {
  margin: 8px 0 12px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.service-content p,
.feature-card p,
.footer-note {
  color: var(--muted);
}

.service-content p {
  margin: 0;
}

.service-content p + p {
  margin-top: 10px;
}

.feature-row,
.event-grid {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.feature-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.event-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.feature-card {
  min-height: clamp(190px, 18vw, 220px);
  padding: clamp(22px, 2.5vw, 26px);
  background: rgba(18, 19, 22, .62);
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .22);
  background: rgba(27, 28, 31, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--shadow-soft);
}

.feature-card h2 {
  margin: 12px 0 10px;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
}

.contact-section {
  min-height: max(620px, calc(100svh - var(--header)));
  display: grid;
  align-items: center;
  padding: clamp(76px, 9vw, 104px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  align-self: stretch;
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 720;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-card);
  outline: none;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, .055);
  transition: border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}

.contact-form textarea {
  min-height: 156px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(244, 243, 239, .42);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
}

.contact-form .button[disabled] {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.form-status.is-success {
  color: var(--accent);
}

.form-status.is-error {
  color: #f0b7b7;
}

.info-list {
  display: grid;
}

.info-item {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 0;
}

.info-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-item strong {
  color: var(--accent);
  font-size: .84rem;
}

.info-item span,
.info-item a {
  color: var(--muted);
}

.info-item a:hover {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(3, 4, 5, .94);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(160px, .7fr) minmax(220px, .8fr);
  gap: 32px;
  align-items: start;
}

.footer-note {
  max-width: 280px;
  margin: 16px 0 0;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .82rem;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a,
.footer-list span {
  color: var(--muted);
}

.footer-list a:hover {
  color: var(--text);
}

.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--subtle);
  font-size: .9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .76s var(--ease), transform .76s var(--ease), filter .76s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: .08s;
}

@keyframes mediaDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

@media (max-width: 1080px) {
  .h1 {
    font-size: clamp(3rem, 7.8vw, 4.15rem);
  }

  .h2 {
    font-size: clamp(2.25rem, 5.6vw, 2.9rem);
  }

  .hero-layout,
  .split,
  .feature-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-brief,
  .contact-card {
    width: 100%;
    max-width: 560px;
  }

  .section-heading {
    position: static;
  }

  .services-grid,
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(3, 4, 5, .88);
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header) + 10px);
    left: 14px;
    right: 14px;
    display: none;
    max-height: calc(100svh - var(--header) - 24px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 12px;
    background: rgba(12, 13, 15, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 68px;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-header {
    background: rgba(3, 4, 5, .88);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header) + 10px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 12px;
    background: rgba(12, 13, 15, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero {
    min-height: 78svh;
    padding: 94px 0 52px;
  }

  .page-hero {
    min-height: 52svh;
    padding: 96px 0 52px;
  }

  .section {
    padding: 66px 0;
  }

  .section-compact {
    padding-top: 18px;
  }

  .h1 {
    font-size: clamp(2.5rem, 12vw, 3rem);
    line-height: 1.02;
  }

  .h2 {
    font-size: clamp(2rem, 9vw, 2.28rem);
    line-height: 1.06;
  }

  .lead,
  .body-large {
    font-size: 1.04rem;
  }

  .content-panel,
  .contact-card {
    padding: 24px;
  }

  .image-panel {
    min-height: 340px;
  }

  .services-grid,
  .event-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .service-content {
    min-height: auto;
  }

  .contact-section {
    min-height: auto;
    padding: 72px 0;
  }
}

@media (max-width: 440px) {
  .h1 {
    font-size: clamp(2.15rem, 11vw, 2.42rem);
  }

  .h2 {
    font-size: clamp(1.8rem, 9vw, 1.95rem);
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .service-ribbon {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

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