:root {
  --ink: oklch(18% 0.022 35);
  --paper: oklch(96% 0.018 75);
  --paper-deep: oklch(90% 0.03 75);
  --lime: oklch(88% 0.09 86);
  --purple: oklch(74% 0.1 32);
  --red: oklch(62% 0.18 32);
  --olive: oklch(43% 0.07 32);
  --line: oklch(18% 0.022 35 / 18%);
  --display: "HarmonyOS Sans SC", "MiSans", "OPPO Sans", "Source Han Sans SC", "PingFang SC", sans-serif;
  --body: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --header-height: 64px;
  --page-pad: clamp(20px, 3vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  font-kerning: normal;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--lime);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

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

.page-progress {
  position: fixed;
  z-index: 101;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 4px;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  background: color-mix(in oklch, var(--paper) 95%, transparent);
  border-bottom: 1px solid var(--ink);
  transition: transform 260ms var(--ease-out), background 260ms;
}

.site-header.header-hidden { transform: translateY(calc(-100% - 4px)); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand em { font-style: normal; font-weight: 450; }

.brand-mark {
  position: relative;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
}

.brand-mark::before { transform: translate(-50%, -50%) translateX(-6px); }
.brand-mark::after { transform: translate(-50%, -50%) translateX(6px); }
.brand-mark i { transform: translate(-50%, -50%); }

.header-tools { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, 34px);
  min-height: 36px;
  overflow: hidden;
  border: 1px solid var(--ink);
}

.language-button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.language-button + .language-button { border-left: 1px solid var(--ink); }
.language-button[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.language-button:not([aria-pressed="true"]):hover { background: var(--paper-deep); }

.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); }

.site-nav > a:not(.nav-contact) {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.site-nav > a:not(.nav-contact):hover::after,
.site-nav > a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 42px;
  padding: 0 16px 0 20px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  transition: color 180ms, background 180ms;
}

.nav-contact:hover { color: var(--ink); background: var(--lime); }
.menu-toggle { display: none; }

.side-contact {
  position: fixed;
  z-index: 90;
  top: 42%;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  background: var(--red);
  border: 1px solid var(--ink);
  writing-mode: vertical-rl;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.side-contact span { padding: 14px 9px; }
.side-contact b { padding: 10px 9px; color: var(--paper); background: var(--ink); }

.character-bridge { display: none; }

.character-bridge-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  opacity: var(--bridge-front-opacity, 1);
  filter: drop-shadow(12px 18px 0 oklch(18% 0.022 35 / 9%));
}

.character-bridge-side {
  position: absolute;
  bottom: -11%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  background-image: url("assets/kane-walk-sprite.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: 50% 0%;
  opacity: var(--bridge-side-opacity, 0);
  transform: translateX(-50%) scale(1.08);
  transform-origin: 50% 100%;
  filter: drop-shadow(10px 14px 0 oklch(18% 0.022 35 / 9%));
}

.character-bridge[data-walk-frame="0"] .character-bridge-side { background-position: 0% 0%; }
.character-bridge[data-walk-frame="1"] .character-bridge-side { background-position: 50% 0%; }
.character-bridge[data-walk-frame="2"] .character-bridge-side { background-position: 100% 0%; }
.character-bridge[data-walk-frame="3"] .character-bridge-side { background-position: 0% 100%; }
.character-bridge[data-walk-frame="4"] .character-bridge-side { background-position: 50% 100%; }
.character-bridge[data-walk-frame="5"] .character-bridge-side { background-position: 100% 100%; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(0.65rem, 0.75vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 4px);
  background: var(--paper);
}

.hero-main {
  position: relative;
  width: 74%;
  min-height: calc(100svh - var(--header-height) - 36px);
  overflow: hidden;
  border-right: 1px solid var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(64% - 0.5px), var(--line) 64%, transparent calc(64% + 0.5px));
  pointer-events: none;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.hero-grid::before { left: 25%; }
.hero-grid::after { left: 75%; }

.hero-eyebrow {
  position: absolute;
  z-index: 3;
  top: clamp(28px, 5vh, 60px);
  left: var(--page-pad);
  right: var(--page-pad);
  justify-content: space-between;
}

.hero-eyebrow::before { display: none; }
.hero-eyebrow span:last-child { color: oklch(46% 0.025 35); }

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(63%, 780px);
  padding: clamp(118px, 17vh, 190px) 0 150px var(--page-pad);
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  background: var(--lime);
  border: 1px solid var(--ink);
  font-size: clamp(0.64rem, 0.7vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.07em;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.15rem, 9vw, 10.5rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.095em;
}

.hero-line { display: block; overflow: hidden; padding: 0 0 0.08em; }
.hero-line b { display: block; font-weight: inherit; }

.hero-line-outline {
  color: var(--paper);
  -webkit-text-stroke: clamp(1.5px, 0.16vw, 3px) var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
}

.hero-summary {
  width: min(100%, 34rem);
  margin: clamp(30px, 5vh, 54px) 0 0;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }

.round-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 8px 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.round-link b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}

