@charset "UTF-8";

/* =========================================================
   Prominence — Design Tokens
========================================================= */
:root {
  --bg: #08090b;
  --bg-alt: #0e1013;
  --surface: #14171b;
  --surface-2: #1a1e23;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef1;
  --text-dim: #9a9fa8;
  --text-faint: #666b74;

  --accent: #ff5a2e;
  --accent-2: #ffb347;
  --accent-cyan: #4fd1ff;

  --grad-accent: linear-gradient(135deg, #ffb347 0%, #ff5a2e 55%, #c4271a 100%);
  --grad-text: linear-gradient(90deg, #ffcf8a 0%, #ff7a45 60%, #ff5a2e 100%);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 26px;
  --max-width: 1160px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-dim {
  color: var(--text-dim);
}

/* background texture */
.dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--grad-accent);
  color: #150a05;
}

.btn-primary:hover {
  box-shadow: 0 12px 28px -6px rgba(255, 90, 46, 0.55);
  transform: translateY(-2px);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav ul {
  display: flex;
  gap: 34px;
}

.site-nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.25s ease;
}

.site-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--grad-accent);
  transition: width 0.3s var(--ease);
}

.site-nav-links a:hover,
.site-nav-links a.is-active {
  color: var(--text);
}

.site-nav-links a:hover::after,
.site-nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 90, 46, 0.18), transparent 60%),
    var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.45;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow.g1 {
  background: rgba(255, 90, 46, 0.35);
  top: -140px;
  right: -120px;
  animation: floatSlow 14s ease-in-out infinite;
}

.hero-glow.g2 {
  background: rgba(79, 209, 255, 0.16);
  bottom: -180px;
  left: -140px;
  animation: floatSlow 18s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

/* Hero brand mark — large animated visual on the right of the MV */
.hero-mark {
  position: absolute;
  top: 50%;
  right: 1%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-mark-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 72, 0.45) 0%, rgba(255, 90, 46, 0.16) 45%, transparent 72%);
  filter: blur(42px);
  animation: markPulse 7s ease-in-out infinite;
}

.hero-mark-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 179, 71, 0.28);
}

.hero-mark-ring::before {
  content: "";
  position: absolute;
  top: -3.5px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px 3px rgba(255, 179, 71, 0.85);
}

.hero-mark-ring.r1 {
  animation: spinCW 34s linear infinite;
}

.hero-mark-ring.r2 {
  inset: 13%;
  border-color: rgba(79, 209, 255, 0.24);
  animation: spinCCW 26s linear infinite;
}

.hero-mark-ring.r2::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 14px 3px rgba(79, 209, 255, 0.75);
}

.hero-mark-ring.r3 {
  inset: 26%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spinCW 50s linear infinite;
}

.hero-mark-ring.r3::before {
  display: none;
}

.hero-mark-img {
  position: absolute;
  inset: 30%;
  width: 40%;
  height: 40%;
  margin: auto;
  filter: drop-shadow(0 0 46px rgba(255, 90, 46, 0.55));
  animation: markFloat 8s ease-in-out infinite;
}

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

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

@keyframes markPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 28px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 22px 0 26px;
}

.hero-lead {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 84px;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  z-index: 2;
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--text-faint), transparent);
  overflow: hidden;
  position: relative;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: cueMove 2s ease-in-out infinite;
}

@keyframes cueMove {
  0% { top: -40px; }
  60%, 100% { top: 40px; }
}

