:root {
  --paper: #F4F8FA;
  --shelf: #E3EEF3;
  --ink: #14232E;
  --accent: #1B7FA8;
  --quiet: #7B909C;
  --accent-deep: #14607F;
  --line: rgba(20, 35, 46, .14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Cardo, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.02rem, .42vw + .96rem, 1.14rem);
  line-height: 1.68;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: inherit;
}

ul, ol, dl {
  margin: 0;
  padding: 0;
}

iframe {
  display: block;
  max-width: 100%;
}

/* skip link */
.skip-to {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #FFFFFF;
  color: var(--ink);
  padding: 8px 14px;
  font-family: Chivo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-to:focus {
  top: 12px;
}

/* type */
.title-hero {
  font-family: Chivo, sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
}

.title-band {
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.title-sub {
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: .01em;
}

.tagline {
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--quiet);
  margin: 0 0 12px;
}

.lede {
  font-family: Cardo, Georgia, serif;
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.6;
  color: #2A3E4C;
}

.band--deep .lede,
.band--cover .lede,
.band--photo .lede {
  color: #D5E4EB;
}

.band--deep .tagline,
.band--cover .tagline,
.band--photo .tagline {
  color: #9FB6C2;
}

.band--deep .title-hero,
.band--cover .title-hero,
.band--photo .title-hero,
.band--deep .title-band,
.band--cover .title-band,
.band--photo .title-band,
.band--deep .title-sub,
.band--cover .title-sub,
.band--photo .title-sub {
  color: #FFFFFF;
}

/* side-rail */
.siderail {
  position: fixed;
  left: 0;
  top: 0;
  width: 236px;
  height: 100vh;
  background: #14232E;
  color: #F4F8FA;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  z-index: 20;
}

.siderail a {
  color: inherit;
  text-decoration: none;
}

.siderail a:hover {
  color: #FFFFFF;
}

.siderail__mark {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  line-height: 1.2;
  color: #F4F8FA;
}

.siderail__mark svg {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.siderail__word {
  display: block;
  max-width: 9.4em;
}

.siderail__tag {
  margin: 16px 0 22px;
  font-family: Cardo, Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #7B909C;
  line-height: 1.4;
}

.siderail__nav {
  flex: 1 1 auto;
  min-height: 0;
}

.siderail__nav ul {
  list-style: none;
}

.siderail__nav a {
  display: block;
  font-family: Cardo, Georgia, serif;
  font-size: 16px;
  color: #E3EEF3;
  padding: 10px 0 10px 12px;
  border-left: 2px solid transparent;
}

.siderail__nav a:hover {
  color: #FFFFFF;
}

.siderail__nav a[aria-current="page"] {
  border-left-color: #1B7FA8;
  color: #FFFFFF;
}

.siderail__contact {
  margin: 18px 0 16px;
  font-size: 13px;
  color: #7B909C;
  line-height: 1.55;
}

.siderail__contact a {
  color: #7B909C;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.siderail__contact a:hover {
  color: #F4F8FA;
}

.siderail a.siderail__cta {
  display: inline-block;
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 2px;
  background: #F4F8FA;
  color: #14232E;
  text-align: center;
}

.siderail a.siderail__cta:hover {
  background: #FFFFFF;
  color: #14232E;
}

.stage {
  margin-left: 236px;
}

/* bands */
.band {
  padding: clamp(64px, 8vw, 118px) clamp(22px, 5vw, 64px);
}

.band__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.band--paper {
  background: var(--paper);
}

.band--tint {
  background: var(--shelf);
}

.band--deep {
  background: var(--ink);
  color: var(--paper);
}

.band--deep .quiet,
.band--cover .quiet,
.band--photo .quiet {
  color: #9FB6C2;
}

.band--cover,
.band--photo {
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--paper);
}

.band--cover::before,
.band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 33, .78), rgba(12, 24, 33, .55));
}

.band--cover .band__inner,
.band--photo .band__inner {
  position: relative;
  z-index: 1;
}

/* grids */
.duo {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.duo--flip {
  direction: rtl;
}

.duo--flip > * {
  direction: ltr;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stack-lg > * + * {
  margin-top: 56px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin: 28px 0 0;
}

.centre {
  text-align: center;
}

.actions.centre {
  justify-content: center;
}

.mt-band {
  margin-top: 40px;
}

.notice-line {
  font-family: Cardo, Georgia, serif;
  font-style: italic;
  color: var(--quiet);
  margin: 0 0 28px;
}

/* cards */
.slab {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px 24px;
}

.slab--night {
  background: rgba(244, 248, 250, .06);
  border-color: rgba(244, 248, 250, .16);
}

.slab .title-sub {
  margin-bottom: 12px;
}

.slab p + p {
  margin-top: 12px;
}

.more {
  display: inline-block;
  margin-top: 14px;
  font-family: Chivo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-deep);
}

.slab--night .more {
  color: #C5DCE6;
}

.more:hover {
  color: var(--ink);
}

.slab--night .more:hover {
  color: #FFFFFF;
}

/* spec rows */
.spec {
  margin: 0;
}

.spec__row {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.spec__row:last-child {
  padding-bottom: 0;
}

.spec dt {
  font-family: Chivo, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--quiet);
}

.spec dd {
  margin: 0;
  font-family: Cardo, Georgia, serif;
}

.band--deep .spec__row,
.band--cover .spec__row,
.band--photo .spec__row {
  border-top-color: rgba(244, 248, 250, .18);
}

.band--deep .spec dt,
.band--cover .spec dt,
.band--photo .spec dt {
  color: #9FB6C2;
}

.spec--strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 248, 250, .22);
}