.round-link:hover b { transform: translateY(3px); }

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
}

.hero-name {
  position: absolute;
  z-index: 1;
  left: var(--page-pad);
  bottom: 40px;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 950;
  line-height: 0.75;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1px oklch(18% 0.022 35 / 7%);
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: 0;
  width: clamp(340px, 36vw, 640px);
  height: min(84vh, 840px);
  margin: 0;
  overflow: visible;
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(12px 18px 0 oklch(18% 0.022 35 / 9%));
}

.portrait-index {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--ink);
  background: var(--purple);
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 950;
}

.hero-portrait figcaption {
  position: absolute;
  z-index: 3;
  right: 10%;
  bottom: 10px;
  left: 16%;
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-facts {
  position: absolute;
  z-index: 5;
  right: calc(var(--page-pad) + 5px);
  bottom: 30px;
  display: flex;
  gap: 1px;
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.hero-facts div { width: 116px; padding: 12px; background: var(--paper); }
.hero-facts dt { font-family: var(--display); font-size: 1.3rem; font-weight: 950; line-height: 1; }
.hero-facts dd { margin: 7px 0 0; font-size: 0.62rem; font-weight: 700; }

.hero-aside {
  position: absolute;
  top: calc(var(--header-height) + 4px);
  right: 0;
  bottom: 36px;
  width: 26%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(42px, 5vw, 76px) var(--page-pad) 30px;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.aside-no { margin: 0 0 12px; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; }
.hero-aside h2 { margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 2vw, 2.35rem); line-height: 1.05; letter-spacing: -0.055em; }
.hero-aside h2 + p { max-width: 22rem; margin: 24px 0 0; color: oklch(86% 0.02 75); font-size: clamp(0.78rem, 0.9vw, 0.95rem); line-height: 1.8; }

.aside-tags { position: relative; z-index: 2; display: grid; gap: 7px; margin: auto 0 0; padding: 0; list-style: none; }
.aside-tags li { padding: 9px 0; border-bottom: 1px solid oklch(96% 0.018 75 / 20%); font-size: clamp(0.65rem, 0.72vw, 0.78rem); font-weight: 700; letter-spacing: 0.04em; }

.aside-orbit {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: clamp(180px, 22vw, 340px);
  aspect-ratio: 1;
  border: 1px solid var(--lime);
  border-radius: 50%;
}

.aside-orbit::before,
.aside-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid var(--purple); border-radius: 50%; }
.aside-orbit::after { inset: 37%; background: var(--red); border-color: var(--red); }
.aside-orbit i { position: absolute; top: 8%; left: 12%; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); }

.hero-footer {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  color: var(--paper);
  background: var(--ink);
  font-size: clamp(0.52rem, 0.6vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-footer span:first-child { display: flex; align-items: center; gap: 8px; }
.hero-footer i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px oklch(62% 0.18 32 / 18%); }

.ticker { overflow: hidden; padding: 15px 0; color: var(--ink); background: var(--lime); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 28px; animation: ticker 24s linear infinite; }
.ticker span { font-family: var(--display); font-size: clamp(0.82rem, 1vw, 1rem); font-weight: 900; letter-spacing: 0.04em; }
.ticker i { color: var(--red); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.journey {
  position: relative;
  height: 420vh;
  min-height: 2800px;
  background: var(--paper);
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px)),
    var(--paper);
}

.journey-heading {
  position: absolute;
  z-index: 5;
  top: clamp(90px, 12vh, 136px);
  left: var(--page-pad);
  width: clamp(250px, 24vw, 390px);
  opacity: clamp(0, calc(1 - var(--journey-progress, 0) * 5), 1);
  transform: translateX(calc(var(--journey-progress, 0) * -25vw));
  transition: opacity 80ms linear;
}

.journey-heading h2 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.6vw, 5.7rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.journey-heading > p:last-child { width: 28rem; max-width: 100%; margin: 22px 0 0; font-size: 0.92rem; line-height: 1.8; }

