@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/barlow-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --ink: #191d19;
  --paper: #f7f6f0;
  --mist: #e8ebe2;
  --muted: #50574e;
  --line: #c9cec2;
  --accent: #f9cb54;
  --accent-hover: #ffe08b;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--body); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary, input[type="checkbox"] { cursor: pointer; }
:focus-visible { outline: 3px solid #8c6100; outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.container { width: min(100% - 5.5rem, 76rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  inset: 1rem auto auto 1rem;
  transform: translateY(-200%);
  padding: .65rem 1rem;
  background: var(--accent);
}
.skip-link:focus { transform: none; }

.site-header { background: var(--ink); color: var(--paper); border-bottom: 1px solid #ffffff26; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.25rem; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-inline: .32rem;
}
.brand-mark > span {
  width: 1.55rem;
  height: .88rem;
  background: var(--accent);
  clip-path: polygon(0 100%, 40% 0, 62% 48%, 73% 24%, 100% 100%);
  transform: rotate(-45deg);
}
.brand-wordmark { display: grid; line-height: 1; }
.brand-wordmark strong { font: 700 1.6rem/.9 var(--display); letter-spacing: .025em; }
.brand-wordmark > span { margin-top: .37rem; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .27em; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
nav a, .header-call { font-size: .9rem; font-weight: 700; text-decoration: none; }
nav a { color: #e8e9e0; }
nav a:hover { color: var(--accent); }
.header-call { padding: .65rem 1rem; border: 1px solid #ffffff57; color: var(--accent); }
.header-call:hover { border-color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 76svh, 49rem);
  background: #232c23;
  color: #fffdf4;
}
.hero-media, .hero::after { position: absolute; inset: 0; }
.hero-media {
  z-index: -2;
  background: #232c23 url("./assets/hero.webp") 65% 55% / cover no-repeat;
  animation: settle 1.1s ease-out both;
}
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #101610f5, #111711d9 28%, #12181275 59%, #12181214 100%),
    linear-gradient(0deg, #0b100c89, transparent 32%);
}
.hero-inner { padding-block: 5.1rem 6rem; animation: enter .7s ease-out both; }
.hero-caption { position: absolute; bottom: 1.25rem; inset-inline: 0; display: flex; justify-content: flex-end; }
.hero-caption span { padding: .25rem .55rem; background: #181e18d9; font-size: .8125rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow > span { width: 1.65rem; height: 2px; background: #8b6512; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow > span { background: var(--accent); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .91; text-transform: uppercase; }
h1 { font-size: clamp(4rem, 8vw, 8.2rem); letter-spacing: -.016em; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(3.6rem, 6.5vw, 6.3rem); letter-spacing: -.015em; }
.hero-copy { max-width: 29rem; margin: 1.55rem 0 1.8rem; color: #f1f0e5; font-size: clamp(1rem, 2vw, 1.16rem); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); }
.button-outline { border-color: #ffffff75; background: #151b154d; color: #fffdf4; }
.button-outline:hover { border-color: #fffdf4; background: #151b15a6; }

.section { padding-block: clamp(3.6rem, 8vw, 7.6rem); }
.section-intro > p:not(.eyebrow) { max-width: 23rem; margin: 1.25rem 0 1.35rem; color: var(--muted); font-size: 1.08rem; }
.section-intro.arrived { animation: enter .6s ease-out both; }
.text-link { font-weight: 700; text-underline-offset: .27rem; text-decoration-thickness: .1rem; }
.text-link:hover { color: #715000; }
.cleanup-grid, .quote-grid, .questions-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2.2rem, 6vw, 5.5rem);
}
.comparison { margin: 0; min-width: 0; }
.comparison-frame { --split: 52%; position: relative; overflow: hidden; border-radius: .25rem; aspect-ratio: 1.5; background: #343e32; }
.comparison-frame:focus-within { outline: 3px solid #8c6100; outline-offset: 4px; }
.comparison-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.before-image { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.photo-label { position: absolute; top: .85rem; padding: .25rem .55rem; background: #181e18e6; color: #fffdf4; font-size: .875rem; font-weight: 700; }
.photo-before { left: .85rem; }
.photo-after { right: .85rem; }
.comparison-frame:not(.show-before-label) .photo-before,
.comparison-frame:not(.show-after-label) .photo-after { visibility: hidden; }
.comparison-handle { position: absolute; inset: 0 auto 0 var(--split); width: 2px; background: #fff; }
.comparison-handle > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font: 700 1.55rem/1 var(--body);
  white-space: nowrap;
  box-shadow: 0 1px 8px #16191655;
}
.comparison-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }

.reviews { border-top: 1px solid #dbdfd4; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.review { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: clamp(1.2rem, 3.5vw, 2.1rem); border: 1px solid var(--line); border-radius: .25rem; background: #fbfaf6; }
.review h3 { margin: 0; font-size: 1.1rem; }
.review blockquote { margin: .8rem 0 1.2rem; color: var(--muted); }
.review figcaption { margin-top: auto; color: var(--ink); font-weight: 700; }

.quote { background: var(--mist); border-block: 1px solid #dbdfd4; }
.planner { min-width: 0; padding: clamp(1.15rem, 3.5vw, 2.05rem); background: #fbfaf6; border: 1px solid var(--line); border-radius: .25rem; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
legend { margin-bottom: .7rem; padding: 0; font-weight: 700; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.choices label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: .2rem;
  cursor: pointer;
  font-weight: 600;
}
.choices label:hover { border-color: #826827; }
.choices label:has(:checked) { background: #fff1c8; border-color: #947326; }
.choices input { flex: none; accent-color: #715000; width: 1.06rem; height: 1.06rem; margin: 0; }
.notes-label { display: flex; justify-content: space-between; gap: .4rem; margin: 1.15rem 0 .45rem; font-weight: 700; }
.notes-label > span { color: var(--muted); font-weight: 400; font-size: .875rem; }
textarea { display: block; width: 100%; min-height: 4.25rem; resize: vertical; padding: .65rem; border: 1px solid var(--line); border-radius: .2rem; color: var(--ink); background: #fff; }
.planner-summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.planner-summary > p { min-width: 0; margin: 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.copy-button { flex: none; }
.copy-button:disabled { color: #545b51; background: #e8e9e1; cursor: default; }
.copy-status { margin: .5rem 0 0; font-size: .875rem; }
.copy-status:empty { margin: 0; }

.questions-grid { align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding-block: .75rem; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #73540e; font-size: 1.45rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin: 0 1.5rem 1.2rem 0; color: var(--muted); }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 1.8rem; }
.footer-inner > p { margin: 0; color: #ced0c6; font-size: .875rem; }
.footer-inner > a:last-child { color: var(--accent); font-weight: 700; text-underline-offset: .25rem; }

@keyframes enter { from { opacity: .68; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.035); } to { transform: none; } }

@media (max-width: 800px) {
  .container { width: calc(100% - 3rem); }
  .header-inner { min-height: 4.65rem; }
  nav { display: none; }
  .hero-media { background-position: 62% 55%; }
  .hero::after { background: linear-gradient(90deg, #101610f2, #11171195 64%, #11171152); }
  .cleanup-grid, .quote-grid, .questions-grid { grid-template-columns: minmax(0, 1fr); }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .section-intro h2 > br { display: none; }
  .section-intro > p:not(.eyebrow) { max-width: 31rem; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { gap: .5rem; }
  .brand { gap: .5rem; }
  .brand-mark { width: 1.6rem; height: 1.6rem; }
  .brand-mark > span { width: 1.18rem; height: .7rem; }
  .brand-wordmark strong { font-size: 1.25rem; }
  .brand-wordmark > span { letter-spacing: .16em; margin-top: .29rem; }
  .header-call { padding: .5rem; font-size: .8125rem; }
  .hero { min-height: 34rem; }
  .hero-inner { padding-block: 4rem 5rem; }
  h1 { font-size: clamp(3.5rem, 12.4vw, 4.5rem); }
  h2 { font-size: 3.4rem; }
  .hero-media { background-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #121813e6, #12181380), linear-gradient(0deg, #121813b5, transparent 74%); }
  .planner-summary { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .95rem; }
}

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