/* ==========================================================================
   Fine Cut & Barbershop — Modern Neo-Traditional direction
   ========================================================================== */

:root {
  --bg: #0C0C0D;
  --surface: #16161A;
  --accent: #C9974F;
  --text: #EDEAE3;
  --muted: #8A8680;
  --border: #2A2A2E;

  --accent-rgb: 201, 151, 79;
  --accent-soft: rgba(201, 151, 79, 0.12);
  --accent-soft-strong: rgba(201, 151, 79, 0.22);

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 3px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.h1 {
  font-size: clamp(2.25rem, 4.6vw + 1rem, 3.75rem);
}

.h2 {
  font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 46ch;
}

.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #171207;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ddac63;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav {
  display: flex;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  right: 0;
}

.nav-book {
  padding: 0.7rem 1.35rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-book {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 26rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .nav-book-mobile {
    display: block;
    width: calc(100% - 3rem);
    box-sizing: border-box;
    margin: 0.25rem 1.5rem 1.5rem;
    text-align: center;
    color: #171207;
    border-bottom: none;
  }

  .site-nav .nav-book-mobile:hover,
  .site-nav .nav-book-mobile:focus-visible {
    color: #171207;
  }
}

@media (min-width: 721px) {
  .nav-book-mobile {
    display: none;
  }
}

/* ---------- Section rhythm ---------- */

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-border-top {
  border-top: 1px solid var(--border);
}

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hero-content {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  max-width: 16ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding: 0 clamp(2rem, 4vw, 4.5rem) 0 max(1.5rem, calc((100vw - var(--container)) / 2 + 1.5rem));
    max-width: none;
    text-align: left;
  }

  .hero-media {
    aspect-ratio: auto;
    height: auto;
    border-top: none;
    border-left: 1px solid var(--border);
  }
}

/* ---------- Proof strip ---------- */

.proof-strip {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.proof-item {
  background: var(--surface);
  padding: 2.25rem 1.5rem;
}

.proof-stat {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.proof-detail {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

@media (min-width: 720px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Split section (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h2 {
  margin-bottom: 1.1rem;
}

.split-text p {
  color: var(--muted);
  max-width: 52ch;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split--reverse .split-media {
    order: 2;
  }

  .split--reverse .split-text {
    order: 1;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, var(--accent-soft), transparent 60%),
    var(--bg);
  text-align: center;
}

.cta-band-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-band p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Cards (services) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-index {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Page intro (services / gallery / contact) ---------- */

.page-intro {
  max-width: 62ch;
}

.page-intro .lede {
  max-width: 62ch;
}

/* ---------- About page specifics ---------- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-hero-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.about-hero-text p {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1.25rem;
}

@media (min-width: 860px) {
  .about-hero {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }
}

.callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.callout-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.callout-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callout p {
  color: var(--text);
  font-size: 1.05rem;
  font-style: italic;
}

@media (min-width: 640px) {
  .callout {
    grid-template-columns: 160px 1fr;
  }
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-tall {
  aspect-ratio: 3 / 4;
}

.gallery-wide {
  aspect-ratio: 4 / 3;
}

.gallery-square {
  aspect-ratio: 1 / 1;
}

.gallery-small {
  aspect-ratio: 1 / 1;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .gallery-item.span-2 {
    grid-column: span 2;
  }

  .gallery-item.row-2 {
    grid-row: span 2;
  }
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-group h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
}

.info-group p,
.info-group a {
  color: var(--text);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.social-row {
  display: flex;
  gap: 1.5rem;
}

.social-row a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}

.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.footer-brand a {
  color: var(--text);
  transition: color 0.2s ease;
}

.footer-brand a:hover {
  color: var(--accent);
}

.footer-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.footer-hours p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.footer-social-links {
  display: flex;
  gap: 1.25rem;
}

.footer-social-links a {
  color: var(--muted);
  transition: color 0.2s ease;
  font-size: 0.92rem;
}

.footer-social-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
