/* ==========================================================================
   SILVERS BARBERSHOP — Lehi, Utah
   --------------------------------------------------------------------------
   Design tokens below were sampled directly from the brand logo files
   in /media, so the site matches the real identity rather than a guess:

     #1F1917  ink        monogram fill (warm near-black)
     #000000  ink-pure   full spellout wordmark
     #F7F7F7  paper      logo reverse / off-white
     #D9DEE2  silver     the namesake accent
     #4E4A4A  grey       logo edge tones

   Type: Cormorant (display — closest match to the Didone wordmark)
         Jost (UI/body — geometric sans, classic pairing with a Didone)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --ink: #1F1917;
  --ink-pure: #000000;
  --paper: #F7F7F7;
  --silver: #D9DEE2;
  --grey: #4E4A4A;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --bg-dark: #131110;
  --fg-on-dark: var(--paper);
  --muted: #6B6664;
  --muted-on-dark: #A9A5A2;
  --line: #DAD6D3;
  --line-on-dark: rgba(217, 222, 226, 0.22);

  /* Type */
  --font-display: "Cormorant", "Times New Roman", serif;
  --font-ui: "Jost", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: 0.72rem;
  --fs-small: 0.82rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-h2: clamp(2rem, 4.6vw, 3.4rem);
  --fs-display: clamp(2.6rem, 8vw, 6rem);

  --track-wide: 0.22em;
  --track-mid: 0.14em;

  /* Spacing — "spacious" scale (density 3/10) */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --s8: 8rem;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --dur: 260ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Visible focus for keyboard users (never removed) */
:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--silver); }

.skip-link {
  position: absolute; left: var(--s2); top: -100px;
  z-index: 1000; background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; font-size: var(--fs-small);
  letter-spacing: var(--track-mid); text-transform: uppercase;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s2); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.on-dark .eyebrow { color: var(--muted-on-dark); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.on-dark .lead { color: var(--muted-on-dark); }

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 10vw, var(--s8)); }
.section--dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.section--silver { background: var(--silver); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s6);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.section--dark .section-head { border-bottom-color: var(--line-on-dark); }
.section-head > div { min-width: 0; }
.section-head .eyebrow { display: block; margin-bottom: var(--s2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 2rem;
  border: 1px solid currentColor;
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:hover { background: var(--fg); color: var(--paper); }
.btn--light { color: var(--paper); border-color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }

.link-underline {
  display: inline-block;
  font-size: var(--fs-small);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  padding-block: 0.5rem;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur) var(--ease);
}
.link-underline:hover { opacity: 0.6; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--gutter);
  color: var(--paper);
  transition: background-color 400ms var(--ease),
              color 400ms var(--ease),
              padding 400ms var(--ease),
              border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
/* Solid treatment: scrolled past the hero, or a light subpage */
.nav.is-stuck, .nav--solid {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--line);
  padding-block: var(--s2);
}

/* min-* keeps a 44px tap target around the small monogram without
   changing where the mark sits or how big it looks. */
.nav__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}
.nav__mark { height: 30px; width: auto; filter: invert(1); transition: filter 400ms var(--ease); }
.nav.is-stuck .nav__mark, .nav--solid .nav__mark { filter: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}
.nav__links a {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  padding: 0.75rem 0.25rem;
  position: relative;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.25rem; right: 0.25rem; bottom: 0.5rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta {
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border: 1px solid currentColor;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__cta:hover { background: var(--paper); color: var(--ink); }
.nav.is-stuck .nav__cta:hover, .nav--solid .nav__cta:hover { background: var(--ink); color: var(--paper); }

/* Mobile menu */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1px;
  background: currentColor;
  transition: transform 320ms var(--ease), opacity 200ms var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--s3);
    background: var(--bg-dark);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 380ms var(--ease), visibility 380ms var(--ease);
  }
  .nav__links a { font-size: 1rem; padding: 0.9rem 1rem; }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links .nav__cta { margin-top: var(--s2); }
  .nav__toggle { position: relative; z-index: 2; }
  .nav__links.is-open ~ .nav__toggle { color: var(--paper); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
  padding: var(--s8) var(--gutter) var(--s6);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.72);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Heavier at the top so the nav stays legible over bright spots in the photo */
  background: linear-gradient(180deg,
    rgba(19,17,16,0.86) 0%,
    rgba(19,17,16,0.55) 18%,
    rgba(19,17,16,0.34) 42%,
    rgba(19,17,16,0.80) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--s4); }
