:root {
  --ink: #111315;
  --muted: #5d646d;
  --line: #dfe4ea;
  --paper: #f6f4ef;
  --white: #ffffff;
  --card: rgba(255, 255, 255, 0.78);
  --header: rgba(248, 248, 244, 0.82);
  --grid: rgba(17, 19, 21, 0.04);
  --soft-ink: rgba(17, 19, 21, 0.08);
  --shadow: #111315;
  --orange: #e7532f;
  --cyan: #187f88;
  --yellow: #d6a93a;
  --green: #2b7960;
  --radius: 8px;
}

:root[data-theme="dark"] {
  --ink: #f5f1e8;
  --muted: #a9adb2;
  --line: rgba(245, 241, 232, 0.14);
  --paper: #08090a;
  --white: #111315;
  --card: rgba(18, 20, 22, 0.82);
  --header: rgba(12, 13, 15, 0.82);
  --grid: rgba(245, 241, 232, 0.055);
  --soft-ink: rgba(245, 241, 232, 0.07);
  --shadow: #000000;
  --orange: #ff6a42;
  --cyan: #42aeb8;
  --yellow: #e5b84a;
}

:root[data-theme="dark"] .hero-copy {
  color: #d6d2c8;
}

:root[data-theme="dark"] .button.ghost {
  color: #f5f1e8;
  background: rgba(245, 241, 232, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px;
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(214, 169, 58, 0.14), transparent 32%, rgba(24, 127, 136, 0.12) 68%, rgba(231, 83, 47, 0.1));
  content: "";
}

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

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

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 90, 44, 0.2), transparent 66%);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
}

.site-header {
  position: fixed;
  left: 24px;
  right: 24px;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: var(--radius);
  background: var(--header);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--orange);
}

.header-tools {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.theme-switch button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.theme-switch button.active {
  color: var(--white);
  background: var(--ink);
}

.header-cta {
  justify-self: end;
  padding: 13px 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  padding: 172px 6vw 98px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(64px, 10.8vw, 150px);
  font-weight: 900;
  line-height: 0.94;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--ink);
  -webkit-text-stroke: 0;
  text-shadow: 5px 5px 0 rgba(214, 169, 58, 0.42);
}

.hero-copy {
  max-width: 620px;
  margin: 32px 0 0;
  color: #2d3339;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 6px 6px 0 var(--ink);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.6);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(17, 19, 21, 0.18);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(231, 83, 47, 0.78);
  content: "";
}

.orbit-one {
  right: 8vw;
  top: 22vh;
  width: 340px;
  height: 340px;
}

.orbit-two {
  right: 20vw;
  bottom: 12vh;
  width: 180px;
  height: 180px;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-three {
  left: -80px;
  bottom: 4vh;
  width: 250px;
  height: 250px;
  animation-duration: 24s;
}

.ticker {
  position: absolute;
  left: 0;
  display: flex;
  width: max-content;
  color: var(--soft-ink);
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 900;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}

.ticker-top {
  top: 15vh;
}

.ticker-bottom {
  bottom: 7vh;
  animation-direction: reverse;
}

.hero-panel {
  position: absolute;
  right: 6vw;
  bottom: 34px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(500px, 88vw);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--shadow);
}

.hero-photo {
  position: absolute;
  right: 7vw;
  top: 176px;
  z-index: 3;
  width: min(24vw, 300px);
  margin: 0;
  border: 1px solid rgba(17, 19, 21, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(17, 19, 21, 0.92);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.88) contrast(1.02);
}

.hero-logo-card {
  display: grid;
  background:
    linear-gradient(135deg, rgba(231, 83, 47, 0.08), rgba(24, 127, 136, 0.08)),
    var(--white);
}

.hero-logo-card img {
  width: 64%;
  height: auto;
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  object-fit: contain;
  filter: none;
}

.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.hero-photo span {
  color: var(--muted);
  text-transform: uppercase;
}

.hero-panel div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
}

.hero-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 120px 6vw;
  scroll-margin-top: 108px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 48px;
}

.section-head h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 92px);
  font-weight: 900;
  line-height: 1;
}

.vision-grid,
.service-layout,
.message-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.vision-lead {
  margin: 0;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.55;
}

.mission-list {
  display: grid;
  gap: 14px;
}

.mission-card,
.service-stage,
.flow-card,
.company-table,
.message-copy {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: var(--radius);
  background: var(--card);
}

