:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f7f2eb;
  --muted: #b6aca1;
  --line: rgba(247, 242, 235, 0.16);
  --soft-line: rgba(247, 242, 235, 0.08);
  --amber: #d9a861;
  --cyan: #74d8d0;
  --charcoal: #10100e;
  --paper: #efe4d0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: rgba(217, 168, 97, 0.35);
}

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

[hidden] {
  display: none !important;
}

.access-gate {
  display: none;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.8)),
    url("assets/ai-workspace-hero.png") center / cover;
}

.access-gate > div {
  width: min(560px, 100%);
  border-left: 1px solid rgba(116, 216, 208, 0.55);
  padding-left: clamp(20px, 5vw, 36px);
}

.access-gate h1 {
  margin-bottom: 16px;
  font-size: clamp(52px, 10vw, 92px);
}

.access-gate p:last-child {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

body.is-locked .access-gate {
  display: grid;
}

body.is-locked .site-header,
body.is-locked main {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--ink);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  color: rgba(247, 242, 235, 0.8);
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--soft-line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.32) 42%, rgba(0, 0, 0, 0.66) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.18) 48%, rgba(5, 5, 5, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  margin-bottom: clamp(76px, 13vh, 148px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 11vw, 148px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-kicker {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(247, 242, 235, 0.88);
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.45;
}

.hero-actions,
.principle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.button.primary {
  border-color: rgba(217, 168, 97, 0.7);
  background: var(--paper);
  color: #15110c;
}

.button.secondary {
  background: rgba(5, 5, 5, 0.28);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(22px, 5vw, 56px);
  width: min(330px, calc(100% - 36px));
  border-left: 1px solid rgba(116, 216, 208, 0.55);
  padding-left: 20px;
  color: rgba(247, 242, 235, 0.88);
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1.3fr);
  gap: clamp(34px, 7vw, 90px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(62px, 10vw, 122px) clamp(18px, 4vw, 42px);
}

.intro-stat {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.intro-stat span {
  display: block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.intro-stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.intro-stat p,
.copy-block p,
.system-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.intro-line p {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(31px, 4.5vw, 59px);
  line-height: 1.12;
  letter-spacing: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1fr);
  gap: clamp(42px, 8vw, 112px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 9vw, 118px) clamp(18px, 4vw, 42px);
  border-top: 1px solid var(--soft-line);
}

.portrait-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(116, 216, 208, 0.12), rgba(217, 168, 97, 0.08) 42%, rgba(255, 255, 255, 0.02)),
    #0b0c0b;
}

.portrait-panel::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(247, 242, 235, 0.14);
}

.portrait-panel::after {
  content: "RB";
  position: absolute;
  right: 34px;
  bottom: 28px;
  color: rgba(247, 242, 235, 0.08);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(110px, 17vw, 210px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
}

.signal-grid {
  position: absolute;
  inset: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.signal-grid span {
  min-height: 82px;
  border: 1px solid rgba(247, 242, 235, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
}

.signal-grid span:nth-child(3n + 1) {
  border-color: rgba(116, 216, 208, 0.24);
}

.signal-grid span:nth-child(4n) {
  border-color: rgba(217, 168, 97, 0.22);
}

.signal-caption {
  position: absolute;
  left: 38px;
  bottom: 36px;
  max-width: 190px;
  color: rgba(247, 242, 235, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.copy-block {
  align-self: center;
}

h2 {
  margin-bottom: 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.copy-block > p {
  max-width: 590px;
  font-size: 17px;
}

.focus-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  border-top: 1px solid var(--soft-line);
  padding-top: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.focus-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

.systems-section {
  background: #0b0b0a;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  padding: clamp(62px, 10vw, 120px) clamp(18px, 4vw, 42px);
}

.section-heading,
.system-grid {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 82px);
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--soft-line);
  border: 1px solid var(--soft-line);
}

.system-grid article {
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
  background: #0b0b0a;
}

.system-grid article[data-show="g2i"] {
  background:
    linear-gradient(140deg, rgba(116, 216, 208, 0.12), rgba(217, 168, 97, 0.06)),
    #0d0d0b;
}

.system-grid span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h3 {
  margin: 22px 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.quote-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 12vw, 150px) clamp(18px, 4vw, 42px);
}

blockquote {
  max-width: 1010px;
  margin: 0 0 38px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

.principle-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  color: rgba(247, 242, 235, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px clamp(18px, 4vw, 42px) 58px;
  border-top: 1px solid var(--soft-line);
}

.contact-section h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 56px);
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 16px;
  }

  nav {
    gap: 14px;
    font-size: 10px;
  }

  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin: 0 18px 178px;
    width: calc(100% - 36px);
  }

  .hero-note {
    left: 18px;
    right: auto;
    bottom: 30px;
    width: calc(100% - 36px);
  }

  .hero-note strong {
    font-size: 21px;
  }

  .intro-band,
  .split-section,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    min-height: 420px;
  }

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

  .system-grid article {
    min-height: auto;
  }

  .contact-section .button {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  nav a:not(:last-child) {
    display: none;
  }

  h1 {
    font-size: clamp(46px, 12.6vw, 54px);
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  .hero-kicker {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 310px);
  }

  .button {
    width: 100%;
  }

  .signal-grid {
    inset: 28px;
    gap: 10px;
  }

  .signal-grid span {
    min-height: 62px;
  }

  .portrait-panel::after {
    right: 18px;
    bottom: 18px;
  }
}
