/* Mill & Key: shared header, phone menu, footer, photographs and inner-page layout.
   Loaded after site.css on every page. site.css holds the base styles and the homepage. */

:root {
  --s-sub: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --s-page: clamp(1.85rem, 1.3rem + 2.3vw, 3.25rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
  --z-menu: 70;
}

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 40; transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.topbar .bar { padding-block: 14px; }
.topbar.floating { background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 0 1px 0 var(--paper-3); }
.topbar.tucked { transform: translateY(-110%); }
.page > .topbar { margin-inline: calc(var(--gap) * -1); padding-inline: var(--gap); }
.bar nav { gap: 4px clamp(14px, 1.8vw, 26px); }
.bar nav a { position: relative; white-space: nowrap; }
.bar nav a:not(.nav-cta):hover, .bar nav a[aria-current] { text-decoration: none; }
.bar nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; border-radius: 2px; background: var(--brass-fill); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
.bar nav a:not(.nav-cta):hover::after, .bar nav a[aria-current]::after { transform: scaleX(1); }
.bar nav .nav-cta { padding: 0 1.2em; border-radius: 999px; background: var(--field); color: var(--on-field); font-weight: 600; transition: background-color .2s var(--ease); }
.bar nav .nav-cta:hover { background: var(--field-2); text-decoration: none; }
.nav-only-menu { display: none !important; }
.menu-btn { display: none; }
@media (min-width: 961px) { .topbar .bar, .topbar .bar nav { flex-wrap: nowrap; } }

/* ---------- phone menu (the button is added by motion.js, so without scripts the links simply wrap) ---------- */
@media (max-width: 960px) {
  .has-menu .topbar .bar { flex-wrap: nowrap; }
  .has-menu .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink); font: inherit; font-size: var(--s-small); font-weight: 600; cursor: pointer; position: relative; z-index: calc(var(--z-menu) + 2); transition: background-color .3s var(--ease), color .3s var(--ease); }
  .menu-btn .menu-icon { position: relative; width: 18px; height: 12px; }
  .menu-btn .menu-icon::before, .menu-btn .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-btn .menu-icon::before { top: 1px; }
  .menu-btn .menu-icon::after { top: 9px; }
  .menu-open .menu-btn { position: fixed; top: 18px; right: var(--gutter); background: var(--field-2); color: var(--on-field); }
  .menu-open .menu-btn .menu-icon::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-btn .menu-icon::after { top: 5px; transform: rotate(-45deg); }
  .menu-open .wordmark { position: fixed; top: 14px; left: var(--gutter); z-index: calc(var(--z-menu) + 1); color: var(--on-field); }
  .has-menu .bar nav { position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 100px var(--gutter) 40px; background: var(--field); color: var(--on-field); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
  .menu-open .bar nav { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
  .has-menu .bar nav a { min-height: 0; padding: 9px 0; font-size: clamp(1.9rem, 8.5vw, 2.8rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; opacity: 0; transform: translateY(18px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .menu-open .bar nav a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease-out); transition-delay: calc(90ms + var(--i, 0) * 45ms); }
  .has-menu .bar nav a:not(.nav-cta)::after { bottom: 4px; background: var(--marker); }
  .has-menu .bar nav .nav-cta { margin-top: 26px; min-height: 52px; padding: 0 1.6em; background: var(--marker); color: var(--ink); font-size: var(--s-body); letter-spacing: 0; }
  .has-menu .nav-only-menu { display: inline-flex !important; }
  .menu-open, .menu-open body { overflow: hidden; }
  .menu-open .topbar { transform: none; }
}

/* ---------- offer strip on phones ---------- */
@media (max-width: 640px) {
  .offer-strip { padding: 10px 14px; gap: 2px 10px; }
  .offer-strip b { font-size: var(--s-small); }
  .offer-strip .o-terms, .offer-strip .o-go { font-size: .8125rem; }
}

/* ---------- footer ---------- */
.foot .foot-tag { margin-bottom: 18px; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 44px; max-width: none; font-size: var(--s-lead); }
.foot-contact a { text-decoration: none; font-weight: 500; }
.foot-contact a:hover { text-decoration: underline; }
/* Small icons next to phone, WhatsApp and email, wherever they appear. Sized to the text
   around them and coloured to match (currentColor), so no extra colour rules are needed. */
.ic { width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 7px; flex: none; }
a:has(> .ic) { display: inline-flex; align-items: center; }
/* No social accounts are set up yet, so this row is muted and unlinked (not a dead link to
   "#"), with a label saying so, rather than icons that look live but go nowhere. */
.foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: -24px 0 44px; color: var(--ink-soft); }
.soc-label { font-size: var(--s-small); margin-right: 4px; }
.soc { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; cursor: default; }
.soc svg { width: 100%; height: 100%; }

/* ---------- photographs ----------
   Every picture sits in a .shot frame. With motion on, it starts as a mill-green duotone,
   rises into view from the bottom edge, then warms into full colour: the lights coming on. */
.pic { margin: 0; }
.pic figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--ink-soft); }
.shot { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--field); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot-arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); }
.shot-band { aspect-ratio: 16 / 7; }
.shot-wide { aspect-ratio: 4 / 3; }
.shot-tall { aspect-ratio: 3 / 4; }
.shot-square { aspect-ratio: 1; }
.mo-live .shot { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s var(--ease-in-out); }
.mo-live .shot.is-in { clip-path: inset(0 0 0 0); }
.mo-live .shot img { filter: grayscale(1) contrast(1.06); scale: 1.16; translate: 0 var(--py, 0px); transition: filter 1.5s ease .6s, scale 2s var(--ease-out); }
.mo-live .shot.is-in img { filter: saturate(.94); scale: 1.1; }
.mo-live .shot::after { content: ""; position: absolute; inset: 0; background: var(--field); mix-blend-mode: lighten; pointer-events: none; transition: opacity 1.5s ease .6s; }
.mo-live .shot.is-in::after { opacity: 0; }
@media (max-width: 560px) { .shot-band { aspect-ratio: 3 / 2; } }

