/* Star Rise Soccer Club — brand: black pitch, electric blue star, bronze metal */

:root {
  --bg: #07080c;
  --bg-elev: #10131a;
  --bg-panel: #151922;
  --ink: #e8ecf4;
  --ink-muted: #9aa3b5;
  --line: rgba(232, 236, 244, 0.12);
  --star: #3aa0ff;
  --bronze: #a8895c;
  --bronze-soft: rgba(168, 137, 92, 0.35);
  --danger: #e85a4f;
  --ok: #3ecf8e;
  --font-display: "Oswald", sans-serif;
  --font-body: "Outfit", sans-serif;
  --header-h: 4rem;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --content: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(58, 160, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(168, 137, 92, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: var(--star);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #7ec0ff;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  background: rgba(7, 8, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 236, 244, 0.06);
}

.site-home {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.site-home:hover {
  color: var(--star);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.25rem;
  height: 2px;
  background: var(--star);
  transition: right 0.35s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a.is-active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: clamp(1rem, 3vw, 2rem);
    left: clamp(1rem, 3vw, 2rem);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    background: var(--bg-elev);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1.1rem;
  }

  .site-nav a::after {
    display: none;
  }
}

/* ——— Sections ——— */

.section {
  position: relative;
  padding: var(--section-pad) clamp(1rem, 4vw, 2.5rem);
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section:not(.section--hero) {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-cues {
  pointer-events: none;
}

.section-scroll,
.page-scroll {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 236, 244, 0.55);
  text-decoration: none;
  z-index: 50;
  pointer-events: auto;
}

.section-scroll[hidden] {
  display: none !important;
}

.section-scroll:hover,
.page-scroll:hover {
  color: var(--star);
}

.section-scroll--down {
  bottom: 1.15rem;
  animation: pulse-down 2.4s var(--ease) infinite;
}

.section-scroll--down::after {
  content: "";
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(var(--star), transparent);
}

.section-scroll--up,
.page-scroll--up {
  top: calc(var(--header-h) + 0.45rem);
  animation: pulse-up 2.4s var(--ease) infinite;
}

.section-scroll--up::before,
.page-scroll--up::before {
  content: "";
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(transparent, var(--star));
  order: -1;
}

.section-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.page-shop .section-inner.shop-layout {
  max-width: 78rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--star);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ——— Hero ——— */

body[data-page="home"] {
  background: #000;
}

.section--hero {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  margin: 0;
  padding: calc(var(--header-h) + 0.5rem) clamp(1rem, 4vw, 2.75rem) 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

body[data-page="home"] .site-header {
  background: #000;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-frame {
  position: relative;
  flex: 1 1 auto;
  width: min(100%, calc(100svh - var(--header-h) - 4.5rem));
  max-height: calc(100svh - var(--header-h) - 4.5rem);
  max-height: calc(100dvh - var(--header-h) - 4.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: hero-rise 1.1s var(--ease) both;
}

.hero-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.4s var(--ease);
}

/* Invisible shield-shaped target over the crest (not the black margins) */
.hero-hit {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 54%;
  height: 64%;
  transform: translate(-50%, -50%);
  border-radius: 48% 48% 42% 42% / 40% 40% 52% 52%;
  z-index: 4;
  cursor: pointer;
}

.hero-frame:has(.hero-hit:hover) .hero-logo {
  filter: brightness(1.28) contrast(1.05) saturate(1.12);
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    transition: none;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse-down {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes pulse-up {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ——— Intro / video ——— */

.section--intro {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(58, 160, 255, 0.07), transparent 55%),
    #0a1018;
}

/* ——— Book ——— */

.section--book {
  background:
    radial-gradient(ellipse 75% 55% at 30% 20%, rgba(42, 150, 135, 0.1), transparent 55%),
    #0c1615;
}

/* ——— Pricing ——— */

.section--pricing {
  background:
    radial-gradient(ellipse 75% 55% at 80% 10%, rgba(168, 137, 92, 0.08), transparent 50%),
    #12100e;
}

/* ——— Events ——— */

.section--events {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(58, 160, 255, 0.06), transparent 55%),
    #0a0e18;
}

/* ——— About / coach ——— */

.section--about,
.section--coach {
  background:
    radial-gradient(ellipse 65% 55% at 70% 40%, rgba(90, 110, 70, 0.07), transparent 50%),
    #10140f;
}

.video-placeholder {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  scroll-margin-bottom: 1.25rem;
}

.video-placeholder__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  background:
    linear-gradient(135deg, rgba(58, 160, 255, 0.08), transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(168, 137, 92, 0.05) 18px,
      rgba(168, 137, 92, 0.05) 19px
    ),
    var(--bg-panel);
  border: 1px dashed var(--bronze-soft);
  outline: 1px solid var(--line);
  outline-offset: 8px;
}

.video-placeholder__play {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid var(--star);
  position: relative;
  margin-bottom: 0.5rem;
}

.video-placeholder__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent var(--star);
}

.video-placeholder__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-placeholder__hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.video-placeholder__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— Coach copy layout (bg set with About) ——— */

.coach-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .coach-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.coach-greeting {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--bronze);
  margin: 0 0 1.25rem;
}

.coach-body p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.coach-body p:last-child {
  margin-bottom: 0;
}

.coach-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.coach-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.04);
  animation: photo-in 1s var(--ease) both;
}

