:root {
  --parchment-100: #FFFDF8;
  --parchment-200: #FBF5EB;
  --parchment-300: #F5EDE3;
  --parchment-400: #EDE4D6;
  --border-warm: #D4C4A8;
  --sepia-deep: #8B4513;
  --sepia-dark: #6B3410;
  --ochre: #C4A35A;
  --ochre-soft: #D4B574;
  --sage: #9CAF88;
  --terracotta: #C67B5C;
  --ink-deep: #3D2914;
  --ink-medium: #6B5344;
  --ink-soft: #8B7355;
  --shadow-soft: rgba(61, 41, 20, 0.08);
  --shadow-medium: rgba(61, 41, 20, 0.12);
  --shadow-strong: rgba(139, 69, 19, 0.2);
}

strong, p, b, span, li {
  color: inherit;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Source Sans 3', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-deep);
  background: linear-gradient(135deg, #FBF5EB 0%, #F5EDE3 50%, #EDE4D6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .work-sans {
  font-family: 'Work Sans', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
}

h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 40px; line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.25; }

.plex-mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  letter-spacing: 0.05em;
}

::selection {
  background: var(--sepia-deep);
  color: var(--parchment-100);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--parchment-300); }
::-webkit-scrollbar-thumb { background: var(--sepia-deep); opacity: 0.4; }

.glow-torch {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 253, 248, 0.22) 0%, rgba(255, 253, 248, 0.12) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.18s ease-out, width 0.18s ease-out, height 0.18s ease-out;
  opacity: 1;
  mix-blend-mode: screen;
  left: 0;
  top: 0;
}

.glow-torch.dim { opacity: 0.55; width: 180px; height: 180px; }
.glow-torch.hidden { opacity: 0; }

.dock-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: rgba(255, 253, 248, 0.98);
  border-right: 3px solid var(--border-warm);
  box-shadow: 0 4px 24px var(--shadow-soft);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.dock-logo-block {
  padding: 28px 24px 24px 24px;
  border-bottom: 2px solid var(--border-warm);
  background: linear-gradient(180deg, var(--parchment-100) 0%, var(--parchment-200) 100%);
}

.dock-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sepia-deep) 0%, var(--ochre) 100%);
  border: 2px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--parchment-100);
  margin-bottom: 14px;
}

.dock-domain {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-medium);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dock-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.dock-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--sepia-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

.dock-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.dock-nav a {
  display: block;
  padding: 12px 24px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--ink-deep);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
  position: relative;
}

.dock-nav a:hover,
.dock-nav a.active {
  background: var(--sepia-deep);
  color: var(--parchment-100);
  border-left: 2px solid var(--ochre);
  padding-left: 26px;
}

.dock-nav a.active {
  background: var(--ink-deep);
}

.dock-cta {
  margin: 24px;
  padding: 14px 24px;
  background: var(--sepia-deep);
  color: var(--parchment-100);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  text-align: center;
  border: 2px solid var(--ink-deep);
  box-shadow: 4px 4px 0px rgba(196, 163, 90, 0.45);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.dock-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(196, 163, 90, 0.55);
  color: var(--parchment-100);
}

.dock-foot {
  padding: 16px 24px;
  border-top: 2px solid var(--border-warm);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 3px solid var(--border-warm);
  box-shadow: 0 2px 12px var(--shadow-soft);
  z-index: 110;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}

.mobile-bar .dock-mark { width: 38px; height: 38px; font-size: 18px; margin-bottom: 0; }
.mobile-bar-block { display: flex; align-items: center; gap: 10px; }
.mobile-bar-title { font-family: 'Work Sans', sans-serif; font-size: 12px; font-weight: 700; color: var(--ink-deep); line-height: 1.1; }
.mobile-bar-sub { font-family: 'IBM Plex Mono', monospace; font-size: 9px; color: var(--sepia-deep); letter-spacing: 0.1em; text-transform: uppercase; }

.burger-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--ink-deep);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-deep);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(135deg, #FBF5EB 0%, #EDE4D6 100%);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 24px 0;
}

