/* Inland Valley Guides
   One stylesheet for the whole site, built on the logo: ink, red and cream, the wide Michroma
   wordmark, a red rule under every heading, and the sunset stripes (the cuts across the logo's sun). */

:root {
  --ink: #111111;
  --ink-2: #262626;
  --red: #d7261e;
  --red-dark: #b01d16;
  --cream: #fbf1d6;
  --paper: #fffaee;
  --sand: #f1e2bc;
  --muted: #5b5548;
  --line: rgba(17, 17, 17, 0.16);
  --display: "Michroma", "Eurostile", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; margin: 0; line-height: 1.12; letter-spacing: 0.02em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- the bar: a black band like the book's spine, the red rule under it ---------- */
.bar { background: var(--ink); color: var(--cream); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; flex: none; }
.brand-name { font: 400 0.8rem/1.15 var(--display); letter-spacing: 0.08em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font: 500 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { text-decoration: none; opacity: 0.86; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--red); }
.nav .short { display: none; }
.redline { height: 4px; background: var(--red); }

/* ---------- type helpers ---------- */
.kicker { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.kicker b { color: var(--red); font-weight: 600; }
.rule { width: 88px; height: 4px; background: var(--red); margin: 20px 0 22px; }
.lede { font-size: 1.16rem; line-height: 1.6; max-width: 38em; }

/* ---------- the sunset stripes, used as a divider ---------- */
.stripes { display: grid; gap: 5px; padding: 0; }
.stripes span { display: block; height: 10px; background: var(--red); }
.stripes span:nth-child(2) { height: 7px; }
.stripes span:nth-child(3) { height: 5px; }
.stripes span:nth-child(4) { height: 3px; }
.stripes span:nth-child(5) { height: 2px; }
.stripes.ink span { background: var(--ink); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; line-height: 1.35;
  background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: 3px;
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn[aria-disabled="true"] { background: var(--sand); border-color: var(--sand); color: var(--muted); cursor: default; }

/* ---------- home hero ---------- */
.hero { padding: clamp(48px, 9vw, 104px) 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 4.3rem); }
.hero-art { justify-self: end; width: min(100%, 340px); }
.hero-art svg { width: 100%; height: auto; }
.hero .stripes { margin-top: clamp(48px, 8vw, 88px); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.sec-head p:last-child { max-width: 40em; margin-bottom: 0; }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink .kicker { color: #c9bea0; }
.section-sand { background: var(--sand); }

/* ---------- the catalog: one unit per guide, like a 90s product line-up ---------- */
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.unit { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.unit-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink); color: var(--cream); font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.status { color: var(--cream); background: var(--red); padding: 3px 7px; border-radius: 2px; white-space: nowrap; }
.status.later { background: transparent; box-shadow: inset 0 0 0 1px rgba(251, 241, 214, 0.5); }
.unit-art { aspect-ratio: 4 / 5; background: var(--sand); border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.unit-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.unit-art.blank { display: grid; place-items: center; }
.unit-art.blank .code-big { font: 400 clamp(1.1rem, 2vw, 1.5rem)/1 var(--display); letter-spacing: 0.06em; color: var(--ink); position: relative; z-index: 1; background: var(--sand); padding: 6px 10px; }
.unit-art.blank .stripes { position: absolute; left: 0; right: 0; bottom: 22%; }
.unit-art.blank .stripes span { background: var(--ink); opacity: 0.9; }
.unit-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.unit h3 { font-size: 0.98rem; line-height: 1.3; margin-bottom: 10px; }
.unit p { font-size: 0.95rem; line-height: 1.55; }
.mini { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 0.84rem; }
.mini dt { font: 500 0.68rem/1.9 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mini dd { margin: 0; }
.unit-link { margin-top: 14px; font: 400 0.72rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--red); }
.unit-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.principles li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.principles .num { font: 400 1.5rem/1 var(--display); color: var(--red); padding-top: 4px; }
.principles h3 { font-size: 0.92rem; margin-bottom: 8px; letter-spacing: 0.05em; }
.principles p { margin: 0; color: #e9dfc4; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: 44px 0 36px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: start; }
.foot-logo { width: 250px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; font: 500 0.76rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.foot-nav a { text-decoration: none; opacity: 0.86; }
.foot-nav a:hover { opacity: 1; box-shadow: inset 0 -2px 0 var(--red); }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(251, 241, 214, 0.2); padding-top: 22px; margin: 0; font-size: 0.84rem; line-height: 1.6; color: #cfc5a9; padding-right: min(30%, 300px); }
.copy { grid-column: 1 / -1; margin: 0; font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #a89f86; }
.copy a { text-transform: none; letter-spacing: 0.04em; color: #cfc5a9; }
.copy a:hover { color: var(--cream); }
.section-ink .sec-head a { color: var(--cream); text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- product page ---------- */
.crumb { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 22px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--red); }
.product { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 72px); align-items: start; padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.cover-shot { position: relative; margin: 0 14px 14px 0; }
.cover-shot img { border: 3px solid var(--ink); border-radius: 4px; box-shadow: 14px 14px 0 var(--ink); background: var(--sand); }
.product h1 { font-size: clamp(1.8rem, 4.4vw, 3.1rem); }
.product .sub { font-size: 1.2rem; line-height: 1.45; margin: 16px 0 0; font-weight: 500; }
.launch { margin-top: 26px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); }
.launch .kicker { margin-bottom: 8px; color: var(--red); }
.launch p { margin: 0; }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 10px 30px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.prices span { display: flex; flex-direction: column; justify-content: space-between; gap: 7px; }
.prices small { font: 500 0.66rem/1.35 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.prices b { font: 400 1.25rem/1 var(--display); }

.features { display: grid; gap: clamp(48px, 8vw, 88px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature:nth-child(even) .feature-art { order: 2; }
.feature h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); margin-bottom: 4px; }
.feature .rule { margin: 16px 0 18px; width: 64px; }
.feature ul { margin: 0; padding-left: 1.1em; }
.feature li { margin-bottom: 6px; }
.feature li::marker { color: var(--red); }
.feature-art img { border: 2px solid var(--ink); border-radius: 3px; background: #fff; box-shadow: 10px 10px 0 var(--ink); }
.feature-art { margin: 0 10px 10px 0; }
.fig-note { font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }

.refs { columns: 2; column-gap: 28px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 0.95rem; }
.refs li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dotted var(--line); }

.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.check { border-top: 4px solid var(--red); padding-top: 16px; }
.check .big { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); display: block; margin-bottom: 10px; }
.check p { margin: 0; font-size: 0.95rem; color: #e9dfc4; }

.spec { border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); overflow: hidden; }
.spec-head { background: var(--ink); color: var(--cream); padding: 12px 18px; display: flex; justify-content: space-between; gap: 12px; font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.spec table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 34%; font: 500 0.72rem/1.9 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.tracker { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tracker th, .tracker td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tracker th { font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tracker td:nth-child(2) { font-family: var(--mono); font-weight: 500; color: var(--red); padding: 10px 16px; white-space: nowrap; }

.faq { max-width: 50em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font: 400 1.4rem/1 var(--display); color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; max-width: 44em; }

.note-band { border: 2px solid var(--ink); border-radius: 4px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--paper); }
.note-band img { width: 56px; height: 56px; }
.note-band p { margin: 0; }
.note-band h3 { font-size: 0.95rem; margin-bottom: 6px; letter-spacing: 0.05em; }

/* ---------- 404 ---------- */
.lost { min-height: 58vh; display: grid; align-content: center; padding: 72px 0; }
.lost .code-big { font: 400 clamp(3rem, 12vw, 7rem)/1 var(--display); color: var(--red); }

/* ---------- narrow screens ---------- */
@media (max-width: 980px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .bar-in { min-height: 60px; }
  .nav .hide-sm { display: none; }
  .hero-in, .about, .product, .feature { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: start; width: 190px; order: -1; }
  .feature:nth-child(even) .feature-art { order: 0; }
  .cover-shot { max-width: 360px; }
  .refs { columns: 1; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .catalog, .checks { grid-template-columns: minmax(0, 1fr); }
  .nav .full { display: none; }
  .nav .short { display: inline; }
  .unit-art.blank { aspect-ratio: 16 / 7; }
  .brand-name { font-size: 0.7rem; }
  .spec th { width: 40%; padding-right: 8px; }
  .note-band { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- the SSL site seal (2026-10-14) ---------- */
.seal { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.seal img { display: block; height: 42px; width: auto; }
.seal #comodoTL { font: 500 0.62rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); opacity: 0.55; text-decoration: none; }
