/* ============================================================
   Riley Wilkinson — Music Portfolio
   Southern rock / blues. Analog & warm.

   Sections:
     1. Design tokens (CSS variables)  ← EDIT COLORS HERE
     2. Base / reset
     3. Layout helpers
     4. Texture (film grain)
     5. Buttons & links
     6. Nav
     7. Hero
     8. Section headers / ornaments
     9. Music
    10. About
    11. Shows
    12. Merch
    13. Mailing list
    14. Contact
    15. Footer
    16. Reveal-on-scroll
    17. Reduced motion
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Palette — no pure black, no pure white */
  --charcoal:      #1A1614;  /* base */
  --charcoal-2:    #221C19;  /* raised panels */
  --charcoal-3:    #2C2420;  /* cards / inputs */
  --amber:         #C8852C;  /* primary accent */
  --amber-bright:  #E0A33E;  /* hover / highlight */
  --oxblood:       #7A2E22;  /* secondary accent */
  --cream:         #EDE6DA;  /* primary text */
  --cream-muted:   #A89D8E;  /* muted text */

  /* Functional */
  --bg:            var(--charcoal);
  --text:          var(--cream);
  --accent:        var(--amber);
  --accent-bright: var(--amber-bright);

  /* Type */
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --section-pad: clamp(4rem, 9vw, 8rem);
  --container: 1120px;
  --radius: 6px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --focus-ring: 0 0 0 3px rgba(224, 163, 62, 0.55);
}

/* ---------- 2. BASE / RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Offset anchored scroll so the sticky header doesn't cover headings */
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1rem; }

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

a { color: var(--accent-bright); }

/* Visible focus for keyboard users everywhere */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 200;
  background: var(--amber);
  color: var(--charcoal);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.5rem; }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 720px; }

.section {
  position: relative;
  padding-block: var(--section-pad);
}
/* Alternating panel tone for depth */
.section--about,
.section--merch,
.section--contact { background: var(--charcoal-2); }

/* ---------- 4. TEXTURE (film grain) ---------- */
/* Low-opacity SVG noise overlay. Reads as "feel," not noise.
   To use a tiling PNG instead, set background-image to your file. */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Keep content above the grain */
.section > .container { position: relative; z-index: 1; }

/* ---------- 5. BUTTONS & LINKS ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--amber);
  --btn-fg: #1A1614;
  border-color: var(--amber);
}
.btn--primary:hover {
  --btn-bg: var(--amber-bright);
  border-color: var(--amber-bright);
  /* warm glow */
  box-shadow: 0 6px 22px -6px rgba(224, 163, 62, 0.7);
}

.btn--secondary {
  --btn-fg: var(--cream);
  border-color: var(--amber);
}
.btn--secondary:hover {
  --btn-fg: var(--amber-bright);
  border-color: var(--amber-bright);
  box-shadow: 0 6px 22px -10px rgba(224, 163, 62, 0.6);
}

.btn--ticket {
  --btn-fg: var(--cream);
  border-color: var(--oxblood);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}
.btn--ticket:hover {
  --btn-bg: var(--oxblood);
  --btn-fg: var(--cream);
  box-shadow: 0 6px 18px -8px rgba(122, 46, 34, 0.8);
}

/* Body-text link hover: amber underline */
.about__body a:not(.btn),
.mailing__lede a,
.shows__empty a,
.site-footer__top {
  color: var(--accent-bright);
  text-decoration: none;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s var(--ease);
  padding-bottom: 1px;
}
.about__body a:not(.btn):hover,
.mailing__lede a:hover,
.shows__empty a:hover,
.site-footer__top:hover { background-size: 100% 1.5px; }

