/* ===========================================================
   Fine Cut & Barbershop — Vintage Editorial
   Shared stylesheet for all 5 pages
   =========================================================== */

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, table { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ---- Tokens ------------------------------------------------ */
:root {
  --bg-deep: #1A1512;
  --bg-deep-2: #241C16;
  --bg-cream: #F2E8D5;
  --bg-cream-2: #E9DBC0;
  --amber: #C17F3E;
  --brass: #B08D57;
  --rust: #8B3A1F;
  --text-on-dark: #F2E8D5;
  --text-on-cream: #211A15;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "EB Garamond", Garamond, Georgia, serif;

  --container: 1180px;
  --section-pad: clamp(4rem, 8vw, 7.5rem);
  --gap-lg: clamp(2.5rem, 6vw, 5rem);
}

/* ---- Base ---------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  background: var(--bg-cream);
  color: var(--text-on-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--bg-deep);
  padding: 0.85rem 1.5rem;
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Section backgrounds */
.section-dark { background: var(--bg-deep); color: var(--text-on-dark); }
.section-cream { background: var(--bg-cream); color: var(--text-on-cream); }
.section-dark, .section-cream { padding: var(--section-pad) 0; }
.section-dark p, .section-cream p { color: inherit; }
.section-dark p:not(.eyebrow):not(.proof-figure) { color: rgba(242, 232, 213, 0.82); }
.section-cream p:not(.eyebrow):not(.proof-figure) { color: rgba(33, 26, 21, 0.82); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-dark .eyebrow { color: var(--amber); }
.section-cream .eyebrow { color: var(--rust); }

/* Ornamental divider between sections */
.divider {
  position: relative;
  height: 1px;
  max-width: 120px;
  margin: 0 auto;
  background: var(--brass);
  opacity: 0.6;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--brass);
  transform: translate(-50%, -50%) rotate(45deg);
}
.divider-wrap { padding: 0; background: inherit; }
.section-dark + .divider-wrap.on-dark,
.divider-wrap.on-dark { background: var(--bg-deep); padding: 0; }
.divider-wrap.on-cream { background: var(--bg-cream); }
.divider-wrap { display: flex; justify-content: center; }
.divider-wrap .divider { width: 100%; }

/* ---- Buttons ------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  padding: 0.95rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--bg-deep);
}
.btn-primary:hover { background: var(--rust); border-color: var(--rust); color: var(--text-on-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--brass);
  color: var(--text-on-dark);
}
.btn-outline:hover { background: var(--brass); color: var(--bg-deep); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--rust);
  color: var(--text-on-cream);
}
.btn-outline-dark:hover { background: var(--rust); color: var(--text-on-dark); border-color: var(--rust); }

.btn-book-nav {
  background: var(--brass);
  color: var(--bg-deep);
  font-size: 0.82rem;
  padding: 0.65rem 1.35rem;
}
.btn-book-nav:hover { background: var(--amber); }

/* ---- Header / Nav --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(26, 21, 18, 0.97);
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-on-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.logo .amp { color: var(--amber); font-style: italic; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
}
.main-nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding-bottom: 5px;
  opacity: 0.9;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--amber);
  transition: width 0.25s ease;
}
.main-nav a:not(.btn):hover { opacity: 1; }
.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { opacity: 1; color: var(--amber); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Hero ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 21, 18, 0.15) 0%, rgba(26, 21, 18, 0.45) 45%, rgba(26, 21, 18, 0.93) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  padding-top: 3rem;
  max-width: 720px;
}
.hero-content .eyebrow { color: var(--amber); }
.hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  color: rgba(242, 232, 213, 0.92) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 34em;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Page header (interior pages, no full hero photo) ------ */
.page-header {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: clamp(6.5rem, 14vw, 9.5rem) 0 var(--section-pad);
  text-align: left;
}
.page-header h1 {
  color: var(--text-on-dark);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  margin-bottom: 1.25rem;
}
.page-header .intro {
  max-width: 42em;
  color: rgba(242, 232, 213, 0.85);
  font-size: 1.2rem;
}

/* ---- Proof strip ------------------------------------------- */
.proof-strip { padding: var(--section-pad) 0; }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.proof-item {
  padding-left: 1.75rem;
  border-left: 2px solid var(--brass);
}
.proof-figure {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--text-on-cream);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.proof-detail {
  font-size: 1rem;
  color: rgba(33, 26, 21, 0.72) !important;
}

/* ---- Split (image / text) sections -------------------------- */
.split-inner {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}
.split.reverse .split-inner { flex-direction: row-reverse; }
.split-media, .split-text { flex: 1 1 0; min-width: 0; }
.split-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(176, 141, 87, 0.35);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1.25rem; }
.section-dark .split-text h2 { color: var(--text-on-dark); }
.section-cream .split-text h2 { color: var(--text-on-cream); }
.split-text p { font-size: 1.12rem; max-width: 34em; }