.journey-line { position: absolute; z-index: 1; top: 60%; left: 0; width: 100%; height: 2px; background: var(--ink); }
.line-fill { display: block; width: calc(var(--journey-progress, 0) * 100%); height: 100%; background: var(--red); }

.journey-track {
  position: absolute;
  z-index: 3;
  top: calc(60% - 270px);
  left: 45vw;
  display: flex;
  align-items: flex-start;
  gap: clamp(150px, 18vw, 330px);
  width: max-content;
  padding: 0 34vw 0 0;
  transform: translate3d(var(--journey-x, 0), 0, 0);
  will-change: transform;
}

.journey-card {
  position: relative;
  width: clamp(248px, 18vw, 310px);
  min-height: 248px;
  padding: 18px 20px 16px;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 6px 7px 0 var(--ink);
  transform: rotate(var(--card-rotate, -1.5deg));
}

.journey-card:nth-child(even) { top: 265px; --card-rotate: 1.4deg; }
.journey-card::after { content: ""; position: absolute; top: calc(100% + 7px); left: 50%; width: 2px; height: 35px; background: var(--ink); }
.journey-card:nth-child(even)::after { top: auto; bottom: calc(100% + 7px); height: 26px; }
.journey-card h3 { margin: 32px 0 9px; font-family: var(--display); font-size: clamp(1.25rem, 1.45vw, 1.65rem); line-height: 1.05; letter-spacing: -0.045em; }
.journey-card p { margin: 0; font-size: 0.76rem; line-height: 1.7; }
.card-no { position: absolute; top: 14px; left: 18px; font-family: var(--display); font-size: 1.65rem; font-weight: 950; line-height: 1; }
.card-year { position: absolute; top: 17px; right: 17px; font-weight: 850; }
.card-tag { position: absolute; right: 18px; bottom: 14px; font-size: 0.59rem; font-weight: 900; letter-spacing: 0.08em; }
.card-purple { background: var(--purple); }
.card-lime { background: var(--lime); }
.card-red { background: var(--red); }
.card-ink { color: var(--paper); background: var(--ink); }
.card-ink::after { background: var(--ink); }
.card-olive { color: var(--paper); background: var(--olive); }

.journey-person {
  position: absolute;
  z-index: 4;
  left: 59vw;
  bottom: 0;
  width: clamp(420px, 46vw, 650px);
  height: min(82vh, 820px);
  transform: translateX(-50%) translate3d(var(--person-dx, 0), var(--person-dy, 0), 0) scale(var(--person-scale, 1));
  transform-origin: 50% 100%;
  pointer-events: none;
}

.journey-person-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  opacity: var(--front-opacity, 1);
  filter: drop-shadow(12px 18px 0 oklch(18% 0.022 35 / 9%));
}

.journey-person-side {
  position: absolute;
  bottom: -11%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  background-image: url("assets/kane-walk-sprite.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: 0% 0%;
  opacity: var(--side-opacity, 0);
  transform: translateX(-50%) scale(1.08);
  transform-origin: 50% 100%;
  filter: drop-shadow(10px 14px 0 oklch(18% 0.022 35 / 9%));
}

.journey-person[data-walk-frame="0"] .journey-person-side { background-position: 0% 0%; }
.journey-person[data-walk-frame="1"] .journey-person-side { background-position: 50% 0%; }
.journey-person[data-walk-frame="2"] .journey-person-side { background-position: 100% 0%; }
.journey-person[data-walk-frame="3"] .journey-person-side { background-position: 0% 100%; }
.journey-person[data-walk-frame="4"] .journey-person-side { background-position: 50% 100%; }
.journey-person[data-walk-frame="5"] .journey-person-side { background-position: 100% 100%; }

.journey-person::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: var(--turn-progress, 0);
  transform: translate(-50%, -5px);
}

.journey-index {
  position: absolute;
  z-index: 2;
  top: calc(60% - 14px);
  right: var(--page-pad);
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  font-weight: 900;
}

.journey-index i { flex: 1; height: 1px; background: var(--ink); opacity: 0.35; }
.journey-instruction { position: absolute; right: var(--page-pad); bottom: 30px; margin: 0; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; }

.services {
  position: relative;
  min-height: 100vh;
  padding: clamp(86px, 10vw, 150px) var(--page-pad) 44px;
  background: var(--lime);
  border-top: 1px solid var(--ink);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
  opacity: 0.13;
  clip-path: polygon(0 0, 43% 0, 22% 100%, 0 100%);
  pointer-events: none;
}

