/* ════════════════════════════════════════════════════════════════════
   AUTHENTIC CUTZ BARBER SHOP :: Global Design System
   Premium · Bold · Barbering · Monochrome Black & White
   Type: Cormorant Garamond (display) + DM Sans (body) + Dancing Script (accent)
   Palette: FULL DARK MODE. White and greys on rich black
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&family=Dancing+Script:wght@500;600&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────────────── */
:root {
  /* Surfaces: rich black */
  --paper:      #0C0C0C;
  --white:      #0C0C0C;
  --mist:       #0C0C0C;
  --sand:       #161616;
  --sand-deep:  #1E1E1E;

  /* Brand accents: white on black */
  --sage:       #FFFFFF;   /* accent = white */
  --sage-deep:  #E8E8E8;   /* hover slightly dimmed */
  --sage-soft:  #1A1A1A;   /* soft card/accent background = charcoal */
  --clay:       #F5F5F5;

  /* Ink = light text on black */
  --ink:        #F5F5F3;
  --ink-soft:   #B8B8B4;
  --ink-light:  #7A7A76;
  --line:       #2A2A2A;

  /* Layout */
  --gutter:     clamp(20px, 5vw, 56px);
  --maxw:       1240px;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::placeholder { color: var(--ink-light); opacity: 1; }

::selection { background: var(--sage-soft); color: var(--ink); }

:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px;
}
[id] { scroll-margin-top: 130px; }

.fill-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── CUSTOM CURSOR (dot + lagging ring) ─────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none; }
  .cursor {
    position: fixed; top: 0; left: 0; width: 7px; height: 7px;
    background: #ffffff; border-radius: 50%;
    pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width .28s var(--ease), height .28s var(--ease);
    will-change: transform;
  }
  .cursor-ring {
    position: fixed; top: 0; left: 0; width: 34px; height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease);
    will-change: transform;
  }
  body.cursor-link .cursor { width: 10px; height: 10px; }
  body.cursor-link .cursor-ring { width: 56px; height: 56px; border-color: rgba(255, 255, 255, 0.85); }
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ─── TOP BAR ───────────────────────────────────────────────────── */
.top-bar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1001; height: 34px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-bar-group { display: flex; align-items: center; gap: 22px; }
.top-bar a { transition: color .25s var(--ease); }
.top-bar a:hover { color: var(--sage-deep); }
.top-bar .dot { color: var(--sage); margin: 0 2px; }

/* ─── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 34px; left: 0; width: 100%;
  z-index: 1000; height: 76px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease), top .4s var(--ease), height .4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 13px; }
.nav-logo-text { line-height: 1; }
.nav-logo-mark {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 23px; letter-spacing: 0.06em; color: var(--ink);
  display: block;
}
.nav-logo-sub {
  font-size: 9.5px; font-weight: 400; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--ink-light);
  display: flex; align-items: center; gap: 9px; margin-top: 5px;
}
.nav-logo-sub::before { content: ''; width: 18px; height: 1px; background: var(--sage); flex-shrink: 0; }

.nav-links {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 40px;
}
.nav-links a {
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
  width: 0; height: 1.5px; background: var(--sage);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 18px; }
.nav-links a.active { color: var(--ink); }

.nav--over-hero:not(.scrolled) .nav-logo-mark { color: #FFFFFF; }
.nav--over-hero:not(.scrolled) .nav-logo-sub { color: rgba(250,250,248,0.75); }
.nav--over-hero:not(.scrolled) .nav-links a { color: rgba(250,250,248,0.9); }
.nav--over-hero:not(.scrolled) .nav-links a:hover,
.nav--over-hero:not(.scrolled) .nav-links a.active { color: #FFFFFF; }
.nav--over-hero:not(.scrolled) .nav-hamburger span { background: #FFFFFF; }

.nav-cta {
  font-size: 12.5px !important; font-weight: 500;
  letter-spacing: 0.05em; padding: 12px 26px;
  background: var(--ink); color: var(--paper);
  border-radius: 100px; display: inline-flex; align-items: center;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.nav-cta:hover { background: var(--sage-deep); transform: translateY(-1px); }
.nav-cta::after { content: '\2192'; margin-left: 9px; transition: transform .3s var(--ease); }
.nav-cta:hover::after { transform: translateX(3px); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-overlay {
  position: fixed; inset: 0; background: #0A0A0A;
  z-index: 1100; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay ul { text-align: center; display: flex; flex-direction: column; gap: 26px; }
.nav-overlay a {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 42px;
  display: inline-block; padding: 6px 0;
  color: #F5F5F3; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s var(--ease);
}
.nav-overlay.open a { opacity: 1; transform: translateY(0); }
.nav-overlay.open li:nth-child(1) a { transition-delay: .08s; }
.nav-overlay.open li:nth-child(2) a { transition-delay: .14s; }
.nav-overlay.open li:nth-child(3) a { transition-delay: .20s; }
.nav-overlay.open li:nth-child(4) a { transition-delay: .26s; }
.nav-overlay.open li:nth-child(5) a { transition-delay: .32s; }
.nav-overlay.open li:nth-child(6) a { transition-delay: .38s; }
.nav-overlay a:hover { color: #FFFFFF; }
.nav-overlay-close {
  position: absolute; top: 26px; right: 28px; background: none; border: none;
  color: #F5F5F3; font-size: 30px; font-weight: 300; line-height: 1;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.04em; border-radius: 100px;
  padding: 17px 40px; transition: background .35s var(--ease),
              color .35s var(--ease), transform .3s var(--ease), border-color .35s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn--sage { background: var(--sage); color: var(--white); }
.btn--sage:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn--outline { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--outline:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: #0C0C0C; }
.btn--light:hover { background: #E0E0E0; color: #0C0C0C; transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.tlink {
  font-size: 14px; font-weight: 400; color: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px;
}
.tlink::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
  background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink .arrow { transition: transform .3s var(--ease); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ─── SHARED LAYOUT ─────────────────────────────────────────────── */