/* ---------- inner pages: opening ---------- */
.inner { display: block; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(24px, 5vh, 64px); padding-bottom: clamp(40px, 6vw, 88px); }
.hs-copy .crumb { font-size: var(--s-small); color: var(--ink-soft); margin-bottom: clamp(20px, 3vw, 36px); }
.hs-copy .crumb a { color: inherit; }
.hs-copy h1 { font-size: var(--s-page); line-height: 1.02; letter-spacing: -0.035em; }
.hs-copy .lead { font-size: var(--s-lead); line-height: 1.35; margin: 24px 0 0; max-width: 36ch; }
.hs-copy .updated { margin: 18px 0 0; font-size: var(--s-small); color: var(--ink-soft); max-width: none; }
.hs-copy .cta-row { margin-top: 28px; }
.hs-pic { justify-self: end; width: min(100%, 440px); }
.mo-live:not(.mo-ready) .hs-copy > :not(.crumb) { opacity: 0; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hs-pic { justify-self: start; width: min(100%, 420px); }
}

/* ---------- inner pages: reading column ---------- */
.inner > .doc { padding-top: 8px; }
.inner > .doc:first-child { padding-top: 32px; }
.inner > .doc > h1 { font-size: var(--s-page); line-height: 1; letter-spacing: -0.035em; margin-bottom: 18px; }
.inner .doc > h2 { font-size: var(--s-sub); letter-spacing: -0.02em; line-height: 1.05; margin: clamp(64px, 8vw, 96px) 0 18px; scroll-margin-top: 96px; }
.inner .doc > h2:first-child { margin-top: 24px; }
.inner .doc h3 { scroll-margin-top: 96px; }
.doc .breakout { --w: min(1160px, calc(100vw - 2 * var(--gap) - 18px)); width: var(--w); max-width: none; margin: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 88px) calc(50% - var(--w) / 2); }
.doc .pair { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: end; margin: clamp(40px, 6vw, 72px) 0; }
.doc .facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.doc .facts li { margin: 0; max-width: none; background: var(--paper-2); border-radius: var(--radius); padding: 18px 20px; font-size: var(--s-small); color: var(--ink-soft); line-height: 1.4; }
.doc .facts b { display: block; font-size: var(--s-sub); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--field); margin-bottom: 8px; }
@media (max-width: 640px) { .doc .facts { grid-template-columns: 1fr; } .doc .facts li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); align-items: center; gap: 12px; } .doc .facts b { margin: 0; } }