.hero__eyebrow { color: var(--silver); }
.hero__wordmark {
  width: min(74vw, 780px);
  height: auto;
  filter: invert(1);
}

/* ==========================================================================
   STATEMENT BAND
   ========================================================================== */
.statement { text-align: center; }
.statement .section-title { max-width: 26ch; margin-inline: auto; }
.statement .lead { margin-inline: auto; margin-top: var(--s3); text-align: center; }
.statement__mark {
  width: 34px; height: auto; margin: 0 auto var(--s4);
  opacity: 0.85;
}
.section--dark .statement__mark { filter: invert(1); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { display: grid; gap: 0; }
.svc {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
  transition: padding-left 320ms var(--ease);
}
.svc:first-child { border-top: 1px solid var(--line); }
.svc:hover { padding-left: var(--s2); }
.svc__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
}
.svc__desc { font-size: var(--fs-small); color: var(--muted); margin-top: 0.3rem; }
.svc__meta { text-align: right; white-space: nowrap; }
.svc__price {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.svc__time {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}
.services-note {
  margin-top: var(--s5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

/* ==========================================================================
   BARBERS
   ========================================================================== */
.barbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--s5) var(--s4);
  /* Capped so the two current barbers don't stretch into oversized portraits.
     Raise or remove this if a third chair joins. */
  max-width: 900px;
}
.barber__portrait { aspect-ratio: 4 / 5; margin-bottom: var(--s3); overflow: hidden; }
.barber__portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.barber__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.15;
}
.barber__role {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-top: 0.4rem;
}
.barber__bio { font-size: var(--fs-small); color: var(--muted-on-dark); margin-top: var(--s2); max-width: 34ch; }
.barber__link { margin-top: var(--s3); }

/* ==========================================================================
   PRODUCTS TEASER  +  PRODUCTS PAGE
   ========================================================================== */
/* Text-only since the shelf photograph was removed — a single column, with the
   copy held to a readable measure instead of stretching the full shell. */
.teaser { display: grid; gap: var(--s4); }
.teaser__body {
  display: grid;
  justify-items: start;
  gap: var(--s3);
  max-width: 620px;
}

.page-head {
  padding-top: clamp(7rem, 16vh, 11rem);
  padding-bottom: clamp(2.5rem, 6vw, var(--s6));
  border-bottom: 1px solid var(--line);
}
.page-head .section-title { max-width: 18ch; }
.page-head .lead { margin-top: var(--s3); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
  gap: var(--s5) var(--s4);
  /* Capped so the photos stay modest on a wide screen. The 8 products land as
     a tidy 4 x 2 instead of stretching the full shell width. */
  max-width: 940px;
}
.prod__media { aspect-ratio: 1 / 1; margin-bottom: var(--s3); overflow: hidden; background: #EDEFF1; }

/* Packshots come in mixed aspect ratios on white backgrounds. `contain` keeps
   the whole product visible instead of cropping it to the square, and the white
   tile makes the photo's own background disappear into the card. */
.prod__media--photo { background: #FFFFFF; border: 1px solid var(--line); }
.prod__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.prod__cat {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--muted);
}
.prod__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 0.45rem;
}
.prod__desc { font-size: var(--fs-small); color: var(--muted); margin-top: 0.5rem; }
.prod__price { font-family: var(--font-display); font-size: 1.2rem; margin-top: 0.6rem; display: block; }

.prod-group + .prod-group { margin-top: var(--s7); }
.prod-group__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  padding-bottom: var(--s2);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   SHOP LISTING  (clothing.html — small cards that open a product page)
   ========================================================================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: var(--s5) var(--s4);
  /* Capped so a single product does not stretch across the whole shell while
     the rack is still filling up. */
  max-width: 920px;
}
.shop-card { display: grid; gap: 0.8rem; text-decoration: none; color: inherit; }
.shop-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #EDEFF1;
}
.shop-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 420ms var(--ease);
}
/* Second photo sits underneath and fades up on hover — the back of the shirt
   is half the design, so it is worth showing before the click. */
.shop-card__img--alt { opacity: 0; }
.shop-card:hover .shop-card__img--alt,
.shop-card:focus-visible .shop-card__img--alt { opacity: 1; }
.shop-card:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