/* ---------- 6. NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 22, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(237, 230, 218, 0.08);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(26, 22, 20, 0.96);
  box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: 4rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav__brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}
.nav__brand:hover { color: var(--amber-bright); }

.nav__menu {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  position: relative;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__menu a:hover { color: var(--amber-bright); }
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle-bar {
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26, 22, 20, 0.98);
    border-bottom: 1px solid rgba(237, 230, 218, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav__menu.is-open { max-height: 22rem; }
  .nav__menu li { border-top: 1px solid rgba(237, 230, 218, 0.06); }
  .nav__menu a {
    display: block;
    padding: 1rem 1.25rem;
  }
  .nav__menu a::after { display: none; }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  /* HERO BACKGROUND IMAGE — replace the placeholder file.
     A warm gradient sits on top via .hero__overlay so swapped
     photos stay on-brand (sepia-leaning, readable text). */
  --hero-image: url("images/hero.jpg");
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-color: var(--charcoal-3); /* shows if image missing */
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient + warm duotone wash */
  background:
    linear-gradient(180deg, rgba(26,22,20,0.38) 0%, rgba(26,22,20,0.52) 55%, rgba(26,22,20,0.82) 100%),
    linear-gradient(120deg, rgba(122,46,34,0.24), rgba(200,133,44,0.12));
  z-index: 0;
}
.hero .grain { z-index: 1; opacity: 0.07; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1.25rem;
  max-width: 40rem;
}
.hero__logo {
  display: block;
  width: clamp(110px, 22vw, 168px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.55));
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-bright);
  margin-bottom: 1rem;
}
.hero__name {
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__name span { display: block; }
/* Track out the shorter top line to balance under WILKINSON */
.hero__name span:first-child { letter-spacing: 0.1em; text-indent: 0.1em; }
.hero__tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  color: var(--cream);
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.hero__cta { font-size: 1rem; padding: 1rem 2.4rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.hero__scroll:hover { color: var(--amber-bright); }
.hero__scroll-arrow { font-size: 1.1rem; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- 8. SECTION HEADERS / ORNAMENTS ---------- */
.section__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.section__head--left { justify-content: flex-start; }
.section__title {
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin: 0;
  white-space: nowrap;
}
/* Hand-set rule with a small amber tick */
.ornament {
  height: 1px;
  flex: 1 1 auto;
  max-width: 7rem;
  background: linear-gradient(90deg, transparent, rgba(237,230,218,0.35));
  position: relative;
}
.ornament::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.section__head--left .ornament {
  background: linear-gradient(90deg, rgba(237,230,218,0.35), transparent);
  max-width: 5rem;
}
.section__head--left .ornament::after { right: auto; left: 0; transform: translate(-50%, -50%); }

/* ---------- 9. MUSIC ---------- */
.embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal-3);
  border: 1px solid rgba(237,230,218,0.08);
}
.embed iframe {
  width: 100%;
  border: 0;
  display: block;
}
/* Audio players ~ standard Spotify/Apple compact height */
.embed--audio iframe { height: 352px; }
/* Self-hosted video player — respects the file's own aspect ratio,
   so it works for landscape or portrait without cropping */
.embed--file { background: #000; }
.embed--file video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  margin-inline: auto;
  background: #000;
}
/* Video keeps 16:9 */
.embed--video { aspect-ratio: 16 / 9; }
.embed--video iframe { height: 100%; }

/* Placeholder state for empty iframes (src=about:blank) */
.embed iframe[src="about:blank"] {
  background:
    repeating-linear-gradient(45deg, rgba(200,133,44,0.06) 0 12px, transparent 12px 24px),
    var(--charcoal-3);
}
.embed iframe[src="about:blank"]::after { content: ""; }

.featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding: 2rem;
  background: var(--charcoal-2);
  border: 1px solid rgba(200,133,44,0.18);
  border-radius: var(--radius);
}
.featured__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-bright);
  margin-bottom: 0.5rem;
}
.featured__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.featured__desc { color: var(--cream-muted); margin-bottom: 1.5rem; }

.embeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.embed-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.embed-card__year {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* "With Village" — past-band album credits */
.with-village { margin-top: clamp(2.75rem, 6vw, 4rem); }
.with-village__label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-bright);
  margin-bottom: 0.4rem;
}
.with-village__note {
  text-align: center;
  color: var(--cream-muted);
  margin-bottom: 1.75rem;
}
.embed-card__title::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 720px) {
  .featured { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
}

/* ---------- 10. ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__photo-wrap { position: relative; }
.about__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  /* Warm sepia duotone so any swapped-in photo stays on-brand */
  filter: sepia(0.45) contrast(1.02) saturate(0.9) brightness(0.92);
  border: 1px solid rgba(237,230,218,0.1);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8);
}
/* Tint overlay reinforcing the brand wash */
.about__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200,133,44,0.12), rgba(122,46,34,0.18));
  mix-blend-mode: overlay;
  pointer-events: none;
}
.about__photo-caption {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--cream-muted);
  font-style: italic;
}
.about__body p { color: var(--cream); }
.about__body .btn { margin-top: 0.75rem; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__photo-wrap { max-width: 22rem; margin-inline: auto; }
}

/* ---------- Studio gallery ---------- */
.gallery-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.gallery__label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-bright);
  margin-bottom: 1.25rem;
}
.gallery {
  display: grid;
  /* Auto-fit so any number of photos lays out evenly */
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(237, 230, 218, 0.1);
  /* Aspect lives on the box so it's immune to the img height attribute */
  aspect-ratio: 3 / 4;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias the crop upward so faces aren't cut off */
  object-position: center 22%;
  display: block;
  /* Warm wash so B&W session shots read on-brand */
  filter: sepia(0.3) contrast(1.02) brightness(0.95);
  transition: transform 0.4s var(--ease), filter 0.3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); filter: sepia(0.15) contrast(1.05); }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- 11. SHOWS ---------- */
