/* =========================================================
   CURRENT — AI transformation that delivers.
   Architectural, considered, warm-where-needed.
   ========================================================= */

:root {
  --ink: #0B0E11;            /* deep ink — base */
  --ink-2: #10141A;          /* elevated panels */
  --ink-3: #161B22;          /* hover/active */
  --line: #1F252D;           /* hairline rules */
  --line-2: #2A3038;         /* stronger lines */
  --bone: #ECE5D5;           /* primary text — warm cream */
  --bone-2: #C9C2B3;         /* secondary text */
  --mute: #7B7768;           /* tertiary, captions */
  --mute-2: #585548;         /* deep mute */
  --accent: #E6B665;         /* filament amber — the "live" point */
  --accent-2: #F2C97E;
  --accent-glow: rgba(230, 182, 101, 0.18);
  --rule: 1px;
  --max-w: 1280px;
  --gutter: 56px;
  --col: 12;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

[data-theme="light"] {
  --ink: #F4F0E6;
  --ink-2: #ECE7DA;
  --ink-3: #DFD9C9;
  --line: #D8D2C2;
  --line-2: #C2BBA8;
  --bone: #14181D;
  --bone-2: #2F3640;
  --mute: #6E6A5C;
  --mute-2: #92907F;
  --accent: #7A4F0F;
  --accent-2: #A56C1F;
  --accent-glow: rgba(122, 79, 15, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* ============ LAYOUT ============ */
.shell {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--gutter);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

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

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .shell { padding: 0 var(--gutter); }
  .grid { column-gap: 16px; }
}

/* ============ FRAME (the architectural rule lines) ============ */
.frame {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  background: var(--line);
}
.frame::before { top: 0; bottom: 0; left: calc(var(--gutter) - 1px); width: 1px; }
.frame::after { top: 0; bottom: 0; right: calc(var(--gutter) - 1px); width: 1px; }

.frame-bar {
  position: fixed;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
  z-index: 1;
}
.frame-top { top: 80px; }
.frame-bot { bottom: 80px; }

@media (max-width: 900px) {
  .frame-top { top: 64px; }
  .frame-bot { bottom: 56px; }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 50;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, var(--ink) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.logo-mark .arc { fill: none; stroke: var(--bone); stroke-width: 1.5; }
.logo-mark .node { fill: var(--accent); }
.logo-wordmark {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--bone); }
.nav-link.is-active { color: var(--bone); }
.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--accent-glow);
}

@media (max-width: 760px) {
  .nav-links { gap: 18px; }
  .nav-link { font-size: 10px; letter-spacing: 0.12em; }
  .nav-links .nav-link:not(.persist) { display: none; }
}

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--accent-glow);
  transform: translateY(-1px);
}

.display {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--bone);
  text-wrap: balance;
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.h-section {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h-section em {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.01em;
}

.h-card {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--bone-2);
  text-wrap: pretty;
  max-width: 64ch;
}

.body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--bone-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.body p + p { margin-top: 1em; }

.small {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
}

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 22px;
  border: 1px solid var(--bone);
  color: var(--ink);
  background: var(--bone);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.btn .btn-glyph {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transform: translateX(0);
  transition: transform 0.25s ease;
}
.btn .btn-glyph::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn-glyph { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.link-arrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .arrow { transition: transform 0.25s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============ HERO ============ */
.hero {
  padding-top: 200px;
  padding-bottom: 140px;
  position: relative;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}
.hero-meta .right {
  text-align: right;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-headline {
  margin-bottom: 56px;
}
.hero-headline em {
  color: var(--accent);
}
.hero-sub {
  max-width: 56ch;
  margin-bottom: 56px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* ============ SECTION ============ */
.section {
  padding: 120px 0;
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 56px;
}
.section-label .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.section-label .title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-2);
}

/* ============ PROBLEM STATEMENT ============ */
.problem {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--bone-2);
  max-width: 28ch;
  text-wrap: pretty;
}
.problem-body em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone);
  letter-spacing: -0.005em;
}
.problem-body .strong {
  color: var(--bone);
}