.spec--strip .spec__row {
  display: block;
  border: 0;
  padding: 0;
}

.spec--strip dt {
  color: #C5DCE6;
}

/* marks */
.marks {
  list-style: none;
}

.marks li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 10px;
}

.marks li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.7em;
}

/* figures */
.figure-note {
  margin: 0;
}

.figure-note img {
  width: 100%;
  border-radius: 3px;
}

.figure-note figcaption {
  font-family: Cardo, Georgia, serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--quiet);
  margin-top: 10px;
}

/* questions */
.qa {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}

.qa:last-child {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 600;
}

.qa[open] summary::after {
  content: "−";
}

.qa .qa__body {
  padding: 0 0 18px;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  background: transparent;
}

.btn--solid {
  background: var(--ink);
  color: #F4F8FA;
}

.btn--solid:hover {
  background: var(--accent-deep);
  color: #FFFFFF;
}

.btn--light {
  background: #F4F8FA;
  color: #14232E;
}

.btn--light:hover {
  background: #FFFFFF;
  color: #14232E;
}

.btn--line {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}

.btn--line:hover {
  background: rgba(27, 127, 168, .12);
  color: var(--ink);
}

.band--deep .btn--line,
.band--cover .btn--line,
.band--photo .btn--line {
  color: #F4F8FA;
}

.band--deep .btn--line:hover,
.band--cover .btn--line:hover,
.band--photo .btn--line:hover {
  background: rgba(27, 127, 168, .12);
  color: #FFFFFF;
}

/* notes teasers */
time {
  display: block;
  font-family: Chivo, sans-serif;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 12px;
}

.note-card a {
  text-decoration: none;
  color: inherit;
}

.note-card a:hover .title-sub {
  color: var(--accent-deep);
}

.takeaway {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-style: italic;
  color: #2A3E4C;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* form */
.notice {
  padding: 16px 18px;
  border-radius: 3px;
  margin-bottom: 22px;
}

.notice--good {
  background: #E4F3EA;
  color: #14232E;
}

.notice--bad {
  background: #F6E4E2;
  color: #14232E;
}

.field {
  margin: 0 0 16px;
}

.field label,
.consent {
  display: block;
  font-family: Chivo, sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.5;
}

.consent input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #FFFFFF;
  color: var(--ink);
  font-family: Cardo, Georgia, serif;
  font-size: 1rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.deadfield {
  position: absolute;
  left: -9999px;
}

.mapframe {
  margin-top: 28px;
  border-radius: 3px;
  overflow: hidden;
}

.mapframe iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

/* footer */
.baseplate {
  margin-left: 236px;
  background: #101C25;
  color: #D5E4EB;
  padding: clamp(48px, 6vw, 80px) clamp(22px, 5vw, 64px) 36px;
}

.baseplate a {
  color: #C5DCE6;
}

.baseplate a:hover {
  color: #FFFFFF;
}

.baseplate__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.baseplate__mark {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: Chivo, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  color: #F4F8FA;
  text-decoration: none;
  margin-bottom: 16px;
}

.baseplate__mark svg {
  width: 34px;
  height: 34px;
}

.baseplate address {
  font-style: normal;
  margin-bottom: 16px;
}

.baseplate__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 0;
  font-family: Chivo, sans-serif;
  font-size: 13px;
}

.baseplate__fine {
  max-width: 1080px;
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 248, 250, .12);
  font-size: 14px;
  color: #9FB6C2;
}

.baseplate__fine p {
  margin: 0 0 .7em;
}

.baseplate .mapframe iframe {
  height: 240px;
}

/* cookie bar */
.cookiebar {
  position: fixed;
  left: 236px;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #FFFFFF;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookiebar[hidden] {
  display: none;
}

.cookiebar p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.98rem;
}

.cookiebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* motion */
.lift-in {
  opacity: 1;
  transform: none;
}

html.js .lift-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

html.js .lift-in.is-shown {
  opacity: 1;
  transform: none;
}

.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .lift-in,
  html.js .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* mobile rail */
@media (max-width: 900px) {
  .siderail {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px 18px 16px;
  }

  .siderail__nav ul {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    flex-wrap: nowrap;
  }

  .siderail__nav a {
    padding: 10px 0;
    white-space: nowrap;
  }

  .siderail__contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .siderail__hours {
    display: none;
  }

  .siderail__cta {
    align-self: flex-start;
  }

  .stage,
  .baseplate {
    margin-left: 0;
  }

  .cookiebar {
    left: 0;
  }
}

@media (max-width: 820px) {
  .duo,
  .duo--flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .spec--strip {
    grid-template-columns: 1fr;
  }

  .baseplate__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .trio,
  .pair {
    grid-template-columns: 1fr;
  }

  .spec__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
