/* New Look Barber Shop — Website #99
   Modern barbershop × mirror-stripe editorial
   Fully offline. HTML + CSS only. */

:root {
  --warm-white: #f7f4ee;
  --paper: #fbf8f2;
  --charcoal: #252626;
  --midnight: #172b3d;
  --copper: #b56f46;
  --grey: #9da3a5;
  --cream: #e7dcc8;
  --line: rgba(37,38,38,0.14);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
  --shadow: 0 18px 44px rgba(30,35,38,0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(180deg, rgba(181,111,70,0.04), transparent 18rem),
    var(--warm-white);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  background: var(--midnight);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247,244,238,0.95);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: grid;
  line-height: 1;
  text-decoration: none;
}

.brand-main {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.25rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.main-nav a,
.footer-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.main-nav a {
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--copper);
  border-color: currentColor;
}

.hero {
  padding: 4.7rem 0 5.4rem;
  scroll-margin-top: 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.precision-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  max-width: 560px;
  margin-bottom: 1rem;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.precision-rule {
  height: 1px;
  background: var(--line);
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(3.5rem, 7.1vw, 6.8rem);
  line-height: 0.93;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4.8vw, 4.15rem);
  line-height: 0.97;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

p {
  margin-top: 0;
  color: #5a5e60;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 1.8rem;
  font-size: 1.04rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  border: 1px solid var(--midnight);
  background: var(--midnight);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23,43,61,0.18);
}

.hero-note {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.9rem;
  max-width: 550px;
  margin-top: 2rem;
}

.trim-mark {
  position: relative;
  width: 34px;
  height: 48px;
  border-left: 2px solid var(--copper);
}

.trim-mark::before,
.trim-mark::after {
  content: "";
  position: absolute;
  left: 0;
  height: 1px;
  background: var(--grey);
}

.trim-mark::before {
  top: 12px;
  width: 24px;
}

.trim-mark::after {
  top: 30px;
  width: 16px;
}

.hero-note p {
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(23,43,61,0.05), transparent 55%),
    var(--paper);
  box-shadow: var(--shadow);
}

