/* Homepage + products page components. */

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(52px, 7vw, 96px) 0 0; isolation: isolate; }
.hero .contours { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 92%); mask-image: linear-gradient(180deg, #000 50%, transparent 92%); }
.hero-grid { align-items: center; row-gap: 56px; }
.hero-copy { grid-column: 1 / span 7; }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); }
.kicker .no { font: italic 400 26px/1 var(--f-serif); letter-spacing: 0; color: var(--brass-d); text-transform: none; }
.kicker::after { content: ""; width: 80px; height: 1px; background: currentColor; opacity: .35; }
.display .line { display: block; overflow: hidden; padding: 0 .06em .12em 0; margin-bottom: -.12em; }
.display .line:has(.mark) { padding-bottom: .34em; margin-bottom: -.34em; }
.display .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.display .line:nth-child(2) > span { transition-delay: .09s; }
.display .line:nth-child(3) > span { transition-delay: .18s; }
.loaded .display .line > span, .no-motion .display .line > span { transform: none; }
.mark { position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: 0; bottom: -.04em; width: 100%; height: .2em; overflow: visible; }
.mark path { fill: none; stroke: var(--aqua); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1.4s var(--ease) .9s; vector-effect: non-scaling-stroke; }
.loaded .mark path, .no-motion .mark path { stroke-dashoffset: 0; }
.hero .lead { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-side { grid-column: 8 / span 5; position: relative; }
.hero-side .seal { position: absolute; left: -58px; bottom: -40px; z-index: 3; --s: 120px; color: var(--brass-d); }
.hero-side .seal::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: var(--linen); box-shadow: 0 10px 30px -14px rgba(10, 22, 40, .5); }
.hero-side .seal svg { position: relative; }

