@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #202c27;
  --muted: #4c5850;
  --paper: #f7f6f0;
  --white: #fffcf6;
  --green: #1c3028;
  --lime: #e4edac;
  --line: #d8dad0;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block-start: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid #246848;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
}

.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e7e6de; }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.header-inner { min-height: 81px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-decoration: none;
}
.wordmark small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: 0;
}
.brand-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--green);
}
.brand-icon::after {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--lime);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
  transform: rotate(16deg);
}
nav { display: flex; align-items: center; gap: 25px; }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
.nav-link { padding-block: 10px; }
.nav-link:hover { text-decoration: underline; }
.shortlist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 10px 7px 14px;
  border: 1px solid #cdd2c7;
  border-radius: 7px;
}
.shortlist-link:hover { background: #edeedf; }
.shortlist-link span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: stretch;
  margin-top: 34px;
  min-height: 458px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--green);
  color: var(--white);
}
.hero-copy { padding: clamp(34px, 4.6vw, 65px); }
.eyebrow, .area-location {
  font-size: .72rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e3ebca;
}
.hero-eyebrow span { width: 17px; height: 1px; background: var(--lime); }
.hero h1 {
  margin: 16px 0 17px;
  font: 400 clamp(4rem, 7.2vw, 7.1rem)/.81 var(--serif);
  letter-spacing: -.035em;
}
.hero h1 em { display: block; color: var(--lime); }
.hero-description { max-width: 37ch; color: #e6e9dc; line-height: 1.55; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.button-accent { margin-top: 24px; background: var(--lime); color: var(--green); }
.button-accent:hover { background: #f0f5cb; }
.button-accent:focus-visible { outline-color: var(--lime); }
.hero-image { position: relative; min-height: 100%; }
.hero-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 51%;
}
.hero-image figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #162720e8;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
}
.hero-image figcaption span { margin-right: 5px; color: var(--lime); }

