@charset "UTF-8";

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-800.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --mc-ink: #0b0e12;
  --mc-panel: #12171d;
  --mc-panel-hi: #182027;
  --mc-paper: #f4f1ea;
  --mc-muted: #aeb4b7;
  --mc-line: rgb(244 241 234 / 17%);
  --mc-line-strong: rgb(244 241 234 / 31%);
  --mc-cash: #c8ff3f;
  --mc-cash-deep: #91c916;
  --mc-shadow: 0 22px 60px rgb(0 0 0 / 28%);
  --mc-display: "Unbounded", Arial, sans-serif;
  --mc-sans: "Onest", Arial, sans-serif;
  --mc-wrap: 1220px;
  --mc-ease: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--mc-ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 300px;
  margin: 0;
  overflow-x: hidden;
  color: var(--mc-paper);
  background:
    radial-gradient(72rem 42rem at 100% -15%, rgb(200 255 63 / 9%), transparent 60%),
    var(--mc-ink);
  font-family: var(--mc-sans);
  font-size: clamp(1rem, .95rem + .15vw, 1.125rem);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 1%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 1%) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

img,
svg { display: block; max-width: 100%; }

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

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--mc-cash); outline-offset: 4px; }

::selection { color: var(--mc-ink); background: var(--mc-cash); }

.shell {
  width: min(calc(100% - clamp(40px, 6vw, 96px)), var(--mc-wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--mc-ink);
  background: var(--mc-cash);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgb(11 14 18 / 76%);
  backdrop-filter: blur(15px);
  transition: border-color .25s ease, background .25s ease;
}

.site-header.is-stuck { border-bottom-color: var(--mc-line); background: rgb(11 14 18 / 94%); }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  min-height: 76px;
}

.wordmark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  font-family: var(--mc-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark img { width: 56px; height: 32px; object-fit: contain; }
.wordmark strong { color: var(--mc-cash); font-weight: 700; }

.nav-links {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: clamp(15px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--mc-muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--mc-paper); }

.nav-mail,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .24s var(--mc-ease), color .24s ease, background .24s ease, border-color .24s ease;
}

.nav-mail { color: var(--mc-ink); background: var(--mc-cash); }
.nav-mail:hover,
.button--primary:hover { color: var(--mc-paper); background: var(--mc-panel-hi); transform: translateY(-2px); }
.nav-mail span,
.button span { font-size: 1.12em; }

.nav-toggle { display: none; }

.page-section { position: relative; padding-block: clamp(76px, 10vw, 136px); }

.section-label {
  margin: 0 0 16px;
  color: var(--mc-cash);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1,
h2,
h3 { text-wrap: balance; }

h1,
h2 {
  margin: 0;
  font-family: var(--mc-display);
  font-weight: 700;
  letter-spacing: -.035em;
}

h1 {
  max-width: 13.8ch;
  font-size: clamp(2.7rem, 5vw, 4.375rem);
  line-height: 1.01;
}

h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.08;
}

h3 { margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.45rem); line-height: 1.2; }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .62fr);
  gap: clamp(30px, 7vw, 112px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-intro > * { min-width: 0; }
.section-intro > p { max-width: 42ch; margin: 0 0 3px; color: var(--mc-muted); font-size: .98rem; text-wrap: pretty; }
.section-intro--compact { margin-bottom: clamp(32px, 4vw, 48px); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(770px, 100svh);
  padding-block: clamp(90px, 11vw, 150px) clamp(72px, 10vw, 130px);
  overflow: clip;
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -32vw;
  z-index: -1;
  width: min(56vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgb(200 255 63 / 13%);
  border-radius: 50%;
  box-shadow: 0 0 0 min(6vw, 78px) rgb(200 255 63 / 3%), 0 0 0 min(12vw, 160px) rgb(200 255 63 / 2%);
  content: "";
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .86fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: min(550px, 71svh);
}

.hero-copy { min-width: 0; }
.hero-copy .section-label { margin-bottom: 23px; }

.hero-lede {
  max-width: 53ch;
  margin: 27px 0 0;
  color: var(--mc-muted);
  font-size: clamp(1rem, 1vw + .74rem, 1.18rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 34px; }
.button { min-height: 52px; padding-inline: 21px; }
.button--primary { color: var(--mc-ink); background: var(--mc-cash); }
.button--ink { color: var(--mc-paper); background: var(--mc-ink); }
.button--ink:hover { color: var(--mc-ink); background: var(--mc-paper); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--mc-paper);
  border-bottom: 1px solid var(--mc-cash);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.6;
  transition: color .2s ease, border-color .2s ease;
}

.text-link:hover { color: var(--mc-cash); border-color: var(--mc-paper); }
.text-link--ink { color: var(--mc-ink); border-bottom-color: var(--mc-ink); }
.text-link--ink:hover { color: var(--mc-ink); border-bottom-color: rgb(11 14 18 / 45%); }

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 40px 0 0;
  padding: 0;
  color: #d8dddc;
  font-size: .76rem;
  font-weight: 700;
  list-style: none;
}

.hero-list li { display: inline-flex; align-items: center; gap: 8px; }
.hero-list li::before { width: 5px; height: 5px; border-radius: 50%; background: var(--mc-cash); content: ""; }

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 470px;
  border: 1px solid var(--mc-line);
  background: linear-gradient(135deg, rgb(255 255 255 / 4%), transparent 55%), var(--mc-panel);
  box-shadow: var(--mc-shadow);
}

