/* ==========================================================================
   theblackbird.ai — Stylesheet
   Design language: dark obsidian + crimson accent + off-white, inspired by
   the faceted Blackbird logo. Apple-style pacing: generous whitespace,
   large type, alternating light/dark sections, subtle motion.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

/* ---------- Design tokens ---------- */
:root {
  --c-black: #08080a;
  --c-black-soft: #0d0d10;
  --c-charcoal: #17171b;
  --c-line: rgba(255, 255, 255, 0.09);
  --c-line-soft: rgba(255, 255, 255, 0.06);
  --c-white: #f5f5f7;
  --c-white-dim: #d3d3d8;
  --c-muted: #98989f;
  --c-muted-dark: #6e6e76;
  --c-red: #e2192c;
  --c-red-bright: #ff2d3f;
  --c-red-dark: #9c0f1e;
  --c-paper: #fbfbfa;
  --c-paper-dim: #f0f0ee;
  --c-ink: #0c0c0e;
  --c-ink-soft: #46464c;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --container: 1216px;
  --gutter: clamp(20px, 5vw, 64px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.55s;
  --dur-slow: 0.9s;

  --banner-h: 0px;
}

/* ---------- Base ---------- */
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--c-black);
  color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv01" on;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; }

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--c-red); color: #fff; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red-bright);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--c-red);
  border-radius: 2px;
}
.eyebrow-center { justify-content: center; width: 100%; display: flex; }
.about .eyebrow, .contact-info .eyebrow { color: var(--c-red); }

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  margin-top: 14px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--c-muted);
  max-width: 620px;
  line-height: 1.6;
}
.section-head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(226, 25, 44, 0.55);
}
.btn-primary:hover { background: var(--c-red-bright); box-shadow: 0 10px 30px -6px rgba(255, 45, 63, 0.65); transform: translateY(-2px); }

.btn-invert {
  background: #fff;
  color: var(--c-ink);
}
.btn-invert:hover { background: var(--c-ink); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled,
.btn:disabled:hover {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Announcement banner ---------- */
.announcement-bar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 600;
  background: linear-gradient(90deg, #0b0b0d, #200a0d 50%, #0b0b0d);
  border-bottom: 1px solid rgba(226, 25, 44, 0.3);
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.announcement-bar.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.announcement-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px var(--gutter);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white-dim);
  text-align: center;
}
.announcement-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fd66a;
  box-shadow: 0 0 0 0 rgba(47, 214, 106, 0.6);
  animation: announcement-pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes announcement-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 214, 106, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 214, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 214, 106, 0); }
}
.announcement-link {
  color: var(--c-red-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast) var(--ease);
}
.announcement-link:hover { color: #fff; }
.announcement-close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: var(--c-muted);
  padding: 2px 6px;
  transition: color var(--dur-fast) var(--ease);
}
.announcement-close:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: var(--banner-h);
  z-index: 500;
  padding-block: 18px;
  transition: padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), top var(--dur-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding-block: 12px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--c-line-soft);
}
/* Header sits transparently over the (now white) hero until scrolled — flip text to dark. */
.site-header:not(.scrolled) .brand-word,
.site-header:not(.scrolled) .nav-list li a,
.site-header:not(.scrolled) .nav-list li a.active {
  color: var(--c-ink);
}
.site-header:not(.scrolled) .brand-word .brand-tld { color: var(--c-ink-soft); }
.site-header:not(.scrolled) .nav-list li a { color: var(--c-ink-soft); }
.site-header:not(.scrolled) .nav-list li a:hover { color: var(--c-ink); background: rgba(10,10,12,0.05); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--c-ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  background: linear-gradient(155deg, #ffffff, #e9e9ec);
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 3px 10px -2px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(0,0,0,0.04);
}
.logo-chip-sm { width: 48px; height: 48px; border-radius: 12px; padding: 6px; }
.brand-mark { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-word { font-weight: 700; font-size: 20.4px; letter-spacing: -0.01em; }
.brand-word .accent { color: var(--c-red); }
.brand-word .brand-tld { color: var(--c-muted); font-weight: 500; }

.main-nav { display: flex; }
.nav-list { display: flex; gap: 4px; }
.nav-list li a {
  display: inline-block;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-white-dim);
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  position: relative;
}
.nav-list li a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-list li a.active { color: #fff; }
.nav-list li a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--c-red);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(8,8,10,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
  z-index: 400;
  pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav-list { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mobile-nav-list a { font-size: 28px; font-weight: 600; padding: 6px 0; }

/* ---------- Reveal animation ---------- */
.reveal, .reveal-line, .reveal-item { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in-view, .reveal-line.in-view, .reveal-item.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-line, .reveal-item, .shard, .marquee-track { transition: none !important; animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(96px + var(--banner-h));
  overflow: hidden;
  color: var(--c-ink);
  background:
    radial-gradient(ellipse 900px 500px at 78% 18%, rgba(226,25,44,0.09), transparent 60%),
    radial-gradient(ellipse 700px 600px at 10% 90%, rgba(226,25,44,0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--c-paper) 60%, #f2f2f0 100%);
}
.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(226,25,44,0.14) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-shards { position: absolute; inset: 0; pointer-events: none; }
.shard {
  position: absolute;
  background: linear-gradient(135deg, rgba(10,10,12,0.05), rgba(10,10,12,0.01));
  border: 1px solid rgba(10,10,12,0.08);
  animation: float 9s ease-in-out infinite;
}
.shard-1 { width: 140px; height: 140px; top: 18%; left: 6%; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); animation-delay: 0s; }
.shard-2 { width: 90px; height: 90px; top: 62%; left: 14%; clip-path: polygon(0 0, 100% 0, 78% 100%); animation-delay: 1.4s; background: linear-gradient(135deg, rgba(226,25,44,0.18), rgba(226,25,44,0.02)); border-color: rgba(226,25,44,0.18); }
.shard-3 { width: 180px; height: 180px; top: 6%; right: 22%; clip-path: polygon(30% 0, 100% 20%, 70% 100%, 0 60%); animation-delay: 2.6s; }
.shard-4 { width: 70px; height: 70px; bottom: 12%; right: 30%; clip-path: polygon(50% 0, 100% 100%, 0 100%); animation-delay: 0.8s; background: linear-gradient(135deg, rgba(226,25,44,0.14), transparent); border-color: rgba(226,25,44,0.14); }
.shard-5 { width: 110px; height: 110px; bottom: 22%; left: 40%; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); animation-delay: 3.6s; }

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-22px,0) rotate(6deg); }
}