/* ============ THREE-COL: WHAT WE DO ============ */
.threecol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.threecol .col {
  padding: 56px 32px 56px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.threecol .col:last-child { border-right: 0; padding-right: 0; }
.threecol .col + .col { padding-left: 32px; }
.threecol .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.threecol .num .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.threecol .h-card { margin-bottom: 20px; }
.threecol .body { font-size: 15px; }

@media (max-width: 900px) {
  .threecol { grid-template-columns: 1fr; }
  .threecol .col { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 0; }
  .threecol .col + .col { padding-left: 0; }
}

/* ============ CREDIBILITY ============ */
.credibility {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.credibility .label {
  position: sticky;
  top: 120px;
}
.creds-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.creds-row .cred {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.creds-row .sep {
  width: 4px; height: 4px;
  background: var(--mute-2);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .credibility { grid-template-columns: 1fr; gap: 40px; }
  .credibility .label { position: static; }
}

/* ============ CTA STRIP ============ */
.cta-strip {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.cta-strip .h-section { margin-bottom: 28px; }
.cta-strip .lede { margin-bottom: 48px; }

/* ============ SERVICES ============ */
.service-page-head {
  padding-top: 200px;
  padding-bottom: 120px;
}
.service-page-head .display { margin-bottom: 40px; }

.service {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
}
.service .sleft .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute);
  display: block;
  margin-bottom: 16px;
}
.service .sleft .name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-bottom: 20px;
  text-wrap: balance;
}
.service .sleft .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.service .sright .desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 62ch;
  margin-bottom: 36px;
}
.service .sright .desc + .desc { margin-top: -16px; }
.service .deliv {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.service .deliv-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
.service .deliv ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.service .deliv li {
  display: grid;
  grid-template-columns: 24px 1fr;
  font-size: 15px;
  color: var(--bone-2);
  line-height: 1.55;
}
.service .deliv li::before {
  content: "—";
  color: var(--accent);
  font-family: var(--sans);
}
.service .bestfor {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.service .bestfor ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.service .bestfor li {
  font-size: 15px;
  color: var(--bone-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.55;
}
.service .bestfor li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--accent);
}

@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ ABOUT ============ */
.about-head {
  padding-top: 200px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.about-head .display { max-width: 12ch; }
.portrait {
  aspect-ratio: 4/5;
  background: var(--ink-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.portrait-svg { width: 100%; height: 100%; }
.portrait .corner {
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--accent);
}
.portrait .c-tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.portrait .c-tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.portrait .c-bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.portrait .c-br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.portrait .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex; align-items: center; gap: 10px;
}
.portrait .badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

.about-body {
  padding: 80px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}
.about-body .label-col .mono-label { position: sticky; top: 120px; }
.about-body .body { font-size: 17px; line-height: 1.65; max-width: 62ch; }
.about-body .body p + p { margin-top: 1.2em; }

.bg-grid {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.bg-grid h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.018em;
  margin-bottom: 28px;
  color: var(--bone);
}
.bg-grid ul { list-style: none; display: grid; gap: 14px; }
.bg-grid li {
  font-size: 15px;
  color: var(--bone-2);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.bg-grid li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
}

@media (max-width: 900px) {
  .about-head { grid-template-columns: 1fr; gap: 40px; }
  .about-body, .bg-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ PROCESS ============ */
.principles {
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}
.principle {
  padding: 0 32px 0 0;
  border-right: 1px solid var(--line);
}
.principle:last-child { border-right: 0; padding-right: 0; }
.principle + .principle { padding-left: 32px; }
.principle .glyph {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
}
.principle h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin-bottom: 16px;
  text-wrap: balance;
}
.principle p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone-2);
}

@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .principle + .principle { padding-left: 0; }
}

.steps {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.steps .h-section { margin-bottom: 80px; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s ease;
  position: relative;
}
.step:hover { background: rgba(230, 182, 101, 0.025); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  padding-top: 8px;
}
.step .name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--bone);
  text-wrap: balance;
}
.step .desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone-2);
  max-width: 56ch;
}

@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
}

.engagements {
  padding: 80px 0 80px;
  border-top: 1px solid var(--line);
}
.engagement-list {
  display: grid;
  gap: 0;
  margin-top: 40px;
}
.engagement {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.engagement:first-child { border-top: 1px solid var(--line); }
.engagement .e-name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.engagement .e-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.engagement .e-desc {
  font-size: 14px;
  color: var(--bone-2);
}

@media (max-width: 760px) {
  .engagement { grid-template-columns: 1fr; gap: 8px; }
}

/* ============ CONTACT FORM ============ */
.contact-head {
  padding-top: 200px;
  padding-bottom: 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 60px 0 120px;
  border-top: 1px solid var(--line);
}

.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.25s ease;
  width: 100%;
  letter-spacing: -0.01em;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--accent);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field select {
  appearance: none;
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23E6B665' d='M6 8 0 0h12z'/></svg>") no-repeat right 4px center;
  padding-right: 28px;
  cursor: pointer;
}
.field select option { background: var(--ink-2); color: var(--bone); }

.form-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
}
.form-note {
  font-size: 13px;
  color: var(--mute);
  max-width: 48ch;
  line-height: 1.6;
}

.contact-aside h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.018em;
  margin-bottom: 16px;
  color: var(--bone);
}
.contact-aside p { color: var(--bone-2); font-size: 15px; line-height: 1.6; }
.contact-aside a { color: var(--accent); border-bottom: 1px solid var(--accent-glow); }
.contact-aside .block + .block { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── form: disabled + error states */
.btn.is-disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(232, 118, 92, 0.4);
  background: rgba(232, 118, 92, 0.06);
  color: var(--bone);
  font-size: 14px;
  line-height: 1.55;
  max-width: 54ch;
}
.form-error-dot {
  width: 8px; height: 8px;
  background: #E8765C;
  border-radius: 50%;
  margin-top: 6px;
  flex: 0 0 8px;
  box-shadow: 0 0 10px rgba(232, 118, 92, 0.5);
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  background: var(--ink);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: end;
}
.footer .signature {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--bone-2);
}
.footer .footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .footer-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
  transition: color 0.25s ease;
}
.footer .footer-nav a:hover { color: var(--accent); }
.footer .footer-meta {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .footer .footer-nav { justify-content: flex-start; }
  .footer .footer-meta { text-align: left; }
}

/* ============ MISC ============ */
.spacer-32 { height: 32px; }
.spacer-48 { height: 48px; }
.spacer-64 { height: 64px; }
.spacer-96 { height: 96px; }

/* ============ LIVE TRACE: ambient animated current ============ */
.trace {
  position: fixed;
  pointer-events: none;
  z-index: 2;
  top: 80px;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  opacity: 0.95;
}
.trace::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--accent) 60%, var(--accent-2));
  filter: blur(0.5px);
  animation: traceflow 6.5s linear infinite;
  opacity: 0.75;
}
@keyframes traceflow {
  0% { left: -10%; }
  100% { left: 110%; }
}

/* page entry */
.page-enter {
  animation: pageIn 0.55s cubic-bezier(0.2, 0.65, 0.2, 1);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* reveal on intersect */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
