:root {
  color-scheme: light;
  --ivory: #f5f3e9;
  --paper: #fbfaf5;
  --ink: #192d25;
  --muted: #4f5e52;
  --forest: #203a2e;
  --accent: #345844;
  --rule: #d4d8c9;
  --sage: #e5e9db;
  --serif: Baskerville, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.125rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
}

a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 1;
  top: .5rem;
  left: .5rem;
  padding: .65rem 1rem;
  background: var(--forest);
  color: var(--paper);
}

.shell {
  width: min(100% - var(--gutter) * 2, 76rem);
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--rule); }

.masthead, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem 2rem;
  min-height: 76px;
  padding-block: .65rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  flex: none;
  font: 1.8rem/1 var(--serif);
  letter-spacing: -.045em;
  text-decoration: none;
}

.wordmark img { display: block; }

.masthead nav, .footer-row nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(1rem, 3.2vw, 2.6rem);
}

.masthead nav a, .footer-row nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 560;
  text-decoration: none;
}

.masthead nav a:hover, .footer-row nav a:hover, .footer-row [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .26em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6.3vw, 5.65rem);
}

.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.15rem;
}

.hero-kicker::before {
  width: 1.55rem;
  height: 1px;
  flex: none;
  background: currentColor;
  content: "";
}

.hero h1 {
  font-size: clamp(3.2rem, 5.65vw, 5.35rem);
  line-height: .94;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  margin-top: .12em;
  color: var(--accent);
  font-weight: inherit;
}

.hero-text {
  max-width: 45ch;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
  margin-top: 1.6rem;
}

.hero-actions p {
  color: var(--muted);
  font-size: .87rem;
}

.hero-actions strong { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.button span { flex: none; }

.button-solid {
  background: var(--forest);
  color: var(--paper);
}

.button-solid:hover { background: var(--accent); }
.button-solid:focus-visible { outline-color: var(--ink); }

.specimen-board {
  display: grid;
  align-content: center;
  gap: clamp(1rem, 2.3vw, 1.8rem);
  padding: clamp(1.05rem, 2.8vw, 2.45rem);
  border: 1px solid #2c4a3a;
  background: linear-gradient(145deg, #304d3f, #20382d 74%);
  color: var(--ivory);
}

.specimen-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #a6b7a67d;
  color: #e8ecdf;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.specimen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.4rem);
}

.specimen-pair img, .plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: top;
  background: var(--paper);
}

.specimen-pair img {
  border: 1px solid #d9dcce;
  box-shadow: 0 .5rem 1.1rem #132b2080;
}

.specimen-pair p {
  margin-top: .55rem;
  color: #e8ecdf;
  font-size: .8rem;
  line-height: 1.35;
}

.hero-specimens figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .77rem;
}

.catalog { border-top: 1px solid var(--rule); }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem 1rem;
  padding-block: 1.7rem 1.85rem;
}

.section-heading h2, .resources h2 {
  font-size: clamp(2.55rem, 5vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.047em;
}

.section-heading p {
  color: var(--muted);
  font-size: .93rem;
}

.collection + .collection { margin-top: 3rem; }

.collection h3 {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .85rem;
  color: var(--accent);
  font: 680 .78rem/1.4 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.collection h3::after {
  flex: 1;
  height: 1px;
  background: var(--rule);
  content: "";
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.35vw, 1.65rem);
}

.product {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  --card-gutter: clamp(1rem, 2vw, 1.55rem);
}

.plate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr);
  align-items: center;
  gap: .75rem 1.15rem;
  min-height: 10.7rem;
  padding: .85rem var(--card-gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--sage);
}

.product:nth-child(4n + 2) .plate, .product:nth-child(4n + 3) .plate {
  background: #eeeadb;
}

.plate-caption > p:nth-child(2) {
  margin-top: .36rem;
  max-width: 18ch;
  color: var(--ink);
  font: 1.3rem/1.1 var(--serif);
}

.plate-caption a, .plan-details > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 40px;
  color: var(--accent);
  font-size: .79rem;
  font-weight: 650;
  text-underline-offset: .23em;
}