.services-copy { position: sticky; top: 120px; width: 42%; min-height: 470px; }
.services-copy h2 { margin: 24px 0 0; font-family: var(--display); font-size: clamp(3.2rem, 6vw, 7.4rem); font-weight: 950; line-height: 0.86; letter-spacing: -0.085em; }
.services-copy > p:last-child { max-width: 37rem; margin: 30px 0 0; font-size: clamp(0.9rem, 1vw, 1.05rem); line-height: 1.9; }

.service-stack { width: 55%; margin: -460px 0 0 auto; display: grid; gap: 28px; padding-bottom: 70px; }
.service-card { position: relative; min-height: 250px; padding: clamp(22px, 3vw, 40px); border: 2px solid var(--ink); box-shadow: 7px 8px 0 var(--ink); }
.service-card:nth-child(odd) { width: 83%; justify-self: end; transform: rotate(1deg); }
.service-card:nth-child(even) { width: 87%; justify-self: start; transform: rotate(-1deg); }
.service-card > span { font-size: 0.68rem; font-weight: 950; letter-spacing: 0.12em; }
.service-card h3 { margin: 30px 0 10px; font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 3.2rem); line-height: 1; letter-spacing: -0.06em; }
.service-card p { max-width: 35rem; margin: 0; font-size: 0.88rem; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 5px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.65rem; font-weight: 800; }
.service-card-cream { background: var(--paper); }
.service-card-red { background: var(--red); }
.service-card-purple { background: var(--purple); }
.service-card-ink { color: var(--paper); background: var(--ink); box-shadow: 7px 8px 0 var(--paper); }

.services-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 36px; border-top: 2px solid var(--ink); }
.services-footer > span { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.12em; }
.services-footer p { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 2.6rem); font-weight: 900; letter-spacing: -0.04em; }
.services-footer a { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-height: 50px; padding: 0 12px 0 18px; color: var(--paper); background: var(--ink); font-size: 0.78rem; font-weight: 850; }
.services-footer a b { font-size: 1rem; transition: transform 180ms var(--ease-out); }
.services-footer a:hover b { transform: translate(3px, -3px); }

.about { display: grid; grid-template-columns: 42% 58%; min-height: 100svh; color: var(--paper); background: var(--ink); border-top: 1px solid var(--ink); }
.about-portrait { position: relative; min-height: 100svh; margin: 0; overflow: hidden; border-right: 1px solid oklch(96% 0.018 75 / 26%); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 21%; filter: grayscale(1) contrast(1.08); }
.about-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, oklch(18% 0.022 35 / 92%)); }
.about-portrait figcaption { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; padding-top: 12px; border-top: 1px solid var(--paper); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; }

.about-copy { align-self: center; padding: clamp(80px, 10vw, 160px) clamp(28px, 7vw, 110px); }
.about-copy h2 { margin: 26px 0 0; font-family: var(--display); font-size: clamp(3rem, 5.6vw, 7rem); font-weight: 950; line-height: 0.9; letter-spacing: -0.075em; }
.about-lead { max-width: 46rem; margin: 38px 0 0; color: oklch(88% 0.018 75); font-size: clamp(1rem, 1.2vw, 1.28rem); line-height: 1.9; }
.about-principles { margin: clamp(42px, 7vw, 90px) 0 0; }
.about-principles div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid oklch(96% 0.018 75 / 25%); }
.about-principles dt { color: var(--lime); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.09em; }
.about-principles dd { margin: 0; color: oklch(84% 0.018 75); font-size: 0.86rem; }

.contact { min-height: 86svh; display: flex; flex-direction: column; padding: clamp(80px, 9vw, 140px) var(--page-pad) max(24px, env(safe-area-inset-bottom)); background: var(--red); }
.contact-top { display: flex; justify-content: space-between; align-items: center; }
.contact-top > span { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.12em; }
.contact h2 { max-width: 1200px; margin: clamp(60px, 9vw, 120px) 0; font-family: var(--display); font-size: clamp(3.2rem, 8.2vw, 10rem); font-weight: 950; line-height: 0.84; letter-spacing: -0.085em; }
.contact-actions { display: flex; align-items: center; gap: 16px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; width: min(820px, 75vw); min-height: 80px; padding: 0 clamp(20px, 3vw, 42px); color: var(--paper); background: var(--ink); border: 2px solid var(--ink); font-family: var(--display); font-size: clamp(1rem, 2.1vw, 2rem); font-weight: 850; }
.contact-email span { transition: transform 180ms var(--ease-out); }
.contact-email:hover span { transform: translate(5px, -5px); }
.copy-email { min-height: 80px; padding: 0 clamp(20px, 3vw, 34px); background: transparent; border: 2px solid var(--ink); cursor: pointer; font-size: 0.78rem; font-weight: 900; }
.copy-email:hover { color: var(--paper); background: var(--ink); }
.site-footer { margin-top: auto; display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 2px solid var(--ink); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.07em; }
.site-footer a { text-decoration: underline; text-underline-offset: 4px; }