.hero-visual::before,
.hero-visual::after { position: absolute; content: ""; pointer-events: none; }
.hero-visual::before { inset: 18px; border: 1px solid rgb(244 241 234 / 9%); }
.hero-visual::after { top: 22%; bottom: 17%; left: 50%; width: 1px; background: linear-gradient(transparent, var(--mc-cash), transparent); opacity: .64; }

.visual-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56%, 290px);
  aspect-ratio: 1;
  border: 1px solid rgb(200 255 63 / 35%);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgb(200 255 63 / 4%), 0 0 90px rgb(200 255 63 / 12%);
  transform: translate(-50%, -50%);
}

.visual-mark { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(58%, 260px); transform: translate(-50%, -50%); }
.visual-mark img { width: 100%; height: auto; }

.visual-card {
  position: absolute;
  z-index: 3;
  display: grid;
  width: clamp(102px, 15vw, 146px);
  min-height: 92px;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--mc-line-strong);
  background: rgb(11 14 18 / 87%);
  box-shadow: 0 10px 24px rgb(0 0 0 / 24%);
  animation: card-arrive .8s var(--mc-ease) both;
}

.visual-card b { align-self: start; font-family: var(--mc-display); font-size: .7rem; letter-spacing: -.04em; }
.visual-card i { align-self: end; justify-self: end; color: var(--mc-cash); font-style: normal; }
.visual-card--reels { top: 14%; left: -5%; animation-delay: .12s; }
.visual-card--ideas { right: -4%; bottom: 13%; animation-delay: .25s; }
.visual-card--dialog { right: 10%; top: 9%; animation-delay: .38s; }

.visual-route { position: absolute; z-index: 1; inset: 0; }
.visual-route span { position: absolute; display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--mc-cash), transparent); transform: rotate(var(--route-angle, 0deg)) scaleX(1); transform-origin: left; animation: route-draw .85s var(--mc-ease) both; }
.visual-route span:nth-child(1) { --route-angle: 30deg; top: 31%; left: 15%; width: 32%; animation-delay: .35s; }
.visual-route span:nth-child(2) { --route-angle: -26deg; top: 48%; left: 51%; width: 28%; animation-delay: .46s; }
.visual-route span:nth-child(3) { --route-angle: 22deg; top: 70%; left: 34%; width: 34%; animation-delay: .57s; }

.visual-note { position: absolute; right: 27px; bottom: 24px; z-index: 3; margin: 0; color: var(--mc-muted); font-size: .56rem; font-weight: 800; letter-spacing: .085em; }

.services { border-top: 1px solid var(--mc-line); }

.services-list { margin: 0; padding: 0; border-top: 1px solid var(--mc-line-strong); list-style: none; }

.services-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  padding: clamp(25px, 3.2vw, 39px) 0;
  border-bottom: 1px solid var(--mc-line);
  transition: background .28s ease;
}

.services-list li:hover { background: rgb(255 255 255 / 3%); }
.services-list li > * { min-width: 0; }
.services-list h3 { font-family: var(--mc-display); font-size: clamp(1.05rem, 1.8vw, 1.52rem); letter-spacing: -.035em; }
.services-list p { max-width: 64ch; margin: 8px 0 0; color: var(--mc-muted); font-size: .91rem; line-height: 1.55; text-wrap: pretty; }
.services-list b { color: var(--mc-cash); font-size: 1.15rem; font-weight: 500; text-align: right; }

.three-p { background: #10161b; border-block: 1px solid var(--mc-line); }
.three-p-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; overflow: hidden; background: var(--mc-line-strong); list-style: none; }