.mission-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px 20px;
  padding: 24px;
}

.mission-card span {
  grid-row: span 2;
  color: var(--cyan);
  font-size: 30px;
  font-weight: 900;
}

.mission-card h3,
.flow-card h3,
.service-stage h3 {
  margin: 0;
  font-size: 24px;
}

.mission-card p,
.flow-card p,
.service-stage p,
.message-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-tabs {
  display: grid;
  gap: 10px;
  align-self: start;
}

.service-tab {
  position: relative;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  padding: 0 22px 0 26px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.service-tab::before {
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
  content: "";
}

.service-tab:hover,
.service-tab.active {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 12%, var(--card));
  box-shadow: inset 0 0 0 1px rgba(255, 106, 66, 0.18);
}

.service-tab:hover::before,
.service-tab.active::before {
  background: var(--orange);
}

.service-stage {
  min-height: 430px;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  position: relative;
}

.service-stage::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(255, 90, 44, 0.18);
  border-radius: 999px;
  content: "";
}

.service-number {
  margin: 0 0 40px;
  color: var(--orange);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}

.service-stage h3 {
  font-size: clamp(32px, 5vw, 64px);
}

.service-stage ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-stage li {
  position: relative;
  padding-left: 22px;
  font-weight: 800;
}

.service-stage li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.flow-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #08090a;
  background-size: 58px 58px;
  color: #f5f1e8;
}

.flow-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 106, 66, 0.2), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(66, 174, 184, 0.16), transparent 30%);
  content: "";
}

.flow-section .section-kicker {
  color: var(--yellow);
}

.flow-section .section-head,
.flow-lead,
.flow-manifesto,
.flow-grid {
  position: relative;
  z-index: 1;
}

.flow-lead {
  max-width: 980px;
  margin: -22px 0 42px;
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.75;
}

.flow-manifesto {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 66, 0.18), transparent 38%),
    rgba(245, 241, 232, 0.07);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.5);
}

.flow-manifesto-copy {
  display: grid;
  gap: 14px;
}

.flow-manifesto-copy p {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.flow-manifesto-copy strong {
  display: block;
  color: #f5f1e8;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.25;
}

.flow-manifesto-copy span {
  display: block;
  max-width: 460px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.8;
}

.flow-manifesto h3 {
  margin: 0;
  color: #f5f1e8;
  font-size: clamp(36px, 6.2vw, 94px);
  font-weight: 900;
  line-height: 1.02;
}

.flow-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.flow-badges span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 999px;
  color: rgba(245, 241, 232, 0.86);
  background: rgba(8, 9, 10, 0.42);
  font-size: 12px;
  font-weight: 900;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 14px;
}

.flow-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  color: #f5f1e8;
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.12), rgba(245, 241, 232, 0.055));
  border-color: rgba(245, 241, 232, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.flow-card::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--flow-accent);
  content: "";
}

.flow-card::after {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 138px;
  height: 138px;
  border: 26px solid color-mix(in srgb, var(--flow-accent) 46%, transparent);
  border-radius: 999px;
  content: "";
}

.flow-card span {
  color: var(--flow-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-card h3 {
  margin-top: 28px;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.15;
}

.flow-card p {
  color: rgba(245, 241, 232, 0.72);
  font-size: 16px;
  font-weight: 700;
}

.message-section {
  align-items: start;
  grid-template-columns: 0.54fr 1.46fr;
}

.message-visual {
  position: relative;
  min-height: 280px;
  max-width: 420px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--shadow);
  overflow: hidden;
}

.message-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.86) contrast(1.04);
}

.message-name {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: var(--radius);
  color: #f5f1e8;
  background: rgba(8, 9, 10, 0.86);
  backdrop-filter: blur(14px);
}

