/* 321 Design UK — The Survey Sheet */
@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url(../assets/fonts/anybody-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/schibsted-grotesk-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/schibsted-grotesk-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --sheet: #F4F2FF;
  --sheet-2: #E4E0F7;
  --ink: #1B1464;
  --ink-2: #4B4680;
  --cover: #5B3BFF;
  --contour: #22D3FF;
  --contour-text: #5B3BFF;
  --grid: #22D3FF;
  --grid-text: #0B6E94;
  --on-ink: #F4F2FF;
  --on-ink-2: #BDB7E8;
  --on-cover-2: #E4DEFF;
  --spark: #22D3FF;

  --display: "Anybody", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --gap: clamp(1.25rem, 2.4vw, 2.25rem);
  --sec: clamp(5rem, 11vw, 10rem);
  --head: 3.75rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --cell: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); scrollbar-color: var(--ink) var(--sheet); scrollbar-width: thin; }
body {
  margin: 0;
  background-color: var(--sheet);
  background-image:
    linear-gradient(to right, rgb(20 160 215 / .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(20 160 215 / .16) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--cover); color: #fff; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.services :focus-visible, .foot :focus-visible, .cover :focus-visible, .plot__intro :focus-visible { outline-color: #fff; }

h1, h2, .statement p {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 118%;
  line-height: 1.03;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; line-height: 1.05; letter-spacing: -.015em; }

.wrap { width: min(100%, 86rem); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; flex: none; transition: transform .5s var(--ease); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1.05rem 1.4rem;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.1; text-decoration: none;
  border: 0; cursor: pointer;
  transition: background-color .3s, color .3s, transform .5s var(--ease);
}
.btn:hover .ico { transform: translateX(.3rem); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; color: var(--ink); }
.btn--act { background: var(--cover); color: #fff; }
.btn--act:hover { background: var(--ink); }
.services .btn--act { background: var(--spark); color: var(--ink); }
.services .btn--act:hover { background: #fff; color: var(--ink); }
.btn--small { padding: .7rem 1rem; font-size: .9375rem; white-space: nowrap; }
.btn[disabled] { opacity: .55; cursor: progress; }

.textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.textlink:hover { text-decoration-thickness: 4px; }
.textlink:hover .ico { transform: translate(.15rem, -.15rem); }

/* Top margin of the sheet */
.margin {
  position: sticky; top: 0; z-index: 50;
  height: var(--head);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding-inline: var(--pad);
  background: var(--sheet);
  border-bottom: 2px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 850; font-stretch: 120%; font-size: 1.125rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand .lionmark { width: 1.9rem; }
.refs { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); margin-left: auto; }
.refs a { display: inline-flex; align-items: baseline; gap: .4rem; font-weight: 600; text-decoration: none; padding-block: .5rem; }
.refs b, .foot nav b, .keyhint b { font-size: .8125rem; font-weight: 700; color: var(--grid-text); font-variant-numeric: tabular-nums; }
.refs a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.refs a:hover span, .refs a[aria-current] span { background-size: 100% 2px; }
.refs a[aria-current] b { color: var(--cover); }
.menu { display: none; }

/* Hero: the cover folded over the sheet */
.hero {
  position: relative;
  display: grid; grid-template-columns: clamp(21rem, 35vw, 33rem) 1fr;
  min-height: max(37rem, calc(100svh - var(--head)));
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  background: var(--sheet);
}
.terrain { position: absolute; inset: 0; width: 100%; height: 100%; }
.gridlayer {
  position: absolute; inset: -40px; pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(20 160 215 / .34) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(20 160 215 / .34) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0);
  transition: transform .9s var(--ease);
}
.cover {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 2.6vw, 2.5rem);
  background: var(--cover); color: #fff;
  box-shadow: 14px 0 34px -14px rgb(27 20 100 / .45);
}
.lionmark { display: block; flex: none; aspect-ratio: 979 / 1000; background: currentColor; -webkit-mask: url(../assets/logo/lion-head.png) center / contain no-repeat; mask: url(../assets/logo/lion-head.png) center / contain no-repeat; }
.lockup { display: flex; align-items: center; gap: 1rem; align-self: flex-start; }
.lockup .lionmark { width: clamp(4.25rem, 6.5vw, 6rem); }
.lockup p { font-family: var(--display); line-height: .9; letter-spacing: -.02em; }
.lockup b { display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(2.1rem, 3.2vw, 3rem); }
.lockup p span { display: block; font-weight: 800; font-stretch: 140%; font-size: clamp(.8rem, 1.1vw, 1rem); letter-spacing: .02em; margin-top: .45em; }
.lockup p span::before { content: ""; display: block; width: 2.2em; height: .24em; background: var(--spark); margin-bottom: .5em; }
.cover h1 { font-size: clamp(2.9rem, 5.5vw, 5.4rem); margin-top: auto; padding-top: 3rem; }
.offer { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.45; max-width: 30ch; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2rem; }

.map { position: relative; min-height: 22rem; transform: translate3d(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 6px), 0); transition: transform .9s var(--ease); }
.route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route path { fill: none; stroke: var(--cover); stroke-width: 7; stroke-dasharray: 16 11; vector-effect: non-scaling-stroke; animation: walk 1.6s linear infinite; }
@keyframes walk { to { stroke-dashoffset: -27; } }
.waypoint {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: .6rem;
  transform: translate(-2.25rem, -50%);
  text-decoration: none;
}
.waypoint b {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 900; font-stretch: 110%; font-size: 2.5rem; line-height: 1;
  box-shadow: 0 0 0 5px var(--sheet);
  transition: transform .5s var(--ease), background-color .3s;
}
.waypoint span, .readout, .keyhint { font-size: .875rem; font-weight: 700; background: var(--sheet); padding: .2rem .5rem; }
.waypoint:hover b { transform: scale(1.12); background: var(--cover); }
.waypoint--summit b { background: var(--cover); }
.waypoint--summit:hover b { background: var(--ink); }
.readout { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.readout b { color: var(--contour-text); display: inline-block; min-width: 4.6ch; }
.keyhint { position: absolute; left: 2.5rem; top: 2.25rem; font-weight: 500; max-width: calc(100% - 3rem); }
.keyhint b { margin-left: .5rem; }

/* Margin numerals and section grid references */
.gridlayer span { position: absolute; font-size: .8125rem; font-weight: 700; line-height: 1; color: var(--grid-text); font-variant-numeric: tabular-nums; background: var(--sheet); padding: .15rem .25rem; }
[data-ref] { position: relative; }
[data-ref]::before { content: "SE " attr(data-ref); position: absolute; right: var(--pad); top: 1.5rem; z-index: 1; font-size: .8125rem; font-weight: 700; color: var(--grid-text); font-variant-numeric: tabular-nums; border: 1.5px solid currentColor; padding: .2rem .45rem; }
.services[data-ref]::before { color: #7FE3FF; }
.plot[data-ref]::before { color: #fff; }

/* Section heads */
.sechead { max-width: 60rem; }
.sechead p { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; max-width: 46ch; color: var(--ink-2); }

/* Work: insets */
.work { padding-block: var(--sec) calc(var(--sec) * .6); }
.place { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-top: clamp(3.5rem, 8vw, 7rem); }
.inset {
  grid-column: 1 / span 8; position: relative;
  border: 2px solid var(--ink); background: var(--ink);
  box-shadow: 0 30px 50px -30px rgb(27 20 100 / .5);
}
.inset::before, .inset::after {
  content: ""; position: absolute; width: 1.5rem; height: 1.5rem; pointer-events: none;
  border: 2px solid var(--cover); transition: transform .6s var(--ease);
}
.inset::before { left: -.9rem; top: -.9rem; border-right: 0; border-bottom: 0; }
.inset::after { right: -.9rem; bottom: -.9rem; border-left: 0; border-top: 0; }
.place:hover .inset::before { transform: translate(-.4rem, -.4rem); }
.place:hover .inset::after { transform: translate(.4rem, .4rem); }
.inset img { width: 100%; height: auto; }
.inset > svg { width: 100%; height: auto; }
.js .inset img, .js .inset > svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); }
.js .inset.is-seen img, .js .inset.is-seen > svg { clip-path: inset(0 0 0 0); }
.place__txt { grid-column: 9 / -1; padding-bottom: .5rem; }
.place--flip .inset { grid-column: 5 / -1; grid-row: 1; }
.place--flip .place__txt { grid-column: 1 / span 4; grid-row: 1; }
.place h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.tags { margin-top: .9rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grid-text); }
.tags i { display: inline-block; width: .4rem; height: .4rem; margin: 0 .45rem .1rem; background: var(--contour); transform: rotate(45deg); }
.place__txt > p:not(.tags) { margin-top: 1rem; font-size: 1.1875rem; line-height: 1.45; max-width: 30ch; }
.place__txt .textlink { margin-top: 1.5rem; }

.morehead { margin-top: clamp(4.5rem, 9vw, 8rem); font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 20ch; }
.more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding-inline: .9rem; }
.place--sm { display: block; margin-top: 0; }
.place--sm:nth-child(even) { margin-top: clamp(2rem, 6vw, 5rem); }
.place--sm h3 { margin-top: 1.75rem; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.place--sm > p:not(.tags) { margin-top: .8rem; max-width: 46ch; color: var(--ink-2); }
.dia__bg { fill: var(--ink); }
.dia--cover .dia__bg { fill: var(--cover); }
.dia__grid { fill: none; stroke: rgb(34 211 255 / .22); stroke-width: 1; }
.dia--cover .dia__grid { stroke: rgb(255 255 255 / .2); }
.dia__route { fill: none; stroke: var(--spark); stroke-width: 5; stroke-dasharray: 14 10; animation: walk 1.6s linear infinite; }
.dia--cover .dia__route { stroke: #fff; }
.dia__stop circle { fill: var(--sheet); }
.dia__stop--end circle { fill: var(--spark); }
.dia__stop text { fill: var(--ink); font: 900 26px var(--display); text-anchor: middle; }
.dia__lab text { fill: #fff; font: 700 17px var(--body); text-anchor: middle; }
.dia__lab--left text { text-anchor: start; }
.dia__lab .day { fill: var(--spark); font-size: 13px; letter-spacing: .08em; }
.dia__title { fill: #fff; font: 800 24px var(--display); font-stretch: 112%; }
.dia__box { fill: var(--ink); }
.dia__boxline { fill: none; stroke: var(--spark); stroke-width: 6; }

/* Statement */
.statement { padding-block: calc(var(--sec) * .5) var(--sec); }
.statement p { line-height: 1.14; font-size: clamp(2.4rem, 6.4vw, 6rem); max-width: 17ch; color: var(--ink); }
.statement strong { font-weight: inherit; text-decoration: underline; text-decoration-color: var(--contour); text-decoration-thickness: .09em; text-underline-offset: .13em; }

/* Services: the legend, on ink */
.services { position: relative; background: var(--ink); color: var(--on-ink); padding-block: var(--sec); overflow: hidden; }
.services .wrap { position: relative; }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sechead--stick { position: sticky; top: calc(var(--head) + 2.5rem); }
.services .sechead p { color: var(--on-ink-2); }
.services .btn { margin-top: 2.25rem; }
.legend li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding-block: 1.75rem; border-top: 1px solid rgb(237 235 250 / .22); background: var(--ink); }
.legend li:last-child { border-bottom: 1px solid rgb(237 235 250 / .22); }
.sym { width: 3.5rem; height: 3.5rem; fill: none; stroke: var(--on-ink); stroke-width: 2.5; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .3s, transform .6s var(--ease); }
.legend li:hover .sym { stroke: #22D3FF; transform: translateY(-.25rem); }
.legend h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.legend p { margin-top: .6rem; color: var(--on-ink-2); max-width: 56ch; }

/* Method: the profile */
.method { padding-block: var(--sec); }
.profile { position: relative; margin-top: clamp(3rem, 6vw, 5rem); height: clamp(11rem, 24vw, 19rem); border-bottom: 2px solid var(--ink); }
.profile svg { width: 100%; height: 100%; overflow: visible; }
.profile__fill { fill: rgb(91 59 255 / .16); stroke: none; }
.profile__line { fill: none; stroke: var(--cover); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-dasharray: 3200; stroke-dashoffset: calc(3200px * (1 - var(--draw, 1))); }
.peg { position: absolute; left: var(--x); top: var(--y); width: 1.25rem; height: 1.25rem; margin: -.625rem; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--sheet); }
.peg::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 40rem; margin-left: -1px; background: repeating-linear-gradient(var(--ink) 0 5px, transparent 5px 10px); }
.profile { overflow: hidden; }
.peg--summit { background: var(--cover); }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 2.5rem; }
.stages b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(4.5rem, 9vw, 8rem); line-height: .85; color: var(--ink); }
.stages li:last-child b { color: var(--cover); }
.stages h3 { margin-top: 1.25rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.stage__lead { margin-top: .4rem; font-weight: 700; color: var(--contour-text); }
.stages p:last-child { margin-top: .75rem; color: var(--ink-2); max-width: 38ch; }

/* Plot: the form, on the cover */
.plot { position: relative; background: var(--cover); color: #fff; padding-block: var(--sec); overflow: hidden; }
.plot .wrap { position: relative; }
.plot__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.plot__intro > p { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; max-width: 38ch; font-weight: 500; }
.yourroute { margin-top: 2.5rem; }
.yourroute h3 { font-family: var(--body); font-size: .9375rem; font-weight: 700; letter-spacing: 0; }
.yourroute ol { margin-top: .9rem; border-left: 3px dashed #fff; margin-left: .55rem; padding-left: 1.4rem; display: grid; gap: .7rem; }
.yourroute li { position: relative; font-weight: 600; font-size: 1.125rem; }
.yourroute li::before { content: ""; position: absolute; left: -2.1rem; top: .35em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--cover); }
.yourroute li[data-empty] { font-weight: 500; color: var(--on-cover-2); }
.yourroute li[data-empty]::before { background: var(--cover); border: 2px solid #fff; }
.js .yourroute li:not([data-empty]) { animation: drop .6s var(--ease) backwards; }
@keyframes drop { from { opacity: 0; transform: translateX(-.75rem); } }

.brief, .sent { background: var(--sheet); color: var(--ink); padding: clamp(1.5rem, 3.4vw, 3rem); box-shadow: 0 40px 60px -35px rgb(27 20 100 / .65); }
.brief fieldset + fieldset { margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid rgb(27 20 100 / .2); }
.brief legend { float: left; width: 100%; display: flex; align-items: center; gap: .9rem; padding: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.1; }
.brief legend b { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-size: 1.35rem; }
.brief fieldset:last-of-type legend b { background: var(--cover); }
.hint, .chips, .fields { clear: both; }
.hint { padding-top: .6rem; color: var(--ink-2); font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 1.1rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: block; padding: .7rem 1.05rem; border: 2px solid var(--ink); font-weight: 600; transition: background-color .25s, color .25s, transform .4s var(--ease); }
.chips label:hover span { background: var(--sheet-2); }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--cover); outline-offset: 3px; }
.chips label:active span { transform: scale(.97); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; padding-top: 1.25rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .4rem; }
.field label i { font-weight: 400; font-style: normal; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: .85rem .9rem; background: #fff; border: 2px solid var(--ink); border-radius: 0; caret-color: var(--cover); transition: box-shadow .25s; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px rgb(91 59 255 / .3); border-color: var(--cover); }
.field [aria-invalid="true"] { border-color: #B00020; background: #FFF3F4; }
.err { margin-top: .4rem; color: #B00020; font-size: .9375rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.status { font-weight: 600; max-width: 34ch; }
.status[data-kind="error"] { color: #B00020; }
.sent { grid-column: 2; }
.sent h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.sent p { margin-top: 1rem; font-size: 1.1875rem; max-width: 40ch; }
.sent span { font-weight: 700; }

/* Foot: the sheet's lower margin */
.foot { background: var(--ink); color: var(--on-ink); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.foot__grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: clamp(2rem, 5vw, 5rem); }
.foot__brand .lockup { color: var(--on-ink); }
.foot__line { font-size: 1.0625rem; color: var(--on-ink-2); max-width: 28ch; margin-top: 1.25rem; }
.foot h2 { font-family: var(--body); font-size: .9375rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--on-ink-2); }
.foot nav ul { margin-top: .9rem; display: grid; gap: .35rem; }
.foot nav a { display: inline-flex; gap: .7rem; align-items: baseline; padding-block: .3rem; font-weight: 600; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.foot nav b { color: #7FE3FF; }
.foot__scale svg { width: 15rem; fill: none; stroke: var(--on-ink); stroke-width: 2; }
.foot__scale .fill { fill: var(--on-ink); stroke: none; }
.foot__scale p { margin-top: 1rem; color: var(--on-ink-2); max-width: 32ch; }
.foot__base { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); background: linear-gradient(rgb(237 235 250 / .22), rgb(237 235 250 / .22)) top / 100% 1px no-repeat content-box; font-size: .9375rem; color: var(--on-ink-2); }
.foot__base > * { margin-top: 1.5rem; }
.foot__base a { color: var(--on-ink); text-underline-offset: .3em; }

/* Route rail down the right margin */
.rail { position: fixed; right: 1.1rem; top: 50%; z-index: 40; height: 15rem; width: 1rem; transform: translateY(-50%); }
.rail::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 12px); }
.rail a { position: absolute; left: 50%; top: calc(var(--p) * 25%); width: .75rem; height: .75rem; margin: -.375rem; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); }
.rail a::after { content: ""; position: absolute; inset: -.6rem; }
.rail a span { position: absolute; right: 1.4rem; top: 50%; transform: translate(.4rem, -50%); background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 700; padding: .25rem .55rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .4s var(--ease); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.rail__here { position: absolute; left: 50%; top: calc(var(--at, 0) * 100%); width: 1.15rem; height: 1.15rem; margin: -.575rem; border-radius: 50%; background: var(--cover); box-shadow: 0 0 0 3px var(--sheet); z-index: 1; pointer-events: none; }
.rail.on-dark::before { background: repeating-linear-gradient(#fff 0 6px, transparent 6px 12px); }
.rail.on-dark a { border-color: #fff; background: transparent; }
.rail.on-dark .rail__here { background: #fff; box-shadow: 0 0 0 3px var(--ink); }

.toast { position: fixed; left: 50%; top: calc(var(--head) + 1rem); z-index: 60; transform: translate(-50%, -1rem); background: var(--ink); color: #fff; padding: .6rem 1rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Smaller sheets */
@media (max-width: 68rem) {
  .rail { display: none; }
  .services__grid, .plot__grid { grid-template-columns: 1fr; }
  .sechead--stick { position: static; }
  .sent { grid-column: 1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  :root { --cell: 90px; }
  .refs { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: var(--sheet); border-bottom: 2px solid var(--ink); padding: .5rem var(--pad) 1rem; }
  .refs.is-open { display: flex; }
  .refs a { padding-block: .85rem; font-size: 1.125rem; border-bottom: 1px solid rgb(27 20 100 / .15); justify-content: space-between; }
  .margin .btn { margin-left: auto; }
  .menu { display: block; background: none; border: 2px solid var(--ink); padding: .5rem .8rem; font-weight: 700; cursor: pointer; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .cover { box-shadow: 0 14px 34px -14px rgb(27 20 100 / .45); }
  .cover h1 { padding-top: 1.5rem; font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .lockup .lionmark { width: 3.75rem; }
  .lockup b { font-size: 1.9rem; }
  .offer { margin-top: 1rem; }
  .actions { margin-top: 1.25rem; }
  .map { min-height: 24rem; height: 62svh; }
  .keyhint { display: none; }
  .place, .place--flip { display: block; }
  .more { grid-template-columns: 1fr; padding-inline: 0; }
  .place--sm:nth-child(even) { margin-top: 0; }
  .place__txt { margin-top: 1.75rem; }
  .stages { grid-template-columns: 1fr; gap: 2.5rem; }
  .fields { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .brand { font-size: .9375rem; }
  .brand .lionmark { display: none; }
  .margin { gap: .5rem; padding-inline: 1rem; }
  .btn--small { padding: .55rem .6rem; font-size: .8125rem; }
  .menu { padding: .4rem .6rem; font-size: .875rem; }
  .waypoint b { width: 3.25rem; height: 3.25rem; font-size: 1.75rem; }
  .waypoint { transform: translate(-1.625rem, -50%); }
  .waypoint--summit { flex-direction: row-reverse; transform: translate(calc(-100% + 1.5rem), -50%); }
  .readout { left: 2.5rem; right: auto; }
}
@media (hover: none) { .keyhint { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .inset img, .js .inset > svg { clip-path: none; }
  .gridlayer, .map { transform: none; }
}

/* Plain text pages: privacy, not found */
.margin--plain .btn { margin-left: auto; }
.foot--plain .foot__base { margin-top: 0; }
.page { padding-block: clamp(4rem, 9vw, 8rem) var(--sec); }
.page h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.page h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 3rem; }
.page p, .page li { max-width: 68ch; margin-top: 1rem; font-size: 1.125rem; }
.page ul { list-style: square; padding-left: 1.25rem; }
.page .lede { font-size: clamp(1.2rem, 1.7vw, 1.4rem); color: var(--ink-2); margin-top: 1.5rem; }
.page .btn { margin-top: 2.5rem; }
.page a:not(.btn) { font-weight: 700; text-underline-offset: .3em; text-decoration-thickness: 2px; }
