/* =========================================================
   5280 Print Lab - cozy Colorado maker shop
   Palette + type live here. Change a value once, whole
   site follows.
   ========================================================= */

:root {
  /* Warm paper neutrals */
  --cream: #fdf8f2;
  --paper: #f7ede1;
  --paper-deep: #efe1d0;
  --border: #e3d3bf;

  /* Ink */
  --ink: #38291f;
  --ink-soft: #6b5647;
  --ink-faint: #97836f;

  /* Accents */
  --clay: #c1613a;
  --clay-deep: #a44e2c;
  --sage: #7b8d69;
  --gold: #d9a441;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(56, 41, 31, 0.06),
               0 3px 10px rgba(56, 41, 31, 0.05);
  --shadow: 0 2px 4px rgba(56, 41, 31, 0.05),
            0 12px 28px rgba(56, 41, 31, 0.09);

  --wrap: 1140px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;
}

/* ---------- reset-ish ---------- */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--cream);
  /* faint paper grain so large areas aren't flat */
  background-image:
    radial-gradient(circle at 20% 12%, rgba(217, 164, 65, 0.07), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(123, 141, 105, 0.08), transparent 40%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--clay-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout helpers ---------- */

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-head {
  max-width: 46ch;
  margin-bottom: 2.5rem;
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.6rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--clay-deep); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink-faint); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

/* ---------- announcement ---------- */

.announce {
  background: var(--ink);
  color: #f3e6d6;
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1rem;
}
.announce strong { color: var(--gold); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(56, 41, 31, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 48px;
  height: 48px;
  flex: none;
  object-fit: contain;
}

/* Full logo lockup in the footer. It already contains the wordmark, so it
   stands alone - no brand text beside it. */
.footer-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin-bottom: 0.5rem;
}
.brand-text { line-height: 1.05; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}
.brand-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav { display: flex; align-items: center; gap: 1.6rem; }

.nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transition: right 0.22s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--clay);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* stacked photo collage */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
}
.hero-art figure {
  position: absolute;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
/* nth-of-type, not nth-child - .hero-badge is a sibling and would shift the
   count, leaving the last figure unpositioned. */
.hero-art figure:nth-of-type(1) {
  inset: 0 26% 30% 0;
  transform: rotate(-3deg);
}
.hero-art figure:nth-of-type(2) {
  inset: 22% 0 12% 38%;
  transform: rotate(4deg);
  z-index: 2;
}
.hero-art figure:nth-of-type(3) {
  inset: 62% 46% 0 4%;
  transform: rotate(-6deg);
  z-index: 3;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  right: -4px;
  top: -10px;
  z-index: 5;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
}

/* mountain divider */
.ridge {
  display: block;
  width: 100%;
  height: auto;
  color: var(--paper);
}

/* ---------- trust strip ---------- */

.strip {
  background: var(--paper);
  padding: 2.25rem 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}
.strip-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.strip-item svg { flex: none; color: var(--clay); margin-top: 2px; }
.strip-item strong { display: block; font-size: 0.98rem; }
.strip-item span { font-size: 0.88rem; color: var(--ink-soft); }

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.75rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--ink-faint);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-media img { transform: scale(1.04); }

.card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.card-tag.is-gold { background: var(--gold); color: var(--ink); }
.card-tag.is-sage { background: var(--sage); color: #fff; }

.card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-cat {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.card-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  flex: 1;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.card-price { font-weight: 700; font-size: 1.05rem; }
.card-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card:hover .card-cta { text-decoration: underline; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- feature band (custom ornaments) ---------- */

.band {
  background: var(--ink);
  color: #f3e6d6;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.band h2 { color: #fff; }
.band p { color: #d9c8b6; }
.band .eyebrow { color: var(--gold); }
.band-art {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #2c1f17;
}
.band-art img { width: 100%; height: 100%; object-fit: cover; }
.band-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.6rem;
}
.band-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: #e4d5c4;
}
.band-list svg { flex: none; color: var(--gold); margin-top: 4px; }

@media (max-width: 800px) {
  .band { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.about-art img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-art { aspect-ratio: 4 / 3; max-width: 460px; }
}

/* ---------- testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.12em; margin-bottom: 0.65rem; }
.quote p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.35rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 2.5rem 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--clay);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  padding-bottom: 0.9rem;
  margin: 0;
  max-width: 62ch;
}

/* ---------- forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 0.15rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  /* Must stay >= 16px. Below that, iOS Safari zooms the whole page in when a
     field is focused and never zooms back out. */
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(193, 97, 58, 0.15);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

.form-note {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-top: 1rem;
}

/* the copy-and-paste request template */
.msg-template {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin: 0 0 1rem;
  white-space: pre-wrap;   /* keep the line breaks, still wrap on narrow screens */
  overflow-wrap: break-word;
}

/* ---------- newsletter ---------- */

.signup {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.signup form {
  display: flex;
  gap: 0.6rem;
  max-width: 440px;
  margin: 1.5rem auto 0;
}
.signup input {
  flex: 1;
  font: inherit;
  padding: 0.78rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}
.signup input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(193, 97, 58, 0.15);
}
@media (max-width: 520px) {
  .signup form { flex-direction: column; }
  .signup .btn { justify-content: center; }
}

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

.site-footer {
  background: var(--ink);
  color: #cdbba9;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: #cdbba9; text-decoration: none; font-size: 0.94rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #94806d; }
.footer-blurb { font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94806d;
}

/* ---------- page header (inner pages) ---------- */

.page-head {
  background: var(--paper);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}
.page-head .wrap { max-width: 720px; text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.page-head p { color: var(--ink-soft); margin: 0; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
