@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Tenor Sans";
  src: url("/assets/fonts/tenor-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-light-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-light-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #11100f;
  --cream: #f4efe6;
  --gold: #dbb877;
  --muted: #c7bdb0;
  --line: #3d352c;
  --body-font: "Instrument Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  --heading-font: "Tenor Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  --accent-font: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --quote-font: "Josefin Sans", var(--body-font);
  font-family: var(--body-font);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--cream); }
a { color: inherit; }
a:focus-visible { outline: 2px solid #bb8844; outline-offset: 5px; }
.shell { width: min(100% - 64px, 1320px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.home-masthead { position: sticky; top: 0; z-index: 2; background: var(--ink); }
.home-masthead .button { min-width: 0; min-height: 46px; }
.home-masthead .button-gold, .hero .button-gold, .closing .button-gold {
  background: linear-gradient(115deg, #c8a264, #ecd09b 58%, #d9b675);
  border-color: #edce93;
}
.home-masthead .button-gold:hover, .hero .button-gold:hover, .closing .button-gold:hover {
  background: #f0d29b;
}
.masthead-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.masthead-inner { min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { object-fit: contain; filter: grayscale(1) invert(1) contrast(1.2); }
.brand span { font: 400 1.28rem var(--heading-font); letter-spacing: 0.01em; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 35px); }
.nav-link { text-decoration: none; color: var(--muted); }
.nav-link[aria-current="page"] { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.nav-link:hover, footer a:hover { color: var(--gold); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.button-outline { color: var(--gold); border-color: #987d55; }
.button-outline:hover { background: #30271d; }
.button-gold { color: #1c160e; background: var(--gold); min-height: 54px; min-width: 154px; }
.button-gold:hover { background: #ebca8f; }
.hero { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 6rem); }
.hero-copy { align-self: center; text-align: center; }
.copy-panel {
  padding: clamp(1.15rem, 2.7vw, 2.3rem);
  border: 1px solid #8b704a;
  background: linear-gradient(145deg, #1e1812, #151310 68%);
}
.eyebrow { margin: 0 0 1.25rem; color: var(--gold); font: 400 0.76rem/1.45 var(--heading-font); text-transform: uppercase; letter-spacing: 0.26em; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: 400; letter-spacing: 0.015em; }
.hero h1 { font: 400 clamp(2.1rem, 3.1vw, 3.45rem)/1.16 var(--heading-font); margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
.hero h1 em {
  display: block;
  margin-top: 0.1em;
  color: var(--gold);
  font: italic 300 1.22em/0.97 var(--accent-font);
  letter-spacing: 0;
}
.intro { max-width: 36ch; color: var(--muted); line-height: 1.65; margin: 1.5rem auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.15rem; }
.hero-actions .text-link { color: var(--gold); }
.booking-status {
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 3;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.5;
}
.hair-gallery {
  position: relative;
  isolation: isolate;
  align-self: center;
  width: 100%;
  aspect-ratio: 1.13;
}
.hair-gallery::before {
  content: "";
  position: absolute;
  inset: 0 8% 0 15%;
  border: 1px solid #735c3b;
}
.hair-gallery img {
  position: absolute;
  display: block;
  object-fit: cover;
  background: #191612;
  border: 1px solid #5a4934;
  box-shadow: 0 14px 32px #0006;
}
.hair-gallery .gallery-feature { inset: 6% auto auto 0; width: 61%; height: 89%; object-position: 50% 41%; }
.hair-gallery .gallery-detail { inset: 1% 0 auto auto; width: 43%; height: 47%; object-position: 48% 58%; }
.hair-gallery .gallery-portrait { inset: auto 3% 1% auto; width: 43%; height: 49%; object-position: 59% 48%; }
#services, #visit { scroll-margin-top: 82px; }
.services, .products, .visit, .policy { color-scheme: light; background: var(--cream); color: var(--ink); }
.services-inner, .experience, .products-inner, .client-work, .closing { padding-block: clamp(2.75rem, 7vw, 6rem); }
.home-masthead + main h2 { font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1.15; margin: 0; }
.salon-intro, .closing { text-align: center; }
.salon-intro { border-top: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.salon-intro #salon-intro-title {
  margin-inline: auto;
  max-width: 31ch;
  font-size: clamp(1.35rem, 3.1vw, 3.05rem);
  line-height: 1.22;
  letter-spacing: 0.055em;
  text-wrap: balance;
}
.salon-intro p, .closing p { color: var(--muted); max-width: 54ch; margin: 1.15rem auto 1.3rem; line-height: 1.65; }
.salon-intro a { color: var(--gold); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); margin-top: 2rem; }
.service-grid article { display: flex; flex-direction: column; min-width: 0; }
.service-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #e8e0d4;
  margin-bottom: 1.15rem;
}
.service-grid h3 { margin: 0; font-size: clamp(1.2rem, 1.85vw, 1.65rem); line-height: 1.2; letter-spacing: 0.025em; }
.full-menu-link { display: inline-block; margin-top: 1.75rem; }
.service-copy {
  flex: 1;
  padding: clamp(1rem, 2.15vw, 1.65rem);
  border: 1px solid #bd9d71;
  background: #fbf6ec;
}
.service-grid p, .experience p { margin: 0.75rem 0 0; line-height: 1.65; }
.service-grid p { color: #50463c; }
.client-work { border-bottom: 1px solid var(--line); }
.client-work blockquote { margin: 1rem 0 1.8rem; max-width: 610px; color: var(--gold); }
.client-work blockquote p { margin: 0; font: italic 300 clamp(1.2rem, 2.05vw, 1.65rem)/1.5 var(--quote-font); }
.work-grid, .studio-gallery { display: grid; gap: clamp(5px, 1vw, 14px); }
.work-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.work-grid img, .studio-gallery img, .product-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-grid img { aspect-ratio: 0.78; }
.work-grid img:nth-child(even) { margin-top: clamp(8px, 2vw, 26px); }
.work-grid { padding-bottom: clamp(8px, 2vw, 26px); }
.experience { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.experience-copy p { color: var(--muted); margin-bottom: 1.25rem; max-width: 40ch; }
.experience-copy .text-link { color: var(--gold); }
.experience-links, .footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1.25rem; }
.footer-links { justify-content: flex-end; }
.studio-composition { position: relative; isolation: isolate; padding: 0 10% 9% 0; }
.studio-visual { position: relative; aspect-ratio: 1.5; overflow: hidden; background: #191612; }
.studio-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 42%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border: 1px solid #9c7c4e;
  box-shadow: 0 12px 30px #0009;
}
.studio-visual img { display: block; }
.studio-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 59% 50%; z-index: 1; }
.studio-photo[hidden] { display: none; }
.visual-fallback { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(78%, 400px); height: auto; }
.products-inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); max-width: 1060px; }
.products-copy {
  width: min(100%, 720px);
  justify-self: center;
  padding: clamp(1.3rem, 3vw, 2.75rem);
  border: 1px solid #bd9d71;
  background: #fbf6ec;
  text-align: center;
}
.products p { max-width: 49ch; line-height: 1.65; color: #50463c; margin: 1.2rem auto 1.4rem; }
.product-brands { display: flex; justify-content: center; align-items: center; gap: clamp(6px, 1vw, 12px); padding: 0; margin: 0; list-style: none; }
.product-brands li { display: grid; place-items: center; width: min(30%, 108px); height: 72px; padding: 9px; background: #fff; }
.product-brands img { display: block; width: 100%; height: 54px; object-fit: contain; }
.product-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1vw, 14px); }
.product-photos img { aspect-ratio: 1.1; }
.studio-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: clamp(2.75rem, 6vw, 5rem); }
.studio-gallery img { aspect-ratio: 1.4; }
.visit-inner { min-height: 230px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding-block: 2.75rem; }
.visit .eyebrow { color: #755634; margin-bottom: 0.7rem; }
.visit h2 { font-size: clamp(2.75rem, 5vw, 5rem); margin: 0; line-height: 1; }
address { font-style: normal; line-height: 1.6; margin-bottom: 0.7rem; }
.text-link { text-underline-offset: 4px; }
.footer-inner { min-height: 84px; color: var(--muted); font-size: 0.9rem; }
.footer-inner a { text-underline-offset: 4px; }
.policy { padding: clamp(3rem, 7vw, 6rem) 1.5rem; }
.policy-copy { max-width: 680px; margin-inline: auto; }
.policy h1 { font-size: clamp(2.25rem, 5vw, 4.35rem); line-height: 1.1; margin: 0 0 2rem; }
.policy p { line-height: 1.7; margin: 0 0 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .home-masthead .button, .hero .button, .closing .button, .home-masthead .nav-link {
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  }
  .home-masthead .button:hover, .hero .button:hover, .closing .button:hover {
    box-shadow: 0 0 22px #d9b67535;
  }
  .hero-copy { animation: lux-enter 850ms cubic-bezier(.2, .7, .2, 1) both; }
  .hair-gallery img { animation: lux-enter 950ms cubic-bezier(.2, .7, .2, 1) var(--enter-delay, 0ms) both; }
  .gallery-detail { --enter-x: 12px; --enter-y: -12px; --enter-delay: 90ms; }
  .gallery-portrait { --enter-x: 12px; --enter-delay: 175ms; }
  [data-reveal].is-revealed { animation: lux-enter 780ms cubic-bezier(.2, .7, .2, 1) var(--enter-delay, 0ms) both; }
  [data-reveal="left"] { --enter-x: -10px; --enter-y: 14px; }
  [data-reveal="right"] { --enter-x: 10px; --enter-y: 14px; }
  .service-grid article:nth-child(2) { --enter-delay: 80ms; }
  .service-grid article:nth-child(3) { --enter-delay: 160ms; }
  @keyframes lux-enter {
    from { opacity: 0.12; transform: translate(var(--enter-x, 0), var(--enter-y, 24px)); }
    to { opacity: 1; transform: translate(0, 0); }
  }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 38px, 1320px); }
  .hero, .experience { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { width: min(100%, 38rem); justify-self: center; }
  .hero h1 { font-size: clamp(1.95rem, 5.8vw, 2.85rem); }
  .hair-gallery { aspect-ratio: 1.22; }
  .visit-inner { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 540px) {
  .home-masthead .nav-link:not(.nav-about):not(.nav-services) { display: none; }
  .masthead .nav-about, .masthead .nav-services { font-size: 0.85rem; white-space: nowrap; }
  .masthead-inner { min-height: 66px; }
  #services, #visit { scroll-margin-top: 68px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid img { aspect-ratio: auto; height: auto; }
  .work-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .work-grid img { grid-column: span 2; }
  .work-grid img:nth-child(even) { margin-top: 0; }
  .work-grid img:nth-child(n + 4) { grid-column: span 3; aspect-ratio: 1; }
  .studio-gallery img { aspect-ratio: 1.15; }
}
@media (max-width: 400px) {
  .brand span { font-size: 1.15rem; }
  .brand { gap: 7px; }
  .button-outline { padding-inline: 0.8rem; }
}
@media (max-width: 440px) {
  .home-masthead .nav-about { display: none; }
  .masthead-inner { gap: 0.65rem; }
  .masthead nav { gap: 0.75rem; }
  .home-masthead .button { padding-inline: 0.85rem; }
}