/* ---------- "On this page" (built by motion.js on wide screens) ---------- */
.toc { display: none; }
@media (min-width: 1280px) {
  .toc { display: block; position: fixed; z-index: 10; left: max(20px, calc(50vw - 380px - 252px)); top: 24vh; width: 204px; font-size: var(--s-small); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
  .toc.on { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .toc p { margin: 0 0 10px; font-weight: 600; }
  .toc .toc-list { position: relative; padding-left: 16px; }
  .toc .toc-list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--paper-3); }
  .toc ol { list-style: none; margin: 0; padding: 0; }
  .toc .mark { position: absolute; left: 0; top: 0; width: 2px; height: var(--h, 24px); border-radius: 2px; background: var(--brass-fill); transform: translateY(var(--y, 0px)); transition: transform .45s var(--ease-out), height .45s var(--ease-out); }
  .toc a { display: block; padding: 5px 0; line-height: 1.3; color: var(--ink-soft); text-decoration: none; transition: color .2s var(--ease); }
  .toc a:hover, .toc a.on { color: var(--ink); }
}

/* ---------- closing call to action: the key turns as the panel arrives ---------- */
.cta-box { position: relative; overflow: hidden; }
.cta-key { display: none; }
@media (min-width: 680px) {
  .cta-box > :not(.cta-key) { max-width: calc(100% - 150px); }
  .cta-key { display: block; position: absolute; right: clamp(20px, 5%, 48px); top: 50%; width: 92px; height: auto; margin-top: -72px; rotate: -27deg; pointer-events: none; transition: rotate 1.5s cubic-bezier(.34, 1.4, .64, 1) .45s; }
  .mo-live .cta-box:not(.is-in) .cta-key { rotate: 63deg; }
}

/* ---------- cards, contact, forms ---------- */
.cards { list-style: none; padding: 0 !important; margin: 24px 0; display: grid; gap: var(--gap); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards > li { margin: 0; max-width: none; }
.card { display: grid; gap: 8px; align-content: start; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--paper-2); color: inherit; text-decoration: none; transition: background-color .25s var(--ease), translate .3s var(--ease-out); }
a.card:hover { background: var(--paper-3); translate: 0 -3px; }
.doc .card h3 { margin: 0; font-size: var(--s-lead); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
.card p { margin: 0; max-width: none; }
.card .meta { font-size: var(--s-small); color: var(--ink-soft); }
.card .go { margin-top: 6px; font-weight: 600; }
@media (max-width: 640px) { .cards.two { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0 !important; margin: 28px 0; display: grid; gap: var(--gap); }
.contact-list li { margin: 0; max-width: none; display: grid; gap: 2px; padding: 20px 24px; border-radius: var(--radius); background: var(--paper-2); }
.contact-list .k { font-size: var(--s-small); color: var(--ink-soft); }
.contact-list .v { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.01em; }
.contact-list a.v { text-decoration: none; }
.contact-list a.v:hover { text-decoration: underline; }
.contact-list .n { font-size: var(--s-small); color: var(--ink-soft); }

.form { display: grid; gap: 16px; margin-top: 24px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-size: var(--s-small); font-weight: 600; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--paper-2); color: var(--ink); font: inherit; font-size: var(--s-body); font-weight: 400; }
.form textarea { min-height: 150px; resize: vertical; }
.form .consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.form .consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--brass-fill); }
.form .btn { justify-self: start; }


