/* ==========================================================================
   Last Option Kutz
   Mobile-first. Base styles target a 360px phone; min-width queries layer on
   the wider layouts. Breakpoints: 480 / 768 / 1024.
   ========================================================================== */

/* ------------------------------------------------------------- tokens --- */
:root {
  --ink: #0a0a0a;
  --ink-soft: #161616;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #e4e4e4;

  --gold: #f5a623;
  --gold-bright: #ffb838;   /* nav links on black — lifts contrast to 8:1 */
  --pole-red: #e03131;
  --pole-blue: #1d4ed8;
  --pin: #e8564f;

  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 56px;

  --shadow-gold: 0 10px 0 -2px var(--gold), 0 24px 30px -14px rgba(245, 166, 35, .9);

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Anchors must clear the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ink);
  overflow-x: hidden;           /* belt-and-braces against sideways scroll */
  -webkit-tap-highlight-color: rgba(245, 166, 35, .25);
}

h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* The icon sprite must occupy no space. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex: none;
}

/* ------------------------------------------------------------ helpers --- */
.wrap {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* Scroll reveal — only armed when JS is running (see the inline script in
   index.html), so the page is fully readable if scripts fail to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ buttons --- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;                 /* comfortable tap target */
  padding: .7rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: var(--gold-bright); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65);
}
.btn--ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); width: 100%; }
.btn--dark:hover { --btn-bg: #2c2c2c; }

.btn--pill {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.btn--pill:hover { --btn-bg: var(--gold); }

.btn-pair {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.btn-pair .btn { flex: 1 1 10rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--paper);
  box-shadow: inset 0 0 0 2px currentColor;
  transition: color .18s var(--ease), background-color .18s var(--ease),
              transform .18s var(--ease);
}
.icon-btn:hover {
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------- header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.header.is-scrolled {
  background: rgba(10, 10, 10, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 10px 24px rgba(0, 0, 0, .45);
}
@supports (backdrop-filter: blur(10px)) {
  .header.is-scrolled { backdrop-filter: blur(10px); }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.header__logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  min-height: 44px;              /* the logo is a link, so it needs the target */
  line-height: 0;
}
.header__logo img { width: auto; height: 38px; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.lang,
.burger {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--paper);
}
.lang:hover,
.burger:hover { background: rgba(255, 255, 255, .12); }

/* Icon plus the language you'd switch *to*, side by side. */
.lang {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: auto;
  padding-inline: .7rem;
}
.lang__badge {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-bright);
}

/* ---------------------------------------------------------------- nav --- */
.nav a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--paper); }

.nav--desktop { display: none; }

.nav--mobile {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: var(--ink);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav--mobile a:not(.btn) {
  padding: .85rem .25rem;         /* keeps every row a 48px+ target */
  font-size: 1.0625rem;
}
.nav--mobile .btn { margin-top: .5rem; }

.nav-open .nav--mobile { opacity: 1; transform: none; }

.burger .icon--close { display: none; }
.nav-open .burger .icon--menu { display: none; }
.nav-open .burger .icon--close { display: block; }

/* ----------------------------------------------------------- wordmark --- */
.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.wordmark__pole {
  width: clamp(2.25rem, 9vw, 4.5rem);
  aspect-ratio: 40 / 186;
  height: auto;
  flex: none;
}

.wordmark__stack {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.75rem, 12.5vw, 6.5rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.03em;
  /* Silver sheen from the wireframe. */
  background: linear-gradient(180deg, #ffffff 35%, #8e8e8e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark__line--option { font-size: .72em; letter-spacing: -.02em; }
.wordmark__line--kutz { font-size: 1.02em; }

/* the T of LAST, drawn as the cross */
.wordmark__cross {
  display: inline-block;
  width: .56em;
  height: .92em;
  vertical-align: -.06em;
  background: var(--gold);
  clip-path: polygon(
    36% 0, 64% 0, 64% 22%, 100% 22%, 100% 44%, 64% 44%,
    64% 100%, 36% 100%, 36% 44%, 0 44%, 0 22%, 36% 22%
  );
}

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 20% 15%, #2e2e2e 0%, #121212 45%, #050505 100%);
  color: var(--paper);
  padding-block: clamp(2.5rem, 8vw, 5rem);
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 7vw, 3.5rem);
  text-align: center;
}

.hero__tagline {
  margin-top: 1.25rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.hero__brand .btn-pair { margin-top: 1.75rem; }

.hero__aside {
  display: grid;
  gap: 1.75rem;
  justify-items: center;
}

.scripture { margin: 0; }
.scripture p {
  font-size: clamp(1.125rem, 1rem + 1.1vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}
.scripture cite {
  display: block;
  margin-top: .85rem;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1rem, .95rem + .5vw, 1.25rem);
  color: var(--gold-bright);
}

.icon-row { display: flex; gap: 1rem; }

.hero__address {
  display: grid;
  gap: .1rem;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .92);
  transition: color .18s var(--ease);
}
.hero__address:hover { color: var(--gold-bright); }

/* ----------------------------------------------------------- sections --- */
.section { padding-block: clamp(3rem, 9vw, 5.5rem); }
.section--light { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--ink); color: var(--paper); }

.section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  font-size: clamp(2rem, 1.4rem + 3.4vw, 4rem);
  font-weight: 700;
  text-align: center;
}
.section__title--plain { display: block; }
.section__title--ink { color: var(--ink); }

