/* Leader Interiors. Their colours, measured from their logo file: navy and four blues in bands. */
:root {
  --navy: #0d1461;      /* logo wordmark and tagline bar */
  --royal: #00199f;     /* logo band */
  --steel: #00619c;     /* logo band */
  --blue: #0076c8;      /* logo band */
  --cyan: #00aeef;      /* logo band (on navy only: too light for text on paper) */
  --timber: #9a6b43;    /* supporting tone: the oak of their joinery */
  --slate: #4f5866;     /* supporting tone: muted text */
  --paper: #f3f1ec;     /* warm board white */
  --white: #fff;
  --ink: #10173f;
  --line: rgba(13, 20, 97, .14);
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Varela Round", "Nunito", "Quicksand", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --head: 68px;
  --bar: 74px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: .18em; }
h1, h2, h3, .h2, .h3 { font-family: var(--round); color: var(--navy); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 800; }
.h2, h2 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
.h3, h3 { font-size: 1.375rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.small { font-size: .875rem; color: var(--slate); }
.kicker { display: flex; align-items: center; gap: 12px; font: 700 .8125rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.lede { font-size: clamp(1.125rem, 2.6vw, 1.375rem); line-height: 1.5; color: var(--slate); max-width: 34em; }

/* the motif: their logo's four bands */
.bands { display: inline-flex; flex-direction: column; width: 30px; height: 14px; border-radius: 3px; overflow: hidden; flex: none; }
.bands i { flex: 1; } .bands i:nth-child(1) { background: var(--cyan); } .bands i:nth-child(2) { background: var(--blue); } .bands i:nth-child(3) { background: var(--steel); } .bands i:nth-child(4) { background: var(--royal); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: 750 1rem/1 var(--round); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--royal); border-color: var(--royal); }
.btn:active { transform: scale(.98); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 750 1rem var(--round); color: var(--royal); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link svg { width: 18px; height: 18px; }

/* header: hides on the way down, comes back on the way up */
.head { position: sticky; top: 0; z-index: 40; background: rgba(243, 241, 236, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease); }
.head.is-hidden { transform: translateY(-100%); }
.head-in { display: flex; align-items: center; gap: 18px; height: var(--head); }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.logo-w { display: none; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 9px 12px; border-radius: 999px; color: var(--navy); font: 650 .9375rem var(--round); text-decoration: none; white-space: nowrap; }
.nav a:hover { background: rgba(0, 118, 200, .1); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.head-call { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font: 750 1rem var(--round); text-decoration: none; white-space: nowrap; }
.head-call svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
/* the progress line: a tape in their four bands, with millimetre ticks */
.tape { position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; pointer-events: none; }
.tape-fill { height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: linear-gradient(var(--cyan) 0 25%, var(--blue) 25% 50%, var(--steel) 50% 75%, var(--royal) 75%); -webkit-mask: repeating-linear-gradient(90deg, #000 0 9px, rgba(0,0,0,.55) 9px 10px); mask: repeating-linear-gradient(90deg, #000 0 9px, rgba(0,0,0,.55) 9px 10px); }
@media (max-width: 1080px) {
  .head-call span { display: none; }
  .head-call { width: 44px; height: 44px; justify-content: center; border: 2px solid var(--navy); border-radius: 50%; margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--navy); background: none; color: var(--navy); font: 750 .9375rem var(--round); cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -5px; } .menu-lines::after { top: 5px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-5px) rotate(-45deg); }
  html.js .nav { position: fixed; inset: var(--head) 0 0 0; margin: 0; background: var(--navy); padding: 28px var(--gut); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  html.js .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  html.js .nav ul { flex-direction: column; gap: 4px; }
  html.js .nav a { color: #fff; font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: 800; padding: 6px 0; border-radius: 0; }
  html.js .nav a[aria-current="page"] { background: none; color: var(--cyan); }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .head-in { flex-wrap: wrap; height: auto; padding: 10px var(--gut); }
  html:not(.js) .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
}

/* phone bar: the number never leaves the screen */
.bar { position: fixed; z-index: 39; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 241, 236, .96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bar .btn { min-height: 52px; padding: 0 16px; }
.bar-call { flex: 1 1 auto; }
.bar-quote { flex: 0 0 auto; transition: opacity .25s, max-width .35s var(--ease), padding .35s; max-width: 140px; overflow: hidden; }
.bar.is-slim .bar-quote { max-width: 0; padding: 0; border-width: 0; opacity: 0; }
.bar.is-slim { gap: 0; }
@media (min-width: 1081px) { .bar { display: none; } }
@media (max-width: 1080px) { .foot { padding-bottom: calc(var(--bar) + 24px) !important; } }

/* sections */
.sec { padding: clamp(56px, 9vw, 112px) 0; }
.on-navy { background: var(--navy); color: #dfe5f5; }
.on-navy .h2, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy .kicker { color: var(--cyan); }
.on-navy .lede { color: #c9d2ec; }
.on-navy a:not(.btn) { color: #fff; }
.on-navy .btn-line { color: #fff; border-color: #fff; }

/* opening: editorial, the picture breaks out of the column */
.open { padding: clamp(22px, 6vw, 72px) 0 clamp(28px, 7vw, 96px); overflow: hidden; }
.open .actions { margin-top: 18px; }
.open-grid { display: grid; gap: 28px; align-items: center; }
.open h1 span { display: block; color: var(--steel); }
@media (min-width: 960px) { .open h1 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); } }
.open-pic { margin: 0 calc(-1 * var(--gut)); position: relative; }
.open-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.open-pic figcaption { padding: 10px var(--gut) 0; font-size: .875rem; color: var(--slate); }
.open-pic::after { content: ""; position: absolute; inset: 0 0 auto 0; height: calc(100% - 30px); background: linear-gradient(var(--cyan) 0 25%, var(--blue) 25% 50%, var(--steel) 50% 75%, var(--royal) 75%); transform-origin: 100% 50%; animation: bands-off 1.1s .25s var(--ease) both; pointer-events: none; }
@keyframes bands-off { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (min-width: 960px) {
  .open-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .open-pic { margin: 0 calc(-1 * var(--gut)) 0 0; }
  .open-pic img { border-radius: var(--r) 0 0 var(--r); aspect-ratio: 5 / 4; }
  .open-pic figcaption { padding-left: 0; }
}

/* the story: one tenancy at four stages. Without script: a row to swipe. With it: pinned, scrubbed by scroll. */
.story { background: linear-gradient(var(--paper), #ebe8e1); padding: clamp(48px, 8vw, 96px) 0 24px; }
.story-steps { list-style: none; margin: 0; padding: 0 var(--gut) 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.story-steps::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: center; }
.step-pic { margin: 0; }
.step-pic img { width: 100%; height: auto; }
.step-words { padding: 0 4px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1rem var(--round); margin-bottom: 8px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--slate); max-width: 30em; }
.story-note { font-size: .875rem; color: var(--slate); margin-top: 8px; }
html.js .story.is-live { height: 200svh; padding: 0; }
html.js .story.is-live .story-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--head) + 12px); overflow: hidden; }
html.js .story.is-live .story-head h2 { font-size: clamp(1.75rem, 5.4vw, 3.2rem); margin-bottom: 0; }
html.js .story.is-live .story-steps { position: relative; display: block; overflow: visible; padding: 0; min-height: 0; }
html.js .story.is-live .step { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; }
html.js .story.is-live .step-pic { position: relative; min-height: 0; display: grid; place-items: center; }
html.js .story.is-live .step-pic img { max-height: 100%; width: auto; max-width: min(100%, 980px); object-fit: contain; opacity: var(--o, 0); transform: scale(calc(.985 + var(--o, 0) * .015)); transition: opacity .45s, transform .6s var(--ease); }
html.js .story.is-live .step-words { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) calc(var(--bar) + 8px); opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 14px)); transition: opacity .35s, transform .45s var(--ease); }
html.js .story.is-live .step-words p { margin-bottom: 0; }
html.js .story.is-live .story-note { padding-bottom: calc(var(--bar) + 8px); display: none; }
.story-dots { display: flex; gap: 6px; margin-top: 10px; }
.story-dots i { width: 28px; height: 5px; border-radius: 3px; background: var(--line); transition: background .3s; }
.story-dots i.on { background: var(--blue); }
@media (min-width: 960px) {
  .story-steps { grid-auto-columns: 42%; }
  html.js .story.is-live .step { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr; align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
  html.js .story.is-live .step-words { padding: 0; }
}

/* swipe rows, the next card showing at the edge */
.row { list-style: none; margin: 28px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: thin; }
.row > li { scroll-snap-align: start; }
@media (min-width: 960px) { .row { grid-auto-columns: calc((100% - 2 * var(--gut) - 4 * 14px) / 3.4); } }
.card { display: block; text-decoration: none; color: var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); transition: transform .5s var(--ease), border-radius .5s; }
.card:hover img { transform: scale(.985); border-radius: calc(var(--r) * 1.6); }
.card-t { display: block; font: 800 1.375rem/1.15 var(--round); color: var(--navy); margin-top: 12px; }
.card-s { display: block; font-size: .9375rem; color: var(--slate); }
.frame { margin: 0; } .frame img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* plan teaser */
.plan-tease { display: grid; gap: 24px; }
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35); color: #fff; font: 750 1.0625rem var(--round); text-decoration: none; transition: background .2s, border-color .2s; }
.chip svg { width: 20px; height: 20px; flex: none; }
.chip:hover { background: rgba(0, 174, 239, .16); border-color: var(--cyan); }
@media (min-width: 960px) { .plan-tease { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* proof: a pull-quote set like a magazine */
.proof { display: grid; gap: 36px; }
.pull { margin: 0; font: 750 clamp(1.5rem, 4.4vw, 2.5rem)/1.22 var(--round); color: var(--navy); letter-spacing: -.01em; position: relative; padding-top: 34px; }
.pull::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-size: 5.5rem; color: var(--cyan); line-height: 1; }
.pull p { margin: 0 0 18px; }
.pull footer { font: 600 .9375rem var(--body); color: var(--slate); letter-spacing: 0; }
.pull.light { color: #fff; font-size: clamp(1.25rem, 3.2vw, 1.875rem); }
.pull.light footer { color: #c9d2ec; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 0; }
.facts div { border-top: 4px solid var(--navy); padding-top: 10px; }
.facts dt { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.facts dd { margin: 4px 0 0; font: 800 1.5rem/1.1 var(--round); color: var(--navy); }
@media (min-width: 960px) { .proof { grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: end; } }

/* factory */
.factory-grid { display: grid; gap: 28px; align-items: center; }
.factory-pic { margin: 0 calc(-1 * var(--gut)); }
.factory-pic img { aspect-ratio: 16 / 9; object-fit: cover; }
.factory-pic img { width: 100%; }
@media (min-width: 960px) { .factory-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } .factory-pic { margin: 0 0 0 calc(-1 * var(--gut)); } .factory-pic img { border-radius: 0 var(--r) var(--r) 0; } }

/* inner pages */
.top { padding: clamp(28px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); }
.top-grid { display: grid; gap: 28px; align-items: center; }
.top-pic { margin: 0 calc(-1 * var(--gut)); }
.top-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .top-grid { grid-template-columns: 1fr 1fr; gap: 56px; } .top-pic { margin: 0 calc(-1 * var(--gut)) 0 0; } .top-pic img { border-radius: var(--r) 0 0 var(--r); } }
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(1.75rem, 4.4vw, 2.5rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.dropcap::first-letter { float: left; font: 800 4.2em/.8 var(--round); color: var(--blue); margin: .06em .1em 0 0; }
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.split figure { margin: 0; } .split figure img { border-radius: var(--r); width: 100%; }
.break-r figcaption { font-size: .875rem; color: var(--slate); margin-top: 8px; }
@media (min-width: 960px) { .break-r { margin-right: calc(-1 * var(--gut)) !important; } .break-r img { border-radius: var(--r) 0 0 var(--r) !important; } }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; columns: 2; column-gap: 24px; }
.ticks li { break-inside: avoid; padding: 6px 0 6px 26px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .9em; width: 14px; height: 8px; border-radius: 2px; background: linear-gradient(var(--cyan) 0 25%, var(--blue) 25% 50%, var(--steel) 50% 75%, var(--royal) 75%); }
.steps-list { margin: 0; padding-left: 1.2em; } .steps-list li { padding: 4px 0; }
.sector + .sector { padding-top: 0; }
.sector-grid { display: grid; gap: 24px; align-items: start; }
.sector-pic { margin: 0; } .sector-pic img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .sector-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } .sector:nth-of-type(even) .sector-pic { order: 2; } }
.more { margin: 8px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary { cursor: pointer; padding: 14px 0; font: 750 1.0625rem var(--round); color: var(--navy); list-style: none; display: flex; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.more[open] summary::after { content: "\2212"; }
.jobs { list-style: none; margin: 0 0 14px; padding: 0; }
.jobs li { padding: 10px 0; border-top: 1px solid var(--line); }
.jobs li:first-child { border-top: 0; }
.jobs b { display: block; color: var(--navy); }
.jobs span { font-size: .9375rem; color: var(--slate); }

/* projects: gallery by sector, filtered with no script */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter .chip { min-height: 44px; padding: 0 18px; border-color: var(--line); color: var(--navy); font-size: .9375rem; cursor: pointer; position: relative; }
.filter input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.filter .chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .chip:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.pgrid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: 1fr 1fr 1fr; } }
.pj { background: #fff; border-radius: 14px; padding: 16px 18px; border-left: 6px solid var(--blue); }
.pj[data-k="medical"] { border-color: var(--cyan); } .pj[data-k="food"] { border-color: var(--blue); } .pj[data-k="retail"] { border-color: var(--steel); } .pj[data-k="home"] { border-color: var(--timber); }
.pj-k { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.pj b { display: block; font: 750 1.0625rem/1.3 var(--round); color: var(--navy); margin: 2px 0; }
.pj > span:last-child:not(.pj-k) { font-size: .9375rem; color: var(--slate); }
.filter:has(input[value="medical"]:checked) ~ .pgrid .pj:not([data-k="medical"]),
.filter:has(input[value="food"]:checked) ~ .pgrid .pj:not([data-k="food"]),
.filter:has(input[value="retail"]:checked) ~ .pgrid .pj:not([data-k="retail"]),
.filter:has(input[value="home"]:checked) ~ .pgrid .pj:not([data-k="home"]) { display: none; }
.lic { width: 100%; border-collapse: collapse; margin-top: 18px; }
.lic th, .lic td { text-align: left; padding: 14px 10px 14px 0; border-top: 1px solid rgba(255,255,255,.2); vertical-align: top; }
.lic thead th { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.lic tbody th { color: #fff; font-family: var(--round); }
@media (max-width: 560px) { .lic thead { display: none; } .lic tr { display: grid; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); } .lic th, .lic td { border: 0; padding: 2px 0; } }

/* the planner */
.plan-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; } .brief { position: sticky; top: calc(var(--head) + 20px); } }
.plan-form fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.plan-form legend { display: flex; align-items: center; gap: 12px; font: 800 1.5rem/1.2 var(--round); color: var(--navy); margin-bottom: 14px; padding: 0; }
.plan-form legend span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1rem; flex: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); font: 650 .9688rem var(--round); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt input[type="checkbox"]:checked + span::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); margin-right: 10px; }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.range { display: block; margin-bottom: 16px; }
.range > span { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.range output { font: 800 1.75rem var(--round); color: var(--blue); }
.range input { width: 100%; accent-color: var(--royal); height: 32px; }
.field { display: block; font-weight: 600; color: var(--navy); }
.field input { display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; }
.brief { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 18px 50px rgba(13, 20, 97, .1); border-top: 8px solid var(--navy); }
.brief-sheet { font: 650 1.125rem/1.5 var(--round); color: var(--navy); margin-bottom: 18px; }
.brief-sheet p { margin: 0 0 10px; }
.brief-sheet .b-muted { color: var(--slate); font: 400 1rem/1.5 var(--body); }
.brief-like h2 { font-size: 1.125rem; margin-bottom: 6px; }
.brief-like ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: .9375rem; }
.brief-like li { padding: 6px 0; border-top: 1px solid var(--line); }
.brief-like li b { color: var(--navy); }
.brief .btn { width: 100%; }
html:not(.js) .brief { display: none; }

/* contact and forms */
.contact { margin: 0; display: grid; gap: 22px; }
.contact dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.contact dd { margin: 4px 0 0; font: 750 1.375rem/1.35 var(--round); color: var(--navy); }
.contact dd a { color: var(--navy); }
.form-card { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 18px 50px rgba(13, 20, 97, .08); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 650; color: var(--navy); }
.form input, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: none; }
.drawer-note { background: rgba(0, 174, 239, .12); color: var(--navy); border-radius: 12px; padding: 10px 14px; font-size: .9375rem; }