.mobile-drawer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 59px, var(--sepia-deep) 60px, transparent 61px),
    linear-gradient(0deg, transparent 59px, var(--sepia-deep) 60px, transparent 61px);
  background-size: 60px 60px;
  opacity: 0.06;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-head {
  padding: 0 24px 24px 24px;
  border-bottom: 2px solid var(--border-warm);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--ink-deep);
  color: var(--parchment-100);
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  position: relative;
}

.mobile-drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 24px;
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  color: var(--ink-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--border-warm);
  transition: background 0.2s ease;
}

.mobile-drawer nav a .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ochre);
  letter-spacing: 0.1em;
  min-width: 28px;
}

.mobile-drawer nav a:hover,
.mobile-drawer nav a.active {
  background: var(--sepia-deep);
  color: var(--parchment-100);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 41, 20, 0.55);
  z-index: 115;
}

.drawer-overlay.open { display: block; }

.main-canvas {
  margin-left: 260px;
  min-height: 100vh;
  position: relative;
}

.section-divider {
  width: 100%;
  height: 4px;
  background: var(--sepia-deep);
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 100%;
  height: 8px;
  background-image: radial-gradient(circle, var(--ochre) 30%, transparent 30%);
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

.brutal-hero {
  min-height: calc(100vh - 0px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 64px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--border-warm) calc(50% - 1px), var(--border-warm) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), var(--border-warm) calc(50% - 1px), var(--border-warm) calc(50% + 1px), transparent calc(50% + 1px));
  background-size: 80px 80px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border: 2px solid var(--sepia-deep);
  opacity: 0.35;
}

.hero-particle.p-square { background: var(--sepia-deep); opacity: 0.18; }
.hero-particle.p-triangle { background: transparent; border: 0; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 22px solid var(--ochre); opacity: 0.35; }
.hero-particle.p-circle { border-radius: 50%; background: transparent; border: 2px solid var(--sage); }
.hero-particle.p-line { background: var(--sepia-deep); opacity: 0.4; }

.hero-window-frame {
  position: absolute;
  top: 80px;
  right: 80px;
  width: 400px;
  height: 300px;
  border: 4px solid var(--sepia-deep);
  opacity: 0.15;
  pointer-events: none;
}

.hero-corner-frame {
  position: absolute;
  bottom: 100px;
  left: 60%;
  width: 300px;
  height: 200px;
  border: 2px dashed var(--ochre);
  opacity: 0.18;
  pointer-events: none;
}

.hero-vertical-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ochre);
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 70%;
  border: 4px solid var(--sepia-deep);
  padding: 56px 64px;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(2px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--sepia-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--sepia-deep);
}

.hero-title {
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink-deep);
  margin: 0 0 24px 0;
  text-transform: uppercase;
}

.hero-title .accent-bar {
  display: inline-block;
  width: 56px;
  height: 4px;
  background: var(--sepia-deep);
  margin: 16px 0;
  vertical-align: middle;
}

.hero-subline {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--ink-medium);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--sepia-deep);
  color: var(--parchment-100);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: 2px solid var(--ink-deep);
  box-shadow: 6px 6px 0px rgba(196, 163, 90, 0.45);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px rgba(196, 163, 90, 0.6);
  color: var(--parchment-100);
}

.btn-secondary {
  background: var(--parchment-100);
  color: var(--sepia-deep);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: 3px solid var(--sepia-deep);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: var(--sepia-deep);
  color: var(--parchment-100);
}

.hero-meta-strip {
  position: absolute;
  bottom: 32px;
  right: 64px;
  display: flex;
  gap: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
}

.hero-meta-strip .meta-block { border-left: 2px solid var(--sepia-deep); padding-left: 12px; }

.section-block {
  padding: 100px 64px;
  position: relative;
}

.section-block.tinted {
  background: linear-gradient(180deg, transparent 0%, rgba(245, 237, 227, 0.6) 50%, transparent 100%);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--sepia-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--sepia-deep);
}

.section-title {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}

.section-title-rule {
  width: 64px;
  height: 4px;
  background: var(--sepia-deep);
  margin-bottom: 32px;
}