.title-pole {
  width: clamp(1.5rem, 4.5vw, 2.5rem);
  aspect-ratio: 40 / 186;
  height: auto;
  flex: none;
}

/* ------------------------------------------------------------ stylist --- */
.stylist {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
}

.stylist__photo {
  position: relative;
  display: grid;
  place-items: center;
  gap: .75rem;
  aspect-ratio: 3 / 4;
  max-width: 24rem;
  margin-inline: auto;
  width: 100%;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(45deg, #1c1c1c 0 14px, #232323 14px 28px);
  overflow: hidden;
}
.stylist__photo-mark { width: 3.5rem; aspect-ratio: 40 / 186; height: auto; opacity: .9; }
.stylist__photo-note {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.stylist__bio h3 {
  margin-bottom: .6rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.stylist__bio p { color: #2f2f2f; }

/* -------------------------------------------------------------- cards --- */
.cards {
  display: grid;
  gap: clamp(2rem, 5vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards--extra { margin-top: clamp(2rem, 5vw, 2.25rem); }
.cards--extra[hidden] { display: none; }

.card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.75rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  transition: transform .22s var(--ease);
}
.card:hover { transform: translateY(-4px); }
.card:focus { outline: none; }

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.card__sub {
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}
/* In Spanish the title already carries the Spanish name, so the subtitle
   would just repeat it. */
html[lang="es"] .card__sub { display: none; }
.card__desc {
  margin-top: .75rem;
  font-size: .9375rem;
  color: #3a3a3a;
}
.card__price {
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.card .btn { margin-top: .75rem; }

.services__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

/* ----------------------------------------------------------- location --- */
.location { position: relative; overflow: hidden; }

/* Oversized pin from the wireframe. Decorative only. */
.location__watermark {
  display: none;
  position: absolute;
  left: -7%;
  top: -8%;
  width: 30%;
  height: auto;
  aspect-ratio: 1 / 1;
  color: var(--pin);
  z-index: 0;
  pointer-events: none;
}
.location .wrap { position: relative; z-index: 1; }

.location__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 3rem);
  align-items: center;
}

.map {
  aspect-ratio: 4 / 3;
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eaeaea;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hours dl {
  margin: 0;
  text-align: center;
}
.hours dt {
  font-weight: 700;
  font-size: 1.125rem;
}
.hours dd {
  margin: .15rem 0 1rem;
  color: #3a3a3a;
}
.hours dd:last-child { margin-bottom: 0; }
.hours .is-closed { color: var(--pole-red); font-weight: 600; }

.location__address {
  display: grid;
  gap: .4rem;
  justify-items: center;
  margin-top: clamp(2rem, 6vw, 3rem);
  font-style: normal;
  text-align: center;
}
.location__address strong { font-size: 1.125rem; }
.location__address a {
  padding: .6rem .25rem;          /* keeps these links a full tap target */
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.location__phone {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ------------------------------------------------------------- footer --- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(2.5rem, 7vw, 3.5rem) 1.5rem;
}

.footer__inner {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

.footer__brand img { width: auto; height: 76px; margin-inline: auto; }
.footer__handle {
  margin-top: .6rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .7);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
}
.footer__nav a {
  padding: .6rem .25rem;
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
}
.footer__nav a:hover { color: var(--paper); }

.footer__social { display: flex; gap: .75rem; }

.footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem;
  text-align: center;
  color: rgba(255, 255, 255, .6);
}

/* ==========================================================================
   480px and up — two-up service cards
   ========================================================================== */
@media (min-width: 480px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .btn-pair .btn { flex: 0 1 12rem; }
}

/* ==========================================================================
   768px and up — desktop nav, side-by-side stylist
   ========================================================================== */
@media (min-width: 768px) {
  :root { --header-h: 76px; }

  .nav--desktop {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.75rem);
    margin-right: 1.5rem;
  }
  .nav--desktop a { padding: .5rem .25rem; }

  .nav--mobile,
  .burger { display: none; }

  .header__logo img { height: 52px; }

  .stylist {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    align-items: center;
  }
  .stylist__photo { margin-inline: 0; }

  .location__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hours dl { text-align: left; }

  .footer__inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
  }
  .footer__brand { justify-self: start; text-align: left; }
  .footer__brand img { margin-inline: 0; }
  .footer__social { justify-self: end; }

  .services__more { justify-content: flex-end; }
}

/* ==========================================================================
   1024px and up — three-up cards, split hero, pin watermark
   ========================================================================== */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }

  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }
  .hero__brand .btn-pair,
  .wordmark { justify-content: flex-start; }
  .hero__aside { justify-items: end; text-align: right; }
  .hero__address { justify-items: end; }

  .location__watermark { display: block; }
  .location__grid { gap: 4rem; }
}
