@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/noto-serif-display-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif Display";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/noto-serif-display-latin-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/libre-franklin-latin.woff2") format("woff2");
}

:root {
  --night-rgb: 11, 21, 36;
  --night: rgb(var(--night-rgb));
  --navy: #13294B;
  --field: #0F1E36;
  --ivory: #F2ECE0;
  --stone: #B8B0A0;
  --gold: #C8A45D;
  --gold-light: #D8B977;
  --rule: #8E7442;
  --hair: rgba(142, 116, 66, 0.6);
  --serif: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(24px, 5.6vw, 80px);
  --max: 1200px;
  /* Left edge of the content column; the % resolves where this is used. */
  --edge: max(var(--gutter), (100% - var(--max)) / 2);
  --section: clamp(88px, 11vw, 160px);
  --duo-cols: minmax(0, 7fr) minmax(0, 5fr);
  --duo-gap: clamp(56px, 7vw, 120px);
  /* Phone header: call strip over the padded logo row. From 600px --header-h sets the bar height. */
  --strip-h: 44px;
  --logo-h: 44px;
  --logo-pad: 10px;
  --header-h: calc(var(--strip-h) + var(--logo-h) + 2 * var(--logo-pad));
  --cut: 8px;
  /* Letter-spacing of spaced capitals; padding that offsets the space after the last letter uses it too. */
  --track: 0.14em;
  color-scheme: dark;
}

