/* AMAI Marine · home, plus the components shared with the model pages
   (drawing, title block, build rule, Two tubes, range rule). */

.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* ================================================================ hero */
.hero {
  --hx: 50%;
  position: relative; overflow: hidden; container-type: size;
  height: min(760px, calc(100svh - var(--header-h))); min-height: 560px;
  background: #AFC0CF; color: var(--on-image);
}
.hero-frame {
  position: absolute; left: var(--hx); top: 60%;
  width: max(100cqw, 177.78cqh); aspect-ratio: 2400 / 1350;
  translate: calc(-1 * var(--hx)) -60%;
  transform-origin: 50% 60%;
}
.hero-frame picture { display: contents; }
.hero-frame img, .hero-seam { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frame img { object-fit: cover; }
.hero-seam path { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; }
.hero-seam .hs-a { stroke: #0F1E33; stroke-opacity: .72; stroke-width: 2.2; }
.hero-seam .hs-b { stroke: #B9A27A; stroke-width: 2; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(var(--scrim) / .62) 0%, rgb(var(--scrim) / .28) 30%, rgb(var(--scrim) / 0) 56%),
    linear-gradient(to right, rgb(var(--scrim) / .28) 0%, rgb(var(--scrim) / 0) 50%);
}
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6cqh, 64px); }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font-size: var(--fs-meta); font-weight: 500; letter-spacing: .02em; color: rgb(255 255 255 / .86); margin-bottom: 16px; }
.hero-eyebrow-line { width: 40px; height: 5px; flex: none; transform-origin: 0 50%;
  background: linear-gradient(#fff, #fff) 0 4px / 100% 1px no-repeat, linear-gradient(#B9A27A, #B9A27A) 14px 0 / calc(100% - 14px) 1px no-repeat; }
.hero-title {
  font-size: var(--fs-display); line-height: .86; letter-spacing: var(--track-display); font-weight: 600;
  margin-left: -.04em; color: #fff; text-wrap: nowrap;
}
.hero-line { margin-top: 20px; font-size: var(--fs-body); color: rgb(255 255 255 / .92); max-width: none; }
.hero-line .fsep { letter-spacing: -.02em; }
.hero-cta { margin-top: 20px; color: #fff; --c: #fff; }

/* load choreography: nothing moves vertically, all done by 2.1 s */
@media (prefers-reduced-motion: no-preference) {
  .hero.is-arriving .hero-frame { transform: scale(1.03); }
  .hero.is-arriving .hs-a, .hero.is-arriving .hs-b { stroke-dashoffset: 1; }
  .hero.is-arriving .hero-eyebrow-line { transform: scaleX(0); }
  .hero.is-arriving .hero-title, .hero.is-arriving .hero-line, .hero.is-arriving .hero-cta, .hero.is-arriving .hero-eyebrow { opacity: 0; }
  .hero.is-arriving.is-in .hero-frame { transform: scale(1); transition: transform var(--t-slow) var(--ease-settle) 150ms; }
  .hero.is-arriving.is-in .hs-a { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-seam) 300ms; }
  .hero.is-arriving.is-in .hs-b { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-seam) 420ms; }
  .hero.is-arriving.is-in .hero-eyebrow { opacity: 1; transition: opacity 400ms var(--ease-settle) 300ms; }
  .hero.is-arriving.is-in .hero-eyebrow-line { transform: scaleX(1); transition: transform var(--t-draw) var(--ease-seam) 300ms; }
  .hero.is-arriving.is-in .hero-title { opacity: 1; transition: opacity var(--t-swap) var(--ease-settle) 420ms; }
  .hero.is-arriving.is-in .hero-line { opacity: 1; transition: opacity var(--t-swap) var(--ease-settle) 700ms; }
  .hero.is-arriving.is-in .hero-cta { opacity: 1; transition: opacity var(--t-swap) var(--ease-settle) 900ms; }
}

@media (max-width: 720px) {
  /* until the portrait render is in: a shorter crop so more of the boat shows */
  .hero { --hx: 60%; height: min(66svh, 560px); min-height: 480px; }
  .hero.has-portrait { height: min(150vw, 86svh, 760px); }
  .hero.has-portrait .hero-frame { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; translate: none; transform-origin: 50% 50%; }
  .hero.has-portrait .hero-frame img { object-position: 50% 40%; }
  .hero.has-portrait .hero-seam { display: none; }
  .hero-title { font-size: clamp(64px, 21vw, 96px); }
  .hero-line { font-size: 15px; max-width: 30ch; }
}

/* ================================================================ drawing */
.dw-head { margin-bottom: 48px; max-width: 980px; }
.dw-foot { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; align-items: end; margin-top: 48px; }
.dw-note .lede { font-size: 20px; }
.dw-more { margin-top: 28px; }

.dwg { position: relative; margin: 0; aspect-ratio: var(--ar); }
.dwg img { width: 100%; height: 100%; object-fit: contain; }
.dwg-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.dwg-lines path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dl-dim, .dl-arrow, .dl-keel { stroke: var(--ink); stroke-opacity: .8; }
.dl-ext, .dl-tick { stroke: var(--seam); }
.dl-centre { stroke: var(--seam); stroke-dasharray: 18 6 3 6; stroke-opacity: .9; }
.dl-lead { stroke: var(--ink); stroke-opacity: .55; }
.dl-dot { fill: var(--page); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dwg-label {
  position: absolute; translate: -50% -50%; padding: 1px 8px; white-space: nowrap;
  background: var(--page); color: var(--ink-2); font-size: var(--fs-meta); line-height: 1.3;
}
.dwg-label b { font-weight: 600; color: var(--ink); font-size: 15px; }
.dwg-label.is-side { rotate: -90deg; }
.dwg-label.is-tick { translate: -50% -50%; }
.dwg-label.is-keel { translate: 0 0; padding-top: 4px; font-size: 12px; letter-spacing: .04em; font-weight: 500; color: var(--ink); }
.dwg-label.is-keel b { font-size: 13px; }
.dwg-label.is-dr { display: inline-flex; align-items: center; gap: 6px; }
.dl-vee { width: 22px; height: 11px; overflow: visible; }
.dl-vee path { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dl-vee path + path { stroke: var(--seam); }
.dwg-label.is-call { translate: 0 -50%; }
.l-short { display: none; }
.dwg-label.is-on { background: var(--page); }
@media (max-width: 900px) {
  .dw-head { margin-bottom: 28px; }
  .dw-foot { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .dw-foot .dwg-profile { order: -1; }
}
@media (max-width: 720px) {
  .dwg-label { font-size: 10px; padding: 0 4px; }
  .dwg-label b { font-size: 11px; }
  .dwg-label.is-keel { font-size: 9px; letter-spacing: .02em; }
  .dwg-label.is-keel b { font-size: 10px; }
  .dl-vee { width: 14px; height: 7px; }
  .l-long { display: none; }
  .dwg-label.is-ce { display: none; }
  .l-short { display: inline; }
  .dwg-label.is-side span { display: none; }
}

/* ================================================================ build rule */
.br-head { margin-bottom: 56px; }
.br-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.br-media { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.br-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--t-swap) var(--ease-settle); }
.br-img.is-on { opacity: 1; }
.br-list { position: relative; padding-left: 64px; }
.br-steps { position: relative; list-style: none; margin: 0; padding: 0; }
.br-rule { position: absolute; left: 20px; top: 0; bottom: 0; width: 5px; }
.br-rule::before, .br-rule::after { content: ''; position: absolute; width: 1px; transform-origin: 50% 0; }
.br-rule::before { left: 0; top: 0; bottom: 0; background: var(--ink); opacity: .85; }
.br-rule::after { left: 4px; top: var(--lap); bottom: 0; background: var(--seam); }
@media (prefers-reduced-motion: no-preference) {
  .js .br-rule.seam-draw::before, .js .br-rule.seam-draw::after { transform: scaleY(0); transition: transform 1100ms var(--ease-seam); }
  .js .br-rule.seam-draw::after { transition-delay: var(--t-lap); }
  .js .br-rule.seam-draw.is-drawn::before, .js .br-rule.seam-draw.is-drawn::after { transform: scaleY(1); }
}
.br-step { position: relative; border-top: 1px solid var(--hairline); }
.br-step:last-child { border-bottom: 1px solid var(--hairline); }
.br-step::before { content: ''; position: absolute; left: -48px; top: 38px; width: 9px; height: 9px; border-radius: 50%; background: var(--page); border: 1px solid var(--ink); transition: background-color var(--t-touch) var(--ease-out); }
.br-step.is-on::before { background: var(--ink); }
.br-thumb { display: none; }
.br-link { display: grid; gap: 6px; padding: 28px 0 32px; text-decoration: none; color: inherit; }
.br-no { position: absolute; left: -60px; top: 58px; width: 32px; padding: 3px 0; background: var(--page); font-size: var(--fs-scale); color: var(--muted); letter-spacing: .04em; text-align: center; }
.br-hr { font-size: 18px; color: var(--muted); line-height: 1.2; }
.br-line { font-size: var(--fs-h3); line-height: 1.04; font-weight: 600; letter-spacing: -.025em; color: var(--muted); transition: color var(--t-touch) var(--ease-out); text-wrap: balance; }
.br-step.is-on .br-line { color: var(--ink); }
.br-body { margin-top: 8px; font-size: var(--fs-ui); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.br-go { margin-top: 10px; font-size: var(--fs-ui); font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--seam); }
.br-link:hover .br-go { text-decoration-color: currentColor; }
@media (max-width: 900px) {
  .br-head { margin-bottom: 32px; }
  .br-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .br-media { display: none; }
  .br-list { padding-left: 0; }
  .br-rule, .br-step::before, .br-no { display: none; }
  .br-step { border-top: 0; }
  .br-step:last-child { border-bottom: 0; }
  .br-step + .br-step { margin-top: 40px; }
  .br-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .br-link { padding: 20px 0 0; }
  .br-line { color: var(--ink); }
}

/* ================================================================ Two tubes */
.tt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; }
.tt-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.tt-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.tt-sub { color: var(--ink-2); max-width: 44ch; }
.tt-figure { min-width: 0; }
.tt-svg { width: 100%; height: auto; overflow: visible; }
.tt-svg text { font-family: var(--sans); fill: var(--muted); font-size: 15px; letter-spacing: .04em; }
.tt-wall { fill: var(--ink); transition: opacity var(--t-swap) var(--ease-settle); }
.tt[data-show="pvc"] .tt-orca, .tt[data-show="orca"] .tt-pvc { opacity: .28; }
.tt-axis { stroke: var(--hairline); stroke-dasharray: 4 6; }
.tt-hit path { fill: transparent; cursor: pointer; }
.tt-seampt { fill: var(--page); stroke: var(--ink); stroke-width: 1.5; }
.tt-lead { fill: none; stroke: var(--seam); stroke-width: 1.5; }
.tt-loupe { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.tt-loupe-bg { fill: var(--surface); }
.tt-panel { fill: var(--ink-2); }
.tt-upper { fill: var(--muted); }
.tt-edge { stroke: var(--ink); stroke-width: 1; fill: none; }
.tt-hatchline { stroke: var(--seam); stroke-width: 2.5; }
.tt-weld { opacity: .95; }
.tt-glue { fill: var(--seam); }
.tt-zoom { transition: opacity var(--t-touch) var(--ease-settle); }
.tt[data-show="pvc"] .tt-zoom-orca, .tt[data-show="orca"] .tt-zoom-pvc { opacity: 0; }
.tt-dim { stroke: var(--ink); fill: none; }
.tt-svg .tt-dimlabel { fill: var(--ink); font-weight: 600; letter-spacing: 0; }
.tt-switch { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; }
.tt-switch button {
  display: grid; justify-items: start; gap: 2px; padding: 8px 0 12px; border: 0; background: none; text-align: left;
  font-size: var(--fs-ui); font-weight: 500; color: var(--muted);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--seam), var(--seam));
  background-repeat: no-repeat; background-size: 0 1px, 0 1px; background-position: 0 100%, var(--lap) calc(100% - 4px);
  transition: color var(--t-touch) var(--ease-out), background-size var(--t-draw) var(--ease-seam);
}
.tt-switch button[aria-pressed="true"] { color: var(--ink); background-size: 100% 1px, calc(100% - var(--lap)) 1px; }
.tt-k { font-size: var(--fs-scale); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tt-caption { margin-top: 12px; font-size: var(--fs-ui); color: var(--ink-2); min-height: 3em; }
.tt-dl { align-self: start; margin-top: 8px; }
.tt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0 16px; border-top: 1px solid var(--hairline); }
.tt-row dt { grid-column: 1 / -1; font-size: var(--fs-meta); color: var(--muted); }
.tt-row dd { font-size: var(--fs-ui); line-height: 1.45; color: var(--ink); transition: color var(--t-touch) var(--ease-out); }
.tt-names { padding-top: 0; border-top: 0; }
.tt-names dd { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.tt[data-show="pvc"] dd[data-col="orca"], .tt[data-show="orca"] dd[data-col="pvc"] { color: var(--muted); }
.tt[data-show="pvc"] dd[data-col="orca"] .money, .tt[data-show="orca"] dd[data-col="pvc"] .std { opacity: .7; }
.tt-std { font-weight: 500; }
.tt-life { position: relative; display: block; height: 30px; margin-top: 8px; }
.tt-life i { position: absolute; top: 4px; height: 3px; left: calc(var(--a) / 25 * 100%); width: calc((var(--b) - var(--a)) / 25 * 100%); background: currentColor; }
.tt-life::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--hairline); }
.tt-scale b { position: absolute; top: 14px; left: calc(var(--y) / 25 * 100%); translate: -50% 0; font-size: var(--fs-scale); font-weight: 400; color: var(--muted); white-space: nowrap; }
.tt-scale b:first-child { translate: 0 0; }
.tt-scale b:last-child { translate: -100% 0; }
.tt-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 48px; }
.tt-foot .fine { flex: 1 1 420px; }
@media (max-width: 900px) {
  .tt, .tt-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tt { gap: 32px; }
  .tt-svg text { font-size: 24px; }
}