.message-name span {
  color: rgba(245, 241, 232, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message-name strong {
  color: #ffffff;
  font-weight: 900;
}

.message-copy {
  padding: clamp(28px, 4vw, 48px);
}

.message-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
}

.message-copy strong {
  display: block;
  margin-top: 28px;
}

.message-intro {
  max-width: 860px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
}

.message-career {
  max-width: 880px;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
  font-weight: 700;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.profile-chips span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.message-details {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.message-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  color: var(--orange);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.message-details summary::-webkit-details-marker {
  display: none;
}

.message-details summary::after {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  content: "+";
}

.message-details[open] summary::after {
  content: "-";
}

.message-full {
  padding-bottom: 8px;
}

.company-table {
  overflow: hidden;
}

.join-section {
  position: relative;
}

.join-lead {
  max-width: 920px;
  margin: -20px 0 38px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.75;
}

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

.join-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.join-card span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.join-card h3 {
  margin: 26px 0 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
}

.join-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.join-actions {
  margin-top: 28px;
}

.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 22px;
  line-height: 1.7;
}

.company-table dt {
  color: var(--muted);
  font-weight: 900;
}

.company-table dd {
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 44px;
  align-items: start;
  padding: 110px 6vw;
  scroll-margin-top: 108px;
  color: var(--white);
  background: var(--orange);
}

.contact-section .section-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.contact-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.85;
}

.contact-mail {
  display: inline-flex;
  margin-top: 26px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 19, 21, 0.22);
  box-shadow: 18px 18px 0 rgba(17, 19, 21, 0.16);
  backdrop-filter: blur(18px);
}

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

.contact-form label,
.form-choice {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
}

.contact-form span,
.form-choice legend {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.contact-form b {
  margin-left: 6px;
  color: var(--yellow);
  font-size: 11px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #111315;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 160px;
  padding: 14px;
  resize: vertical;
  line-height: 1.7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(229, 184, 74, 0.56);
  outline-offset: 2px;
}

.form-choice {
  grid-template-columns: 1fr;
  padding: 0;
  border: 0;
}

.form-choice label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.form-choice input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--yellow);
}

.contact-section .button {
  margin-top: 32px;
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  color: var(--white);
  background: var(--ink);
}

.site-footer span {
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

.delay-5 {
  transition-delay: 0.4s;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    left: 12px;
    right: 12px;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 2px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink);
    font-size: 11px;
  }

  .header-tools {
    justify-self: end;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: auto;
    padding: 148px 20px 82px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 24px;
  }

  .hero-photo {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(230px, 58vw);
    margin-top: 28px;
  }

  .hero-logo-card figcaption {
    padding: 12px 14px;
    font-size: 11px;
  }

  .section {
    padding: 88px 20px;
  }

  .section-head,
  .vision-grid,
  .service-layout,
  .message-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .service-tab {
    min-height: 54px;
    padding: 0 14px 0 20px;
    font-size: 13px;
    line-height: 1.35;
  }

  .service-stage {
    min-height: auto;
  }

  .message-visual {
    max-width: 100%;
  }

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

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

  .flow-manifesto {
    grid-template-columns: 1fr;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dd {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .site-header {
    top: 12px;
    border-radius: 12px;
  }

  .header-cta {
    display: none;
  }

  .theme-switch {
    display: none;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 10px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .site-nav a {
    justify-content: center;
    text-align: center;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.5;
  }

  .orbit {
    display: none;
  }

  .hero-title {
    font-size: clamp(48px, 16vw, 62px);
  }

  .hero-title .accent {
    text-shadow: 3px 3px 0 rgba(214, 169, 58, 0.42);
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 6px 6px 0 var(--shadow);
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 0;
    padding: 14px 10px;
  }

  .hero-panel div + div {
    border-left: 1px solid var(--line);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .hero-panel strong {
    font-size: 25px;
  }

  .hero-panel span {
    font-size: 9px;
    line-height: 1.3;
  }

  .hero-logo-card {
    width: min(190px, 58vw);
  }

  .hero-logo-card img {
    width: 58%;
  }

  .hero-logo-card figcaption {
    display: none;
  }

  .service-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-tab {
    min-height: 48px;
    font-size: 14px;
  }

  .service-number {
    margin-bottom: 22px;
    font-size: 54px;
  }

  .mission-card {
    grid-template-columns: 1fr;
  }

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

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

  .flow-manifesto h3 {
    font-size: 40px;
  }

  .flow-card {
    min-height: 260px;
  }

  .message-name {
    position: static;
    margin: 0;
    border-radius: 0;
    border-width: 1px 0 0;
  }

  .message-visual img {
    min-height: 240px;
  }

  .message-copy {
    padding: 24px;
  }

  .contact-section {
    padding: 84px 20px;
  }

  .contact-form {
    padding: 20px;
    box-shadow: 10px 10px 0 rgba(17, 19, 21, 0.16);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