.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-medium);
  max-width: 760px;
  margin-bottom: 56px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
  margin-bottom: 36px;
}

.bento-cell {
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.3s ease, z-index 0s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-cell:hover {
  transform: scale(1.03);
  border: 3px solid var(--sepia-deep);
  z-index: 15;
  box-shadow: 0 16px 48px var(--shadow-strong);
}

.bento-cell.span-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-cell.span-2x1 { grid-column: span 2; grid-row: span 1; }
.bento-cell.span-1x2 { grid-column: span 1; grid-row: span 2; }
.bento-cell.span-1x1 { grid-column: span 1; grid-row: span 1; }

.bento-cell.large-photo {
  padding: 0;
  background: var(--parchment-300);
  position: relative;
}

.bento-cell.large-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.18);
}

.bento-cell.large-photo .photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(61, 41, 20, 0.85) 100%);
  color: var(--parchment-100);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.bento-cell.ochre-banner {
  background: var(--sepia-deep);
  color: var(--parchment-100);
  border-color: var(--ink-deep);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bento-cell.ochre-banner .big-num {
  font-family: 'Work Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--ochre);
  letter-spacing: -0.02em;
}

.bento-cell.ochre-banner .num-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}

.bento-cell .cell-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sepia-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bento-cell .cell-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.bento-cell .cell-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-medium);
  letter-spacing: 0.08em;
  margin-top: auto;
}

.bento-cell .cell-icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--sepia-deep);
  background: var(--parchment-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--sepia-deep);
  margin-bottom: 12px;
}

.bento-cell .cell-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-medium);
}

.category-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 0 20px 0;
  border-top: 2px solid var(--border-warm);
  border-bottom: 2px solid var(--border-warm);
  scrollbar-width: thin;
}

.category-rail .rail-tag {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.category-rail .rail-tag:hover {
  background: var(--sepia-deep);
  color: var(--parchment-100);
  border-color: var(--ink-deep);
}

.timeline-block {
  position: relative;
  padding-left: 120px;
}

.timeline-line {
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sepia-deep);
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 7px;
  height: 0;
  background: var(--sepia-deep);
  animation: lineDraw 1.5s ease-out forwards;
}

@keyframes lineDraw {
  to { height: 100%; }
}

.timeline-step {
  position: relative;
  margin-bottom: 56px;
}

.timeline-node {
  position: absolute;
  left: -103px;
  top: 0;
  width: 56px;
  height: 56px;
  background: var(--sepia-deep);
  border: 3px solid var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--parchment-100);
  z-index: 5;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.timeline-step:hover .timeline-node {
  transform: scale(1.2);
  background: var(--ochre);
  z-index: 12;
}

.timeline-card {
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  padding: 28px 32px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.3s ease, z-index 0s;
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 16px;
  width: 20px;
  height: 3px;
  background: var(--sepia-deep);
}

.timeline-step:hover .timeline-card {
  transform: translateX(8px) scale(1.02);
  border: 2px solid var(--sepia-deep);
  z-index: 10;
  box-shadow: 0 12px 32px var(--shadow-strong);
}

.timeline-step:last-child .timeline-node { background: var(--sage); border-color: #5d7050; }

.timeline-card .step-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-deep);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.timeline-card .step-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--sepia-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.timeline-card .step-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-medium);
}

.stacking-stack {
  position: relative;
  margin-top: 32px;
}

.stacking-card {
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease, z-index 0s;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 320px;
}

.stacking-card:nth-child(2) { z-index: 2; }
.stacking-card:nth-child(3) { z-index: 3; }
.stacking-card:nth-child(4) { z-index: 4; }

.stacking-card:hover {
  transform: scale(1.04);
  border: 3px solid var(--sepia-deep);
  z-index: 20 !important;
  box-shadow: 0 16px 48px var(--shadow-strong);
}

.stacking-card .stack-photo {
  background: var(--parchment-300);
  position: relative;
  overflow: hidden;
}

.stacking-card .stack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.16);
}

