@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --warm: #efe8dc;
  --ink: #101010;
  --muted: #5d5a55;
  --quiet: #8b857b;
  --line: #ded8cd;
  --red: #d92d27;
  --cream: #f4efe7;
  --blue: #dce9ef;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.section-shell {
  width: min(100% - 42px, var(--max));
  margin: 0 auto;
}

.announcement {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 8px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 0 max(21px, calc((100vw - var(--max)) / 2 + 21px));
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  grid-column: 2;
  justify-self: center;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  grid-column: 3;
  display: flex;
  justify-self: end;
  gap: 26px;
  color: var(--red);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a,
.footer-inner nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.nav-links a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.footer-inner nav a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.hero-slot {
  width: 100%;
  margin: 0;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: min(760px, calc(100vh - 116px));
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.02), rgba(16, 16, 16, 0.48)),
    linear-gradient(105deg, rgba(28, 26, 22, 0.42), rgba(238, 231, 219, 0.14) 46%, rgba(16, 16, 16, 0.2)),
    url("assets/hero/barbican-hero-20260611.jpg") center / cover;
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.18);
  content: "";
}

.hero-stage::after {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 16, 0.48));
  content: "";
}

.hero-slot-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 780px;
  margin: 0 0 clamp(48px, 7vw, 96px) max(28px, calc((100vw - var(--max)) / 2 + 28px));
  color: #fff;
}

.hero-slot-copy h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.hero-slot-copy p:not(.kicker) {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
}

.hero-slot-copy .kicker {
  color: #fff;
}

.contact-card {
  min-height: 560px;
  border-radius: 24px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 830;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 760;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
}

.button.light {
  background: transparent;
  color: var(--ink);
}

.button.light-on-dark {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(16, 16, 16, 0.2);
  color: #fff;
}

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

.button.dark:hover,
.button.light:hover,
.button.light-on-dark:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.apps-section { padding: 82px 0 88px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-align: right;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card { min-width: 0; }

.product-link { display: block; }

.product-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 430px;
  margin-bottom: 18px;
  border-radius: 0;
  background: var(--cream);
  transition: transform 220ms ease;
}

.product-link:hover .product-visual {
  transform: translateY(-4px);
}

.product-visual::before {
  content: none;
}

.zoneflow-visual,
.meter-visual,
.tally-visual,
.slacking-visual,
.prompt-visual,
.speaker-visual,
.nod-visual,
.downloader-visual,
.assistant-visual,
.bridge-visual {
  background: #eee9df;
}

.product-card:nth-child(even) .product-visual {
  background: #f3eee6;
}

.object-number,
.stamp {
  position: absolute;
  z-index: 1;
  font-size: 13px;
  font-weight: 830;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.object-number {
  top: 24px;
  left: 24px;
  color: var(--quiet);
}

.stamp {
  right: 24px;
  bottom: 24px;
  color: var(--red);
}

.suite-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: min(48%, 206px);
  aspect-ratio: 1;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
}

.suite-icon.svg-icon {
  width: min(50%, 214px);
  border-radius: 0;
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: start;
}

.product-info h3 {
  margin: 0;
  color: var(--red);
  font-size: 24px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
}

.product-info p {
  grid-column: 1 / -1;
  max-width: 420px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.product-info span {
  justify-self: end;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-copy h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.studio-note {
  display: grid;
  align-content: end;
  justify-items: end;
  text-align: right;
}

.studio-note p {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.32;
}

.contact-section { padding: 78px 0; }

.contact-card {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 48px;
  background: var(--warm);
  text-align: center;
}

.contact-card p:not(.kicker) {
  max-width: 560px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.35;
}

.site-footer {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-inner .brand {
  grid-column: auto;
  justify-self: start;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.footer-inner p {
  justify-self: end;
  max-width: 300px;
  margin: 0;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 1020px) {
  .hero,
  .studio-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .contact-card {
    min-height: 440px;
  }

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

  .studio-note {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 740px) {
  .announcement { font-size: 12px; }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand,
  .nav-links {
    grid-column: auto;
    justify-self: center;
  }

  .nav-links {
    gap: 18px;
    font-size: 14px;
  }

  .hero { padding-top: 28px; }

  .hero-copy,
  .hero-panel,
  .contact-card {
    min-height: 360px;
    border-radius: 18px;
  }

  .hero-copy,
  .contact-card {
    padding: 28px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading h2 { text-align: left; }

  .product-grid { grid-template-columns: 1fr; }

  .product-visual { min-height: 360px; }

  .product-info { grid-template-columns: 1fr; }

  .product-info span { justify-self: start; }

  .footer-inner { grid-template-columns: 1fr; }

  .footer-inner nav { justify-content: flex-start; }

  .footer-inner p {
    justify-self: start;
    text-align: left;
  }
}
