:root {
  --ink: #0d0d0d;
  --paper: #f3f2ef;
  --muted: #5c5c58;
  --muted-dark: #b3b3ad;
  --line: rgba(13, 13, 13, .14);
  --line-dark: rgba(243, 242, 239, .22);
  --pad: clamp(20px, 4vw, 48px);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Courier New", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: min(1320px, calc(100% - 2 * var(--pad))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  background: var(--ink); color: var(--paper);
  padding: 1em 1.6em; border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 600; text-decoration: none; line-height: 1.1;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-small { padding: .7em 1.25em; font-size: .92rem; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-outline { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size .4s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 0 2px; background-position: 100% 100%; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(243, 242, 239, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled::before { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 800; font-stretch: 112%;
  font-size: 1.15rem; letter-spacing: -.035em; line-height: 1;
  position: relative; z-index: 2;
}
.brand-mark { width: 38px; height: auto; fill: currentColor; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease);
}
.nav a:not(.btn):hover { background-size: 100% 1.5px; }
.nav-cta { display: none; }

.nav-toggle {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; margin-left: auto;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--paper);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-open .nav-toggle { background: var(--paper); color: var(--ink); }
.menu-open .nav-toggle .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta + .nav-toggle { margin-left: 0; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 96px var(--pad) 48px;
    background: var(--ink); color: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a:not(.btn) { font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.04em; line-height: 1.15; }
  .nav-cta { display: inline-flex; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .brand { color: var(--paper); }
  .menu-open .header-cta { visibility: hidden; }
}
@media (max-width: 479px) {
  .header-cta { display: none; }
  .header-cta + .nav-toggle { margin-left: auto; }
  .brand span { font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 8vw, 110px) 0 0; }
.hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); } }

.eyebrow, .index {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.hero-title {
  font-size: clamp(3.3rem, 17vw, 10.5rem);
  font-weight: 800; font-stretch: 112%;
  letter-spacing: -.05em; line-height: .9;
}
.hero-title .line { display: block; }
.hero-title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }

.pos { font-family: var(--mono); color: var(--muted); font-size: clamp(1.15rem, 2.4vw, 1.9rem); margin: 22px 0 10px; animation: fade 1s .35s both; }
.definition { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; max-width: 32ch; line-height: 1.45; margin-bottom: 36px; animation: fade 1s .45s both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; animation: fade 1s .55s both; }

.hero-mark { width: 100%; max-width: 400px; height: auto; justify-self: end; fill: var(--ink); animation: markIn 1.3s .1s var(--ease) both; }
@media (max-width: 899px) { .hero-mark { width: 42%; max-width: 200px; } }

.hero-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin: clamp(56px, 8vw, 104px) auto 0; border-top: 1.5px solid var(--ink);
}
.hero-meta > div { padding: 18px 24px 22px 0; }
.hero-meta dt, .contact-list dt, .contact-label {
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px;
}
.hero-meta dd { margin: 0; font-weight: 600; }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; }

@keyframes rise { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes markIn { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(18px, 2.5vw, 28px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-right: clamp(24px, 3vw, 44px);
  font-size: clamp(1.7rem, 4.2vw, 3.4rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.035em; line-height: 1; white-space: nowrap;
}
.marquee-group svg { width: .9em; height: auto; fill: currentColor; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-tight { padding-top: 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .index, .section-dark dt, .section-dark .contact-label { color: var(--muted-dark); }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.h2 { font-size: clamp(2.5rem, 6.6vw, 5.6rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.05em; line-height: .95; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; font-weight: 500; }

/* about */
.about { display: grid; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-body > p + p { margin-top: 20px; color: var(--muted); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--mono); font-size: .9rem; color: var(--muted); padding-top: 4px; }
.steps h3 { font-size: 1.4rem; font-weight: 800; font-stretch: 110%; letter-spacing: -.03em; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* services */
.entries {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.5px; background: var(--ink); border: 1.5px solid var(--ink);
}
.entry {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper); padding: 32px 28px 30px; min-height: 320px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.entry-word { font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.045em; line-height: 1; }
.entry-pos { font-family: var(--mono); color: var(--muted); margin-bottom: 12px; transition: color .4s; }
.entry-price { margin-top: auto; padding-top: 24px; font-weight: 700; font-family: var(--mono); font-size: .95rem; }
@media (hover: hover) {
  .entry:hover { background: var(--ink); color: var(--paper); }
  .entry:hover .entry-pos { color: var(--muted-dark); }
}

/* price list */
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--paper); }
.price-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 12px 32px;
  padding: 24px 0; border-bottom: 1px solid var(--line-dark);
  transition: padding .4s var(--ease);
}
@media (hover: hover) { .price-row:hover { padding-left: 14px; padding-right: 14px; } }
.price-name { font-size: clamp(1.3rem, 2.7vw, 2.2rem); font-weight: 700; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.15; }
.price-time { font-family: var(--mono); font-size: .9rem; color: var(--muted-dark); }
.price-value { font-size: clamp(1.3rem, 2.7vw, 2.2rem); font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; white-space: nowrap; padding-right: .06em; }
.price-note { margin-top: 28px; color: var(--muted-dark); font-size: .95rem; }
@media (max-width: 599px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-time { grid-row: 2; }
}

/* salon */
.salon { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .salon { grid-template-columns: 1.25fr 1fr; gap: 72px; } }
.salon-photo { margin: 0; }
.salon-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform 1.2s var(--ease); }
.salon-photo:hover img { filter: grayscale(0); }
.salon-photo figcaption { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-top: 12px; }
.salon-text .lead { margin: 28px 0 32px; }

/* contact */
.contact-title {
  font-size: clamp(3.5rem, 14vw, 12.5rem); font-weight: 800; font-stretch: 115%;
  letter-spacing: -.055em; line-height: .86; margin-bottom: clamp(48px, 7vw, 96px);
}
.contact-grid { display: grid; gap: 56px; border-top: 1.5px solid var(--paper); padding-top: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-phone {
  display: inline-block; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; font-stretch: 110%;
  letter-spacing: -.04em; text-decoration: none; line-height: 1.1; margin: 4px 0 28px;
}
.contact-phone:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-list { margin: 0; display: grid; gap: 28px; }
.contact-list dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.hours { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.hours span:last-child { font-family: var(--mono); font-size: .95rem; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 32px 0 40px; border-top: 1px solid var(--line-dark); font-size: .92rem; color: var(--muted-dark);
}
.footer-inner .brand { color: var(--paper); }
.to-top { text-decoration: none; font-weight: 600; color: var(--paper); }
.to-top:hover { text-decoration: underline; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