/* ================================================================ configure teaser */
.tz { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.tz-stage { position: relative; aspect-ratio: 1600 / 1260; background: var(--page); }
.tz-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--t-swap) var(--ease-settle); }
.tz-mount { position: absolute; inset: 0; }
.tz-stage.has-viewer .tz-poster { opacity: 0; }
.tz-points { position: absolute; left: 0; bottom: 0; width: 200px; }
.tz-points img { width: 100%; opacity: .55; }
.tz-points button {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -100%;
  padding: 0 2px 18px; border: 0; background: none;
  font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.tz-points button::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 1px; height: 13px; background: var(--ink); opacity: .7; }
.tz-points button::before { content: ''; position: absolute; left: calc(50% - 3px); bottom: -3px; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--ink); background: var(--page); }
.tz-points button:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--seam); }
.tz-sub { margin-top: 20px; color: var(--ink-2); }
.ledger { margin-top: 32px; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted); }
.ledger-head .hr-name { font-size: 15px; }
.ledger-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  width: 100%; padding: 18px 16px 18px 20px; border: 0; border-top: 1px solid var(--hairline); background: transparent; text-align: left; color: var(--ink);
  transition: background-color var(--t-swap) var(--ease-settle);
}
.ledger-row:last-child { border-bottom: 1px solid var(--hairline); }
.ledger-row::before, .ledger-row::after { content: ''; position: absolute; left: 0; width: 2px; background: var(--ink); transform: scaleY(0); transform-origin: 50% 0; transition: transform var(--t-draw) var(--ease-seam); }
.ledger-row::before { top: 0; bottom: 0; }
.ledger-row::after { left: 5px; width: 1px; top: 14px; bottom: 0; background: var(--seam); transition-delay: var(--t-lap); }
.ledger-row:hover { background: var(--surface); }
.ledger-row.is-on { background: var(--sand); }
.ledger-row.is-on::before, .ledger-row.is-on::after { transform: scaleY(1); }
.lr-name { font-size: var(--fs-body); font-weight: 600; letter-spacing: -.005em; }
.lr-note { grid-column: 1; font-size: var(--fs-meta); color: var(--ink-2); }
.lr-price { grid-column: 2; grid-row: 1; justify-self: end; }
.lr-dash { color: var(--muted); }
.ledger-row:not(.is-on) .std { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ledger-row.is-on .lr-dash { display: none; }
.tz-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 28px; max-width: none; }
.tz-total .money { font-size: var(--fs-fig); letter-spacing: -.01em; }
@media (max-width: 900px) {
  .tz { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tz-stage.has-viewer { margin-bottom: 52px; }
  .tz-points:not([hidden]) { left: 0; right: 0; bottom: -52px; width: auto; display: flex; gap: 8px; }
  .tz-points img { display: none; }
  .tz-points:not([hidden]) { gap: 24px; }
  .tz-points button { position: static; translate: none; padding: 10px 0; }
  .tz-points button::before, .tz-points button::after { display: none; }
  .tz .btn { width: 100%; }
}

/* ================================================================ Evening (the one dark band) */
.ev { position: relative; margin-top: var(--gap-s); background: var(--page); color: var(--ink); }
.ev-media { margin: 0; }
.ev-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 50%; }
/* the older 16:9 frame: crop to its left three quarters so the boat sits in the right third */
.ev-media.is-fallback img { object-position: 85% 45%; object-view-box: inset(16% 26% 12% 0); }
.ev::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(11 22 39 / .88) 0%, rgb(11 22 39 / .62) 34%, rgb(11 22 39 / 0) 64%); }
.ev-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: center; }
.ev-text > * { max-width: min(560px, 45%); }
.ev h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1; }
.ev-body { margin-top: 24px; font-size: var(--fs-ui); color: var(--ink-2); }
.ev-dep { font-size: 1.05em; font-weight: 600; }
.ev .meta { margin-top: 12px; }
.ev .link-seam { margin-top: 24px; align-self: flex-start; }
@media (max-width: 1100px) {
  .ev-text > * { max-width: 600px; }
  .ev::after { display: none; }
  .ev-media.is-fallback img { object-view-box: none; object-position: 50% 50%; }
  .ev-media img { aspect-ratio: 16 / 9; }
  .ev-text { position: static; padding-top: 40px; padding-bottom: 56px; }
}

