:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --surface: #fcf9f2;
  --ink: #283138;
  --secondary: #545953;
  --rule: #d9d1c3;
  --accent: #854532;
  --dark: #293238;
  --cream: #f8f3e9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-padding-top: 1.5rem; }

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

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

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

a { color: inherit; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.skip-link:focus {
  position: absolute;
  z-index: 1;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--cream);
  background: var(--dark);
}

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

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

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

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

.seal {
  display: grid;
  place-items: center;
  width: 1.8rem;
  aspect-ratio: 1;
  background: var(--accent);
  color: var(--cream);
  font: italic 1.12rem/1 var(--serif);
  letter-spacing: 0;
}

.site-nav, .footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(.85rem, 3vw, 2.15rem);
}

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

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

.hero {
  display: grid;
  grid-template-columns: 1.19fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.75rem);
  padding-block: clamp(3.25rem, 6.2vw, 5.8rem);
}

.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.25rem;
}

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

.hero h1 {
  font-size: clamp(2.95rem, 5.1vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero h1 em, .unbroken { white-space: nowrap; }

.hero h1 em {
  color: var(--accent);
  font-weight: inherit;
}

.hero-description {
  max-width: 47ch;
  margin-top: 1.5rem;
  color: var(--secondary);
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

.hero-actions, .product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
}

.hero-actions { margin-top: 1.8rem; }

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

.button span {
  flex: none;
  font-size: 1.06em;
}

.button-solid {
  background: var(--dark);
  color: var(--cream);
}

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

.hero-price, .product-price {
  display: grid;
  gap: .08rem;
  color: var(--secondary);
  font-size: .81rem;
  line-height: 1.4;
}

.hero-price strong, .product-price strong {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
}

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

.specimen {
  min-width: 0;
  align-self: center;
}

.specimen-board {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.12;
  overflow: hidden;
  background: radial-gradient(ellipse at 35% 27%, #48514e, var(--dark) 78%);
}

.specimen-board::before {
  position: absolute;
  inset: 5%;
  border: 1px solid #c5b7a346;
  content: "";
}

.hero-proof {
  position: absolute;
  display: block;
  height: auto;
  box-shadow: 0 8px 20px #1019196b;
}

.hero-proof-linesheet {
  top: 12%;
  left: 13%;
  width: 40%;
  transform: rotate(-14deg);
}

.hero-proof-wedding {
  top: 10%;
  right: 10%;
  width: 39%;
  transform: rotate(11deg);
}

.hero-proof-nutrition {
  top: 37%;
  left: 10%;
  width: 25%;
  transform: rotate(-7deg);
}

.hero-proof-spine {
  top: 51%;
  right: 14%;
  width: 46%;
  transform: rotate(3deg);
}

.specimen figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding-top: .65rem;
  color: var(--secondary);
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .095em;
  text-transform: uppercase;
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .7rem 2rem;
  padding-block: 1.85rem 1.5rem;
}

.section-heading h2, .resources h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.07;
  letter-spacing: -.05em;
}

.section-heading p { color: var(--secondary); }

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

.product {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--rule);
}

.product-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(10.5rem, 18.7vw, 16.1rem);
}

.product-plate::before {
  position: absolute;
  inset: .85rem;
  z-index: -1;
  border: 1px solid #34353029;
  content: "";
}

.product-plate img {
  display: block;
  width: auto;
  height: 79%;
  max-width: 72%;
  object-fit: contain;
  box-shadow: 0 .4rem 1.2rem #27272332;
}

.plate-linesheet { background: #e9ddcc; }
.plate-nutrition { background: #e0e4d9; }
.plate-spine { background: #dce3e3; }
.plate-wedding { background: #eddfda; }

.plate-linesheet img { transform: rotate(-6deg); }
.plate-nutrition img { transform: rotate(5deg); }
.plate-spine img { transform: rotate(-3deg); }
.plate-wedding img { transform: rotate(6deg); }

.product-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.4vw, 1.7rem);
}

.product h3 {
  margin-top: .25rem;
  font-size: clamp(1.77rem, 3.4vw, 2.53rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.product-description {
  flex: 1;
  margin-block: .65rem 1.25rem;
  color: var(--secondary);
  max-width: 47ch;
}

.product-actions {
  justify-content: space-between;
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
}

.button-outline { border-color: #8d8172; }

.button-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

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

.resources-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.3rem;
  padding: clamp(1.5rem, 4.3vw, 3.4rem);
  background: var(--dark);
  color: var(--cream);
}

.resources h2 { font-size: clamp(1.9rem, 3.7vw, 2.8rem); }

.resources p {
  max-width: 57ch;
  margin-top: .6rem;
  color: #e0dbce;
}

.button-inverse {
  flex: none;
  border-color: #c4b9a5;
}

.button-inverse:hover {
  background: var(--cream);
  color: var(--dark);
}

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

.footer-row { min-height: 98px; }

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

.legal-layout main { flex: 1; }

.legal {
  max-width: 47rem;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

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

.legal-header h1 {
  font-size: clamp(3.15rem, 8.5vw, 5.8rem);
  line-height: .99;
  letter-spacing: -.06em;
  margin-block: .6rem 1rem;
}

.legal-header p:last-child { max-width: 57ch; }

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

.legal h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.17;
  margin-bottom: .55rem;
}

.legal p { color: var(--secondary); }
.legal p.eyebrow, .legal p a { color: var(--accent); }
.legal a { text-underline-offset: .16em; overflow-wrap: anywhere; }

@media (max-width: 58rem) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 43rem) {
  .hero, .product-grid { grid-template-columns: 1fr; }

  .hero { gap: 2.25rem; }

  .hero h1 { font-size: clamp(2.75rem, 10.3vw, 4.4rem); }

  .hero-description { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.35rem; }

  .resources-panel, .footer-row { align-items: flex-start; }

  .resources-panel, .footer-row { flex-direction: column; }
  .footer-row { padding-block: 1.15rem; }
}

@media (max-width: 27rem) {
  .masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding-block: .55rem .22rem;
  }

  .site-nav { column-gap: 1.25rem; }
  .product-actions { gap: .8rem; }
}
