/* =========================================================
   Fabian Krutzek — Executive Protection
   High-tech / HUD-inspired design system
   ========================================================= */

:root {
  --bg: #f5f3ee;
  --bg-alt: #ece8e0;
  --ink: #0a0d14;
  --ink-2: #141a26;
  --ink-3: #1d232e;
  --ink-soft: #2a303b;
  --muted: #6b7079;
  --line: #d8d2c4;
  --line-dark: rgba(245, 243, 238, 0.10);
  --line-darker: rgba(245, 243, 238, 0.06);
  --accent: #b8956a;
  --accent-soft: #d4b88f;
  --accent-bright: #e8c896;
  --alert: #e0856a;
  --live: #6ce0a4;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--ink); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Monospace technical labels */
.mono {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 400;
}

/* ---------- Top status bar ---------- */
.statusbar {
  background: var(--ink);
  color: rgba(245, 243, 238, .6);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-darker);
}
.statusbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.statusbar .live {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--accent-soft);
}
.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(108, 224, 164, .7);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(108, 224, 164, .55); }
  70% { box-shadow: 0 0 0 8px rgba(108, 224, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 224, 164, 0); }
}
.statusbar-meta { display: flex; gap: 1.5rem; opacity: .8; }
.statusbar-meta span::before { content: "// "; opacity: .5; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  transition: padding .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { padding: .65rem 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
}
.brand-logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-tag {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: .35rem 0;
  transition: color .2s var(--ease);
  color: var(--ink-soft);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid var(--ink);
  padding: .55rem 1rem !important;
  color: var(--ink) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem var(--pad) 2rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-mobile.is-open { display: flex; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(184, 149, 106, .22), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(108, 224, 164, .04), transparent 60%),
    linear-gradient(135deg, #0a0d14 0%, #0d1117 50%, #141a26 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(184, 149, 106, .1) 0%, transparent 50%);
}

/* HUD scan line crossing the hero */
.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-scan::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .35;
  animation: scan 8s linear infinite;
}
@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  50.01% { top: 0%; }
  100% { top: 100%; }
}

/* HUD corner brackets — reusable */
.hud-frame {
  position: absolute;
  inset: clamp(1.5rem, 3vw, 2.5rem);
  pointer-events: none;
  z-index: 2;
  border: 1px solid transparent;
}
.hud-frame::before,
.hud-frame::after,
.hud-frame > .hud-c1,
.hud-frame > .hud-c2 {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent-soft);
  opacity: .55;
}
.hud-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-frame::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-frame > .hud-c1 { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-frame > .hud-c2 { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 2.25rem;
  padding-left: 2.25rem;
  position: relative;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 7.8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 1.75rem;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 300;
}
.hero-sub {
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(245, 243, 238, .78);
  margin: 0 0 2.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* HUD readouts row in hero */
.hero-readouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
  max-width: 920px;
}
.readout {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  position: relative;
  padding-left: 1rem;
}
.readout::before {
  content: "";
  position: absolute;
  left: 0; top: .35em; bottom: .35em;
  width: 1px;
  background: var(--accent);
  opacity: .6;
}
.readout-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
  color: var(--bg);
  letter-spacing: -.01em;
  line-height: 1;
}
.readout-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .55);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .45);
  z-index: 3;
}
.hero-scroll span {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--accent-soft), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid currentColor;
  transition: all .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--bg);
  background: transparent;
  border-color: rgba(245, 243, 238, .35);
}
.btn-ghost:hover {
  border-color: var(--bg);
  background: rgba(255, 255, 255, .05);
}
.btn-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn .arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Quote section ---------- */
.quote-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.quote-section::before,
.quote-section::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 50px;
  background: var(--accent);
  opacity: .4;
}
.quote-section::before { top: 0; left: 50%; }
.quote-section::after { bottom: 0; left: 50%; }