.shop-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.shop-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 0.9rem;
  margin-top: -0.35rem;
}
.shop-card__price { font-family: var(--font-display); font-size: 1.15rem; }
.shop-card__note {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--muted);
}

/* Back link at the top of a product page */
.backlink {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.4rem;
  margin-bottom: var(--s2);
}
.backlink:hover { color: var(--fg); }

/* ==========================================================================
   CLOTHING  (one garment, shown properly rather than as a grid tile)
   ========================================================================== */
.garment { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 900px) {
  .garment { grid-template-columns: 1.15fr 0.85fr; gap: var(--s6); }
}

/* Every photo is the same size — no oversized hero. They sit together as one
   set, with the details alongside. */
.garment__shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--s4);
  min-width: 0;
}
.garment__shots figure { margin: 0; display: grid; gap: 0.7rem; }
.garment__shots img {
  width: 100%;
  height: auto;          /* required, or the HTML height attribute wins */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  max-width: 100%;
  display: block;
}
.garment__shots figcaption {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--muted);
}

.garment__body { display: grid; gap: var(--s3); align-content: start; min-width: 0; }
@media (min-width: 900px) {
  /* Details stay in view while the photo set scrolls past. */
  .garment__body { position: sticky; top: 104px; }
}
.garment__name {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.05;
  margin: 0;
}
.garment__price {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1;
  margin: 0;
}
/* Availability sits directly under the price — the shop sells these over the
   counter only, so it needs to read before anyone looks for a buy button. */
.garment__avail {
  justify-self: start;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--fg);
}
.garment__specs { display: grid; gap: 0.1rem; }
.garment__specs dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.garment__specs dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.3;
}
.garment__build { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.garment__build li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.garment__build li::before { content: "—"; color: var(--line); }

.garment-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--s4);
  margin-top: var(--s7);
}
.garment-gallery figure { margin: 0; display: grid; gap: 0.75rem; }
/* The worn shots are 2:3 and the flat lays 3:4, so pin one ratio — otherwise
   the captions sit at different heights across the row. */
.garment-gallery img {
  width: 100%;
  height: auto;          /* required, or the HTML height attribute wins and
                            aspect-ratio never computes */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  max-width: 100%;
  display: block;
}
.garment-gallery figcaption {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   VISIT
   ========================================================================== */
.visit { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .visit { grid-template-columns: 0.9fr 1.1fr; gap: var(--s7); } }

.visit__rows { display: grid; gap: var(--s4); align-content: start; }
.visit__row { display: grid; gap: 0.5rem; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.visit__row h3 {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.visit__row p, .visit__row a { font-size: var(--fs-body); }
.visit__row a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hours { display: grid; gap: 0.35rem; }
.hours li { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs-body); }
.hours span:first-child { color: var(--muted); }

.visit__map {
  min-height: 380px;
  height: 100%;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
  background: #E8EAEC;
}
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--bg-dark); color: var(--fg-on-dark); padding-block: var(--s7) var(--s4); }
.footer__grid {
  display: grid;
  gap: var(--s5);
  grid-template-columns: 1fr;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); } }
.footer__mark { width: 190px; max-width: 62%; height: auto; filter: invert(1); margin-bottom: var(--s3); }
.footer h4 {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted-on-dark);
  margin-bottom: var(--s3);
}
.footer__list { display: grid; gap: 0.75rem; }
.footer__list a { font-size: var(--fs-small); letter-spacing: 0.04em; }
.footer__list a:hover { color: var(--silver); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--s4);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ==========================================================================
   PLACEHOLDER BLOCKS
   Swap these for real photography — see the checklist in the README notes.
   ========================================================================== */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--silver);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 22%;
  background: url("../media/silvers_double_s_logo.png") center / contain no-repeat;
  opacity: 0.14;
}
.ph span {
  position: relative;
  padding: 1rem;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.6;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* ==========================================================================
   REDUCED MOTION — render everything in its final, readable state
   ========================================================================== */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .nav, .visit__map { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Hide Netlify's free-tier "Powered by Netlify" badge.
   Netlify injects this iframe server-side, so it is not in our HTML. Its
   inline styles carry no !important, so this rule wins. Safe to delete if
   the badge is turned off in Project configuration → General instead.
   ========================================================================== */
#nl-badge-frame { display: none !important; }