/* =========================================================
   Stats strip
========================================================= */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats .wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 44px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.stat-num .unit {
  font-size: 1.1rem;
  color: var(--accent-2);
  margin-left: 2px;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* =========================================================
   Section generic
========================================================= */
.section {
  padding: 130px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 14px 0 0;
  letter-spacing: -0.01em;
}

.section-head p {
  max-width: 420px;
  color: var(--text-dim);
  margin: 0;
}

.section-head-center {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.section-head-center p {
  max-width: 560px;
}

/* reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Services grid
========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  grid-column: span 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 90, 46, 0.1);
  color: var(--accent-2);
  margin: 16px 0 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.12rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.service-card .card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* =========================================================
   Why us
========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.why-item .why-num {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 0.8rem;
}

.why-item h3 {
  font-size: 1rem;
  margin: 14px 0 10px;
}

.why-item p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0;
}

/* =========================================================
   Process timeline
========================================================= */
.process {
  position: relative;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-step .dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 22px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 90, 46, 0.1);
}

.process-step h3 {
  font-size: 0.98rem;
  margin: 0 0 8px;
}

.process-step p {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin: 0;
}

/* =========================================================
   Works grid + filter
========================================================= */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

.filter-btn.is-active {
  background: var(--grad-accent);
  color: #150a05;
  border-color: transparent;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.work-card.is-hidden {
  display: none;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.work-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-thumb .glyph {
  width: 56px;
  height: 56px;
  opacity: 0.85;
  color: #0d0603;
  position: relative;
  z-index: 1;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-thumb img {
  transform: scale(1.06);
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 16px 16px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.thumb-1 { background: linear-gradient(135deg, #ffb347, #ff5a2e); }
.thumb-2 { background: linear-gradient(135deg, #4fd1ff, #2563eb); }
.thumb-3 { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.thumb-4 { background: linear-gradient(135deg, #ff8a65, #c4271a); }
.thumb-5 { background: linear-gradient(135deg, #34d399, #0f766e); }
.thumb-6 { background: linear-gradient(135deg, #fbbf24, #b45309); }

.work-body {
  padding: 24px 26px 28px;
}

.work-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.work-tags span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  background: rgba(255, 90, 46, 0.1);
  padding: 5px 10px;
  border-radius: 999px;
}

.work-body h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
}

.work-body p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
}

/* =========================================================
   Marquee
========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
  background: var(--bg-alt);
}

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

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

.marquee-track span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.marquee-track span em {
  color: var(--accent-2);
  font-style: normal;
}

/* =========================================================
   News
========================================================= */
.news-list {
  border-top: 1px solid var(--border);
}

.news-item {
  display: flex;
  gap: 28px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.news-date {
  font-family: "JetBrains Mono", monospace;
  color: var(--text-faint);
  font-size: 0.82rem;
  flex-shrink: 0;
  width: 100px;
}

.news-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
  width: 90px;
  text-align: center;
}

.news-title {
  font-size: 0.94rem;
  color: var(--text);
}

/* =========================================================
   CTA band
========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 28px;
  padding: 90px 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 90, 46, 0.25), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}

.cta-band .wrapper {
  padding: 0;
  max-width: 620px;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin: 18px 0 16px;
}

.cta-band p {
  color: var(--text-dim);
  margin: 0 0 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Page header (sub pages)
========================================================= */
.page-header {
  padding: 168px 0 90px;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255, 90, 46, 0.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0 0 18px;
}

.breadcrumb a {
  color: var(--text-dim);
}

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

.page-header h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.page-header .lead {
  max-width: 620px;
  color: var(--text-dim);
}

/* sub nav (anchor pills) */
.subnav {
  position: sticky;
  top: 78px;
  z-index: 50;
  background: rgba(8, 9, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.subnav ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subnav a {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.subnav a:hover,
.subnav a.is-active {
  color: #150a05;
  background: var(--grad-accent);
  border-color: transparent;
}

/* =========================================================
   Service detail (service.html)
========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 150px;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail .side {
  position: sticky;
  top: 160px;
}

.service-detail .num-big {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 14px;
}

.service-detail .side-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 90, 46, 0.1);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-detail .side-icon svg {
  width: 30px;
  height: 30px;
}

.service-detail h2 {
  font-size: 1.7rem;
  margin: 0 0 14px;
  font-weight: 800;
}

.service-detail > .body > p.lead {
  color: var(--text-dim);
  font-size: 1rem;
  margin: 0 0 30px;
  max-width: 62ch;
}

.point-list {
  display: grid;
  gap: 16px;
}

.point-list li {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.point-list li .check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #150a05;
  margin-top: 2px;
}

.point-list li .check svg {
  width: 12px;
  height: 12px;
}

.point-list li .txt strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.point-list li .txt span {
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* =========================================================
   About page
========================================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--border);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-weight: 400;
}

.info-table th {
  width: 220px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.info-table td {
  font-size: 0.96rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--surface);
}

.value-card .glyph {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 18px;
  display: block;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.timeline {
  border-left: 1px solid var(--border);
  margin-left: 8px;
}

.timeline-item {
  position: relative;
  padding: 0 0 42px 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grad-accent);
}

.timeline-item .yr {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-2);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* =========================================================
   Contact
========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin: 0 0 14px;
}

.contact-info > p {
  color: var(--text-dim);
  margin: 0 0 30px;
}

.contact-info ul {
  display: grid;
  gap: 0;
}

.contact-info li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
}

.contact-info li:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-info li .label {
  width: 100px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.contact-info li .val {
  font-size: 0.94rem;
  color: var(--text);
}

.field {
  display: grid;
  gap: 8px;
}

form.contact-form {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 46, 0.15);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.required {
  color: var(--accent);
  font-size: 0.7rem;
  margin-left: 6px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0;
}

/* honeypot field — off-screen rather than display:none, which some bots skip */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: var(--text);
}

.form-success p {
  margin: 0;
  font-size: 0.95rem;
}

.form-errors {
  margin-bottom: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 90, 46, 0.4);
  background: rgba(255, 90, 46, 0.08);
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1em;
  list-style: disc;
}

.form-errors li {
  font-size: 0.88rem;
  color: var(--text);
}

.form-errors li + li {
  margin-top: 6px;
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 90px 0 32px;
  background: var(--bg-alt);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 30ch;
  margin: 0 0 22px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  color: #150a05;
  background: var(--grad-accent);
  border-color: transparent;
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 13px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

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

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1000px) {
  .service-grid,
  .why-grid,
  .works-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .process-list::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail .side {
    position: static;
  }
  .stats .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat {
    border-bottom: 1px solid var(--border);
  }
  .hero-mark {
    width: 380px;
    height: 380px;
    right: -40px;
    opacity: 0.8;
  }
}

@media (max-width: 780px) {
  .site-nav .site-nav-links,
  .nav-cta {
    position: fixed;
    inset: 0;
    top: 0;
    height: 100svh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 190;
  }
  .site-nav.is-open .site-nav-links,
  .site-nav.is-open .nav-cta {
    transform: translateX(0);
  }
  .site-nav .site-nav-links ul {
    flex-direction: column;
    gap: 26px;
  }
  .site-nav .site-nav-links ul a {
    font-size: 1.4rem;
  }
  .nav-cta {
    z-index: 189;
    justify-content: flex-end;
    padding-top: 200px;
  }
  .nav-toggle {
    display: flex;
    z-index: 201;
  }
  .hero-mark {
    display: none;
  }
  .service-grid,
  .why-grid,
  .works-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 90px 0;
  }
  .cta-band {
    margin: 0 16px;
    padding: 60px 24px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stats .wrapper {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none !important;
  }
  .news-item {
    flex-wrap: wrap;
  }
}

/* =========================================================
   Legal / Policy Pages
========================================================= */
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.legal-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.legal-section p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 16px 0;
  padding-left: 24px;
  list-style: decimal;
  color: var(--text-dim);
}

.legal-list li {
  margin-bottom: 10px;
  line-height: 1.8;
  font-size: 0.98rem;
}

.legal-list li::marker {
  color: var(--accent-2);
  font-weight: 600;
}

.legal-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 20px 0;
}

.legal-box h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-box p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 32px 20px;
  }
  .legal-section h2 {
    font-size: 1.2rem;
  }
}