.facts { margin-top: clamp(72px, 8vw, 110px); padding-bottom: clamp(48px, 6vw, 72px); }
.fact { grid-column: span 3; display: grid; gap: 10px; padding-top: 18px; position: relative; }
.fact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-block: 1px solid var(--ink); opacity: .7; }
.fact-n { font: 700 clamp(36px, 3.6vw, 52px)/1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.fact-n em { font: italic 400 1.05em/1 var(--f-serif); color: var(--teal-d); }
.fact-l { font-size: 14.5px; color: var(--muted); max-width: 24ch; }

/* ---------- tide line ---------- */
.tideline { overflow: hidden; padding: 22px 0; border-block: 1px solid #000; }
.tideline-track { display: flex; align-items: center; width: max-content; animation: tide 40s linear infinite; font: 600 clamp(20px, 2.2vw, 30px)/1 var(--f-display); letter-spacing: -.02em; }
.tideline-track em { font: italic 400 1.1em/1 var(--f-serif); color: var(--brass-l); }
.tideline-track i { width: 7px; height: 7px; margin: 0 34px; border: 1px solid var(--brass-l); transform: rotate(45deg); }
.tideline:hover .tideline-track { animation-play-state: paused; }
@keyframes tide { to { transform: translateX(-50%); } }
/* The CEO wants this ticker moving even with Windows animations off; hover still pauses it. */
@media (prefers-reduced-motion: reduce) {
  .tideline-track { animation-duration: 40s !important; animation-iteration-count: infinite !important; }
}

/* ---------- services index ---------- */
.sec-side { grid-column: 1 / span 4; align-self: start; position: sticky; top: 120px; }
.sec-side .link-arrow { margin-top: 30px; }
.index { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.index li { border-top: 1px solid var(--line); }
.index a {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 64px 1fr 40px; grid-template-areas: "no title go" "no desc go";
  column-gap: 16px; row-gap: 6px; padding: 28px 22px;
  transition: color .4s;
}
.index a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.index a::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(28, 200, 214, .26), transparent 70%), radial-gradient(rgba(242, 239, 231, .07) 1px, transparent 1.3px) 0 0 / 22px 22px; transition: opacity .4s; }
.index a:hover, .index a:focus-visible { color: var(--white); }
.index a:hover::before, .index a:focus-visible::before { transform: scaleY(1); }
.index a:hover::after { opacity: 1; }
.ix-no { grid-area: no; font: italic 400 30px/1 var(--f-serif); color: var(--brass-d); transition: color .4s; }
.ix-title { grid-area: title; font: 650 clamp(26px, 2.6vw, 38px)/1.05 var(--f-display); letter-spacing: -.025em; }
.ix-desc { grid-area: desc; color: var(--muted); max-width: 50ch; transition: color .4s; }
.index a:hover .ix-desc { color: rgba(242, 239, 231, .78); }
.index a:hover .ix-no { color: var(--brass-l); }
.ix-go { grid-area: go; align-self: center; justify-self: end; font-size: 22px; transition: transform .4s var(--ease), color .4s; }
.index a:hover .ix-go { transform: translateX(6px); color: var(--aqua); }

/* ---------- products catalog: tab list (cols 1-5) drives a spec sheet (cols 6-12) ---------- */
.catalog { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.cat-tabs { grid-column: 1 / span 5; position: relative; display: flex; flex-direction: column; }
.cat-tabs::before { content: ""; height: 5px; border-block: 1px solid var(--ink); opacity: .75; }
.cat-marker { position: absolute; left: 0; top: 0; z-index: 1; width: 3px; height: var(--h, 0); background: var(--brass); transform: translateY(var(--y, 0)); transition: transform .55s var(--ease), height .55s var(--ease), background-color .4s; }
.cb-on .cat-marker { background: #7b5cff; }
.cat-tab {
  position: relative; flex: 1; width: 100%;
  display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "no name new" "no kind new"; align-content: center; column-gap: 12px; row-gap: 4px;
  padding: 16px 18px 16px 22px; border: 0; border-bottom: 1px solid var(--line); background: none;
  color: var(--muted); text-align: left; cursor: pointer;
  transition: color .3s, background-color .3s;
}
.cat-tab:hover { color: var(--ink); background: rgba(255, 253, 248, .45); }
.cat-tab.on { color: var(--ink); background: rgba(255, 253, 248, .85); }
.ct-no { grid-area: no; font: italic 400 24px/1.3 var(--f-serif); color: var(--brass-d); }
.ct-name { grid-area: name; font: 650 clamp(21px, 1.9vw, 27px)/1.1 var(--f-display); letter-spacing: -.02em; transition: transform .45s var(--ease); }
.ct-kind { grid-area: kind; font: 400 12px/1.4 var(--f-mono); color: var(--muted); transition: transform .45s var(--ease); }
.cat-tab.on .ct-name, .cat-tab.on .ct-kind { transform: translateX(6px); }
.ct-flag { grid-area: new; align-self: center; font: 600 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: linear-gradient(135deg, #7b5cff, #4c26da); color: #fff; box-shadow: 0 6px 16px -6px rgba(76, 38, 218, .7); }
.ct-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--brass), var(--aqua)); transform: scaleX(0); transform-origin: left; }
.autoplay .cat-tab.on .ct-bar { animation: ctbar 8s linear forwards; }
.catalog:hover .ct-bar, .catalog.paused .ct-bar { animation-play-state: paused !important; }
@keyframes ctbar { to { transform: scaleX(1); } }

.cat-stage { grid-column: 6 / span 7; position: relative; isolation: isolate; display: grid; overflow: hidden; border-radius: var(--r); color: var(--linen); box-shadow: inset 0 0 0 1px rgba(216, 188, 132, .22), 0 50px 90px -60px rgba(10, 22, 40, .95); }
.spec { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3vw, 44px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.spec.on { opacity: 1; visibility: visible; transition: opacity .4s .08s, visibility 0s; }
.spec:focus-visible { outline-offset: -6px; }
.spec::after { content: attr(data-n); position: absolute; right: clamp(18px, 2.4vw, 34px); top: -.16em; z-index: -1; font: italic 400 clamp(150px, 16vw, 240px)/1 var(--f-serif); color: transparent; -webkit-text-stroke: 1px rgba(216, 188, 132, .32); pointer-events: none; }
.spec.on::after { animation: numIn 1.1s var(--ease) both; }
.spec.on > * { animation: specIn .8s var(--ease) both; }
.spec.on > :nth-child(2) { animation-delay: .06s; }
.spec.on > :nth-child(3) { animation-delay: .12s; }
.spec.on > :nth-child(4) { animation-delay: .18s; }
.spec.on > :nth-child(5) { animation-delay: .24s; }
.spec.on > :nth-child(6) { animation-delay: .3s; }
.spec.on > :nth-child(7) { animation-delay: .36s; }
@keyframes specIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes numIn { from { opacity: 0; transform: translateY(40px); } }
.spec-tag { font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-l); }
.spec-name { font: 700 clamp(38px, 3.8vw, 58px)/.96 var(--f-display); letter-spacing: -.035em; }
.spec-line { max-width: 46ch; font-size: 17px; color: rgba(242, 239, 231, .8); }

.readout { min-height: 104px; margin: 4px 0; }
.flow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 12px 26px; }
.flow li { position: relative; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(242, 239, 231, .2); font: 500 12.5px/1 var(--f-mono); color: rgba(242, 239, 231, .72); }
.flow li + li::before { content: "→"; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); color: rgba(216, 188, 132, .6); }
.spec.on .flow li { animation: chip 6s var(--ease) infinite both; animation-delay: calc(var(--i) * .7s + .5s); }
@keyframes chip {
  0%, 100% { background: transparent; color: rgba(242, 239, 231, .72); border-color: rgba(242, 239, 231, .2); box-shadow: none; }
  6% { background: var(--aqua); color: var(--ink); border-color: var(--aqua); box-shadow: 0 0 26px rgba(28, 200, 214, .45); }
  16%, 78% { background: rgba(28, 200, 214, .12); color: var(--linen); border-color: rgba(28, 200, 214, .5); box-shadow: none; }
}
.rings { position: relative; width: 150px; height: 112px; perspective: 380px; }
.ring { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; border: 1.5px solid rgba(216, 188, 132, .9); }
.r1 { animation: r1 10s linear infinite; }
.r2 { border-color: rgba(28, 200, 214, .75); animation: r2 14s linear infinite; }
.r3 { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-style: dashed; border-color: rgba(242, 239, 231, .5); animation: r3 8s linear infinite; }
.core { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--brass-l); box-shadow: 0 0 18px rgba(216, 188, 132, .8); }
@keyframes r1 { from { transform: rotateZ(0) rotateX(66deg); } to { transform: rotateZ(360deg) rotateX(66deg); } }
@keyframes r2 { from { transform: rotateZ(0) rotateY(66deg); } to { transform: rotateZ(-360deg) rotateY(66deg); } }
@keyframes r3 { from { transform: rotateY(0) rotateX(20deg); } to { transform: rotateY(360deg) rotateX(20deg); } }