.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: .35;
  text-align: center;
  margin-bottom: -1rem;
}
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.25;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -.01em;
}
.quote-attr {
  text-align: center;
  margin-top: 1.75rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--line-dark);
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink-soft);
}
.section-eyebrow.light { color: var(--accent-soft); }
.section-eyebrow.light::before { background: var(--accent); }
.section-eyebrow .num { color: var(--accent); margin-right: .2em; }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 1.75rem;
  max-width: 22ch;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
}
.section-title.light em { color: var(--accent-soft); }

.section-lead {
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.section-dark .section-lead { color: rgba(245, 243, 238, .72); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.grid-2.swap { grid-template-columns: 5fr 7fr; }
.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head.center { text-align: center; }
.section-head.center .section-eyebrow {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 90% 20%, rgba(184, 149, 106, .14), transparent 60%),
    linear-gradient(135deg, #0a0d14 0%, #141a26 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .5);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb .sep { color: var(--accent); opacity: .7; }
.breadcrumb .here { color: var(--accent-soft); }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}
.page-hero h1 em { color: var(--accent-soft); font-style: italic; font-weight: 300; }
.page-hero p.lead {
  max-width: 56ch;
  color: rgba(245, 243, 238, .75);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  margin: 0;
}
.page-hero-meta {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .55);
}
.page-hero-meta strong {
  color: var(--accent-soft);
  font-weight: 400;
  margin-right: .65em;
}

/* ---------- Tile / data card ---------- */
.tile {
  position: relative;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile-num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.tile h3, .tile h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0 0 .85rem;
}
.tile h3 { font-size: 1.5rem; }
.tile p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- About ---------- */
.about-visual {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-photo {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  align-self: flex-start;
}
.tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(108, 224, 164, .18);
}
.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
.about-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.about-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ---------- Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.service {
  padding: clamp(2rem, 4vw, 3.25rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  transition: background-color .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.service:hover { background: rgba(255, 255, 255, .025); }
.service-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
}
.service-num { color: var(--accent); }
.service-tag { color: rgba(245, 243, 238, .4); }
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -.01em;
}
.service > p {
  color: rgba(245, 243, 238, .72);
  margin: 0 0 1.75rem;
  font-size: .98rem;
  line-height: 1.65;
  max-width: 42ch;
}
.service ul {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(245, 243, 238, .08);
  flex: 1;
}
.service ul li {
  position: relative;
  padding: .55rem 0 .55rem 1.5rem;
  font-size: .9rem;
  color: rgba(245, 243, 238, .82);
}
.service ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .85rem;
}
.service-link {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color .25s var(--ease), gap .25s var(--ease);
  display: inline-flex;
  gap: .4rem;
}
.service-link:hover { color: var(--bg); gap: .8rem; }

