/* Overtime Agency site — layout + responsive layer on top of DS tokens */

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

.ot-wrap { max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

.ot-kicker {
  font: var(--type-kicker); letter-spacing: var(--tracking-kicker);
  text-transform: uppercase; color: var(--ot-red);
  display: inline-flex; align-items: center; gap: 14px;
}
.ot-kicker::before { content: ''; width: 44px; height: 2px; background: currentColor; flex: 0 0 auto; }
.ot-kicker--bare::before { display: none; }

.ot-display {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  line-height: 0.92; letter-spacing: 0.005em; margin: 0; color: var(--text-body);
}
.ot-display--red { color: var(--ot-red); }

.ot-h1 { font-size: clamp(52px, 9vw, 128px); line-height: 0.9; }
.ot-h2 { font-size: clamp(38px, 5vw, 64px); }
.ot-h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.02; }

.ot-lede { font: var(--type-body-lg); color: var(--text-secondary); margin: 0; text-wrap: pretty; }

.ot-micro {
  font: var(--type-caption); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}

.ot-section { padding-top: 104px; padding-bottom: 104px; }
.ot-section--tight { padding-top: 72px; padding-bottom: 72px; }

.ot-hairline { border: none; border-top: 1px solid var(--border-default); margin: 0; }

/* Red band context */
.ot-band { background: var(--ot-red); color: var(--ot-cream); }
.ot-band .ot-kicker { color: var(--ot-cream); opacity: 0.85; }
.ot-band .ot-display { color: var(--ot-cream); }
.ot-band .ot-lede { color: var(--ot-cream); opacity: 0.85; }
.ot-band .ot-micro { color: var(--ot-cream); opacity: 0.7; }

/* Ink band (footer) */
.ot-band-ink { background: var(--ot-ink); color: var(--ot-cream); }

/* Footer */
.ot-foot-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-top: 80px; padding-bottom: 56px; border-bottom: 1px solid rgba(242,228,215,.18); }
.ot-foot-cta-btns { padding-bottom: 8px; }
.ot-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 52px 0 56px; }
.ot-foot-h { font: 600 11px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ot-cream); opacity: 0.45; margin-bottom: 16px; }
.ot-foot-link { display: block; font: 500 15px/1.4 var(--font-body); color: var(--ot-cream); opacity: 0.8; text-decoration: none; padding: 5px 0; }
a.ot-foot-link:hover { color: var(--ot-red-bright); opacity: 1; text-decoration: none; }
.ot-foot-social { display: flex; gap: 10px; }
.ot-foot-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(242,228,215,.35); border-radius: 4px; color: var(--ot-cream); }
.ot-foot-social a:hover { border-color: var(--ot-cream); color: var(--ot-cream); }
.ot-foot-bar { background: rgba(0,0,0,.35); }
.ot-foot-bar-inner { display: flex; align-items: center; gap: 18px; padding-top: 16px; padding-bottom: 16px; font: var(--type-caption); color: var(--ot-cream); }
.ot-foot-bar-inner span { opacity: 0.55; }
.ot-foot-tag { margin-left: auto; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; }

@media (max-width: 900px) {
  .ot-foot-cta { grid-template-columns: 1fr; gap: 26px; align-items: start; padding-top: 56px; padding-bottom: 40px; }
  .ot-foot-cta-btns { padding-bottom: 0; }
  .ot-foot-cta-btns > * { flex: 1 1 auto; }
  .ot-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 40px 0 44px; }
  .ot-foot-brand { grid-column: 1 / -1; }
  .ot-foot-bar-inner { flex-wrap: wrap; gap: 10px 18px; }
  .ot-foot-tag { margin-left: 0; width: 100%; }
}

/* Grids */
.ot-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ot-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ot-grid-side { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.ot-sticky-col { position: sticky; top: 116px; }

/* Stat strip (hairline-divided) */
.ot-statstrip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.ot-statstrip > div { padding: 26px 30px; display: flex; align-items: center; gap: 18px; min-width: 0; }
.ot-statstrip > div + div { border-left: 1px solid var(--border-default); }
.ot-statstrip .num { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--text-body); flex: 0 0 auto; min-width: 86px; }