/* the quote drawer rises over the page */
.drawer { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: none; max-height: 92svh; background: transparent; color: var(--ink); }
.drawer::backdrop { background: rgba(13, 20, 97, .45); }
.drawer-in { background: var(--paper); border-radius: 24px 24px 0 0; padding: 22px var(--gut) calc(24px + env(safe-area-inset-bottom)); max-height: 92svh; overflow: auto; }
.drawer[open] .drawer-in { animation: rise .45s var(--ease); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.drawer-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.drawer-top h2 { font-size: 1.875rem; }
.x { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy); background: none; color: var(--navy); display: grid; place-items: center; cursor: pointer; flex: none; }
.x svg { width: 20px; height: 20px; }
@media (min-width: 760px) { .drawer { margin: auto; max-width: 600px; } .drawer-in { border-radius: 24px; padding: 28px; } }

/* footer */
.foot { background: var(--ink); color: #c7cde3; padding: 56px 0 32px; font-size: .9375rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-top { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.foot-top > div:first-child, .foot-top > div:nth-child(2) { grid-column: 1 / -1; }
.foot-brand img { height: 44px; width: auto; margin-bottom: 12px; }
.foot h2 { font: 700 .8125rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-lic { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; color: #a9b1cf; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8125rem; color: #a9b1cf; }
.foot-legal a { color: #a9b1cf; }
@media (max-width: 899px) { .foot { padding-top: 36px; } .foot-top { gap: 20px; } .foot-brand p { display: none; } .foot-brand img { margin-bottom: 0; } .foot-lic { margin-top: 20px; padding-top: 14px; } }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-top > div:first-child, .foot-top > div:nth-child(2) { grid-column: auto; } }

/* sections arrive as they are scrolled to */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }

/* a card's picture grows into the top of its own page */
@view-transition { navigation: auto; }
::view-transition-group(hero) { animation-duration: .5s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
  .open-pic::after { display: none; }
  @view-transition { navigation: none; }
}
@media print { .head, .bar, .drawer, .tape { display: none !important; } }
