/* Countertop Fieldnotes, November 2026 offline visual candidate.
   Loaded last with media="screen". No print, content, form, or script changes. */

:root {
  --fieldnotes-paper: #f8f7f2;
  --fieldnotes-card: #fffefa;
  --fieldnotes-ink: #252d27;
  --fieldnotes-muted: #586254;
  --fieldnotes-olive: #344438;
  --fieldnotes-soft: #eeefe7;
  --fieldnotes-border: #c8cebf;
  --fieldnotes-focus: #975729;
}

/* Keep the established serif, olive and warm-paper identity. */
body { color: var(--fieldnotes-ink); background: var(--fieldnotes-paper); line-height: 1.7; }
p, li, label, h1, h2, h3 { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: pretty; }
header { padding-block: 24px; }
header .brand { font-size: 28px; letter-spacing: -.045em; }
header .domain-label { font-size: 10px; line-height: 1.6; letter-spacing: .13em; color: var(--fieldnotes-muted); }
header nav { font-size: 14px; gap: 8px 24px; }
header .nav-cta {
  min-height: 48px;
  padding: 11px 17px;
  border-color: var(--fieldnotes-olive);
  background: var(--fieldnotes-olive);
  color: #fff;
  text-decoration: none;
}
header .nav-cta:hover { background: #26352a; text-decoration: underline; }
.button, button { font-size: 15px; line-height: 1.5; min-height: 48px; max-width: 100%; white-space: normal; }
.button { border-radius: 2px; padding: 14px 20px; }
.button span { margin-left: 16px; }
.eyebrow, .section-no { font-size: 11px; letter-spacing: .13em; color: var(--fieldnotes-muted); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--fieldnotes-focus);
  outline-offset: 4px;
}
.planning-band a:focus-visible { outline-color: #fff; }
.skip:focus { z-index: 20; }

/* A quieter hero, followed by a project directory that is easier to scan. */
.home-project-hero { padding-top: 44px; padding-bottom: 48px; gap: 40px; }
.home-project-hero h1 { font-size: clamp(40px, 4.6vw, 66px); letter-spacing: -.045em; max-width: 17ch; }
.home-project-hero .hero-intro { font-size: 18px; line-height: 1.65; max-width: 44ch; }
.home-project-hero .hero-actions { font-size: 15px; gap: 12px 24px; }
.home-project-hero .hero-actions > a { min-height: 48px; display: inline-flex; align-items: center; }
.home-project-hero .hero-actions > a:not(.button) { text-decoration: underline; text-underline-offset: 5px; }
.home-project-hero .hero-note { font-size: 14px; line-height: 1.6; color: var(--fieldnotes-muted); max-width: 56ch; }
.home-project-hero .hero-image { min-height: 500px; border-radius: 2px; }
.hero-image figcaption { font-size: 12px; line-height: 1.5; letter-spacing: .035em; }
.section-heading { margin-bottom: 28px; align-items: end; }
.section-heading h2 { font-size: clamp(34px, 3.7vw, 46px); letter-spacing: -.035em; line-height: 1.15; }
.section-heading > p { font-size: 15px; line-height: 1.65; max-width: 40ch; }
.project-hub { padding-top: 48px; padding-bottom: 48px; }
.project-grid { gap: 18px; align-items: stretch; }
.project-card {
  padding: 26px;
  background: var(--fieldnotes-card);
  border: 1px solid var(--fieldnotes-border);
  border-top: 3px solid #809071;
  border-radius: 2px;
}
.project-card h3 { font-size: 26px; line-height: 1.2; margin: 12px 0 14px; }
.project-card p { font-size: 16px; line-height: 1.65; color: var(--fieldnotes-muted); }
.project-card .project-link { font-size: 15px; line-height: 1.5; padding-top: 6px; color: var(--fieldnotes-olive); }
.project-card:hover { background: #f1f3e9; border-color: #809071; }
.project-card:focus-visible { outline-color: var(--fieldnotes-focus); }
.project-card:focus-visible .project-link { text-decoration-thickness: 2px; }
.project-card#custom-projects { background: var(--fieldnotes-soft); }
.project-card#custom-projects p { max-width: 80ch; }
.project-card#custom-projects .project-link { display: inline-flex; align-items: center; min-height: 44px; }
.project-hub-note { font-size: 15px; line-height: 1.7; padding-top: 8px; }

/* Make the saved-answer guide feel like a tool, without implying live AI. */
.question-section { padding-block: 48px; gap: 40px; }
.question-heading h2 { font-size: clamp(32px, 3.5vw, 42px); line-height: 1.15; }
.question-heading p { font-size: 16px; max-width: 36ch; }
.topic-directory { gap: 8px; margin-top: 22px; font-size: 14px; }
.topic-directory a {
  padding: 8px 12px;
  border: 1px solid #a6b09e;
  background: var(--fieldnotes-paper);
  line-height: 1.5;
}
.topic-directory a:hover { background: #fff; }
.question-panel { padding: 28px; background: var(--fieldnotes-card); border-color: #b9c2ae; }
.guide-mode, .guide-mode > span:last-child { font-size: 13px; line-height: 1.5; }
.guide-mode > span:last-child { width: 100%; margin-left: 0; padding-left: 14px; }
.status-dot { width: 7px; height: 7px; }
.question-panel label { font-size: 16px; font-weight: 650; }
.question-input-row input { font-size: 16px; min-height: 48px; }
.question-panel .small { font-size: 14px; line-height: 1.65; margin-block: 12px 20px; }
.guide-buttons { gap: 8px; }
.question-panel .guide-buttons button { font-size: 14px; padding: 10px 12px; min-height: 48px; }
.question-panel .guide-buttons button:focus-visible { outline-color: var(--fieldnotes-focus); }
#guide-answer { font-size: 16px; line-height: 1.7; margin-top: 22px; padding-top: 10px; }
#guide-source { font-size: 14px; line-height: 1.6; min-height: 44px; }

/* Resources and the next step should remain readable, not fine print. */
.editorial-section { padding-block: 52px; }
.resource-grid { gap: 28px; }
.surface { height: 205px; border-radius: 2px; }
.surface span { font-size: 11px; letter-spacing: .08em; }
.resource h3 { font-size: 25px; line-height: 1.25; }
.resource p { font-size: 16px; line-height: 1.65; max-width: 45ch; }
.texture-note { font-size: 13px; line-height: 1.6; }
.planning-band { padding-block: 48px; }
.planning-band h2 { font-size: clamp(36px, 3.7vw, 48px); }
.planning-band p { font-size: 16px; line-height: 1.65; }
.planning-actions { max-width: 400px; }
.planning-actions .button { font-size: 16px; min-height: 50px; }
.planning-actions > a:not(.button) { font-size: 15px; min-height: 44px; padding-block: 8px; }
.planning-actions p { font-size: 14px; }
.honesty-note { padding-block: 44px; }
.honesty-note p { font-size: 16px; line-height: 1.7; }
.honesty-note > a { font-size: 15px; min-height: 44px; padding-block: 8px; }
footer { font-size: 14px; line-height: 1.7; padding-block: 30px 42px; }
footer p { max-width: 85ch; }
footer nav { font-size: 14px; gap: 8px 24px; }

/* Consistent article rhythm, including future guides using these classes. */
.hero { padding-top: 40px; padding-bottom: 48px; }
.hero > h1 { letter-spacing: -.04em; }
.replacement-guide { max-width: 850px; margin-inline: auto; }
.replacement-guide .article-intro h1 { font-size: clamp(38px, 4.8vw, 60px); max-width: 22ch; letter-spacing: -.04em; }
.replacement-guide .guide-deck { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--fieldnotes-muted); }
.replacement-guide section { padding: 34px 0; }
.replacement-guide section > h2:first-child { margin-top: 0; }
.replacement-guide h2 { font-size: clamp(29px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.03em; max-width: 28ch; }
.replacement-guide h3 { font-size: 21px; line-height: 1.35; }
.replacement-guide p, .replacement-guide li { max-width: 72ch; }
.replacement-guide li { margin-bottom: 12px; }
.replacement-guide .article-intro p:last-child { font-size: 14px; line-height: 1.7; color: var(--fieldnotes-muted); }
.on-page { border: 1px solid var(--fieldnotes-border); border-left: 3px solid #809071; background: var(--fieldnotes-soft); padding: 20px 24px; }
.on-page strong { font-size: 16px; }
.on-page ul { margin-bottom: 0; padding-left: 20px; }
.on-page a { font-size: 15px; line-height: 1.5; min-height: 44px; padding-block: 6px; }
.granite-page .granite-guide section:not(.granite-record) { padding-inline: 0; }
.granite-page .granite-record .button, .quartzite-page .quartzite-record .button,
.quartz-guide .quartz-close .button { font-size: 15px; }

/* Keep the exact inquiry and consent intact, with clearer field grouping. */
.mobile-inquiry { max-width: 680px; background: var(--fieldnotes-card); border-color: #b9c2ae; border-top: 3px solid #809071; padding: 28px; }
.mobile-inquiry > label { margin-top: 22px; }
.mobile-inquiry .reply-choices { border-top: 1px solid var(--fieldnotes-border); padding-top: 18px; margin-top: 26px; }
.mobile-inquiry .optional-details { border-block: 1px solid var(--fieldnotes-border); padding-block: 8px; }
.mobile-inquiry .consent { background: var(--fieldnotes-soft); padding: 16px; gap: 12px; margin-top: 24px; }
.mobile-inquiry input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.mobile-inquiry textarea, .mobile-inquiry select { font-size: 16px; min-height: 48px; border-color: #6b7566; background: #fff; }
.mobile-inquiry button { font-size: 16px; min-height: 52px; }

@media (min-width: 1050px) {
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-card#custom-projects { grid-column: 1 / -1; }
  .project-card#custom-projects:last-child:nth-child(3n + 2) { grid-column: span 2; }
  .project-card#custom-projects:last-child:nth-child(3n) { grid-column: auto; }
}

@media (min-width: 700px) {
  .replacement-guide .on-page ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
}

@media (max-width: 850px) {
  header .brand { flex-basis: 100%; }
  header nav { flex-basis: 100%; justify-content: flex-start; }
  .home-project-hero { gap: 24px; }
  .home-project-hero .hero-image { min-height: 440px; }
  .question-section { gap: 28px; }
}

@media (max-width: 650px) {
  header { padding: 18px 6%; gap: 14px; }
  header .brand { font-size: 26px; }
  header .domain-label { font-size: 10px; letter-spacing: .09em; }
  header nav { font-size: 14px; gap: 6px 18px; }
  header .nav-cta { min-height: 48px; padding: 10px 14px; }
  .home-project-hero { padding: 28px 6% 34px; gap: 24px; }
  .home-project-hero h1 { font-size: clamp(35px, 9.2vw, 46px); line-height: 1.12; margin: 16px 0 20px; }
  .home-project-hero .hero-intro { font-size: 17px; }
  .home-project-hero .hero-actions { gap: 8px 20px; margin-block: 22px 14px; }
  .home-project-hero .hero-actions .button { font-size: 15px; padding: 14px 16px; }
  .home-project-hero .hero-note { font-size: 14px; }
  .home-project-hero .hero-image { min-height: 0; height: 250px; }
  .hero-image figcaption { font-size: 12px; padding: 8px 10px; }
  .eyebrow, .section-no { font-size: 11px; }
  .section-heading h2, .project-hub .section-heading h2 { font-size: 34px; }
  .section-heading > p { font-size: 15px; margin-top: 16px; }
  .project-hub { padding: 34px 6%; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card { padding: 22px; }
  .project-card h3 { font-size: 27px; }
  .project-card p { margin-bottom: 18px; }
  .question-section, .editorial-section, .planning-band, .honesty-note { padding: 36px 6%; }
  .question-heading p { font-size: 16px; }
  .question-panel { padding: 20px; }
  .guide-mode, .guide-mode > span:last-child { font-size: 13px; }
  .guide-mode > span:last-child { padding-left: 12px; }
  .question-panel .small { font-size: 14px; }
  .question-panel .guide-buttons button { font-size: 14px; }
  #guide-answer { font-size: 16px; }
  .resource-grid { gap: 28px; }
  .resource p { font-size: 16px; }
  .planning-actions .button { font-size: 16px; }
  .planning-actions p { font-size: 14px; }
  .honesty-note p { font-size: 16px; }
  footer { font-size: 14px; padding-bottom: 32px; }
  .hero { padding: 30px 6% 36px; }
  .hero > h1 { font-size: clamp(36px, 9vw, 44px); }
  .replacement-guide .article-intro h1 { font-size: clamp(36px, 9vw, 44px); max-width: 22ch; }
  .replacement-guide section { padding-block: 28px; }
  .replacement-guide h2 { font-size: 30px; }
  .replacement-guide ul, .replacement-guide ol { padding-left: 22px; }
  .on-page { padding: 18px; }
  .mobile-inquiry { padding: 20px; }
  .mobile-inquiry .consent { font-size: 16px; padding: 14px; }
}

@media (max-width: 440px) {
  header nav .nav-cta { flex-basis: 100%; justify-content: space-between; }
  .home-project-hero .hero-actions > .button { width: 100%; justify-content: space-between; }
  .question-panel { padding: 18px; }
  .question-panel .guide-buttons button { flex-basis: 100%; text-align: left; }
  .mobile-inquiry { padding: 16px; }
}

@media (forced-colors: active) {
  .project-card, .question-panel, .on-page, .mobile-inquiry, .topic-directory a,
  header .nav-cta { border-color: CanvasText; }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
  textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
  .planning-band a:focus-visible, .project-card:focus-visible,
  .question-panel .guide-buttons button:focus-visible { outline-color: Highlight; }
}