/* ---------- areas: rents table ---------- */
.tblw table.rents td:not(:first-child), .tblw table.rents th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tblw table.rents td:first-child { font-weight: 600; }
.tblw table.rents tr.base td { background: var(--marker); }
.tblw table.rents tr.base td:first-child { border-radius: 10px 0 0 10px; }
.tblw table.rents tr.base td:last-child { border-radius: 0 10px 10px 0; }
@media (max-width: 640px) {
  .tblw table.rents thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tblw table.rents tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 6px; padding: 12px 0; border-bottom: 1px solid var(--paper-3); }
  .tblw table.rents tbody tr:last-child { border-bottom: 0; }
  .tblw table.rents td { display: block; padding: 0; border: 0; text-align: left !important; font-size: .875rem; }
  .tblw table.rents td:first-child { grid-column: 1 / -1; font-size: var(--s-body); }
  .tblw table.rents td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--ink-soft); }
  .tblw table.rents tr.base { background: var(--marker); border-radius: 10px; padding-inline: 10px; margin-inline: -10px; }
  .tblw table.rents tr.base td { background: none; }
}

/* ---------- checklist ---------- */
.doc ul.check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: var(--gap); }
.doc ul.check > li { position: relative; margin: 0; max-width: none; padding: 20px 22px 20px 64px; border-radius: var(--radius); background: var(--paper-2); }
.doc ul.check > li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 8px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231d4a3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.doc ul.check h3 { margin: 2px 0 6px; }
.doc ul.check p { margin: 0 0 8px; }
.doc ul.check p:last-child { margin-bottom: 0; }
.doc ul.check .src { font-size: var(--s-small); color: var(--ink-soft); }
.btn-quiet { background: var(--paper-2); color: var(--ink); }
.btn-quiet:hover { background: var(--paper-3); }