.stacking-card .stack-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.stacking-card .stack-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  background: var(--sepia-deep);
  color: var(--parchment-100);
  padding: 6px 12px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.stacking-card .stack-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.stacking-card .stack-period {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--sepia-deep);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.stacking-card .stack-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-medium);
  margin-bottom: 18px;
}

.stacking-card .stack-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-sticky {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  border: 2px solid var(--border-warm);
}

.split-left {
  background: var(--parchment-300);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.split-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2);
}

.split-right {
  background: var(--parchment-100);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fact-card {
  background: var(--parchment-100);
  border: 2px solid var(--ochre);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, z-index 0s, position 0s;
  position: relative;
}

.fact-card:hover {
  transform: scale(1.03);
  border: 2px solid var(--sepia-deep);
  z-index: 10;
  position: relative;
}

.fact-card .fact-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sepia-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fact-card .fact-value {
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
}

.coverflow-stage {
  position: relative;
  perspective: 800px;
  padding: 60px 0;
}

.coverflow-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 40px;
  scrollbar-width: thin;
}

.cover-card {
  flex: 0 0 320px;
  scroll-snap-align: center;
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  padding: 36px 32px;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.cover-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(196, 163, 90, 0.18) 14px, rgba(196, 163, 90, 0.18) 15px);
  pointer-events: none;
}

.cover-card.pattern-bars::before { background-image: repeating-linear-gradient(0deg, transparent 0, transparent 28px, rgba(196, 163, 90, 0.18) 28px, rgba(196, 163, 90, 0.18) 30px); }
.cover-card.pattern-grid::before { background-image: linear-gradient(rgba(196, 163, 90, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 163, 90, 0.18) 1px, transparent 1px); background-size: 24px 24px; }
.cover-card.pattern-circles::before { background-image: radial-gradient(circle, rgba(196, 163, 90, 0.22) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.cover-card.pattern-cross::before { background-image: linear-gradient(45deg, transparent 44%, rgba(196, 163, 90, 0.2) 44%, rgba(196, 163, 90, 0.2) 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, rgba(196, 163, 90, 0.2) 44%, rgba(196, 163, 90, 0.2) 56%, transparent 56%); background-size: 30px 30px; }
.cover-card.pattern-noise::before { background-image: repeating-linear-gradient(60deg, transparent 0, transparent 22px, rgba(196, 163, 90, 0.18) 22px, rgba(196, 163, 90, 0.18) 23px), repeating-linear-gradient(120deg, transparent 0, transparent 22px, rgba(196, 163, 90, 0.18) 22px, rgba(196, 163, 90, 0.18) 23px); }

.cover-card:hover {
  transform: scale(1.04) translateY(-6px);
  border: 3px solid var(--sepia-deep);
  z-index: 20;
  box-shadow: 0 20px 50px var(--shadow-strong);
}

.cover-card .cover-num {
  font-family: 'Work Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--sepia-deep);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.cover-card .cover-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.cover-card .cover-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-medium);
  position: relative;
  z-index: 2;
}

.hover-reveal-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: start;
}

.hover-reveal-list {
  display: flex;
  flex-direction: column;
}

.hover-reveal-row {
  padding: 24px 16px 24px 18px;
  border-bottom: 2px solid var(--border-warm);
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-left-color 0.2s ease, padding-left 0.2s ease;
}

.hover-reveal-row:first-child { border-top: 2px solid var(--border-warm); }

.hover-reveal-row:hover,
.hover-reveal-row.is-active {
  background: rgba(139, 69, 19, 0.08);
  border-left: 4px solid var(--sepia-deep);
  padding-left: 26px;
}

.hover-reveal-row .row-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 4px;
}

.hover-reveal-row .row-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sepia-deep);
  text-transform: uppercase;
}

.hover-reveal-stage {
  background: var(--parchment-100);
  border: 3px solid var(--border-warm);
  padding: 36px;
  position: sticky;
  top: 40px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hover-reveal-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  background: var(--parchment-300);
  border: 3px solid var(--border-warm);
  overflow: hidden;
  position: relative;
}

.hover-reveal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18);
}

.hover-reveal-photo .photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--sepia-deep);
  background: linear-gradient(135deg, var(--parchment-300) 0%, var(--parchment-400) 100%);
}