.section { position: relative; z-index: 1; background: var(--paper); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 880px; }

/* ─── SHARED TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 400; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--sage);
}
.eyebrow--center { justify-content: center; }

.h-display {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(40px, 6vw, 80px); line-height: 1.04;
  letter-spacing: -0.005em; color: var(--ink);
}
.h-section {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; color: var(--ink);
}
.h-sub {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.18; color: var(--ink);
}
em.italic, .h-display em, .h-section em, .h-sub em {
  font-style: italic; font-weight: 500; color: var(--sage-deep);
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 300;
  color: var(--ink-soft); line-height: 1.8;
}
.body-text { font-size: 16px; font-weight: 300; color: var(--ink-soft); line-height: 1.85; }
.muted { color: var(--ink-light); }
.cursive { font-family: 'Dancing Script', cursive; font-weight: 500; color: var(--sage-deep); }

/* ─── TEXTURE SHOWCASE (shared) ─────────────────────────────────── */
.texture-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.texture-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; }
.texture-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .texture-row { grid-template-columns: 1fr; } .texture-img { max-height: 460px; } }

/* ─── HAIR TEXTURE CARDS (shared) ───────────────────────────────── */
.tex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.tex-card { text-align: center; }
.tex-card-img { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 22px; }
.tex-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tex-card:hover .tex-card-img img { transform: scale(1.04); }
.tex-card h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.tex-card p { font-size: 14px; font-weight: 300; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 768px) { .tex-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ─── IMAGE FRAME / PLACEHOLDER ─────────────────────────────────── */
.frame { overflow: hidden; position: relative; background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--round { border-radius: 10px; }
.img-ph {
  background: var(--mist); width: 100%; height: 100%; min-height: 280px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.img-ph::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 11px,
    rgba(255,255,255,0.05) 11px, rgba(255,255,255,0.05) 12px);
}
.img-ph span {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-light); background: var(--white); padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 4px; position: relative; z-index: 1;
}

.zoom img { transition: transform .8s var(--ease); }
.zoom:hover img { transform: scale(1.045); }

/* ─── SCROLL REVEAL ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; } .d5 { transition-delay: .40s; }

/* ─── DIVIDER ──────────────────────────────────────────────────── */
.paw-divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--ink-light); padding: 6px 0;
}
.paw-divider::before, .paw-divider::after {
  content: ''; height: 1px; width: clamp(40px, 18vw, 180px); background: var(--line);
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer { background: #141414; color: var(--ink); padding: 90px var(--gutter) 40px; position: relative; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .nav-logo-mark { color: var(--ink); font-size: 24px; }
.footer-brand .nav-logo-sub { color: var(--ink-light); }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: 21px; color: var(--ink-soft); margin-top: 22px; max-width: 30ch; line-height: 1.5;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col p {
  font-size: 14px; font-weight: 300; color: var(--ink-soft);
  letter-spacing: 0.02em; transition: color .25s var(--ease); line-height: 1.6;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; font-weight: 300; color: var(--ink-light); }
.footer-bottom .footer-social { display: flex; gap: 20px; }
.footer-bottom .footer-social a { font-size: 12.5px; color: var(--ink-light); }
.footer-bottom .footer-social a:hover { color: var(--sage-deep); }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { gap: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav { top: 0; height: 62px; }
  .nav.scrolled { height: 58px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-overlay a { font-size: 34px; }
  .footer { padding: 64px var(--gutter) 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cursor, .cursor-ring { display: none !important; }
  * { cursor: auto !important; }
  .reveal { transform: translateY(22px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