.three-p-track::before {
  position: absolute;
  top: 34px;
  left: 8%;
  z-index: 2;
  width: 84%;
  height: 1px;
  background: var(--mc-cash);
  content: "";
  transform-origin: left;
  animation: route-draw 1s .25s var(--mc-ease) both;
}

.three-p-card { position: relative; min-width: 0; min-height: 250px; padding: clamp(42px, 4vw, 54px) clamp(24px, 3.2vw, 42px) 34px; background: var(--mc-ink); }
.three-p-card::after { position: absolute; right: 24px; bottom: 22px; width: 15px; height: 15px; border: 1px solid var(--mc-cash); border-radius: 50%; content: ""; }
.three-p-card--two::after { border-radius: 2px; transform: rotate(45deg); }
.three-p-card--three::after { width: 18px; border-radius: 0; border-right: 0; border-top: 0; transform: rotate(-45deg); }
.three-p-card h3 { max-width: 12ch; margin-top: 0; font-family: var(--mc-display); font-size: clamp(1.18rem, 1.85vw, 1.6rem); letter-spacing: -.035em; }
.three-p-card p { max-width: 31ch; margin: 14px 0 0; color: var(--mc-muted); font-size: .88rem; line-height: 1.55; }

.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.method-grid li { position: relative; min-width: 0; padding: 20px 0 0; border-top: 1px solid var(--mc-line-strong); }
.method-grid li::before { position: absolute; top: -2px; left: 0; width: 38px; height: 3px; background: var(--mc-cash); content: ""; }
.method-grid h3 { margin-top: 10px; font-family: var(--mc-display); font-size: 1rem; letter-spacing: -.03em; }
.method-grid p { margin: 12px 0 0; color: var(--mc-muted); font-size: .86rem; line-height: 1.55; }

.factory { background: var(--mc-ink); }
.factory-panel { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(315px, .76fr); gap: clamp(36px, 6vw, 90px); padding: clamp(32px, 6vw, 76px); color: var(--mc-ink); background: var(--mc-cash); box-shadow: var(--mc-shadow); }
.factory-copy { min-width: 0; }
.factory-copy .section-label { color: var(--mc-ink); }
.factory-copy h2 { max-width: 16ch; }
.factory-copy > p:not(.section-label) { max-width: 50ch; margin: 23px 0 0; font-size: .98rem; line-height: 1.58; text-wrap: pretty; }
.factory-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 29px; }
.factory-steps { align-self: center; margin: 0; padding: 0; border-top: 1px solid rgb(11 14 18 / 28%); list-style: none; }
.factory-steps li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(108px, .6fr); gap: 12px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgb(11 14 18 / 28%); }
.factory-steps b { min-width: 0; font-size: .88rem; }
.factory-steps i { color: rgb(11 14 18 / 68%); font-size: .75rem; font-style: normal; text-align: right; }

.team { border-top: 1px solid var(--mc-line); }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; background: var(--mc-line-strong); list-style: none; }
.team-grid li { display: flex; min-width: 0; min-height: 172px; flex-direction: column; justify-content: space-between; padding: 22px; background: var(--mc-panel); transition: background .25s ease, transform .25s var(--mc-ease); }
.team-grid li:hover { background: var(--mc-panel-hi); transform: translateY(-4px); }
.team-grid > li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgb(200 255 63 / 70%); color: var(--mc-cash); font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.team-grid h3 { font-family: var(--mc-display); font-size: .82rem; letter-spacing: -.03em; }
.team-grid p { margin: 6px 0 0; color: var(--mc-muted); font-size: .75rem; }