.hover-reveal-detail {
  flex: 1;
}

.hover-reveal-detail .detail-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.hover-reveal-detail .detail-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--sepia-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hover-reveal-detail .detail-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.detail-stat .stat-num {
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-deep);
  display: block;
  letter-spacing: -0.01em;
}

.detail-stat .stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hover-reveal-detail .detail-bio {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-medium);
}

.flex-grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flex-grow-card {
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  padding: 32px 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: flex-grow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.3s ease, z-index 0s;
  position: relative;
  cursor: default;
}

.flex-grow-card:hover {
  border: 3px solid var(--sepia-deep);
  transform: scale(1.04);
  z-index: 20;
  box-shadow: 0 16px 48px var(--shadow-strong);
}

.flex-grow-stars {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  color: var(--sepia-deep);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.flex-grow-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-medium);
  flex: 1;
  margin-bottom: 20px;
}

.flex-grow-meta {
  border-top: 1px solid var(--border-warm);
  padding-top: 14px;
}

.flex-grow-meta .meta-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 4px;
}

.flex-grow-meta .meta-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--sepia-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accordion-list {
  max-width: 960px;
  margin: 0 auto;
}

.accordion-panel {
  background: var(--parchment-100);
  border-bottom: 2px solid var(--border-warm);
  padding: 24px 0;
  position: relative;
  transition: background 0.2s ease, z-index 0s;
}

.accordion-panel.open {
  background: var(--parchment-300);
  z-index: 10;
  position: relative;
  border-bottom: 2px solid var(--sepia-deep);
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
}

.accordion-trigger .icon-toggle {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(139, 69, 19, 0.1);
  color: var(--sepia-deep);
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.accordion-trigger:hover .icon-toggle {
  background: var(--ochre);
  color: var(--ink-deep);
}

.accordion-panel.open .icon-toggle {
  transform: rotate(45deg);
  background: var(--sepia-deep);
  color: var(--parchment-100);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-medium);
}

.accordion-panel.open .accordion-content {
  max-height: 600px;
  padding-top: 18px;
}

.contact-split {
  display: grid;
  grid-template-columns: 55% 45%;
  position: relative;
  min-height: 640px;
  margin-top: 32px;
}

.contact-form-pane {
  background: var(--parchment-100);
  padding: 72px 64px;
  box-shadow: 0 16px 48px var(--shadow-medium);
  position: relative;
  z-index: 2;
}

.contact-info-pane {
  background: var(--ink-deep);
  color: var(--parchment-100);
  padding: 72px 64px;
  position: relative;
  z-index: 1;
  margin-left: -12px;
  border-left: 6px solid var(--sepia-deep);
}

.contact-info-pane .info-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--parchment-100);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.contact-info-pane .info-phone {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--ochre);
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-bottom: 16px;
  line-height: 1.1;
}

.contact-info-pane .info-email {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ochre);
  text-decoration: none;
  margin-bottom: 32px;
}

.contact-info-pane .info-block { margin-bottom: 28px; }
.contact-info-pane .info-block .info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ochre-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-info-pane .info-block .info-value {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--parchment-100);
}

.form-row { margin-bottom: 28px; }
.form-row label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 3px solid var(--border-warm);
  padding: 10px 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--ink-deep);
  outline: none;
  transition: border-color 0.25s ease;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-soft);
  font-size: 14px;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-bottom-color: var(--sepia-deep);
}

.form-row textarea { min-height: 120px; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.site-footer {
  background: var(--ink-deep);
  color: var(--parchment-100);
  padding: 64px 64px 32px 344px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--sepia-deep);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--sepia-deep) calc(100% - 1px)),
    linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), var(--sepia-deep) calc(100% - 1px));
  background-size: 80px 80px;
  opacity: 0.08;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.footer-col h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ochre);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--parchment-100);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-col p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.78);
}

