@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: oklch(27% 0.045 157);
  --muted: oklch(43% 0.025 157);
  --line: oklch(83% 0.02 145);
  --green: var(--ink);
  --paper: oklch(99% 0.004 130);
  --white: oklch(100% 0 0);
  --wash: oklch(94% 0.025 145);
  --accent: oklch(82% 0.14 85);
  --error: oklch(40% 0.12 30);
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
footer {
  max-width: 1100px;
  margin: auto;
  padding: 25px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
header {
  border-bottom: 1px solid var(--line);
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
.brand {
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
}
.brand span {
  display: block;
  margin-top: 4px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.tag {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 28px;
}
.intro {
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 8px;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.intro > p:last-child {
  color: var(--muted);
  margin: 0;
}
h2 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 550;
  margin: 12px 0;
}
p {
  margin: 8px 0;
}
.lookup {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--white);
  border-radius: 8px;
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 6px;
}
.input-row {
  display: flex;
  gap: 10px;
}
input {
  font: inherit;
  border: 1px solid var(--muted);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 4px;
  min-width: 0;
  width: 100%;
}
button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  padding: 11px 19px;
  border-radius: 4px;
  white-space: nowrap;
}
button:hover {
  background: var(--muted);
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
button:focus-visible,
.button-link:focus-visible {
  outline-offset: 4px;
}
.hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}
summary {
  cursor: pointer;
  font-size: 0.88rem;
  text-underline-offset: 3px;
}
details {
  margin-top: 14px;
}
details[open] > summary {
  margin-bottom: 12px;
}
.coordinate-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
#status {
  font-size: 0.85rem;
  margin: 16px 0 0;
}
#status[data-error="true"] {
  color: var(--error);
  font-weight: 600;
}
#places {
  padding: 0;
  list-style: none;
  margin: 12px 0;
}
#places li + li {
  margin-top: 7px;
}
#places button {
  text-align: left;
  white-space: normal;
  width: 100%;
  background: var(--paper);
  color: var(--green);
  border-color: var(--line);
}
#places button:hover {
  background: var(--wash);
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
article {
  padding: 21px;
}
article + article {
  border-left: 1px solid var(--line);
}
article p:not(.eyebrow):not(.hint) {
  font-size: 0.87rem;
}
.meaning {
  margin: 16px 0 10px;
  padding: 15px 18px;
  background: var(--wash);
  border-left: 3px solid var(--green);
}
.meaning p:last-child {
  font-size: 0.94rem;
  margin-bottom: 0;
}
.next-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.next-step p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 3px 0;
}
.notes {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
}
.notes p {
  margin-top: 15px;
}
footer {
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
header nav a:hover,
header nav a[aria-current] {
  text-decoration: underline;
}
a {
  transition:
    background-color 120ms ease-out,
    color 120ms ease-out;
}
a:hover {
  color: var(--muted);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: var(--white);
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 32px;
}
.hub main {
  max-width: 1100px;
  padding-top: 0;
}
.hub h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.hub h2,
.hub h3,
.category-links strong {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
}
.hub h2 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hub h3 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}
.hub-intro {
  padding: 56px 0 32px;
}
.hub-intro > p:last-child {
  font-size: 20px;
  margin: 20px 0 0;
  color: var(--muted);
}
.hero-image {
  margin: 0;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 60%;
}
.hero-image figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
}
.category-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  background: var(--wash);
}
.category-links a {
  padding: 28px 32px;
  text-decoration: none;
}
.category-links a + a {
  border-left: 1px solid var(--line);
}
.category-links a:hover {
  background: var(--line);
  color: var(--ink);
}
.category-links span {
  display: block;
}
.category-links strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 28px;
  margin-bottom: 8px;
}
.directory {
  padding: 56px 0 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.section-heading > a {
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-description {
  max-width: 65ch;
  color: var(--muted);
  margin: 16px 0 24px;
}
.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-list li {
  border-top: 1px solid var(--line);
}
.tool-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.tool-row {
  display: grid;
  grid-template-columns: 64px 1fr 120px;
  gap: 20px;
  padding: 28px 12px;
  align-items: start;
  text-decoration: none;
}
.tool-row:hover {
  background: var(--wash);
  color: var(--ink);
}
.tool-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 40px;
  line-height: 1.2;
  color: var(--muted);
}
.tool-row p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}
.tool-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: end;
}
.badge {
  font-size: 12px;
  line-height: 1.4;
  background: var(--wash);
  padding: 4px 8px;
  white-space: nowrap;
}
.badge.live {
  background: var(--accent);
  color: var(--ink);
}
.editorial-note {
  margin: 56px 0 24px;
  border-left: 3px solid var(--ink);
  padding: 0 0 0 28px;
  max-width: 70ch;
}
.editorial-note h2 {
  font-size: 28px;
}
.editorial-note p:not(.eyebrow) {
  margin: 16px 0;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.page-intro {
  padding: 32px 0 0;
}
.detail-page {
  padding: 32px 0;
  max-width: 70ch;
  margin: auto;
}
.hub .detail-page h1 {
  font-size: clamp(40px, 5vw, 56px);
  margin-top: 16px;
}
.hub .detail-page h2 {
  font-size: 28px;
  margin: 32px 0 12px;
}
.hub .detail-page p {
  font-size: 16px;
  margin: 16px 0;
}
.hub .detail-page .lead {
  font-size: 20px;
  color: var(--muted);
}
.hub .detail-page .hint {
  font-size: 12px;
  color: var(--muted);
}
.buying-note,
.source-note {
  margin-top: 32px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.availability-note {
  padding: 16px;
  background: var(--wash);
}
.button-link {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  padding: 12px 20px;
  min-height: 48px;
}
.button-link:hover {
  background: var(--muted);
  color: var(--white);
}
.metrics {
  font-variant-numeric: tabular-nums;
}
.answer-block {
  max-width: 70ch;
  margin-bottom: 24px;
}
.answer-block p {
  margin-top: 12px;
}
.climate-faq {
  margin-top: 24px;
}
.climate-faq details {
  margin-top: 4px;
}
.climate-faq p {
  max-width: 70ch;
}
.risk-label {
  margin-top: 16px;
}
select {
  font: inherit;
  min-height: 44px;
  width: 100%;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--muted);
  padding: 8px;
  border-radius: 4px;
}
#frost-status {
  font-size: 16px;
}
#frost-status[data-error="true"] {
  color: var(--error);
  font-weight: 600;
}
.hub #frost-result h3 {
  font-size: 24px;
}
summary {
  min-height: 44px;
  padding-top: 10px;
}
summary:hover {
  color: var(--ink);
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
@media (max-width: 650px) {
  header {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  header nav {
    gap: 24px;
  }
  .brand {
    font-size: 24px;
  }
  .hub-intro {
    padding-top: 32px;
  }
  .hub-intro > p:last-child {
    font-size: 20px;
  }
  .desktop-break {
    display: none;
  }
  .hero-image img {
    height: 260px;
    object-position: 40% center;
  }
  .category-links {
    grid-template-columns: 1fr;
  }
  .category-links a {
    padding: 24px;
  }
  .category-links a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .directory {
    padding-top: 40px;
  }
  .hub h2 {
    font-size: 28px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .section-description {
    margin-top: 8px;
  }
  .tool-row {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .tool-number {
    font-size: 28px;
  }
  .hub h3 {
    font-size: 24px;
  }
  .tool-action {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .editorial-note {
    padding-left: 20px;
  }
  .button-link {
    padding: 12px;
    font-size: 15px;
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  header,
  footer {
    padding: 18px 20px;
  }
  header {
    align-items: start;
  }
  .brand span {
    display: block;
    font-size: 0.8rem;
  }
  main {
    padding: 25px 20px;
  }
  .lookup {
    padding: 16px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  article {
    padding: 18px;
  }
  article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  h3 {
    margin: 6px 0;
    font-size: 1.6rem;
  }
  .coordinate-row {
    grid-template-columns: 1fr 1fr;
  }
  .coordinate-row button {
    grid-column: 1/-1;
  }
  .result-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .next-step {
    flex-direction: column;
    align-items: stretch;
  }
  .input-row {
    gap: 8px;
  }
  .input-row button {
    padding: 10px 12px;
  }
  footer {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}