@media (min-width: 600px) { :root { --header-h: 80px; --logo-h: 52px; } }
@media (min-width: 1200px) { :root { --header-h: 96px; --logo-h: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.menu-open { overflow: hidden; }
body { margin: 0; color: var(--ivory); font: 400 18px/1.6 var(--sans); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
p { max-width: 34em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
main:focus { outline: none; }

.label, .not-do em { color: var(--gold); font: italic 400 22px/1.3 var(--serif); }
.label { margin-bottom: 16px; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(29px, 9.2vw, 40px); line-height: 1.04; }
h2 { font-size: clamp(32px, 9.4vw, 40px); line-height: 1.04; }
h3 { margin-bottom: 10px; font: 400 24px/1.2 var(--serif); overflow-wrap: break-word; text-wrap: balance; }
.lead { text-wrap: pretty; }
h2 + .lead { margin-top: clamp(24px, 2.6vw, 32px); }

@media (min-width: 600px) {
  h1 { font-size: clamp(40px, 4.6vw + 2px, 70px); }
  h2 { font-size: clamp(40px, 3.6vw + 10px, 64px); }
}

@media (min-width: 900px) {
  body { font-size: 19px; }
  .label { margin-bottom: 20px; font-size: 26px; }
  h3 { font-size: 28px; }
  .lead { font-size: 20px; }
}

/* Spaced capitals */
.btn, .header-call, .menu-btn, .site-nav a, .field label, .tagline figcaption, .quote figcaption, .hours dt {
  font: 500 14px/1.3 var(--sans);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.tagline figcaption, .quote figcaption, .hours dt { --track: 0.16em; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 13px 18px;
  background: var(--gold);
  color: var(--night);
  font: 500 16px/1.2 var(--sans);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

/* Clipped corners live on ::before so focus outlines are never clipped. */
.cut, .btn { position: relative; isolation: isolate; color: var(--gold); transition: color 0.2s ease; }

.cut::before, .btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: background-color 0.2s ease;
}

/* Corner gradients draw the 1px diagonals the clip would otherwise leave open. */
.cut::before {
  --line: transparent 50%, var(--gold) 50%, var(--gold) calc(50% + 1px), transparent calc(50% + 1px);
  border: 1px solid var(--gold);
  background:
    linear-gradient(to bottom right, var(--line)) top left / var(--cut) var(--cut) no-repeat border-box,
    linear-gradient(to bottom left, var(--line)) top right / var(--cut) var(--cut) no-repeat border-box,
    linear-gradient(to top left, var(--line)) bottom right / var(--cut) var(--cut) no-repeat border-box,
    linear-gradient(to top right, var(--line)) bottom left / var(--cut) var(--cut) no-repeat border-box;
}

@media (hover: hover) {
  .cut:hover { color: var(--cut-ink, var(--night)); }
  .cut:hover::before { background-color: var(--gold); }
}
.header-call::before, .film-toggle::before { background-color: rgba(var(--night-rgb), 0.6); }

.btn {
  --cut: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px calc(28px - var(--track)) 12px 28px;
  border: 0;
  background: none;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold { color: var(--night); }
.btn-gold::before { background: var(--gold); }
@media (hover: hover) { .btn-gold:hover::before { background: var(--gold-light); } }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled, .menu-open .site-header { background: var(--night); box-shadow: 0 1px 0 var(--hair); }

.header-bar { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }

/* Zero basis keeps the logo row from wrapping; the logo shrinks instead when space runs out. */
.logo { display: block; flex: 1 1 0; min-width: 0; max-width: max-content; margin-right: auto; padding-block: var(--logo-pad); }
.logo img { width: auto; height: var(--logo-h); object-fit: contain; }

.header-call {
  line-height: var(--strip-h);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0 0 32px;
  border: 0;
  background: none;
  color: var(--ivory);
  line-height: 1;
  cursor: pointer;
}

.menu-btn::before, .menu-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.25s ease;
}

.menu-btn::before { transform: translateY(-4px); }
.menu-btn::after { transform: translateY(4px); }
.menu-btn[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { transform: rotate(-45deg); }

.site-nav ul { display: flex; }
.site-nav a { display: flex; align-items: center; min-height: 44px; line-height: 1; text-decoration: none; }

@media (max-width: 599.98px) {
  /* Phones: the call link becomes a full-width strip above the logo row. */
  .header-call {
    --cut-ink: var(--gold);
    order: -1;
    flex: 0 0 calc(100% + 2 * var(--gutter));
    margin-inline: calc(-1 * var(--gutter));
    padding-left: var(--track);
    background: var(--navy);
    box-shadow: 0 1px 0 var(--hair);
  }

  /* No clipped fill on the strip, so --cut-ink keeps its hover text gold. */
  .header-call::before { display: none; }

  /* The strip touches the screen edges, so its focus ring sits inside it. */
  .header-call:focus-visible { outline-offset: -4px; }
}

@media (min-width: 600px) {
  .header-bar { min-height: var(--header-h); }
  .header-call { padding: 0 calc(20px - var(--track)) 0 20px; line-height: 46px; }
}

@media (min-width: 600px) and (max-width: 759.98px) {
  .call-words { display: none; }
}

@media (max-width: 1199.98px) {
  .site-nav { order: 5; flex: 1 0 100%; }
  .site-nav ul { flex-wrap: wrap; column-gap: 24px; }
  .js .site-nav { display: none; }

  /* Hangs from the header's bottom edge, so it never covers the Menu button. */
  .js.menu-open .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: block;
    height: calc(100vh - 100%);
    height: calc(100dvh - 100%);
    overflow-y: auto;
    padding: 16px var(--gutter) 48px;
    background: var(--night);
  }

  .js .site-nav ul { display: block; }

  .js .site-nav a {
    --track: 0.04em;
    min-height: 76px;
    border-bottom: 1px solid var(--hair);
    font: 300 30px/1.1 var(--serif);
  }
}

@media (min-width: 1200px) {
  .site-nav a { --track: 0.16em; position: relative; padding: 0 16px; }

  .site-nav a::after {
    content: "";
    position: absolute;
    right: calc(16px + var(--track));
    bottom: 8px;
    left: 16px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  @media (hover: hover) { .site-nav a:hover::after { transform: scaleX(1); } }
  .header-call { margin-left: 20px; }
  .menu-btn { display: none; }
}

/* Hero and film */
.hero {
  --hero-text-top: calc(var(--header-h) + 26vh);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--hero-text-top) 0 104px;
  overflow: hidden;
}

.film { position: absolute; inset: 0; }

/* Photos and film behind text, each under a night scrim on ::after. */
.film img, .film video, .serve-band img, .area img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film::after, .serve-band::after, .area::after { content: ""; position: absolute; inset: 0; }
.film video { opacity: 0; transition: opacity 0.8s ease; }
.film.is-playing video { opacity: 1; }

/* Words start no higher than --hero-text-top, where the scrim is already 0.88 or darker. */
.film::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(var(--night-rgb), 0.78) 0, rgba(var(--night-rgb), 0.7) var(--header-h),
    rgba(var(--night-rgb), 0.3) calc(var(--header-h) + 8vh), rgba(var(--night-rgb), 0.4) calc(var(--header-h) + 16vh),
    rgba(var(--night-rgb), 0.88) calc(var(--hero-text-top) - 16px), rgba(var(--night-rgb), 0.93) 100%);
}

.film-toggle {
  position: absolute;
  right: var(--edge);
  bottom: 28px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.film.is-paused .i-pause, .film:not(.is-paused) .i-play { display: none; }
.hero-inner { position: relative; z-index: 2; }

.hero h1 { max-width: 15em; margin-bottom: 24px; }
.hero-sub { max-width: 38em; margin-bottom: 32px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-bottom: 36px; }

@media (max-width: 599.98px) {
  .hero-actions .btn { flex: 1 1 100%; padding-inline: 16px calc(16px - var(--track)); }
}

/* Holds a word group on one line. As an inline-block it leaves balanced and pretty wrapping on in Chrome. */
.nowrap { display: inline-block; white-space: nowrap; }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .hero { --hero-text-top: calc(var(--header-h) + 40px); --hero-measure: 760px; padding-bottom: 88px; }
  .hero-sub { max-width: var(--hero-measure); font-size: 20px; }
  .film-toggle { bottom: 32px; }

  /* Dark band follows the text column, so mid widths keep the same cover as wide ones. */
  .film::after {
    background:
      linear-gradient(180deg, rgba(var(--night-rgb), 0.72) 0, rgba(var(--night-rgb), 0) 24%),
      linear-gradient(0deg, rgba(var(--night-rgb), 0.85) 0, rgba(var(--night-rgb), 0) 28%),
      linear-gradient(90deg, rgba(var(--night-rgb), 0.9) 0,
        rgba(var(--night-rgb), 0.86) calc(var(--edge) + var(--hero-measure)),
        rgba(var(--night-rgb), 0.55) calc(var(--edge) + var(--hero-measure) + 320px), rgba(var(--night-rgb), 0.2) 100%);
  }
}

/* The canopy */
.canopy {
  position: relative;
  padding: 28px var(--gutter) 42px;
  border-top: 1px solid var(--gold);
  background: var(--navy);
  text-align: center;
}

.canopy::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 6px;
  border-block: 1px solid var(--gold);
}

.canopy p { max-width: none; }

.canopy-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font: 400 24px/1.2 var(--serif);
  text-transform: uppercase;
}

.canopy-name { --track: 0.3em; margin-right: calc(-1 * var(--track)); letter-spacing: var(--track); }
.canopy-diamond { display: none; }

.canopy-number {
  --track: 0.12em;
  --cut-ink: var(--navy);
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 8px calc(18px - var(--track)) 8px 18px;
  letter-spacing: var(--track);
  text-decoration: none;
  white-space: nowrap;
}

.canopy-hours { margin-top: 16px; color: var(--stone); font-size: 17px; line-height: 1.5; }
.canopy-hours > span { display: block; }

@media (min-width: 900px) {
  .canopy { padding-block: 30px 46px; }
  .canopy-sign { flex-direction: row; justify-content: center; gap: 0; font-size: 28px; }
  .canopy-diamond { display: block; width: 8px; height: 8px; margin: 0 30px; }
  .canopy-number { --track: 0.3em; padding-inline: 24px calc(24px - var(--track)); }
  .canopy-hours > span { display: inline; }

  .canopy-hours > span + span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 18px;
    vertical-align: 0.22em;
  }

  .canopy-diamond, .canopy-hours > span + span::before { background: var(--gold); transform: rotate(45deg); }
}