/* ---------- credits ---------- */
.credit-list { list-style: none; padding: 0 !important; margin: 20px 0; display: grid; gap: 10px; }
.credit-list li { margin: 0; max-width: none; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.credit-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.credit-list p { margin: 0; max-width: none; font-size: var(--s-small); }

/* ---------- homepage: photographs ---------- */
.homes { padding-top: clamp(96px, 12vw, 160px); }
.homes-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.homes-head p { margin: 0; font-size: var(--s-lead); line-height: 1.35; max-width: 34ch; }
/* A deliberate grid, not a bento scatter: Bolton Town Hall (where we're based) anchors the
   left in the brand's arch shape, spanning both rows; the other five sit in a true two-row
   grid to its right, reading left to right, top to bottom, as the journey the heading
   describes — terrace, mill conversion, living room, kitchen, then the Quays to finish.
   Fixed row tracks (not each photo's own intrinsic aspect ratio) are what make the edges
   line up; .mosaic .shot fills its cell and the aspect-ratio on shot-wide/tall/arch etc. is
   simply ignored once both box dimensions are already definite from the grid. */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(200px, 19vw, 300px));
  gap: var(--gap);
}
.mosaic .pic { height: 100%; }
.mosaic .shot { width: 100%; height: 100%; }
.mosaic .m-bolton { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.mosaic .m-a { grid-column: 5 / span 4; grid-row: 1; }
.mosaic .m-b { grid-column: 9 / span 4; grid-row: 1; }
.mosaic .m-c { grid-column: 5 / span 3; grid-row: 2; }
.mosaic .m-d { grid-column: 8 / span 2; grid-row: 2; }
.mosaic .m-e { grid-column: 10 / span 3; grid-row: 2; }
/* Six stock photos in six different lights (sunny, overcast, interior) read as a random
   drop rather than a set. A shared lifted-card frame and a faint, permanent brand-green wash
   (on top of the usual duotone-to-colour reveal) tie them together as one coordinated gallery. */
.mosaic .shot { box-shadow: 0 1px 2px rgba(10, 26, 20, .06), 0 20px 34px -22px rgba(10, 26, 20, .4); }
.mo-live .mosaic .shot.is-in::after { opacity: .1; }
.wide-band { padding-top: clamp(72px, 9vw, 128px); }
@media (max-width: 760px) {
  .homes-head { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: var(--gap); }
  .mosaic .pic, .mosaic .shot { height: auto; }
  .mosaic .m-bolton { grid-column: 1 / -1; grid-row: auto; order: 1; }
  .mosaic .m-bolton .shot { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .mosaic .m-a, .mosaic .m-c, .mosaic .m-e { grid-column: 1 / -1; grid-row: auto; }
  .mosaic .m-b, .mosaic .m-d { grid-column: auto; grid-row: auto; }
  .mosaic .m-d { align-self: end; }
  .mosaic .m-a { order: 2; } .mosaic .m-b { order: 3; } .mosaic .m-d { order: 4; } .mosaic .m-c { order: 5; } .mosaic .m-e { order: 6; }
}

/* ---------- print (the checklist is made to be printed) ---------- */
@media print {
  .topbar, .offer-strip, .foot, .toc, .scroll-prog, .to-top, .cta-box, .hs-pic, .breakout, .pair, .no-print { display: none !important; }
  .mo-live .rv, .mo-live .wipe, .split .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-split { display: block; padding: 0; }
  body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .mo-live .shot, .mo-live .shot img, .mo-live .shot::after { clip-path: none; filter: none; scale: none; translate: none; opacity: 1; transition: none; }
  .mo-live .shot::after { display: none; }
  .cta-key { transition: none; }
  .has-menu .bar nav, .has-menu .bar nav a { transition: none; }
}

/* ---------- small pieces ---------- */
.menu-note { margin: 28px 0 0; max-width: none; text-align: center; font-size: var(--s-small); }
.area-list .rent { margin: 10px 0 0; font-size: var(--s-small); }
.area-list .rent b { font-weight: 600; }
/* Homepage photographs sit above the drifting doodles at the page edges. */
.homes, .wide-band { position: relative; z-index: 6; }
/* Wide photographs pass over the "On this page" list instead of sitting under it. */
.doc .breakout { position: relative; z-index: 11; }
/* Contact page: the details sit in the opening, ahead of the photograph. The consent line
   uses ink here (site.css colours it for the green estimate form). */
.hs-copy .contact-list { margin: 28px 0 0; }
.form .consent { color: var(--ink); }
.form .consent a { color: inherit; }

/* Landlords: a year's fee at this rent, us and two comparisons side by side (13 Nov 2026). */
.cost3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.cmp { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px; border-radius: calc(var(--radius) - 4px); background: var(--paper); }
.cmp-name { font-weight: 600; line-height: 1.25; }
.cmp-rate { font-size: var(--s-small); color: var(--ink-soft); }
.cmp-val { margin-top: 14px; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cmp-per { font-size: var(--s-small); color: var(--ink-soft); }
.cmp-track { height: 8px; margin: 14px 0 12px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.cmp-fill { height: 100%; border-radius: inherit; background: var(--ink-soft); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.cmp-diff { margin-top: auto; font-size: var(--s-small); }
.cmp-diff b { font-weight: 600; }
.cmp-us { background: var(--field); color: var(--on-field); }
.cmp-us .cmp-rate, .cmp-us .cmp-per, .cmp-us .cmp-diff { color: var(--on-field-soft); }
.cmp-us .cmp-track { background: rgba(255, 255, 255, .16); }
.cmp-us .cmp-fill { background: var(--brass-fill); }
.saver .cost3 + .keep-f { margin-top: 18px; }
@media (max-width: 640px) {
  .cost3 { grid-template-columns: 1fr; gap: 10px; }
  .cmp { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: baseline; }
  .cmp-name, .cmp-rate, .cmp-track, .cmp-diff { grid-column: 1 / -1; }
  .cmp-val { grid-column: 1; margin-top: 10px; }
  .cmp-per { grid-column: 2; }
  .cmp-track { margin: 10px 0 8px; }
}
