/* Hallmark custom · Moss &amp; Mortar · Plant-led garden design */
/* Critique: each section follows the business-specific action and its materials. */
@font-face {
  font-family: "source-serif";
  src: url("./fonts/source-serif.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "dm-sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f4f2df;
  --ink: #25372c;
  --accent: #b5c18c;
  --leaf: #273d30;
  --moss: #d4dba9;
  --line: #76816a;
  --display: "source-serif", Georgia, serif;
  --body: "dm-sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(calc(100% - clamp(2.25rem, 9vw, 9rem)), 82rem);
  margin-inline: auto;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
.signature {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  min-width: 0;
  font-weight: 400;
}
h1 {
  font-size: clamp(3.45rem, 7.4vw, 7.5rem);
}
h2 {
  font-size: clamp(2.3rem, 4.3vw, 4.6rem);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
select {
  font: inherit;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:disabled,
select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.25rem;
}
.brand,
.signature {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}
nav a {
  font-size: 0.93rem;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}
.skip {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  z-index: 9;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
}
.skip:focus {
  transform: none;
}
.step {
  padding-block: clamp(3.25rem, 7vw, 7.2rem);
}
.controls {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.controls label {
  font-size: 0.94rem;
  display: grid;
  gap: 0.35rem;
}
.controls select {
  border: 1px solid currentColor;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 2rem 0.65rem 0.7rem;
  border-radius: 0;
  min-height: 2.8rem;
  max-width: 100%;
}
.result {
  padding: 1.2rem 0;
  border-block: 1px solid currentColor;
}
.result strong {
  font-size: 1.18rem;
  display: block;
  margin-bottom: 0.35rem;
}
.result p {
  max-width: 48rem;
}
details {
  border-top: 1px solid currentColor;
  padding: 0.85rem 0;
}
details:last-child {
  border-bottom: 1px solid currentColor;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin-top: 0.55rem;
  max-width: 42rem;
}
footer {
  border-top: 1px solid var(--ink);
}
.foot {
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 2.2rem;
}
.signature {
  font-size: 1.5rem;
}
.foot span,
.foot > a:last-child {
  font-size: 0.9rem;
}
@media (max-width: 690px) {
  header .wrap {
    min-height: 4.6rem;
  }
  nav {
    gap: 0.7rem;
  }
  nav a {
    font-size: 0.875rem;
  }
  .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 445px) {
  .optional {
    display: none;
  }
  .wrap {
    width: calc(100% - 2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  header,
  footer .foot > a:last-child,
  .skip,
  .controls {
    display: none;
  }
}
header {
  background: var(--leaf);
  color: var(--paper);
}
header .brand {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}
.garden-text,
.garden-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 9%;
  align-items: start;
}
.garden-text > div > p {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2.12rem);
  line-height: 1.3;
}
.garden-text dl {
  margin-top: 1.8rem;
}
.garden-text dl > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}
.garden-text dt {
  font-weight: bold;
}
.finder {
  background: var(--moss);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.finder > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 9%;
  align-items: center;
}
.finder-head p {
  margin-top: 1rem;
  max-width: 28rem;
}
#tool {
  padding: clamp(1.3rem, 3vw, 3rem);
  background: var(--paper);
  border-radius: 0.1rem 2rem 0.1rem 0.1rem;
  border: 1px solid var(--line);
}
.garden-notes {
  align-items: center;
}
.garden-notes img {
  width: 100%;
  height: clamp(15rem, 27vw, 27rem);
  object-fit: cover;
  border-radius: 45% 45% 0 0;
}
.garden-notes h2 + p {
  margin: 1rem 0 1.5rem;
}
.garden-notes details,
.result {
  border-color: var(--line);
}
@media (max-width: 700px) {
  .garden-text,
  .garden-notes,
  .finder > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem;
  }
  .garden-text h2 br,
  .finder-head h2 br {
    display: none;
  }
  .garden-text dl > div {
    grid-template-columns: 6.4rem 1fr;
  }
  .garden-notes img {
    height: 19rem;
  }
}
:where(img) {
  height: auto;
}
.almanac {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: var(--leaf);
  color: var(--paper);
}
.almanac > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 8%;
}
.almanac h2 {
  max-width: 11ch;
}
.almanac h2 + p {
  max-width: 32ch;
  margin-top: 1rem;
}
.calendar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.calendar-tabs button {
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem 0.8rem 0 0;
  min-height: 44px;
  cursor: pointer;
}
.calendar-tabs button[aria-pressed="true"] {
  background: var(--moss);
  color: var(--ink);
  border-color: var(--moss);
}
.field-sheet {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1rem, 2.4vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
  gap: 1rem 1.4rem;
}
.sheet-date {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding-right: 0.5rem;
}
.sheet-date strong {
  font: 400 clamp(1.3rem, 2.1vw, 2rem)/1.1 var(--display);
}
.sheet-date span {
  font-size: 0.84rem;
  margin-top: 0.5rem;
}
.sheet-body p {
  margin-top: 0.6rem;
}
.sheet-body dl {
  border-top: 1px solid var(--line);
  margin-top: 0.8rem;
  padding-top: 0.6rem;
}
.sheet-body dt {
  font-weight: 700;
}
.sheet-foot {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.sheet-foot label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-weight: 600;
}
.sheet-foot select {
  background: var(--paper);
  padding: 0.45rem;
  border: 1px solid var(--line);
  min-height: 44px;
}
.sheet-foot p,
.sheet-foot a {
  display: block;
  margin-top: 0.6rem;
}
.sheet-foot a {
  font-weight: 650;
}
@media (max-width: 700px) {
  .almanac > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .almanac h2 {
    max-width: none;
  }
  .field-sheet {
    grid-template-columns: minmax(0, 1fr);
  }
  .sheet-date {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 0.65rem;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .calendar-tabs button {
    padding: 0.45rem 0.65rem;
  }
}
.photo-lead {
  display: grid;
  align-items: stretch;
  grid-template-columns: var(--lead-columns);
  background: var(--lead-bg);
  color: var(--lead-ink);
  width: 100%;
  margin: 0;
  isolation: isolate;
}
.photo-lead-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 6.5rem) clamp(1.15rem, 5.8vw, 7rem);
}
.photo-lead h1 {
  font-family: var(--display, inherit);
  font-weight: var(--lead-weight, 400);
  font-size: clamp(3.25rem, 6.8vw, 8.3rem);
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: balance;
  color: inherit;
  max-width: 12ch;
  margin: 0;
}
.photo-lead p {
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.5;
  max-width: 39ch;
  margin: 1.15rem 0 0;
}
.photo-lead-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin: 1.15rem 0 0.2rem;
}
.photo-lead-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font: inherit;
  line-height: 1.28;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}
