@font-face{font-family:"Big Shoulders Display";src:url(fonts/big-shoulders-display.woff2) format("woff2");font-weight:700 900;font-display:swap}
@font-face{font-family:"Figtree";src:url(fonts/figtree.woff2) format("woff2");font-weight:400 700;font-display:swap}

:root {
  --black: #000;
  --red: #d7262b;
  --red-dark: #b81e23;
  --red-text: #ff5a55;
  --cream: #f1e6d0;
  --steel: #b9bec4;
  --muted: #bfb5a6;
  --line: rgba(241, 230, 208, .14);
  --wood: #3a2418;
  --pole-blue: #1b3a6b;

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Figtree', system-ui, sans-serif;

  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --step-3: clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  --step-4: clamp(3.4rem, 2.2rem + 5.4vw, 7rem);

  --gutter: clamp(16px, 5vw, 72px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
h2 {
  font: 900 var(--step-3)/.92 var(--display);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }
.note { font-size: .86rem; color: var(--muted); }
.ph { color: var(--red-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1.02rem/1 var(--body);
  padding: 1.05em 1.55em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .12s;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(241, 230, 208, .5); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--cream); background: rgba(241, 230, 208, .06); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav .links { display: flex; gap: 30px; font-size: .95rem; }
.nav .links a { text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav .links a:hover { opacity: 1; }
.nav .btn { padding: .75em 1.15em; font-size: .92rem; }

/* Hero: the design etch */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0 0 0 38%;
  background: url(img/fb-07.jpg) 60% 30% / cover;
  filter: grayscale(1) contrast(1.25) brightness(1.05);
}
.hero-photo::before { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: .32; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, #000 0%, transparent 35%);
}
.etch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.etch path {
  fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1700; stroke-dashoffset: 1700;
  animation: draw 2.4s .25s cubic-bezier(.6, .05, .3, 1) forwards;
}
.etch path:nth-child(2) { animation-delay: .55s; opacity: .55; }
.etch path:nth-child(3) { animation-delay: .85s; opacity: .3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy {
  position: relative; z-index: 2; margin-top: auto;
  padding: 140px var(--gutter) clamp(48px, 9vh, 96px);
  max-width: 860px;
}
.hero h1 {
  font: 900 var(--step-4)/.88 var(--display);
  text-transform: uppercase; letter-spacing: .005em;
}
.hero .lede { margin: 24px 0 30px; }
.hero-rating { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; color: var(--muted); }
.hero-rating b { color: var(--cream); font-weight: 600; }
.stars { color: var(--red-text); letter-spacing: 2px; }

/* Services: the letterboard */
.services { padding: var(--section) 0; }
.services-grid { display: grid; grid-template-columns: auto minmax(0, 640px) minmax(240px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pole {
  width: 34px; height: 520px; border-radius: 17px; position: relative;
  background: repeating-linear-gradient(-50deg, var(--red) 0 16px, var(--cream) 16px 32px, var(--pole-blue) 32px 40px, var(--cream) 40px 48px);
  background-size: 100% 120px;
  animation: pole 3s linear infinite;
  box-shadow: inset -8px 0 14px rgba(0,0,0,.45), inset 6px 0 10px rgba(255,255,255,.25);
}
.pole::before, .pole::after {
  content: ""; position: absolute; left: -6px; right: -6px; height: 22px;
  background: linear-gradient(90deg, #6d7278, #e1e4e7, #7d8288); border-radius: 6px;
}
.pole::before { top: -14px; } .pole::after { bottom: -14px; }
@keyframes pole { to { background-position: 0 120px; } }
.board {
  background-color: #111;
  background-image: repeating-linear-gradient(0deg, #161616 0 7px, #090909 7px 9px);
  border: 14px solid var(--wood); border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,.7), inset 0 0 30px #000;
  padding: 26px clamp(16px, 4vw, 40px) 30px;
  font: 700 clamp(16px, 2.2vw, 25px)/1.6 var(--display);
  letter-spacing: .12em; text-transform: uppercase; color: #f4f1ea;
}
.board-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: .78em; letter-spacing: .16em; color: #ddd; }
.board-head img { width: 70px; height: 70px; border-radius: 50%; }
.board ul { list-style: none; padding: 0; }
.board li { display: flex; justify-content: space-between; gap: 12px; }
.board li > span:last-child { color: #ff6b61; white-space: nowrap; }
.board .l { display: inline-block; }
.board.wait .l { opacity: 0; transform: translateY(-14px) rotate(-3deg); }
.board.in .l { animation: drop .34s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) rotate(-3deg); } to { opacity: 1; transform: none; } }
.services-side h2 { margin-bottom: 18px; }
.services-side dl { margin: 22px 0 28px; display: grid; gap: 14px; }
.services-side dt { font-weight: 600; }
.services-side dd { color: var(--muted); font-size: .95rem; }
.services-side .btn { width: 100%; }

/* Straight-razor shave */
.shave { position: relative; padding: var(--section) 0; background: var(--red); color: #fff; overflow: hidden; }
.shave-grid { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.big-razor { width: 100%; max-width: 340px; justify-self: center; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
.big-razor .blade { transform-origin: 46px 118px; transform: rotate(-150deg); transition: transform 1.2s cubic-bezier(.2, .9, .25, 1.12); }
.shave.in .big-razor .blade { transform: rotate(0); }
.shave .glint { opacity: 0; }
.shave.in .glint { animation: glint 1s 1.1s ease-in-out; }
@keyframes glint { 0% { opacity: 0; transform: translateY(70px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-70px); } }
.shave h2 { color: #fff; }
.shave .lede { margin: 20px 0 34px; }
.shave ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid rgba(255,255,255,.4); margin-bottom: 34px; }
.shave li { padding: 16px 18px 0 0; }
.shave li b { display: block; font: 800 1.5rem/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.shave li span { font-size: .95rem; opacity: .92; }
.shave .num { font: 800 .9rem/1 var(--display); opacity: .7; display: block; margin-bottom: 10px; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #1c1c1c; }
.btn-white-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-white-line:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); }
.shave .note { color: rgba(255,255,255,.85); margin-top: 16px; }

/* Barbers */
.barbers { padding: var(--section) 0 calc(var(--section) * .7); }
.barbers-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.barbers-head p { max-width: 38ch; color: var(--muted); }
.barber-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.portrait {
  aspect-ratio: 1; border-radius: var(--radius); position: relative; overflow: hidden;
  background: #120a0a; display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .92rem; padding: 20px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.portrait::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--cream) 10px 20px);
}
.portrait .initial { font: 900 clamp(5rem, 10vw, 8rem)/1 var(--display); color: rgba(241,230,208,.12); display: block; }
.barber h3 { font: 800 2rem/1 var(--display); text-transform: uppercase; margin: 18px 0 6px; }
.barber p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.barber a.book { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--red-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.barber a.book:hover { color: #fff; }

/* Gallery */
.gallery { padding: calc(var(--section) * .6) 0 var(--section); }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.gallery-head p { color: var(--muted); max-width: 40ch; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 21vw, 300px); grid-auto-flow: dense; gap: 10px; }
.shots button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.shots button.wide { grid-column: span 2; grid-row: span 2; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; filter: saturate(.92) contrast(1.05); }
.shots button:hover img { transform: scale(1.04); filter: none; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); transform: scale(.96); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--cream); font: 600 1rem var(--body); padding: 12px; cursor: pointer; }

/* Reviews */
.reviews { padding: var(--section) 0; border-top: 1px solid var(--line); }
.reviews-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); }
.score { display: flex; gap: 36px; flex-wrap: wrap; margin: 26px 0 40px; }
.score div { font-size: .95rem; color: var(--muted); }
.score b { display: block; font: 900 3.6rem/1 var(--display); color: var(--cream); }
.featured blockquote { font: 800 clamp(2rem, 1.4rem + 2.4vw, 3.4rem)/1.02 var(--display); text-transform: uppercase; }
.featured blockquote::before { content: "\201C"; display: block; color: var(--red); font-size: 1.6em; line-height: .6; margin-bottom: .1em; }
.featured cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); }
.quotes { list-style: none; padding: 0; }
.quotes li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.quotes li:first-child { padding-top: 0; }
.quotes p { font-size: 1.05rem; }
.quotes cite { display: block; margin-top: 8px; font-style: normal; font-size: .9rem; color: var(--muted); }

/* Visit */
.visit { padding: var(--section) 0; background: #0d0606; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.visit address { font-style: normal; font-size: var(--step-1); margin: 22px 0 6px; }
.visit address a { text-decoration: none; }
.visit address a:hover { text-decoration: underline; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin: 26px 0 30px; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: #fff; font-weight: 600; }
.hours tr.today td:first-child::after { content: "Today"; margin-left: 10px; font-size: .75rem; font-weight: 600; background: var(--red); color: #fff; padding: 2px 7px; border-radius: 3px; vertical-align: 2px; }
.hours tr.closed td:last-child { color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: inset 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }

/* Contact */
.contact { padding: var(--section) 0; text-align: center; }
.contact h2 { font-size: var(--step-4); }
.contact .lede { margin: 20px auto 34px; }
.contact .ctas { justify-content: center; }
.contact-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin-top: 40px; list-style: none; padding: 0; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list svg { width: 20px; height: 20px; color: var(--red-text); }

footer { border-top: 1px solid var(--line); padding: 28px var(--gutter) 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--muted); }
footer a { color: var(--muted); }

/* Phone action bar */
.mbar { display: none; }

@media (max-width: 1020px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .pole { display: none; }
  .services-side { max-width: 640px; }
  .shave ol { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .reviews-grid, .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav .links { display: none; }
  .hero-photo { inset: 0 0 38% 0; background-position: 62% 40%; filter: grayscale(1) contrast(1.3) brightness(1.25); }
  .hero-photo::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.8) 50%, rgba(0,0,0,.15) 100%); }
  .shave-grid { grid-template-columns: 1fr; }
  .big-razor { max-width: 180px; }
  .barber-row { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 16 / 10; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .board li { font-size: .92em; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .mbar .btn { padding: .95em 1em; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .etch path { stroke-dashoffset: 0; }
}
