/* ============================================================
   BELLTOWN APPAREL — belltownapparel.com
   Wear the neighborhood. Knoxville, Tennessee.
   ============================================================ */

:root {
  /* Palette — from the Belltown mark + product line */
  --cream: #f2efe8;
  --cream-deep: #e9e4d7;
  --paper: #faf8f3;
  --charcoal: #37352f;       /* header slab */
  --charcoal-deep: #2b2a25;
  --ink: #23221e;
  --ink-soft: #57544b;
  --bell: #a09256;           /* etched bell gold-olive */
  --bell-soft: #c2b78a;
  --dusty: #6e87a8;          /* Love Your Neighbor blue */
  --dusty-deep: #5a7291;
  --butter: #e3b64b;         /* Love Your Neighbor yellow */
  --ivory-ink: #f4ecd7;      /* print color on crews */

  --display: "Cinzel", "Trajan Pro", serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;
  --script: "Yellowtail", cursive;

  --ease: cubic-bezier(.22, .8, .32, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--bell-soft); color: var(--ink); }

h1, h2, h3 { line-height: 1.15; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--bell);
  display: block;
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.script { font-family: var(--script); font-weight: 400; }

.lede { font-size: 1.06rem; max-width: 34em; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.4rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
}

.btn:hover { background: var(--ink); color: var(--cream); }

.btn--solid { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.btn--solid:hover { background: var(--bell); border-color: var(--bell); color: var(--charcoal-deep); }

.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: var(--charcoal);
  color: var(--cream);
  transition: padding .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.is-scrolled {
  padding-block: .6rem;
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .55);
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .7rem;
  line-height: 1;
}

.brand__bell { width: 1.7rem; height: auto; fill: var(--bell-soft); }

.brand__text { display: flex; flex-direction: column; gap: .2rem; }

.brand__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.brand__sub {
  font-size: .56rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--bell-soft);
}

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

.nav a {
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-block: .3rem;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bell-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav .btn { padding: .65rem 1.4rem; border-color: var(--bell-soft); color: var(--bell-soft); }
.nav .btn:hover { background: var(--bell-soft); color: var(--charcoal-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 2rem; height: 2rem;
  position: relative;
  z-index: 110;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: .25rem; right: .25rem;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}

.nav-toggle::before { top: .55rem; }
.nav-toggle span { top: 50%; }
.nav-toggle::after { bottom: .55rem; }

body.nav-open .nav-toggle::before { transform: translateY(.4rem) rotate(45deg); background: var(--cream); }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after { transform: translateY(-.4rem) rotate(-45deg); background: var(--cream); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8rem var(--gutter) 5rem;
  background:
    radial-gradient(ellipse 100% 65% at 50% -15%, rgba(160, 146, 86, .22), transparent 60%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--cream);
}

.hero__bell {
  width: clamp(5.5rem, 12vw, 8.5rem);
  margin: 0 auto 1.8rem;
  fill: var(--bell-soft);
  opacity: .95;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 span { display: block; }

.hero h1 .hero__sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(.85rem, 1.8vw, 1.1rem);
  letter-spacing: .58em;
  color: var(--bell-soft);
  margin-top: 1rem;
}

.hero__rule {
  width: 5.5rem; height: 1px;
  background: var(--bell);
  margin: 1.6rem auto;
}

.hero__tag {
  font-family: var(--script);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--cream);
  opacity: .92;
}

.hero__meta {
  margin-top: .9rem;
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, .55);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: 1.4rem;
  background: var(--bell);
  color: var(--charcoal-deep);
}

.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  font-size: .78rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 400;
}

.marquee span::after { content: "•"; margin-left: 3.5rem; opacity: .5; }

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(4.5rem, 9vw, 8rem) var(--gutter); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--charcoal-deep); color: var(--cream); }
.section--dark .lede { color: rgba(242, 239, 232, .75); }