.mirror {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mirror-outer {
  width: 300px;
  height: 390px;
  border: 8px solid var(--midnight);
  box-shadow: 0 0 0 1px var(--grey);
}

.mirror-inner {
  width: 252px;
  height: 342px;
  border: 1px solid var(--copper);
  background:
    linear-gradient(135deg, rgba(157,163,165,0.10), transparent 62%);
}

.comb {
  position: absolute;
  display: flex;
  gap: 6px;
}

.comb-top {
  right: 36px;
  top: 38px;
}

.comb span {
  display: block;
  width: 3px;
  height: 48px;
  background: var(--charcoal);
}

.stripe-panel {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: 110px;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.stripe {
  position: absolute;
  width: 18px;
  height: 190px;
  top: -18px;
  transform: rotate(28deg);
}

.s1 {
  left: 18px;
  background: var(--midnight);
}

.s2 {
  left: 50px;
  background: var(--copper);
}

.s3 {
  left: 82px;
  background: var(--grey);
}

.cut-guide {
  position: absolute;
  right: 26px;
  bottom: 36px;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr auto);
  gap: 5px;
  align-items: center;
  width: 230px;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.52rem;
}

.cut-guide i {
  height: 1px;
  background: var(--line);
}

.barber-label {
  position: absolute;
  left: 34px;
  top: 34px;
  width: 220px;
  padding: 1rem;
  border: 1px solid var(--charcoal);
  background: rgba(247,244,238,0.93);
}

.barber-label span,
.barber-label strong {
  display: block;
}

.label-kicker {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.barber-label strong {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.barber-label > span:last-child {
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.corner-ref {
  position: absolute;
  right: 20px;
  top: 118px;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.56rem;
  transform: rotate(90deg);
}

.about-section {
  background:
    linear-gradient(90deg, rgba(157,163,165,0.09), transparent 34%),
    #fbfaf6;
}

.about-grid {
  display: grid;
  grid-template-columns: 70px 0.9fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: start;
}

.section-index {
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.about-copy {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.about-copy p {
  font-size: 1.02rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-frame {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(30,35,38,0.05);
}

.frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.service-no {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.mini-mirror {
  width: 26px;
  height: 36px;
  border: 2px solid var(--midnight);
  box-shadow: inset 0 0 0 4px var(--paper);
  background: var(--cream);
}

.service-band {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--paper);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.band-cut {
  background: var(--midnight);
}

.band-fade {
  background: var(--copper);
}

.band-groom {
  background: #626a6f;
}

.service-copy {
  padding: 1.5rem 1rem 2.6rem;
}

.service-copy p {
  margin-bottom: 0;
}

.service-ref {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.style-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.style-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(37,38,38,0.035) 1px, transparent 1px) 0 0 / 34px 100%,
    linear-gradient(180deg, rgba(23,43,61,0.05), transparent 70%),
    #eceae5;
}

.style-heading {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  max-width: 860px;
  margin-bottom: 3rem;
}

.style-heading p:last-child {
  max-width: 700px;
}

.sequence-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sequence-step {
  position: relative;
  min-height: 180px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(251,248,242,0.84);
}

.sequence-num {
  display: block;
  margin-bottom: 2rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.sequence-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.guide-line {
  display: block;
  width: 72%;
  height: 2px;
  margin-top: 0.8rem;
  background: var(--midnight);
  box-shadow:
    0 7px 0 rgba(181,111,70,0.65),
    0 14px 0 rgba(157,163,165,0.65);
}

.sequence-step small {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.style-comb {
  position: absolute;
  right: 4%;
  top: 10%;
  display: flex;
  gap: 7px;
  opacity: 0.18;
}

.style-comb span {
  width: 4px;
  height: 118px;
  background: var(--charcoal);
}

.style-stripe {
  position: absolute;
  right: 0;
  height: 5px;
  opacity: 0.42;
}

.stripe-a {
  top: 84px;
  width: 34%;
  background: var(--copper);
}

.stripe-b {
  bottom: 76px;
  width: 48%;
  background: var(--midnight);
}

.closing-section {
  background: #f0ede7;
}

.closing-grid {
  display: grid;
  grid-template-columns: 1fr minmax(330px, 0.8fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.closing-copy {
  max-width: 700px;
}

.closing-art {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.closing-mirror {
  position: absolute;
  right: 42px;
  top: 38px;
  width: 145px;
  height: 200px;
  border: 7px solid var(--midnight);
  box-shadow: inset 0 0 0 1px var(--copper);
}

.closing-label {
  position: absolute;
  left: 26px;
  top: 26px;
  width: 230px;
  padding: 1rem;
  border: 1px solid var(--charcoal);
  background: rgba(247,244,238,0.93);
}

.closing-label span,
.closing-label strong,
.closing-label small {
  display: block;
}

.closing-label span,
.closing-label small {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.closing-label span {
  color: var(--copper);
}

.closing-label strong {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.closing-comb {
  position: absolute;
  left: 34px;
  bottom: 36px;
  display: flex;
  gap: 6px;
}

.closing-comb i {
  display: block;
  width: 3px;
  height: 52px;
  background: var(--charcoal);
}

.closing-line {
  position: absolute;
  right: 54px;
  height: 4px;
}

.cl1 {
  width: 110px;
  bottom: 34px;
  background: var(--copper);
}

.cl2 {
  width: 78px;
  bottom: 50px;
  background: var(--midnight);
}

.cl3 {
  width: 48px;
  bottom: 66px;
  background: var(--grey);
}

.legal-section {
  background: #e4e0d8;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: rgba(251,248,242,0.66);
}

.legal-card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  text-transform: none;
  letter-spacing: -0.03em;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #e4e0d8;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.15rem;
}

.footer-brand strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.6rem;
}

@media (max-width: 960px) {
  .header-inner {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero-grid,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .about-grid {
    grid-template-columns: 56px 1fr;
  }

  .about-copy {
    grid-column: 2;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-frame {
    min-height: 250px;
  }

  .sequence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 4rem 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero {
    padding-top: 3rem;
  }

  .precision-strip {
    grid-template-columns: 1fr;
  }

  .precision-rule {
    display: none;
  }

  .hero-visual {
    min-height: 370px;
  }

  .mirror-outer {
    width: 210px;
    height: 280px;
  }

  .mirror-inner {
    width: 172px;
    height: 242px;
  }

  .barber-label {
    left: 20px;
    top: 20px;
    width: 190px;
  }

  .comb-top {
    right: 20px;
    top: 26px;
  }

  .comb span {
    height: 38px;
  }

  .stripe-panel {
    left: 22px;
    bottom: 26px;
    width: 90px;
    height: 120px;
  }

  .cut-guide {
    right: 18px;
    bottom: 28px;
    width: 190px;
  }

  .about-grid,
  .section-heading,
  .style-heading {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .about-copy {
    grid-column: auto;
  }

  .sequence-grid {
    grid-template-columns: 1fr;
  }

  .sequence-step {
    min-height: 138px;
  }

  .style-comb {
    right: -12px;
    top: 20px;
    transform: scale(0.74);
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0.55rem 1rem;
  }

  .main-nav a {
    font-size: 0.72rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  .barber-label {
    max-width: 62%;
    padding: 0.8rem;
  }

  .cut-guide {
    display: none;
  }

  .closing-label {
    left: 18px;
    top: 18px;
    max-width: 62%;
  }

  .closing-mirror {
    right: 24px;
  }

  .legal-card,
  .style-panel {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
