/*
  Braaschulmann Group home page (the "Final" design).
  Dawn's look: a pastel dawn sky panel, light serif headings, small sans text,
  frosted glass, thin outlines and a deep navy closing panel, with a small logo in the footer.
  System fonts only. No external requests.
*/

/* 1. Tokens ------------------------------------------------------------ */

:root {
  color-scheme: light dark;

  --edge: 10px;                      /* panel inset from the viewport */
  --pad: clamp(16px, 3.2vw, 46px);   /* inner gutter */
  --max: 1328px;
  --r-panel: 16px;
  --r-card: 6px;
  --r-ctl: 3px;

  --serif: "Sitka Banner", ui-serif, "New York", "Iowan Old Style", "Charter", "Cambria", Georgia, serif;
  --serif-md: "Sitka Display", ui-serif, "New York", "Iowan Old Style", "Charter", "Cambria", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Page (light) */
  --page: #F8F8F6;
  --surface: #FFFFFF;
  --ink: #0B2E4C;          /* 13.1:1 on page */
  --ink-2: #3A5570;        /* 7.3:1 on page */
  --ink-3: #4A6580;        /* 5.7:1 on page */
  --line: #DCE1E6;         /* decorative hairlines */
  --line-strong: #7D8DA0;  /* 3.2:1, boundaries of controls and tags */
  --focus: #0B2E4C;

  /* Dawn accents */
  --peri: #8FA9E8;
  --lav: #B7A9EC;
  --apricot: #F2C28A;
  --apricot-deep: #E9A86A;
  --grad: linear-gradient(90deg, #7F9BE6 0%, #B3A6EC 45%, #E7D6C4 72%, #EFB877 100%);
  --grad-v: linear-gradient(180deg, #7F9BE6 0%, #B3A6EC 45%, #E7D6C4 72%, #EFB877 100%);
  --grad-num: linear-gradient(90deg, #4E64B4 0%, #8576CC 100%);

  /* Header and menu */
  --bar-bg: rgba(248, 248, 246, 0.86);
  --bar-line: rgba(11, 46, 76, 0.12);
  --menu-bg: #FAFAF8;

  /* Hero glass card */
  --glass: rgba(255, 255, 255, 0.58);
  --glass-solid: rgba(255, 255, 255, 0.84);
  --glass-line: rgba(255, 255, 255, 0.72);
  --card-ink: #0B2E4C;
  --card-ink-2: #2F4A66;
  --btn-bg: #0B2E4C;
  --btn-ink: #FFFFFF;
  --btn-bg-hover: #163F66;

  /* Clouds */
  --cloud-hi: #FFFFFF;
  --cloud-lo: #6E6AB8;
  --cloud-lo-a: 0.38;
  --cloud-op: 0.92;

  /* Venn */
  --venn-line: rgba(11, 46, 76, 0.55);
  --venn-a: #96AEEE;
  --venn-b: #C2B6F2;
  --venn-c: #F4CA94;
  --venn-alpha: 1;

  /* Lens plates (duotone navy) */
  --plate: #0B2E4C;
  --plate-line: transparent;
  --art-line: #C9D5F7;
  --art-faint: rgba(201, 213, 247, 0.42);
  --art-fill: #B9AEF0;
  --art-warm: #F2C28A;
  --plate-num: #AFC0EE;

  /* Open questions rules */
  --q-line: rgba(11, 46, 76, 0.18);

  /* Products tile */
  --tile: #FFFFFF;
  --tile-line: #E1E5EA;

  /* Closing panel */
  --panel: #0B2E4C;
  --panel-line: transparent;
  --on-panel: #FFFFFF;      /* 13.9:1 on panel */
  --on-panel-2: #C9D3E1;    /* 9.2:1 on panel */

  /* Placeholders to confirm */
  --tbd-bg: #FBEBD6;
  --tbd-line: #9A5A12;      /* 4.7:1 on its fill */
  --tbd-ink: #8A4F0E;       /* 5.6:1 on its fill */
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #08121F;
    --surface: #0F1D30;
    --ink: #EEF1F7;          /* 16.6:1 */
    --ink-2: #B4C0D3;        /* 10.2:1 */
    --ink-3: #A3B1C7;        /* 8.5:1 */
    --line: #1E3047;
    --line-strong: #6F829C;  /* 4.6:1 */
    --focus: #EEF1F7;

    --peri: #8FA6EC;
    --lav: #A898E6;
    --apricot: #E7AE63;
    --apricot-deep: #D99447;
    --grad: linear-gradient(90deg, #7F9BE6 0%, #A898E6 45%, #CDB8A4 72%, #E7AE63 100%);
    --grad-v: linear-gradient(180deg, #7F9BE6 0%, #A898E6 45%, #CDB8A4 72%, #E7AE63 100%);
    --grad-num: linear-gradient(90deg, #9DB5F2 0%, #C6B9F2 100%);

    --bar-bg: rgba(8, 18, 31, 0.82);
    --bar-line: rgba(238, 241, 247, 0.12);
    --menu-bg: #0B1525;

    --glass: rgba(12, 16, 44, 0.46);
    --glass-solid: rgba(12, 16, 44, 0.86);
    --glass-line: rgba(255, 255, 255, 0.16);
    --card-ink: #F1F3F9;
    --card-ink-2: #CBD2E6;
    --btn-bg: #F1F3F9;
    --btn-ink: #0B1A33;
    --btn-bg-hover: #FFFFFF;

    --cloud-hi: #9C97D6;
    --cloud-lo: #0C1040;
    --cloud-lo-a: 0.5;
    --cloud-op: 0.34;

    --venn-line: rgba(238, 241, 247, 0.5);
    --venn-a: #5E78D2;
    --venn-b: #7A68C8;
    --venn-c: #C98A3E;
    --venn-alpha: 0.8;

    --plate: #10284A;
    --plate-line: rgba(238, 241, 247, 0.08);
    --art-line: #C9D5F7;
    --art-faint: rgba(201, 213, 247, 0.36);
    --art-fill: #A898E6;
    --art-warm: #E7AE63;
    --plate-num: #AFC0EE;

    --q-line: rgba(238, 241, 247, 0.18);

    --tile: #0F1D30;
    --tile-line: #22354E;

    --panel: #0E2440;
    --panel-line: rgba(238, 241, 247, 0.08);
    --on-panel: #FFFFFF;
    --on-panel-2: #C3CEDE;

    --tbd-bg: #2A2419;
    --tbd-line: #E7AE63;     /* 7.8:1 on its fill */
    --tbd-ink: #F2C28A;      /* 9.4:1 on its fill */
  }
}

/* 2. Base -------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.js {
  scroll-padding-top: 6.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* The sky spans the header row and the hero row, whatever their heights. */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol[role="list"],
ul[role="list"] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus {
  outline: none;
}

.wrap {
  width: min(100% - 2 * (var(--edge) + var(--pad)), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: calc(var(--edge) + 8px);
  top: calc(var(--edge) + 8px);
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--r-ctl);
  background: #0B2E4C;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* 3. Shared type ------------------------------------------------------- */

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.125rem, 1.35rem + 2.3vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  max-width: 14em;
  text-wrap: balance;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.kicker::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* 4. Sky panel --------------------------------------------------------- */

.sky {
  grid-row: 1 / 3;
  grid-column: 1;
  position: relative;
  z-index: 0;
  margin: var(--edge) var(--edge) 0;
  border-radius: var(--r-panel);
  overflow: hidden;
  isolation: isolate;
  background-color: #5A6DB8;

  /* Phones and tablets: a vertical dawn, deep at the top, warm at the bottom behind the card. */
  background-image:
    radial-gradient(ellipse 120% 34% at 100% 100%, #FFF3DD 0%, rgba(248, 214, 162, 0.85) 40%, rgba(242, 194, 138, 0) 100%),
    linear-gradient(180deg, #4A5BA8 0%, #5164B1 32%, #586BB7 52%, #8A9ADD 65%, #B6B3E2 74%, #E3D2BE 85%, #F2C28A 95%, #F4CC98 100%);
  background-image:
    radial-gradient(in oklab ellipse 120% 34% at 100% 100%, #FFF3DD 0%, rgba(248, 214, 162, 0.85) 40%, rgba(242, 194, 138, 0) 100%),
    linear-gradient(in oklab 180deg, #4A5BA8 0%, #5164B1 32%, #586BB7 52%, #8A9ADD 65%, #B6B3E2 74%, #E3D2BE 85%, #F2C28A 95%, #F4CC98 100%);
}

.sky__clouds {
  position: absolute;
  top: 0;
  left: -6%;
  width: 112%;
  height: 100%;
  max-width: none;
  opacity: var(--cloud-op);
  /* Phones and tablets: one cloud band between the header and the headline, one behind the card. */
  -webkit-mask-image:
    radial-gradient(ellipse 80% 8% at 55% 19%, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%),
    radial-gradient(ellipse 80% 22% at 50% 82%, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 80% 8% at 55% 19%, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%),
    radial-gradient(ellipse 80% 22% at 50% 82%, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

/* Without JavaScript the links wrap into the top of the sky, so the upper cloud band is left out there. */
@media (max-width: 55.99rem) {
  html:not(.js) .sky__clouds {
    -webkit-mask-image: radial-gradient(ellipse 80% 22% at 50% 82%, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 22% at 50% 82%, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  }
}

.cloud-hi {
  flood-color: var(--cloud-hi);
}

.cloud-lo {
  flood-color: var(--cloud-lo);
  flood-opacity: var(--cloud-lo-a);
}

@media (prefers-reduced-motion: no-preference) {
  .sky__clouds {
    animation: cloud-drift 4.5s cubic-bezier(0.22, 0.6, 0.3, 1) both;
  }
}

/* Plays once, for under five seconds, then rests. */
@keyframes cloud-drift {
  from {
    transform: translate3d(-3.5%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 56rem) {
  .sky {
    /* Desktop: the sun rises bottom right, behind the glass card; a pale lavender band holds the
       cloud bank in the empty middle of the sky; the headline sits in the deeper blue. */
    background-image:
      linear-gradient(180deg, rgba(74, 90, 168, 0.9) 0%, rgba(74, 90, 168, 0) 20%),
      radial-gradient(ellipse 60% 30% at 58% 36%, rgba(206, 200, 244, 0.75) 0%, rgba(190, 186, 238, 0.35) 55%, rgba(190, 186, 238, 0) 100%),
      radial-gradient(ellipse 55% 60% at 12% 92%, rgba(104, 92, 178, 0.5), rgba(104, 92, 178, 0) 100%),
      radial-gradient(ellipse 74% 165% at 97% 112%, #FFF6E4 0%, #F8D6A2 9%, #F2C28A 16%, #E6CFB6 24%, #C3BCE6 36%, #A4A6E2 47%, #8A9ADD 56%, #6476BF 70%, #5A6DB8 84%, #4A5BA8 100%);
    background-image:
      linear-gradient(180deg, rgba(74, 90, 168, 0.9) 0%, rgba(74, 90, 168, 0) 20%),
      radial-gradient(ellipse 60% 30% at 58% 36%, rgba(206, 200, 244, 0.75) 0%, rgba(190, 186, 238, 0.35) 55%, rgba(190, 186, 238, 0) 100%),
      radial-gradient(ellipse 55% 60% at 12% 92%, rgba(104, 92, 178, 0.5), rgba(104, 92, 178, 0) 100%),
      radial-gradient(in oklab ellipse 74% 165% at 97% 112%, #FFF6E4 0%, #F8D6A2 9%, #F2C28A 16%, #E6CFB6 24%, #C3BCE6 36%, #A4A6E2 47%, #8A9ADD 56%, #6476BF 70%, #5A6DB8 84%, #4A5BA8 100%);
  }

  .sky__clouds {
    -webkit-mask-image:
      radial-gradient(ellipse 52% 26% at 52% 34%, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%),
      radial-gradient(ellipse 26% 30% at 90% 50%, rgba(0, 0, 0, 0.9) 0%, transparent 100%),
      radial-gradient(ellipse 30% 18% at 16% 30%, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    mask-image:
      radial-gradient(ellipse 52% 26% at 52% 34%, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%),
      radial-gradient(ellipse 26% 30% at 90% 50%, rgba(0, 0, 0, 0.9) 0%, transparent 100%),
      radial-gradient(ellipse 30% 18% at 16% 30%, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  }
}

@media (prefers-color-scheme: dark) {
  .sky {
    background-color: #1C1F57;
    background-image:
      radial-gradient(ellipse 90% 14% at 100% 100%, rgba(240, 182, 98, 0.65) 0%, rgba(240, 182, 98, 0) 100%),
      linear-gradient(180deg, #121848 0%, #171C50 34%, #1D2058 50%, #2A2564 62%, #33296A 72%, #3E3656 80%, #5A4A3C 89%, #9A6E34 96%, #C88A3E 100%);
    background-image:
      radial-gradient(in oklab ellipse 90% 14% at 100% 100%, rgba(240, 182, 98, 0.65) 0%, rgba(240, 182, 98, 0) 100%),
      linear-gradient(in oklab 180deg, #121848 0%, #171C50 34%, #1D2058 50%, #2A2564 62%, #33296A 72%, #3E3656 80%, #5A4A3C 89%, #9A6E34 96%, #C88A3E 100%);
  }

  @media (min-width: 56rem) {
    .sky {
      background-image:
        linear-gradient(180deg, rgba(12, 16, 52, 0.9) 0%, rgba(12, 16, 52, 0) 28%),
        radial-gradient(ellipse 95% 135% at 94% 112%, #F4C170 0%, #DB9C4C 9%, #A27434 17%, #6A5236 26%, #463C4C 36%, #3D2F6C 48%, #2C2668 62%, #1E2059 80%, #151A4A 100%);
      background-image:
        linear-gradient(180deg, rgba(12, 16, 52, 0.9) 0%, rgba(12, 16, 52, 0) 28%),
        radial-gradient(in oklab ellipse 95% 135% at 94% 112%, #F4C170 0%, #DB9C4C 9%, #A27434 17%, #6A5236 26%, #463C4C 36%, #3D2F6C 48%, #2C2668 62%, #1E2059 80%, #151A4A 100%);
    }
  }
}

/* 5. Header ------------------------------------------------------------ */

.site-header {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 20;
  padding-top: var(--edge);
  color: #FFFFFF;
  --focus: #FFFFFF;
}

.js .site-header {
  position: sticky;
  top: 0;
}

.header__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  width: min(100% - 2 * var(--edge), var(--max) + 2 * var(--pad));
  min-height: 4.5rem;
  margin-inline: auto;
  padding: 0.75rem var(--pad);
  border: 1px solid transparent;
  border-radius: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  .header__bar {
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  }
}

/* Past the hero the bar becomes a light frosted strip with navy text. */
.site-header.is-solid {
  color: var(--ink);
  --focus: var(--ink);
}

.site-header.is-solid .header__bar {
  background: var(--bar-bg);
  border-color: var(--bar-line);
  box-shadow: 0 8px 30px rgba(11, 30, 60, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.mark-rings circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.012em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}

.site-nav .site-nav__cta {
  margin-left: 0.6rem;
  padding: 0 1.3rem;
  border: 1px solid currentColor;
  border-radius: var(--r-ctl);
  font-weight: 600;
}

.site-nav .site-nav__cta:hover {
  text-decoration: none;
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0B2E4C;
}

.site-header.is-solid .site-nav__cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--page);
}

/* Without JavaScript on small screens the links wrap under the wordmark, inside the sky. */
.site-nav {
  flex-basis: 100%;
}

.site-nav ul {
  margin-left: -0.85rem;
}

.nav-toggle {
  display: none;
}

/* From 56rem the links fit beside the wordmark, so without JavaScript they stay on one line, clear of the clouds. */
@media (min-width: 56rem) {
  .site-nav {
    flex-basis: auto;
  }

  .site-nav ul {
    margin-left: 0;
  }
}

/* With JavaScript below 60rem: a Menu toggle and a dropdown panel. */
@media (max-width: 59.99rem) {
  .js .header__bar {
    flex-wrap: nowrap;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0 0.95rem;
    border: 1px solid currentColor;
    border-radius: var(--r-ctl);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle__icon {
    position: relative;
    width: 18px;
    height: 12px;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
  }

  .nav-toggle__icon::before {
    top: 2px;
  }

  .nav-toggle__icon::after {
    top: 9px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    top: 5.25px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    top: 5.25px;
    transform: rotate(-45deg);
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 0.5rem;
    border: 1px solid var(--bar-line);
    border-radius: 12px;
    background: var(--menu-bg);
    color: var(--ink);
    box-shadow: 0 18px 50px rgba(11, 30, 60, 0.18);
    overscroll-behavior: contain;
    --focus: var(--ink);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    gap: 0;
  }

  .js .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .js .site-nav a {
    display: flex;
    min-height: 48px;
    padding: 0 0.85rem;
    font-size: 1.0625rem;
  }

  .js .site-nav .site-nav__cta {
    justify-content: center;
    margin: 0.5rem 0 0.25rem;
    border-color: var(--ink);
  }

  .js .site-nav li:last-child {
    border-top: 0;
  }

  .js .site-nav .site-nav__cta:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--page);
  }
}

/* "Braaschulmann Group" is longer than Dawn's wordmark. On phones the name scales with the
   screen so it fits beside the Menu button, and if a wider font still runs out of room the name
   wraps onto a second line instead of pushing the button off the screen. */
@media (max-width: 29.99rem) {
  .header__bar {
    column-gap: 0.75rem;
  }

  .brand {
    gap: 0.55rem;
    min-width: 0;
    white-space: normal;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .brand__name {
    font-size: clamp(1rem, calc((100vw - 200px) / 8.6), 1.5rem);
    line-height: 1.1;
  }

  .js .nav-toggle {
    flex: none;
    padding: 0 0.8rem;
  }
}

/* The narrowest phones keep the Menu button's icon and hide its word, which screen readers still announce. */
@media (max-width: 22.49rem) {
  .js .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* 6. Main grid and hero ------------------------------------------------ */

main {
  grid-row: 2 / 4;
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
}

.hero {
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  padding: clamp(7rem, 30vw, 9rem) 0 calc(var(--pad) + 0.25rem);
  --focus: var(--card-ink);
}

.sections {
  grid-row: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
}

.hero__title {
  grid-row: 1;
  grid-column: 1;
  margin-bottom: clamp(2rem, 7vw, 3rem);
  color: #FFFFFF;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 1.1rem + 5.4vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 11.5em;
  text-wrap: balance;
}

.hero__turn {
  display: block;
}

.hero__glass {
  grid-row: 2 / 5;
  grid-column: 1;
  align-self: stretch;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  background: var(--glass-solid);
  box-shadow: 0 14px 44px rgba(26, 34, 92, 0.14);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero__glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    backdrop-filter: blur(18px) saturate(1.25);
  }
}

.hero__kicker,
.hero__lead,
.hero__links {
  position: relative;
  grid-column: 1;
  color: var(--card-ink);
}

.hero__kicker {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.4rem 1.5rem 0;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--card-ink-2);
}

.hero__icon {
  flex: none;
  width: 40px;
  height: 18px;
  fill: none;
  stroke: var(--card-ink);
  stroke-width: 1.25;
  stroke-linecap: round;
}

.hero__lead {
  grid-row: 3;
  padding: 0 1.5rem;
  margin-bottom: 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

.hero__links {
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  padding: 0 1.5rem 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.3rem;
  border: 1px solid currentColor;
  border-radius: var(--r-ctl);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.btn--solid {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-ink);
}

.btn--solid:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.arrow-link:hover {
  text-decoration-thickness: 2px;
}

/* Tablets: the card keeps to the right, as on desktop, under a left-aligned headline. */
@media (min-width: 40rem) {
  .hero__glass,
  .hero__kicker,
  .hero__lead,
  .hero__links {
    width: min(100%, 30rem);
    justify-self: end;
  }
}

@media (min-width: 56rem) {
  .hero {
    min-height: clamp(36rem, 26vw + 25rem, 50rem);
    padding: 8rem 0 clamp(2rem, 3.4vw, 3rem);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24.5rem);
    grid-template-rows: auto auto auto;
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
  }

  /* Sized to the column left beside the card (about 88.6vw - 412px), so it stays at three lines. */
  .hero__title {
    grid-row: 1 / 4;
    grid-column: 1;
    align-self: end;
    margin: 0 0 -0.08em;
    font-size: clamp(3rem, 11.6vw - 3.4rem, 5.5rem);
  }

  .hero__glass,
  .hero__kicker,
  .hero__lead,
  .hero__links {
    grid-column: 2;
    width: auto;
    justify-self: stretch;
  }

  .hero__glass {
    grid-row: 1 / 4;
  }

  .hero__kicker {
    grid-row: 1;
  }

  .hero__lead {
    grid-row: 2;
  }

  .hero__links {
    grid-row: 3;
  }
}

/* 7. Sections ---------------------------------------------------------- */

.section {
  padding-top: clamp(5rem, 9vw, 9rem);
}

/* Hero points: three short numbered statements in a row under the sky panel. */
.pillars {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.pillars__list {
  display: grid;
  gap: 2.25rem clamp(2rem, 4vw, 4.5rem);
}

@media (min-width: 56rem) {
  .pillars__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--grad);
}

.pillar__num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.pillar__title {
  margin-bottom: 0.5rem;
  font-family: var(--serif-md);
  font-weight: 300;
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pillar p:not(.pillar__title) {
  color: var(--ink-2);
  max-width: 26rem;
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
  }
}

/* Approach */

.approach__intro {
  align-items: center;
}

.venn {
  width: 100%;
  max-width: 36rem;
  justify-self: center;
}

.venn svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.venn__fog {
  opacity: var(--venn-alpha);
}

.venn-stop--a {
  stop-color: var(--venn-a);
}

.venn-stop--b {
  stop-color: var(--venn-b);
}

.venn-stop--c {
  stop-color: var(--venn-c);
}

.venn-stop--out {
  stop-opacity: 0;
}

.venn__rings circle {
  fill: none;
  stroke: var(--venn-line);
  stroke-width: 1.25;
}

.venn__core {
  fill: var(--ink);
}

.venn__core-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  opacity: 0.7;
}

.venn__labels text {
  fill: var(--ink-2);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* On phones the figure is drawn at about 0.6 scale, so the labels are set larger to stay near 13px. */
@media (max-width: 29.99rem) {
  .venn__labels text {
    font-size: 22px;
    letter-spacing: 0.1em;
  }
}

@media (min-width: 56rem) {
  .venn {
    justify-self: end;
  }

  .venn__labels text {
    font-size: 15px;
  }
}

.lenses {
  display: grid;
  gap: clamp(2.75rem, 4vw, 3.75rem) clamp(1.5rem, 2.4vw, 2.5rem);
  margin-top: clamp(3.5rem, 6vw, 6rem);
}

/* Four disciplines: two by two from tablets up. */
@media (min-width: 40rem) {
  .lenses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* How we build: the heading block already sets the gap above the disciplines. */
.build .lenses {
  margin-top: 0;
}

.plate {
  position: relative;
  height: clamp(9.5rem, 13vw, 12rem);
  overflow: hidden;
  border: 1px solid var(--plate-line);
  border-bottom: 0;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background:
    radial-gradient(110% 95% at 88% 0%, rgba(143, 169, 232, 0.34), rgba(143, 169, 232, 0) 62%),
    radial-gradient(80% 90% at 0% 100%, rgba(183, 169, 236, 0.22), rgba(183, 169, 236, 0) 60%),
    var(--plate);
}

/* The thin dawn gradient underline. */
.plate::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad);
}

.plate__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.plate__num {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--plate-num);
}

.art-line,
.art-faint,
.art-card {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-line {
  stroke: var(--art-line);
}

.art-faint {
  stroke: var(--art-faint);
}

.art-dash {
  stroke-dasharray: 3 5;
}

.art-fill {
  fill: var(--art-fill);
}

.art-faint-fill,
.art-grid {
  fill: var(--art-faint);
}

.art-warm,
.art-warm-fill {
  fill: var(--art-warm);
}

.art-bar {
  fill: var(--art-line);
}

.art-bar--soft {
  fill: var(--art-faint);
}

.art-card {
  fill: var(--plate);
  stroke: var(--art-line);
}

.art-cursor {
  fill: var(--art-line);
  stroke: var(--plate);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.lens__title {
  margin: 1.4rem 0 0.65rem;
  font-family: var(--serif-md);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.25rem + 0.7vw, 1.875rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.lens p {
  color: var(--ink-2);
  max-width: 34rem;
}

.note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif-md);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.note::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--apricot-deep);
}

/* Founding pillars: five names, each under a small line icon. Two across on phones,
   three on tablets, all five in one row on wide screens. */

.founding__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
}

@media (min-width: 40rem) {
  .founding__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .founding__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.founding__icon {
  display: block;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  overflow: visible;
}

.icon-line,
.icon-soft {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-line {
  stroke: var(--ink);
}

.icon-soft {
  stroke: var(--line-strong);
}

.icon-fill {
  fill: var(--lav);
}

.icon-warm {
  fill: var(--apricot-deep);
}

.founding__name {
  font-family: var(--serif-md);
  font-weight: 300;
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Principles */

.principles__list {
  display: grid;
  gap: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 4.5rem);
}

@media (min-width: 40rem) {
  .principles__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .principles__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.principle {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.principle::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--grad);
}

.principle__num {
  display: block;
  width: fit-content;
  margin-bottom: 1.4rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--peri);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .principle__num {
    background: var(--grad-num);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.principle__title {
  margin-bottom: 0.65rem;
  font-family: var(--serif-md);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.3rem + 0.5vw, 1.75rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.principle p {
  color: var(--ink-2);
  max-width: 30rem;
}

/* How we work */

.intro {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.habits {
  border-top: 1px solid var(--line);
}

.habit {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.habit__num {
  padding-top: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.habit p {
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.habit strong {
  color: var(--ink);
}

/* Open questions: a smaller, calmer sky. */

.questions {
  display: grid;
  gap: 2rem;
  margin-top: clamp(4rem, 7vw, 7rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--r-panel);
  background-color: #E1E6F8;
  background-image:
    radial-gradient(ellipse 55% 90% at 100% 100%, rgba(242, 194, 138, 0.55), rgba(242, 194, 138, 0) 70%),
    linear-gradient(120deg, #D9E2FA 0%, #E2E3F8 52%, #F3EBD8 100%);
}

@media (prefers-color-scheme: dark) {
  .questions {
    background-color: #1C2152;
    background-image:
      radial-gradient(ellipse 55% 90% at 100% 100%, rgba(214, 162, 72, 0.26), rgba(214, 162, 72, 0) 70%),
      linear-gradient(120deg, #172050 0%, #211F55 55%, #282A44 100%);
  }
}

@media (min-width: 56rem) {
  .questions {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 6vw, 6rem);
  }
}

.questions__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 11em;
  text-wrap: balance;
}

.questions__list {
  counter-reset: q;
  border-top: 1px solid var(--q-line);
}

.questions__list li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--q-line);
  font-family: var(--serif-md);
  font-weight: 300;
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.008em;
}

@media (max-width: 29.99rem) {
  .questions {
    padding: 1.75rem 1.25rem;
  }

  .questions__list li {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
}

.questions__intro {
  margin-top: 1.25rem;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.questions__close {
  max-width: 40rem;
  font-family: var(--serif-md);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink-2);
}

@media (min-width: 56rem) {
  .questions__close {
    grid-column: 2;
  }
}

/* What we are exploring: the paragraph beside the question. */
.exploring__text {
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-2);
}

@media (min-width: 56rem) {
  .exploring__text {
    padding-top: 2.25rem;
  }
}

.questions__list li::before {
  content: counter(q, decimal-leading-zero);
  content: counter(q, decimal-leading-zero) / "";
  padding-top: 0.75em;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* Products */

.product {
  display: grid;
  gap: 1.75rem;
}

.product__tile {
  display: grid;
  place-items: center;
  min-height: clamp(10rem, 14vw, 13rem);
  padding: 1.5rem;
  border: 1px solid var(--tile-line);
  border-radius: var(--r-card);
  background: var(--tile);
  box-shadow: 0 1px 2px rgba(11, 46, 76, 0.04), 0 10px 30px rgba(11, 46, 76, 0.05);
}

.product__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.45rem + 0.9vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.tags__status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--apricot-deep);
}

.product__text {
  max-width: 34rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.product__detail {
  max-width: 34rem;
  margin-bottom: 0.75rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.product__link {
  color: var(--ink-2);
  line-height: 1.9;
}

.product__link a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.product__link a:hover {
  text-decoration-thickness: 2px;
}

@media (min-width: 48rem) {
  .product {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 1.5rem);
    align-items: center;
  }

  .product__tile {
    grid-column: 1;
  }

  .product__body {
    grid-column: 2 / span 3;
    padding-left: clamp(0.5rem, 2vw, 1.5rem);
  }
}

@media (min-width: 64rem) {
  .product__body {
    grid-column: 2 / span 2;
  }
}

/* About */

.about__body {
  max-width: 36rem;
}

.about__text {
  font-size: 1.125rem;
  line-height: 1.95;
}

.about__more {
  margin-top: 1rem;
  color: var(--ink-2);
  line-height: 1.9;
}

@media (min-width: 56rem) {
  .about__body {
    padding-top: 2.25rem;
  }
}

/* The pull quote under the About heading, with the brand gradient running down its left edge. */
.about__quote {
  position: relative;
  max-width: 17em;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-left: clamp(1.25rem, 2vw, 1.75rem);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.375rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

.about__quote::before {
  content: "";
  position: absolute;
  top: 0.2em;
  bottom: 0.2em;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--grad-v);
}

/* Beside the story, the heading column stretches to the story's height and the quote sits
   in the middle of the space under the heading. The two columns match the founder bios below
   (same widths and gap), so the story lines up with the second bio. */
@media (min-width: 56rem) {
  .about .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 5rem);
  }

  .about .split__head {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .about__quote {
    margin-block: auto;
  }
}

/* The two founder bios sit side by side under the story, each under a full-width gradient rule. */
.founders {
  display: grid;
  gap: 2.25rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 48rem) {
  .founders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.founder {
  position: relative;
  padding-top: 1.4rem;
  color: var(--ink-2);
  line-height: 1.9;
}

.founder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* Privacy page: one column of reading text under the frosted header. */

.legal__updated {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.legal__body {
  max-width: 40rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.legal__body h2 {
  margin-top: 2.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.008em;
}

.legal__body p {
  margin-top: 1rem;
  color: var(--ink-2);
  line-height: 1.9;
}

.legal__body p:first-child {
  margin-top: 0;
  font-size: 1.125rem;
  color: var(--ink);
}

.legal__body a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

/* Investors page: News and updates under the frosted header, then the navy contact panel. */

.news {
  max-width: 48rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.news__heading {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.008em;
}

.news__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.news__date {
  font-size: 0.875rem;
  color: var(--ink-3);
}

.news__empty {
  padding-top: 1.25rem;
  color: var(--ink-3);
}

.news__title {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
}

.news__text {
  margin-top: 0.5rem;
  color: var(--ink-2);
  line-height: 1.9;
}

/* 8. Contact and footer: one deep navy panel --------------------------- */

.contact {
  margin: clamp(5rem, 9vw, 9rem) var(--edge) 0;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--panel-line);
  border-bottom: 0;
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  background: var(--panel);
  color: var(--on-panel);
  --focus: #FFFFFF;
  --ink-2: var(--on-panel-2);
  --tbd-bg: rgba(242, 194, 138, 0.14);
  --tbd-line: #F2C28A;
  --tbd-ink: #F2C28A;
}

.contact__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 56rem) {
  .contact__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 7vw, 8rem);
    align-items: end;
  }
}

.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 1.5rem + 3.8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--on-panel);
}

.contact__text + .contact__text {
  margin-top: 1rem;
}

.contact__text {
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--on-panel-2);
}

.contact__text a {
  color: var(--on-panel);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.contact__text a:hover {
  text-decoration-thickness: 2px;
}

.site-footer {
  grid-row: 4;
  grid-column: 1;
  margin: 0 var(--edge) var(--edge);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--panel-line);
  border-top: 0;
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  background: var(--panel);
  color: var(--on-panel-2);
  --focus: #FFFFFF;
}

/* On the privacy page there is no contact panel above, so the footer is a panel of its own. */
.site-footer--solo {
  margin-top: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--panel-line);
  border-radius: var(--r-panel);
}

/* The logo at header size, in white, above a hairline. */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--on-panel);
}

.footer__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.012em;
}

.footer__lines {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
}

/* The copyright with the Investors and Privacy links beside it. On a narrow screen the two links
   wrap together onto the next line. */
.footer__legal,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
}

.footer__top,
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  color: var(--on-panel);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

/* 9. Placeholders to confirm ------------------------------------------- */

.tbd {
  padding: 0.06em 0.4em;
  border: 1.5px dashed var(--tbd-line);
  border-radius: 4px;
  background: var(--tbd-bg);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
}

.tbd::after {
  content: "to confirm";
  display: inline-block;
  margin-left: 0.5em;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 0.12em;
  color: var(--tbd-ink);
}

.tbd--block {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  padding: 0.55em 0.8em;
}

/* 10. Reduced motion --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