.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-block .dock-mark { width: 40px; height: 40px; font-size: 18px; margin: 0; }
.footer-logo-block .footer-title { font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--parchment-100); }
.footer-logo-block .footer-domain { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--ochre); letter-spacing: 0.12em; text-transform: uppercase; }

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.footer-bottom .copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255, 253, 248, 0.6);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255, 253, 248, 0.7);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: var(--ochre); }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  max-width: 440px;
  background: var(--parchment-100);
  border: 3px solid var(--sepia-deep);
  padding: 24px 28px;
  z-index: 9000;
  box-shadow: 0 12px 36px rgba(61, 41, 20, 0.25);
  display: block;
}

.cookie-banner.is-hidden { display: none; }

.cookie-banner .cookie-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--sepia-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cookie-banner .cookie-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-deep);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.cookie-banner .cookie-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-medium);
  margin-bottom: 16px;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 12px 14px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--ink-deep);
  cursor: pointer;
  background: transparent;
  color: var(--ink-deep);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:hover { background: var(--ink-deep); color: var(--parchment-100); }

.cookie-btn.primary {
  background: var(--sepia-deep);
  color: var(--parchment-100);
  border-color: var(--ink-deep);
}

.cookie-btn.primary:hover { background: var(--ink-deep); }

.cookie-banner .cookie-links {
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-medium);
}

.cookie-banner .cookie-links a {
  color: var(--sepia-deep);
  text-decoration: underline;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--border-warm);
  margin-bottom: 36px;
  background: var(--parchment-100);
}

.service-detail-card .detail-photo {
  background: var(--parchment-300);
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.service-detail-card .detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2);
}

.service-detail-card .detail-info {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-card .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--sepia-deep);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.service-detail-card .price-tag .currency {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ink-medium);
  letter-spacing: 0.08em;
}

.service-detail-card .price-tag .price-unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--ink-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-detail-card .detail-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.service-detail-card .detail-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--sepia-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.service-detail-card .detail-body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-medium);
  margin-bottom: 24px;
}

.service-detail-card .detail-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.service-detail-card .detail-features li {
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--border-warm);
  position: relative;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: var(--ink-medium);
}

.service-detail-card .detail-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--sepia-deep);
  font-weight: 700;
}

.service-detail-card .detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sub-hero {
  padding: 140px 64px 100px 64px;
  background: linear-gradient(135deg, var(--parchment-200) 0%, var(--parchment-300) 100%);
  border-bottom: 4px solid var(--sepia-deep);
  position: relative;
  overflow: hidden;
}

.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 79px, var(--border-warm) 80px, transparent 81px);
  background-size: 80px 100%;
  opacity: 0.18;
  pointer-events: none;
}

.sub-hero .crumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sepia-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sub-hero .crumb a { color: var(--sepia-deep); text-decoration: none; }
.sub-hero .crumb a:hover { text-decoration: underline; }

.sub-hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.sub-hero .sub-lead {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-medium);
  max-width: 720px;
}

.thanks-card {
  background: var(--parchment-100);
  border: 3px solid var(--sepia-deep);
  padding: 64px 72px;
  max-width: 760px;
  margin: 64px auto;
  text-align: center;
  box-shadow: 8px 8px 0px var(--ochre);
}

.thanks-card .thanks-mark {
  width: 80px;
  height: 80px;
  background: var(--sepia-deep);
  color: var(--parchment-100);
  border: 3px solid var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  margin: 0 auto 28px auto;
}

.thanks-card h1 { font-size: 44px; margin: 0 0 16px 0; }

.thanks-card .thanks-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-medium);
  margin-bottom: 28px;
}

.policy-block {
  max-width: 860px;
  margin: 0 auto;
  background: var(--parchment-100);
  border: 2px solid var(--border-warm);
  padding: 56px 64px;
}

.policy-block h1 {
  font-size: 42px;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.policy-block h2 {
  font-size: 22px;
  margin: 32px 0 12px 0;
  letter-spacing: -0.01em;
  color: var(--sepia-deep);
  border-bottom: 2px solid var(--border-warm);
  padding-bottom: 8px;
}

.policy-block p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-medium);
  margin-bottom: 16px;
}

.policy-block ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.policy-block li {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-medium);
  margin-bottom: 6px;
}