/* Trade ticker strip */
.ot-trades { display: flex; flex-wrap: wrap; }
.ot-trades > div { flex: 1 1 180px; padding: 28px 26px; border-left: 1px solid var(--border-default); min-width: 0; }
.ot-trades > div:first-child { border-left: none; }

/* Buttons row */
.ot-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Nav */
.ot-nav { position: sticky; top: 0; z-index: 80; background: var(--surface-page); border-bottom: 1px solid var(--border-default); }
.ot-nav-inner { height: 76px; display: flex; align-items: center; gap: 28px; }
.ot-nav-links { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.ot-nav-link {
  font: var(--type-kicker); font-size: 12px; letter-spacing: var(--tracking-kicker);
  text-transform: uppercase; color: var(--text-body); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.ot-nav-link:hover { color: var(--ot-red); text-decoration: none; }
.ot-nav-link.active { color: var(--ot-red); border-bottom-color: var(--ot-red); }
.ot-burger { display: none; }
.ot-mobile-menu { display: none; }

/* Cart button */
.ot-cartbtn { position: relative; background: none; border: 1px solid var(--border-strong); border-radius: 4px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-body); }
.ot-cartbtn:hover { background: var(--ot-cream-dim); }
.ot-cartbtn .count { position: absolute; top: -7px; right: -7px; background: var(--ot-red); color: var(--ot-cream); font: 700 11px/1 var(--font-body); min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Drawer */
.ot-scrim { position: fixed; inset: 0; background: rgba(26,18,16,.4); z-index: 90; }
.ot-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 95;
  background: var(--surface-page); border-left: 1px solid var(--border-strong);
  display: flex; flex-direction: column;
  animation: ot-slide-in 180ms var(--ease-out, ease-out);
}
@keyframes ot-slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ot-drawer > div, .ot-chat-panel > div { overscroll-behavior: contain; }

/* Cards / rows */
.ot-syscard { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.ot-numrow { display: grid; grid-template-columns: 88px 1fr auto; gap: 28px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--border-default); }
.ot-numrow:last-child { border-bottom: 1px solid var(--border-default); }
.ot-bignum { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--ot-red); }

/* Pricing cards */
.ot-pricegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.ot-pricecard { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 8px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.ot-pricecard--star { border: 2px solid var(--ot-ink); box-shadow: 4px 4px 0 var(--ot-ink); }

/* Forms */
.ot-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ot-formgrid .full { grid-column: 1 / -1; }

/* Booking — premium card + dark scheduler console */
.ot-bookcard { background: var(--surface-card); border: 2px solid var(--ot-ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ot-ink); }
.ot-bookstep { padding: clamp(22px, 4vw, 40px); }
.ot-bookstep + .ot-bookstep { border-top: 1px solid var(--border-default); }
.ot-stephead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.ot-stephead .n { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--ot-red); }
.ot-stephead .t { font-family: var(--font-display); font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--text-body); }
.ot-stephead .hint { font: var(--type-caption); color: var(--text-muted); margin-left: auto; text-align: right; }