.spec-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: rgba(242, 239, 231, .82); }
.spec-points li { display: grid; grid-template-columns: 20px 1fr; }
.spec-points li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; border: 1px solid var(--brass-l); transform: rotate(45deg); }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 0; border-top: 1px solid var(--line-dk); }
.cells div { padding-top: 16px; }
.cells div + div { padding-left: 18px; border-left: 1px solid var(--line-dk); }
.cells dt { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.cells dd { margin: 10px 0 0; font: 700 clamp(20px, 1.8vw, 27px)/1.05 var(--f-display); letter-spacing: -.02em; }
.cells small { margin-left: 3px; font: 400 13px/1 var(--f-body); letter-spacing: 0; opacity: .6; }
.cells dd a { color: var(--aqua); border-bottom: 1px solid currentColor; }
.spec .link-arrow { margin-top: auto; align-self: flex-start; }

.shelf-note { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: var(--gap); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.shelf-note p a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.shelf-note p a:hover { border-color: var(--teal); }
.shelf-note .link-arrow { white-space: nowrap; }

/* ---------- process ---------- */
.steps { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-top: 48px; }
.steps-rail { position: absolute; left: 0; right: 0; top: 8px; height: 5px; border-block: 1px solid var(--line); }
.steps-fill { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: linear-gradient(90deg, var(--brass), var(--aqua)); }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px 28px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.step-dot { position: absolute; left: 24px; top: -48px; width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid var(--brass); background: var(--linen); transition: background-color .4s, box-shadow .4s; }
.step.lit .step-dot { background: var(--brass); box-shadow: 0 0 0 6px rgba(176, 141, 87, .18); }
.step-no { font: italic 400 34px/1 var(--f-serif); color: var(--brass-d); }
.step h3 { font: 650 clamp(22px, 2vw, 27px)/1.1 var(--f-display); letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 16px; }
.process-link { grid-column: 1 / -1; margin-top: 40px; }

/* ---------- Fort Pierce ---------- */
.coast { overflow: hidden; }
.coast .h2 { max-width: 16ch; }
.coast-copy { grid-column: 1 / span 7; align-self: center; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.sectors a { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(242, 239, 231, .24); font-weight: 500; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.sectors a:hover { background: var(--brass-l); border-color: var(--brass-l); color: var(--ink); }
.coast-card { grid-column: 9 / span 4; padding: 30px; border-radius: var(--r); border: 1px solid var(--line-dk); background: rgba(9, 20, 36, .6); backdrop-filter: blur(10px); }
.coord { display: grid; font: italic 400 clamp(40px, 3.8vw, 56px)/1 var(--f-serif); color: var(--brass-l); padding-bottom: 22px; border-bottom: 1px solid var(--line-dk); }
.addr { margin: 0; }
.addr div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dk-2); }
.addr dt { font: 500 11px/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.addr dd { margin: 0; font-size: 15.5px; }
.coast-card .link-arrow { margin-top: 24px; }

/* ---------- guides (subgrid keeps every column on the page grid) ---------- */
.guides { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--line); }
.guide { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); position: relative; }
.g-no { grid-column: 1 / span 2; font: italic 400 26px/1 var(--f-serif); color: var(--brass-d); }
.g-t { grid-column: 3 / span 7; font: 650 clamp(24px, 2.6vw, 38px)/1.1 var(--f-display); letter-spacing: -.025em; transition: transform .45s var(--ease), color .3s; }
.g-k { grid-column: 10 / span 3; justify-self: end; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.g-k::after { content: "→"; font-size: 16px; color: var(--teal); transition: transform .4s var(--ease); }
.guide::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.guide:hover::before { transform: scaleX(1); }
.guide:hover .g-t { transform: translateX(14px); color: var(--teal-d); }
.guide:hover .g-k::after { transform: translateX(5px); }

/* ---------- POS ---------- */
.pos { background: var(--linen-2); border-block: 1px solid var(--line); }
.pos::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .4; pointer-events: none; }
.pos-copy { grid-column: 1 / span 6; align-self: center; }
.pos-copy .h2 { max-width: 13ch; }
.pos-copy .sec-text { max-width: 52ch; }
.pos-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.pos-list li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.pos-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 11px; height: 2px; background: var(--teal); }
.pos-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pos-note { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 56ch; }
.pos-side { grid-column: 8 / span 5; align-self: center; display: flex; justify-content: center; padding-block: 24px; }