.knowledge { color: var(--mc-ink); background: var(--mc-paper); }
.knowledge .section-label { color: #4d7600; }
.knowledge .section-intro > p { color: #4c5355; }
.knowledge-grid { display: grid; grid-template-columns: minmax(300px, .83fr) minmax(0, 1.17fr); gap: clamp(28px, 5vw, 76px); align-items: stretch; }

.guide-card { position: relative; display: flex; min-width: 0; min-height: 390px; flex-direction: column; padding: clamp(27px, 4vw, 46px); overflow: hidden; color: var(--mc-ink); background: var(--mc-cash); }
.guide-card::after { position: absolute; right: -16%; bottom: -35%; width: 58%; aspect-ratio: 1; border: 1px solid rgb(11 14 18 / 30%); border-radius: 50%; box-shadow: 0 0 0 30px rgb(11 14 18 / 4%); content: ""; }
.guide-card .section-label { position: relative; z-index: 1; color: var(--mc-ink); }
.guide-number { position: relative; z-index: 1; margin-top: auto; font-family: var(--mc-display); font-size: clamp(3.8rem, 6.2vw, 5rem); font-weight: 700; letter-spacing: -.035em; line-height: .95; }
.guide-card h3 { position: relative; z-index: 1; max-width: 12ch; margin-top: 15px; font-family: var(--mc-display); font-size: clamp(1.25rem, 2.3vw, 1.85rem); letter-spacing: -.04em; }
.guide-card > p:not(.section-label) { position: relative; z-index: 1; max-width: 39ch; margin: 14px 0 0; font-size: .86rem; line-height: 1.52; }
.guide-card .button { position: relative; z-index: 1; align-self: flex-start; margin-top: 22px; }

.journal-list { min-width: 0; border-top: 1px solid rgb(11 14 18 / 22%); }
.journal-list > .section-label { margin-top: 0; padding-top: 0; }
.journal-list a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 17px; align-items: center; min-width: 0; padding: 22px 0; border-bottom: 1px solid rgb(11 14 18 / 22%); transition: background .25s ease; }
.journal-list a:hover { background: rgb(11 14 18 / 4%); }
.journal-list a div { min-width: 0; }
.journal-list small { display: block; color: #5a6264; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.journal-list b { display: block; max-width: 37ch; margin-top: 5px; font-family: var(--mc-display); font-size: clamp(.83rem, 1.2vw, 1rem); letter-spacing: -.03em; line-height: 1.35; }
.journal-list i { color: #5d8308; font-size: 1.05rem; font-style: normal; text-align: right; }

.case-note { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: clamp(35px, 5vw, 62px); padding: 22px 0; border-top: 1px solid rgb(11 14 18 / 22%); border-bottom: 1px solid rgb(11 14 18 / 22%); }
.case-note .section-label { margin: 4px 0 0; }
.case-note h3 { font-family: var(--mc-display); font-size: 1rem; letter-spacing: -.03em; }
.case-note p:last-child { max-width: 66ch; margin: 7px 0 0; color: #4c5355; font-size: .84rem; line-height: 1.55; }

.faq { border-top: 1px solid var(--mc-line); background: var(--mc-panel); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(390px, 1fr); gap: clamp(40px, 9vw, 150px); align-items: start; }
.faq-layout > div { min-width: 0; }
.faq-layout > div:first-child > p:last-child { max-width: 37ch; margin: 19px 0 0; color: var(--mc-muted); font-size: .92rem; }
.faq-list { border-top: 1px solid var(--mc-line-strong); }
.faq-list details { border-bottom: 1px solid var(--mc-line-strong); }
.faq-list summary { position: relative; padding: 20px 42px 20px 0; color: var(--mc-paper); font-family: var(--mc-display); font-size: clamp(.8rem, 1.18vw, .98rem); letter-spacing: -.03em; line-height: 1.42; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 16px; right: 1px; color: var(--mc-cash); content: "+"; font-family: var(--mc-sans); font-size: 1.45rem; font-weight: 400; transition: transform .22s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 63ch; margin: 0; padding: 0 38px 22px 0; color: var(--mc-muted); font-size: .88rem; line-height: 1.58; text-wrap: pretty; }

.final-cta { overflow: clip; padding-block: clamp(90px, 13vw, 165px); }
.final-layout { position: relative; }
.final-layout::after { position: absolute; top: -19%; right: -3%; width: min(32vw, 390px); aspect-ratio: 1; border: 1px solid rgb(200 255 63 / 35%); border-radius: 50%; box-shadow: 0 0 0 26px rgb(200 255 63 / 4%), 0 0 96px rgb(200 255 63 / 12%); content: ""; }
.final-layout > * { position: relative; z-index: 1; }
.final-layout h2 { max-width: 16ch; }
.final-layout > p:not(.section-label) { max-width: 48ch; margin: 22px 0 0; color: var(--mc-muted); }
.final-email { display: inline-flex; gap: 10px; align-items: center; max-width: 100%; margin-top: 32px; padding-bottom: 3px; border-bottom: 2px solid var(--mc-cash); color: var(--mc-paper); font-family: var(--mc-display); font-size: clamp(.95rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.35; overflow-wrap: anywhere; transition: color .2s ease, border-color .2s ease; }
.final-email span { color: var(--mc-cash); }
.final-email:hover { color: var(--mc-cash); border-color: var(--mc-paper); }

.site-footer { border-top: 1px solid var(--mc-line); background: #090c10; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; min-height: 76px; color: var(--mc-muted); font-size: .71rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: var(--mc-paper); }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--mc-ease), transform .6s var(--mc-ease); }
.js [data-reveal].is-inview { opacity: 1; transform: translateY(0); }

@keyframes card-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes route-draw {
  from { transform: rotate(var(--route-angle, 0deg)) scaleX(0); }
  to { transform: rotate(var(--route-angle, 0deg)) scaleX(1); }
}

@media (max-width: 1040px) {
  .nav { gap: 22px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .68rem; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 36px; }
  .hero-visual { min-height: 410px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid li:nth-child(4), .team-grid li:nth-child(5) { min-height: 148px; }
}

@media (max-width: 820px) {
  .nav { grid-template-columns: auto auto; justify-content: space-between; min-height: 68px; }
  .nav-toggle { display: none; }
  .nav-mail { display: inline-flex; }
  .nav-links { position: static; display: flex; grid-column: 1 / -1; flex-wrap: wrap; justify-content: flex-start; gap: 10px 19px; padding: 0 0 14px; border: 0; background: transparent; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { display: block; padding: 4px 0; font-size: .73rem; }
  .js .nav-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; padding: 0; border: 1px solid var(--mc-line-strong); color: var(--mc-paper); background: transparent; cursor: pointer; }
  .js .nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .js .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .js .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .js .nav-mail { display: none; }
  .js .nav-links { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: 12px clamp(20px, 5vw, 40px) 20px; border-bottom: 1px solid var(--mc-line-strong); background: rgb(11 14 18 / 98%); box-shadow: 0 16px 32px rgb(0 0 0 / 28%); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
  .js .nav-links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .js .nav-links li { border-bottom: 1px solid var(--mc-line); }
  .js .nav-links a { display: block; padding: 14px 0; font-size: .84rem; }
  .hero { min-height: 0; padding-block: 80px 68px; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 420px; max-width: 580px; width: 100%; }
  .section-intro,
  .faq-layout,
  .knowledge-grid,
  .factory-panel { grid-template-columns: 1fr; }
  .section-intro { gap: 16px; }
  .section-intro > p { max-width: 55ch; }
  .three-p-track { grid-template-columns: 1fr; }
  .three-p-track::before { top: 0; bottom: 0; left: 34px; width: 1px; height: auto; transform-origin: top; }
  .three-p-card { min-height: 0; padding-top: 40px; }
  .three-p-card h3 { margin-top: 35px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .factory-panel { gap: 36px; }
  .knowledge-grid { gap: 30px; }
  .guide-card { min-height: 350px; }
  .faq-layout { gap: 34px; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 40px), var(--mc-wrap)); }
  .wordmark img { width: 51px; }
  .wordmark { font-size: .65rem; }
  .page-section { padding-block: 68px; }
  h1 { max-width: 100%; font-size: clamp(2.15rem, 8.8vw, 2.45rem); letter-spacing: -.034em; }
  h2 { max-width: 14ch; font-size: clamp(1.85rem, 8.6vw, 2.5rem); }
  .hero-copy,
  .hero-lede { width: 100%; max-width: 100%; }
  .hero-actions { gap: 18px; margin-top: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { width: 100%; min-width: 0; min-height: 330px; overflow: hidden; }
  .hero-visual::before { inset: 12px; }
  .visual-card { width: 104px; min-height: 78px; padding: 10px; }
  .visual-card b { font-size: .58rem; }
  .visual-card--reels { left: 4%; }
  .visual-card--ideas { right: 4%; }
  .visual-card--dialog { right: 8%; }
  .visual-note { right: 15px; bottom: 15px; font-size: .49rem; }
  .services-list li { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .services-list li > b { display: none; }
  .services-list li:hover { padding-inline: 0; background: transparent; }
  .three-p-card { padding-right: 48px; }
  .method-grid { grid-template-columns: 1fr; gap: 27px; }
  .factory-panel { padding: 28px 24px; }
  .factory-actions .button { width: 100%; }
  .factory-steps li { grid-template-columns: 1fr; gap: 4px; }
  .factory-steps i { grid-column: auto; text-align: left; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid li { min-height: 138px; padding: 18px; }
  .team-grid li:last-child { grid-column: 1 / -1; }
  .journal-list a { grid-template-columns: minmax(0, 1fr) 16px; gap: 11px; }
  .case-note { grid-template-columns: 1fr; gap: 9px; }
  .case-note .section-label { margin: 0; }
  .faq-list details p { padding-right: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