.ot-console { background: var(--ot-ink); color: var(--ot-cream); border-radius: 8px; padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.ot-console .ot-micro { color: var(--ot-cream); opacity: 0.55; }
.ot-console .ot-cartbtn { color: var(--ot-cream); border-color: rgba(242,228,215,.4); }
.ot-console .ot-cartbtn:hover { background: rgba(242,228,215,.12); }

/* Booking calendar */
.ot-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ot-cal .dow { font: var(--type-caption); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242,228,215,.45); text-align: center; padding: 6px 0; }
.ot-day {
  aspect-ratio: 1; border: 1px solid rgba(242,228,215,.22); border-radius: 4px; background: transparent;
  font: 600 15px/1 var(--font-body); color: var(--ot-cream); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 140ms ease-out, background 140ms ease-out;
}
.ot-day:hover:not(:disabled) { border-color: var(--ot-cream); }
.ot-day:disabled { opacity: 0.22; cursor: default; border-color: transparent; }
.ot-day.sel { background: var(--ot-red); border-color: var(--ot-red-bright); color: var(--ot-cream); font-weight: 700; }
.ot-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ot-slot {
  border: 1px solid rgba(242,228,215,.28); border-radius: 4px; background: transparent; padding: 13px 8px;
  font: 600 14px/1 var(--font-body); color: var(--ot-cream); cursor: pointer;
  transition: border-color 140ms ease-out, background 140ms ease-out;
}
.ot-slot:hover:not(:disabled) { border-color: var(--ot-cream); }
.ot-slot:disabled { opacity: 0.28; cursor: default; text-decoration: line-through; }
.ot-slot.sel { background: var(--ot-red); border-color: var(--ot-red-bright); color: var(--ot-cream); }

/* Choice tiles (call type, trade) */
.ot-tile { border: 1px solid var(--border-default); border-radius: 8px; background: var(--surface-page); padding: 20px; text-align: left; cursor: pointer; font: var(--type-body); color: var(--text-body); transition: border-color 140ms ease-out; }
.ot-tile:hover { border-color: var(--ot-ink); }
.ot-tile.sel { border: 2px solid var(--ot-red); padding: 19px; background: var(--surface-card); }

/* FAQ */
.ot-faq { border-top: 1px solid var(--border-default); }
.ot-faq-item { border-bottom: 1px solid var(--border-default); }
.ot-faq-q { width: 100%; background: none; border: none; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; text-align: left; font: 600 17px/1.3 var(--font-body); color: var(--text-body); }
.ot-faq-q:hover { color: var(--ot-red); }
.ot-faq-a { padding: 0 4px 24px; font: var(--type-body); color: var(--text-secondary); max-width: 720px; }

/* Chat widget */
.ot-chat-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--ot-red); color: var(--ot-cream); border: none; border-radius: 8px;
  height: 56px; padding: 0 20px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  font: 600 14px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-pop, 0 8px 24px rgba(26,18,16,.25));
}
.ot-chat-fab:hover { background: var(--ot-red-deep); }
.ot-chat-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FBF77; flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .ot-chat-fab .dot { animation: ot-pulse 2.4s ease-in-out infinite; }
}
@keyframes ot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(111,191,119,.5); } 50% { box-shadow: 0 0 0 5px rgba(111,191,119,0); } }