/* Sections */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.band { background: var(--navy); }
.duo { display: grid; row-gap: 56px; }
.list .item, .serve-list .item { padding-block: 26px; border-top: 1px solid var(--hair); }
.list .item:last-child { padding-bottom: 0; }

@media (min-width: 960px) {
  .duo {
    grid-template-columns: var(--duo-cols);
    align-items: start;
    column-gap: var(--duo-gap);
  }

  .duo-body { padding-top: 64px; }
}

.promise { padding-top: 0; }
.promise .promise-band { min-height: clamp(380px, 60vh, 620px); }

.promise .promise-band::after {
  background: linear-gradient(0deg, rgba(var(--night-rgb), 0.92) 0, rgba(var(--night-rgb), 0.6) 45%, rgba(var(--night-rgb), 0.35) 100%);
}

.pillars { list-style: none; padding: 0; display: grid; row-gap: 0; margin-top: 56px; border-bottom: 1px solid var(--hair); }
.pillar { padding-block: 32px; border-top: 1px solid var(--hair); }
.pillar-no { display: block; margin-bottom: 14px; color: var(--gold); font: italic 300 44px/1 var(--serif); }
.pillar p { max-width: 24em; }

.promise-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 48px; }
.promise-cta p { flex: 1 1 100%; color: var(--gold); font: italic 400 26px/1.3 var(--serif); }