.section { margin-block: 64px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px 42px;
  margin-bottom: 23px;
}
.section-heading h2, .dialog-top h2 {
  font: 400 clamp(2.75rem, 4.4vw, 4.25rem)/.98 var(--serif);
  letter-spacing: -.021em;
}
.section-heading p {
  max-width: 42ch;
  color: var(--muted);
  font-size: .96rem;
}
.filters {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}
.filter-options { display: flex; gap: 8px; flex-wrap: wrap; }
.priority-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #cdd2c7;
  border-radius: 24px;
  background: transparent;
  font-size: .88rem;
  font-weight: 650;
}
.priority-button:hover { background: #edeedf; }
.priority-button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--white); }
.text-button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: .87rem;
  font-weight: 700;
  text-align: left;
}
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.results-bar, .compare-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 18px;
  margin: 20px 0 12px;
  color: var(--muted);
  font-size: .86rem;
}
.results-bar a, .compare-meta a { flex: none; font-weight: 700; color: var(--green); }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.area-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.card-top { padding: 17px 18px 15px; border-bottom: 1px solid #242c2514; }
.tone-sage .card-top { background: #e6ebda; }
.tone-clay .card-top { background: #f2e2d8; }
.tone-sand .card-top { background: #efe9d6; }
.area-location { color: #4a554a; font-size: .65rem; }
.card-top h3, thead h3 {
  margin-top: 4px;
  font: 400 clamp(1.7rem, 2.7vw, 2.55rem)/1.03 var(--serif);
  letter-spacing: -.005em;
}
.card-body { padding: 16px 18px 12px; font-size: .92rem; }
.tradeoff { margin-top: 9px; color: var(--muted); }
.tradeoff strong { color: var(--ink); }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding-left: 0;
  margin: 13px 0 0;
}
.tags li {
  padding: 3px 8px;
  border-radius: 20px;
  background: #eeefe7;
  color: #3d4c43;
  font-size: .72rem;
  font-weight: 650;
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 9px 18px 13px;
  gap: 10px;
}
.detail-button, .save-button, .remove-button { min-height: 41px; }
.detail-button span, .results-bar a span, .compare-meta a span { margin-left: 3px; }
.save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 76px;
  padding: 6px 9px;
  border: 1px solid #cdd2c7;
  border-radius: 6px;
  background: transparent;
  font-size: .83rem;
  font-weight: 700;
}
.save-button:hover { background: #edf0e2; }
.save-button[aria-pressed="true"] { border-color: #a6b3a0; background: #e6ebda; }
.save-notice {
  position: fixed;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  pointer-events: none;
}

.shortlist { border-top: 1px solid var(--line); padding-top: 35px; }
.compare-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border: 1px dashed #aeb8a8;
  border-radius: 10px;
  color: var(--muted);
}
.button-outline { border-color: #bdc7b8; color: var(--green); }
.button-outline:hover { background: #e9eddf; }
.scroll-hint { display: none; }
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}
table { width: 100%; border-spacing: 0; font-size: .92rem; }
th, td {
  border-bottom: 1px solid var(--line);
  padding: 13px 17px;
  text-align: left;
  vertical-align: top;
}
th + th, td { border-left: 1px solid var(--line); }
thead { background: #e6ebda; }
thead th:not(:first-child) { min-width: 230px; width: 33.33%; }
thead h3 { font-size: clamp(1.65rem, 2.8vw, 2.32rem); }
thead .remove-button { margin-top: 3px; }
th:first-child { width: 126px; min-width: 126px; }
tbody th { font-weight: 700; background: #f1f1e7; }
tr:last-child > :is(th, td) { border-bottom: 0; }
.comparison-priorities { list-style: none; margin: 0; padding: 0; }
.comparison-priorities li + li { margin-top: 7px; }
.comparison-priorities strong, .comparison-priorities span { display: block; }
.comparison-priorities span { color: var(--muted); }

.checklist {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 14px;
  background: #e9ecdf;
}
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.check-grid article { padding: 17px 0 21px; border-top: 1px solid #cbd1c0; }
.check-grid article:nth-last-child(-n+2) { padding-bottom: 3px; }
.check-grid h3 { margin-bottom: 7px; font-weight: 700; }
.check-grid p { color: #3c4b41; font-size: .92rem; max-width: 54ch; }
.check-grid a, .detail-sources a { display: block; margin-top: 8px; font-size: .86rem; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 99px; padding-block: 18px; }
.footer-inner p { color: var(--muted); font-size: .76rem; }

dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: clamp(16px, 4vw, 32px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: #142620a8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dialog-top .eyebrow { color: var(--muted); margin-bottom: 6px; }
.dialog-top h2 { font-size: clamp(2.3rem, 6vw, 3.55rem); }
.dialog-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}
.dialog-close:hover { background: #e6ebda; }
.dialog-summary { margin-top: 10px; color: var(--muted); }
.detail-list { margin-top: 15px; }
.detail-list div {
  display: grid;
  grid-template-columns: 107px 1fr;
  gap: 3px 12px;
  border-top: 1px solid var(--line);
  padding-block: 11px;
  font-size: .91rem;
}
.detail-list dt, .detail-sources h3 { font-weight: 700; }
.detail-list dd { color: var(--muted); }
.detail-sources { border-top: 1px solid var(--line); padding-top: 11px; }
.detail-sources ul { list-style: none; padding: 0; margin: 0; }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 17px; }
.dialog-actions p { font-size: .86rem; color: var(--muted); }
.button-dark { background: var(--green); color: var(--white); }
.button-dark:hover { background: #365244; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 410px; }
  .section-heading { align-items: start; }
  .section-heading p { max-width: 36ch; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 67px; }
  nav { gap: 14px; }
  .nav-link[href="#before-you-move"] { display: none; }
  .hero { margin-top: 22px; min-height: 0; }
  .hero-copy { padding: 30px 25px; }
  .hero h1 { font-size: clamp(3.8rem, 10vw, 5.7rem); }
  .section { margin-block: 48px; }
  .section-heading { display: block; margin-bottom: 16px; }
  .section-heading p { margin-top: 9px; max-width: 52ch; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scroll-hint { display: block; margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
  table th:first-child {
    position: sticky;
    left: 0;
    width: 94px;
    min-width: 94px;
    padding-inline: 10px;
    box-shadow: 1px 0 0 var(--line);
  }
  thead th:first-child { background: #e6ebda; }
  thead th:not(:first-child) { min-width: 205px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 12px; min-height: 0; padding-block: 20px; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 28px); }
  .nav-link { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 29px 23px 27px; }
  .hero h1 { font-size: clamp(3.85rem, 14vw, 5.4rem); }
  .hero-image { min-height: 211px; }
  .hero-image figcaption { bottom: 10px; right: 10px; }
  .section { margin-block: 42px; }
  .area-grid, .check-grid { grid-template-columns: 1fr; }
  .card-top h3 { font-size: 2.25rem; }
  .check-grid article:nth-last-child(2) { padding-bottom: 19px; }
  .compare-empty { align-items: start; flex-direction: column; }
  .compare-meta { align-items: start; }
  .detail-list div { grid-template-columns: 1fr; }
}
