/* amandubey.in — Theme 3: Departure Board */

:root {
  --ground: #0f131a;
  --ground-2: #121821;
  --board: #171e28;
  --tile: #0b0e13;
  --tile-top: #141922;
  --line: #262f3d;
  --line-2: #323d4e;
  --text: #ecebe6;
  --muted: #a3acb9;
  --dim: #7d8796;
  --accent: #5aa9ff;            /* logo blue, tuned for dark ground */
  --accent-2: #9b7bff;          /* logo violet, tuned */
  --accent-ink: #0b1220;
  --accent-tint: #13233d;
  --grad: linear-gradient(110deg, #2d6fd6 0%, #5b4fd9 60%, #6a45d8 100%);
  --grad-hover: linear-gradient(110deg, #3a7de6 0%, #6a5ee6 60%, #7852e4 100%);
  --warn: #ffb020;              /* semantic warning only */
  --green: #4cd283;
  --red: #ff6f61;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scrollbar-color: var(--line-2) var(--ground); -webkit-text-size-adjust: 100%; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--ground); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #4a5668; }
::selection { background: var(--accent); color: var(--accent-ink); }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
  caret-color: var(--accent);
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
img, svg { display: block; }
ol, ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  font: 600 1.0625rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.1875rem; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { background: var(--grad-hover); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; font: 600 1.0625rem/1.2 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: underline; text-decoration-color: rgba(90, 169, 255, .45);
}
.text-link:hover { text-decoration-color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 19, 26, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(15, 19, 26, .82); backdrop-filter: blur(12px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.monogram {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--tile); border: 1px solid var(--line-2); border-radius: 4px;
  font: 700 1.0625rem/1 var(--mono); color: var(--accent); letter-spacing: 0.02em;
  position: relative;
}
.monogram::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.7); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 700 1.25rem/1.1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.brand-text span { font-size: 0.8125rem; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  font: 500 1.0625rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); padding: 8px 0; transition: color .2s;
}
.site-nav a:not(.btn):hover { color: var(--text); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  background: transparent; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-fields {
  display: grid; grid-template-columns: 1.15fr 1.45fr .8fr; margin: 0 0 clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line);
}
.field { padding: 12px 16px 14px 0; min-width: 0; }
.field + .field { padding-left: 16px; border-left: 1px solid var(--line); }
.field dt { font: 600 0.8125rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.field dd { margin: 0; font-size: 0.9375rem; line-height: 1.35; color: var(--text); }
.field-incharge dd { display: flex; align-items: center; gap: 10px; }
.incharge-photo {
  flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  font: 700 0.75rem/1 var(--mono);
}
.incharge-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero h1 { font-size: clamp(3.25rem, 7.4vw, 6rem); text-transform: uppercase; line-height: .94; letter-spacing: -0.005em; }
.lede { margin-top: 24px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 34em; }
.hero .action-row { margin-top: 32px; }
.hero-meta { margin-top: 24px; font: 500 0.8125rem/1.5 var(--mono); color: var(--dim); letter-spacing: 0.01em; }

/* Lit message panel */
.panel {
  margin: 0; background: var(--board); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65), 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.chat { border-top: 2px solid transparent; border-image: var(--grad) 1; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--ground-2); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 0.8125rem/1 var(--mono); }
.chat-who { display: flex; flex-direction: column; line-height: 1.2; }
.chat-who strong { font: 700 1.125rem/1.1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.chat-who span { font-size: 0.8125rem; color: var(--muted); }
.live { margin-left: auto; }
.live-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 12px; font-size: 0.9875rem; line-height: 1.45; }
.msg-client { align-self: flex-start; background: #232c39; border-bottom-left-radius: 4px; }
.msg-aman { align-self: flex-end; background: var(--accent-tint); border: 1px solid #24406b; border-bottom-right-radius: 4px; }
.msg-plan {
  align-self: flex-end; display: flex; flex-direction: column; gap: 4px; max-width: 92%;
  background: var(--tile); border: 1px solid var(--line-2); border-radius: 8px;
}
.msg-plan strong { font: 700 1rem/1.2 var(--display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.msg-plan span { font: 500 0.8125rem/1.5 var(--mono); color: var(--text); }

/* ---------- Crew list ---------- */
.crew { background: var(--ground-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0; }
.crew h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); text-transform: uppercase; margin-bottom: 28px; }
.crew-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-2); }
.crew-list li { padding: 18px 20px 4px 0; display: flex; flex-direction: column; gap: 6px; border-top: 2px solid transparent; margin-top: -1px; }
.crew-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.crew-list .role { font: 600 0.8125rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.crew-list .who { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.05 var(--display); text-transform: uppercase; }
.crew-list .crew-lead { border-top-color: var(--accent); }
.crew-list .crew-lead .who { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--ground-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack > * + * { margin-top: clamp(28px, 3.5vw, 44px); }
.h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); text-transform: uppercase; }
.h2-sm { font-size: clamp(1.875rem, 3vw, 2.5rem); margin-bottom: 20px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.section-head-copy { max-width: 760px; }
.section-head-copy p { margin-top: 14px; font-size: 1.125rem; }

/* Four areas */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-intro { position: sticky; top: 112px; }
.split-intro p { margin-top: 16px; font-size: 1.125rem; }
.area-list { border-top: 1px solid var(--line-2); }
.area {
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 24px; align-items: center;
  padding: 26px 8px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding .3s var(--ease), background-color .3s var(--ease);
}
.area-title { font: 600 clamp(1.625rem, 2.6vw, 2.125rem)/1.05 var(--display); text-transform: uppercase; }
.area-desc { grid-column: 1; color: var(--muted); max-width: 46ch; }
.area .arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--dim); transition: color .2s, transform .3s var(--ease); }
.area:hover { background: var(--board); padding-left: 16px; padding-right: 16px; }
.area:hover .arrow { color: var(--accent); transform: translateX(4px); }

/* ---------- Status: split-flap board ---------- */
.switch { display: inline-flex; padding: 4px; background: var(--tile); border: 1px solid var(--line-2); border-radius: 8px; }
.switch button {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 5px; cursor: pointer;
  background: transparent; color: var(--muted);
  font: 600 1.0625rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.switch button:hover { color: var(--text); }
.switch button[aria-pressed="true"] { background: var(--grad); color: #fff; }

.board {
  background: var(--board); border: 1px solid var(--line-2); border-radius: 10px;
  padding: clamp(12px, 2vw, 24px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
}
.status-table { width: 100%; border-collapse: collapse; }
.status-table th {
  text-align: left; padding: 8px 16px 14px; border-bottom: 1px solid var(--line-2);
  font: 600 0.875rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}
.status-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.status-table td:first-child { font: 600 1.25rem/1.2 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.status-table td:nth-child(2) { color: var(--muted); }
.status-table tbody tr:last-child td { border-bottom: 0; }

.flap { display: inline-block; }
.tiles { display: inline-flex; gap: 3px; }
.ft {
  position: relative; display: inline-grid; place-items: center;
  width: 1.5em; height: 2em; border-radius: 3px;
  background: linear-gradient(var(--tile-top) 0 50%, var(--tile) 50% 100%);
  font: 700 0.9375rem/1 var(--mono); color: var(--text);
  perspective: 120px; overflow: hidden;
}
.ft::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1px; background: rgba(0, 0, 0, .85); }
.ft b { font-weight: 700; display: block; transform-origin: 50% 50%; }
.ft-flip b { animation: flip .11s cubic-bezier(.3, 0, .2, 1); }
@keyframes flip { from { transform: rotateX(-80deg); opacity: .55; } to { transform: none; opacity: 1; } }

.is-bad .ft { color: var(--red); }
.is-warn .ft { color: var(--warn); }
.is-live .ft { color: var(--accent); }
.is-good .ft { color: var(--green); }
td[data-label="Due"] .ft { color: var(--text); }
.ft-blank { background: linear-gradient(#11161e 0 50%, #0a0d12 50% 100%); }

.verdict {
  display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 16px 16px 4px;
  border-top: 1px solid var(--line-2); font-size: 1.0625rem;
}
.verdict::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.verdict-bad::before { background: var(--red); }
.verdict-good::before { background: var(--green); }

/* ---------- Timetable ---------- */
.timetable {
  display: grid; grid-template-columns: minmax(180px, 1.3fr) repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--board);
}
.timetable > * { min-height: 58px; border-bottom: 1px solid var(--line); }
.timetable .corner, .timetable .wk { background: var(--ground-2); border-bottom-color: var(--line-2); }
.wk {
  display: flex; align-items: center; padding: 0 12px; border-left: 1px solid var(--line);
  font: 600 0.9375rem/1.1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.lane {
  grid-column: 1; display: flex; align-items: center; padding: 0 18px; border-right: 1px solid var(--line-2);
  font: 600 1.125rem/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.02em;
}
.slot {
  grid-column: var(--s) / span var(--n); position: relative;
  border-left: 1px solid var(--line);
}
.slot::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 18px; transform: translateY(-50%);
  background: #3a4659; border-radius: 3px;
}
.slot-live::before { background: var(--accent); }
.slot-done::before { background: var(--green); }
.tick { position: relative; border-left: 1px solid var(--line); }
.tick::before {
  content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; transform: translateY(-50%) rotate(45deg);
  border: 2px solid var(--accent);
}
.timetable > :nth-last-child(-n+7) { border-bottom: 0; }

/* ---------- Sites ---------- */
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.site-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--board); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden;
  transition: border-color .2s var(--ease);
}
.site-card:hover { border-color: var(--muted); }
.site-shot { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--tile); border-bottom: 1px solid var(--line); }
.site-shot span { font: 500 0.8125rem/1 var(--mono); color: var(--dim); }
.site-meta { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.site-meta strong { font: 600 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.site-meta span { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Tools + Ask ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.row-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: color .2s;
}
.col h2 + .row-link { border-top: 1px solid var(--line-2); }
.row-link svg { flex: none; color: var(--dim); transition: color .2s, transform .3s var(--ease); }
.row-link:hover svg { color: var(--accent); transform: translateX(4px); }
.tool-row > span { display: flex; flex-direction: column; gap: 2px; }
.tool-row strong { font: 600 1.375rem/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.tool-row strong + span { color: var(--muted); font-size: 0.9875rem; }
.ask span { font-size: 1.125rem; font-weight: 500; }
.col .text-link { margin-top: 22px; }

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--line); background: var(--ground-2); padding: clamp(72px, 10vw, 128px) 0; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2.75rem, 6vw, 5rem); text-transform: uppercase; line-height: .96; max-width: 12ch; }
.cta p { margin-top: 18px; font-size: 1.1875rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 96px; font-size: 0.9375rem; color: var(--muted); }
.site-footer strong { color: var(--text); font-weight: 600; }
.footer-inner { display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  background: var(--board); color: var(--text); border: 1px solid var(--line-2); border-radius: 24px;
  font: 600 1rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .7);
  transition: border-color .2s;
}
.wa-float svg { color: var(--green); }
.wa-float:hover { border-color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; color: var(--text); }
  .nav-cta { margin: 16px 0 0; }
  .header-inner { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .chat { max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .split-intro { position: static; }
}

@media (max-width: 860px) {
  .crew-list { grid-template-columns: 1fr; }
  .crew-list li, .crew-list li + li {
    flex-direction: row; justify-content: space-between; align-items: baseline;
    padding: 14px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); margin-top: 0;
  }
  .crew-list .crew-lead { box-shadow: inset 0 2px 0 var(--accent); }
  .crew-list .who { font-size: 1.5rem; }

  .site-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }

  /* Board reflows to stacked rows */
  .status-table thead { display: none; }
  .status-table, .status-table tbody, .status-table tr, .status-table td { display: block; }
  .status-table tr {
    display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center;
    padding: 16px 4px; border-bottom: 1px solid var(--line);
  }
  .status-table tbody tr:last-child { border-bottom: 0; }
  .status-table td { padding: 0; border: 0; }
  .status-table td:first-child { grid-column: 1 / -1; }
  .status-table td:nth-child(2) { grid-column: 1 / -1; font-size: 0.9375rem; }
  .status-table td:nth-child(3), .status-table td:nth-child(4) { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
  .status-table td:nth-child(3)::before, .status-table td:nth-child(4)::before {
    content: attr(data-label); width: 52px; flex: none;
    font: 600 0.75rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
  }
  .ft { width: 1.45em; height: 1.9em; font-size: 0.8125rem; }
  .tiles { gap: 2px; }

  .timetable { grid-template-columns: minmax(96px, 1.25fr) repeat(6, minmax(0, 1fr)); }
  .timetable > * { min-height: 52px; }
  .wk { padding: 0 4px; justify-content: center; text-align: center; font-size: 0.75rem; letter-spacing: 0.04em; }
  .lane { padding: 0 10px; font-size: 0.9375rem; }
  .slot::before { left: 4px; right: 4px; height: 14px; }
  .tick::before { right: 50%; transform: translate(50%, -50%) rotate(45deg); width: 8px; height: 8px; }
}

@media (max-width: 560px) {
  .hero-fields { grid-template-columns: 1fr; }
  .field, .field + .field { padding: 10px 0; border-left: 0; }
  .field + .field { border-top: 1px solid var(--line); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .action-row .btn { flex: 1 1 100%; }
  .switch { width: 100%; }
  .switch button { flex: 1; padding: 0 10px; }
  .board { padding: 8px 14px; }
  .msg { max-width: 94%; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float { padding: 0; width: 52px; height: 52px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Logo */
.brand-mark { display: block; width: auto; height: 40px; flex: none; }
.chat-avatar { background: var(--tile); border: 1px solid var(--line-2); }
.chat-avatar img { display: block; width: 22px; height: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand img { display: block; height: 24px; width: auto; }
@media (max-width: 640px) { .brand-mark { height: 34px; } }

/* Mobile: chat follows the headline and lede, ahead of the actions */
@media (max-width: 960px) {
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero-fields { order: 1; }
  .hero h1 { order: 2; }
  .hero .lede { order: 3; }
  .hero .chat { order: 4; }
  .hero .action-row { order: 5; }
  .hero-meta { order: 6; }
}
/* Meta line is prose, not data: set it in the body face */
.hero-meta { font-family: var(--body); letter-spacing: 0; }
@media (max-width: 960px) { .hero-inner { gap: 24px; } .hero h1, .hero .lede { margin: 0; } }

/* Moving backgrounds: Hub Network in the hero, Dot Matrix at low opacity on the status board and CTA */
.has-fx { position: relative; isolation: isolate; overflow: hidden; }
.has-fx > .wrap { position: relative; z-index: 1; }
.bg-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.bg-hub { opacity: .9; }
.bg-dots {
  opacity: .75;
  -webkit-mask-image: radial-gradient(ellipse 90% 95% at 65% 55%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 95% at 65% 55%, #000 35%, transparent 85%);
}
.bg-dots-cta {
  opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 70% 110% at 80% 55%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 110% at 80% 55%, #000 30%, transparent 80%);
}
.hero .chat { position: relative; z-index: 1; }
@media (max-width: 960px) {
  .bg-hub { opacity: .85; }
  .bg-dots { opacity: .5; -webkit-mask-image: none; mask-image: none; }
}


/* Crew section: You -> Aman -> team flow */
.crew-inner { display: flex; flex-direction: column; gap: 36px; }
.crew-head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.crew-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-transform: uppercase; line-height: 1; }
.crew-head p { margin: 0; font-size: 1.0625rem; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1.25fr); align-items: stretch; }
.flow-step { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--board); min-width: 0; }
.flow-step p { margin: 0; color: var(--muted); }
.flow-role { font: 700 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; display: flex; flex-direction: column; gap: 6px; }
.flow-role small { font: 600 0.75rem/1 var(--display); letter-spacing: .12em; color: var(--accent); }
.flow-lead { border-color: transparent; background: linear-gradient(var(--board), var(--board)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.flow-lead .flow-role { color: var(--accent); }
.flow-link { display: grid; place-items: center; color: var(--dim); }
.flow-arrow { width: 40px; height: 20px; }
.flow-team ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.flow-team li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: 0.9375rem; }
.flow-team li b { color: var(--text); font-weight: 600; }
.flow-team i { flex: none; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-1px); }
.flow-team i[data-role="dev"] { background: #5aa9ff; }
.flow-team i[data-role="seo"] { background: #38c9d4; }
.flow-team i[data-role="design"] { background: #9b7bff; }
@media (max-width: 960px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-link { height: 44px; }
  .flow-arrow { transform: rotate(90deg); }
}
