/* Pretty Cover Co — static site styles.
   Palette carried over from the WordPress build (AdditionalCSS.css):
   ink/navy #0f172a, pink #ec4899, kicker pink (darkened for contrast) #c73f92,
   blush backgrounds #fff7fb / #fff1f6 / #fff4e8, mint #effcf6, sky #eef9ff. */

:root {
  --ink: #0f172a;
  --pink: #ec4899;
  --pink-dark: #d61f7f;
  --kicker: #c73f92;
  --muted: #5b6473;
  --blush: #fff7fb;
  --card-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--pink-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  z-index: 10;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

.section { padding: 70px 24px; }
.section-tight { padding: 40px 24px 20px; }
.container { max-width: 1080px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }

.center { text-align: center; }

.kicker {
  color: var(--kicker);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 20px;
}
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 1.6rem; margin: 0 0 12px; }

.lead { font-size: 1.19rem; line-height: 1.7; }
.muted { color: var(--muted); }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgb(255,244,248) 0%, rgb(255,240,228) 45%, rgb(228,248,247) 100%);
  padding: 80px 30px;
  text-align: center;
}
.hero .container-narrow { max-width: 820px; }

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}
.button {
  display: inline-block;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  min-height: 48px;
}
.button-primary {
  background: var(--pink);
  color: #ffffff;
}
.button-primary:hover { background: var(--pink-dark); }
.button-outline {
  border: 2px solid var(--ink);
  color: var(--ink);
}
.button-outline:hover { background: var(--ink); color: #ffffff; }
.social-cta .button-outline {
  border-color: #ffffff;
  color: #ffffff;
}
.social-cta .button-outline:hover { background: #ffffff; color: var(--ink); }

/* Offerings */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding: 20px 0;
}
.card {
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}
.card p { font-size: 1.05rem; line-height: 1.75; margin: 0; }
.card-blush { background: #fff1f6; }
.card-mint { background: #effcf6; }
.card-sky { background: #eef9ff; }

/* Featured work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.work-grid figure { margin: 0; }
.work-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

/* Raleigh events band */
.events-band { background: #fff4e8; }

/* Social CTA */
.social-cta {
  background: var(--ink);
  color: #ffffff;
  text-align: center;
}

/* Signup */
.signup-band { background: var(--blush); }
.signup-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.signup-form label {
  flex: 1 1 260px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}
.signup-form input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 13px 16px;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
}
.signup-form input[type="email"]:focus { border-color: var(--pink); }
.signup-form button {
  flex: 0 0 auto;
  align-self: flex-end;
  border: 0;
  cursor: pointer;
  background: var(--pink);
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  min-height: 48px;
}
.signup-form button:hover { background: var(--pink-dark); }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

/* Honeypot: hidden from humans, present for naive bots. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
footer {
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }

@media (max-width: 640px) {
  .section { padding: 48px 18px; }
  .hero { padding: 60px 20px; }
  .signup-form button { width: 100%; }
}

/* ---------- Commerce additions ---------- */

/* Top navigation */
.topnav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #f3e4ec;
}
.topnav .brand { font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: 0.2px; }
.topnav ul { list-style: none; display: flex; gap: 6px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 2px; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--pink-dark); }

.hero-small { padding: 56px 24px 44px; }
.hero-small h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.hero-small .lead { max-width: 60ch; margin-left: auto; margin-right: auto; }
.section .sub { color: var(--muted); margin: 0 0 20px; }

/* Product grid + cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  margin-bottom: 20px;
}
.product-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.product-image { display: block; background: var(--blush); }
.product-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body h3 a:hover { color: var(--pink-dark); }
.price { font-weight: 700; font-size: 1.1rem; margin: 0; }
.price-large { font-size: 1.5rem; }
.badge {
  display: inline-block; margin-left: 6px;
  background: var(--blush); color: var(--pink-dark);
  border-radius: 999px; padding: 2px 10px; font-size: 0.72rem; letter-spacing: 0.4px;
}
.buttons-left { justify-content: flex-start; margin-top: auto; padding-top: 10px; gap: 10px; }
.buttons-left .button { padding: 11px 18px; font-size: 0.92rem; min-height: 44px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: minmax(260px, 1fr) 1.2fr; gap: 40px; align-items: start; }
.product-hero { margin: 0; }
.product-hero img { width: 100%; border-radius: 24px; box-shadow: var(--card-shadow); }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* Two-column layouts + stacked forms */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.steps { padding-left: 22px; }
.steps li { margin: 10px 0; line-height: 1.6; }
.form-card { max-width: none; text-align: left; }
.form-card .kicker, .form-card h2 { text-align: center; }
.stack-form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.stack-form label { font-weight: 600; font-size: 0.95rem; }
.stack-form input, .stack-form textarea, .stack-form select {
  width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem;
  border: 2px solid #e5e7eb; border-radius: 14px; background: #fff; color: var(--ink);
}
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 3px rgba(236,72,153,0.2); }
.stack-form textarea { resize: vertical; min-height: 120px; }
.stack-form button {
  border: 0; cursor: pointer; background: var(--pink); color: #fff;
  border-radius: 999px; padding: 14px 28px; font-size: 1rem; font-weight: 700; min-height: 48px;
}
.stack-form button:hover { background: var(--pink-dark); }

/* Long-form text */
.prose h2 { font-size: 1.35rem; margin-top: 32px; }
.prose p { font-size: 1.05rem; line-height: 1.75; }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.event-card { background: #fff; border-radius: 20px; box-shadow: var(--card-shadow); overflow: hidden; display: flex; flex-direction: column; }
.event-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.event-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.event-body h2 { font-size: 1.3rem; margin: 0; } .event-body h2 a { color: var(--ink); text-decoration: none; }
.event-hero-img { border-radius: 20px; box-shadow: var(--card-shadow); margin-bottom: 18px; }
.section-heading { margin-top: 48px; }
.past-list { padding-left: 20px; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; width: auto; }
.waiver { background: var(--blush); border-radius: 12px; padding: 10px 14px; }
.cancel-form { margin-top: 14px; }
.button.danger, .button-outline.danger { border-color: #c2416b; color: #c2416b; }
.button-outline.danger:hover { background: #c2416b; color: #fff; }
hr { border: 0; border-top: 1px solid #f3e4ec; margin: 18px 0; }
.flash-wrap { max-width: 1080px; margin: 12px auto 0; padding: 0 24px; }
.flash { border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; background: #eef9ff; color: #1b5e8a; font-weight: 600; }
.flash-success { background: #e1f0ec; color: #1f5f56; }
.flash-warning { background: #fff1d6; color: #8a5a00; }
.flash-error { background: #f7e3ec; color: #8c2c5a; }
.badge-ok { background: #e1f0ec; color: #1f5f56; }
.stack-form select, .stack-form input[type="tel"], .stack-form input[type="search"] { width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; border: 2px solid #e5e7eb; border-radius: 14px; background: #fff; color: var(--ink); }

/* ---------- Signup ticket (manage page) ---------- */
.ticket { background: #fff; border-radius: 28px; box-shadow: var(--card-shadow); overflow: hidden; }
.ticket-status { padding: 34px 28px 28px; text-align: center; background: var(--blush); }
.ticket-status.is-confirmed { background: #e9f7f2; }
.ticket-status.is-cancelled { background: #f6f0f3; }
.ticket-status h2 { margin: 6px 0 8px; font-size: clamp(1.5rem, 4vw, 2rem); }
.ticket-status .price-large { margin: 8px 0 4px; }
.center-row { justify-content: center; margin-top: 18px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.button-big { font-size: 1.12rem; padding: 16px 34px; min-height: 54px; box-shadow: 0 10px 24px rgba(236, 72, 153, 0.25); }
.pay-form { margin: 18px 0 6px; }
.pay-form button { border: 0; cursor: pointer; }
.pay-instructions { margin-top: 22px; padding: 16px 18px; background: #fff; border-radius: 16px; text-align: left; }
.pay-instructions .prose p { margin: 4px 0; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0; padding: 26px 28px; }
.ticket-grid > div { min-width: 0; }
.ticket-grid .wide { grid-column: 1 / -1; }
.ticket-grid dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ticket-grid dd { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.code-badge { display: inline-block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.12em; background: var(--ink); color: #fff; padding: 6px 14px; border-radius: 10px; }
.ticket-foot { padding: 6px 28px 24px; border-top: 1px dashed #efdfe7; }
.small { font-size: 0.88rem; }
.linklike { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.danger-link { color: #c2416b; font-weight: 600; text-decoration: underline; }
.cancel-form { margin: 10px 0; }
@media (max-width: 560px) { .ticket-grid { grid-template-columns: 1fr; padding: 22px 20px; } .ticket-status, .ticket-foot { padding-left: 20px; padding-right: 20px; } }

/* ---------- Shop: cart + checkout ---------- */
.cart-link { white-space: nowrap; }
.cart-table { width: 100%; border-collapse: collapse; margin: 14px 0; background: #fff; border-radius: 16px; overflow: hidden; }
.cart-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid #f3e4ec; }
.cart-table td { padding: 12px; border-bottom: 1px solid #f3e4ec; vertical-align: middle; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-table input[type="number"] { width: 64px; padding: 8px; border: 2px solid #e5e7eb; border-radius: 10px; font: inherit; }
.cart-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.checkout-card { max-width: none; text-align: left; }
.checkout-card .kicker { text-align: left; }
.totals { width: 100%; margin: 4px 0 8px; } .totals td { padding: 6px 0; } .totals td:last-child { text-align: right; font-weight: 700; }
.buy-form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.buy-form select { margin-left: 8px; padding: 8px 12px; border: 2px solid #e5e7eb; border-radius: 10px; font: inherit; }
.buy-form .buttons { margin-top: 12px; } .buy-form button.button { border: 0; cursor: pointer; font: inherit; }
.buy-form button.button-outline { background: transparent; border: 2px solid var(--ink); }
.product-card form { display: inline; } .product-card form button { border: 0; cursor: pointer; font: inherit; }
.no-image { background: linear-gradient(135deg, #fff1f6, #eef9ff); aspect-ratio: 3 / 4; }
.no-image.tall { border-radius: 24px; }
.product-gallery figure + figure { margin-top: 14px; }
.thumb { width: 44px; height: 56px; object-fit: cover; border-radius: 6px; }
.thumb-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.thumb-item { text-align: center; } .thumb-item img { width: 90px; height: 116px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 4px; }
.row-muted td { opacity: 0.6; }
.class-row { background: #fff; border: 1px solid #f3e4ec; border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.class-row input { max-width: 170px; }
.delivery-choice { border: 1px solid #f3e4ec; border-radius: 14px; padding: 12px 16px; margin: 6px 0 10px; display: grid; gap: 10px; }
.delivery-choice legend { font-weight: 700; padding: 0 6px; }
.delivery-choice input[type="radio"] { width: auto; margin-top: 4px; }
.flash .inline-form { margin-left: 8px; }
