@font-face{
  font-family:"Bricolage Grotesque";
  src:url("fonts/bricolage-800.woff2") format("woff2");
  font-weight:700 900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Bricolage Grotesque";
  src:url("fonts/bricolage-600.woff2") format("woff2");
  font-weight:500 699; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Instrument Sans";
  src:url("fonts/instrument-400.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Instrument Sans";
  src:url("fonts/instrument-600.woff2") format("woff2");
  font-weight:500 700; font-style:normal; font-display:swap;
}

/* ClearTop */
:root {
  color-scheme: light;

  --deep:      #243328;
  --sage:      #5B7A5E;
  --sage-text: #4A6650;
  --sage-soft: #8EA98F;
  --cream:     #F4F2E7;
  --cream-dim: #E7E4D4;
  --ink:       #20231C;
  --muted:     #6B6F60;
  --white:     #ffffff;
  --mark:      #EDE6C2;
  --on-deep:   #E8EFE6;
  --on-deep-dim:#C4D2C2;
  --nav-dim:   #9FB39F;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wide: 1140px;
  --read: 660px;
}

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

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

body {
  margin: 0;
  background: #F4F2E7;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--sage-text); text-underline-offset: 0.18em; }
a:hover { color: var(--deep); }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--deep); color: #fff;
  padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--wide), 100% - 3rem); margin-inline: auto; }
.read { max-width: var(--read); }

h1, h2, h3 { font-family: var(--display); color: var(--deep); }

h1 {
  font-weight: 800;
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 1.4rem;
  max-width: 16ch;
}

h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  max-width: 20ch;
}