/* ---- CTA band (accent gradient section) ---------------------- */
.cta-band {
  position: relative;
  background: var(--bg-deep);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(193, 127, 62, 0.22), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(139, 58, 31, 0.28), transparent 55%);
  color: var(--text-on-dark);
  padding: var(--section-pad) 0;
  text-align: center;
  border-top: 1px solid rgba(176, 141, 87, 0.4);
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
}
.cta-band .container { max-width: 700px; }
.cta-band h2 {
  color: var(--text-on-dark);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1.1rem;
}
.cta-band p {
  color: rgba(242, 232, 213, 0.85) !important;
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
}

/* ---- Callout (about page — bronze bust) ----------------------- */
.callout-section { text-align: center; }
.callout {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.callout-media {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brass);
  box-shadow: 0 0 0 8px rgba(176, 141, 87, 0.08);
}
.callout-media img { width: 100%; height: 100%; object-fit: cover; }
.callout-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--text-on-dark);
  line-height: 1.5;
}

/* ---- Services page -------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.service-card {
  position: relative;
  background: var(--bg-cream);
  color: var(--text-on-cream);
  border: 1px solid rgba(176, 141, 87, 0.5);
  padding: 2.75rem 2.25rem 2.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brass);
  box-shadow: 0 18px 32px -18px rgba(0, 0, 0, 0.45);
}
.service-index {
  position: absolute;
  top: -0.4rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(193, 127, 62, 0.14);
  line-height: 1;
  user-select: none;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  position: relative;
}
.service-card p {
  position: relative;
  color: rgba(33, 26, 21, 0.78) !important;
  font-size: 1.05rem;
}

/* ---- Gallery page ---------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 141, 87, 0.3);
}
.gallery-item.feature { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.small { grid-column: span 1; grid-row: span 1; }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.1rem 0.9rem;
  background: linear-gradient(0deg, rgba(26, 21, 18, 0.88) 0%, rgba(26, 21, 18, 0) 100%);
  color: var(--text-on-dark);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption { opacity: 1; transform: translateY(0); }

/* ---- Contact page ------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
.contact-info h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.contact-info p { margin-bottom: 0.9rem; }
.contact-info a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: rgba(176, 141, 87, 0.6);
  text-underline-offset: 3px;
}
.contact-info a:not(.btn):hover { color: var(--rust); }

.hours-table { margin: 1.25rem 0 1.75rem; font-size: 1.05rem; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(176, 141, 87, 0.3);
  font-weight: 400;
}
.hours-table th { color: var(--text-on-cream); font-weight: 600; padding-right: 1.5rem; width: 40%; }
.hours-table td { color: rgba(33, 26, 21, 0.78); }

.map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid rgba(176, 141, 87, 0.5);
  filter: sepia(12%) saturate(85%);
}

.contact-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.contact-social a {
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.contact-social a:hover { color: var(--rust); border-color: var(--rust); }

.contact-cta { margin-top: 2.25rem; }

/* ---- Footer ------------------------------------------------------ */
.site-footer {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
  border-top: 1px solid rgba(176, 141, 87, 0.4);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-on-dark);
}
.footer-brand p {
  color: rgba(242, 232, 213, 0.78);
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}
.footer-brand a { text-decoration: none; border-bottom: 1px solid rgba(176, 141, 87, 0.5); }
.footer-brand a:hover { color: var(--amber); }
.footer-hours { max-width: 34em; line-height: 1.5; }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.3rem;
}
.footer-social a {
  text-decoration: none;
  color: rgba(242, 232, 213, 0.85);
  font-size: 0.98rem;
  border-bottom: 1px solid transparent;
  width: fit-content;
}
.footer-social a:hover { color: var(--amber); border-bottom-color: var(--amber); }

.footer-cvr {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.75rem 0;
  border-top: 1px solid rgba(176, 141, 87, 0.2);
  font-size: 0.82rem;
  color: rgba(242, 232, 213, 0.5);
  letter-spacing: 0.03em;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .split-inner { flex-direction: column; }
  .split.reverse .split-inner { flex-direction: column; }
  .split-media { aspect-ratio: 16 / 10; width: 100%; }
  .proof-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.5rem; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(26, 21, 18, 0.98);
    border-bottom: 1px solid rgba(176, 141, 87, 0.4);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    padding: 0.5rem 1.75rem 1rem;
  }
  .main-nav ul li { width: 100%; }
  .main-nav a:not(.btn) { display: block; padding: 0.85rem 0; width: 100%; }
  .main-nav .btn-book-nav {
    margin: 0.5rem 1.75rem 1.5rem;
    text-align: center;
  }
  .nav-toggle { display: flex; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.feature { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .hero { min-height: 88vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.feature { grid-column: span 1; grid-row: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band .btn, .page-header .btn { width: 100%; text-align: center; }
}