.copy-status { position: fixed; z-index: 200; right: 20px; bottom: 20px; padding: 12px 16px; color: var(--paper); background: var(--ink); border: 1px solid var(--paper); font-size: 0.75rem; font-weight: 800; opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity 180ms, transform 180ms var(--ease-out); }
.copy-status.is-visible { opacity: 1; transform: translateY(0); }

:lang(en) .hero h1 { font-size: clamp(3.25rem, 7vw, 8.4rem); letter-spacing: -0.075em; }
:lang(en) .journey-heading h2 { font-size: clamp(2.4rem, 4.15vw, 5rem); letter-spacing: -0.065em; }
:lang(en) .journey-card h3 { font-size: clamp(1.15rem, 1.25vw, 1.45rem); }
:lang(en) .service-card h3 { font-size: clamp(1.55rem, 2.35vw, 2.8rem); }
:lang(en) .about-copy h2 { font-size: clamp(2.8rem, 4.5vw, 5.6rem); letter-spacing: -0.065em; }
:lang(en) .contact h2 { font-size: clamp(3rem, 7.2vw, 8.8rem); letter-spacing: -0.075em; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .hero-line b { transform: translateY(115%); }
.js .is-loaded .hero-line b { transform: translateY(0); transition: transform 850ms var(--ease-out); }
.js .is-loaded .hero-line:nth-child(2) b { transition-delay: 90ms; }

@media (min-width: 821px) {
  .js .character-bridge {
    position: fixed;
    z-index: 4;
    left: var(--bridge-origin-x, 57vw);
    bottom: 0;
    display: block;
    width: clamp(340px, 36vw, 640px);
    height: min(84vh, 840px);
    opacity: var(--bridge-opacity, 1);
    transform: translateX(-50%) translate3d(var(--bridge-dx, 0), var(--bridge-dy, 0), 0) scale(var(--bridge-scale, 1));
    transform-origin: 50% 100%;
    pointer-events: none;
  }

  .js .hero-portrait > img { opacity: 0; }
  .js .journey-person { display: none; }
}

@media (max-width: 1024px) {
  .header-tools { gap: 18px; }
  .hero-main { width: 70%; }
  .hero-aside { width: 30%; }
  .hero-copy { width: 76%; }
  .hero h1 { font-size: clamp(4rem, 9vw, 7rem); }
  .hero-portrait { right: -5%; width: 48vw; }
  .hero-facts { display: none; }
  .services-copy { width: 40%; }
  .service-stack { width: 57%; }
  .services-footer { align-items: center; }
  .services-footer p { display: none; }
}

@media (max-width: 820px) {
  :root { --header-height: 60px; }
  .header-tools { gap: 12px; }
  .language-switcher { grid-template-columns: repeat(2, 30px); min-height: 32px; }
  .side-contact { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; font-size: 0.72rem; font-weight: 850; }
  .menu-toggle-icon { position: relative; width: 22px; height: 14px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  .menu-toggle-icon::after { content: ""; position: absolute; top: 4px; left: 0; width: 100%; height: 2px; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon { border: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before,
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { content: ""; position: absolute; top: 6px; left: 0; width: 100%; height: 2px; background: var(--ink); transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: rotate(-45deg); }
  .site-nav { position: fixed; top: calc(var(--header-height) + 4px); right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 34px var(--page-pad) max(28px, env(safe-area-inset-bottom)); background: var(--lime); transform: translateX(100%); visibility: hidden; transition: transform 360ms var(--ease-out), visibility 360ms; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav > a:not(.nav-contact) { justify-items: start; min-height: 72px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: 1.6rem; font-weight: 900; }
  .site-nav > a:not(.nav-contact)::after { display: none; }
  .nav-contact { margin-top: auto; min-height: 62px; font-size: 0.9rem; }

  .hero { min-height: auto; padding-bottom: 36px; }
  .hero-main { width: 100%; min-height: 900px; border-right: 0; }
  .hero-grid { background-image: linear-gradient(to right, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px)); }
  .hero-eyebrow { top: 26px; }
  .hero-copy { width: 100%; padding: 108px var(--page-pad) 0; }
  .hero-kicker { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(4.3rem, 20vw, 6rem); line-height: 0.82; }
  :lang(en) .hero h1 { font-size: clamp(3.2rem, 13.2vw, 4.1rem); }
  .hero-summary { width: 89%; margin-top: 28px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .text-link { min-height: 34px; }
  .hero-name { top: 530px; bottom: auto; font-size: 22vw; }
  .hero-portrait { right: 0; bottom: 0; width: 100%; height: 420px; }
  .hero-portrait img { object-position: 50% 100%; }
  .portrait-index { width: 58px; height: 58px; }
  .hero-aside { position: relative; top: auto; right: auto; bottom: auto; width: 100%; min-height: 480px; padding: 54px var(--page-pad) 40px; }
  .hero-aside h2 { font-size: 2.3rem; }
  .hero-aside h2 + p { font-size: 0.9rem; }
  .aside-tags { margin-top: 70px; }
  .hero-footer { height: 36px; }
  .hero-footer span:nth-child(2) { display: none; }

  .journey { height: auto; min-height: 0; }
  .journey-sticky { position: relative; height: auto; min-height: 0; overflow: visible; padding: 88px var(--page-pad); }
  .journey-heading { position: relative; top: auto; left: auto; width: 100%; }
  .journey-heading { opacity: 1; transform: none; }
  .journey-heading h2 { font-size: clamp(3.2rem, 14vw, 4.6rem); }
  :lang(en) .journey-heading h2 { font-size: clamp(2.8rem, 11.8vw, 3.7rem); }
  .journey-line, .journey-person, .journey-index, .journey-instruction { display: none; }
  .journey-track { position: relative; top: auto; left: auto; display: grid; gap: 28px; width: 100%; margin-top: 54px; padding: 0; transform: none !important; }
  .journey-card { width: min(92%, 390px); min-height: 240px; }
  .journey-card:nth-child(even) { top: auto; justify-self: end; }
  .journey-card::after { display: none; }

  .services { padding-top: 88px; }
  .services-copy { position: relative; top: auto; width: 100%; min-height: auto; }
  .services-copy h2 { font-size: clamp(3.4rem, 15vw, 5.2rem); }
  :lang(en) .services-copy h2 { font-size: clamp(3rem, 12.5vw, 4rem); }
  .service-stack { width: 100%; margin: 58px 0 0; gap: 22px; }
  .service-card, .service-card:nth-child(odd), .service-card:nth-child(even) { width: 94%; min-height: 240px; }
  .services-footer { align-items: flex-start; flex-direction: column; margin-top: 20px; }
  .services-footer a { width: 100%; }

  .about { grid-template-columns: 1fr; }
  .about-portrait { min-height: 66svh; border-right: 0; border-bottom: 1px solid oklch(96% 0.018 75 / 26%); }
  .about-copy { padding: 80px var(--page-pad); }
  .about-copy h2 { font-size: clamp(3.3rem, 14vw, 5rem); }
  :lang(en) .about-copy h2 { font-size: clamp(2.9rem, 12vw, 3.8rem); }
  .about-principles div { grid-template-columns: 1fr; gap: 8px; }

  .contact { min-height: 82svh; }
  .contact-top > span { display: none; }
  .contact h2 { margin: 72px 0; font-size: clamp(3.3rem, 15.5vw, 5.7rem); }
  :lang(en) .contact h2 { font-size: clamp(3rem, 12.7vw, 4rem); }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-email { width: 100%; min-height: 68px; font-size: clamp(0.95rem, 4.4vw, 1.3rem); }
  .copy-email { min-height: 52px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer span:nth-child(2) { order: 3; width: 100%; }
}

@media (hover: hover) {
  .service-card { transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
  .service-card:hover { transform: rotate(0) translate(-4px, -4px); box-shadow: 11px 12px 0 var(--ink); }
  .service-card-ink:hover { box-shadow: 11px 12px 0 var(--paper); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-line b { transform: none; }
  .js .character-bridge { display: none !important; }
  .js .hero-portrait > img { opacity: 1; }
  .journey-track { will-change: auto; }
}
