/* Rebel Craft Mercantile
   Colors come from the building: canopy teal, roll-up-door pink, mural red,
   lamp-glow gold, and a deep teal ink. */
:root {
  --ink: #172322;
  --ink-2: #0E2221;
  --ground: #F3F6F5;
  --surface: #FFFFFF;
  --muted: #4A5957;
  --muted-on-dark: #C9D6D4;
  --line: #D5E0DE;
  --line-dark: #3A4A48;
  --teal: #18A6A6;
  --teal-deep: #0B6E6E;
  --pink: #E25D84;
  --pink-deep: #B8417A;
  --heart: #E8423F;
  --gold: #FFD27A;

  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --body: 'Public Sans', 'Helvetica Neue', Helvetica, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 24px);
  --radius: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: #084F4F; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(40px, 6vw, 64px); }
.h2-xl { font-size: clamp(44px, 7vw, 72px); }
p { margin: 0; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 96px); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-deep); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: #084F4F; color: #fff; }
.btn-ink { background: var(--ink-2); color: #fff; align-self: flex-start; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow-pink { color: var(--pink-deep); }
.eyebrow-gold { color: var(--gold); }
.placeholder { color: var(--muted); font-style: italic; }
.text-link { font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 245, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 78px; height: auto; }
.brand-name {
  font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1;
  letter-spacing: .02em; text-transform: uppercase;
}
.brand-name small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .32em; }
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { min-height: 44px; padding: 10px 22px; font-size: 15px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 12px; width: 24px; height: 2.5px; background: var(--ink);
  border-radius: 2px; content: ""; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { top: -8px; left: 0; }
.nav-toggle-bars::after { top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin-top: 16px; }
  .brand img { width: 64px; }
  .brand-name { font-size: 22px; }
  .brand-name small { font-size: 13px; }
}

/* Hero */
.hero {
  position: relative; min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--ink);
  color: #fff;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media img { object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,35,34,.25) 0%, rgba(23,35,34,0) 30%, rgba(23,35,34,.85) 100%);
}
.hero-copy { position: relative; width: 100%; padding-block: 120px 64px; }
.hero-logo {
  width: 340px; max-width: 70%; margin-bottom: 24px;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
}
.coming-soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 22px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 18px 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--pink);
  box-shadow: 0 0 0 0 rgba(226,93,132,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226,93,132,.7); }
  70% { box-shadow: 0 0 0 10px rgba(226,93,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,93,132,0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.hero h1 { font-size: clamp(56px, 10vw, 104px); line-height: .92; max-width: 900px; }
.lede { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); max-width: 580px; color: #E7EFEE; }
.hero .btn-row { margin-top: 28px; }

/* Hearts band (echoes the mural) */
.hearts {
  height: 52px; background-color: var(--teal);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='52' viewBox='0 0 132 52'%3E%3Cg transform='translate(9 15)'%3E%3Cpath d='M13 23 L1.5 11 A6.5 6.5 0 0 1 13 3.5 A6.5 6.5 0 0 1 24.5 11 Z' fill='%23E8423F'/%3E%3C/g%3E%3Cg transform='translate(53 15)'%3E%3Cpath d='M13 23 L1.5 11 A6.5 6.5 0 0 1 13 3.5 A6.5 6.5 0 0 1 24.5 11 Z' fill='%23FFFFFF'/%3E%3C/g%3E%3Cg transform='translate(97 15)'%3E%3Cpath d='M13 23 L1.5 11 A6.5 6.5 0 0 1 13 3.5 A6.5 6.5 0 0 1 24.5 11 Z' fill='%23E25D84'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center;
}

/* Categories */
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px;
}
.section-head p { max-width: 420px; color: var(--muted); }
.category-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px;
}
.category {
  background: var(--surface); border-radius: 16px; padding: 28px 24px;
  border-top: 6px solid var(--c); display: flex; flex-direction: column; gap: 8px;
}
.category h3 { font-size: 30px; font-weight: 800; line-height: 1; }
.category p { color: var(--muted); font-size: 16px; }

/* Split sections */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-top { align-items: flex-start; }
.split-reverse { flex-wrap: wrap-reverse; }
.split-media { flex: 1 1 480px; min-width: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split-copy > p:not(.eyebrow) { max-width: 540px; color: var(--muted); }
#makers { padding-top: 24px; }

/* Dark band */
.dark-band { background: var(--ink); color: #fff; padding-block: clamp(64px, 9vw, 88px); }
.dark-band .split-copy > p.muted, .muted { color: var(--muted-on-dark); }
.dark-band .split-copy { flex-basis: 360px; }
.event-list { list-style: none; margin: 0; padding: 0; flex: 1 1 520px; min-width: 0; }
.event-list li {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline;
  padding-block: 20px; border-bottom: 1px solid var(--line-dark);
}
.event-list li:first-child { padding-top: 0; }
.event-date {
  font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--gold);
  min-width: 140px; text-transform: uppercase;
}
.event-list li > span:last-child { flex: 1 1 240px; min-width: 0; }
.event-list strong { display: block; font-size: 18px; }
.event-list .muted { font-size: 15px; }

/* Notify */
.notify { padding-bottom: 0; }
.notify-card {
  background: var(--surface); border-radius: 24px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px 56px; align-items: center;
  border: 1px solid var(--line);
}
.notify-card h2 { margin-block: 10px 14px; }
.notify-card > div > p:last-child { color: var(--muted); max-width: 480px; }

/* Forms */
.signup { display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.signup label { font-weight: 600; font-size: 15px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 18px;
  border: 1.5px solid #9DB0AD; border-radius: 999px; font: inherit; background: #fff; color: var(--ink);
}
.signup input[type="email"]:focus { border-color: var(--teal-deep); outline: 3px solid rgba(24,166,166,.35); outline-offset: 0; }
.form-status { min-height: 1.6em; font-size: 15px; font-weight: 600; }
.form-status.is-ok { color: var(--teal-deep); }
.form-status.is-error { color: #A3263A; }

/* Visit */
.teal-band { background: var(--teal); color: var(--ink-2); padding-block: clamp(64px, 9vw, 88px); }
.teal-band .split-copy { gap: 24px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.fact-label { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.fact { font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 24px; padding-block: 48px; font-size: 15px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 110px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #fff; }
.footer-note { flex-basis: 100%; font-size: 13px; color: #8FA3A0; }
