/* ==========================================================================
   Charity Reed — Mosley Mtn Shop — stylesheet
   Palette:
     --ink       #241531  eggplant ink — text, hero/about backgrounds
     --plum      #33184A  deep mature plum — footer background
     --royal     #4B2073  royal amethyst — accent, links, hover
     --orchid    #A97FD1  soft orchid — hover / secondary accent
     --gold      #C6A15B  champagne gold — accent, badges, rules
     --ivory     #FAF6F2  warm ivory — page background
     --lilac     #F1E9F8  lilac mist — tinted section background
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500&display=swap');

:root {
  --ink: #241531;
  --plum: #33184A;
  --royal: #4B2073;
  --royal-dim: #3B1A5C;
  --orchid: #A97FD1;
  --gold: #C6A15B;
  --gold-light: #E4CE9A;
  --ivory: #FAF6F2;
  --lilac: #F1E9F8;
  --charcoal: #362A42;

  --display: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1140px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.italic-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--royal);
}

.rule {
  width: 46px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 18px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  border-radius: 2px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--gold-light);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--royal); border-color: var(--royal); color: #fff; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36, 21, 49, 0.1);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 40px; height: 48px; }
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink);
}
.brand-word span {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav {
  display: none;
  gap: 34px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 18px;
  border-bottom: 1px solid rgba(36,21,49,0.1);
  background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(36,21,49,0.08);
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

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

.hero {
  position: relative;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(169,127,209,0.28), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(198,161,91,0.16), transparent 55%);
  color: var(--ivory);
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-eyebrow {
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.3rem, 7vw, 3.4rem);
  line-height: 1.12;
  color: var(--ivory);
  font-weight: 700;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.hero p {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 16.5px;
  color: rgba(250,246,242,0.78);
}

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

/* ---------------------------------- intro strip ------------------------ */

.intro {
  padding: 64px 0 8px;
  text-align: center;
}
.intro .wrap { max-width: 620px; }
.intro h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin-top: 10px;
}
.intro p {
  margin-top: 16px;
  color: var(--charcoal);
  font-size: 16px;
}
.intro .rule { margin-left: auto; margin-right: auto; }

/* ---------------------------------- shared centered section head ------- */

.section-head-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head-centered h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-top: 10px;
}
.section-head-centered .shop-note {
  margin-top: 12px;
}

/* ---------------------------------- shop -------------------------------*/

.shop { padding: 56px 0 64px; }

.shop-note {
  font-size: 13px;
  color: #7A6C87;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3FAE5A;
  box-shadow: 0 0 0 3px rgba(63,174,90,0.2);
  display: inline-block;
}

.live-panel {
  text-align: center;
}

.live-panel-frame {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(198,161,91,0.4);
  border-radius: 4px;
  padding: 20px;
  /* scales continuously with screen width — an iPhone SE (375px) and a
     Pro Max (430px) each get a proportionally different size, not one
     flat "mobile" value */
  zoom: clamp(1, calc(1 + (100vw - 375px) / 350px), 1.3);
}

@media (min-width: 640px) {
  .live-panel-frame { zoom: 1.55; padding: 28px; }
}
@media (min-width: 900px) {
  .live-panel-frame { zoom: 1.9; padding: 34px; }
}

.shop-cta {
  margin-top: 44px;
  text-align: center;
  border-top: 1px solid rgba(36,21,49,0.1);
  padding-top: 36px;
}
.shop-cta p {
  margin-bottom: 16px;
  color: #7A6C87;
  font-size: 14px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------- brand reel --------------------------*/

.brands {
  padding: 56px 0 64px;
  background: #FFFFFF;
  overflow: hidden;
}

.brand-reel-track {
  display: flex;
  width: max-content;
  animation: brand-scroll 34s linear infinite;
}
.brand-reel-track:hover { animation-play-state: paused; }

@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-item {
  width: 150px;
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 640px) {
  .brand-item { width: 170px; height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-reel-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

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

.about {
  padding: 72px 0;
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}
.about .wrap { max-width: 680px; }
.about .eyebrow { color: var(--gold); }
.about h2 {
  color: var(--ivory);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin-top: 12px;
}
.about .rule { margin: 26px auto; }
.about p {
  color: rgba(250,246,242,0.8);
  font-size: 16.5px;
}
.about p + p { margin-top: 14px; }

.about-sig {
  margin-top: 28px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  color: var(--gold-light);
}

.pull-quote {
  margin: 34px auto;
  max-width: 52ch;
  padding: 28px 0;
  border-top: 1px solid rgba(198,161,91,0.35);
  border-bottom: 1px solid rgba(198,161,91,0.35);
}
.pull-quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  line-height: 1.45;
  color: var(--ivory);
  margin: 0;
}
.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.pull-quote cite em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------------------------------- a note ------------------------------*/

.note {
  padding: 72px 0;
  background: var(--lilac);
  text-align: left;
}
.note .wrap { max-width: 620px; text-align: center; }
.note h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-top: 10px;
}
.note .rule { margin: 20px auto 28px; }
.note > .wrap > p {
  text-align: left;
  color: var(--charcoal);
  font-size: 16px;
}
.note > .wrap > p + p { margin-top: 16px; }

.pull-quote.on-light {
  border-color: rgba(75,32,115,0.25);
  text-align: left;
}
.pull-quote.on-light p {
  color: var(--ink);
  font-size: clamp(1.02rem, 2.3vw, 1.15rem);
  font-style: normal;
  font-weight: 500;
}
.pull-quote.on-light cite {
  color: var(--royal);
}

.pull-quote-verse p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.65;
}

.note-sig {
  margin-top: 34px;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.6;
}

.note-cta {
  display: block;
  width: fit-content;
  margin: 26px auto 0;
}

/* ---------------------------------- contact form ------------------------*/

.contact-section {
  padding: 68px 0 76px;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
  margin-top: 16px;
}
.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(36,21,49,0.18);
  border-radius: 2px;
  padding: 12px 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form button {
  margin-top: 22px;
  align-self: center;
}

.field-error {
  color: #B3413C;
  font-size: 12.5px;
  min-height: 16px;
}

.form-success, .form-error {
  max-width: 520px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.form-success:not(:empty) {
  color: #2E7D45;
  background: rgba(46,125,69,0.08);
  border: 1px solid rgba(46,125,69,0.25);
  padding: 12px 16px;
  border-radius: 2px;
}
.form-error:not(:empty) {
  color: #B3413C;
  background: rgba(179,65,60,0.08);
  border: 1px solid rgba(179,65,60,0.25);
  padding: 12px 16px;
  border-radius: 2px;
}

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

.site-footer {
  background: var(--plum);
  color: var(--ivory);
  padding: 52px 0 28px;
  border-top: 1px solid rgba(198,161,91,0.25);
}

.footer-top {
  display: grid;
  gap: 30px;
}
@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 70px; }
.footer-brand-word { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--ivory); line-height: 1.15; }
.footer-brand-word span {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 3px;
}

.footer-tag {
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(250,246,242,0.65);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  text-decoration: none;
  color: rgba(250,246,242,0.85);
  font-size: 14.5px;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(250,246,242,0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(250,246,242,0.55);
}