h3 {
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1.05rem; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.quiet { color: var(--muted); font-size: 0.95rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: #243328;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  font-family: var(--display); font-weight: 800; font-size: 1.32rem;
  letter-spacing: -0.03em; color: #FFFFFF; text-decoration: none;
}
.brand:hover { color: var(--sage-soft); }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.site-nav a {
  font-size: 0.94rem; font-weight: 600; color: #9FB39F;
  text-decoration: none; padding-block: 0.25rem; display: inline-block;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px var(--sage-soft); }

/* ---------- section rhythm ---------- */
.hero { background: #243328; color: #E8EFE6; padding: 4.5rem 0 4rem; }
.page-intro { background: #243328; color: #E8EFE6; padding: 3.5rem 0 3rem; }
.section { background: #F4F2E7; padding: 4rem 0; }
.section--wash { background: var(--cream-dim); }

.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep h2 { color: #fff; }
.section--deep p { color: var(--on-deep-dim); }
.section--deep .button { background: #fff; color: var(--deep); }
.section--deep .button:hover { background: var(--cream); color: var(--deep); }
.section--deep a { color: #C7DCC6; }

/* ---------- hero ---------- */
.hero h1, .page-intro h1 { color: #FFFFFF; }
.hero .lead, .page-intro .lead { color: #E8EFE6; }
.hero p, .page-intro p { color: #C4D2C2; }
.page-intro .quiet { color: #9FB39F; }
.page-intro a { color: #C7DCC6; }
.page-intro a:hover { color: #fff; }
.page-intro .details dt { color: #9FB39F; }

.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: start; }
.hero p { max-width: 46ch; color: #C4D2C2; }
.hero .lead { color: #E8EFE6; }
.hero strong {
  display: inline-block; margin-top: 0.9rem; padding-left: 1rem;
  border-left: 3px solid var(--sage-soft);
  font-family: var(--display); font-weight: 600; font-size: 1.28rem;
  letter-spacing: -0.02em; line-height: 1.25; color: #FFFFFF;
}

/* ---------- search mock ---------- */
.searches { display: grid; gap: 1rem; }
.search {
  background: var(--white); border-radius: 14px; padding: 1.05rem 1.1rem 1.2rem;
  box-shadow: 0 1px 0 var(--cream-dim), 0 14px 32px -26px rgba(36,51,40,.5);
}
.search__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  font-size: 0.89rem; color: var(--muted);
  background: var(--cream); border-radius: 999px; padding: 0.5rem 0.9rem;
  margin-bottom: 0.9rem;
}
.search__bar svg { flex: none; color: var(--sage); }
.search ol { list-style: none; margin: 0; padding: 0; }
.result { padding: 0.55rem 0; }
.result + .result { border-top: 1px solid var(--cream-dim); }
.result__site { display: flex; align-items: center; gap: 0.45rem; }
.result__icon {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream-dim); flex: none;
}
.result__title {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 1rem; letter-spacing: -0.015em; color: var(--deep);
  margin: 0.15rem 0 0.3rem;
}
.bar { display: block; height: 7px; border-radius: 4px; background: var(--cream-dim); }
.bar + .bar { margin-top: 5px; }
.w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; }
.w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; }
.result.is-you .result__title { color: var(--sage-text); }
.result.is-you .result__icon { background: var(--sage); }
.result.is-you .bar { background: #CFDDCE; }
.search__note {
  margin: 0.7rem 0 0; font-size: 0.86rem; color: var(--sage-text);
  border: 1.5px dashed var(--sage-soft); border-radius: 9px;
  padding: 0.6rem 0.75rem; background: rgba(142,169,143,.12);
  font-family: var(--display); font-weight: 600; letter-spacing: -0.01em;
}

/* ---------- points grid ---------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cream-dim); margin-top: 2.2rem; }
.points--single { grid-template-columns: 1fr; }
.point { background: #F4F2E7; padding: 1.7rem 1.75rem 1.8rem; }
.section--wash .point { background: var(--cream-dim); }
.section--wash .points { background: #D9D5C2; }
.point p { margin: 0; color: #42463A; font-size: 0.97rem; }
.point p:last-child { margin-bottom: 0; }
.point:last-child { background: var(--deep); }
.point:last-child h3 { color: #fff; }
.point:last-child p { color: #C4D2C2; }
.points--single .point:last-child { background: #F4F2E7; }
.points--single .point:last-child h3 { color: var(--deep); }
.points--single .point:last-child p { color: #42463A; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 2rem 0 0; padding: 0; }
.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 1.6rem 3.1rem; border-left: 2px solid var(--cream-dim); margin-left: 0.9rem;
}
.steps li::before {
  content: counter(s); position: absolute; left: -0.95rem; top: 0;
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  background: var(--sage); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps p { margin: 0; color: #42463A; }

/* ---------- stats ---------- */
.stats { list-style: none; margin: 1.6rem 0 1.8rem; padding: 0; display: grid; gap: 0.7rem; }
.stats li {
  background: var(--white); border-left: 4px solid var(--sage);
  border-radius: 0 10px 10px 0; padding: 0.9rem 1.1rem;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -0.015em; color: var(--deep); line-height: 1.35;
}

/* ---------- details list ---------- */
.details { margin: 1.8rem 0 0; }
.details dl { margin: 0; display: grid; gap: 0.15rem; }
.details dt {
  font-family: var(--display); font-weight: 600; font-size: 0.92rem;
  color: var(--muted); letter-spacing: -0.01em;
}
.details dd { margin: 0 0 0.9rem; font-size: 1.08rem; }
.details a { color: var(--sage-text); }

/* ---------- note / callout ---------- */
.note {
  background: var(--cream-dim); border-radius: 12px;
  padding: 1.1rem 1.25rem; margin: 1.6rem 0;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem;
  letter-spacing: -0.015em; line-height: 1.4; color: var(--deep);
}

/* ---------- portrait ---------- */
.about-head { display: grid; gap: 1.75rem; align-items: start; }
.portrait { margin: 0; width: 180px; max-width: 60%; }
.portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 600 / 666; object-fit: cover;
  border-radius: 12px; background: var(--cream-dim);
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.button {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  background: var(--sage); color: #fff; text-decoration: none;
  padding: 0.82rem 1.45rem; border-radius: 9px; border: 0; cursor: pointer;
}
.button:hover { background: #6D8C70; color: #fff; }

/* ---------- tables ---------- */
.table-wrap { margin: 1.6rem 0; }
table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--cream-dim); border-radius: 12px; overflow: hidden;
  font-size: 1rem; line-height: 1.45;
}
caption { text-align: left; color: var(--muted); font-size: 0.95rem; padding-bottom: 0.6rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--cream-dim); vertical-align: top; }
thead th {
  background: var(--cream-dim); font-family: var(--display); font-weight: 600;
  color: var(--deep); letter-spacing: -0.01em;
}
tbody th { font-weight: 600; color: var(--deep); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---------- form ---------- */
.form { margin-top: 2rem; max-width: var(--read); }
.form__row { margin-bottom: 1.3rem; }
.form__row label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--deep); }
.form__req { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--cream-dim); border-radius: 9px; padding: 0.75rem 0.9rem;
}
.form textarea { resize: vertical; min-height: 8rem; }
.form input:hover, .form textarea:hover { border-color: var(--sage-soft); }
.form input:focus-visible, .form textarea:focus-visible { border-color: var(--sage); }
.form button { border: 0; cursor: pointer; font-family: inherit; }
.form__note { margin: 1.2rem 0 0; color: var(--muted); font-size: 0.94rem; }
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- footer ---------- */
.site-footer {
  background: #F4F2E7; color: var(--muted);
  padding: 2.2rem 0 2.6rem; font-size: 0.9rem;
  border-top: 1px solid var(--cream-dim);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--deep); }
.footer-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 0.18em;
}
.link-button:hover { color: var(--deep); }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  padding: 1rem; display: grid; place-items: center;
}
.cookie-banner[hidden] { display: none; }
[hidden] { display: none !important; }
.cookie-banner__box {
  background: var(--white); border: 1px solid var(--cream-dim);
  border-radius: 14px; padding: 1.2rem 1.3rem;
  width: min(34rem, 100%); box-shadow: 0 18px 44px -26px rgba(36,51,40,.6);
}
.cookie-banner__box:focus { outline: none; }
.cookie-banner__box p { margin: 0 0 1rem; }
.cookie-banner__title { font-size: 1.1rem; margin: 0 0 0.5rem; }
.cookie-banner p { font-size: 0.94rem; margin: 0 0 1rem; color: #42463A; }
.cookie-banner__buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.choice {
  font: inherit; font-weight: 600; font-size: 0.94rem; cursor: pointer;
  padding: 0.6rem 1.1rem; border-radius: 8px;
  border: 1px solid var(--sage); background: var(--sage); color: #fff;
}
.choice[data-consent="reject"] { background: transparent; color: var(--deep); border-color: var(--cream-dim); }
.choice:hover { background: #6D8C70; color: #fff; }
.choice[data-consent="reject"]:hover { background: var(--cream-dim); color: var(--deep); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.6rem; }
  .points { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--wide), 100% - 2.2rem); }
  .hero { padding: 2.75rem 0 2.5rem; }
  .page-intro { padding: 2.4rem 0 1.75rem; }
  .section { padding: 2.75rem 0; }
  body { font-size: 1.03rem; }
  .site-nav ul { gap: 1.05rem; }
  .site-nav a { font-size: 0.88rem; }
  .site-header .wrap { gap: 1rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .brand { font-size: 1.18rem; }
  .point { padding: 1.35rem 1.4rem 1.45rem; }
  .footer-links { margin-left: 0; }
  .site-footer .wrap { gap: 0.9rem; }
}

@media (max-width: 600px) {
  /* Stack table rows as readable blocks instead of scrolling sideways */
  table, thead, tbody, tr, th, td { display: block; }
  table { border: 0; background: transparent; border-radius: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr {
    background: var(--white); border: 1px solid var(--cream-dim);
    border-radius: 10px; margin-bottom: 0.9rem; overflow: hidden;
  }
  tbody th { background: var(--cream-dim); border-bottom: 1px solid var(--cream-dim); }
  tbody td {
    display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem;
    border-bottom: 1px solid var(--cream-dim);
  }
  tbody tr td:last-child { border-bottom: 0; }
  tbody td::before { content: attr(data-label); color: var(--muted); }
  tbody tr:last-child th { border-bottom: 1px solid var(--cream-dim); }
}

@media (max-width: 460px) {
  .wrap { width: min(var(--wide), 100% - 1.8rem); }
  h1 { letter-spacing: -0.035em; }
  .site-nav ul { gap: 0.8rem; }
  .site-nav a { font-size: 0.83rem; }
  .steps li { padding-left: 2.6rem; }
  .about-head { gap: 1.25rem; }
}

@media (min-width: 760px) {
  .about-head { grid-template-columns: 240px minmax(0, var(--read)); gap: 3rem; }
  .portrait { width: 240px; max-width: none; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-nav, .cookie-banner, .actions { display: none; }
  body { background: #fff; }
}
