:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --ink: #172941;
  --blue: #466f9e;
  --body: #4b5664;
  --rule: #d7d8d3;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #507fbc; outline-offset: 4px; }
.frame { width: min(88%, 1200px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; padding: 12px; z-index: 5; background: white; }
.skip:focus { top: 8px; }
.masthead { height: 86px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; }
.brand img { width: clamp(135px, 11vw, 158px); height: auto; display: block; }
.weather { display: flex; align-items: center; gap: .55rem; padding: .4rem .05rem .4rem .4rem; background: none; border: 0; color: var(--body); font-size: .875rem; min-height: 42px; }
.weather svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.switch { display: inline-flex; align-items: center; width: 29px; height: 17px; padding: 3px; background: #7a8084; border-radius: 12px; transition: background .2s; }
.switch i { width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .2s; }
.weather[aria-pressed=true] .switch { background: #5079a6; }
.weather[aria-pressed=true] i { transform: translateX(12px); }
.hero { position: relative; display: grid; grid-template-columns: 49% 51%; align-items: center; padding-block: clamp(48px, 4.5vw, 70px) clamp(42px, 4.2vw, 68px); }
.intro { z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .68rem; text-transform: uppercase; font-size: .76rem; font-weight: 650; letter-spacing: .18em; color: #486889; margin: 0 0 19px; }
.eyebrow span { display: block; width: 30px; height: 2px; background: #7698bb; transform: rotate(-2deg); border-radius: 50%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4.1rem, 6.55vw, 6.3rem); letter-spacing: -.059em; line-height: .99; }
h1 em { color: var(--blue); font-weight: 400; letter-spacing: -.053em; }
.lede { max-width: 26.4rem; margin: 23px 0 24px; color: var(--body); font-size: clamp(1.03rem, 1.25vw, 1.15rem); line-height: 1.6; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: .62rem; min-height: 48px; border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 6px; padding: .85rem 1.32rem; font-size: .95rem; font-weight: 550; text-decoration: none; transition: background .2s, transform .2s; }
.primary:hover { background: #2c4462; transform: translateY(-1px); }
.primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.scene { position: relative; width: min(100%, 375px); margin-inline: auto; overflow: hidden; border-radius: 10px; }
.photo { position: relative; }
.scene img { width: 100%; display: block; height: auto; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lists { scroll-margin-top: 28px; }
.section-heading { display: flex; align-items: center; gap: 25px; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(1.85rem, 2.65vw, 2.5rem); letter-spacing: -.045em; line-height: 1.12; }
.section-heading span { flex: 1; height: 1px; background: var(--rule); }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.path {
  display: flex;
  flex-direction: column;
  padding: 24px 30px 17px;
  background: #f6f7f5;
  border: 1px solid #bdc9d3;
}
.path-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sketch { order: 1; flex: 0 0 auto; width: 43px; height: 38px; stroke: #546f8b; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.path h3 { font-size: clamp(1.9rem, 2.5vw, 2.4rem); letter-spacing: -.045em; line-height: 1.12; }
.path h3 em { color: var(--blue); font-weight: 400; }
.path p { max-width: 26rem; margin: 12px 0 18px; color: var(--body); font-size: 1rem; line-height: 1.6; }
.path-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  font: 400 1.16rem/1.3 var(--serif);
  color: var(--ink);
  text-decoration-color: #839bb0;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.path-link:hover { color: var(--blue); text-decoration-color: currentColor; }
footer.frame { margin-top: 42px; border-top: 1px solid var(--rule); padding-block: 19px 22px; display: flex; justify-content: space-between; color: #656c72; font-size: .82rem; }
dialog { position: fixed; width: min(450px, calc(100% - 32px)); padding: 37px 34px 32px; border: 1px solid #aebbc7; border-radius: 12px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 90px #12213530; max-height: 90dvh; }
dialog::backdrop { background: rgb(19 33 47 / 38%); backdrop-filter: blur(3px); }
dialog h2 { font-size: 2.55rem; line-height: 1.05; letter-spacing: -.055em; margin-bottom: .8rem; }
dialog .eyebrow { margin: 3px 0 17px; }
dialog p { color: var(--body); font-size: 1rem; line-height: 1.5; }
.close { display: grid; place-items: center; color: var(--ink); background: transparent; border: 0; width: 40px; height: 40px; position: absolute; top: 7px; right: 7px; border-radius: 50%; }
.close:hover { background: #eaf0f3; }
.close svg { width: 18px; stroke: currentColor; stroke-linecap: round; stroke-width: 1.6; }
form { display: grid; gap: 15px; margin-top: 22px; }
form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; }
form input:not([type=hidden]) { width: 100%; padding: 11px 12px; font-size: 1rem; color: var(--ink); border: 1px solid #a7b0b9; border-radius: 5px; background: white; }
.purpose { font-size: .85rem; line-height: 1.5; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.error { color: #8c302c; font-size: .9rem; }
.primary:disabled { opacity: .65; cursor: wait; }
.done { margin-top: 23px; }
.fallback { padding: 1rem; text-align: center; }
@media (min-width: 1450px) { .hero { padding-block: 74px 63px; } }
@media (max-width: 950px) {
  .frame { width: 90%; }
  .hero { grid-template-columns: 51% 49%; }
  h1 { font-size: clamp(3.7rem, 7.4vw, 4.6rem); }
  .lede { max-width: 23rem; }
  .path { padding: 22px; }
}
@media (max-width: 680px) {
  .frame { width: calc(100% - 40px); }
  .masthead { height: 67px; }
  .brand img { width: 130px; }
  .hero { grid-template-columns: 1fr; padding: 34px 0 25px; gap: 21px; }
  h1 { font-size: clamp(3.65rem, 12.8vw, 5rem); }
  .eyebrow { margin-bottom: 15px; }
  .lede { margin: 16px 0 18px; max-width: 28rem; }
  .scene { width: min(100%, 390px); margin: 0 auto; }
  .paths { grid-template-columns: 1fr; gap: 14px; }
  .section-heading { gap: 12px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 1.85rem; }
  .path { padding: 19px 22px; }
  footer.frame { margin-top: 28px; }
}
@media (max-width: 370px) {
  .frame { width: calc(100% - 32px); }
  h1 { font-size: 3.25rem; }
  dialog { padding-inline: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
