/*
Theme Name: Q the Barber
Theme URI: https://www.qthebarber.com/
Author: Q the Barber
Description: Faithful WordPress theme migration of the Q the Barber static site.
Version: 1.0.0
Text Domain: qthebarber
*/
:root {
  --ink: #141513;
  --night: #10100f;
  --paper: #f6f4ef;
  --chalk: #e8e5dd;
  --muted: #9a9891;
  --line: #cecbc2;
  --accent: #c6ed32;
  --blue: #1c69d4;
  --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.35; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.site-header { align-items: center; color: white; display: flex; height: 82px; justify-content: space-between; left: 0; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); position: absolute; right: 0; top: 0; z-index: 5; }
.wordmark { font-size: .86rem; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.wordmark span { border: 2px solid currentColor; display: inline-grid; font-size: 1.3rem; height: 29px; letter-spacing: 0; margin-right: 8px; place-items: center; width: 29px; }
.site-nav { align-items: center; display: flex; gap: 28px; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.site-nav a:not(.nav-book) { border-bottom: 1px solid transparent; padding: 7px 0; }
.site-nav a:not(.nav-book):hover { border-color: white; }
.nav-book, .button { background: var(--accent); color: var(--ink); display: inline-flex; font-size: .77rem; font-weight: 900; gap: 17px; letter-spacing: .1em; padding: 15px 20px; text-transform: uppercase; transition: background .2s, color .2s; }
.nav-book { padding: 12px 16px; }
.nav-book:hover, .button:hover { background: white; }
.menu-toggle { background: transparent; border: 0; color: white; cursor: pointer; display: none; padding: 5px; }
.menu-toggle span:not(.visually-hidden) { background: currentColor; display: block; height: 2px; margin: 4px 0; width: 24px; }
.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.hero { background: var(--night); color: white; min-height: min(800px, 100vh); overflow: hidden; position: relative; }
.hero-image { filter: grayscale(100%) contrast(1.08); height: 100%; object-fit: cover; object-position: center 30%; position: absolute; width: 100%; }
.hero-overlay { background: linear-gradient(90deg, rgba(10,10,9,.88) 0%, rgba(10,10,9,.6) 39%, rgba(10,10,9,.10) 72%, rgba(10,10,9,.26)); inset: 0; position: absolute; }
.hero-content { bottom: 14%; left: max(24px, calc((100vw - var(--max)) / 2)); max-width: 700px; position: absolute; }
.eyebrow, .section-label { font-family: "DM Mono", monospace; font-size: .67rem; letter-spacing: .12em; margin: 0; text-transform: uppercase; }
.eyebrow { color: var(--accent); margin-bottom: 24px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 300; letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
h1 { font-size: clamp(3.75rem, 9vw, 8.3rem); margin-bottom: 25px; }
h2 { font-size: clamp(2.65rem, 5.4vw, 5.6rem); margin-bottom: 28px; }
.hero-copy { color: #e4e2dc; font-size: 1.08rem; line-height: 1.45; margin-bottom: 34px; max-width: 420px; }
.scroll-cue { bottom: 28px; font-family: "DM Mono", monospace; font-size: .65rem; left: max(24px, calc((100vw - var(--max)) / 2)); letter-spacing: .09em; position: absolute; text-transform: uppercase; }
.scroll-cue span { color: var(--accent); font-size: 1.1rem; margin-left: 12px; }
.section-wrap { margin: 0 auto; max-width: var(--max); padding-left: 24px; padding-right: 24px; }
.intro { display: grid; gap: 20px; grid-template-columns: 28% 1fr; padding-bottom: 140px; padding-top: 140px; }
.section-label { color: #5f5f58; }
.intro-copy { max-width: 780px; }
.intro h2 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: 30px; }
.lead { font-size: clamp(1.25rem, 2vw, 1.72rem); line-height: 1.35; margin-bottom: 25px; }
.intro-copy > p:not(.lead) { color: #53534e; max-width: 620px; }
.facts { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; padding-top: 18px; }
.facts div { border-left: 1px solid var(--line); padding: 3px 14px; }
.facts div:first-child { border: 0; padding-left: 0; }
.facts strong { display: block; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -.05em; }
.facts span { color: #65645e; display: block; font-size: .7rem; max-width: 90px; }
.work-section { background: var(--night); color: white; padding: 120px 0; }
.work-heading { display: grid; gap: 20px; grid-template-columns: 28% 1fr 26%; padding-bottom: 70px; }
.work-heading .section-label { color: var(--accent); }
.work-heading h2 { margin: 0; }
.work-heading p { align-self: end; color: #b5b4ae; line-height: 1.45; margin: 0; max-width: 240px; }
.gallery { display: grid; gap: 8px; grid-auto-rows: 235px; grid-template-columns: repeat(4, 1fr); }
.gallery-card { margin: 0; overflow: hidden; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card img { filter: saturate(.82) contrast(1.04); height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.04); }
.work-cta { padding-top: 35px; text-align: right; }
.text-link { border-bottom: 1px solid currentColor; display: inline-flex; font-size: .77rem; font-weight: 900; gap: 14px; letter-spacing: .1em; padding-bottom: 8px; text-transform: uppercase; }
.text-link span { color: var(--accent); }
.review-band { background: var(--accent); color: var(--ink); padding: 120px max(24px, calc((100vw - 1010px) / 2)); }
.review-band .section-label { color: var(--ink); margin-bottom: 42px; }
blockquote { font-size: clamp(2rem, 4.5vw, 4.5rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.03; margin: 0; }
blockquote cite { display: block; font-family: "DM Mono", monospace; font-size: .68rem; font-style: normal; font-weight: 400; letter-spacing: .1em; margin-top: 26px; text-transform: uppercase; }
.review-meta { border-top: 1px solid #70851d; font-family: "DM Mono", monospace; font-size: .66rem; letter-spacing: .08em; margin: 60px 0 0; padding-top: 15px; text-transform: uppercase; }
.services { display: grid; gap: 20px; grid-template-columns: 38% 1fr; padding-bottom: 135px; padding-top: 135px; }
.services-heading { position: sticky; top: 40px; align-self: start; }
.services-heading p { color: #66655e; max-width: 245px; }
.service-list, .service-details, .button-dark { grid-column: 2; }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { align-items: center; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 120px 70px; min-height: 76px; padding: 10px 0; }
.service-list h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.service-list p { color: #77766e; font-family: "DM Mono", monospace; font-size: .65rem; margin: 0; }
.service-list strong { font-size: 1.1rem; text-align: right; }
.service-details { border-bottom: 1px solid var(--line); }
.service-details summary { cursor: pointer; display: flex; font-size: .75rem; font-weight: 900; justify-content: space-between; letter-spacing: .1em; list-style: none; padding: 22px 0; text-transform: uppercase; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary span { font-size: 1.2rem; }
.full-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; padding-bottom: 18px; }
.full-service-grid > div { border-top: 1px solid #ddd9d0; display: grid; grid-template-columns: 1fr auto; padding: 12px 0; }
.full-service-grid span { font-size: .82rem; }
.full-service-grid strong { font-size: .82rem; }
.full-service-grid small { color: #77766e; font-family: "DM Mono", monospace; font-size: .58rem; grid-column: 1 / -1; margin-top: 3px; text-transform: uppercase; }
.button-dark { align-items: center; background: var(--ink); color: white; justify-content: space-between; margin-top: 28px; width: 100%; }
.location { background: #d8d4cb; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.location-image { overflow: hidden; }
.location-image img { filter: grayscale(100%) contrast(1.05); height: 100%; object-fit: cover; }
.location-copy { align-self: center; padding: 80px max(24px, calc((100vw - var(--max)) / 2)); padding-left: clamp(35px, 8vw, 140px); }
.location h2 { margin-bottom: 35px; }
.location address { font-size: 1.18rem; font-style: normal; line-height: 1.5; margin-bottom: 40px; }
.location .text-link span { color: var(--blue); }
footer { align-items: start; background: var(--night); color: white; display: grid; gap: 50px; grid-template-columns: 1fr auto 1fr; padding: 55px max(24px, calc((100vw - var(--max)) / 2)); }
footer .wordmark { display: block; margin-bottom: 16px; }
footer p { color: #9d9c96; font-size: .78rem; margin: 0; }
.footer-book { border-bottom: 1px solid var(--accent); color: var(--accent); font-size: .85rem; font-weight: 900; letter-spacing: .1em; padding-bottom: 8px; text-transform: uppercase; }
.footer-small { justify-self: end; line-height: 1.45; max-width: 255px; }
.mobile-book { display: none; }
@media (max-width: 820px) {
  .site-header { height: 66px; }
  .site-nav { background: var(--night); display: none; flex-direction: column; gap: 5px; left: 0; padding: 28px 24px; position: absolute; right: 0; top: 66px; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.nav-book) { padding: 13px 0; }
  .nav-book { justify-content: space-between; margin-top: 10px; }
  .menu-toggle { display: block; }
  .hero { min-height: 720px; }
  .hero-content { bottom: 16%; }
  .intro, .services { display: block; padding-bottom: 85px; padding-top: 85px; }
  .intro .section-label, .services .section-label { margin-bottom: 30px; }
  .facts { margin-top: 35px; }
  .work-section { padding: 85px 0; }
  .work-heading { display: block; padding-bottom: 42px; }
  .work-heading .section-label { margin-bottom: 25px; }
  .work-heading p { margin-top: 25px; }
  .gallery { grid-auto-rows: 180px; grid-template-columns: repeat(2, 1fr); }
  .gallery-card.tall { grid-row: span 2; }
  .review-band { padding-bottom: 85px; padding-top: 85px; }
  .services-heading { position: static; }
  .services-heading p { margin-bottom: 35px; }
  .location { display: block; }
  .location-image { height: 360px; }
  .location-copy { padding: 70px 24px; }
  footer { grid-template-columns: 1fr; padding-bottom: 95px; }
  .footer-small { justify-self: start; }
  .mobile-book { align-items: center; background: var(--accent); bottom: 0; color: var(--ink); display: flex; font-size: .78rem; font-weight: 900; justify-content: space-between; left: 0; letter-spacing: .1em; padding: 17px 24px; position: fixed; right: 0; text-transform: uppercase; z-index: 10; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(3.35rem, 17vw, 4.6rem); }
  .hero-image { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,10,9,.86), rgba(10,10,9,.26)); }
  .facts { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .facts div:last-child { border-left: 0; padding-left: 0; }
  .gallery { grid-auto-rows: 155px; }
  .gallery-card.wide { grid-column: span 2; }
  .service-list article { grid-template-columns: 1fr 65px; }
  .service-list p { grid-row: 2; }
  .service-list strong { grid-column: 2; grid-row: 1 / span 2; }
  .full-service-grid { grid-template-columns: 1fr; }
  .location-image { height: 260px; }
}