@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 80px); margin-top: 72px; border-bottom: 0; }
  .pillar { padding-block: 36px 0; }
  .promise-cta { margin-top: 64px; }
  .promise-cta p { flex: 0 0 auto; margin-right: 16px; }
}

@media (max-width: 599.98px) {
  .promise-cta .btn { flex: 1 1 100%; }
}

/* CJ's photos, framed like prints with an offset keyline */
.prints { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 44px 40px; margin-top: 56px; }
.print { flex: 0 1 300px; }
.print img { width: 100%; max-width: 420px; outline: 1px solid var(--hair); outline-offset: 9px; }
.prints .print + .print { margin-left: auto; }
.prints-tall { flex-wrap: nowrap; }
.print-valves { flex-basis: 220px; }
.print-van { max-width: 416px; }

/* CJ's photos never span the full column. */
@media (max-width: 599.98px) {
  .print { max-width: 86%; }
  /* A set width sizes the van's box before its lazy image loads. */
  .print-van { justify-self: end; width: min(86%, 416px); }
}

@media (min-width: 960px) {
  .prints { margin-top: 72px; }
  .prints .print + .print { margin-left: 0; }
}

.brands { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hair); }
.not-do { margin-top: 32px; padding: 24px 26px 26px; border: 1px solid var(--hair); }
.not-do em { display: block; margin-bottom: 8px; text-wrap: balance; }

html:not(.js) .form { display: none; }

/* Habitat */
.tagline { margin: clamp(24px, 2.6vw, 32px) 0 36px; }
.tagline p { max-width: none; font: italic 300 28px/1.3 var(--serif); text-wrap: balance; }

.tagline figcaption { margin-top: 12px; color: var(--stone); }

.habitat .lead { margin-bottom: 40px; }
.ask { margin-top: 36px; }

.ask a, .contact .lead a, .site-footer a {
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.2s ease;
}

.ask a { padding-block: 10px; }
@media (hover: hover) { .ask a:hover, .contact .lead a:hover, .site-footer a:hover { color: var(--gold); } }

.case {
  display: grid;
  justify-items: center;
  gap: 44px;
  padding: 56px 32px 44px;
  background: var(--navy);
  box-shadow: inset 0 0 0 12px var(--navy), inset 0 0 0 13px var(--hair);
}

.habitat-logo img { width: 148px; }
.product img { width: min(100%, 280px); margin-inline: auto; }
.product figcaption { max-width: 20em; margin: 24px auto 0; color: var(--stone); font-size: 16px; text-align: center; }

/* Clients */
.serve { padding-top: 0; }

/* The page swaps in a 2:1 crop where this band is 2:1 or wider; its media query follows the min-height. */
.serve-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 78vh, 760px);
  padding-block: 120px 64px;
}

.serve-band img, .area img { z-index: -2; }
.serve-band::after, .area::after { z-index: -1; }

.serve-band::after {
  background: linear-gradient(0deg, rgba(var(--night-rgb), 0.95) 0, rgba(var(--night-rgb), 0.88) 250px,
    rgba(var(--night-rgb), 0.15) 75%, rgba(var(--night-rgb), 0.25) 100%);
}

.serve-list { margin-top: 48px; }

