/*
Theme Name: Dienwo Studio
Theme URI: https://dienwo.com
Author: 上海滴恩沃科技有限公司
Author URI: https://dienwo.com
Description: 滴恩沃科技品牌官网与作品集主题。
Version: 1.3.4
Text Domain: dienwo
*/

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-VariableFont_wdth,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/SourceSerif4Variable-Roman.ttf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b2428;
  --ink-2: #173b3f;
  --canvas: #f3f5ef;
  --paper: #ffffff;
  --dew: #7be3c3;
  --dew-bright: #a2f0d5;
  --blue: #0788be;
  --lime: #d7ff78;
  --line: rgba(11, 36, 40, 0.17);
  --muted: #5c716d;
  --soft: #dfe7df;
  --display: "Source Serif 4", "Songti SC", serif;
  --sans: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-move: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-shell {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-right: 10px;
  vertical-align: 4px;
  background: currentColor;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #eef8f4;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.site-header.is-scrolled {
  background: rgba(243, 245, 239, .92);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 720;
  letter-spacing: -.03em;
  position: relative;
  z-index: 120;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name { font-size: 18px; }
.brand-sub { display: block; font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .08em; opacity: .7; }

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  height: 82px;
  pointer-events: none;
  color: #eef8f4;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.8vw, 32px);
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
  padding-left: min(240px, 28vw);
  font-size: 14px;
  pointer-events: none;
}

.site-nav-inner > * {
  pointer-events: auto;
}