.ot-chat-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 110;
  width: min(392px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 40px));
  background: var(--surface-page); border: 2px solid var(--ot-ink); border-radius: 10px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 6px 6px 0 var(--ot-ink);
  animation: ot-chat-in 200ms var(--ease-out, ease-out);
}
@keyframes ot-chat-in { from { opacity: 0; transform: translateY(16px); } }
.ot-chat-head { background: var(--ot-red); color: var(--ot-cream); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.ot-chat-head .status { display: flex; align-items: center; gap: 6px; font: var(--type-caption); opacity: 0.85; margin-top: 4px; }
.ot-chat-head .status .dot { width: 7px; height: 7px; border-radius: 50%; background: #6FBF77; }
.ot-chat-close { margin-left: auto; background: none; border: 1px solid rgba(242,228,215,.4); border-radius: 4px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--ot-cream); cursor: pointer; flex: 0 0 auto; }
.ot-chat-close:hover { background: rgba(242,228,215,.14); }

.ot-chat-intro { padding: 22px 18px 8px; }
.ot-chat-intro .hi { font-family: var(--font-display); font-size: 27px; line-height: 1.02; text-transform: uppercase; color: var(--text-body); max-width: 280px; }
.ot-chat-intro .sub { font: var(--type-body-sm); color: var(--text-secondary); margin: 10px 0 18px; max-width: 300px; }
.ot-chat-quickgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ot-chat-quickcard {
  text-align: left; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 6px;
  padding: 12px 12px 11px; cursor: pointer; display: flex; flex-direction: column; gap: 8px;
  font: 600 13px/1.3 var(--font-body); color: var(--text-body);
  transition: border-color 140ms var(--ease-out, ease-out), background 140ms var(--ease-out, ease-out);
}
.ot-chat-quickcard:hover { border-color: var(--ot-ink); background: var(--ot-cream-bright); }
.ot-chat-quickcard .arw { color: var(--ot-red); font-size: 15px; line-height: 1; }

.ot-msg { max-width: 85%; padding: 11px 14px; border-radius: 10px; font: var(--type-body-sm); white-space: pre-wrap; overflow-wrap: break-word; }
.ot-msg.user { align-self: flex-end; background: var(--ot-red); color: var(--ot-cream); border-bottom-right-radius: 2px; }
.ot-msg.bot { align-self: flex-start; background: var(--surface-card); border: 1px solid var(--border-default); color: var(--text-body); border-bottom-left-radius: 2px; }
.ot-bot-row { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.ot-bot-row img { width: 20px; height: auto; flex: 0 0 auto; margin-bottom: 2px; opacity: 0.9; }
.ot-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ot-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .ot-typing span { animation: ot-blink 1s infinite ease-in-out; }
  .ot-typing span:nth-child(2) { animation-delay: 0.16s; }
  .ot-typing span:nth-child(3) { animation-delay: 0.32s; }
}
@keyframes ot-blink { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; transform: translateY(-2px); } }

.ot-chip { border: 1px solid var(--border-strong); background: var(--surface-card); border-radius: 999px; padding: 8px 14px; font: 600 12px/1 var(--font-body); letter-spacing: 0.04em; color: var(--text-body); cursor: pointer; white-space: nowrap; transition: background 140ms, color 140ms, border-color 140ms; }
.ot-chip:hover { background: var(--ot-red); border-color: var(--ot-red); color: var(--ot-cream); }
.ot-chat-inputbar { display: flex; gap: 8px; padding: 12px; background: var(--surface-card); border-top: 1px solid var(--border-default); }
.ot-chat-inputbar input { flex: 1; border: 1px solid var(--border-default); border-radius: 6px; padding: 12px 14px; font: var(--type-body-sm); background: var(--surface-page); color: var(--text-body); min-width: 0; }
.ot-chat-inputbar input:focus { border-color: var(--ot-ink); outline: none; box-shadow: none; }
.ot-chat-send { width: 44px; height: 44px; flex: 0 0 auto; border: none; border-radius: 6px; background: var(--ot-red); color: var(--ot-cream); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ot-chat-send:hover { background: var(--ot-red-deep); }
.ot-chat-send:disabled { opacity: 0.4; cursor: default; }

/* Table */
.ot-table { width: 100%; border-collapse: collapse; font: var(--type-body); }
.ot-table th { font: var(--type-caption); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--ot-ink); }
.ot-table td { padding: 16px; border-bottom: 1px solid var(--border-default); vertical-align: top; }

/* Free Trade Audit voucher — shared (home CTA + services section) */
.audit-voucher { background: var(--ot-cream); color: var(--ot-ink); border-radius: 8px; padding: 10px; box-shadow: 8px 8px 0 rgba(20,8,7,.4); margin-top: 30px; max-width: 480px; }
.audit-voucher-inner { border: 2px dashed rgba(26,18,16,.35); border-radius: 5px; padding: clamp(18px, 3vw, 26px); }
.audit-voucher .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 11px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ot-ink-faint); margin-bottom: 14px; }
.audit-voucher .pricerow { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.audit-voucher .pricerow s { font-family: var(--font-display); font-size: 26px; color: var(--ot-ink-faint); }
.audit-voucher .pricerow .free { font-family: var(--font-display); font-size: clamp(48px, 6vw, 64px); line-height: 0.9; text-transform: uppercase; color: var(--ot-red); }
.audit-ticks { display: flex; align-items: center; gap: 5px; margin: 16px 0 20px; }
.audit-ticks .tick { width: 26px; height: 9px; background: var(--ot-red); border-radius: 2px; }
.audit-ticks .lbl { font: var(--type-caption); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ot-ink-soft); margin-left: 8px; }