/* Ledger rows on the same columns as the other sections: client type left, text right. */
@media (min-width: 960px) {
  .serve-list { margin-top: 72px; border-bottom: 1px solid var(--hair); }

  .serve-list .item {
    display: grid;
    grid-template-columns: var(--duo-cols);
    align-items: baseline;
    column-gap: var(--duo-gap);
    padding-block: 44px;
  }

  .serve-list h3 { margin-bottom: 0; font-size: clamp(30px, 2.4vw, 36px); }
}

/* About */
.about-quote { display: grid; row-gap: 56px; margin-top: clamp(72px, 10vw, 136px); }

.quote blockquote p {
  max-width: none;
  font: italic 300 clamp(30px, 3.4vw + 10px, 58px)/1.2 var(--serif);
  text-indent: -0.4em;
  text-wrap: balance;
}

.quote figcaption { margin-top: 28px; color: var(--gold); }

@media (min-width: 960px) {
  .about-quote {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: center;
    column-gap: clamp(48px, 6vw, 96px);
  }
}

/* Area and hours */
.area {
  --area-text-top: 34vh;
  --area-measure: 560px;
  position: relative;
  isolation: isolate;
  padding-top: var(--area-text-top);
}

/* Text starts at --area-text-top, just below the scrim's 0.88 stop. */
.area::after {
  background: linear-gradient(180deg, rgba(var(--night-rgb), 0.4) 0,
    rgba(var(--night-rgb), 0.3) calc(var(--area-text-top) - 150px),
    rgba(var(--night-rgb), 0.88) calc(var(--area-text-top) - 12px), rgba(var(--night-rgb), 0.93) 100%);
}

.area-text { max-width: var(--area-measure); }
.hours { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--hair); }
.hours dt { color: var(--gold); }
.hours dd { margin-top: 8px; font: 400 26px/1.25 var(--serif); }
.note { margin-top: 20px; color: var(--stone); }

@media (min-width: 900px) {
  .area { display: flex; align-items: center; min-height: clamp(620px, 92vh, 900px); padding-top: var(--section); }

  .area::after {
    background: linear-gradient(90deg, rgba(var(--night-rgb), 0.92) 0,
      rgba(var(--night-rgb), 0.88) calc(var(--edge) + var(--area-measure) + 40px),
      rgba(var(--night-rgb), 0.5) calc(var(--edge) + var(--area-measure) + 340px), rgba(var(--night-rgb), 0.24) 100%);
  }
}

/* Contact */
.contact-photo { display: block; max-width: 460px; margin-top: 48px; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.form { display: grid; gap: 26px; }

.field label { display: block; margin-bottom: 10px; }

.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--field);
  color: var(--ivory);
  font: 400 18px/1.4 var(--sans);
  transition: border-color 0.2s ease;
  /* Keeps the label in view when the browser points to a missed field. */
  scroll-margin-top: 3rem;
}

.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
@media (hover: hover) { .field input:hover, .field textarea:hover { border-color: var(--gold); } }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 2px; }
.field ::placeholder { color: var(--stone); opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); box-shadow: 0 0 0 60px var(--field) inset; }
.help { margin-top: 8px; color: var(--stone); font-size: 16px; }
.form .btn { justify-self: start; min-width: 220px; margin-top: 6px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--gold-light); font-size: 18px; }
.sent { padding: 40px 36px; border-top: 1px solid var(--gold); background: var(--navy); }
.sent p { font: italic 300 26px/1.35 var(--serif); }

@media (max-width: 599.98px) {
  .form .btn { justify-self: stretch; }
}

/* Footer */
.site-footer { padding: 72px 0 40px; background: var(--navy); color: var(--stone); font-size: 17px; }
.footer-grid { display: grid; row-gap: 28px; }
.footer-brand img { width: 186px; margin-bottom: 22px; }
.footer-col p + p { margin-top: 6px; }
.site-footer a { padding-block: 10px; color: var(--ivory); }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); }
.footer-legal p { max-width: none; font-size: 16px; }

/* The dot stays with the item before it, so no line starts with one. */
.dots > span:not(:last-child)::after { content: "\00a0\00b7"; }

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; column-gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