.photo-lead-links a:first-child {
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.photo-lead-links a:hover {
  text-decoration-thickness: 3px;
}
.photo-lead-image {
  margin: 0;
  min-width: 0;
  position: relative;
}
.photo-lead-image img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: var(--lead-pos, 50% 50%);
}
.photo-lead.panorama {
  grid-template-columns: 1fr;
  position: relative;
  min-height: clamp(30rem, 54vw, 43rem);
}
.photo-lead.panorama .photo-lead-text {
  position: relative;
  z-index: 1;
  width: min(57rem, 66%);
  background: linear-gradient(
    90deg,
    var(--lead-scrim, #162a24ef) 0%,
    var(--lead-scrim, #162a24ef) 53%,
    transparent 100%
  );
  padding-right: clamp(3rem, 10vw, 12rem);
}
.photo-lead.panorama .photo-lead-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.photo-lead.panorama h1 {
  max-width: 12ch;
}
@media (max-width: 740px) {
  .photo-lead.panorama {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .photo-lead .photo-lead-text,
  .photo-lead.panorama .photo-lead-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    position: static;
    background: none;
    padding: clamp(1.45rem, 5.5vw, 2.7rem) clamp(1.05rem, 5vw, 2.3rem);
  }
  .photo-lead h1 {
    font-size: clamp(2.7rem, 9.7vw, 5.2rem);
    max-width: 15ch;
  }
  .photo-lead p {
    margin-top: 0.8rem;
    font-size: 1rem;
    max-width: 46ch;
  }
  .photo-lead-links {
    margin-top: 0.65rem;
  }
  .photo-lead .photo-lead-image,
  .photo-lead.panorama .photo-lead-image {
    position: relative;
    inset: auto;
    grid-row: 2;
    grid-column: 1;
    height: clamp(13rem, 47vw, 23rem);
    min-height: 0;
  }
  .photo-lead .photo-lead-image img {
    object-position: var(--lead-mobile-pos, var(--lead-pos));
  }
}
.photo-lead {
  --lead-columns: 55% 45%;
  --lead-pos: 50% 58%;
  --lead-bg: #233d31;
  --lead-ink: #f1eedf;
}
.photo-lead {
  --lead-scrim: #12291fed;
}
.photo-lead h1 {
  max-width: 11ch;
}
.finder .controls {
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}
.plot-note {
  margin-top: 0.6rem;
}
