/* J STUDIOS — STYLE GUIDE
   BRAND COLORS: edit the variables below.
   HERO PLACEHOLDER PHOTO: search for .hero below.
   EDITORIAL PHOTO: search for .editorial-photo below.
   LOGO SIZE: search for .header-brand img.
   HEADER: .header is absolute (not sticky or fixed).
*/
:root {
  color-scheme: dark;
  --background: #151515;
  --surface: #202020;
  --text: #f2f2f0;
  --cream: #f7f7f5; /* Soft-white base replaces the beige cream. */
  --white: #ffffff;
  --black: #151515;
  --grey: #b5b5b5;
  --chrome: #c2c2c2;
  --chrome-dark: #b5b5b5;
  --chrome-finish: linear-gradient(125deg, #929292 0%, #e3e3e3 23%, #ffffff 43%, #b5b5b5 70%, #e2e2e2 100%);
  --chrome-hover: linear-gradient(125deg, #b5b5b5 0%, #ffffff 32%, #dedede 58%, #a8a8a8 82%, #eeeeee 100%);
  --line: #414141;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--black); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
/* HEADER — transparent over video, logo centered above navigation */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 5% 17px;
  color: white;
  background: transparent;
  /* Header scrolls away with the hero instead of following the visitor. */
}
.header.open {
  background: var(--cream);
  color: var(--black);
  box-shadow: 0 1px 0 var(--line);
}
.header-brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .23em;
}
/* HEADER LOGO SIZE: Change width/height below. */
.header-brand img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.header-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(19px, 3.5vw, 55px);
}
.header-links a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: opacity .2s, background-color .2s, border-color .2s;
}
.header-links a:hover,
.header-links a:focus-visible { opacity: .6; }
/* Subtle contrast over the homepage video. */
body:not(.inner-page) .header:not(.open) .header-links a { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.header-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-size: 25px;
}
.hero { min-height: 760px; height: 100svh; position: relative; color: white; background: #202020 url('images/video-poster.jpg') 50% 25%/cover no-repeat; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: none; transform: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.44),rgba(0,0,0,.24) 48%,rgba(0,0,0,.65)); }
.hero-inner { position: absolute; inset: 160px 20px 12%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
/* LARGE HOMEPAGE WORDMARK — image appears BELOW the header and navigation. */
.hero-wordmark-heading { width: min(92vw, 1150px); margin: 0 0 24px; line-height: 0; }
.hero-wordmark { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 3px 16px rgba(0,0,0,.2)); }
.hero-overline,.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.hero h1 { font-family: Manrope,sans-serif; font-size: clamp(49px,7.8vw,116px); letter-spacing: -.075em; line-height: .96; font-weight: 800; margin: 17px 0 30px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 40px; padding: 17px 22px; font-size: 10px; letter-spacing: .13em; font-weight: 800; transition: transform .2s; }
.button:hover { transform: translateY(-3px); }
/* Chrome finish for the homepage BOOK AN APPOINTMENT button. */
.button-light {
  padding: 21px 30px;
  font-size: 12px;
  border-radius: 999px;
  max-width: 100%;
  background: var(--chrome-finish);
  color: #111111;
  border: 1px solid #d0d0d0;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
}
.button-light:hover,
.button-light:focus-visible {
  background: var(--chrome-hover);
  border-color: var(--chrome);
  color: #151515;
}
.button-dark { background: var(--black); color: white; }
.hero-bottom { position: absolute; bottom: 29px; left: 5%; right: 5%; display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.section-pad { padding: 110px 8%; }
.statement { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.statement h2,.section-heading h2,.gallery h2,.booking h2 { font: 800 clamp(42px,6.2vw,91px)/1.05 Manrope,sans-serif; letter-spacing: -.065em; margin: 0; }
.statement em,.booking em { font-style: normal; color: #a8a8a8; }
.statement p { max-width: 570px; font-size: 17px; line-height: 1.75; color: #bdbdbd; margin: 27px 0; }
.statement-with-photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr); align-items: center; gap: 32px clamp(28px, 5vw, 80px); }
.statement-with-photo > .eyebrow { grid-column: 1 / -1; }
.statement-photo { display: block; width: 100%; height: auto; border-radius: 18px; }
.statement-copy { min-width: 0; }
.statement-with-photo h2 { font-size: clamp(32px, 4.4vw, 66px); overflow-wrap: break-word; }

.text-link { font-size: 11px; font-weight: 800; letter-spacing: .13em; border-bottom: 1px solid var(--black); padding-bottom: 8px; }
.editorial-photo { height: 550px; position: relative; background: #333 url('images/homepage.JPG') center/cover no-repeat; filter: grayscale(1); }
.photo-label { position: absolute; left: 5%; bottom: 30px; color: white; font-size: 11px; letter-spacing: .16em; font-weight: 800; }
.barbers { background: var(--white); }
.barber-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.barber-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; isolation: isolate; background: #333; color: white; transition: transform .35s ease, box-shadow .35s ease; }
.barber-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.barber-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.88)); pointer-events: none; }
.barber-info { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; }
.barber-role { font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.barber-info h3 { margin: 10px 0 6px; font: 700 clamp(24px, 2.8vw, 40px)/1.1 Manrope,sans-serif; letter-spacing: -.045em; overflow-wrap: break-word; }
.barber-instagram { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 10px; font-size: 13px; overflow-wrap: anywhere; transition: opacity .2s ease; }
.barber-instagram svg { width: 17px; height: 17px; flex-shrink: 0; }
.barber-instagram:hover { opacity: .7; }
.barber-instagram:focus-visible,.barber-book:focus-visible { outline: 2px solid white; outline-offset: 4px; border-radius: 2px; }
.barber-book { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 14px 18px; border: 1px solid var(--cream); border-radius: 999px; background: var(--cream); color: var(--black); font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.5; }
.barber-book span { font-size: 21px; transition: transform .35s ease; }
.barber-card:focus-within img { transform: scale(1.06); filter: grayscale(0); }
@media (hover: hover) and (pointer: fine) {
  .barber-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(0,0,0,.18); }
  .barber-card:hover img { transform: scale(1.06); filter: grayscale(0); }
  .barber-card:hover .barber-book span { transform: translate(3px, -3px); }
}
@media (min-width: 751px) and (max-width: 1000px) {
  .barber-grid { gap: 14px; }
  .barber-info { left: 16px; right: 16px; bottom: 20px; }
}
.header-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.inner-page .header { position: relative; background: var(--black); color: white; }
.inner-page .header.open { background: var(--cream); color: var(--black); }
.page-intro { border-bottom: 1px solid var(--line); }
.page-intro h1 { font: 800 clamp(42px, 7vw, 100px)/1.05 Manrope,sans-serif; letter-spacing: -.065em; margin: 24px 0; overflow-wrap: break-word; }
.page-intro p,.page-content p { max-width: 600px; font-size: 17px; line-height: 1.75; color: #bdbdbd; }
.page-content h2 { font: 800 clamp(32px, 5vw, 65px)/1.1 Manrope,sans-serif; letter-spacing: -.05em; margin: 24px 0; }
.page-content .button { margin-top: 18px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 35px; align-items: start; margin-bottom: 65px; }
.section-heading p { grid-column: 2; color: var(--grey); margin: -10px 0 0; }
.gallery { background: var(--white); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.gallery-heading h2 { margin-top: 14px; }
.gallery-heading>span { font-size: 10px; letter-spacing: .13em; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.gallery-grid img { width: 100%; height: 370px; object-fit: cover; filter: grayscale(1); }
.booking { text-align: center; background: var(--cream); }
.booking h2 { margin: 24px 0 34px; }
.booking-note { color: var(--grey); font-size: 11px; margin-top: 16px; }
.footer { background: var(--black); color: white; padding: 50px 6% 30px; }
.footer-contact { text-align: center; padding: 12px 0 60px; }
.footer-contact h2 { font: 800 clamp(28px,4vw,50px)/1.1 Manrope,sans-serif; letter-spacing: -.05em; }
.footer-contact p:last-child { color: #b9b5b0; font-size: 13px; }
.footer>img { display: block; width: 100px; height: 115px; object-fit: contain; margin: 0 auto 70px; }
.footer-bottom { border-top: 1px solid #444; padding-top: 22px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .1em; }
@media(max-width: 750px) {
  .header { padding: 12px 6% 13px; gap: 8px; }
  .header-brand img { width: 42px; height: 45px; }
  .header-brand { font-size: 8px; }
  .menu-toggle { display: block; position: absolute; right: 6%; top: 28px; }
  .header-links { display: none; width: 100%; }
  .header.open .header-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 7px;
  }
  .header.open .header-links a { width: 100%; text-align: center; padding: 12px; }
  .hero { min-height: 640px; }
  .hero h1 { font-size: clamp(45px,11vw,73px); }
  .hero-inner { inset: 125px 15px 12%; }
  .hero-wordmark-heading { width: min(95vw, 640px); margin-bottom: 18px; }
  .hero-bottom { font-size: 8px; }
  .section-pad { padding: 75px 7%; }
  .statement,.section-heading { grid-template-columns: 1fr; gap: 25px; }
  .statement-with-photo { grid-template-columns: 1fr; }
  .section-heading p { grid-column: auto; }
  .editorial-photo { height: 250px; }
  .barber-grid { grid-template-columns: 1fr; gap: 24px; }
  .barber-card { aspect-ratio: 4 / 5; }
  .barber-info h3 { font-size: clamp(28px, 7vw, 42px); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid img { height: 210px; }
  .gallery-grid img:last-child { grid-column: span 2; }
  .gallery-heading>span { display: none; }
  .footer-bottom { flex-wrap: wrap; gap: 18px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .button,.barber-card,.barber-card img,.barber-book span,.barber-instagram { transition: none; } .barber-card:hover,.barber-card:hover img,.barber-card:focus-within img,.barber-card:hover .barber-book span { transform: none; } }

/* VIDEO FRAMING: Favor the upper footage while filling the hero.
   Increase the vertical percentage to move the crop toward the bottom. */

/* Homepage photo carousel; the separate gallery page keeps its grid. */
.work-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.work-track img { border-radius: 18px; display: block; flex: 0 0 calc((100% - 36px) / 3); min-width: 0; width: calc((100% - 36px) / 3); height: clamp(260px, 30vw, 400px); object-fit: cover; scroll-snap-align: start; }
.work-track:focus-visible { outline: 2px solid var(--black); outline-offset: 5px; }
.work-controls { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 18px; }
.work-controls[hidden] { display: none; }
.work-arrows { display: flex; gap: 10px; }
.work-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--black); font-size: 24px; }
.work-arrow:hover:not(:disabled) { background: var(--black); color: white; }
.work-arrow:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.work-arrow:disabled { opacity: .3; cursor: default; }
@media(max-width: 750px) {
  .work-track img { flex-basis: 85%; width: 85%; height: clamp(260px, 85vw, 380px); }
}

/* CONTACT — editorial introduction with direct links to the studio and team. */
.contact-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); padding: 35px 0 80px; }
.contact-intro > .eyebrow { margin: 0 0 28px; }
.contact-intro h2,.contact-intro h1 { margin: 0; font: 800 clamp(36px, 4.5vw, 68px)/1.08 Manrope,sans-serif; letter-spacing: -.06em; }
.contact-intro em { color: #aaa49c; font-style: normal; }
.contact-intro > p:not(.eyebrow) { max-width: 410px; margin: 26px 0 30px; color: #b9b5b0; font-size: 15px; line-height: 1.8; }
.contact-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 50px; padding: 16px 20px; background: var(--cream); color: var(--black); border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.contact-cta span { font-size: 20px; }
.contact-cta .contact-address { font-size: 13px; line-height: 1.7; letter-spacing: .02em; }
.contact-cta:hover { background: white; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 0; border-top: 1px solid #444; }
.contact-row:last-child { border-bottom: 1px solid #444; }
.contact-row-copy { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.contact-row .eyebrow { color: #aaa49c; font-size: 9px; }
.contact-row-title { font: 600 clamp(22px, 2.4vw, 34px)/1.2 Manrope,sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-row-note { font-size: 12px; line-height: 1.5; color: #b9b5b0; }
.contact-row-arrow { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #555; border-radius: 50%; font-size: 22px; transition: background-color .2s, color .2s; }
.contact-row:hover .contact-row-arrow { background: var(--cream); color: var(--black); }
.contact-row:focus-visible,.contact-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.contact-page { background: var(--black); color: white; }
.contact-page .contact-panel { padding: 0; }
@media(max-width: 750px) {
  .contact-panel { grid-template-columns: 1fr; gap: 42px; padding: 20px 0 60px; }
  .contact-intro h2,.contact-intro h1 { font-size: clamp(34px, 8vw, 56px); }
}
@media(prefers-reduced-motion: reduce) { .contact-row-arrow { transition: none; } }

.contact-location { margin-top: 32px; }
.contact-location h3 { margin: 0 0 12px; color: #aaa49c; }
.contact-location address { font-style: normal; font-size: 17px; line-height: 1.7; }

/* Booking page */
.booking-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: 45px; padding-bottom: 70px; }
.booking-intro .eyebrow { margin: 0 0 25px; }
.booking-intro h1 { margin: 0; font: 800 clamp(44px, 6.6vw, 100px)/1.05 Manrope,sans-serif; letter-spacing: -.065em; }
.booking-intro h1 em { font-style: normal; color: #a8a8a8; }
.booking-intro-copy p { max-width: 350px; margin: 0 0 30px; color: #bdbdbd; font-size: 16px; line-height: 1.8; }
.booking-team { padding-top: 65px; padding-left: 5%; padding-right: 5%; background: var(--white); }
.booking-team-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.booking-team-heading h2,.booking-team-heading h1 { margin: 14px 0 0; font: 800 clamp(28px, 3.7vw, 54px)/1.1 Manrope,sans-serif; letter-spacing: -.055em; }
.booking-team-heading > p { color: #bdbdbd; font-size: 13px; line-height: 1.8; margin: 0; }
.booking-page .barber-card { scroll-margin-top: 24px; aspect-ratio: 5 / 7; }
.booking-page .barber-card img { filter: none; }
.booking-page .barber-book { min-height: 48px; line-height: 1.6; }
.booking-page + .footer .text-link { border-color: #888; }
@media(max-width: 750px) {
  .booking-intro { grid-template-columns: 1fr; gap: 28px; padding-bottom: 50px; }
  .booking-team-heading { flex-direction: column; align-items: start; gap: 20px; }
}

/* ABOUT — a short introduction, studio story, and film. */
.about-page { background: var(--cream); }
.about-simple-intro { padding-bottom: 55px; }
.about-simple-intro > .eyebrow { margin: 0 0 28px; }
.about-simple-intro h1 { margin: 0; font: 800 clamp(42px, 6.8vw, 96px)/1.05 Manrope,sans-serif; letter-spacing: -.065em; }
.about-simple-intro em { font-style: normal; color: #a8a8a8; }
.about-simple-story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 85px); padding-top: 0; padding-bottom: 65px; }
.about-simple-story > img { display: block; width: 100%; height: auto; border-radius: 18px; }
.about-simple-story h2 { margin: 20px 0; font: 800 clamp(32px, 4vw, 56px)/1.08 Manrope,sans-serif; letter-spacing: -.055em; }
.about-simple-story div > p:not(.eyebrow) { max-width: 480px; color: #bdbdbd; font-size: 16px; line-height: 1.85; margin: 0 0 28px; }
.about-simple-film { padding-top: 0; }
.about-simple-film h2.eyebrow { margin: 0 0 20px; font-size: 10px; }
.about-video { display: block; width: 100%; max-height: 70svh; aspect-ratio: 16 / 9; object-fit: contain; background: #151515; border-radius: 14px; }
.about-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media(max-width: 750px) {
  .about-simple-intro { padding-bottom: 35px; }
  .about-simple-story { grid-template-columns: 1fr; gap: 28px; padding-top: 0; padding-bottom: 45px; }
  .about-simple-film { padding-top: 0; }
}

/* Silver accents unify appointment links and keyboard focus. */
.barber-book { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.barber-book:hover,.barber-book:focus-visible { background: var(--chrome-finish); color: var(--black); border-color: var(--chrome); }
.about-closing .button-dark { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.button-dark:hover,.button-dark:focus-visible { background: var(--chrome-finish); color: var(--black); }
@media(prefers-reduced-motion: reduce) { .barber-book,.about-closing .button-dark { transition: none; } }

.about-simple-story .text-link { transition: color .2s ease, border-color .2s ease; }
.about-simple-story .text-link:hover,
.about-simple-story .text-link:focus-visible { color: var(--chrome-dark); border-color: var(--chrome-dark); }
@media(prefers-reduced-motion: reduce) { .about-simple-story .text-link { transition: none; } }

/* Gallery: color photography, films, and a full-screen media viewer. */
.gallery-page { background: var(--white); }
.media-intro > .eyebrow { margin: 0 0 28px; }
.media-intro-row { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.media-intro h1 { margin: 0; font: 800 clamp(42px, 6.4vw, 94px)/1.05 Manrope,sans-serif; letter-spacing: -.065em; }
.media-intro h1 em { color: #a8a8a8; font-style: normal; }
.media-intro-row > p { color: #bdbdbd; font-size: 14px; line-height: 1.8; margin: 0; }
.media-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 45px 0 25px; padding-top: 25px; border-top: 1px solid var(--line); }
.media-filters { display: flex; gap: 8px; }
.media-filters[hidden] { display: none; }
.media-filters button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--black); font-size: 12px; }
.media-filters button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: white; }
.media-filters button:hover { border-color: var(--chrome-dark); }
.media-hint { color: var(--grey); font-size: 9px; letter-spacing: .15em; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.media-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: #252525; color: white; isolation: isolate; }
.media-card[hidden] { display: none; }
.media-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.media-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; padding-left: 3px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(0,0,0,.35); font-size: 20px; }
@media(hover:hover) { .media-card:hover img { transform: scale(1.04); } }
.gallery-page a:focus-visible,.gallery-page button:focus-visible { outline: 2px solid var(--chrome-dark); outline-offset: 4px; }
.media-status { color: var(--grey); font-size: 12px; margin: 18px 0 0; }
.media-book { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.media-book > span { font-size: 18px; }
.media-book .text-link:hover,
.statement-copy .text-link:hover,
.statement-copy .text-link:focus-visible { color: var(--chrome-dark); border-color: var(--chrome-dark); }
.media-viewer { width: min(1100px, 95vw); max-width: 95vw; max-height: 95svh; padding: 18px; border: 1px solid #444; border-radius: 14px; background: #151515; color: white; }
.media-viewer::backdrop { background: rgba(0,0,0,.88); }
body.media-viewer-open { overflow: hidden; }
.media-viewer-top,.media-viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.media-viewer-top { margin-bottom: 14px; }
.media-viewer button { min-width: 44px; min-height: 44px; border: 1px solid #666; border-radius: 50%; background: transparent; color: white; font-size: 20px; }
.media-viewer button:hover { background: var(--chrome-finish); color: var(--black); }
.media-viewer-bottom { margin-top: 14px; }
.media-caption { text-align: center; font-size: 12px; color: #c8c3bb; }
.media-stage { display: grid; place-items: center; }
.media-stage img,.media-stage video { display: block; width: 100%; height: min(65svh, 750px); object-fit: contain; background: #0a0a0a; }
@media(max-width: 900px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 750px) {
  .media-intro-row { flex-direction: column; align-items: start; gap: 24px; }
  .media-toolbar { margin-top: 30px; }
  .media-hint { display: none; }
  .media-grid { gap: 12px; }
  .media-play { width: 46px; height: 46px; font-size: 15px; }
  .media-book { flex-direction: column; align-items: start; }
}
@media(prefers-reduced-motion: reduce) { .media-card img { transition: none; } }

/* Contact page — location, direct contact, appointments, and visit questions. */
.reach-page { background: var(--white); }
.reach-intro { margin-bottom: 55px; }
.reach-intro > .eyebrow { margin: 0 0 26px; }
.reach-intro h1 { margin: 0; font: 800 clamp(40px, 6vw, 86px)/1.06 Manrope,sans-serif; letter-spacing: -.065em; }
.reach-intro em { color: #a8a8a8; font-style: normal; }
.reach-intro > p:last-child { color: #bdbdbd; font-size: 16px; line-height: 1.8; margin: 25px 0 0; }
.reach-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); }
.reach-location { background: var(--cream); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; align-items: start; }
.reach-location .eyebrow { color: #b5b5b5; margin: 0 0 25px; }
.reach-location h2,.reach-help h2 { margin: 0; font: 700 clamp(25px, 3vw, 40px)/1.12 Manrope,sans-serif; letter-spacing: -.045em; }
.reach-location address { font-style: normal; font-size: 19px; line-height: 1.8; margin: 24px 0 32px; }
.reach-book { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; padding: 14px 22px; background: var(--black); color: white; border-radius: 999px; font-size: 12px; font-weight: 700; }
.reach-book:hover,.reach-book:focus-visible { background: var(--chrome-finish); color: var(--black); }
.reach-location .reach-book { margin-top: auto; }
.reach-help { display: grid; gap: 30px; }
.reach-help > div { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.reach-help .eyebrow { margin: 0 0 15px; color: #b5b5b5; }
.reach-help p:not(.eyebrow) { color: #bdbdbd; font-size: 15px; line-height: 1.8; margin: 18px 0 24px; }
.reach-team { margin-top: 80px; }
.reach-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 28px; }
.reach-section-heading h2,.reach-faq > h2 { margin: 0; font: 800 clamp(26px, 3vw, 42px)/1.1 Manrope,sans-serif; letter-spacing: -.05em; }
.reach-section-heading > p { max-width: 360px; color: #bdbdbd; font-size: 13px; line-height: 1.8; margin: 0; }
.reach-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reach-person { padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.reach-person .eyebrow { color: #b5b5b5; margin: 0 0 14px; }
.reach-person h3 { margin: 0; font: 700 32px/1.1 Manrope,sans-serif; letter-spacing: -.045em; }
.reach-social { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin: 12px 0 18px; font-size: 13px; overflow-wrap: anywhere; }
.reach-social:hover,.reach-page .text-link:hover { color: var(--chrome-dark); border-color: var(--chrome-dark); }
.reach-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 45px; margin-top: 80px; }
.reach-faq details { border-top: 1px solid var(--line); }
.reach-faq details:last-child { border-bottom: 1px solid var(--line); }
.reach-faq summary { padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.6; }
.reach-faq details p { margin: 0 0 24px; color: #bdbdbd; font-size: 14px; line-height: 1.8; }
.reach-page a:focus-visible,.reach-page summary:focus-visible { outline: 2px solid var(--chrome-dark); outline-offset: 5px; }
@media(max-width: 900px) { .reach-person { padding: 22px 18px; } .reach-book { gap: 14px; padding: 14px 18px; } }
@media(max-width: 750px) {
  .reach-overview,.reach-people,.reach-faq { grid-template-columns: 1fr; }
  .reach-section-heading { flex-direction: column; align-items: start; gap: 20px; }
  .reach-team,.reach-faq { margin-top: 55px; }
  .reach-faq { gap: 25px; }
}

.reach-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 24px; }
.reach-social { gap: 8px; }
.reach-social svg { width: 18px; height: 18px; flex-shrink: 0; }
.reach-social > span:not([aria-hidden]) { min-width: 0; overflow-wrap: anywhere; }

/* Simplified contact page. */
.reach-location-simple { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; }
.reach-location-simple h2.eyebrow { font: 700 10px/1.5 'DM Sans',sans-serif; letter-spacing: .25em; margin: 0 0 12px; }
.reach-location-simple address { margin: 0; font-size: 16px; }
.reach-location-simple .reach-book { margin: 0; flex-shrink: 0; }
.reach-page .reach-team { margin-top: 50px; }
@media(max-width: 750px) {
  .reach-location-simple { flex-direction: column; align-items: start; padding: 24px; }
}

/* Contact: location map and practical visit information. */
.reach-visit { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 24px; }
.reach-visit > .reach-location { background: var(--white); }
.reach-visit-note { margin: 0 0 28px; color: #bdbdbd; font-size: 14px; line-height: 1.8; max-width: 340px; }
.reach-map { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
.reach-map iframe { display: block; width: 100%; flex: 1; min-height: 380px; border: 0; }
.reach-map > p { margin: 0; padding: 18px 22px; color: #bdbdbd; font-size: 12px; line-height: 1.7; }
.reach-map a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.reach-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.reach-options article { padding: 12px 0 32px; border-bottom: 1px solid var(--line); }
.reach-options .eyebrow { color: #b5b5b5; margin: 0 0 18px; }
.reach-options h2 { font: 700 clamp(24px, 2.8vw, 34px)/1.15 Manrope,sans-serif; letter-spacing: -.045em; margin: 0; }
.reach-options article > p:not(.eyebrow) { color: #bdbdbd; font-size: 15px; line-height: 1.8; max-width: 490px; margin: 18px 0 24px; }
.reach-options .text-link { display: inline-block; line-height: 1.7; }
#reach-team-title { scroll-margin-top: 28px; }
@media(max-width: 750px) {
  .reach-visit,.reach-options { grid-template-columns: 1fr; }
  .reach-options { gap: 20px; margin-top: 28px; }
  .reach-map iframe { min-height: 320px; }
}

/* Cream, black, and chrome: restrained finishes across the studio pages. */
.barber-book { background: var(--black); color: var(--white); border-color: var(--chrome); }
.button-light { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 5px 20px rgba(0,0,0,.16); }
.contact-cta { border-radius: 999px; background: var(--chrome-finish); color: var(--black); border: 1px solid var(--chrome); }
.contact-cta:hover,.contact-cta:focus-visible { background: var(--chrome-hover); }
.contact-row:hover .contact-row-arrow { background: var(--chrome-finish); color: var(--black); border-color: var(--chrome); }
.reach-page { background: var(--cream); }
.reach-person { background: var(--white); border-color: var(--line); box-shadow: 0 5px 18px rgba(21,21,21,.035); }
.reach-map,.reach-visit > .reach-location { background: var(--white); }
.media-filters button[aria-pressed="true"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.footer { border-top: 1px solid var(--chrome-dark); }

/* Editorial contrast: warm introductions and a dark photographic gallery. */
.statement-with-photo { background: var(--cream); }
.inner-page .header { border-bottom: 1px solid var(--chrome-dark); }
.inner-page .header.open { border-bottom-color: var(--line); }
#gallery.gallery { background: var(--black); color: var(--white); border-top: 1px solid #444; }
#gallery .gallery-heading .eyebrow,
#gallery .gallery-heading > span { color: var(--chrome); }
#gallery .work-track { scrollbar-color: #777 var(--black); }
#gallery .work-track img { border: 1px solid #444; }
#gallery .work-track:focus-visible { outline-color: var(--chrome); }
#gallery .work-arrow { color: var(--white); border-color: #777; background: transparent; }
#gallery .work-arrow:hover:not(:disabled),
#gallery .work-arrow:focus-visible { background: var(--chrome-finish); color: var(--black); border-color: var(--chrome); }
#gallery .work-arrow:focus-visible { outline-color: var(--chrome); }

/* Default dark appearance, independent of the browser theme. */
body { background: var(--background); color: var(--text); }
.statement-with-photo,.booking,.about-page,.reach-page { background: var(--background); }
.barbers,.booking-team,.gallery-page { background: #1b1b1b; }
.header.open,.inner-page .header.open { background: var(--surface); color: var(--text); }
.reach-person,.reach-map,.reach-visit > .reach-location,.reach-location { background: var(--surface); }
.text-link { border-bottom-color: var(--chrome); }
.reach-map a { color: var(--text); }
.work-arrow { color: var(--text); border-color: var(--line); }
.work-arrow:hover:not(:disabled) { background: var(--chrome-finish); color: var(--black); }
.work-arrow:focus-visible,.work-track:focus-visible { outline-color: var(--chrome); }
.media-filters button { color: var(--text); }
.media-filters button[aria-pressed="true"] { background: var(--chrome-finish); color: var(--black); border-color: var(--chrome); }
.contact-cta:hover { color: var(--black); }
