/* ============================================================
   THE CUT CORNER GENTS SALON — Beans Digital concept
   Palette: ivory paper / bottle green / copper
   Type: Fraunces (serif display) + Karla (body)
   Classic barbershop, light editorial look
   ============================================================ */

@view-transition { navigation: auto; }

:root {
  --paper: #f6f1e7;
  --paper-2: #efe8d9;
  --ink: #23251f;
  --muted: #6c6a5e;
  --green: #1e4d3b;
  --green-deep: #143528;
  --copper: #b0742f;
  --line: #d8cfbc;
  --radius: 4px;
  --wrap: 1040px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Karla", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* barber stripe motif */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--green) 0 14px,
    var(--paper) 14px 20px,
    var(--copper) 20px 34px,
    var(--paper) 34px 40px
  );
}

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--green-deep);
  color: #f3eee2;
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 14px;
  letter-spacing: 0.02em;
}
.concept-banner a { color: #f3eee2; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.1;
  view-transition-name: site-logo;
}
.logo .mark { color: var(--copper); }
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
}

.nav-toggle-box { display: none; }
.nav-toggle {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--paper);
}
.nav-toggle i {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.site-nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.site-nav a {
  display: block;
  padding: 6px 2px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--green); border-bottom-color: var(--copper); }
.site-nav a.nav-cta {
  border: 1px solid var(--green);
  color: var(--green);
  padding: 9px 18px;
  border-radius: 999px;
}
.site-nav a.nav-cta:hover { background: var(--green); color: var(--paper); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 2px; }
  .site-nav a { padding: 13px 6px; font-size: 0.9rem; }
  .site-nav a.nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle-box:checked ~ .site-nav { max-height: 420px; }
  .nav-toggle-box:checked ~ .nav-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-box:checked ~ .nav-toggle i:nth-child(2) { opacity: 0; }
  .nav-toggle-box:checked ~ .nav-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% -80px, rgba(176, 116, 47, 0.1), transparent 70%),
    var(--paper);
}
.hero .est {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--copper);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 7.5vw, 4.4rem);
  line-height: 1.08;
  margin: 18px auto 0;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero p.lead {
  margin: 22px auto 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-rating {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
}
.hero-rating .stars { color: var(--copper); letter-spacing: 0.12em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-green { background: var(--green); color: var(--paper); }
.btn-green:hover { background: var(--green-deep); }
.btn-line { border: 1px solid var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--paper); }

/* ---------- ornament divider ---------- */
.ornament {
  text-align: center;
  color: var(--copper);
  font-size: 1.1rem;
  letter-spacing: 0.6em;
  padding: 0 0 8px;
}

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }

.kicker {
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 14px;
}
h2.title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.6vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
h2.title em { font-style: italic; color: var(--green); }
.section-intro { color: var(--muted); max-width: 580px; margin: 0 auto 40px; }

/* ---------- service list ---------- */
.service-list { max-width: 720px; margin: 0 auto; }
.service-item {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
}
.service-item:first-child { border-top: 1px solid var(--line); }
.service-item .no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
  font-size: 1.1rem;
  flex: none;
  width: 2.2rem;
}
.service-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.service-item p { color: var(--muted); font-size: 0.96rem; }
.service-item .tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- feature trio ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.trio > div {
  padding: 36px 28px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 745px) {
  .trio > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .trio > div:last-child { border-right: 0; }
}
.trio .glyph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--copper);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.trio h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin-bottom: 8px; }
.trio p { color: var(--muted); font-size: 0.93rem; }

/* ---------- quotes ---------- */
.quote-wall { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 32px;
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--copper);
  position: absolute;
  top: 14px;
  left: 18px;
  opacity: 0.4;
}
.quote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; padding-left: 28px; }
.quote .src {
  display: block;
  margin-top: 14px;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rating-hero { text-align: center; margin-bottom: 36px; }
.rating-hero .big {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 4.8rem);
  color: var(--green);
  line-height: 1;
}
.rating-hero .stars { color: var(--copper); font-size: 1.25rem; letter-spacing: 0.2em; margin-top: 6px; }
.rating-hero .count { color: var(--muted); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ---------- hours table ---------- */
.hours-table { width: 100%; max-width: 560px; margin: 0 auto; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.hours-table caption {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: center;
  padding: 16px;
  background: var(--green);
  color: var(--paper);
}
.hours-table th, .hours-table td { padding: 12px 22px; font-size: 0.93rem; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { color: var(--muted); font-weight: 700; text-align: left; width: 45%; }
.hours-table td { text-align: right; font-weight: 700; color: var(--green-deep); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.contact-list { list-style: none; background: #fff; border: 1px solid var(--line); padding: 10px 26px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; color: var(--copper); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 700; margin-bottom: 4px; }
.contact-list a { color: var(--green); font-weight: 700; text-decoration: none; font-size: 1.02rem; }
.contact-list a:hover { text-decoration: underline; }
.map-frame { border: 1px solid var(--line); overflow: hidden; background: #fff; }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--green); color: var(--paper); padding: 64px 0; text-align: center; }
.cta-strip h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.15; }
.cta-strip h2 em { font-style: italic; color: #e9c58d; }
.cta-strip p { margin: 12px auto 0; max-width: 520px; color: #d8e2d6; }
.cta-strip .btn { background: var(--paper); color: var(--green-deep); margin-top: 26px; }
.cta-strip .btn:hover { background: #fff; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 116px; background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.site-footer h4 { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--green); }
.site-footer p { color: var(--muted); font-size: 0.92rem; }
.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(35, 37, 31, 0.3);
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .wa-float { transition: none; }
}

/* ---------- page header (inner pages) ---------- */
.page-head {
  text-align: center;
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.1;
}
.page-head h1 em { font-style: italic; color: var(--green); }
.page-head p { color: var(--muted); margin: 14px auto 0; max-width: 560px; }