.plate img {
  justify-self: end;
  width: min(100%, 16rem);
  aspect-ratio: 2 / 1;
  border: 1px solid #bbc1af;
  box-shadow: 0 .28rem .65rem #29392a2b;
}

.product-copy {
  min-height: 11.8rem;
  padding: 1.2rem var(--card-gutter) 1.05rem;
}

.product h4 {
  margin-top: .22rem;
  font-size: clamp(1.95rem, 3.35vw, 2.85rem);
  line-height: 1;
  letter-spacing: -.048em;
  overflow-wrap: anywhere;
}

.product-description { margin-top: .58rem; }

.product-files {
  margin-top: .36rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
  margin-inline: var(--card-gutter);
  padding-block: .8rem;
  border-top: 1px solid var(--rule);
}

.price {
  display: grid;
  gap: .08rem;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.price strong {
  color: var(--ink);
  font-size: .97rem;
  font-weight: 700;
}

code {
  color: var(--accent);
  font-size: .95em;
  font-weight: 700;
}

.button-outline { border-color: #819282; }
.button-outline:hover { background: var(--forest); color: var(--paper); }

.plan-details {
  margin-inline: var(--card-gutter);
  border-top: 1px solid var(--rule);
  font-size: .88rem;
}

.plan-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  color: var(--accent);
  font-size: .83rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary:hover { text-decoration: underline; text-underline-offset: .22em; }

.plan-details summary span::before {
  content: "+";
  font: 500 1.2rem/1 var(--sans);
}

.plan-details[open] summary span::before { content: "−"; }

.plan-details dl {
  display: grid;
  gap: .65rem;
  margin-top: .18rem;
}

.plan-details dt { font-weight: 650; }
.plan-details dd { color: var(--muted); }
.plan-details > a { margin-block: .3rem; }

.resources { padding-block: clamp(2.65rem, 6vw, 5.3rem); }

.resources-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.35rem, 4.5vw, 3.25rem);
  background: var(--forest);
  color: var(--ivory);
}

.resources h2 {
  margin-top: .42rem;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
}

.resources p {
  margin-top: .55rem;
  color: #e0e7db;
}

.resources .eyebrow { margin-top: 0; color: #cbd8c7; }
.button-inverse { border-color: #aebfac; }
.button-inverse:hover { background: var(--ivory); color: var(--forest); }

.site-footer { border-top: 1px solid var(--rule); }
.footer-row { min-height: 93px; }

.legal-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.legal {
  flex: 1;
  max-width: 46rem;
  padding-block: clamp(2.6rem, 6.7vw, 5.4rem);
}

.legal-header {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.legal h1 {
  margin-bottom: .85rem;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.054em;
}

.legal section { margin-top: 1.6rem; }

.legal h2 {
  margin-bottom: .34rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  line-height: 1.13;
  letter-spacing: -.032em;
}

.legal p { max-width: 66ch; color: var(--muted); }
.legal p a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }

@media (max-width: 54rem) {
  .product-copy { min-height: 13.65rem; }
}

@media (max-width: 49rem) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(3.4rem, 9vw, 5.35rem); }
  .hero-text { max-width: 49ch; }
  .specimen-board { padding: clamp(1rem, 3.8vw, 2rem); }
}

@media (max-width: 42rem) {
  .product-grid { grid-template-columns: 1fr; }
  .product-copy { min-height: 0; }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    padding-block: .85rem;
  }
}

@media (max-width: 32rem) {
  .masthead { min-height: 64px; gap: .35rem .8rem; }
  .wordmark { gap: .4rem; font-size: 1.55rem; }
  .wordmark img { width: 28px; height: 28px; }
  .masthead nav { column-gap: .76rem; }
  .masthead nav a { font-size: .77rem; }
  .hero { padding-block: 2.75rem 2.3rem; }
  .hero h1 { font-size: clamp(3rem, 12vw, 3.7rem); }
  .hero-text { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.25rem; }
  .plate { min-height: 9rem; gap: .65rem; }
}

@media (max-width: 23rem) {
  .masthead { flex-wrap: wrap; }
  .plate-caption > p:nth-child(2) { font-size: 1.15rem; }
}
