/* Aloha Labs — carbonless work-order world */

:root {
  --paper: #ebeae6;
  --sheet: #f3f2ee;
  --ink: #121212;
  --ink-2: #3a3936;
  --rule: #121212;
  --canary: #f5e288;
  --pink: #f6abb9;
  --stamp: #e2401c;
  --stamp-ink: #c4361a;
  --print: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --type: 'Courier Prime', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  background: var(--paper) url('plates/paper-ground.png') repeat;
  background-size: 240px 300px;
  color: var(--ink);
  font-family: var(--print);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--canary); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- First viewport frame (desktop: measured to the approved comp) ---------- */
.fold { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1344 / 752; overflow: hidden; }
.fold > * { position: absolute; z-index: 1; }

.nav-wordmark { left: 2.68%; top: 1.1%; font: 800 2.5cqw/1 var(--print); letter-spacing: -0.03em; text-decoration: none; }
.nav-links { left: 34.2%; top: 2.3%; display: flex; gap: 4.3cqw; letter-spacing: -0.01em; list-style: none; font: 600 1.08cqw/1.6 var(--print); }
.nav-links a { text-decoration: none; padding-bottom: .35cqw; }
.nav-links a[aria-current] { border-bottom: .16cqw solid var(--ink); }
.nav-links a:hover { border-bottom: .16cqw solid var(--ink); }
.nav-cta { left: 89.14%; top: 1.46%; width: 8.18%; height: 4.52%; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: .35cqw; font: 600 1.02cqw/1 var(--print); text-decoration: none; }
.nav-cta:hover { background: #333; }
.nav-rule { left: 2.68%; top: 7.2%; width: 94.64%; height: 0; border-top: .11cqw solid var(--rule); }

.headline { left: 21.5%; top: 9.6%; width: 62%; font: 760 4.0cqw/0.94 var(--print); letter-spacing: -0.022em; }
.subline { left: 21.65%; top: 24.4%; width: 56%; font: 700 1.5cqw/1.33 var(--print); letter-spacing: -0.01em; }

.stack-plate { left: 7.74%; top: 28.46%; width: 84.82%; height: 71.54%; pointer-events: none; z-index: 0; display: block; }
.stack-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stamp { left: 66.2%; top: 33.6%; width: 14.51%; height: 13.56%; z-index: 3 !important; pointer-events: none; display: block; }
.stamp img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }

/* the work order, printed on the white top sheet */
.wo { left: 16.5%; top: 36.2%; width: 67.9%; height: 38.2%; transform: rotate(-2.4deg); transform-origin: 50% 60%; font-size: 1cqw; }
.wo-cell { position: absolute; border: .11cqw solid var(--rule); margin: 0 0 -.11cqw -.11cqw; padding: .5cqw .9cqw; overflow: hidden; }
.wo-cell .lbl { display: block; font: 700 .78cqw/1.1 var(--print); letter-spacing: .03em; text-transform: uppercase; }
.wo-cell .val { display: block; font: 400 1.12cqw/1.15 var(--type); margin-top: .15cqw; }
.wo-cell.row { display: flex; align-items: baseline; gap: 2.2cqw; }
.wo-cell.row .val { margin: 0; }
.wo-mark { font: 800 2.5cqw/1 var(--print); letter-spacing: -0.03em; }
.wo-product { font: 400 2.2cqw/1 var(--print); letter-spacing: -0.02em; padding-left: 2.6cqw !important; }
.wo-tag { font: 700 .78cqw/1.2 var(--print); letter-spacing: .02em; text-transform: uppercase; padding-top: .35cqw !important; padding-left: 1.3cqw !important; }
.wo-band { background: var(--ink); color: #f0efeb; display: flex; align-items: flex-end; padding-bottom: .4cqw !important; }
.wo-band h2 { font: 700 1.5cqw/1 var(--print); letter-spacing: .01em; text-transform: uppercase; }
.wo-no { display: flex; align-items: baseline; justify-content: flex-start; gap: 1.6cqw; padding: .8cqw .5cqw 0 4.3cqw !important; }
.wo-no .lbl { display: inline; font: 700 1.25cqw/1 var(--type); letter-spacing: 0; text-transform: none; }
.wo-no strong { font: 700 1.8cqw/1 var(--print); letter-spacing: .02em; }

/* audit: the primary action, on the form itself */
.audit { left: 16.2%; top: 73.9%; width: 70.0%; height: 27%; border: .11cqw solid var(--rule); transform: rotate(-.35deg); font-size: 1cqw; }
.audit > * { position: absolute; }
.audit-no { left: 1.35%; top: 19.5%; width: 2.1cqw; height: 2.1cqw; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1.1cqw/1 var(--print); }
.audit h2 { left: 6.6%; top: 20.5%; font: 600 1.3cqw/1 var(--print); letter-spacing: -0.01em; }
.audit-q { left: 6.6%; top: 31.6%; font: 500 1.02cqw/1 var(--print); }
.audit fieldset { border: 0; display: grid; gap: .55cqw; }
.audit fieldset.a { left: 6.8%; top: 47%; }
.audit fieldset.b { left: 35.9%; top: 43%; }
.audit legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check { display: flex; align-items: center; gap: .75cqw; font: 500 .94cqw/1.25 var(--print); cursor: pointer; }
.check input { appearance: none; width: 1.02cqw; height: 1.02cqw; border: .1cqw solid var(--ink); background: transparent; position: relative; flex: none; cursor: pointer; }
.check input::before, .check input::after { content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: .12cqw; background: var(--ink); transform: translate(-50%,-50%) rotate(45deg) scaleX(0); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.check input::after { transform: translate(-50%,-50%) rotate(-45deg) scaleX(0); transition-delay: .08s; }
.check input:checked::before { transform: translate(-50%,-50%) rotate(45deg) scaleX(1); }
.check input:checked::after { transform: translate(-50%,-50%) rotate(-45deg) scaleX(1); }
.audit-div { left: 66.2%; top: 25%; height: 57%; border-left: .1cqw solid var(--ink-2); }
.audit-cta { left: 71.6%; top: 41.6%; width: 23.9%; height: 25.6%; background: var(--ink); color: #fff; border: 0; border-radius: .45cqw; font: 600 1.18cqw/1 var(--print); display: flex; align-items: center; justify-content: center; gap: .7cqw; cursor: pointer; transform: rotate(-1.2deg); }
.audit-cta:hover { background: #333; }
.audit-cta svg { width: 1.2cqw; height: 1.2cqw; }

/* ---------- Shared page system ---------- */
.fold { max-width: 1600px; margin: 0 auto; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.sec { padding: clamp(72px, 9vw, 128px) 0 0; }
.sec:last-of-type { padding-bottom: clamp(72px, 9vw, 120px); }
h2.h { font: 700 clamp(32px, 3.6vw, 48px)/1.02 var(--print); letter-spacing: -0.02em; text-wrap: balance; }
.lede { font: 400 clamp(17px, 1.3vw, 19px)/1.55 var(--print); color: var(--ink-2); max-width: 60ch; margin-top: 18px; }
.lede b { color: var(--ink); font-weight: 700; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.head .lede { margin-top: 0; }
.lbl { font: 700 11px/1.2 var(--print); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.tw { font-family: var(--type); }
.link { white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; font: 700 16px/1 var(--print); color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.link:hover { color: var(--stamp-ink); border-color: var(--stamp-ink); }
.link svg { width: 18px; height: 18px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 6px; font: 600 16px/1 var(--print); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: #333; }
.btn:active { transform: translateY(1px); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* paper sheets: white top copy with flat canary + pink copies offset beneath */
.sheet { position: relative; background: var(--sheet); border: 1px solid #d9d7d0; box-shadow: 0 1px 2px rgba(18,18,18,.08), 0 22px 40px -28px rgba(18,18,18,.45); }
.sheet.copies::before, .sheet.copies::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 1px; }
.sheet.copies::before { background: var(--canary); transform: translate(10px, 8px) rotate(.35deg); box-shadow: 0 10px 24px -20px rgba(18,18,18,.5); }
.sheet.copies::after { background: var(--pink); transform: translate(20px, 16px) rotate(.7deg); z-index: -2; box-shadow: 0 10px 24px -20px rgba(18,18,18,.5); }
.sheet.canary { background: #f7e9a4; border-color: #e3d27e; }
.sheet.canary .dim { color: #57564f; }
.sheet.canary .no { color: #a82c12; }
.sheet.pink { background: #f8c3cd; border-color: #e9a8b5; }
.form-head { display: flex; flex-wrap: wrap; border-bottom: 1.5px solid var(--rule); }
.form-head > * { padding: 14px 20px; border-right: 1.5px solid var(--rule); }
.form-head > *:last-child { border-right: 0; margin-left: auto; }
.band { background: var(--ink); color: #f0efeb; padding: 12px 20px; font: 700 15px/1 var(--print); letter-spacing: .04em; text-transform: uppercase; }
.stamp-img { display: block; height: auto; pointer-events: none; mix-blend-mode: multiply; }

/* stamping: the one authored motion */
@media (prefers-reduced-motion: no-preference) {
  .js .stamp-in { opacity: 0; transform: scale(1.35) rotate(var(--r, -4deg)); }
  .js .stamp-in.landed { opacity: 1; transform: scale(1) rotate(0deg); transition: transform .2s cubic-bezier(.6,0,.9,.4), opacity .08s linear; }
}

/* dispatch log */
.log-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.log-table th { text-align: left; padding: 14px 20px; border-bottom: 1.5px solid var(--rule); font: 700 11px/1.2 var(--print); letter-spacing: .05em; text-transform: uppercase; }
.log-table td { padding: 18px 20px; border-bottom: 1px solid #b9b7b0; vertical-align: middle; font: 400 16px/1.4 var(--type); }
.log-table td:first-child { font-weight: 700; width: 92px; font-variant-numeric: tabular-nums; }
.log-table td.who b { display: block; font: 700 16px/1.2 var(--print); }
.log-table td.who small { font: 500 13px/1.3 var(--print); color: var(--ink-2); }
.log-table td.st { width: 190px; }
.log-table td.st img { width: 150px; }
.log-table tr:last-child td { border-bottom: 0; }
.log-note { display: flex; justify-content: space-between; gap: 20px; padding: 14px 20px; border-top: 1.5px solid var(--rule); font: 500 13px/1.4 var(--print); color: var(--ink-2); }

/* agent profile */
.agent { display: grid; grid-template-columns: 300px minmax(0,1fr); }
.agent-id { border-right: 1.5px solid var(--rule); padding: 24px; display: grid; gap: 16px; align-content: start; }
.photo { aspect-ratio: 1; border: 1.5px solid var(--rule); background: #efe0a0; display: grid; place-items: center; position: relative; overflow: hidden; }
.photo aloha-orb, .photo .ofb { width: 74%; height: 74%; display: block; }
.photo .ofb { object-fit: contain; }
.photo-cap { font: 700 11px/1 var(--print); letter-spacing: .05em; text-transform: uppercase; position: absolute; left: 10px; top: 10px; }
.agent-card b { display: block; font: 700 30px/1 var(--print); letter-spacing: -0.02em; }
.agent-card span { font: 400 15px/1.3 var(--type); }
.agent-fields { display: grid; }
.agent-fields .row { display: grid; grid-template-columns: 170px minmax(0,1fr); border-bottom: 1.5px solid var(--rule); }
.agent-fields .row > .lbl { padding: 20px; border-right: 1.5px solid var(--rule); align-self: stretch; display: flex; align-items: center; }
.agent-fields .row > div { padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.agent-name { width: 100%; max-width: 360px; background: transparent; border: 0; border-bottom: 1.5px dashed var(--ink-2); font: 400 22px/1.4 var(--type); color: var(--ink); padding: 4px 0; }
.agent-name:focus { outline: none; border-bottom-style: solid; border-color: var(--ink); }
.chip { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); background: transparent; border-radius: 4px; font: 600 14px/1 var(--print); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip:hover { background: rgba(18,18,18,.06); }
.chip[aria-pressed="true"]:hover { background: #333; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); cursor: pointer; padding: 0; position: relative; }
.sw[aria-pressed="true"]::after { content: ''; position: absolute; inset: -6px; border: 1.5px solid var(--ink); border-radius: 50%; }
.sw[data-c="teal"] { background: #1fa7a0; } .sw[data-c="coral"] { background: #ff6b3d; } .sw[data-c="violet"] { background: #7b5cff; }
.sw-custom { width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed var(--ink); position: relative; overflow: hidden; cursor: pointer; display: inline-block; }
.sw-custom input { position: absolute; inset: -10px; width: 60px; height: 60px; opacity: 0; cursor: pointer; }
.sw-custom.on { border-style: solid; outline: 1.5px solid var(--ink); outline-offset: 4px; }
.greeting { padding: 22px 20px 26px; }
.greeting p { font: 400 18px/1.5 var(--type); min-height: 3em; max-width: 58ch; }
.greeting p::after { content: ''; display: inline-block; width: .55em; height: 1.05em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.agent-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 18px 20px; border-top: 1.5px solid var(--rule); }

/* product register */
.register { width: 100%; border-collapse: collapse; }
.register th { text-align: left; padding: 14px 20px; border-bottom: 1.5px solid var(--rule); font: 700 11px/1.2 var(--print); letter-spacing: .05em; text-transform: uppercase; }
.register td { padding: 24px 20px; border-bottom: 1px solid #b9b7b0; vertical-align: top; }
.register tr:last-child td { border-bottom: 0; }
.register .no { font: 700 15px/1.3 var(--type); width: 110px; color: var(--ink-2); }
.register .pname { width: 30%; }
.register .pname a { font: 700 30px/1 var(--print); letter-spacing: -0.02em; text-decoration: none; }
.register .pname a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.register .pname small { display: block; margin-top: 8px; font: 600 15px/1.35 var(--print); }
.register .desc { font: 400 16px/1.55 var(--print); color: var(--ink-2); max-width: 52ch; padding-right: 32px; }
.register .desc a { color: var(--ink); font-weight: 700; }
.register .st { width: 184px; padding-left: 8px; }
.register .st img { width: 136px; }
.register tr.lead td { background: rgba(245,226,136,.28); }
.register tr.lead .pname a { font-size: 38px; }

/* routing slip */
.slip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.slip > div { padding: 26px 24px 30px; border-right: 1.5px solid var(--rule); }
.slip > div:last-child { border-right: 0; }
.slip .step { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.slip .box { width: 22px; height: 22px; border: 1.5px solid var(--ink); position: relative; }
.slip .box.done::before, .slip .box.done::after { content: ''; position: absolute; left: 50%; top: 50%; width: 130%; height: 2px; background: var(--ink); transform: translate(-50%,-50%) rotate(45deg); }
.slip .box.done::after { transform: translate(-50%,-50%) rotate(-45deg); }
.slip h3 { font: 700 26px/1.05 var(--print); letter-spacing: -0.02em; margin-bottom: 12px; }
.slip p { font: 400 16px/1.55 var(--print); color: var(--ink-2); }
.slip .when { font: 700 15px/1 var(--type); }

/* memo */
.memo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.memo-main { padding: 34px 36px 40px; border-right: 1.5px solid var(--rule); }
.memo-title { font: 700 64px/0.9 var(--print); letter-spacing: -0.02em; margin-bottom: 26px; }
.memo-fields { display: grid; grid-template-columns: 70px 1fr; gap: 10px 14px; padding-bottom: 22px; border-bottom: 1.5px solid var(--rule); margin-bottom: 24px; font: 400 16px/1.35 var(--type); }
.memo-fields dt { font: 700 11px/1.9 var(--print); letter-spacing: .05em; text-transform: uppercase; }
.memo-main p { font: 400 17px/1.6 var(--type); max-width: 62ch; }
.memo-main p + p { margin-top: 14px; }
.memo-side { padding: 34px 32px 36px; position: relative; }
.facts { display: grid; gap: 0; margin-top: 18px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #b9b7b0; }
.facts b { font: 700 30px/1 var(--print); letter-spacing: -0.02em; }
.facts span { font: 500 15px/1.35 var(--print); color: var(--ink-2); }
.seal { position: absolute; right: 26px; bottom: 26px; width: 150px; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); }
.terms div { padding: 20px 22px 24px; border-right: 1px solid #b9b7b0; }
.terms div:last-child { border-right: 0; }
.terms h3 { font: 700 15px/1.25 var(--print); margin-bottom: 6px; }
.terms p { font: 400 14px/1.5 var(--print); color: var(--ink-2); }

/* tear-off close */
.tear { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.tear-main { padding: 44px 40px 48px; }
.tear-main h2 { font: 700 clamp(32px, 3.4vw, 46px)/1.02 var(--print); letter-spacing: -0.02em; text-wrap: balance; }
.tear-main p { font: 400 18px/1.55 var(--print); color: var(--ink-2); margin-top: 16px; max-width: 46ch; }
.tear-stub { padding: 44px 36px 48px; border-left: 2px dashed var(--ink-2); display: grid; gap: 14px; align-content: center; position: relative; }
.tear-stub .scis { position: absolute; left: -13px; top: 18px; width: 24px; height: 24px; background: var(--sheet); color: var(--ink); }
.tear-stub .lbl { margin-bottom: 4px; }
.tear-stub a.mail { font: 400 17px/1.3 var(--type); color: var(--ink); }

/* footer */
.foot { width: min(1120px, 100% - 48px); margin: 0 auto; padding: 28px 0 40px; border-top: 1.5px solid var(--rule); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font: 500 14px/1.4 var(--print); }
.foot .mark { font: 800 22px/1 var(--print); letter-spacing: -0.02em; text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .form-no { font: 400 13px/1 var(--type); color: var(--ink-2); }

/* masthead for inner pages (flow version of the fold's nav) */
.masthead { width: min(1272px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px 0 13px; border-bottom: 1.5px solid var(--rule); }
.masthead .mark { font: 800 34px/1 var(--print); letter-spacing: -0.02em; text-decoration: none; }
.masthead .mark small { font: 400 22px/1 var(--print); letter-spacing: -0.02em; margin-left: 10px; padding-left: 12px; border-left: 1.5px solid var(--ink); }
.masthead nav { display: flex; gap: 34px; margin: 0 auto; font: 600 15px/1 var(--print); }
.masthead nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current] { border-color: var(--ink); }
.masthead .nav-btn { background: var(--ink); color: #fff; border-radius: 5px; padding: 11px 18px; font: 600 15px/1 var(--print); text-decoration: none; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .head { grid-template-columns: minmax(0, 1fr); }
  .memo, .tear { grid-template-columns: minmax(0, 1fr); }
  .memo-main { border-right: 0; border-bottom: 1.5px solid var(--rule); }
  .tear-stub { border-left: 0; border-top: 2px dashed var(--ink-2); }
  .tear-stub .scis { left: 18px; top: -13px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms div:nth-child(2) { border-right: 0; }
  .terms div:nth-child(-n+2) { border-bottom: 1px solid #b9b7b0; }
  .masthead nav { gap: 22px; }
}
@media (max-width: 900px) {
  .fold { aspect-ratio: auto; overflow: visible; padding: 0 20px 48px; display: flex; flex-direction: column; container-type: normal; }
  .fold > * { position: static; }
  .nav-wordmark { order: 0; font-size: 28px; padding: 16px 0 0; }
  .nav-cta { order: 0; position: absolute !important; left: auto; right: 20px; top: 12px; width: auto; height: auto; padding: 10px 16px; font-size: 15px; border-radius: 5px; }
  .nav-links { order: 1; gap: 22px; font-size: 15px; padding: 14px 0 10px; overflow-x: auto; }
  .nav-links a { padding-bottom: 4px; }
  .nav-links a[aria-current], .nav-links a:hover { border-bottom-width: 2px; }
  .nav-rule { order: 2; width: 100%; border-top-width: 1.5px; }
  .headline { order: 3; width: auto; font-size: clamp(34px, 9vw, 52px); line-height: .98; margin-top: 28px; }
  .headline br { display: none; }
  .subline { order: 4; width: auto; font-size: 18px; margin-top: 14px; }
  .subline br { display: none; }
  .stack-plate { display: none; }
  .wo { order: 5; left: auto; top: auto; transform: none; width: auto; height: auto; margin-top: 34px; background: var(--sheet); border: 1px solid #d9d7d0; box-shadow: 0 22px 40px -28px rgba(18,18,18,.45); display: grid; grid-template-columns: 1fr 1fr; font-size: 12px; position: relative; }
  .wo-cell { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; border: 0 !important; border-bottom: 1.5px solid var(--rule) !important; padding: 12px 14px !important; }
  .wo-cell:nth-child(odd) { border-right: 1.5px solid var(--rule) !important; }
  .wo-cell .lbl { font-size: 11px; }
  .wo-cell .val { font-size: 15px !important; padding-left: 0 !important; margin-left: 0 !important; }
  .wo-cell .lbl { margin-left: 0 !important; padding-left: 0 !important; }
  .wo-cell.row { display: block; }
  .wo-mark { font-size: 24px; } .wo-product { font-size: 22px; padding-left: 14px !important; } .wo-tag { font-size: 11px; padding-left: 14px !important; }
  .wo-band { grid-column: 1 / -1; padding: 12px 14px !important; } .wo-band h2 { font-size: 15px; }
  .wo-cell[aria-hidden] { display: none; }
  .wo-no { justify-content: flex-start; padding: 12px 14px !important; } .wo-no .lbl { font-size: 13px; } .wo-no strong { font-size: 22px; }
  .stamp { order: 4; position: relative !important; left: auto; top: auto; width: 112px !important; height: auto; margin: 34px auto -93px 12px; translate: 0 166px; z-index: 3; }
  .stamp img { height: auto; }
  .audit { order: 7; left: auto; top: auto; transform: none; width: auto; height: auto; margin-top: 18px; padding: 22px 18px; background: var(--sheet); box-shadow: 0 22px 40px -28px rgba(18,18,18,.45); display: grid; gap: 12px; font-size: 12px; border-width: 1.5px; }
  .audit > * { position: static; }
  .audit-no { width: 28px; height: 28px; font-size: 14px; }
  .audit h2 { font-size: 20px; } .audit-q { font-size: 15px; }
  .check { font-size: 15px; gap: 10px; min-height: 32px; } .check input { width: 18px; height: 18px; border-width: 1.5px; }
  .check input::before, .check input::after { height: 2px; }
  .audit fieldset { gap: 4px; }
  .audit-div { display: none; }
  .audit-cta { width: 100%; height: 52px; font-size: 16px; transform: none; border-radius: 6px; margin-top: 6px; } .audit-cta svg { width: 18px; height: 18px; }
  .log-table thead { display: none; }
  .log-table, .log-table tbody, .log-table tr, .log-table td { display: block; width: auto !important; }
  .log-table tr { padding: 16px 18px; border-bottom: 1px solid #b9b7b0; display: grid; grid-template-columns: 70px 1fr; gap: 6px 12px; }
  .log-table td { padding: 0; border: 0; }
  .log-table td.who, .log-table td.unit { grid-column: 2; }
  .log-table td.act { grid-column: 1 / -1; }
  .log-table td.st { grid-column: 1 / -1; }
  .log-table td.st img { width: 120px; }
  .log-note { flex-direction: column; }
  .agent { grid-template-columns: 1fr; }
  .agent-id { border-right: 0; border-bottom: 1.5px solid var(--rule); grid-template-columns: 120px 1fr; align-items: center; }
  .agent-fields .row { grid-template-columns: 1fr; }
  .agent-fields .row > .lbl { border-right: 0; padding: 16px 20px 0; }
  .register thead { display: none; }
  .register, .register tbody, .register tr, .register td { display: block; width: auto !important; }
  .register tr { padding: 20px 18px; border-bottom: 1px solid #b9b7b0; position: relative; }
  .register td { padding: 0; border: 0; }
  .register .desc { margin-top: 10px; }
  .register .st { position: absolute; right: 12px; top: 16px; }
  .register .st img { width: 104px; }
  .slip { grid-template-columns: 1fr; }
  .slip > div { border-right: 0; border-bottom: 1.5px solid var(--rule); }
  .slip > div:last-child { border-bottom: 0; }
  .memo-title { font-size: 48px; }
  .memo-main, .memo-side, .tear-main, .tear-stub { padding-left: 22px; padding-right: 22px; }
  .seal { position: static; width: 120px; margin: 18px 0 0 auto; display: block; }
  .terms { grid-template-columns: 1fr; }
  .terms div { border-right: 0 !important; border-bottom: 1px solid #b9b7b0; }
  .masthead { flex-wrap: wrap; gap: 12px; }
  .masthead nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 20px; padding-top: 6px; white-space: nowrap; }
  .masthead nav a { flex: none; }
  .masthead .nav-btn { margin-left: auto; }
  .masthead .mark { font-size: 28px; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(44px, 6vw, 84px) 0 0; }
.page-hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.page-hero .grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.page-hero .grid > :only-child { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
.page-hero .grid > :only-child > h1 { grid-column: 1; grid-row: 1 / span 4; align-self: start; }
.page-hero .grid > :only-child > :not(h1) { grid-column: 2; }
.page-hero h1 { font: 700 clamp(40px, 5.2vw, 72px)/0.95 var(--print); letter-spacing: -0.02em; text-wrap: balance; }
.page-hero .lede { margin-top: 22px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { font: 400 14px/1.3 var(--type); max-width: 100%; border: 1.5px solid var(--ink); padding: 9px 12px; border-radius: 3px; }
.demo-note { font: 500 14px/1.4 var(--print); color: var(--ink-2); margin-top: 12px; }

/* transcript (service request log) */
.transcript { padding-bottom: 6px; }
.transcript .who { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1.5px solid var(--rule); }
.transcript .who .av { width: 52px; height: 52px; border: 1.5px solid var(--ink); border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #111; }
.transcript .who .av aloha-orb, .transcript .who .av img { width: 100%; height: 100%; display: block; object-fit: cover; }
.transcript .who b { display: block; font: 700 20px/1 var(--print); letter-spacing: -0.02em; }
.transcript .who small { font: 500 13px/1.3 var(--print); color: var(--ink-2); }
.transcript ol { list-style: none; padding: 6px 20px 0; }
.transcript li { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #c9c7c0; font: 400 15.5px/1.45 var(--type); }
.transcript li:last-child { border-bottom: 0; }
.transcript li .lbl { padding-top: 3px; }
.transcript li.agent span:last-child { font-weight: 700; }
.transcript .t-stamp { position: absolute; right: 14px; top: 8px; width: 150px; }
.transcript .t-note { margin: 4px 20px 14px; padding-top: 12px; border-top: 1.5px solid var(--rule); font: 500 13px/1.45 var(--print); color: var(--ink-2); }

/* on-file strip */
.onfile { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); margin-top: clamp(56px, 7vw, 88px); }
.onfile div { padding: 22px 22px 24px; border-right: 1px solid #b9b7b0; }
.onfile div:last-child { border-right: 0; }
.onfile b { display: block; font: 700 clamp(30px, 3vw, 40px)/1 var(--print); letter-spacing: -0.02em; }
.onfile span { display: block; margin-top: 8px; font: 500 15px/1.35 var(--print); color: var(--ink-2); }

/* staff roster */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.story p { font: 400 18px/1.6 var(--print); color: var(--ink-2); max-width: 58ch; }
.story p + p { margin-top: 16px; }
.story p b { color: var(--ink); }
.roster { width: 100%; border-collapse: collapse; }
.roster th, .roster td { text-align: left; padding: 16px 20px; border-bottom: 1px solid #b9b7b0; vertical-align: top; }
.roster th { font: 700 11px/1.2 var(--print); letter-spacing: .05em; text-transform: uppercase; border-bottom: 1.5px solid var(--rule); }
.roster td.role b { display: block; font: 700 17px/1.2 var(--print); }
.roster td.role small { font: 400 14px/1.45 var(--print); color: var(--ink-2); }
.roster td.ours { font: 700 16px/1.3 var(--type); white-space: nowrap; }
.roster tr:last-child td { border-bottom: 0; }

/* clauses (why lani) */
.clauses { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.clauses div { padding: 26px 26px 30px; border-bottom: 1px solid #b9b7b0; }
.clauses div:nth-child(odd) { border-right: 1px solid #b9b7b0; }
.clauses div:nth-last-child(-n+2) { border-bottom: 0; }
.clauses h3 { font: 700 22px/1.15 var(--print); letter-spacing: -0.02em; margin-bottom: 8px; }
.clauses p { font: 400 16px/1.55 var(--print); color: var(--ink-2); max-width: 46ch; }

/* comparison sheet */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid #b9b7b0; border-right: 1px solid #b9b7b0; text-align: left; vertical-align: top; font: 400 14.5px/1.4 var(--print); }
.cmp th:last-child, .cmp td:last-child { border-right: 0; }
.cmp thead th { font: 700 11px/1.25 var(--print); letter-spacing: .05em; text-transform: uppercase; border-bottom: 1.5px solid var(--rule); vertical-align: bottom; }
.cmp tbody th { font: 700 14.5px/1.35 var(--print); width: 22%; }
.cmp .us { background: rgba(245,226,136,.55); font-weight: 700; }
.cmp thead .us { background: var(--ink); color: #fff; font-size: 13px; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* scope of work */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.scope > div { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 24px 26px; border-bottom: 1px solid #b9b7b0; }
.scope > div:nth-child(odd) { border-right: 1px solid #b9b7b0; }
.scope .box { width: 22px; height: 22px; border: 1.5px solid var(--ink); position: relative; margin-top: 2px; }
.scope .box::before, .scope .box::after { content: ''; position: absolute; left: 50%; top: 50%; width: 130%; height: 2px; background: var(--ink); transform: translate(-50%,-50%) rotate(45deg); }
.scope .box::after { transform: translate(-50%,-50%) rotate(-45deg); }
.scope h3 { font: 700 20px/1.15 var(--print); letter-spacing: -0.02em; margin-bottom: 6px; }
.scope p { font: 400 15.5px/1.55 var(--print); color: var(--ink-2); }
.scope-note { padding: 24px 26px 28px; border-top: 1.5px solid var(--rule); }
.scope-note h3 { font: 700 20px/1.15 var(--print); margin-bottom: 6px; }
.scope-note p { font: 400 15.5px/1.55 var(--print); color: var(--ink-2); max-width: 90ch; }

/* certificate */
.cert { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; padding: 40px 44px; border: 3px double var(--ink); margin: 14px; }
.cert h2 { font: 700 clamp(30px, 3.4vw, 44px)/1.03 var(--print); letter-spacing: -0.02em; text-wrap: balance; }
.cert p { font: 400 17px/1.6 var(--type); margin-top: 16px; max-width: 62ch; }
.cert .seal-big { width: 240px; justify-self: center; }

/* quotes (pricing) */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.quote { display: flex; flex-direction: column; }
.quote .form-head { justify-content: space-between; }
.quote-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.quote h3 { font: 700 28px/1 var(--print); letter-spacing: -0.02em; }
.quote .tag { font: 600 14px/1.35 var(--print); color: var(--ink-2); margin-top: 8px; }
.quote .amt { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: baseline; margin: 22px 0 18px; padding: 16px 0; border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.quote .amt b { font: 700 36px/1 var(--print); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quote .amt span { font: 400 15px/1 var(--type); }
.quote ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.quote li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font: 400 15px/1.45 var(--print); color: var(--ink-2); }
.quote li::before { content: ''; width: 12px; height: 12px; border: 1.5px solid var(--ink); margin-top: 4px; background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%); }
.quote .btn { width: 100%; }
.quote.pick { transform: translateY(-10px); }
.addon { margin-top: 34px; padding: 18px 22px; border: 1.5px dashed var(--ink-2); font: 400 15.5px/1.55 var(--print); color: var(--ink-2); }
.addon b { color: var(--ink); }

/* five-step routing */
.slip.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.slip.five h3 { font-size: 21px; }
.slip.five p { font-size: 15px; }

/* intake form (full audit) */
.intake-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.intake-grid ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.intake-grid ul li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font: 500 16px/1.45 var(--print); }
.intake-grid ul li::before { content: ''; width: 14px; height: 14px; border: 1.5px solid var(--ink); margin-top: 4px; background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%); }
.direct { margin-top: 24px; font: 500 15px/1.5 var(--print); }
.direct a { font-weight: 700; }
.intake .band { display: flex; justify-content: space-between; }
.intake form, .intake .msgbox, .intake #bookStep { padding: 6px 0 0; }
.intake fieldset { border: 0; border-bottom: 1.5px solid var(--rule); padding: 18px 22px 22px; }
.intake legend { float: left; width: 100%; font: 700 11px/1.2 var(--print); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.intake legend + * { clear: both; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font: 600 14px/1.3 var(--print); margin-bottom: 6px; }
.intake select, .intake textarea { width: 100%; font: 400 16px/1.3 var(--type); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); padding: 8px 2px; border-radius: 0; appearance: none; -webkit-appearance: none; }
.intake select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; cursor: pointer; }
.intake textarea { min-height: 76px; resize: vertical; border: 1.5px solid var(--ink); padding: 10px; }
.intake select:focus, .intake textarea:focus { outline: 2px solid var(--stamp); outline-offset: 2px; }
.intake select:invalid { color: #6b6a66; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks .check { font-size: 15px; gap: 10px; min-height: 30px; }
.checks .check input { width: 18px; height: 18px; border-width: 1.5px; }
.checks .check input::before, .checks .check input::after { height: 2px; }
.intake .submit { padding: 22px; display: grid; gap: 10px; }
.intake .fine { font: 500 13px/1.4 var(--print); color: var(--ink-2); }
.intake .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msgbox, #bookStep { display: none; padding: 26px 22px !important; }
.msgbox h3, #bookStep h3 { font: 700 26px/1.1 var(--print); letter-spacing: -0.02em; margin-bottom: 10px; }
.msgbox p, #bookStep .sub { font: 400 16px/1.55 var(--print); color: var(--ink-2); }
.msgbox a { color: var(--ink); font-weight: 700; }
#calWrap iframe { width: 100%; height: 680px; border: 1.5px solid var(--ink); margin-top: 14px; background: #fff; }

/* faq */
.faq { counter-reset: q; }
.faq details { border-bottom: 1px solid #b9b7b0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 54px 1fr 24px; gap: 12px; align-items: baseline; padding: 20px 22px; font: 700 18px/1.35 var(--print); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { counter-increment: q; content: 'Q' counter(q); font: 700 14px/1 var(--type); color: var(--ink-2); }
.faq summary::after { content: '+'; font: 400 24px/1 var(--type); justify-self: end; }
.faq details[open] summary::after { content: '–'; }
.faq summary:hover { background: rgba(18,18,18,.03); }
.faq details p { padding: 0 22px 22px 88px; font: 400 16px/1.6 var(--print); color: var(--ink-2); max-width: 82ch; }

/* products page */
.prod-form { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.prod-form .main { padding: 30px 30px 34px; border-right: 1.5px solid var(--rule); position: relative; }
.prod-form .main h2 { font: 700 clamp(40px, 4.6vw, 60px)/0.95 var(--print); letter-spacing: -0.02em; }
.prod-form .main .sub { font: 700 19px/1.3 var(--print); margin-top: 10px; padding-right: 150px; }
.prod-form .main p { font: 400 17px/1.6 var(--print); color: var(--ink-2); margin-top: 16px; max-width: 56ch; }
.prod-form .main .ctas { margin-top: 26px; }
.prod-form .main .p-stamp { position: absolute; right: 26px; top: 20px; width: 140px; }
.prod-form .side { padding: 30px 30px 34px; }
.prod-form .side ul { list-style: none; display: grid; gap: 0; margin-top: 12px; }
.prod-form .side li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid #b9b7b0; font: 500 16px/1.45 var(--print); }
.prod-form .side li::before { content: ''; width: 14px; height: 14px; border: 1.5px solid var(--ink); margin-top: 4px; background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%); }
.prod-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.prod-index a { font: 400 15px/1 var(--type); text-decoration: none; border: 1.5px solid var(--ink); padding: 10px 14px; border-radius: 3px; }
.prod-index a:hover { background: var(--ink); color: #fff; }
.stack-gap > * + * { margin-top: 40px; }

/* stipend */
.policy { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-bottom: 1.5px solid var(--rule); }
.policy div { padding: 16px 20px; border-right: 1px solid #b9b7b0; }
.policy div:last-child { border-right: 0; }
.policy b { display: block; font: 400 22px/1.2 var(--type); font-weight: 700; margin-top: 6px; }
.req { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px; border-bottom: 1.5px solid var(--rule); }
.req .chip { font-family: var(--type); font-weight: 700; }
.meter { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1.5px solid var(--rule); font: 400 15px/1 var(--type); }
.meter .bar { height: 14px; border: 1.5px solid var(--ink); position: relative; background: repeating-linear-gradient(90deg, transparent 0 9.5%, rgba(18,18,18,.25) 9.5% 10%); }
.meter .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.ledger { width: 100%; border-collapse: collapse; }
.ledger td { padding: 12px 20px; border-bottom: 1px solid #c9c7c0; font: 400 15px/1.4 var(--type); vertical-align: middle; }
.ledger td:first-child { width: 80px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ledger td.st { width: 150px; }
.ledger td.st img { width: 118px; }
.ledger tr.empty td { color: var(--ink-2); }
.ledger-wrap { max-height: 420px; overflow-y: auto; }
.codecard { padding: 22px 24px; font: 400 14.5px/1.7 var(--type); white-space: pre-wrap; overflow-x: auto; }
.codecard .ok { font-weight: 700; } .codecard .no { color: var(--stamp-ink); font-weight: 700; } .codecard .dim { color: #6b6a66; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.four > div { padding: 24px 24px 28px; border-right: 1px solid #b9b7b0; }
.four > div:last-child { border-right: 0; }
.four h3 { font: 700 22px/1.1 var(--print); letter-spacing: -0.02em; margin: 12px 0 8px; }
.four p { font: 400 15.5px/1.55 var(--print); color: var(--ink-2); }
.four b.big { display: block; font: 700 34px/1 var(--print); letter-spacing: -0.02em; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.three > div { padding: 24px 24px 28px; border-right: 1px solid #b9b7b0; }
.three > div:last-child { border-right: 0; }
.three h3 { font: 700 22px/1.1 var(--print); letter-spacing: -0.02em; margin-bottom: 8px; }
.three p { font: 400 15.5px/1.55 var(--print); color: var(--ink-2); }
.disc { font: 400 13px/1.5 var(--print); color: var(--ink-2); max-width: 90ch; margin-top: 18px; }

@media (max-width: 1080px) {
  .page-hero .grid, .story, .intake-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .quotes { grid-template-columns: 1fr; max-width: 560px; }
  .quote.pick { transform: none; }
  .slip.five { grid-template-columns: 1fr 1fr; }
  .slip.five > div { border-bottom: 1.5px solid var(--rule); }
  .prod-form { grid-template-columns: 1fr; }
  .prod-form .main { border-right: 0; border-bottom: 1.5px solid var(--rule); }
  .four { grid-template-columns: 1fr 1fr; }
  .four > div:nth-child(2) { border-right: 0; }
  .four > div:nth-child(-n+2) { border-bottom: 1px solid #b9b7b0; }
  .cert { grid-template-columns: 1fr; }
  .cert .seal-big { justify-self: start; width: 180px; }
}
@media (max-width: 900px) {
  .onfile, .clauses, .scope, .three, .four, .policy { grid-template-columns: 1fr 1fr; }
  .onfile div:nth-child(2), .policy div:nth-child(2) { border-right: 0; }
  .onfile div:nth-child(-n+2), .policy div:nth-child(-n+2) { border-bottom: 1px solid #b9b7b0; }
  .clauses, .scope, .three { grid-template-columns: 1fr; }
  .clauses div, .scope > div, .three > div { border-right: 0 !important; border-bottom: 1px solid #b9b7b0 !important; }
  .slip.five { grid-template-columns: 1fr; }
  .g2, .checks { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 40px 1fr 20px; padding: 18px 16px; font-size: 16.5px; }
  .faq details p { padding: 0 16px 20px 16px; }
  .cert { padding: 26px 22px; margin: 10px; }
  .transcript .t-stamp { width: 110px; top: 10px; right: 10px; }
  .transcript li { grid-template-columns: 1fr; gap: 2px; }
  .prod-form .main .p-stamp { width: 104px; right: 16px; top: 18px; }
  .prod-form .main .sub { padding-right: 0; }
  .roster td.ours { white-space: normal; }
  .ledger td.st { width: 100px; } .ledger td.st img { width: 92px; }
}
@media (max-width: 560px) {
  .ledger td { padding: 10px 10px; font-size: 13.5px; overflow-wrap: anywhere; }
  .ledger td:first-child { width: 52px; white-space: nowrap; overflow-wrap: normal; }
  .ledger td.st { width: 80px; padding-left: 0; } .ledger td.st img { width: 76px; }
  .meter { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .four, .onfile, .policy { grid-template-columns: 1fr; }
  .four > div, .onfile div, .policy div { border-right: 0 !important; border-bottom: 1px solid #b9b7b0; }
}
.scroll-hint { display: none; }
@media (max-width: 1080px) { .scroll-hint { display: inline; } .wide-hint { display: none; } }

.nw { white-space: nowrap; }

/* Lani hero: service ticket */
.ticket { margin-top: clamp(40px, 5vw, 64px); }
.ticket .form-head .lbl { font-size: 13px; letter-spacing: .02em; text-transform: none; font-weight: 700; }
.ticket .band { margin: 0; line-height: 1.3; }
.tk-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; border-bottom: 1.5px solid var(--rule); }
.tk-fields > div, .tk-file > div { padding: 12px 18px 16px; border-right: 1px solid #b9b7b0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.tk-fields > div:last-child, .tk-file > div:last-child { border-right: 0; }
.tk-fields .tw, .tk-file .tw { font: 400 17px/1.3 var(--type); padding-left: 10px; translate: 0 2px; }
.tk-out .tw { font-weight: 700 !important; }
.tk-out { padding-bottom: 52px !important; }
.tk-out .t-stamp { position: absolute; right: 16px; bottom: 4px; width: 128px; z-index: 2; }
.tk-log { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-bottom: 1.5px solid var(--rule); }
.tk-log-h, .tk-file-h { padding: 14px 18px; border-right: 1px solid #b9b7b0; }
.tk-log ol { list-style: none; padding: 0 22px; margin: 0; }
.tk-log li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #c9c7c0; font: 400 16px/1.5 var(--type); }
.tk-log li:last-child { border-bottom: 0; }
.tk-log li .lbl { padding-top: 3px; }
.tk-log li.agent span:last-child { font-weight: 700; padding-left: 6px; }
.tk-file { display: grid; grid-template-columns: 170px repeat(4, minmax(0, 1fr)); border-bottom: 1.5px solid var(--rule); }
.tk-file .tw { font-size: 22px; font-weight: 700; }
.ticket .t-note { margin: 0; padding: 12px 18px 16px; font: 500 13px/1.45 var(--print); color: var(--ink-2); }
@media (max-width: 1080px) {
  .page-hero .grid > :only-child { grid-template-columns: minmax(0, 1fr); }
  .page-hero .grid > :only-child > h1, .page-hero .grid > :only-child > :not(h1) { grid-column: 1; grid-row: auto; }
  .tk-fields { grid-template-columns: 1fr 1fr; }
  .tk-fields > div:nth-child(2) { border-right: 0; }
  .tk-fields > div:nth-child(-n+2) { border-bottom: 1px solid #b9b7b0; }
  .tk-file { grid-template-columns: 1fr 1fr; }
  .tk-file-h { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #b9b7b0; }
  .tk-file > div:nth-child(3) { border-right: 0; }
  .tk-file > div:nth-child(-n+3) { border-bottom: 1px solid #b9b7b0; }
}
@media (max-width: 700px) {
  .tk-log { grid-template-columns: minmax(0, 1fr); }
  .tk-log-h { border-right: 0; border-bottom: 1px solid #b9b7b0; }
  .tk-log ol { padding: 0 16px; }
  .tk-log li { grid-template-columns: 1fr; gap: 2px; font-size: 15px; }
  .tk-fields > div, .tk-file > div { padding: 10px 14px 14px; }
  .tk-fields .tw { font-size: 15px; padding-left: 4px; }
  .tk-file .tw { font-size: 19px; padding-left: 4px; }
  .tk-out { padding-bottom: 44px !important; }
  .tk-out .t-stamp { width: 92px; top: auto; bottom: 4px; right: 8px; }
  .ticket .form-head > *:nth-child(2) { display: none; }
}
/* vary the carbon copies so stacks read as filed paper, not a shadow costume */
.sec:nth-of-type(3n+1) .sheet.copies::before { transform: translate(-9px, 9px) rotate(-.45deg); }
.sec:nth-of-type(3n+1) .sheet.copies::after { transform: translate(12px, 18px) rotate(.3deg); }
.sec:nth-of-type(3n+2) .sheet.copies::before { transform: translate(6px, 6px) rotate(.2deg); }
.sec:nth-of-type(3n+2) .sheet.copies::after { transform: translate(-6px, 14px) rotate(-.6deg); }