

:root {
  --ivory: #fff8e1;
  --ivory-deep: #f6ecc9;
  --paper: #fffdf5;
  --ink: #003366;
  --ink-deep: #00264d;
  --ink-soft: #2b4f7a;
  --text: #1c2230;
  --muted: #5a5a5a;          
  --rust: #e67e22;           
  --rust-text: #a14d06;      
  --line: #d8cba1;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.6vw, 3.9rem);

  --space: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --wrap: 72rem;
  --pad: clamp(1rem, 0.6rem + 2vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: var(--ink); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--rust-text);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  z-index: 10;
}
.skip:focus { top: 0.5rem; }


.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.85rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.wordmark__mark {
  position: relative;
  flex: none;
  width: 1.6rem;
  height: 1.05rem;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: 4px 4px 0 var(--rust);
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}
.wordmark__name em {
  font-style: italic;
  font-weight: 400;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.nav a {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--ink); }


.hero {
  padding-block: clamp(2rem, 1rem + 5vw, 5.5rem) var(--space);
  overflow-x: clip;             
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}
.hero__copy { min-width: 0; }

.demo-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.demo-tag span, .demo-chip {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.78rem;
}

.hero__title {
  font-size: var(--step-3);
  max-width: 14ch;
}
.ink-under {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(transparent 72%, color-mix(in srgb, var(--rust) 40%, transparent) 72%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__lede {
  margin-top: 1.1rem;
  max-width: 38ch;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text);
}
.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border-radius: 3px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--rust);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--rust);
}
.btn--quiet {
  color: var(--ink);
  border: 2px solid var(--ink);
  background: transparent;
}
.btn--quiet:hover { background: var(--paper); }

@media (max-width: 26rem) {
  .btn { width: 100%; }
}


.stack {
  position: relative;
  width: min(100%, 30rem);
  aspect-ratio: 5 / 4;
  margin-inline: auto;
  isolation: isolate;
}
.stack__sheet {
  position: absolute;
  width: 72%;
  aspect-ratio: 1.75 / 1;
  border-radius: 6px;
  left: 14%;
  top: 22%;
}
.stack__sheet--back {
  background: var(--ink-deep);
  transform: rotate(-9deg) translate(-6%, -10%);
}
.stack__sheet--mid {
  background: var(--rust);
  transform: rotate(5deg) translate(5%, -2%);
}
.stack__sheet--front {
  background: var(--paper);
  border: 1px solid var(--line);
  transform: rotate(-2deg) translate(0, 14%);
  box-shadow: 0 18px 30px -18px rgba(0, 38, 77, 0.55);
  padding: 9% 9%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7%;
}
.stack__rule {
  display: block;
  height: 7%;
  width: 55%;
  background: var(--ink);
  border-radius: 1px;
  opacity: 0.85;
}
.stack__rule--long { width: 70%; height: 11%; }
.stack__rule--short { width: 35%; opacity: 0.45; }
.stack__corner {
  position: absolute;
  right: 9%;
  top: 14%;
  width: 16%;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.stack__crop {
  position: absolute;
  width: 9%;
  aspect-ratio: 1;
  border-color: var(--ink);
  border-style: solid;
  opacity: 0.55;
}
.stack__crop--tl { left: 2%; top: 4%; border-width: 2px 0 0 2px; }
.stack__crop--br { right: 2%; bottom: 2%; border-width: 0 2px 2px 0; }

@media (min-width: 52rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}


.section-head { max-width: 40rem; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-text);
  margin-bottom: 0.7rem;
}
.kicker__stack {
  position: relative;
  flex: none;
  width: 1.3rem;
  height: 0.85rem;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: 3px 3px 0 -1px var(--ivory), 3px 3px 0 1px currentColor;
}
.section-head h2 { font-size: var(--step-2); }


.products {
  padding-block: var(--space);
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.products .kicker__stack { box-shadow: 3px 3px 0 -1px var(--paper), 3px 3px 0 1px currentColor; }
.index {
  list-style: none;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.index__num {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-style: italic;
  color: var(--rust-text);
  line-height: 1;
}
.index__body { min-width: 0; }
.index__body h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.index__body p { color: var(--muted); max-width: 46ch; }
.index__swatch { display: none; }

@media (min-width: 44rem) {
  .index__item {
    grid-template-columns: 4.5rem minmax(0, 1fr) 10rem;
    align-items: center;
  }
  .index__swatch {
    display: block;
    justify-self: end;
    position: relative;
    border-radius: 3px;
    background: var(--ivory);
    border: 1px solid var(--line);
    box-shadow: 6px 6px 0 var(--ink);
  }
  .index__swatch--card { width: 8.5rem; aspect-ratio: 1.75 / 1; }
  .index__swatch--sheet { width: 5.5rem; aspect-ratio: 8.5 / 11; box-shadow: 6px 6px 0 var(--rust); }
  .index__swatch::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 30%;
    bottom: 18%;
    height: 10%;
    background: var(--ink);
    opacity: 0.7;
  }
  .index__swatch--sheet::after { top: 12%; bottom: auto; height: 6%; right: 45%; }
}


.services {
  background: var(--ink);
  color: var(--ivory);
  padding-block: var(--space);
}
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
}
.section-head--light h2 { color: var(--ivory); }
.section-head--light .kicker { color: #ffc58f; }          
.section-head--light .kicker__stack { box-shadow: 3px 3px 0 -1px var(--ink), 3px 3px 0 1px currentColor; }
.services__intro { margin-top: 1rem; color: #e8e0c4; max-width: 34ch; }

.services__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  min-width: 0;
}
.service {
  position: relative;
  background: var(--paper);
  color: var(--text);
  padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--rust);
  margin-right: 8px;
  margin-bottom: 8px;
}
.service + .service { box-shadow: 8px 8px 0 #6f9ccc; }
.service__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-text);
  margin-bottom: 0.5rem;
}
.service h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.service p:last-child { color: var(--muted); }

@media (min-width: 56rem) {
  .services__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(2) { margin-top: 3rem; }
}


.contact { padding-block: var(--space); }
.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: clamp(1.4rem, 1rem + 3vw, 3rem);
  box-shadow: 10px 10px 0 var(--ink-soft), 10px 10px 0 2px var(--ink);
  margin-right: 12px;
}
.contact__intro { min-width: 0; }
.contact__intro h2 { font-size: var(--step-2); margin-bottom: 0.9rem; }
.contact__intro p:last-child { color: var(--muted); max-width: 44ch; }
.contact .kicker__stack { box-shadow: 3px 3px 0 -1px var(--paper), 3px 3px 0 1px currentColor; }

.contact__routes {
  margin: 0;
  display: grid;
  gap: 0;
  min-width: 0;
  align-content: start;
}
.route {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.route:first-child { border-top: 2px solid var(--ink); }
.route dt {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.route dd {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.route a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--rust);
}

@media (min-width: 52rem) {
  .contact__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; }
}


.footer {
  background: var(--ink-deep);
  color: #e8e0c4;                
  padding-block: 2rem;
  font-size: var(--step--1);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.demo-chip { background: var(--ivory); color: var(--ink-deep); }
.footer__note { flex: 1 1 18rem; min-width: 0; }
.footer__top { color: var(--ivory); font-weight: 600; }