/* ================================================================ range rule */
.rr-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: 24px; }
.rr-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.rr-sub { color: var(--ink-2); max-width: 44ch; }
.rule { --h: 300px; --name: 22px; position: relative; height: var(--h); }
.rr-page .rule { --h: 330px; --name: 28px; }
.rr-mini .rule { --h: 250px; --name: 17px; }
.rule-scale { position: absolute; left: 0; right: 0; top: 50%; height: 5px; }
.rule-scale::before, .rule-scale::after { content: ''; position: absolute; height: 1px; right: 0; transform-origin: 0 50%; }
.rule-scale::before { left: 0; top: 4px; background: var(--ink); opacity: .85; }
.rule-scale::after { left: var(--lap); top: 0; background: var(--seam); }
.rule-scale span { position: absolute; left: var(--x); top: 14px; translate: -50% 0; font-size: var(--fs-scale); color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.rule-scale span:first-child { translate: 0 0; }
.rule-scale span:last-child { translate: -100% 0; }
.rule-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.rm { position: absolute; left: var(--x); top: 0; bottom: 0; width: 0; }
.rm-tick { position: absolute; left: 0; width: 1px; background: var(--ink); opacity: .85; }
.rm.is-high .rm-tick { bottom: calc(50% - 4px); height: 60px; }
.rm.is-low .rm-tick { top: calc(50% + 5px); height: 64px; }
.rm-link {
  position: absolute; left: 0; display: grid; gap: 3px; width: max-content; padding: 2px 0 2px 12px;
  text-decoration: none; color: var(--ink);
}
.rm.is-high .rm-link { bottom: calc(50% + 24px); }
.rm.is-low .rm-link { top: calc(50% + 34px); }
.rm-name { font-size: var(--name); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
.rm-type { font-size: 12.5px; color: var(--muted); line-height: 1.35; white-space: nowrap; }
.rm-meta { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.rm-price { transition: opacity var(--t-touch) var(--ease-out); }
.rm-price .money { font-weight: 500; }
[data-prices="hover"] .rm-price { opacity: 0; }
[data-prices="hover"] .rm-link:hover .rm-price, [data-prices="hover"] .rm-link:focus-visible .rm-price { opacity: 1; }
@media (hover: none) { [data-prices="hover"] .rm-price { opacity: 1; } }
.rm-link:hover .rm-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--seam); }
.rm.is-here .rm-tick::after { content: ''; position: absolute; left: 4px; width: 1px; background: var(--seam); }
.rm.is-here.is-high .rm-tick::after { top: 0; bottom: 14px; }
.rm.is-here.is-low .rm-tick::after { top: 14px; bottom: 0; }
.rm.is-here .rm-name .num { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.rm-here {
  justify-self: start; margin-top: 4px; padding-bottom: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat, linear-gradient(var(--seam), var(--seam)) 12px calc(100% - 4px) / calc(100% - 12px) 1px no-repeat;
}
.rm-bar { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .rule-scale.seam-draw::before, .js .rule-scale.seam-draw::after { transform: scaleX(0); transition: transform 1100ms var(--ease-seam); }
  .js .rule-scale.seam-draw::after { transition-delay: var(--t-lap); }
  .js .rule-scale.seam-draw.is-drawn::before, .js .rule-scale.seam-draw.is-drawn::after { transform: scaleX(1); }
}
@media (max-width: 1100px) {
  .rr-head { grid-template-columns: minmax(0, 1fr); }
  .rule, .rr-page .rule, .rr-mini .rule { height: auto; margin-top: 24px; }
  .rule-scale { display: none; }
  .rule-list { position: static; display: grid; }
  .rm { position: relative; left: auto; top: auto; bottom: auto; width: auto; padding: 14px 0 16px; border-top: 1px solid var(--hairline); }
  .rm:last-child { border-bottom: 1px solid var(--hairline); }
  .rm-tick { display: none; }
  .rm-link, .rm:last-child .rm-link, .rm.is-high .rm-link, .rm.is-low .rm-link {
    position: static; width: auto; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 0; text-align: left; justify-items: stretch;
  }
  .rm-name { grid-column: 1; font-size: 22px; }
  .rm-type { grid-column: 1; }
  .rm-meta { grid-column: 2; grid-row: 1 / span 2; text-align: right; align-self: center; display: grid; justify-items: end; gap: 2px; }
  .rm-meta { font-size: 13px; }
  .rm-type { white-space: normal; }
  .rm-dot { display: none; }
  .rm-here, .rm:last-child .rm-here { grid-column: 1; justify-self: start; }
  [data-prices="hover"] .rm-price { opacity: 1; }
  .rm-bar { display: block; position: relative; height: 5px; margin-top: 12px; width: calc(var(--loa) / 10.5 * 100%); }
  .rm-bar::before, .rm-bar::after { content: ''; position: absolute; height: 1px; right: 0; }
  .rm-bar::before { left: 0; top: 4px; background: var(--ink); opacity: .7; }
  .rm-bar::after { left: 24px; top: 0; background: var(--seam); }
  .rm.is-here .rm-bar::before { height: 2px; top: 3px; opacity: 1; }
}

/* ================================================================ partners */
.pt .seam { margin-bottom: 48px; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.pt-side p { color: var(--ink-2); }
.pt-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 32px; margin-top: 24px; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } }

#app:focus-visible { outline: none; box-shadow: none; animation: none; }