.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--c-red); }
.hero-heading {
  font-size: clamp(22px, 3.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 6px;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--c-ink) 40%, var(--c-ink-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--c-ink-soft);
  max-width: 520px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual-glow {
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(226,25,44,0.20) 0%, transparent 68%);
  filter: blur(20px);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.hero-logo-plate {
  position: relative;
  z-index: 2;
  width: min(420px, 78%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-plate::before {
  content: "";
  position: absolute;
  inset: 16%;
  background: rgba(10, 10, 12, 0.16);
  filter: blur(32px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.6; z-index: 2; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(10,10,12,0.45), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 60%; background: var(--c-red); animation: scrollcue 2.2s ease-in-out infinite; }
@keyframes scrollcue { 0% { top: -60%; } 100% { top: 100%; } }
.scroll-cue p { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted-dark); }

/* ---------- Industries / marquee ---------- */
.industries { padding-block: 72px 56px; background: var(--c-black-soft); border-top: 1px solid var(--c-line-soft); border-bottom: 1px solid var(--c-line-soft); }
.industries-sub { text-align: center; color: var(--c-muted); margin-top: -8px; margin-bottom: 8px; font-size: 15px; }
.marquee { margin-top: 32px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); display: flex; }
.marquee-track { display: flex; gap: 14px; padding-inline: 7px; flex-shrink: 0; animation: marquee 26s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-white-dim);
  white-space: nowrap;
  background: rgba(255,255,255,0.02);
}
.industry-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-red); }

