/* ==========================================================================
   Make America Kind — stylesheet
   Palette: woven canvas background, button-blue + button-red pulled directly
   from the real artwork (#0071bc ring blue, #ed1c24 button red)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Space+Grotesk:wght@500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --canvas: #efe6d3;
  --canvas-deep: #e3d6b8;
  --denim: #0071bc;
  --denim-deep: #0b3a5c;
  --mustard: #d9a441;
  --mustard-deep: #b8842c;
  --brick: #ed1c24;
  --brick-deep: #a91318;
  --ink: #2a2621;
  --ink-soft: #55503f;
  --paper-line: rgba(11, 58, 92, 0.14);
  --cream: #fbf6ea;

  --font-display: 'Fraunces', Georgia, serif;
  --font-label: 'Space Grotesk', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --max-width: 1120px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* woven canvas texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(44,62,82,0.035) 0px, rgba(44,62,82,0.035) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(-45deg, rgba(44,62,82,0.03) 0px, rgba(44,62,82,0.03) 1px, transparent 1px, transparent 6px);
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--brick-deep);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--denim-deep);
  margin: 0.2em 0 0.4em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.lede {
  font-size: 1.15rem;
  max-width: 46ch;
  color: var(--ink);
}

/* ---------------------------------- nav ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239, 230, 211, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--denim-deep);
  font-size: 15px;
  text-transform: uppercase;
}

.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brick-deep);
  border-color: var(--brick);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--denim);
  border-radius: 8px;
  width: 40px;
  height: 36px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--denim);
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 18px 28px;
    gap: 14px;
    border-bottom: 1px solid var(--paper-line);
    display: none;
  }
  .nav-links.open { display: flex; }
}

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

.hero-section {
  padding: 76px 0 60px;
}

@media (max-width: 860px) {
  .hero-section { padding: 48px 0 40px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

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

.hero-copy .eyebrow { margin-bottom: 14px; display: inline-block; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-fill {
  background: var(--mustard);
  color: var(--denim-deep);
  box-shadow: 0 6px 0 var(--mustard-deep);
}
.btn-fill:hover { box-shadow: 0 8px 0 var(--mustard-deep); }
.btn-fill:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--mustard-deep); }

.btn-outline {
  background: transparent;
  color: var(--denim-deep);
  border-color: var(--denim);
}
.btn-outline:hover { background: var(--denim); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--brick-deep);
  border-color: var(--brick);
}
.btn-ghost:hover { background: var(--brick); color: var(--cream); }

/* ------------------------------ pin badges -------------------------------- */

.pin-field {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(44,62,82,0.05) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(90deg, rgba(44,62,82,0.05) 0 2px, transparent 2px 34px),
    var(--canvas-deep);
  border-radius: var(--radius-lg);
  padding: 46px 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  box-shadow: inset 0 0 0 1px var(--paper-line);
}

.pin-badge {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  position: relative;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow:
    0 10px 20px -12px rgba(11, 58, 92, 0.4),
    0 0 0 1px rgba(11, 58, 92, 0.08);
  cursor: default;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}

.pin-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.pin-badge:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 24px -12px rgba(11, 58, 92, 0.45),
    0 0 0 1px rgba(11, 58, 92, 0.08);
}

/* pinned variant: clasp + slight tilt — reserved for the hero cluster,
   so the "worn button" signature stays special rather than repeated */
.pin-badge--pinned {
  --tilt: 0deg;
  margin-top: 14px;
  transform: rotate(var(--tilt));
}

.pin-badge--pinned:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.04);
  box-shadow:
    0 22px 26px -12px rgba(11, 58, 92, 0.5),
    0 0 0 1px rgba(11, 58, 92, 0.08);
}

.pin-caption {
  text-align: center;
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .pin-badge, .btn { transition: none; }
  .pin-badge--pinned:hover { transform: rotate(var(--tilt)); }
}

/* -------------------------------- sections -------------------------------- */

section { padding: 64px 0; position: relative; z-index: 1; }

.section-divider {
  height: 1px;
  background: var(--paper-line);
  max-width: var(--max-width);
  margin: 0 auto;
}

.postcard {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 46px;
  box-shadow: 0 1px 0 var(--paper-line), 0 18px 30px -22px rgba(28,20,10,0.35);
  position: relative;
}
.postcard::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--paper-line);
  border-radius: 14px;
  pointer-events: none;
}

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brick-deep);
  margin-top: 24px;
}

.story-more summary {
  cursor: pointer;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--brick-deep);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.story-more summary:hover { text-decoration: underline; }
.story-more summary::-webkit-details-marker { display: none; }
.story-more summary::after {
  content: "▾";
  font-size: 10px;
  transition: transform 0.15s ease;
}
.story-more[open] summary::after { transform: rotate(180deg); }
.story-more[open] summary { margin-bottom: 16px; }
.story-more-body p { margin-bottom: 1em; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 780px) {
  .two-col { grid-template-columns: 1fr; }
}