/* Why we're different — versus board on ink */
.diff-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.diff-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; padding-bottom: 12px; }
.diff-cols span { font: 600 11px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ot-cream); opacity: 0.45; }
.diff-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; align-items: stretch; padding: 14px 0; border-top: 1px solid rgba(242,228,215,.16); }
.diff-no { display: flex; gap: 14px; align-items: center; padding: 12px 4px; }
.diff-no .x { color: var(--ot-red-bright); font: 700 16px/1 var(--font-body); flex: 0 0 auto; }
.diff-no .t { font: 600 17px/1.35 var(--font-body); color: var(--ot-cream); opacity: 0.55; text-transform: uppercase; letter-spacing: 0.04em; }
.diff-yes { background: var(--ot-cream-bright); color: var(--ot-ink); border-radius: 6px; padding: 16px 20px; box-shadow: 0 3px 0 rgba(0,0,0,.45); }
.diff-yes .y { font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.05; text-transform: uppercase; color: var(--ot-red); }
.diff-yes .p { font: var(--type-body-sm); color: var(--ot-ink-soft); margin: 8px 0 0; max-width: 520px; }
.diff-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(242,228,215,.16); }

@media (max-width: 900px) {
  .diff-cols { display: none; }
  .diff-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .diff-no { padding: 0 2px; }
  .diff-no .t { font-size: 15px; }
  .diff-foot { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Focus */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* ---------------- Mobile ---------------- */
@media (max-width: 900px) {
  .ot-wrap { padding-left: 20px; padding-right: 20px; }
  .ot-section { padding-top: 64px; padding-bottom: 64px; }
  .ot-section--tight { padding-top: 48px; padding-bottom: 48px; }
  .ot-grid-2, .ot-grid-3, .ot-pricegrid { grid-template-columns: 1fr; gap: 24px; }
  .ot-grid-side { grid-template-columns: 1fr; gap: 32px; }
  .ot-sticky-col { position: static; }
  .ot-sticky-col p { max-width: none !important; }
  .ot-statstrip { grid-template-columns: 1fr; }
  .ot-statstrip > div + div { border-left: none; border-top: 1px solid var(--border-default); }
  .ot-statstrip > div { padding: 18px 4px; }
  .ot-statstrip .num { min-width: 72px; }
  .ot-trades > div { flex: 1 1 100%; border-left: none; border-top: 1px solid var(--border-default); padding: 20px 4px; }
  .ot-trades > div:first-child { border-top: none; }
  .ot-numrow { grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; }
  .ot-numrow .rowtag { grid-column: 2; }
  .ot-bignum { font-size: 38px; }
  .ot-formgrid { grid-template-columns: 1fr; }
  .ot-slots { grid-template-columns: repeat(2, 1fr); }
  .ot-console { grid-template-columns: 1fr; }
  .ot-stephead .hint { display: none; }

  /* Nav → hamburger */
  .ot-nav-links { display: none; }
  .ot-nav-inner { height: 64px; gap: 14px; }
  .ot-nav-inner .ot-cartbtn { margin-left: auto; }
  .ot-burger {
    display: inline-flex; background: none; border: 1px solid var(--border-strong);
    border-radius: 4px; width: 42px; height: 42px; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-body); flex-direction: column; gap: 5px;
  }
  .ot-burger span { display: block; width: 18px; height: 2px; background: currentColor; }
  .ot-mobile-menu {
    display: flex; flex-direction: column; position: fixed; z-index: 102;
    top: 64px; left: 0; right: 0; bottom: 0; background: var(--surface-page);
    border-top: 1px solid var(--border-default);
    padding: 6px 20px calc(18px + env(safe-area-inset-bottom)); overflow: auto;
    overscroll-behavior: contain; touch-action: pan-y;
    animation: ot-menu-in 160ms ease-out;
  }
  .ot-mobile-menu nav { display: flex; flex-direction: column; }
  .ot-mobile-menu nav a {
    display: flex; align-items: center; gap: 16px;
    font-family: var(--font-display); font-size: clamp(28px, 7vw, 38px); text-transform: uppercase;
    color: var(--text-body); text-decoration: none; padding: 15px 4px;
    border-bottom: 1px solid var(--border-default);
    transition: padding-left 160ms var(--ease-out, ease-out), color 160ms var(--ease-out, ease-out), background 160ms var(--ease-out, ease-out);
    animation: ot-menu-item 240ms ease-out backwards;
  }
  @media (hover: hover) {
    .ot-mobile-menu nav a:hover { color: var(--ot-red); padding-left: 16px; background: var(--surface-card); border-radius: 4px; }
    .ot-mobile-menu nav a:hover .go { opacity: 1; transform: none; }
  }
  .ot-mobile-menu nav a .idx {
    font: 700 11px/1 var(--font-body); letter-spacing: 0.16em;
    color: var(--ot-red); flex: 0 0 26px;
  }
  .ot-mobile-menu nav a .go { margin-left: auto; font-family: var(--font-body); font-size: 20px; color: var(--ot-red); opacity: 0; transform: translateX(-6px); transition: opacity 140ms, transform 140ms; }
  .ot-mobile-menu nav a:active .go, .ot-mobile-menu nav a.active .go { opacity: 1; transform: none; }
  .ot-mobile-menu nav a.active { color: var(--ot-red); }
  .ot-mobile-menu nav a.active .idx { background: var(--ot-red); color: var(--ot-cream); padding: 4px 5px; border-radius: 3px; flex-basis: auto; }
  .ot-menu-audit {
    margin-top: 20px; background: var(--ot-red); color: var(--ot-cream); border-radius: 8px;
    padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px;
    box-shadow: 4px 4px 0 var(--ot-ink); animation: ot-menu-item 260ms ease-out 240ms backwards; transition: opacity 200ms;
  }
  .ot-menu-audit .k { font: 700 10px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
  .ot-menu-audit .t { font-family: var(--font-display); font-size: clamp(21px, 5.6vw, 26px); line-height: 1.02; text-transform: uppercase; margin-top: 6px; }
  .ot-menu-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; animation: ot-menu-item 260ms ease-out 300ms backwards; transition: opacity 200ms; }
  .ot-menu-cartbtn {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px;
    background: var(--surface-card); border: 2px solid var(--border-strong); border-radius: 4px;
    font: 600 15px/1 var(--font-body); color: var(--text-body); cursor: pointer; width: 100%;
  }
  .ot-menu-cartbtn:active { background: var(--ot-cream-dim); }
  .ot-menu-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border-default); flex-wrap: wrap; }
  .ot-menu-social { display: flex; gap: 10px; }
  .ot-menu-social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text-body); background: var(--surface-card); }
  .ot-menu-social a:active { background: var(--ot-red); border-color: var(--ot-red); color: var(--ot-cream); }
  .ot-menu-emails { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
  .ot-menu-emails a, .ot-menu-meta a { font: var(--type-caption); letter-spacing: 0.06em; color: var(--text-secondary); text-decoration: none; }
  .ot-menu-tagline { font: 600 10px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
  /* Click-to-navigate animation */
  .ot-mobile-menu nav a.hit { animation: ot-hit 320ms var(--ease-out, ease-out) forwards; }
  .ot-mobile-menu nav a.hit .idx { background: var(--ot-cream); color: var(--ot-red); padding: 4px 5px; border-radius: 3px; flex-basis: auto; }
  .ot-mobile-menu nav a.hit .go { opacity: 1; transform: translateX(4px); color: var(--ot-cream); }
  .ot-mobile-menu nav a.dim, .ot-menu-foot.dim, .ot-menu-audit.dim { opacity: 0.3; transition: opacity 240ms; }
  @keyframes ot-hit {
    0% { background: transparent; color: var(--text-body); }
    35% { background: var(--ot-red); color: var(--ot-cream); padding-left: 12px; border-radius: 4px; }
    100% { background: var(--ot-red); color: var(--ot-cream); padding-left: 16px; border-radius: 4px; }
  }
  @keyframes ot-menu-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes ot-menu-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .ot-chat-fab { bottom: 16px; right: 16px; height: 52px; padding: 0 16px; }
  .ot-chat-panel { bottom: 12px; right: 12px; width: calc(100vw - 24px); height: min(560px, calc(100dvh - 90px)); }
}

@media (min-width: 901px) {
  .ot-mobile-menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ot-drawer, .ot-chat-panel, .ot-mobile-menu, .ot-mobile-menu nav a, .ot-menu-audit, .ot-menu-foot { animation: none; }
}

/* Guard against horizontal overflow from oversized display type */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }

/* ---- Orchestrated page-load reveal (every page header shares these classes) ---- */
@media (prefers-reduced-motion: no-preference) {
  body { animation: ot-fade 200ms var(--ease-out, ease-out); }
  header .ot-kicker { animation: ot-rise 240ms var(--ease-out, ease-out) backwards; }
  header .ot-display { animation: ot-rise 300ms var(--ease-out, ease-out) 60ms backwards; }
  header .ot-lede { animation: ot-rise 300ms var(--ease-out, ease-out) 130ms backwards; }
  header .ot-cta-row { animation: ot-rise 300ms var(--ease-out, ease-out) 190ms backwards; }
  header .ot-statstrip { animation: ot-rise 300ms var(--ease-out, ease-out) 250ms backwards; }
}
@keyframes ot-fade { from { opacity: 0; } }
@keyframes ot-rise { from { opacity: 0; transform: translateY(14px); } }

/* ---- Micro-interactions: quick, matter-of-fact ---- */
a.ot-numrow { transition: background 150ms var(--ease-out, ease-out), padding-left 150ms var(--ease-out, ease-out); }
a.ot-numrow:hover { background: var(--surface-card); text-decoration: none; padding-left: 12px; }
a.ot-numrow:hover h3 { color: var(--ot-red); }
.pr-card, .ot-tile, .pr-ala-mobile .row, .ot-syscard { transition: border-color 150ms var(--ease-out, ease-out); }
.pr-card:hover, .pr-ala-mobile .row:hover { border-color: var(--ot-ink); }
.ot-faq-q span { transition: transform 140ms var(--ease-out, ease-out); }
.ot-faq-q:hover span { transform: translateX(2px); }
.ot-trades > div { transition: background 150ms var(--ease-out, ease-out); }

/* Comfortable touch targets */
@media (pointer: coarse) {
  .ot-slot { padding: 14px 8px; }
  .ot-faq-q { padding: 24px 4px; }
  .ot-nav-link { padding: 12px 0; }
  .ot-chip { padding: 11px 16px; }
}

/* Small phones */
@media (max-width: 480px) {
  .ot-wrap { padding-left: 16px; padding-right: 16px; }
  .ot-section { padding-top: 52px; padding-bottom: 52px; }
  .ot-syscard { padding: 22px 18px; }
  .ot-pricecard { padding: 26px 20px; }
  .ot-cal { gap: 4px; }
  .ot-cta-row > * { flex: 1 1 auto; }
  .ot-msg { max-width: 92%; }
}

/* Large desktop: let the canvas breathe */
@media (min-width: 1500px) {
  .ot-wrap { max-width: 1320px; }
}