.receipt {
  position: relative; margin: 0; width: min(100%, 430px); padding: 30px 30px 26px;
  background: var(--white); color: var(--ink); font: 400 13px/1.5 var(--f-mono);
  transform: rotate(1.5deg); filter: drop-shadow(0 26px 34px rgba(10, 22, 40, .22)) drop-shadow(0 2px 2px rgba(10, 22, 40, .08));
}
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; }
.receipt::before { top: -12px; background: linear-gradient(45deg, var(--white) 6px, transparent 0) 0 0 / 12px 12px repeat-x, linear-gradient(-45deg, var(--white) 6px, transparent 0) 0 0 / 12px 12px repeat-x; }
.receipt::after { bottom: -12px; background: linear-gradient(135deg, var(--white) 6px, transparent 0) 0 0 / 12px 12px repeat-x, linear-gradient(-135deg, var(--white) 6px, transparent 0) 0 0 / 12px 12px repeat-x; }
.rc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(10, 22, 40, .35); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rc-head b { font-size: 12px; font-weight: 600; color: var(--ink); }
.rc-rows { margin: 10px 0 0; }
.rc-rows div { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.rc-rows div::after { content: ""; order: 1; flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(10, 22, 40, .35); transform: translateY(-4px); }
.rc-rows dt { color: var(--ink-2); }
.rc-rows dd { order: 2; margin: 0; text-align: right; }
.rc-head:not(.rc-own) + .rc-rows dd { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(168, 58, 40, .7); text-decoration-thickness: 1.5px; }
.rc-cut { position: relative; margin: 20px -30px; border-top: 2px dashed rgba(10, 22, 40, .22); }
.rc-cut::before { content: "\2702"; position: absolute; left: 16px; top: -12px; padding: 0 4px; font-size: 15px; line-height: 1; color: var(--muted); background: var(--white); }
.rc-own b { color: var(--teal-d); }
.rc-own + .rc-rows dd { color: var(--teal-d); font-weight: 600; }
.receipt figcaption { margin-top: 18px; padding: 12px 120px 0 0; border-top: 1px dashed rgba(10, 22, 40, .35); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rc-stamp {
  position: absolute; right: 18px; bottom: 10px; transform: rotate(-12deg);
  padding: 6px 14px 5px; border: 3px double var(--teal); border-radius: 8px;
  font: 700 22px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
  opacity: .85; mix-blend-mode: multiply;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-copy, .hero-side, .sec-side, .index, .cat-stage, .coast-copy, .coast-card, .pos-copy, .pos-side { grid-column: 1 / -1; }
  .pos-side { margin-top: 48px; }
  .hero-side { max-width: 620px; }
  .hero-side .seal { left: auto; right: -20px; bottom: -44px; --s: 100px; }
  .sec-side { position: static; margin-bottom: 40px; }
  .fact { grid-column: span 6; margin-top: 28px; }
  .cat-tabs { display: none; }
  .cat-stage { gap: 40px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .cat-stage > .contours { display: none; }
  .spec { grid-area: auto; opacity: 1; visibility: visible; overflow: hidden; border-radius: var(--r); isolation: isolate; box-shadow: inset 0 0 0 1px rgba(216, 188, 132, .22); }
  .spec:not(.cb-spec) { background: var(--navy) radial-gradient(rgba(242, 239, 231, .07) 1px, transparent 1.3px) 0 0 / 22px 22px; }
  .spec .flow li { animation: chip 6s var(--ease) infinite both; animation-delay: calc(var(--i) * .7s + .5s); }
  .spec .link-arrow { margin-top: 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; }
  .steps-rail { display: none; }
  .coast-card { margin-top: 48px; max-width: 520px; }
}
@media (max-width: 640px) {
  .fact { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 44px 1fr 24px; padding: 22px 8px; }
  .g-no { grid-column: 1 / span 3; }
  .g-t { grid-column: 4 / -1; }
  .g-k { display: none; }
  .shelf-note { flex-direction: column; }
  .cells div + div { padding-left: 12px; }
  .cells dd { font-size: 19px; }
  .flow { gap: 8px; }
  .flow li + li::before { display: none; }
  .spec::after { font-size: 120px; }
  .pos-list { grid-template-columns: 1fr; }
  .receipt { padding: 26px 20px 22px; font-size: 12px; transform: none; }
  .rc-cut { margin-inline: -20px; }
  .rc-rows dt { flex: 0 1 auto; }
}
