/* Tirumavel Pocket Patterns — tactile product-lab system */
:root {
  --ink: #111735;
  --paper: #f5f1e7;
  --paper-deep: #e8e0cc;
  --lime: #c9ff1a;
  --cobalt: #2045d8;
  --violet: #b38cff;
  --violet-pale: #e9ddff;
  --orange: #ff7a45;
  --line: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --soft-shadow: 4px 4px 0 rgba(17, 23, 53, .22);
  --display: "Archivo Black", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }
.container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 99; background: var(--lime); padding: 10px 16px; border: var(--line); font-weight: 800; }
.skip-link:focus { top: 12px; }

/* navigation */
.lab-nav { background: var(--paper); border-bottom: var(--line); }
.lab-nav .navbar-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; letter-spacing: -.7px; line-height: 1; }
.brand-mark { width: 38px; height: 38px; border: var(--line); border-radius: 50%; padding: 4px; background: var(--lime); }
.lab-nav .nav-link { font-weight: 700; font-size: 15px; padding: 10px 11px !important; }
.nav-mail { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 10px !important; border: var(--line); background: var(--violet-pale); font-size: 14px !important; white-space: nowrap; }
.navbar-toggler { min-width: 46px; min-height: 44px; border: var(--line); border-radius: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* shared type and primitives */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; font-size: 13px; font-weight: 900; letter-spacing: .12em; line-height: 1.1; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); }
.eyebrow.light::before { background: var(--violet); }
.display { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.section-head { max-width: 650px; margin-bottom: 35px; }
.section-head .display { font-size: clamp(34px, 4vw, 61px); }
.section-kicker { font-size: 18px; max-width: 530px; margin: 16px 0 0; }
.paper-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 10px 18px; border: var(--line); border-radius: 0; box-shadow: var(--shadow); background: var(--lime); color: var(--ink); font-weight: 900; font-size: 15px; line-height: 1.15; text-decoration: none; transition: transform .14s cubic-bezier(.23,1,.32,1), box-shadow .14s cubic-bezier(.23,1,.32,1), background .14s; }
.paper-button:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); background: #ddff62; }
.paper-button:active { transform: translate(4px, 4px) scale(.97); box-shadow: 1px 1px 0 var(--ink); }
.paper-button.cobalt { color: #fff; background: var(--cobalt); }
.paper-button.cobalt:hover { color: #fff; background: #3457e6; }
.paper-button.paper { background: var(--paper); }

/* hero */
.hero-pad { padding: 55px 0 30px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr) 210px; gap: 18px; align-items: stretch; }
.hero-copy { min-height: 548px; padding: clamp(27px, 4vw, 57px); border: var(--line); background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.hero-copy::after { content: ""; position: absolute; width: 220px; height: 220px; right: 0; bottom: -115px; background: var(--lime); border: var(--line); border-radius: 50%; }
.hero-copy .eyebrow { color: var(--lime); }
.hero-copy .eyebrow::before { background: var(--violet); border-color: #fff; }
.hero-title { max-width: 720px; font-size: clamp(48px, 6.6vw, 88px); position: relative; z-index: 1; }
.hero-copy p { max-width: 530px; margin: 24px 0 27px; font-size: clamp(17px, 2vw, 21px); position: relative; z-index: 1; }
.hero-copy .paper-button { position: relative; z-index: 1; }
.tall-pocket { min-height: 548px; padding: 12px; border: var(--line); background: var(--violet); transform: rotate(1.3deg); }
.tall-pocket figure { height: 100%; min-height: 518px; margin: 0; position: relative; border: var(--line); overflow: hidden; background: #fff; }
.tall-pocket img { width: 100%; height: 100%; object-fit: cover; }
.pocket-sticker { position: absolute; z-index: 2; right: 12px; bottom: 12px; max-width: 180px; padding: 10px 12px; border: var(--line); background: var(--lime); font-size: 13px; font-weight: 900; line-height: 1.2; transform: rotate(-3deg); }
.hero-note { align-self: center; border: var(--line); background: var(--paper); box-shadow: var(--shadow); transform: rotate(-2deg); }
.note-tab { padding: 10px 13px; border-bottom: var(--line); background: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.note-stack { padding: 15px; }
.note-stack div { padding: 11px 0; border-bottom: 1px solid var(--ink); font-size: 15px; line-height: 1.25; }
.note-stack div:last-child { border-bottom: 0; }
.note-stack strong { display: block; font-family: var(--display); letter-spacing: -.03em; }

/* strip */
.meta-wrap { padding: 15px 0 45px; }
.meta-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--line); background: var(--ink); gap: 2px; }
.meta-thumb { min-height: 112px; padding: 16px; background: var(--paper); position: relative; }
.meta-thumb:nth-child(2) { background: var(--lime); }
.meta-thumb:nth-child(3) { background: var(--violet-pale); }
.meta-thumb .thumb-dot { display: block; width: 22px; height: 22px; margin-bottom: 10px; border: var(--line); border-radius: 50%; background: var(--cobalt); }
.meta-thumb:nth-child(2) .thumb-dot { background: var(--orange); }
.meta-thumb:nth-child(3) .thumb-dot { background: var(--lime); }
.meta-thumb b { display: block; font-size: 16px; line-height: 1.15; }
.meta-thumb span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.25; }

/* mode switchboard */
.mode-block { padding: 72px 0; background: var(--violet-pale); border-top: var(--line); border-bottom: var(--line); }
.mode-board { display: grid; grid-template-columns: .88fr 1.12fr; gap: 25px; align-items: center; }
.mode-controls { display: grid; gap: 11px; }
.mode-control { width: 100%; min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border: var(--line); background: var(--paper); color: var(--ink); font-family: var(--display); font-size: clamp(18px, 2.2vw, 27px); letter-spacing: -.04em; line-height: 1; text-align: left; box-shadow: 5px 5px 0 rgba(17,23,53,.5); transition: transform .15s cubic-bezier(.23,1,.32,1), box-shadow .15s, background .15s; }
.mode-control:hover, .mode-control.active { background: var(--lime); transform: translate(2px,2px); box-shadow: 3px 3px 0 rgba(17,23,53,.5); }
.mode-control:active { transform: translate(4px,4px) scale(.98); box-shadow: 1px 1px 0 rgba(17,23,53,.5); }
.mode-control i { font-family: var(--body); font-size: 19px; }
.principle-note { min-height: 306px; padding: clamp(24px, 4vw, 45px); border: var(--line); background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.principle-note::before { content: "pocket principle"; position: absolute; right: -19px; bottom: 15px; color: rgba(255,255,255,.12); font-family: var(--display); font-size: 54px; letter-spacing: -.08em; transform: rotate(-9deg); }
.principle-note > * { position: relative; z-index: 1; }
.principle-tag { display: inline-block; margin-bottom: 20px; padding: 5px 9px; border: 1px solid #fff; color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.principle-note p { max-width: 500px; margin: 0; font-family: var(--display); font-size: clamp(27px,3vw,43px); letter-spacing: -.06em; line-height: 1.02; }

/* materials */
.materials { padding: 86px 0 80px; }
.bench-tiles { display: grid; grid-template-columns: 1.35fr .8fr 1.05fr; grid-auto-rows: 188px; gap: 12px; }
.bench-tile { padding: 19px; border: var(--line); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.bench-tile h3 { margin: 0; font-family: var(--display); font-size: 25px; letter-spacing: -.05em; line-height: .97; }
.bench-tile p { margin: 10px 0 0; max-width: 335px; font-size: 15px; line-height: 1.35; }
.tile-lime { background: var(--lime); transform: rotate(-.5deg); }
.tile-paper { background: var(--paper-deep); }
.tile-violet { background: var(--violet); }
.tile-photo { padding: 0; background: var(--cobalt); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(140deg, transparent 50%, rgba(32,69,216,.3)); pointer-events:none; }
.bench-tile.wide { grid-column: span 2; }
.bench-tile.tall { grid-row: span 2; }
.peg { width: 17px; height: 17px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); }

/* friction */
.relay-section { padding: 80px 0; background: var(--ink); color: #fff; }
.relay-section .section-head { max-width: 700px; }
.relay-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.relay-item { display: grid; grid-template-columns: 60px 1fr 135px; gap: 17px; align-items: center; min-height: 126px; padding: 15px; border: 2px solid #fff; background: #171d47; }
.relay-no { align-self: stretch; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); background: var(--lime); color: var(--ink); font-family: var(--display); font-size: 24px; }
.relay-item h3 { margin: 0; font-family: var(--display); font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.relay-item p { margin: 7px 0 0; font-size: 14px; line-height: 1.35; }
.relay-photo { height: 92px; overflow: hidden; border: 2px solid #fff; }
.relay-photo img { width: 100%; height: 100%; object-fit: cover; }

/* test bench */
.test-section { padding: 84px 0; }
.test-grid { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(270px, .48fr); gap: 0; border: var(--line); }
.test-visual { min-height: 480px; position: relative; background: var(--cobalt); }
.test-visual img { width: 100%; height: 100%; object-fit: cover; }
.test-label { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; border: var(--line); background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 900; }
.field-note { padding: clamp(24px, 3.5vw, 44px); background: var(--violet); }
.field-note .notch { width: 52px; height: 22px; margin: -44px 0 36px -4px; border: var(--line); border-top: 0; background: var(--paper); }
.field-note h3 { margin: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 43px); line-height: .99; letter-spacing: -.06em; }
.field-note p { margin: 20px 0; font-size: 16px; }
.field-note ul { padding-left: 19px; margin: 0; font-size: 15px; }
.field-note li + li { margin-top: 9px; }

/* stories */
.story-section { padding: 76px 0 84px; background: #fff; border-top: var(--line); }
.receipt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; padding-top: 15px; }
.receipt { padding: 17px; border: var(--line); box-shadow: var(--shadow); background: var(--paper); position: relative; }
.receipt::before { content: ""; position: absolute; top: -16px; left: 20px; width: 57px; height: 24px; border: var(--line); border-bottom: none; background: var(--lime); }
.receipt:nth-child(2) { margin-top: 48px; background: var(--violet-pale); transform: rotate(1.5deg); }
.receipt:nth-child(2)::before { background: var(--orange); }
.receipt:nth-child(3) { margin-top: 15px; transform: rotate(-1.2deg); }
.receipt img { width: 100%; height: 184px; margin-bottom: 14px; border: var(--line); object-fit: cover; }
.receipt .receipt-id { font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.receipt h3 { margin: 7px 0; font-family: var(--display); font-size: 25px; line-height: 1; letter-spacing: -.05em; }
.receipt p { margin: 0; font-size: 15px; line-height: 1.4; }

/* prototype shelf */
.shelf-section { padding: 83px 0; background: var(--paper-deep); border-top: var(--line); }
.shelf-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: end; }
.shelf-intro { padding-bottom: 12px; }
.shelf-intro .display { font-size: clamp(38px, 4.2vw, 62px); }
.shelf-intro p { max-width: 445px; margin: 18px 0 25px; }
.product-shelf { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; }
.shelf-unit { min-height: 260px; border: var(--line); background: var(--cobalt); position: relative; overflow: hidden; }
.shelf-unit:nth-child(2) { margin-top: 44px; background: var(--lime); }
.shelf-unit:nth-child(3) { margin-top: -8px; background: var(--violet); }
.shelf-unit img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.shelf-unit small { position: absolute; top: 10px; left: 10px; padding: 4px 8px; background: var(--paper); border: 1px solid var(--ink); font-weight: 900; font-size: 11px; }

/* question tray */
.tray-section { padding: 83px 0; }
.tray-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 38px; }
.tray-grid .section-head { margin-bottom: 0; }
.tray-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tray-item { min-height: 171px; padding: 18px; border: var(--line); background: #fff; box-shadow: var(--soft-shadow); }
.tray-item:nth-child(2) { background: var(--lime); }
.tray-item:nth-child(3) { background: var(--violet-pale); }
.tray-icon { font-size: 27px; line-height: 1; }
.tray-item h3 { margin: 14px 0 7px; font-family: var(--display); font-size: 21px; letter-spacing: -.04em; line-height: 1; }
.tray-item p { margin: 0; font-size: 14px; line-height: 1.35; }

/* FAQ */
.faq-section { padding: 82px 0; background: var(--violet-pale); border-top: var(--line); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 46px; }
.faq-grid .display { font-size: clamp(38px, 4vw, 59px); }
.accordion { --bs-accordion-border-radius: 0; --bs-accordion-border-color: var(--ink); --bs-accordion-bg: var(--paper); --bs-accordion-btn-bg: var(--paper); --bs-accordion-active-bg: var(--lime); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px var(--orange); }
.accordion-item { border: var(--line) !important; margin-bottom: 10px; }
.accordion-button { min-height: 64px; padding: 17px 19px; color: var(--ink); font-family: var(--display); font-size: 19px; letter-spacing: -.04em; line-height: 1.1; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-button::after { filter: contrast(150%); }
.accordion-body { padding: 3px 19px 20px; font-size: 16px; }

/* contact */
.contact-section { padding: 76px 0; background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 360px; height: 360px; right: 0; top: -188px; border: var(--line); border-radius: 50%; background: var(--lime); }
.contact-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 45px; position: relative; z-index: 1; }
.contact-panel .display { font-size: clamp(42px, 5vw, 71px); }
.contact-panel .eyebrow { color: var(--lime); }
.contact-panel .eyebrow::before { border-color: #fff; background: var(--violet); }
.contact-copy p { max-width: 400px; margin: 20px 0 0; font-size: 18px; }
.contact-mail { font-weight: 900; color: var(--lime); }
.contact-form { padding: 23px; border: 2px solid #fff; background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--lime); }
.form-label { font-size: 14px; font-weight: 900; }
.form-control, .form-select { min-height: 48px; border: var(--line); border-radius: 0; background: #fff; color: var(--ink); font-size: 16px; }
textarea.form-control { min-height: 122px; }
.form-control:focus, .form-select:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(32,69,216,.2); }
.form-check-input { width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 0; }
.form-check-input:checked { background-color: var(--cobalt); border-color: var(--cobalt); }
.form-check-label { padding-left: 3px; font-size: 14px; line-height: 1.35; }
.form-status { display: none; margin-top: 15px; padding: 11px 12px; border: var(--line); background: var(--lime); color: var(--ink); font-weight: 800; font-size: 15px; }

/* footer */
.lab-footer { padding: 46px 0 20px; border-top: var(--line); background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 20px; letter-spacing: -.05em; }
.footer-brand .brand-mark { flex: 0 0 auto; }
.footer-copy { max-width: 380px; margin: 15px 0 0; font-size: 14px; color: #d8dbec; }
.footer-label { margin-bottom: 10px; color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav { display: grid; gap: 7px; font-size: 15px; }
.footer-nav a { width: fit-content; }
.footer-mail { color: var(--lime); font-weight: 900; word-break: break-word; }
.footer-base { display: flex; justify-content: space-between; gap: 15px; margin-top: 40px; padding-top: 16px; border-top: 1px solid #69709a; color: #bac0dd; font-size: 13px; }

/* Legal and 404 */
.legal-hero { padding: 68px 0 44px; background: var(--violet-pale); border-bottom: var(--line); }
.legal-hero .display { max-width: 790px; font-size: clamp(49px, 7vw, 84px); }
.legal-hero p { max-width: 720px; margin: 21px 0 0; font-size: 18px; }
.legal-sheet { max-width: 940px; margin: 55px auto 75px; padding: clamp(25px,5vw,63px); border: var(--line); background: #fff; box-shadow: 8px 8px 0 var(--cobalt); }
.legal-sheet h2 { margin: 37px 0 10px; font-family: var(--display); font-size: clamp(25px,3vw,34px); letter-spacing: -.05em; line-height: 1; }
.legal-sheet h2:first-child { margin-top: 0; }
.legal-sheet p, .legal-sheet li { font-size: 16px; }
.legal-sheet li + li { margin-top: 8px; }
.legal-meta { display: inline-block; padding: 7px 11px; border: var(--line); background: var(--lime); font-size: 14px; font-weight: 900; }
.error-stage { padding: 70px 0 90px; min-height: 65vh; background: var(--paper-deep); }
.error-card { max-width: 840px; margin: 0 auto; padding: clamp(26px,6vw,72px); border: var(--line); background: var(--cobalt); color: #fff; box-shadow: 9px 9px 0 var(--violet); }
.error-code { margin-bottom: 13px; color: var(--lime); font-family: var(--display); font-size: clamp(70px,13vw,150px); line-height: .75; letter-spacing: -.09em; }
.error-card .display { max-width: 640px; font-size: clamp(39px,6vw,70px); }
.error-card p { max-width: 600px; margin: 22px 0 25px; font-size: 18px; }

@media (max-width: 991.98px) {
  .lab-nav .navbar-collapse { padding: 12px 0; border-top: 1px solid var(--ink); }
  .lab-nav .nav-link { padding: 10px 0 !important; }
  .nav-mail { margin-top: 8px; width: fit-content; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); }
  .hero-note { grid-column: span 2; display: grid; grid-template-columns: 150px 1fr; transform: rotate(-.5deg); }
  .note-tab { border-bottom: 0; border-right: var(--line); display: flex; align-items: center; }
  .note-stack { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 12px 15px; }
  .note-stack div { padding: 0; border-bottom: 0; }
  .mode-board, .shelf-grid, .tray-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; }
  .shelf-intro { padding-bottom: 0; }
  .tray-grid { gap: 28px; }
  .faq-grid { gap: 25px; }
  .contact-panel { gap: 30px; }
  .relay-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid > :last-child { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .container { padding-left: 17px; padding-right: 17px; }
  .hero-pad { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 15px; }
  .hero-copy { min-height: 0; padding: 29px 23px 42px; }
  .tall-pocket { min-height: 390px; transform: rotate(.7deg); }
  .tall-pocket figure { min-height: 360px; }
  .hero-note { grid-column: auto; grid-template-columns: 104px 1fr; }
  .note-stack { grid-template-columns: 1fr; gap: 4px; }
  .note-stack div { border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
  .note-stack div:last-child { border-bottom: 0; }
  .meta-wrap { padding: 12px 0 31px; }
  .meta-strip { grid-template-columns: 1fr 1fr; }
  .meta-thumb { min-height: 105px; }
  .mode-block, .materials, .relay-section, .test-section, .story-section, .shelf-section, .tray-section, .faq-section, .contact-section { padding-top: 54px; padding-bottom: 54px; }
  .mode-board { gap: 18px; }
  .principle-note { min-height: 246px; }
  .bench-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 168px; gap: 9px; }
  .bench-tile { padding: 14px; }
  .bench-tile h3 { font-size: 20px; }
  .bench-tile p { font-size: 13px; }
  .bench-tile.wide { grid-column: span 2; }
  .bench-tile.tall { grid-row: auto; }
  .relay-item { grid-template-columns: 48px 1fr; gap: 12px; }
  .relay-photo { grid-column: 2; height: 104px; }
  .test-grid { grid-template-columns: 1fr; }
  .test-visual { min-height: 313px; }
  .field-note .notch { margin-top: -24px; margin-bottom: 22px; }
  .receipt-row { grid-template-columns: 1fr; gap: 25px; padding-left: 10px; padding-right: 10px; }
  .receipt:nth-child(2) { margin-top: 16px; margin-left: 18px; }
  .receipt:nth-child(3) { margin-top: 15px; margin-right: 17px; }
  .receipt img { height: 191px; }
  .product-shelf { gap: 9px; }
  .shelf-unit { min-height: 190px; }
  .tray-items { grid-template-columns: 1fr; }
  .tray-item { min-height: 151px; }
  .contact-form { padding: 18px; box-shadow: 4px 4px 0 var(--lime); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-base { flex-direction: column; margin-top: 29px; }
  .legal-hero { padding: 45px 0 37px; }
  .legal-sheet { margin: 34px 17px 52px; box-shadow: 5px 5px 0 var(--cobalt); }
}
@media (max-width: 390px) {
  .lab-nav .navbar-brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-title { font-size: 45px; }
  .hero-copy p { font-size: 16px; }
  .hero-note { grid-template-columns: 81px 1fr; }
  .note-tab { padding: 8px; font-size: 10px; word-break: break-word; }
  .meta-thumb { padding: 12px; }
  .meta-thumb b { font-size: 14px; }
  .meta-thumb span { font-size: 12px; }
  .mode-control { min-height: 74px; font-size: 20px; }
  .bench-tiles { grid-auto-rows: 178px; }
  .bench-tile p { font-size: 12px; }
  .shelf-unit { min-height: 164px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