.reveal-init {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-init.is-vis {
  opacity: 1;
  transform: translateY(0);
}

.reveal-init[data-delay="1"] { transition-delay: 0.07s; }
.reveal-init[data-delay="2"] { transition-delay: 0.14s; }
.reveal-init[data-delay="3"] { transition-delay: 0.21s; }
.reveal-init[data-delay="4"] { transition-delay: 0.28s; }
.reveal-init[data-delay="5"] { transition-delay: 0.35s; }

@keyframes drift1 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(28px, -16px); }
  100% { transform: translate(0, 0); }
}

@keyframes drift2 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-22px, 24px); }
  100% { transform: translate(0, 0); }
}

@keyframes drift3 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(16px, 28px); }
  100% { transform: translate(0, 0); }
}

.hero-particle.animate-a { animation: drift1 18s ease-in-out infinite; }
.hero-particle.animate-b { animation: drift2 22s ease-in-out infinite; }
.hero-particle.animate-c { animation: drift3 25s ease-in-out infinite; }

@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-cell.span-2x2 { grid-column: span 2; grid-row: span 2; }
  .bento-cell.span-1x2 { grid-column: span 1; grid-row: span 2; }
  .stacking-card { grid-template-columns: 1fr; margin-bottom: 0; }
  .stacking-card .stack-photo { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .footer-col:first-child { grid-column: span 3; }
}

@media (max-width: 960px) {
  .dock-rail { display: none; }
  .mobile-bar { display: flex; }
  .mobile-drawer { display: block; }
  .main-canvas { margin-left: 0; padding-top: 64px; overflow-x: hidden; }
  .brutal-hero { padding: 48px 24px; min-height: auto; overflow-x: hidden; }
  .hero-content { max-width: 100%; padding: 32px 28px; }
  .hero-title { font-size: 38px; }
  .hero-window-frame { display: none; }
  .hero-corner-frame { display: none; }
  .hero-vertical-rule { display: none; }
  .hero-meta-strip { position: static; padding: 24px; flex-wrap: wrap; gap: 16px; }
  .section-block { padding: 64px 24px; }
  .sub-hero { padding: 100px 24px 56px 24px; }
  .sub-hero h1 { font-size: 36px; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .bento-cell.span-2x2 { grid-column: span 2; grid-row: span 2; }
  .bento-cell.span-2x1 { grid-column: span 2; }
  .bento-cell.span-1x2 { grid-column: span 1; grid-row: span 2; }
  .timeline-block { padding-left: 80px; overflow-x: hidden; }
  .timeline-line { left: 24px; }
  .timeline-node { left: -56px; width: 44px; height: 44px; font-size: 14px; }
  .split-sticky { grid-template-columns: 1fr; min-height: auto; }
  .split-left { position: relative; height: 320px; clip-path: none; }
  .split-right { padding: 48px 28px; }
  .coverflow-stage { padding: 32px 0; }
  .cover-card { flex: 0 0 280px; min-height: 340px; }
  .hover-reveal-grid { grid-template-columns: 1fr; gap: 32px; }
  .hover-reveal-stage { position: relative; top: 0; }
  .flex-grow-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info-pane { margin-left: 0; border-left: none; border-top: 6px solid var(--sepia-deep); }
  .contact-form-pane { padding: 48px 28px; }
  .contact-info-pane { padding: 48px 28px; }
  .contact-info-pane .info-title { font-size: 32px; }
  .contact-info-pane .info-phone { font-size: 26px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding: 48px 24px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .footer-col:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stacking-card { grid-template-columns: 1fr; margin-bottom: 0; }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card .detail-photo { min-height: 240px; }
  .policy-block { padding: 32px 24px; }
  .policy-block h1 { font-size: 30px; }
  .thanks-card { margin: 32px 16px; padding: 40px 24px; }
  .thanks-card h1 { font-size: 32px; }
  .hero-content { border-width: 3px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary { width: 100%; justify-content: center; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .glow-torch { display: none; }
}

@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell.span-2x2,
  .bento-cell.span-2x1,
  .bento-cell.span-1x2 { grid-column: span 1; grid-row: span 1; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:first-child { grid-column: span 1; }
}