/* ---------- About (manifesto) ---------- */
.about { background: var(--c-paper); color: var(--c-ink); padding-block: 140px; }
.about-inner { max-width: 760px; }
.about .section-heading { color: var(--c-ink); font-size: clamp(34px, 5vw, 56px); margin-bottom: 64px; }
.about-copy { display: flex; flex-direction: column; gap: 34px; }
.about-copy p {
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.6;
  color: var(--c-ink-soft);
  letter-spacing: -0.01em;
}
.about-copy p.emphasis {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
}
.about-closing {
  margin-top: 80px;
  font-size: clamp(22px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  text-align: center;
  white-space: nowrap;
}
.about-closing::before { content: ""; display: block; width: 46px; height: 3px; background: var(--c-red); margin: 0 auto 32px; border-radius: 3px; }

/* ---------- Services / Bento ---------- */
.services { background: var(--c-black); padding-block: 140px; position: relative; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento-card {
  background: linear-gradient(165deg, var(--c-charcoal), var(--c-black-soft));
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.bento-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(240px 160px at 20% 0%, rgba(226,25,44,0.14), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
.bento-card:hover { transform: translateY(-8px); border-color: rgba(226,25,44,0.35); box-shadow: 0 24px 48px -20px rgba(226,25,44,0.25); }
.bento-card:hover::before { opacity: 1; }
.bento-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(226,25,44,0.12);
  color: var(--c-red-bright);
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.bento-card h3 { font-size: 23px; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.bento-card p { color: var(--c-muted); line-height: 1.65; font-size: 15.5px; position: relative; z-index: 1; }
.bento-hook {
  color: var(--c-white-dim) !important;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 12px !important;
}
.bento-index { position: absolute; top: 24px; right: 28px; font-size: 13px; color: var(--c-muted-dark); font-weight: 600; }
.services-closing {
  margin-top: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-white-dim);
  max-width: 700px;
  margin-inline: auto;
  padding-top: 32px;
  border-top: 1px solid var(--c-line-soft);
}

/* ---------- Timeline ---------- */
.timeline-section { background: var(--c-paper); color: var(--c-ink); padding-block: 140px; }
.timeline-section .section-head { text-align: center; }
.timeline-section .section-heading { color: var(--c-ink); }
.timeline-section .section-head .section-sub { margin-inline: auto; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-ink) 0 8px, transparent 8px 16px);
  opacity: 0.15;
}
.timeline-step { position: relative; padding: 0 28px; text-align: left; }
.timeline-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-paper);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 26px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--c-paper);
}
.timeline-step:nth-child(odd) .timeline-number { background: var(--c-red); }
.timeline-step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.timeline-step p { color: var(--c-ink-soft); line-height: 1.6; font-size: 15.5px; }

/* ---------- Closing CTA ---------- */
.closing-cta {
  position: relative;
  overflow: hidden;
  padding-block: 130px;
  background: linear-gradient(135deg, var(--c-red-dark) 0%, var(--c-red) 55%, #c4101f 100%);
  text-align: center;
}
.closing-shards {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.08) 41%, rgba(255,255,255,0.08) 43%, transparent 44%),
    linear-gradient(115deg, transparent 60%, rgba(0,0,0,0.12) 61%, rgba(0,0,0,0.12) 63%, transparent 64%);
}
.closing-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.closing-heading { font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.closing-sub { margin-top: 20px; font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,0.88); line-height: 1.6; }
.closing-cta .btn-invert { margin-top: 40px; }

/* ---------- Contact ---------- */
.contact { background: var(--c-paper); color: var(--c-ink); padding-block: 140px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact .section-heading { color: var(--c-ink); }
.contact-form { position: relative; background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.15); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--c-ink-soft); }
.field input, .field textarea {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  background: var(--c-paper-dim);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus,
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 4px rgba(226,25,44,0.12);
  background: #fff;
}
.form-note { font-size: 13.5px; color: var(--c-ink-soft); min-height: 18px; }
.form-note.success { color: #1b7a3c; font-weight: 600; }
.form-note.error { color: var(--c-red); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-black); border-top: 1px solid var(--c-line-soft); padding-top: 64px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-tagline { margin-top: 14px; color: var(--c-muted); font-size: 14px; line-height: 1.6; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--c-white-dim); transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-copyright { text-align: center; padding-block: 24px; border-top: 1px solid var(--c-line-soft); font-size: 13px; color: var(--c-muted-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; margin-bottom: -20px; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .bento-grid, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(110px + var(--banner-h)); }
  .hero-heading, .about-closing { white-space: normal; }
  .about { padding-block: 90px; }
  .services, .timeline-section, .contact { padding-block: 90px; }
  .closing-cta { padding-block: 90px; }
  .announcement-inner { font-size: 12px; padding-inline: 44px; gap: 6px; }
  .announcement-link { display: none; }
  .announcement-close { right: 14px; }
}
