:root {
  --ink: #171310;
  --muted: #6c625b;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --rose: #c87480;
  --rose-deep: #8f4750;
  --green: #486a5a;
  --brass: #bd8a4a;
  --line: rgba(23, 19, 16, 0.12);
  --shadow: 0 24px 60px rgba(23, 19, 16, 0.14);
  --max: 1160px;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 180ms ease out-fade;
}

::view-transition-new(root) {
  animation: 180ms ease in-fade;
}

@keyframes out-fade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes in-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@font-face {
  font-family: "Lobster";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("assets/fonts/lobster.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::selection {
  background: rgba(200, 116, 128, 0.28);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 150ms ease;
}

a:active {
  opacity: 0.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 260px) 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid transparent;
  background: rgba(247, 247, 245, 0.96);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(23, 19, 16, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: min(240px, 40vw);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 10px 8px;
  color: rgba(23, 19, 16, 0.72);
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--rose);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  touch-action: manipulation;
  will-change: transform;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-call {
  width: 94px;
  background: var(--ink);
  color: var(--surface);
}

.header-call:hover,
.btn:hover {
  transform: translateY(-2px);
}

.header-call svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-call svg {
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  overflow: hidden;
}

.home-hero {
  display: flex;
  align-items: center;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/salon-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0.96) 0%, rgba(247, 247, 245, 0.74) 34%, rgba(247, 247, 245, 0.12) 68%),
    linear-gradient(0deg, rgba(23, 19, 16, 0.28), rgba(23, 19, 16, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-deep);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.home-hero h1 {
  max-width: 820px;
  font-family: "Lobster", "Brush Script MT", cursive;
  font-size: clamp(3.4rem, 7.4vw, 7.3rem);
  font-weight: 400;
  line-height: 0.88;
}

.home-hero h1 span {
  display: block;
}

.home-hero h1 .reflect-word {
  display: inline-block;
  padding-bottom: 0.25em;
  background: linear-gradient(
    90deg,
    var(--ink) 25%,
    var(--rose) 37.5%,
    var(--brass) 50%,
    var(--rose) 62.5%,
    var(--ink) 75%
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-wave 9s ease-in-out infinite;
}

@keyframes shimmer-wave {
  0%   { background-position: 0% 0; }
  50%  { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(23, 19, 16, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  white-space: pre-line;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 0 22px;
}

.btn.primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 16px 34px rgba(23, 19, 16, 0.2);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(23, 19, 16, 0.14);
  color: var(--ink);
}

.btn.outline {
  border-color: var(--line);
  color: var(--ink);
}

.btn.light {
  background: var(--surface);
  color: var(--ink);
}

.quick-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  width: min(var(--max), calc(100% - 36px));
  margin: -58px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-strip div {
  flex: 1;
  padding: 16px clamp(10px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  border-right: 1px solid var(--line);
}

.quick-strip div:last-child {
  border-right: none;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: clamp(0.9rem, 2vw, 1.28rem);
}

.quick-strip span {
  color: var(--muted);
  font-size: 0.8rem;
}

.strip-rating {
  color: var(--brass);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: end;
}

.split p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid rgba(23, 19, 16, 0.1);
  border-radius: 8px;
  background-color: var(--ink);
  background-image: var(--tile-bg);
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 16, 0.82) 0%, rgba(23, 19, 16, 0.18) 55%, transparent 100%);
}

.service-tile:hover {
  box-shadow: 0 18px 36px rgba(23, 19, 16, 0.22);
  transform: translateY(-4px);
}

.service-tile span {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  color: #fff;
}

.service-tile small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.visit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: none;
  padding: clamp(52px, 7vw, 82px) clamp(18px, 5vw, 72px);
  background: #1a1612;
  color: var(--surface);
}

.visit-band > div {
  width: min(760px, 100%);
}

.visit-band .eyebrow {
  color: var(--brass);
}

.visit-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.5rem);
}

.page-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(92px, 12vw, 150px) 0 clamp(48px, 7vw, 78px);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .lead {
  max-width: 720px;
  margin-bottom: 0;
  white-space: pre-line;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 4px 16px rgba(23, 19, 16, 0.06);
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--ink);
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,19,16,0.9) 0%, rgba(23,19,16,0.3) 55%, transparent 100%);
}

.service-img {
  display: none;
}

.service-card-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card:last-child:nth-child(odd) {
  grid-column: auto;
}

.service-icon {
  display: none;
}

.service-card h2 {
  margin-bottom: 4px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #fff;
}

.service-card p {
  display: none;
}

.contact-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-info {
  padding-bottom: 40px;
}

.contact-info h1 {
  margin-bottom: 10px;
}

.contact-meta {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: clamp(42px, 7vw, 76px);
}

.contact-panel {
  padding: 26px;
}

.contact-panel .button-row {
  margin-top: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--rose-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.map-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(62px, 8vw, 96px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-section iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.site-footer img {
  width: min(220px, 52vw);
  height: auto;
  margin-bottom: 8px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 750;
}

.footer-links a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.footer-links a:hover {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

@media (hover: none) {
  .nav a::after {
    display: none;
  }

  .header-call:hover,
  .btn:hover {
    transform: none;
  }

  .service-tile:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .header-call:active,
  .btn:active {
    transform: scale(0.96);
    opacity: 0.85;
  }

  .service-tile:active,
  .service-card:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  .nav a:active {
    opacity: 0.6;
  }
}

@media (max-width: 920px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    overflow-x: auto;
    padding-top: 4px;
    gap: 4px;
  }

  .nav a {
    padding: 8px 18px;
    font-size: 1rem;
    border-radius: 999px;
    color: rgba(23, 19, 16, 0.6);
  }

  .nav a[aria-current="page"] {
    background: rgba(200, 116, 128, 0.12);
    color: var(--rose-deep);
    font-weight: 800;
  }

  .hero {
    min-height: 560px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(247, 247, 245, 0.96) 0%, rgba(247, 247, 245, 0.76) 54%, rgba(247, 247, 245, 0.28) 100%),
      linear-gradient(0deg, rgba(23, 19, 16, 0.28), rgba(23, 19, 16, 0));
  }

  .hero-content {
    padding-right: 0;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-strip {
    margin-top: 18px;
  }

  .visit-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero .lead {
    display: none;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .site-header {
    padding: 14px 20px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand img {
    width: min(210px, 58vw);
  }

  .header-call {
    width: 54px;
    min-height: 54px;
    padding: 0;
  }

  .header-call svg {
    width: 22px;
    height: 22px;
  }

  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .home-hero {
    align-items: flex-end;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media {
    background-image: url("assets/salon-hero-mobile.jpg");
    background-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(247,247,245,0.92) 0%, rgba(247,247,245,0.45) 38%, rgba(247,247,245,0.0) 62%),
      linear-gradient(to top, rgba(247,247,245,0.6) 0%, rgba(247,247,245,0.0) 40%);
  }

  .home-hero .lead {
    display: none;
  }

  .hero-content {
    padding-bottom: 44px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    font-size: 1rem;
  }

  .quick-strip div {
    padding: 14px 8px;
  }

  .quick-strip strong {
    font-size: 0.85rem;
  }

  .strip-rating {
    font-size: 1rem;
  }

  .section,
  .page-hero {
    width: min(100% - 30px, var(--max));
  }

  .section {
    padding: 40px 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .visit-band {
    width: 100%;
    max-width: none;
  }

  .map-section iframe {
    min-height: 360px;
  }

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