/* ==========================================================================
   费迪南科技 · 官网视觉系统
   ========================================================================== */

:root {
  --ink: #06111b;
  --ink-2: #0b1a26;
  --ink-3: #122534;
  --paper: #f4f5f1;
  --paper-2: #eceee8;
  --white: #ffffff;
  --text: #0c1a24;
  --muted: #64727d;
  --muted-light: #96a5b0;
  --accent: #35e2c4;
  --accent-deep: #0e9d88;
  --blue: #6ea8ff;
  --orange: #ff8a5c;
  --line: rgba(8, 20, 28, 0.13);
  --line-dark: rgba(255, 255, 255, 0.14);
  --max: 1200px;
  --radius: 4px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 18px;
}

.container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: clamp(84px, 9vw, 136px) 0;
}

[id] {
  scroll-margin-top: 96px;
}

.section--tight {
  padding: clamp(64px, 7vw, 100px) 0;
}

.section--paper {
  background: var(--paper);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section--dark .eyebrow,
.page-hero .eyebrow {
  color: var(--accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.56);
}

.eyebrow--light::before {
  background: rgba(255, 255, 255, 0.4);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.12;
}

h2 em {
  font-style: normal;
  color: var(--accent-deep);
}

.section--dark h2 em {
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.8;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.66);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.section-head .lead {
  max-width: 440px;
  padding-bottom: 6px;
}

.section-head--center {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center h2,
.section-head--center .lead {
  margin-inline: auto;
}

.section-head--center .lead {
  margin-top: 22px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: #6af0d8;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(53, 226, 196, 0.08);
}

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

.btn--dark:hover {
  background: var(--ink-3);
}

.btn--line {
  border-color: var(--line);
  color: var(--text);
}

.btn--line:hover {
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: gap 0.25s;
}

.text-link:hover {
  gap: 16px;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background 0.35s, box-shadow 0.35s;
}

.site-header::before {
  position: absolute;
  inset: 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(4, 13, 21, 0.72), rgba(4, 13, 21, 0));
  content: "";
  pointer-events: none;
  transition: background 0.35s, border-color 0.35s;
}

.site-header.is-scrolled::before {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 15, 24, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(53, 226, 196, 0.5);
  background: rgba(53, 226, 196, 0.08);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-name span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 12px;
  font-weight: 650;
  transition: border-color 0.2s, background 0.2s;
}

.header-cta:hover {
  border-color: var(--accent);
  background: rgba(53, 226, 196, 0.1);
}

.header-cta svg {
  width: 13px;
  height: 13px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile-cta {
  display: none;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 820px;
  height: 100svh;
  max-height: 1020px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

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

.hero-media picture,
.page-hero-media picture,
.solution-media picture,
.approach-visual picture,
.service-detail-media picture,
.about-photo picture,
.location-map picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  transform: scale(1.04);
  animation: hero-drift 18s ease-out forwards;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06111b 0%, rgba(6, 17, 27, 0.94) 26%, rgba(6, 17, 27, 0.58) 58%, rgba(6, 17, 27, 0.14) 100%),
    linear-gradient(0deg, #06111b 0%, rgba(6, 17, 27, 0.15) 42%, rgba(6, 17, 27, 0.08) 100%),
    radial-gradient(circle at 72% 45%, rgba(53, 226, 196, 0.08), transparent 34%);
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 72%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 118px;
  padding-bottom: 150px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 76px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  margin-bottom: 28px;
  color: var(--accent);
}

.hero .eyebrow::before {
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 .accent {
  color: var(--accent);
  background: linear-gradient(100deg, #ffffff 0%, #9ffff0 45%, #35e2c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 580px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 46px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-proof li::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 22, 33, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  animation: rise-in 1s 0.35s var(--ease) both;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.44);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
}

.console-live::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(53, 226, 196, 0.14);
  content: "";
  animation: pulse 2s infinite;
}

.console-list {
  padding: 6px 18px;
}

.console-list li {
  display: grid;
  grid-template-columns: 30px 1fr 8px;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-list li:last-child {
  border-bottom: 0;
}

.console-index {
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.console-list strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.console-list small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-node {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(53, 226, 196, 0.7);
  border-radius: 50%;
}

.console-list li:first-child .console-node {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(53, 226, 196, 0.7);
}

.console-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 13, 21, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  padding: 13px 0;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group span::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(53, 226, 196, 0.6);
  content: "";
}

/* Page hero --------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: 150px 0 74px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.55;
}

.page-hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06111b 0%, rgba(6, 17, 27, 0.82) 46%, rgba(6, 17, 27, 0.35) 100%),
    linear-gradient(0deg, #06111b 0%, transparent 55%);
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.24);
}

/* Overview / capabilities ------------------------------------------------- */
.overview {
  border-bottom: 1px solid var(--line);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(44px, 7vw, 104px);
}

.overview-copy h2 {
  max-width: 780px;
}

.overview-aside {
  padding-top: 8px;
}

.overview-aside p {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.overview-aside p:last-of-type {
  border-bottom: 1px solid var(--line);
}

.overview-aside strong {
  color: var(--text);
  font-weight: 650;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.capability {
  position: relative;
  min-height: 260px;
  padding: 30px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.capability + .capability {
  padding-left: 26px;
}

.capability:last-child {
  border-right: 0;
}

.capability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.capability-index {
  color: var(--muted-light);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.capability-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent-deep);
}

.capability-icon svg {
  width: 17px;
  height: 17px;
}

.capability h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.capability p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.capability::after {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 7px;
  height: 7px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--paper-2);
  content: "";
  transition: background 0.25s, box-shadow 0.25s;
}

.capability:hover::after {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(53, 226, 196, 0.14);
}

/* Solutions --------------------------------------------------------------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 20, 28, 0.28);
  box-shadow: 0 24px 50px rgba(6, 17, 27, 0.08);
}

.solution-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.39;
  background: var(--ink-2);
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.solution-card:hover .solution-media img {
  transform: scale(1.05);
}

.solution-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 17, 27, 0.24), transparent 55%);
  content: "";
}

.solution-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: grid;
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  place-items: center;
  background: rgba(6, 17, 27, 0.65);
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.solution-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 24px;
}

.solution-body h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.solution-body p {
  flex: 1;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 24px;
}

.tag-list span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.solution-body .text-link {
  align-self: flex-start;
  color: var(--text);
}

/* Approach ---------------------------------------------------------------- */
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.approach-visual {
  position: relative;
}

.approach-visual img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.visual-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  padding: 20px;
  border-left: 2px solid var(--accent);
  background: var(--ink);
  color: var(--white);
}

.visual-badge span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visual-badge strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.approach-copy .lead {
  margin-top: 24px;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.value {
  min-height: 148px;
  padding: 22px;
  background: var(--white);
}

.value span {
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.value h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

.value p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

/* Process ----------------------------------------------------------------- */
.process {
  position: relative;
  overflow: hidden;
}

.process::before {
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(53, 226, 196, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(53, 226, 196, 0.025), 0 0 0 160px rgba(53, 226, 196, 0.015);
  content: "";
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line-dark);
}

.process-step {
  position: relative;
  min-height: 290px;
  padding: 32px 30px 28px 0;
  border-right: 1px solid var(--line-dark);
}

.process-step + .process-step {
  padding-left: 30px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(53, 226, 196, 0.12);
  content: "";
}

.process-step + .process-step::before {
  left: 30px;
}

.step-num {
  display: block;
  margin-bottom: 64px;
  color: rgba(255, 255, 255, 0.17);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
}

.step-en {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.7;
}

.process-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.process-foot p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.process-foot .text-link {
  color: var(--accent);
}

/* Quality ----------------------------------------------------------------- */
.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.quality-copy {
  position: sticky;
  top: 130px;
}

.quality-copy .lead {
  margin: 24px 0 34px;
}

.quality-list {
  border-top: 1px solid var(--line);
}

.quality-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.quality-item span {
  color: var(--muted-light);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.quality-item h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.quality-item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

/* FAQ --------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 130px;
}

.faq-aside h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 3.6vw, 48px);
}

.faq-aside p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-contact {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-contact span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-contact a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.faq-contact a + a {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 44px 26px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  position: absolute;
  right: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  content: "+";
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}

.faq-answer {
  max-width: 700px;
  padding: 0 44px 28px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-answer strong {
  color: var(--text);
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 110px) 0;
  background: var(--accent);
  color: var(--ink);
}

.cta-band::before,
.cta-band::after {
  position: absolute;
  border: 1px solid rgba(6, 17, 27, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cta-band::before {
  top: -260px;
  right: -80px;
  width: 560px;
  height: 560px;
}

.cta-band::after {
  right: 40px;
  bottom: -340px;
  width: 480px;
  height: 480px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.cta-inner h2 {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
}

.cta-inner p {
  max-width: 460px;
  margin-top: 20px;
  color: rgba(6, 17, 27, 0.65);
  font-size: 14px;
}

.cta-actions {
  flex-shrink: 0;
  padding-bottom: 8px;
}

.cta-actions .btn {
  min-height: 54px;
  background: var(--ink);
  color: var(--white);
}

.cta-actions .btn:hover {
  background: #1b3040;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  padding: 70px 0 26px;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 1.1fr;
  gap: 48px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p {
  max-width: 300px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  line-height: 1.75;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact a {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10.5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom a:hover {
  color: var(--accent);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-top svg {
  width: 12px;
  height: 12px;
}

/* Service detail page ----------------------------------------------------- */
.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
  margin-bottom: 70px;
}

.service-intro .lead {
  max-width: 760px;
}

.intro-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intro-index a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  transition: border-color 0.2s, color 0.2s;
}

.intro-index a:hover {
  border-color: var(--ink);
  color: var(--text);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
  padding: clamp(56px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:nth-child(even) .service-detail-media {
  order: 2;
}

.service-detail-media {
  position: relative;
}

.service-detail-media img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.service-detail-media span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.service-detail-body h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.service-detail-body > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.deliverable-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deliverable-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.7;
}

.deliverable-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--accent-deep);
  content: "";
}

.service-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.service-note svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--accent-deep);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.mode-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.mode-card span {
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.mode-card h3 {
  margin: 24px 0 12px;
  font-size: 20px;
}

.mode-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* About page -------------------------------------------------------------- */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.about-story h2 {
  margin-bottom: 30px;
}

.about-story p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.about-story p + p {
  margin-top: 18px;
}

.about-facts {
  border-top: 1px solid var(--line);
}

.fact {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.fact span {
  display: block;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.about-photo {
  position: relative;
  margin-top: clamp(54px, 7vw, 86px);
}

.about-photo img {
  width: 100%;
  height: clamp(320px, 48vw, 540px);
  object-fit: cover;
}

.about-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.principle {
  padding: 28px 24px 30px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

.principle span {
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.principle h3 {
  margin: 42px 0 10px;
  font-size: 18px;
}

.principle p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 50px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.boundary {
  padding: 34px;
  background: var(--ink);
}

.boundary h3 {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 20px;
}

.boundary li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.65;
}

.boundary li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 6px;
  height: 1px;
  background: rgba(53, 226, 196, 0.7);
  content: "";
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 0;
  border: 1px solid var(--line);
}

.location-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.location-map::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 17, 27, 0.7), transparent 60%),
    linear-gradient(90deg, rgba(6, 17, 27, 0.5), transparent);
  content: "";
}

.location-pin {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.location-pin::before {
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(53, 226, 196, 0.14);
  content: "";
}

.location-info {
  padding: clamp(34px, 4vw, 52px);
  background: var(--white);
}

.location-info .eyebrow {
  margin-bottom: 26px;
}

.location-info h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.location-info address {
  margin: 26px 0 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
}

.location-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location-links a {
  font-size: 13px;
  font-weight: 600;
}

.location-links a:hover {
  color: var(--accent-deep);
}

/* Contact page ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-form-wrap {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-form-wrap h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 40px);
}

.contact-form-wrap > p {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.field label span {
  color: var(--muted-light);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 10px 0 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364727d' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-deep);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.form-consent input {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--accent-deep);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.form-status {
  color: var(--accent-deep);
  font-size: 12px;
}

.contact-aside {
  position: sticky;
  top: 120px;
}

.contact-panel {
  padding: 34px;
  background: var(--ink);
  color: var(--white);
}

.contact-panel .eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
}

.contact-panel h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.contact-panel > p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.75;
}

.contact-method {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-method:first-of-type {
  margin-top: 28px;
}

.contact-method span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.37);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.contact-method:hover strong {
  color: var(--accent);
}

.contact-method address {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-style: normal;
  line-height: 1.75;
}

.contact-tip {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.contact-tip svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--accent-deep);
}

.prep-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.prep-item {
  padding: 26px;
  background: var(--white);
}

.prep-item span {
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.prep-item h3 {
  margin: 28px 0 8px;
  font-size: 16px;
}

.prep-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Reveal animation -------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

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

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(50px, 7.4vw, 82px);
  }

  .main-nav {
    gap: 24px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.6fr 0.6fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(var(--max), calc(100% - 48px));
  }

  .header-inner {
    min-height: 74px;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 110px 32px 40px;
    background: rgba(5, 15, 24, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
  }

  .main-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 30px;
    padding: 12px 20px !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    font-size: 13px !important;
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero {
    min-height: 760px;
    height: auto;
    max-height: none;
  }

  .hero-content {
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .hero-layout {
    display: block;
  }

  .hero-console {
    display: none;
  }

  .hero h1 {
    font-size: clamp(46px, 9vw, 72px);
  }

  .hero-proof {
    margin-top: 34px;
  }

  .overview-grid,
  .approach-grid,
  .quality-grid,
  .faq-grid,
  .about-story,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-head .lead {
    max-width: 620px;
  }

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

  .capability:nth-child(2) {
    border-right: 0;
  }

  .capability:nth-child(3),
  .capability:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .capability:nth-child(3) {
    padding-left: 0;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .solution-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 270px;
  }

  .approach-visual {
    max-width: 640px;
  }

  .quality-copy,
  .faq-aside,
  .contact-aside {
    position: static;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .process-step:nth-child(3)::before {
    left: 0;
  }

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 32px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .service-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-media {
    order: 0;
  }

  .service-detail-media img {
    aspect-ratio: 1.6;
  }

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

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

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

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

  .location-map {
    min-height: 320px;
  }

  .prep-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 36px);
  }

  .hero-content {
    padding-top: 124px;
    padding-bottom: 104px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .hero-proof {
    gap: 14px 22px;
  }

  .page-hero {
    min-height: 480px;
    padding: 130px 0 54px;
  }

  .page-hero h1 {
    font-size: clamp(36px, 9vw, 54px);
  }

  .page-hero p {
    font-size: 15px;
  }

  .section {
    padding: 70px 0;
  }

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

  .capability {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability + .capability {
    padding-left: 0;
  }

  .capability:nth-child(3),
  .capability:nth-child(4) {
    border-top: 0;
  }

  .capability:last-child {
    border-bottom: 0;
  }

  .capability-top {
    margin-bottom: 24px;
  }

  .solution-card {
    display: block;
  }

  .solution-media {
    min-height: 0;
    aspect-ratio: 1.45;
  }

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

  .process-step {
    min-height: 0;
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-step + .process-step {
    padding-left: 0;
    border-top: 0;
  }

  .process-step + .process-step::before {
    left: 0;
    top: -3px;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .step-num {
    margin-bottom: 28px;
    font-size: 34px;
  }

  .process-foot {
    display: block;
  }

  .process-foot .text-link {
    margin-top: 18px;
  }

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

  .faq-item summary {
    padding-right: 38px;
    font-size: 15px;
  }

  .faq-answer {
    padding-right: 0;
    font-size: 13px;
  }

  .cta-inner h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    display: block;
  }

  .back-top {
    margin-top: 14px;
  }

  .deliverable-list {
    grid-template-columns: 1fr;
  }

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

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

  .prep-list {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

@media (max-width: 460px) {
  .brand-name strong {
    font-size: 12px;
  }

  .brand-name span {
    font-size: 8px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof li {
    font-size: 9px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .solution-body {
    padding: 22px;
  }

  .visual-badge {
    width: 180px;
  }

  .mode-card,
  .boundary,
  .location-info {
    padding: 24px;
  }

  .footer-bottom {
    font-size: 9.5px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none;
  }
}