.wrap { max-width: 72rem; margin-inline: auto; }
.wrap--narrow { max-width: 52rem; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

/* ---------- Product grid ---------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.product { text-decoration: none; display: block; }

.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  transition: transform .4s var(--ease);
}

.product:hover .product__media { transform: translateY(-4px); }

.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* CSS garment placeholders */
.garment {
  width: 62%;
  aspect-ratio: 1 / .95;
  border-radius: 12% 12% 8% 8% / 20% 20% 6% 6%;
  position: relative;
  box-shadow: 0 22px 44px -20px rgba(35, 34, 30, .45);
  display: grid;
  place-items: center;
  padding: 9%;
  text-align: center;
}

.garment::before {
  content: "";
  position: absolute;
  top: -2%; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 10%;
  border-radius: 0 0 50% 50%;
  background: rgba(0, 0, 0, .12);
}

.garment--tee { border-radius: 6% 6% 4% 4% / 10% 10% 3% 3%; aspect-ratio: 1 / 1.05; width: 56%; }

.garment--cap {
  width: 52%;
  aspect-ratio: 1.5 / 1;
  border-radius: 50% 50% 12% 12% / 85% 85% 15% 15%;
}
.garment--cap::before { display: none; }
.garment--cap::after {
  content: "";
  position: absolute;
  bottom: -8%; left: 12%;
  width: 76%; height: 18%;
  border-radius: 50%;
  background: inherit;
  filter: brightness(.92);
}

.garment--tote { width: 48%; aspect-ratio: 1 / 1.15; border-radius: 3%; }
.garment--tote::before {
  top: -14%;
  width: 46%; height: 26%;
  border-radius: 50% 50% 0 0;
  background: transparent;
  border: 3px solid rgba(0, 0, 0, .25);
  border-bottom: 0;
}

.garment--flat::before,
.garment--flat::after { display: none; }

.garment__print {
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.25;
  font-size: clamp(.82rem, 1.5vw, 1.05rem);
}

.garment__print .script {
  text-transform: none;
  letter-spacing: .01em;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1.15;
  display: block;
}

.garment__print .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: .22em;
  display: block;
}

.garment__print .tiny {
  display: block;
  font-size: .55em;
  letter-spacing: .4em;
  margin-top: .5em;
  font-weight: 400;
}

.garment__bell { width: 1.6em; margin: 0 auto .35em; }

.product h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
}

.product__price { font-size: .85rem; color: var(--ink-soft); margin-top: .1rem; }

.product__tag {
  display: inline-block;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bell);
  margin-top: .35rem;
  font-weight: 400;
}

/* ---------- Story split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.ph {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}

.ph img { width: 100%; height: 100%; object-fit: cover; }

.ph--town {
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(194, 183, 138, .5), transparent 60%),
    linear-gradient(175deg, #ded8c6 0%, #c8bfa4 55%, #a99f7c 100%);
  display: grid;
  place-items: center;
}

.ph--town .ph__bell { width: 34%; fill: rgba(55, 53, 47, .28); }

.ph--sky {
  background:
    radial-gradient(ellipse 80% 60% at 50% 15%, rgba(242, 239, 232, .65), transparent 65%),
    linear-gradient(170deg, #c3cedb 0%, #93a7bd 100%);
}

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
}

.value h3 {
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: .6rem;
  font-weight: 400;
}

.value p { font-size: .92rem; color: rgba(242, 239, 232, .72); }

.value__icon {
  width: 2.4rem; height: 2.4rem;
  margin: 0 auto 1.1rem;
  stroke: var(--bell-soft);
  fill: none;
  stroke-width: 1.1;
}

/* ---------- Newsletter ---------- */

.cta-band { text-align: center; }

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.newsletter {
  display: flex;
  max-width: 30rem;
  margin: 2.2rem auto 0;
}

.newsletter input {
  flex: 1;
  font-family: var(--sans);
  font-size: .9rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(35, 34, 30, .25);
  border-right: 0;
  background: var(--paper);
  color: var(--ink);
  outline-offset: 2px;
}

.section--dark .newsletter input {
  background: rgba(242, 239, 232, .08);
  border-color: rgba(242, 239, 232, .3);
  color: var(--cream);
}

.newsletter .btn { white-space: nowrap; }

.newsletter-msg { margin-top: 1rem; font-size: .85rem; }

/* ---------- Local pickup note ---------- */

.pickup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal-deep);
  color: var(--cream);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 72rem;
  margin-inline: auto;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: .88rem;
  color: rgba(242, 239, 232, .65);
  max-width: 24em;
}

.footer-col h3 {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bell-soft);
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.footer-col ul { list-style: none; display: grid; gap: .55rem; }

.footer-col a {
  font-size: .9rem;
  text-decoration: none;
  color: rgba(242, 239, 232, .8);
  transition: color .3s;
}

.footer-col a:hover { color: var(--cream); }

.footer-base {
  max-width: 72rem;
  margin: 3.5rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(242, 239, 232, .12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .75rem;
  color: rgba(242, 239, 232, .5);
}

.footer-base .script { font-size: 1.25rem; color: var(--bell-soft); }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    background: var(--charcoal);
    gap: 2rem;
    transform: translateY(-105%);
    transition: transform .45s var(--ease);
  }

  body.nav-open .nav { transform: none; }

  .nav a { font-size: .95rem; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter input { border-right: 1px solid rgba(35, 34, 30, .25); }
}