.coach-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line);
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ——— Book form ——— */

.book-form {
  display: grid;
  gap: 1.5rem;
  max-width: 44rem;
}

.book-form .botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row--2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.book-form label,
.book-form fieldset {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.book-form label > span,
.book-form legend {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.legend-note {
  font-weight: 400;
  color: var(--ink-muted);
  opacity: 0.85;
}

.book-form input[type="text"],
.book-form input[type="email"],
.book-form input[type="tel"],
.book-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 0;
}

.book-form textarea {
  min-height: 6rem;
  resize: vertical;
  line-height: 1.45;
}

.book-form input:focus,
.book-form textarea:focus {
  outline: 2px solid var(--star);
  outline-offset: 1px;
}

.radio {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.radio input {
  accent-color: var(--star);
  width: 1.1rem;
  height: 1.1rem;
}

.inline-link {
  margin-left: 0.15rem;
}

.footnote {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.field-tip {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.field-tip__dim {
  color: rgba(154, 163, 181, 0.55);
}

.contact-block,
.register-for,
.slots-block {
  gap: 0.75rem;
}

.slot-grid-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.slot-grid {
  display: grid;
  grid-template-columns: 7.5rem repeat(7, minmax(2.6rem, 1fr));
  min-width: 32rem;
  font-size: 0.78rem;
}

.slot-grid__corner,
.slot-grid__day,
.slot-grid__time,
.slot-grid__cell {
  display: grid;
  place-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.slot-grid__day,
.slot-grid__time {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(0, 0, 0, 0.25);
}

.slot-grid__time {
  justify-content: start;
  padding-left: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.slot-grid__cell {
  appearance: none;
  background: rgba(255, 255, 255, 0.02);
  color: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: not-allowed;
  padding: 0;
}

.slot-grid__cell.is-open {
  background: rgba(58, 160, 255, 0.12);
  color: var(--star);
  cursor: pointer;
}

.slot-grid__cell.is-open:hover {
  background: rgba(58, 160, 255, 0.22);
}

.slot-grid__cell.is-selected {
  background: var(--star);
  color: #041018;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.slot-grid__cell.is-selected::after,
.slot-grid__cell.is-open::after {
  content: "·";
  font-size: 1.4rem;
  line-height: 1;
}

.swatch {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 0.35rem 0 0.85rem;
  vertical-align: -0.05rem;
  border: 1px solid var(--line);
}

.swatch--open {
  background: rgba(58, 160, 255, 0.35);
}

.swatch--closed {
  background: rgba(255, 255, 255, 0.04);
}

.swatch--picked {
  background: var(--star);
}

.slot-legend .swatch:first-child {
  margin-left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.btn--primary {
  justify-self: start;
  background: var(--star);
  color: #041018;
}

.btn--primary:hover {
  background: #6bb5ff;
  color: #041018;
  transform: translateY(-1px);
}

.form-status {
  margin: 0;
  color: var(--ok);
  font-size: 0.95rem;
}

.form-status.is-error {
  color: var(--danger);
}

/* ——— Pricing layout ——— */

.section--pricing-page,
.section--shop-page {
  padding-top: calc(var(--header-h) + 3.75rem);
  min-height: calc(100vh - 6rem);
}

.pricing-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0.75rem;
  margin: 0 -0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  transition: background 0.2s var(--ease);
}

.pricing-list li:hover {
  background: rgba(58, 160, 255, 0.08);
}

.pkg-name {
  color: var(--ink);
}

.pkg-price {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--bronze);
  white-space: nowrap;
}

.payment-note h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.payment-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 52rem;
}

@media (min-width: 720px) {
  .payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.payment-method {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--bg-panel);
  min-width: 0;
}

.payment-method__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star);
}

.payment-method__hint {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.payment-method__value {
  margin: 0;
  margin-top: auto;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

a.payment-method__value:hover {
  color: var(--star);
}

.payment-method__value--mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--bronze);
  line-height: 1.45;
}

.pricing-cta {
  margin-top: 2.5rem;
}

/* ——— Shop ——— */

.section--shop {
  background: var(--bg-elev);
}

.shop-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .shop-layout {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.shop-side {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
}

.shop-side > .eyebrow {
  margin-bottom: 0.75rem;
}

.shop-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.shop-acc__item {
  border-bottom: 1px solid var(--line);
}

.shop-acc__trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.35rem 0.8rem 0.15rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.shop-acc__trigger:hover {
  color: var(--ink);
}

.shop-acc__item.is-open .shop-acc__trigger {
  color: var(--star);
}

.shop-acc__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.shop-acc__item.is-open .shop-acc__chevron {
  transform: rotate(225deg);
  translate: 0 0.15rem;
}

.shop-acc__panel {
  padding: 0 0.15rem 1rem;
}

.shop-filters__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.shop-filter {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.shop-filter legend {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--ink);
  margin-bottom: 0.45rem;
  padding: 0;
}

.shop-filter__units {
  color: var(--ink-muted);
  font-weight: 400;
  text-transform: none;
}

.shop-filter__options {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.shop-filter__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  cursor: pointer;
  text-transform: capitalize;
}

.shop-filter__option input {
  accent-color: var(--star);
  width: 1rem;
  height: 1rem;
}

.shop-filter__option:hover {
  color: var(--ink);
}

.shop-main .section-lead {
  margin-bottom: 1.5rem;
}

.shop-products {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .shop-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .shop-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product {
  padding: 1.15rem 1.2rem;
  background: var(--bg-panel);
  border-left: 2px solid var(--bronze);
}

.product h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.product__chip {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  padding: 0.2rem 0.45rem;
}

.product__price {
  font-family: var(--font-display);
  color: var(--star);
  letter-spacing: 0.06em;
}

.shop-status {
  color: var(--ink-muted);
  margin: 0;
}

/* ——— Events ——— */

.events-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .events-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event {
  padding: 1.35rem 1.25rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(58, 160, 255, 0.08), transparent 45%),
    var(--bg-panel);
  border-top: 2px solid var(--star);
}

.event__when {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star);
}

.event h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.event__loc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--bronze);
}

.event p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ——— Footer ——— */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
}

.site-footer__meta p {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__hint {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-muted);
}

.site-footer__meta a {
  text-decoration: none;
}

.site-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.social {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social:hover {
  color: var(--star);
  border-color: rgba(58, 160, 255, 0.35);
  background: rgba(58, 160, 255, 0.08);
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Soft-nav: opacity crossfade (View Transitions API + fallback) */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::view-transition-old(root) {
    animation-name: soft-nav-fade-out;
  }

  ::view-transition-new(root) {
    animation-name: soft-nav-fade-in;
  }
}

@keyframes soft-nav-fade-out {
  to { opacity: 0; }
}

@keyframes soft-nav-fade-in {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms;
  }
}

html.soft-nav-fallback-out body {
  opacity: 0.25;
  transition: opacity 0.18s ease;
}

html.soft-nav-fallback-in body {
  animation: soft-nav-fade-in 0.28s ease;
}
