/* onmin — site styles */

:root {
  --sand: #faf7f2;
  --sand-deep: #f0e9de;
  --slate: #46656f;
  --slate-dark: #2f4750;
  --terra: #c17a5b;
  --ink: #3d3a35;
  --rule: #e0d8c9;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: Cambria, "Palatino Linotype", Georgia, serif;
  color: var(--slate-dark);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 0.8rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }

p { margin: 0 0 1.1rem; }

a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate); }

img { max-width: 100%; }

/* ---- masthead ---- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: #fffdf9;
}

.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.6rem 1rem 0.4rem;
  margin: 0 auto;
  max-width: 980px;
}
.wordmark img { width: 44px; height: 44px; }
.wordmark span {
  font-family: Cambria, Georgia, serif;
  font-size: 1.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-dark);
}

.tagline {
  text-align: center;
  margin: 0 auto;
  padding: 0 1rem 1.2rem;
  max-width: 980px;
  font-style: italic;
  color: #7c8577;
  font-size: 0.95rem;
}

.sitenav {
  border-top: 1px solid var(--rule);
  background: var(--sand-deep);
}
.sitenav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.4rem;
  list-style: none;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  max-width: 980px;
}
.sitenav a {
  display: block;
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  color: var(--slate-dark);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.sitenav a:hover { color: var(--terra); }
.sitenav a[aria-current="page"] {
  color: #fff;
  background: var(--slate);
  border-radius: 999px;
}

/* ---- page scaffolding ---- */

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.8rem 1.2rem 2rem;
}

.page-narrow { max-width: 760px; }

.standfirst {
  font-size: 1.18rem;
  color: #5c6760;
  max-width: 40rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--terra);
  margin: 0 0 0.5rem;
  font-weight: bold;
}

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 2.4rem 0; }

.skipper {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--terra);
  color: #fff;
  padding: 0.5rem 1rem;
}
.skipper:focus { left: 0; color: #fff; }

/* ---- cards ---- */

.cards {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 1.6rem 0;
}

.range-item {
  background: #fffdf9;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.range-item h3 { margin: 0 0 0.5rem; }
.range-item p:last-child { margin-bottom: 0; }
.range-item .cost {
  margin-top: auto;
  font-family: Cambria, Georgia, serif;
  font-size: 1.15rem;
  color: var(--slate-dark);
}
.range-item .cost em { font-style: normal; font-size: 0.8rem; color: #8a8578; }

.more {
  align-self: flex-start;
  font-size: 0.9rem;
}

/* ---- products ---- */

.product {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.product:first-of-type { border-top: 0; padding-top: 0.6rem; }
.product h2 { margin-bottom: 0.3rem; }
.product .sub {
  font-style: italic;
  color: #7c8577;
  margin: 0 0 0.9rem;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.2rem 0;
  background: #fffdf9;
}
.specs th, .specs td {
  text-align: left;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--rule);
}
.specs thead th {
  background: var(--sand-deep);
  font-family: Cambria, Georgia, serif;
}

.callout {
  background: var(--sand-deep);
  border-left: 4px solid var(--terra);
  padding: 0.9rem 1.2rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

/* ---- journal ---- */

.entry {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.entry:first-of-type { border-top: 0; padding-top: 0.4rem; }
.entry h2 { margin-bottom: 0.2rem; }
.entry .byline {
  font-size: 0.85rem;
  color: #8a8578;
  margin: 0 0 1rem;
}
.entry time { font-variant-numeric: tabular-nums; }

/* ---- footer ---- */

.colophon {
  border-top: 1px solid var(--rule);
  background: #fffdf9;
  margin-top: 2.6rem;
  font-size: 0.92rem;
}
.colophon-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.2rem 2.4rem;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.colophon h3 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8578;
  margin: 0 0 0.5rem;
}
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin: 0.2rem 0; }
.colophon .fineprint {
  border-top: 1px solid var(--rule);
  text-align: center;
  padding: 1rem 1.2rem;
  font-size: 0.78rem;
  color: #8a8578;
}