/* ---------- Timeline ---------- */
.timeline {
  border-top: 1px solid var(--line);
}
.t-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding .3s var(--ease), background .3s var(--ease);
}
.t-item:hover { padding-left: .75rem; background: rgba(184, 149, 106, .04); }
.t-year {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .1em;
  font-weight: 500;
}
.t-body h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  letter-spacing: -.005em;
  color: var(--ink);
}
.t-body p {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Approach / principles ---------- */
.approach { background: var(--bg-alt); }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--line);
  background: var(--bg);
}
.principle {
  padding: 2.75rem 1.75rem;
  text-align: left;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease);
}
.principle:last-child { border-right: 0; }
.principle:hover { background: var(--bg-alt); }
.principle-num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.p-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.p-icon svg { width: 100%; height: 100%; }
.principle h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 .75rem;
  letter-spacing: -.01em;
}
.principle p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Process flow ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), var(--accent), transparent);
  opacity: .4;
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.step-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  position: relative;
}
.step-node::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.step:hover .step-node::after { border-color: var(--accent); }
.step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 .5rem;
}
.step p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Detail content (subpage body) ---------- */
.detail-section { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.detail-meta {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--bg);
}
.detail-meta-row {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.detail-meta-row:last-child { border: 0; padding-bottom: 0; }
.detail-meta-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-meta-val {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}
.detail-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
.detail-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 2.5rem 0 1rem;
  letter-spacing: -.01em;
}
.detail-body ul {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.detail-body ul li {
  position: relative;
  padding: .5rem 0 .5rem 1.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
}
.detail-body ul li::before {
  content: "→";
  position: absolute;
  left: 0; top: .55rem;
  color: var(--accent);
}
.detail-body ul li:last-child { border-bottom: 0; }

.detail-visual {
  margin: 2.5rem 0;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  overflow: hidden;
}
.detail-visual img { width: 100%; display: block; }

/* ---------- Related services ---------- */
.related {
  background: var(--bg-alt);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}
.related-card {
  background: var(--bg);
  padding: 2rem;
  transition: background .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.related-card:hover { background: var(--bg-alt); }
.related-card .mono { color: var(--accent); margin-bottom: 1rem; }
.related-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0 0 .65rem;
  letter-spacing: -.01em;
}
.related-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.related-card .arrow-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 2px;
  display: inline-flex;
  gap: .4rem;
  transition: gap .25s var(--ease);
}
.related-card .arrow-link:hover { gap: .8rem; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(184, 149, 106, .15), transparent 60%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-inner h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  margin: 0;
  max-width: 22ch;
  letter-spacing: -.01em;
}
.cta-inner h3 em { color: var(--accent-soft); font-style: italic; font-weight: 300; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--bg); border-color: var(--line-dark); }
.contact .section-eyebrow { color: var(--accent-soft); }
.contact .section-eyebrow::before { background: var(--accent); }
.contact .section-title { color: var(--bg); }
.contact .section-title em { color: var(--accent-soft); }
.contact p { color: rgba(245, 243, 238, .72); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-dark);
}
.contact-info > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-darker);
}
.ci-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .5);
  flex-shrink: 0;
}
.ci-val {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--bg);
  text-align: right;
  transition: color .25s var(--ease);
}
a.ci-val:hover { color: var(--accent-soft); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-dark);
  position: relative;
}
.contact-form::before {
  content: "// SECURE TRANSMISSION";
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: var(--ink);
  padding: 0 .65rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .25em;
  color: var(--accent-soft);
}
.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.field label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .55);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 243, 238, .2);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  padding: .65rem 0;
  outline: none;
  transition: border-color .25s var(--ease);
  resize: vertical;
}
.field select option { background: var(--ink); color: var(--bg); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--accent); }
.contact-form .btn-primary { margin-top: .75rem; }
.form-note {
  font-family: var(--mono);
  font-size: .68rem;
  color: rgba(245, 243, 238, .45);
  margin: 0;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.form-status {
  font-size: .85rem;
  color: var(--accent-soft);
  margin: 0;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 243, 238, .6);
  padding: 4rem 0 2rem;
  font-size: .82rem;
  border-top: 1px solid var(--line-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-darker);
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { color: rgba(245, 243, 238, .65); transition: color .25s var(--ease); font-size: .9rem; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-brand-block .brand-logo { height: 72px; margin-bottom: 1.25rem; }
.footer-brand-block p {
  color: rgba(245, 243, 238, .55);
  font-size: .88rem;
  line-height: 1.6;
  max-width: 32ch;
  margin: 0;
}
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, .4);
}
.footer-bottom .live { color: var(--accent-soft); display: inline-flex; align-items: center; gap: .55rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-2, .grid-2.swap, .detail-grid { grid-template-columns: 1fr; }
  .about-visual, .detail-meta { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process::before { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .hero-readouts { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .statusbar-meta { display: none; }
}
@media (max-width: 520px) {
  .about-list { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
  .contact-info > div { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .ci-val { text-align: left; }
  .t-item { grid-template-columns: 80px 1fr; gap: 1rem; }
  .hero-actions .btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