.site-header.is-scrolled ~ .site-nav { color: var(--ink); }
.site-header.menu-active ~ .site-nav { color: #eef8f4; }

.site-nav a { position: relative; }
.site-nav .language-link { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav-contact {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
.nav-contact:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(11, 36, 40, .28);
  color: inherit;
  position: relative;
  z-index: 120;
}
.site-header.is-scrolled .menu-toggle {
  background: rgba(243, 245, 239, .72);
}

.hero {
  min-height: min(940px, 100svh);
  padding: 156px 0 70px;
  color: #eef8f4;
  background:
    radial-gradient(circle at 82% 22%, rgba(123,227,195,.15), transparent 27%),
    linear-gradient(155deg, #071d21 0%, var(--ink) 58%, #103e46 100%);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 4fr);
  align-items: end;
  gap: clamp(48px, 7vw, 120px);
}

.hero-copy { padding-bottom: clamp(10px, 6vh, 70px); }

.hero-title {
  max-width: 940px;
  margin: 0;
  font-size: clamp(60px, 8.2vw, 126px);
  line-height: .87;
  letter-spacing: -.075em;
  font-weight: 680;
}

.hero-title span {
  display: block;
  margin-top: .12em;
  color: var(--dew);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.06em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 32px;
  margin-top: clamp(42px, 7vh, 82px);
  max-width: 860px;
}

.hero-intro { margin: 0; max-width: 630px; font-size: clamp(17px, 1.35vw, 21px); color: rgba(238,248,244,.76); }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.hero-link { color: rgba(238,248,244,.82); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.hero-link:hover { color: var(--lime); }

.hero-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 21px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 680;
  line-height: 1;
  transition: transform 220ms var(--ease-out), background 180ms ease;
}
.hero-cta:hover { transform: translateY(-4px); background: #e4ffa2; }
.hero-cta svg { width: 19px; height: 19px; }

.agent-console {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(5, 23, 27, .68);
  box-shadow: 0 50px 100px rgba(0,0,0,.24);
  backdrop-filter: blur(20px);
}

.console-head, .console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(238,248,244,.66);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
}

.console-head { padding: 4px 2px 15px; }
.console-foot { padding: 15px 2px 2px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(215,255,120,.1); animation: pulse 2s infinite; }

.console-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(123,227,195,.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: 310px; height: 310px; }
.orbit-two { width: 205px; height: 205px; border-style: dashed; animation: rotate 24s linear infinite; }

.core-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 106px; height: 106px;
  display: grid; place-items: center;
  border-radius: 50% 50% 50% 16%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--dew);
  color: var(--ink);
  box-shadow: 0 0 50px rgba(123,227,195,.24);
}
.core-node span { transform: rotate(-45deg); font-family: var(--mono); font-size: 11px; font-weight: 700; text-align: center; }

.system-node {
  position: absolute;
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: #0c2b30;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
}
.system-node b { display: block; margin-bottom: 4px; color: var(--dew); font-size: 9px; font-weight: 400; }
.node-crm { top: 13%; left: 8%; }
.node-mail { top: 16%; right: 7%; }
.node-web { bottom: 13%; left: 9%; }
.node-data { right: 8%; bottom: 12%; }

.console-log {
  position: absolute;
  right: 18px; left: 18px; bottom: 18px;
  height: 2px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.console-log::after { content: ""; display: block; width: 45%; height: 100%; background: var(--lime); animation: scan 3.6s var(--ease-move) infinite; }

.hero-stamp {
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 140px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: var(--dew);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .15em;
  text-align: center;
  transform: rotate(10deg);
}

.ticker { background: var(--lime); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 50px; min-width: max-content; padding: 14px 25px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ticker-group span::after { content: "↗"; margin-left: 50px; }

.section { padding: clamp(90px, 10vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: start; margin-bottom: clamp(54px, 7vw, 96px); }
.section-title { max-width: 900px; margin: 0; font-size: clamp(42px, 6vw, 86px); font-weight: 650; line-height: .98; letter-spacing: -.055em; }
.section-title em { font-family: var(--display); font-weight: 500; color: var(--blue); }

.capabilities { border-bottom: 1px solid var(--line); }
.capability-list { border-top: 1px solid var(--line); }
.capability-item {
  display: grid;
  grid-template-columns: 1fr 4fr 5fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 280ms var(--ease-out), background 180ms ease;
}
.capability-item:hover { padding-inline: 18px; background: rgba(255,255,255,.45); }
.cap-number { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.capability-item h3 { margin: -5px 0 0; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.capability-item p { margin: 0; color: var(--muted); font-size: 15px; max-width: 610px; }
.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: .03em;
  line-height: 1.55;
}
.cap-tags span { white-space: nowrap; }
.cap-tags span:not(:last-child)::after { content: " · "; }
.cap-arrow { justify-self: end; font-size: 24px; transition: transform 220ms var(--ease-out); }
.capability-item:hover .cap-arrow { transform: translate(5px, -5px); }

.method {
  color: #eef8f4;
  background: var(--ink);
  overflow: hidden;
}

.method .section-title em { color: var(--dew); }
.method-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.method-intro { max-width: 310px; color: rgba(238,248,244,.64); }
.method-steps { counter-reset: method; }
.method-step {
  counter-increment: method;
  display: grid;
  grid-template-columns: 1fr 2.2fr 3fr;
  gap: 28px;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.method-step::before { content: "0" counter(method); color: var(--dew); font-family: var(--mono); font-size: 11px; }
.method-step h3 { margin: -8px 0 0; font-family: var(--display); font-size: clamp(34px, 4vw, 58px); font-weight: 450; line-height: 1; }
.method-step p { margin: 0; color: rgba(238,248,244,.64); }
.method-output { display: block; margin-top: 14px; color: var(--lime); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }

.agents { background: #e8eee9; border-bottom: 1px solid var(--line); }
.agent-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.agent-product {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, transform 280ms var(--ease-out);
}
.agent-product:hover { background: var(--lime); transform: translateY(-6px); }
.agent-product h3 { margin: 42px 0 20px; font-size: clamp(32px, 3.4vw, 52px); line-height: .95; letter-spacing: -.05em; }
.agent-product p { color: var(--muted); }
.agent-product strong { margin-top: auto; padding-top: 36px; font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .04em; }
.agent-product-link { margin-top: 18px; color: var(--blue); font-weight: 700; }

.route-page { min-height: 100vh; background: var(--paper); }
.route-hero {
  padding: 180px 0 100px;
  color: #eef8f4;
  background: radial-gradient(circle at 80% 20%, rgba(123,227,195,.16), transparent 28%), var(--ink);
}
.route-hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr); gap: clamp(48px, 8vw, 120px); align-items: end; }
.route-hero h1 { max-width: 1000px; margin: 20px 0 28px; font-size: clamp(52px, 7.5vw, 112px); line-height: .91; letter-spacing: -.065em; }
.route-intro { max-width: 720px; margin: 0 0 34px; color: rgba(238,248,244,.72); font-size: clamp(18px, 1.5vw, 23px); }
.route-byline { margin: -18px 0 34px; color: var(--dew); font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .04em; }
.route-proof { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); font-family: var(--mono); font-size: 10px; color: var(--dew); }
.route-proof span { color: rgba(238,248,244,.58); line-height: 1.7; }
.case-evidence { padding: clamp(50px, 7vw, 100px) 0; background: #e8eee9; border-bottom: 1px solid var(--line); }
.case-evidence figure { margin: 0; }
.case-evidence img { width: 100%; max-height: 820px; object-fit: contain; object-position: top; background: #dce4df; box-shadow: 0 35px 80px rgba(11,36,40,.13); }
.case-evidence figcaption { margin-top: 14px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.route-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.route-detail-grid article { min-height: 280px; padding: clamp(26px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route-detail-grid h3 { margin: 42px 0 18px; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.04em; }
.route-detail-grid p { color: var(--muted); }
.route-detail-grid a { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 700; }
.route-fit,
.route-problems,
.route-process,
.route-acceptance,
.route-boundaries,
.route-faq { padding: clamp(90px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.route-problems, .route-acceptance { background: #e8eee9; }
.route-process { color: #eef8f4; background: var(--ink); }
.route-process .section-title, .route-process .eyebrow { color: inherit; }
.route-process .section-title { max-width: 1050px; }
.route-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.route-content-grid--process { grid-template-columns: repeat(4, minmax(0, 1fr)); border-color: rgba(255,255,255,.16); }
.route-content-grid--process-5,
.route-content-grid--home-process { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fde-stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fde-stage-list > li {
  display: flex;
  min-width: 0;
}
.fde-stage-list article {
  width: 100%;
  height: 100%;
}
.section-lead {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}
.route-process .section-lead { color: rgba(238,248,244,.72); }
.fde-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.16);
}
@media (max-width: 820px) {
  .fde-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .route-content-grid article,
  .fde-stage-list article {
    min-height: 0;
  }
}
.fde-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.fde-links a {
  color: #eef8f4;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(238,248,244,.28);
}
.fde-links a:hover,
.fde-links a:focus-visible {
  color: var(--dew);
  border-bottom-color: var(--dew);
}
.fde-cta {
  flex: 0 0 auto;
}
.route-content-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.route-process .route-content-grid article,
.route-process .fde-stage-list article { border-color: rgba(255,255,255,.16); }
.route-content-grid h3,
.fde-stage-list h3 { margin: 42px 0 18px; font-size: clamp(22px, 2.1vw, 34px); line-height: 1.05; letter-spacing: -.04em; }
.route-content-grid p,
.fde-stage-list p { margin: 0; color: var(--muted); }
.route-process .route-content-grid p,
.route-process .fde-stage-list p { color: rgba(238,248,244,.64); }
.route-content-grid strong,
.fde-stage-list strong { margin-top: auto; padding-top: 32px; color: var(--blue); font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .04em; }
.route-process .route-content-grid strong,
.route-process .fde-stage-list strong { color: var(--lime); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(23px, 2.4vw, 36px);
  font-weight: 650;
  letter-spacing: -.035em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-family: var(--mono); transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 800px; margin: -4px 0 30px; color: var(--muted); font-size: 17px; }
.route-cta { padding: clamp(90px, 10vw, 150px) 0; color: #eef8f4; background: var(--ink); }
.route-cta h2 { max-width: 900px; margin: 18px 0 42px; font-size: clamp(48px, 7vw, 100px); line-height: .92; letter-spacing: -.06em; }

.work { background: var(--paper); }
.work-head-copy { max-width: 620px; margin: 12px 0 0; color: var(--muted); }
.projects { display: grid; gap: clamp(90px, 12vw, 180px); }
.project {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}
.project:nth-child(even) { grid-template-columns: 5fr 7fr; }
.project:nth-child(even) .project-visual { order: 2; }
.project-visual { position: relative; overflow: hidden; aspect-ratio: 1.34 / 1; background: #dce4df; }
.project-visual::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(11,36,40,.16); pointer-events: none; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 900ms var(--ease-out); }
.project:hover .project-visual img { transform: scale(1.025); }
.project--phone .project-visual { min-height: 680px; display: grid; place-items: center; aspect-ratio: auto; background: #e6e2d8; }
.project--phone .project-visual img { width: min(68%, 420px); height: auto; aspect-ratio: auto; object-fit: contain; box-shadow: 0 45px 70px rgba(11,36,40,.18); }
.project-label { margin-bottom: 22px; font-family: var(--mono); font-size: 11px; color: var(--blue); letter-spacing: .05em; }
.project h3 { margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 620; line-height: .95; letter-spacing: -.055em; }
.project h3 em { display: block; color: var(--muted); font-family: var(--display); font-weight: 450; }
.project-desc { max-width: 520px; margin: 28px 0; color: var(--muted); }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.project-meta dt { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.project-meta dd { margin: 5px 0 0; font-size: 13px; }

.library { border-top: 1px solid var(--line); background: var(--paper, #fff); }
.library-feature {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.library-video {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 9 / 16;
  max-height: 620px;
}
.library-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.library-feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.library-feature-copy > p { max-width: 460px; margin: 0 0 22px; color: var(--muted); }
.library-feature-meta { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 28px; }
.library-feature-meta a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: .04em;
}
.library-still { margin: 0; max-width: 420px; }
.library-still img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.library-still figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .03em;
}

.deliverable-list { border-top: 1px solid var(--line); }
.deliverable-item {
  display: grid;
  grid-template-columns: 48px 110px 1fr 32px;
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: padding 280ms var(--ease-out), background 180ms ease;
}
.deliverable-item:hover { padding-inline: 14px; background: rgba(255,255,255,.55); }
.deliverable-type {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: .05em;
}
.deliverable-body { display: grid; gap: 6px; min-width: 0; }
.deliverable-body strong {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.deliverable-body span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.deliverable-item .cap-arrow { justify-self: end; }

.proof {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.proof-item { min-height: 190px; padding: 30px; background: var(--canvas); }
.proof-item strong { display: block; margin-bottom: 38px; font-family: var(--display); font-size: clamp(30px, 4vw, 58px); font-weight: 500; line-height: 1; color: var(--blue); }
.proof-item span { font-size: 13px; color: var(--muted); }

.about { background: var(--canvas); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-mark { position: sticky; top: 130px; }
.about-logo { width: min(100%, 420px); height: auto; }
.about-copy { font-size: clamp(30px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.about-copy p { margin: 0; }
.about-copy em { color: var(--blue); font-family: var(--display); font-weight: 450; }
.about-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-panel {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 12px;
  color: #173b3f;
  font-size: 15px;
  line-height: 1.7;
  overflow: hidden;
}
.about-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}
.about-panel--trail {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(7, 136, 190, .22), transparent 55%),
    linear-gradient(145deg, rgba(123, 227, 195, .42), rgba(243, 245, 239, .95) 70%);
  border: 1px solid rgba(7, 136, 190, .28);
  box-shadow: 0 18px 40px rgba(7, 136, 190, .08);
}
.about-panel--trail::before { background: linear-gradient(180deg, var(--dew), var(--blue)); }
.about-panel--founder {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(215, 255, 120, .55), transparent 50%),
    linear-gradient(145deg, rgba(123, 227, 195, .28), rgba(243, 245, 239, .95) 68%);
  border: 1px solid rgba(123, 227, 195, .45);
  box-shadow: 0 18px 40px rgba(11, 36, 40, .06);
}
.about-panel--founder::before { background: linear-gradient(180deg, var(--lime), var(--dew)); }
.about-panel-label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.about-panel--founder .about-panel-label { color: #3d6b08; }
.about-panel p { margin: 0 0 14px; }
.about-panel p:last-child { margin-bottom: 0; }
.about-panel em {
  font-family: var(--mono);
  font-style: normal;
  font-size: .92em;
  color: var(--blue);
  letter-spacing: .02em;
  background: rgba(7, 136, 190, .1);
  padding: .1em .28em;
  border-radius: 4px;
}
.about-panel strong { color: var(--ink); font-weight: 700; }
.about-panel-punch {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.about-panel-punch strong {
  color: var(--blue);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(180deg, transparent 62%, rgba(215, 255, 120, .75) 62%);
}

.contact {
  position: relative;
  padding: clamp(100px, 12vw, 190px) 0 42px;
  overflow: hidden;
  color: #eef8f4;
  background: var(--ink);
}
.contact::before { content: "DEW"; position: absolute; right: -2vw; bottom: -9vw; font-family: var(--display); font-size: clamp(220px, 42vw, 700px); line-height: 1; color: rgba(123,227,195,.045); pointer-events: none; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.contact h2 { max-width: 980px; margin: 0; font-size: clamp(56px, 9vw, 136px); line-height: .86; letter-spacing: -.07em; }
.contact h2 em { display: block; color: var(--dew); font-family: var(--display); font-weight: 450; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 52px; }
.contact-button { display: inline-flex; align-items: center; gap: 16px; padding: 18px 24px; background: var(--lime); color: var(--ink); border-radius: 999px; font-weight: 700; transition: transform 220ms var(--ease-out); }
.contact-button:hover { transform: translateY(-4px); }
.contact-note { color: rgba(238,248,244,.58); font-size: 13px; }
.site-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 24px; margin-top: 130px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--mono); font-size: 10px; color: rgba(238,248,244,.55); }

.contact-dialog {
  width: min(560px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}
.contact-dialog::backdrop { background: rgba(7, 20, 22, .74); backdrop-filter: blur(8px); }
.contact-dialog__panel {
  position: relative;
  max-height: calc(100dvh - 40px);
  padding: clamp(26px, 4vw, 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  border: 1px solid rgba(11, 36, 40, .14);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(4, 22, 25, .28);
}
.contact-dialog__panel h2 { margin: 8px 44px 12px 0; font-size: clamp(30px, 5vw, 46px); line-height: 1; letter-spacing: -.04em; }
.contact-dialog__panel > p { margin: 0 0 6px; color: var(--muted); }
.contact-dialog__close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(11, 36, 40, .2); border-radius: 50%; font-size: 24px; cursor: pointer; }
.button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 22px; color: var(--ink); background: transparent; border: 1px solid rgba(11, 36, 40, .28); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }

.lead-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.lead-form__hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.lead-field[hidden] { display: none; }
.lead-field__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead-field input, .lead-field textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: #fff; border: 1px solid rgba(11, 36, 40, .2); border-radius: 12px; font: inherit; transition: border-color 180ms ease, box-shadow 180ms ease; }
.lead-field textarea { resize: vertical; min-height: 62px; }
.lead-field input:focus, .lead-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 136, 190, .16); }
.lead-field input::placeholder, .lead-field textarea::placeholder { color: rgba(92, 113, 109, .7); }
.lead-field--channel { gap: 8px; }
.lead-channel { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-channel__option { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border: 1px solid rgba(11, 36, 40, .2); border-radius: 999px; white-space: nowrap; cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.lead-channel__option span { font-weight: 600; }
.lead-channel__option input { width: 15px; height: 15px; margin: 0; flex: none; }
.lead-channel__option:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #eef8f4; }
.lead-channel__option:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.lead-channel__option input { accent-color: var(--ink); }
.lead-form__submit { justify-content: center; margin-top: 4px; border: 0; cursor: pointer; }
.lead-form__submit[disabled] { opacity: .6; cursor: progress; }
.lead-form__status { min-height: 1.4em; margin: 0; font-size: 13px; color: var(--muted); }
.lead-form__status[data-tone="success"] { color: #356108; }
.lead-form__status[data-tone="error"] { color: #b23b2c; }
.lead-form__fallback { margin: 0; font-size: 13px; color: var(--muted); }
.lead-form__fallback a { text-decoration: underline; text-underline-offset: 3px; }

.lead-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 280px;
  padding-top: 8px;
}
.lead-success[hidden] { display: none; }
.lead-success h2 {
  margin: 0 44px 0 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
}
.lead-success p { margin: 0; max-width: 28em; color: var(--muted); font-size: 16px; line-height: 1.55; }
.lead-success__mark {
  margin-top: 18px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}
.contact-dialog__panel.is-success .contact-dialog__close { opacity: .55; }

.contact-direct { padding: 48px 0 84px; background: var(--paper); }
.contact-direct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.contact-direct h2 { margin: 8px 0 18px; font-size: clamp(38px, 5vw, 68px); line-height: 1; }
.contact-direct__actions { padding: 28px; background: #e8eee9; border-radius: 22px; }
.contact-direct__actions .lead-form { margin-top: 0; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.route-sources, .route-related { padding: clamp(72px, 9vw, 128px) 0; }
.route-sources { background: #edf1ed; }
.route-sources ul { display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid rgba(11, 36, 40, .18); }
.route-sources li { display: grid; grid-template-columns: minmax(150px, .35fr) 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(11, 36, 40, .18); }
.route-sources li span { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.route-sources li a { text-decoration: underline; text-underline-offset: 5px; }
.route-sources__updated { margin-top: 20px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.route-related { background: var(--paper); }
.route-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route-related-card { position: relative; min-height: 260px; padding: 28px; color: var(--ink); background: #e8eee9; border: 1px solid rgba(11, 36, 40, .12); border-radius: 20px; transition: transform 220ms var(--ease-out), border-color 220ms ease; }
.route-related-card:hover { transform: translateY(-5px); border-color: var(--dew); }
.route-related-card h3 { max-width: 92%; margin: 0 0 16px; font-size: 26px; line-height: 1.08; }
.route-related-card p { margin: 0; color: var(--muted); }
.route-related-card > span { position: absolute; right: 24px; bottom: 22px; font-size: 20px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 120ms; }

@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 0 9px rgba(215,255,120,0); } }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes scan { 0% { transform: translateX(-110%); } 55%,100% { transform: translateX(240%); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    inset: 0;
    z-index: 115;
    height: auto;
    align-items: stretch;
    color: #eef8f4;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-12px);
    transition: opacity 250ms ease, visibility 250ms ease, transform 400ms var(--ease-out);
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .site-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    width: min(100% - 28px, 1440px);
    min-height: 100%;
    margin-inline: auto;
    padding: 118px 0 56px;
    padding-left: 0;
    font-family: var(--display);
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
  }
  .site-nav .language-link {
    margin-top: 8px;
    font-size: 14px;
  }
  .site-nav .nav-contact {
    margin-top: 12px;
    font-family: var(--sans);
    font-size: 16px;
  }
  .site-nav a:not(.nav-contact)::after { display: none; }
  .menu-toggle span,
  .menu-toggle::before {
    content: "";
    width: 18px;
    height: 1.5px;
    display: block;
    position: absolute;
    background: currentColor;
    transition: transform 220ms ease;
  }
  .menu-toggle span { transform: translateY(3px); }
  .menu-toggle::before { transform: translateY(-3px); }
  .menu-toggle[aria-expanded="true"] span { transform: rotate(-45deg); }
  .menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .site-header.menu-active {
    z-index: 120;
    color: #eef8f4;
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
  }
  .site-header.menu-active .menu-toggle {
    background: rgba(255, 255, 255, .08);
  }
}

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { padding-bottom: 0; }
  .agent-console { width: min(100%, 620px); justify-self: end; }
  .section-head, .method-grid, .contact-grid { grid-template-columns: 1fr 2fr; }
  .capability-item { grid-template-columns: .5fr 3fr 4fr .5fr; }
  .agent-product-grid, .route-detail-grid, .route-content-grid, .route-content-grid--process, .route-content-grid--process-5, .route-content-grid--home-process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-shell { width: min(100% - 28px, 1440px); }
  .hero { padding-top: 132px; }
  .hero-title { font-size: clamp(54px, 15vw, 92px); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .hero-cta { justify-self: start; }
  .section-head, .method-grid, .contact-grid, .about-grid, .contact-direct__grid { grid-template-columns: 1fr; }
  .section-head { gap: 12px; }
  .library-feature { grid-template-columns: 1fr; }
  .library-video { max-width: 280px; max-height: none; }
  .deliverable-item { grid-template-columns: 36px 1fr 28px; gap: 12px; }
  .deliverable-type { grid-column: 2; }
  .deliverable-body { grid-column: 2; }
  .deliverable-item .cap-arrow { grid-column: 3; grid-row: 1; }
  .capability-item { grid-template-columns: 44px 1fr 32px; gap: 15px; }
  .capability-item > div { grid-column: 2 / -1; min-width: 0; }
  .cap-arrow { grid-column: 3; grid-row: 1; }
  .method-intro { max-width: 600px; margin-bottom: 26px; }
  .method-step { grid-template-columns: 42px 1fr; }
  .method-step p { grid-column: 2; }
  .project, .project:nth-child(even) { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-visual { order: initial; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .about-mark { position: static; }
  .about-logo { width: min(70%, 380px); }
  .agent-product-grid, .route-detail-grid, .route-hero-grid, .route-content-grid, .route-content-grid--process, .route-content-grid--process-5, .route-content-grid--home-process { grid-template-columns: 1fr; }
  .route-proof { min-height: 160px; }
  .route-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .header-inner { min-height: 70px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .hero { padding: 116px 0 48px; }
  .hero-title { font-size: clamp(50px, 16vw, 76px); letter-spacing: -.065em; }
  .hero-title span { font-size: .86em; white-space: nowrap; }
  .hero-intro { font-size: 16px; }
  .agent-console { padding: 10px; }
  .console-canvas { min-height: 355px; }
  .orbit-one { width: 270px; height: 270px; }
  .orbit-two { width: 175px; height: 175px; }
  .core-node { width: 84px; height: 84px; }
  .system-node { min-width: 78px; padding: 8px; font-size: 9px; }
  .section { padding: 82px 0; }
  .section-title { font-size: 44px; }
  .capability-item { padding: 28px 0; }
  .method-step { grid-template-columns: 34px 1fr; padding: 28px 0 34px; }
  .method-step h3 { font-size: 40px; }
  .project--phone .project-visual { min-height: 560px; }
  .project h3 { font-size: 44px; }
  .project-meta { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 150px; }
  .proof-item strong { margin-bottom: 24px; }
  .about-copy { font-size: 35px; }
  .about-small { grid-template-columns: 1fr; }
  .contact h2 { font-size: 58px; }
  .contact-button { width: 100%; justify-content: space-between; }
  .contact-dialog { width: calc(100vw - 32px); }
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__submit { width: 100%; }
  .route-sources li { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { flex-direction: column; margin-top: 90px; }
}

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