.shows__list { list-style: none; margin: 0; padding: 0; }
.show {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(237,230,218,0.1);
}
.show:first-child { border-top: 1px solid rgba(237,230,218,0.1); }
.show__date {
  flex: 0 0 auto;
  width: 4.5rem;
  text-align: center;
  font-family: var(--font-display);
  line-height: 1;
}
.show__month {
  display: block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--amber-bright);
  font-weight: 700;
}
.show__day { display: block; font-size: 2rem; font-weight: 800; }
.show__info { flex: 1 1 auto; }
.show__venue { font-weight: 700; font-size: 1.1rem; margin: 0; color: var(--cream); }
.show__city { margin: 0; color: var(--cream-muted); font-size: 0.95rem; }

.shows__empty {
  text-align: center;
  font-size: 1.15rem;
  color: var(--cream-muted);
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(237,230,218,0.18);
  border-radius: var(--radius);
}

@media (max-width: 540px) {
  .show { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .show__info { flex-basis: calc(100% - 6rem); }
  .show .btn--ticket { margin-left: 6rem; }
}

/* ---------- 12. MERCH ---------- */
.merch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3-up desktop */
  gap: 1.75rem;
}
.product {
  background: var(--charcoal-3);
  border: 1px solid rgba(237,230,218,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  border-color: rgba(200,133,44,0.4);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.85);
}
.product__media { aspect-ratio: 1 / 1; background: var(--charcoal-2); }
.product__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.97);
}
.product__body { padding: 1.25rem; text-align: center; }
.product__name { font-size: 1.25rem; margin-bottom: 0.25rem; }
.product__price {
  color: var(--amber-bright);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.product__buy { width: 100%; }

@media (max-width: 860px) {
  .merch__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .merch__grid { grid-template-columns: 1fr; } /* 1-up mobile */
}

/* ---------- 12b. INSTAGRAM FEED ---------- */
.instagram__handle {
  text-align: center;
  margin: -1.5rem 0 2rem;
}
.instagram__handle a {
  color: var(--amber-bright);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.instagram__handle a:hover { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* Placeholder shown until the real widget snippet is pasted in */
.ig-feed__placeholder { text-align: center; }
.ig-feed__tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.ig-feed__tiles span {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid rgba(237, 230, 218, 0.08);
  background:
    repeating-linear-gradient(45deg, rgba(200,133,44,0.08) 0 14px, transparent 14px 28px),
    var(--charcoal-3);
}
.ig-feed__note {
  color: var(--cream-muted);
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .ig-feed__tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 13. MAILING LIST ---------- */
.mailing__lede { text-align: center; color: var(--cream-muted); margin-bottom: 2rem; }
.mailing__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 26rem;
  margin-inline: auto;
}
.field { text-align: left; }
.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  color: var(--cream);
}
.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--charcoal-3);
  border: 1.5px solid rgba(237,230,218,0.18);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field__input::placeholder { color: var(--cream-muted); }
.field__input:focus-visible {
  border-color: var(--amber);
  box-shadow: var(--focus-ring);
}
.field__input[aria-invalid="true"] {
  border-color: var(--oxblood);
}
.field__error {
  color: #E59A8C;
  font-size: 0.85rem;
  margin: 0.4rem 0 0;
}
.mailing__submit { width: 100%; }

.mailing__status {
  text-align: center;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin: 0.25rem 0 0;
}
.mailing__status--success {
  color: #Bfeacb;
  background: rgba(60, 120, 70, 0.18);
  border: 1px solid rgba(120, 200, 140, 0.35);
}
.mailing__status--error {
  color: #E59A8C;
  background: rgba(122, 46, 34, 0.2);
  border: 1px solid rgba(200, 90, 70, 0.4);
}

/* ---------- 14. CONTACT ---------- */
.contact__lede { text-align: center; color: var(--cream-muted); margin-bottom: 0.75rem; }
.contact__email {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--amber-bright);
  text-decoration: none;
  margin-bottom: 2.5rem;
  word-break: break-word;
}
.contact__email:hover { color: var(--amber); text-decoration: underline; text-underline-offset: 4px; }

.socials {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid rgba(237,230,218,0.18);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease), transform 0.18s var(--ease);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover {
  color: var(--amber-bright);
  border-color: var(--amber);
  transform: translateY(-2px);
}

/* ---------- 15. FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(237,230,218,0.1);
  padding-block: 2rem;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__copy { margin: 0; color: var(--cream-muted); font-size: 0.9rem; }
.site-footer__top { font-size: 0.9rem; font-weight: 600; }

/* ---------- Missing-image placeholder treatment ---------- */
/* When a placeholder image file isn't present yet, JS/onerror adds
   .img--missing so the slot still looks intentional. */
.img--missing {
  background:
    repeating-linear-gradient(45deg, rgba(200,133,44,0.08) 0 14px, transparent 14px 28px),
    var(--charcoal-3);
  min-height: 220px;
  position: relative;
}
.img--missing::after {
  content: "Image placeholder";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--cream-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- 16. REVEAL-ON-SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 17. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
