@font-face {
  font-family: "Space Grotesk";
  src: url("space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #0b0b0c;
  --ink: #faf8f7;
  --muted: #c1babb;
  --quiet: #b4abac;
  --line: #332d2e;
  --panel: #181516;
  --accent: #ff5555;
  --heading: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 1rem/1.55 var(--body); }
::selection { background: var(--accent); color: var(--background); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff2ef; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
em { font-style: normal; }
canvas { display: block; width: 100%; height: 100%; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.section { scroll-margin-top: 30px; }
.anchor { display: block; height: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 5; transform: translateY(-180%); padding: 10px 16px; background: var(--accent); color: #150708; }
.skip:focus { transform: translateY(0); }

.header { background: #000; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.logo { flex: none; display: inline-flex; padding-block: 8px; background: #000; }
.logo img { display: block; width: 182px; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.header nav > a:not(.button) { color: var(--muted); font-size: .91rem; font-weight: 600; }
.header nav > a:not(.button):hover, .footer a:hover, .academy:hover strong, address a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; color: var(--ink); cursor: pointer; }
.menu-toggle span { margin-inline-start: 7px; }

.button { min-height: 52px; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: #160809; font-size: .93rem; font-weight: 700; line-height: 1.2; transition: background .18s, border-color .18s, color .18s; }
.button span { font-size: 1.24em; font-weight: 500; }
.button:hover { background: #ff8280; }
.button-small { min-height: 42px; padding-inline: 14px; }
.button-quiet { background: transparent; border-color: #514749; color: var(--ink); }
.button-quiet:hover { background: #231b1c; border-color: #917d7e; }
.button-dark { background: #181212; color: #fff; }
.button-dark:hover { background: #432626; }
.button-dark:focus-visible { outline-color: #181212; }

.hero { display: grid; position: relative; isolation: isolate; grid-template-columns: 55% 45%; grid-template-rows: 1fr auto; align-items: center; min-height: min(670px, calc(100svh - 85px)); }
.hero-copy { position: relative; z-index: 1; padding-block: 92px 78px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--accent); font-size: .72rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.signal { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px #ff34349e; }
h1 { margin-top: 25px; font-size: clamp(3.4rem, 6.2vw, 6.25rem); line-height: .99; letter-spacing: -.084em; font-weight: 700; }
h1 em { display: block; color: var(--accent); }
.hero-summary { max-width: 480px; margin-top: 26px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.23rem); line-height: 1.56; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-visual { align-self: stretch; position: relative; min-width: 0; }
.hero-visual canvas, .hero-atmosphere { position: absolute; inset: 0; }
.hero-atmosphere { inset: 5% -3% 5% -10%; background: radial-gradient(ellipse at 56% 51%, #e5293936 0, #631f253b 32%, #25111400 69%); }
.hero-atmosphere::after { content: ""; position: absolute; inset: 23% 6%; border: 1px solid #a7393d; border-radius: 50%; transform: rotate(-30deg); box-shadow: 0 0 42px #ce292d53, inset 0 0 50px #f347493b; opacity: .55; }
.hero-visual[data-ready] .hero-atmosphere::after { opacity: 0; }
.motion-toggle { position: absolute; right: 1px; bottom: 25px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #56474a; border-radius: 50%; color: #ece1df; background: #231b1d; cursor: pointer; }
.motion-toggle:hover { border-color: var(--accent); color: var(--accent); }
.hero-meta { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--quiet); font-size: .81rem; }
.academy { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.academy strong { color: #ede2e0; font-weight: 600; }

.services { padding-block: 94px 105px; }
.section-heading { display: grid; grid-template-columns: 24% minmax(0, 720px); align-items: start; gap: 28px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-top: 13px; }
h2 { font-size: clamp(2.28rem, 4.3vw, 4.25rem); line-height: 1.02; letter-spacing: -.066em; font-weight: 700; text-wrap: balance; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.service-art { position: relative; height: clamp(154px, 17vw, 234px); border-bottom: 1px solid var(--line); overflow: hidden; }
.service-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, #f5d5d225 1px, transparent 1.5px) 0 0 / 16px 16px; mask-image: radial-gradient(ellipse, #000, transparent 80%); }
.service-art canvas { position: relative; }
.art-training { background: radial-gradient(ellipse at 49% 62%, #7c292d7a, transparent 73%), #231719; }
.art-workflows { background: radial-gradient(ellipse at 49% 55%, #64262690, transparent 78%), #1d1718; }
.art-operations { background: radial-gradient(ellipse at 51% 64%, #4d3e407d, transparent 78%), #1b181a; }
.service-copy { padding: clamp(20px, 2.15vw, 32px); }
.service h3 { font-size: clamp(1.35rem, 2.4vw, 2.04rem); line-height: 1.15; letter-spacing: -.046em; }
.service p { margin-top: 12px; color: var(--muted); }

.approach { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 75% 50%, #2f191c 0, #161213 69%); }
.approach-inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 6vw, 92px); padding-block: 104px; }
.approach h2, .course h2, .contact h2 { margin-top: 17px; }
.approach h2 em { color: var(--accent); }
.approach-copy > p:last-child, .contact p:not(.eyebrow) { max-width: 490px; margin-top: 19px; font-size: 1.05rem; color: var(--muted); }
.demo { border: 1px solid #584044; border-radius: 10px; background: #1b1516; overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.demo-head h3 { font-size: 1rem; letter-spacing: -.02em; }
.demo-head .signal { width: 6px; height: 6px; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.demo-steps button { min-height: 42px; padding: 5px 3px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: .84rem; font-weight: 600; cursor: pointer; }
.demo-steps button:hover { background: #2a2122; color: var(--ink); }
.demo-steps button[aria-pressed="true"] { border-color: #985451; background: #482829; color: #fff; }
.demo-panel { padding: 20px; min-height: 180px; }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.demo-panel > p:not(.demo-label) { margin-top: 5px; color: var(--muted); }
.demo-label { font-weight: 700; }
.demo-result { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; padding: 9px 12px; border-left: 2px solid var(--accent); background: #332021; color: #ffe3de; font-size: .86rem; }

.course { padding-block: 98px 0; }
.course-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .43fr); align-items: center; gap: 42px; padding: clamp(28px, 5.3vw, 76px); overflow: hidden; color: #181212; background: radial-gradient(ellipse at 95% 0%, #f0c6c0, transparent 65%), #f3eae7; border-radius: 10px; }
.course .eyebrow { color: #832b2b; }
.course h2 { text-wrap: initial; }
.course-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 510px; color: #4c3c3b; }
.course .button { margin-top: 23px; }
.course-details { margin: 0; }
.course-details div { border-bottom: 1px solid #c4ada8; padding-block: 12px; }
.course-details div:first-child { border-top: 1px solid #c4ada8; }
.course-details dt { color: #644b49; font-size: .76rem; font-weight: 700; }
.course-details dd { margin: 3px 0 0; font: 600 1.23rem/1.2 var(--heading); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(215px, .42fr); align-items: end; gap: 55px; padding-block: 100px; position: relative; }
.contact .anchor { position: absolute; top: 0; }
.contact h2 { max-width: 680px; text-wrap: initial; }
.contact .button { margin-top: 24px; }
address { display: grid; gap: 5px; font-style: normal; color: var(--muted); padding: 2px 0 2px 21px; border-left: 1px solid var(--line); }
address strong { color: var(--ink); font-size: 1.04rem; }
address a { width: fit-content; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 80px; padding-block: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; color: var(--quiet); font-size: .82rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.trade-link { white-space: nowrap; margin-left: auto; }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 64px, 1240px); }
  .hero { grid-template-columns: 56% 44%; min-height: 550px; }
  .hero-copy { padding-block: 74px 70px; }
  .hero-visual canvas { width: calc(100% + 35px); left: -15px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: 8px; padding-block: 11px; }
  .logo img { width: 140px; }
  .header nav { width: 100%; flex-wrap: wrap; gap: 10px 22px; }
  .header[data-enhanced] .menu-toggle { display: block; }
  .header[data-enhanced] nav { display: none; }
  .header[data-enhanced][data-menu-open] nav { display: grid; gap: 0; padding-block: 10px 4px; }
  .header[data-menu-open] nav > a:not(.button) { padding: 10px 0; min-height: 44px; border-top: 1px solid var(--line); }
  .header[data-menu-open] nav > a.button { justify-self: start; margin-block: 6px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding-block: 52px 9px; }
  h1 { margin-top: 17px; font-size: clamp(2.9rem, 8.7vw, 4.8rem); letter-spacing: -.072em; }
  .hero-summary { margin-top: 18px; }
  .actions { margin-top: 22px; }
  .hero-visual { min-height: clamp(230px, 67vw, 400px); }
  .hero-visual canvas { width: 100%; left: 0; }
  .hero-atmosphere { inset: 0; }
  .motion-toggle { bottom: 13px; }
  .hero-meta { font-size: .77rem; align-items: start; }
  .hero-meta > span { display: none; }
  .services { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 25px; }
  .section-heading .eyebrow { margin-top: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-art { height: clamp(155px, 48vw, 224px); }
  .approach-inner, .course-inner, .contact { grid-template-columns: 1fr; gap: 27px; }
  .approach-inner { padding-block: 62px; }
  .course { padding-top: 62px; }
  .contact { padding-block: 62px; }
  .footer-inner { align-items: flex-start; }
  .footer nav { margin-right: auto; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 34px); }
  h1 { font-size: clamp(2.05rem, 9.5vw, 2.75rem); }
  .actions { gap: 8px; }
  .actions .button { min-height: 46px; padding-inline: 10px; gap: 8px; font-size: .81rem; }
  .hero-meta { padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.legal-page .legal-main {
  width: min(850px, 100% - 40px);
  margin: 34px auto 64px;
  padding: clamp(22px, 5vw, 55px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.legal-page h1 { margin: 0 0 32px; font-size: clamp(2.25rem, 6vw, 3.8rem); }
.legal-page h2 { margin: 26px 0 9px; font-size: clamp(1.3rem, 4vw, 1.72rem); text-wrap: initial; letter-spacing: -.035em; }
.legal-page p { margin-block: 10px; color: var(--muted); }
.legal-page .legal-main a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