/* timeline (real chronological sequence) */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 780px) {
  .timeline { grid-template-columns: 1fr; }
}

.timeline-item {
  border-left: 3px solid var(--mustard);
  padding: 4px 0 4px 20px;
}
.timeline-item:nth-child(2) { border-left-color: var(--denim); }
.timeline-item:nth-child(3) { border-left-color: var(--brick); }

.timeline-date {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--denim-deep);
}

/* order strip */

.order-strip {
  background: var(--denim-deep);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.order-strip h2 { color: var(--cream); margin: 0 0 6px; }
.order-strip p { color: rgba(251,246,234,0.75); margin: 0; max-width: 42ch; }
.order-strip .hero-actions { margin-top: 0; }

/* qr / share */

.share-card {
  display: flex;
  gap: 30px;
  align-items: center;
  background: var(--canvas-deep);
  border-radius: var(--radius-lg);
  padding: 34px;
  flex-wrap: wrap;
}
.qr-box {
  background: var(--cream);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 var(--paper-line);
  width: 128px;
  height: 128px;
}
.qr-box img { width: 100%; height: 100%; }

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

.site-footer {
  border-top: 1px solid var(--paper-line);
  padding: 40px 0 50px;
  margin-top: 20px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 42ch;
}
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-label);
  font-size: 13.5px;
  font-weight: 600;
}
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--brick-deep); }

/* -------------------------------- misc pages ------------------------------- */

.page-hero {
  padding: 60px 0 20px;
  text-align: left;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.design-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 1px 0 var(--paper-line);
}
.design-card .pin-badge { margin: 0 auto 18px; }
.design-card h3 { margin-bottom: 6px; }
.design-card p { font-size: 14.5px; margin-bottom: 0; }

.magnet {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 18px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 12px 18px -10px rgba(28,20,10,0.4),
    0 0 0 1px rgba(28, 20, 10, 0.06);
}
.magnet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.contact-block {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-email {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--denim-deep);
}

/* per-design order grid */

.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.order-card {
  scroll-margin-top: 90px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px 18px 22px;
  text-align: center;
  box-shadow: 0 1px 0 var(--paper-line);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.order-card .pin-badge,
.order-card .magnet {
  margin: 0 0 16px;
}
.order-card h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.order-card .order-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.order-card .btn {
  padding: 10px 18px;
  font-size: 13px;
  margin-top: auto;
}

.coupon-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--canvas-deep);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-label);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--denim-deep);
  margin-top: 22px;
}
.coupon-note code,
.code-pill {
  background: var(--mustard);
  color: var(--denim-deep);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  white-space: nowrap;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 780px) {
  .steps-list { grid-template-columns: 1fr; }
}
.steps-list li {
  counter-increment: step;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: relative;
  box-shadow: 0 1px 0 var(--paper-line);
}
.steps-list li::before {
  content: counter(step);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--brick);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.steps-list p { margin: 0; font-size: 14.5px; }

/* why-100 disclosure */

.why-100 {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-top: 18px;
  box-shadow: 0 1px 0 var(--paper-line);
}

.why-100 summary {
  cursor: pointer;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--denim-deep);
  list-style: none;
}
.why-100 summary::-webkit-details-marker { display: none; }
.why-100 summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.15s ease;
}
.why-100[open] summary::before { transform: rotate(90deg); }

.why-100-body {
  margin-top: 14px;
}
.why-100-body p {
  font-size: 14px;
  margin-bottom: 12px;
}

.price-table {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
  font-family: var(--font-label);
  font-size: 13.5px;
  margin-bottom: 14px;
}
.price-table th {
  text-align: left;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-bottom: 2px solid var(--paper-line);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--paper-line);
  color: var(--ink);
}
.price-table tr.price-row-highlight td {
  background: var(--mustard);
  color: var(--denim-deep);
  font-weight: 700;
  border-bottom-color: transparent;
}
.price-table tr.price-row-highlight td:first-child {
  border-radius: 6px 0 0 6px;
}
.price-table tr.price-row-highlight td:last-child {
  border-radius: 0 6px 6px 0;
}

/* polaroid-style photo card */

.polaroid-row {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.polaroid {
  background: #fff;
  padding: 14px 14px 46px;
  border-radius: 4px;
  box-shadow: 0 16px 26px -14px rgba(28,20,10,0.4), 0 0 0 1px var(--paper-line);
  transform: rotate(-3deg);
  width: 220px;
  flex-shrink: 0;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}
.polaroid-caption {
  font-family: var(--font-display);
  font-style: italic;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 12px;
}
