:root {
  --bg: #f8f7f2;
  --ink: #181715;
  --muted: #65615a;
  --line: #d9d5cc;
  --brand-yellow: #f8b800;
  --coral: #ff674d;
  --sky: #8ed8ff;
  --paper: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(31, 29, 24, 0.12);
  --section-grid: minmax(0, 0.8fr) minmax(0, 1.2fr);
  --section-gap: clamp(28px, 7vw, 90px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

address {
  font-style: normal;
}

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

.signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(248, 247, 242, 0.78);
  border-bottom: 1px solid rgba(24, 23, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.panel-top,
.mode-controls,
.strip,
.contact-card,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 820;
  text-transform: lowercase;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
}

.nav {
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: var(--brand-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 820;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  background: rgba(248, 184, 0, 0.12);
}

.hero {
  min-height: calc(100svh - 128px);
  display: grid;
  grid-template-columns: var(--section-grid);
  grid-template-areas:
    "copy routes"
    "copy panel";
  column-gap: var(--section-gap);
  row-gap: 14px;
  align-items: center;
  padding: clamp(34px, 5vw, 68px) clamp(18px, 6vw, 84px) 34px;
}

.hero-copy {
  grid-area: copy;
  max-width: 780px;
}

.hero-logo {
  width: clamp(76px, 8vw, 112px);
  height: auto;
  display: block;
  margin: 0 0 20px;
  filter: drop-shadow(0 18px 26px rgba(255, 176, 0, 0.22));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.2vw, 84px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  gap: 0.02em;
}

.title-line {
  display: block;
}

.title-teaches {
  display: flex;
  align-items: center;
  gap: 0.18em;
  flex-wrap: wrap;
}

.title-secret {
  display: inline-grid;
  place-items: center;
  transform: rotate(-2.5deg) translateY(-0.08em);
  padding: 0.15em 0.32em 0.18em;
  background: var(--ink);
  color: var(--brand-yellow);
  border-radius: 8px;
  font-size: 0.36em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(24, 23, 21, 0.16);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.hero-title:hover .title-secret {
  transform: rotate(1.5deg) translateY(-0.08em);
  background: var(--coral);
  color: white;
}

.title-simple {
  position: relative;
  width: fit-content;
}

.title-simple::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: -0.04em;
  bottom: 0.02em;
  z-index: -1;
  height: 0.18em;
  background: var(--brand-yellow);
  transform: rotate(-1deg);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}

.button {
  min-height: 48px;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 760;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.primary {
  background: var(--ink);
  color: white;
}

.secondary {
  background: transparent;
}

.route-board {
  grid-area: routes;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.route-item {
  min-width: 0;
  min-height: 136px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 23, 21, 0.1);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.route-item:hover {
  transform: translateY(-4px);
  background: var(--ink);
  color: white;
}

.route-item span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 820;
}

.route-item strong {
  margin-top: 26px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.route-item small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.route-item:hover small {
  color: rgba(255, 255, 255, 0.68);
}

.studio-panel {
  position: relative;
  grid-area: panel;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto minmax(64px, 0.8fr) minmax(74px, auto) auto;
  gap: 12px;
  min-height: 272px;
  padding: 24px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.studio-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0 45%, rgba(24, 23, 21, 0.72) 62%, rgba(24, 23, 21, 0.06) 88%),
    linear-gradient(0deg, rgba(24, 23, 21, 0.34), transparent 48%);
}

.studio-portrait {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.52;
  filter: grayscale(1) contrast(1.12) brightness(0.88);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 20%, #000 48%);
}

.studio-panel > :not(.studio-portrait) {
  position: relative;
  z-index: 1;
}

.mode-label,
.mode-text,
.mode-controls {
  max-width: 62%;
}

.panel-top {
  justify-content: space-between;
  height: 36px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.mode-label {
  align-self: end;
  margin: 0;
  color: var(--brand-yellow);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 820;
  line-height: 0.86;
}

.mode-text {
  align-self: start;
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.35;
}

.mode-controls {
  align-self: end;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-button,
.quote-chip {
  border: 1px solid rgba(24, 23, 21, 0.18);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.mode-button {
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.mode-button.is-active {
  background: var(--brand-yellow);
  color: var(--ink);
}

.strip {
  min-height: 68px;
  gap: clamp(18px, 5vw, 64px);
  overflow: hidden;
  padding: 0 clamp(18px, 6vw, 84px);
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-weight: 820;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  padding: clamp(72px, 11vw, 138px) clamp(18px, 6vw, 84px);
}

.two-col,
.mentor,
.contact {
  display: grid;
  grid-template-columns: var(--section-grid);
  gap: var(--section-gap);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.work-grid article {
  min-height: 230px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid rgba(24, 23, 21, 0.1);
  border-radius: 8px;
}

.work-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--coral);
  font-weight: 820;
}

.work-grid p,
.mentor-copy p,
.process-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

.process-section {
  display: grid;
  grid-template-columns: var(--section-grid);
  gap: var(--section-gap);
  align-items: center;
  background: var(--ink);
  color: white;
}

.process-copy {
  max-width: 680px;
}

.process-copy p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 20px;
}

.process-stage {
  min-height: 520px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    #23211e;
  background-size: 32px 32px;
}

.process-toolbar,
.process-switch,
.process-steps {
  display: flex;
  align-items: center;
}

.process-toolbar {
  justify-content: space-between;
  gap: 16px;
}

.process-toolbar > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.process-switch {
  gap: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.process-switch button {
  min-height: 34px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 820;
}

.process-switch button.is-active {
  background: var(--brand-yellow);
  color: var(--ink);
}

.process-autoplay {
  width: 58px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.process-autoplay i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-yellow);
  transform-origin: left;
  transform: scaleX(0);
}

.process-stage.is-timing .process-autoplay i {
  animation: processTimer 4.6s linear forwards;
}

@keyframes processTimer {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.process-visual {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.process-model,
.process-real {
  position: absolute;
  width: min(86%, 520px);
  aspect-ratio: 1.42;
  border-radius: 8px;
  transition: opacity 260ms ease, transform 260ms ease;
}

.process-model {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: 0.65fr 1fr;
  gap: 14px;
  padding: 18px;
  background: #f7f5ee;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.process-model span {
  border: 1px solid rgba(24, 23, 21, 0.16);
  border-radius: 6px;
  background: white;
}

.process-model span:nth-child(1) {
  grid-column: 1 / 3;
}

.process-model span:nth-child(3) {
  background:
    linear-gradient(90deg, rgba(24, 23, 21, 0.08) 1px, transparent 1px),
    white;
  background-size: 18px 18px;
}

.process-real {
  display: grid;
  grid-template-rows: 48px 1fr;
  overflow: hidden;
  background: #f8f7f2;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  box-shadow: 0 34px 80px rgba(248, 184, 0, 0.16);
}

.real-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background:
    linear-gradient(90deg, var(--brand-yellow), #ff674d);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.real-header span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.real-header span:last-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f8f4d;
}

.real-dashboard {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 62px;
  gap: 12px;
  padding: 16px;
}

.real-main,
.real-side,
.real-flow {
  border-radius: 6px;
  background: white;
  border: 1px solid rgba(24, 23, 21, 0.1);
}

.real-main {
  display: grid;
  align-content: space-between;
  padding: 14px;
}

.real-main span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.real-main strong {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.9;
}

.real-main i {
  height: 38px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--brand-yellow) 0 82%, rgba(24, 23, 21, 0.1) 82% 100%);
}

.real-side {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.real-side span {
  border-radius: 999px;
  background: rgba(24, 23, 21, 0.1);
}

.real-side span:nth-child(1) {
  background: var(--brand-yellow);
}

.real-flow {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
}

.real-flow span {
  border-radius: 5px;
  background: rgba(24, 23, 21, 0.12);
}

.real-flow span:nth-child(2) {
  background: #ff674d;
}

.real-flow span:nth-child(4) {
  background: var(--brand-yellow);
}

.process-stage.is-real .process-model {
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
}

.process-stage.is-real .process-real {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.process-steps {
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.process-steps span {
  color: var(--brand-yellow);
  font-size: 12px;
}

.mentor {
  align-items: center;
  background: #ffffff;
}

.mentor-copy {
  max-width: 720px;
}

.mentor-copy p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 20px;
}

.teacher-proof {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--coral);
  background: rgba(248, 247, 242, 0.86);
}

.teacher-proof span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 820;
  text-transform: uppercase;
}

.teacher-proof p {
  margin: 0;
}

.quote-board {
  min-height: 420px;
  position: relative;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(248, 184, 0, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(24, 23, 21, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(24, 23, 21, 0.08) 1px, transparent 1px),
    #8ad3f4;
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.quote-board::after {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px dashed rgba(24, 23, 21, 0.16);
  border-radius: 6px;
}

.quote-board-top {
  position: absolute;
  top: 22px;
  left: 30px;
  right: 30px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: rgba(24, 23, 21, 0.58);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.quote-chip {
  position: absolute;
  z-index: 2;
  padding: 12px 17px;
  box-shadow: 0 12px 30px rgba(24, 23, 21, 0.14);
  transition: transform 180ms ease, background 180ms ease;
}

.quote-chip:hover {
  transform: rotate(var(--chip-rotate, -1deg)) translateY(-2px);
}

.quote-chip:nth-of-type(1) {
  --chip-rotate: 0deg;
  left: 30px;
  top: 64px;
}

.quote-chip:nth-of-type(2) {
  --chip-rotate: 0deg;
  right: 34px;
  top: 82px;
}

.quote-chip:nth-of-type(3) {
  --chip-rotate: -1.5deg;
  left: 34%;
  top: 45%;
  transform: rotate(var(--chip-rotate));
}

.quote-chip:nth-of-type(4) {
  --chip-rotate: 1.5deg;
  right: 18%;
  bottom: 34%;
  transform: rotate(var(--chip-rotate));
}

.quote-chip.is-visible {
  background: var(--brand-yellow);
  border-color: rgba(24, 23, 21, 0.28);
}

#quoteText {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 820;
  line-height: 0.98;
}

.manifesto {
  display: grid;
  gap: 10px;
  border-block: 1px solid var(--line);
}

.manifesto p {
  margin: 0;
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 820;
  line-height: 1;
}

.manifesto p:nth-child(2) {
  color: var(--coral);
}

.manifesto p:nth-child(3) {
  color: var(--muted);
}

.contact-card {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  font-size: clamp(24px, 4vw, 54px);
  font-weight: 820;
  line-height: 1.08;
}

.contact-card a {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

.contact-card p {
  max-width: 520px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 520;
}

.footer {
  justify-content: space-between;
  padding: 24px clamp(18px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    gap: 12px;
  }

  .hero,
  .two-col,
  .process-section,
  .mentor,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "copy"
      "routes"
      "panel";
    min-height: auto;
  }

  .studio-panel,
  .process-stage,
  .quote-board {
    min-height: 360px;
  }

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

@media (max-width: 560px) {
  .site-header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .studio-panel {
    padding: 18px;
  }

  .route-board {
    grid-template-columns: 1fr;
  }

  .mode-label {
    font-size: 52px;
  }

  .mode-text {
    font-size: 19px;
  }

  .process-stage {
    padding: 18px;
  }

  .process-toolbar,
  .process-steps {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-visual {
    min-height: 240px;
  }

  .process-model,
  .process-real {
    width: 100%;
  }

  .quote-board {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    padding: 72px 18px 24px;
  }

  .quote-board::after {
    inset: 12px;
  }

  .quote-board-top {
    top: 26px;
    left: 24px;
    right: 24px;
  }

  .quote-chip {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 11px 8px;
    transform: none;
    font-size: 13px;
    box-shadow: none;
  }

  .quote-chip:hover,
  .quote-chip:nth-of-type(3),
  .quote-chip:nth-of-type(4) {
    transform: none;
  }

  #quoteText {
    grid-column: 1 / -1;
    margin-top: 20px;
    font-size: clamp(38px, 13vw, 56px);
    overflow-wrap: anywhere;
  }
}

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

  .signal-canvas {
    display: none;
  }
}
