@font-face {
  font-family: "Bardolatry";
  src: url("/assets/fonts/bardolatry-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --red: #e00000;
  --deep-red: #8e1712;
  --desktop-header: 132px;
  --mobile-header: 271px;
}

* { box-sizing: border-box; }
html { background: var(--black); color-scheme: dark; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: "Bardolatry", Georgia, serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--desktop-header);
  background: var(--black);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 32px 0;
}
.city-line,
.desktop-nav {
  white-space: nowrap;
  font-size: clamp(17px, 1.25vw, 23px);
  line-height: 1;
  letter-spacing: .015em;
}
.desktop-nav { display: flex; gap: 22px; }
.desktop-nav a,
.city-line a { transition: opacity .18s ease; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.city-line a:hover,
.city-line a:focus-visible { opacity: .68; }
.desktop-nav a[aria-current="page"] { color: #f2f2f2; }

.mobile-menu-button {
  display: none;
  position: absolute;
  top: 81px;
  left: 50%;
  width: 48px;
  height: 42px;
  padding: 0;
  transform: translateX(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.mobile-menu-button span {
  position: absolute;
  left: 1px;
  width: 46px;
  height: 4px;
  background: var(--white);
  border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.mobile-menu-button span:nth-child(1) { top: 2px; }
.mobile-menu-button span:nth-child(2) { top: 19px; }
.mobile-menu-button span:nth-child(3) { top: 36px; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  z-index: 45;
  inset: 0;
  background: rgba(0,0,0,.98);
  padding-top: 174px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a {
  display: block;
  width: max-content;
  margin: 0 auto 27px;
  font-size: 43px;
  line-height: 1.08;
}
body.menu-open { overflow: hidden; }

/* Home */
.home-page { min-height: 100svh; overflow: hidden; }
.home-main { position: relative; min-height: 100svh; }
.home-logo {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(66vw, 780px);
  height: auto;
  transform: translate(-50%, -50%);
  display: block;
}

/* Looks */
.looks-page { height: 100svh; overflow: hidden; }
.looks-main {
  height: 100svh;
  padding-top: var(--desktop-header);
  background: var(--black);
}
.carousel {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--desktop-header));
  overflow: hidden;
}
.carousel-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: 21vw;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  touch-action: pan-x;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-slide {
  flex: 0 0 58vw;
  height: 100%;
  scroll-snap-align: center;
  overflow: hidden;
  background: #050505;
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-slide:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

/* Contact */
.contact-page { min-height: 100svh; }
.contact-main {
  min-height: 100svh;
  padding: calc(var(--desktop-header) + 37px) 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-title {
  margin: 0 0 22px;
  font-weight: 400;
  font-size: clamp(36px, 2.65vw, 52px);
  line-height: 1;
}
.contact-form {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}
.field { position: relative; margin-top: 13px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.88);
  border-radius: 0;
  padding: 5px 0 7px;
  background: transparent;
  color: var(--white);
  outline: 0;
  font-family: Arial, sans-serif;
  font-size: 17px;
}
.field textarea { min-height: 79px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--red); }
.stylist-block {
  grid-column: 1 / -1;
  margin-top: 16px;
}
.stylist-label { margin-bottom: 10px; font-size: 18px; }
.choice-row { display: flex; gap: 18px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  cursor: pointer;
}
.choice input {
  appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1px solid var(--white);
  border-radius: 3px;
  background: transparent;
}
.choice input:checked { background: var(--red); box-shadow: inset 0 0 0 3px var(--black); }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 22px;
  margin-top: 10px;
}
.submit-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}
.submit-button:hover,
.submit-button:focus-visible { color: var(--red); }
.submit-button[disabled] { opacity: .5; cursor: wait; }
.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--deep-red);
  font-size: 19px;
  line-height: 1;
}
.form-status.is-error { color: #e34b45; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.contact-footer {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.footer-crest { width: 96px; height: 96px; object-fit: contain; }
.instagram-link { display: block; width: 30px; height: 30px; }
.instagram-link img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 760px) {
  :root { --mobile-header: 271px; }
  .site-header {
    height: var(--mobile-header);
    padding: 9px 0 0;
    justify-content: center;
  }
  .city-line {
    width: 100%;
    padding: 0 25px;
    text-align: center;
    font-size: clamp(17px, 3.7vw, 24px);
    line-height: 1.05;
  }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: block; }
  .mobile-nav { display: block; }

  .home-logo {
    top: 63.5%;
    width: min(91vw, 590px);
  }

  .looks-main { padding-top: var(--mobile-header); }
  .carousel { height: calc(100svh - var(--mobile-header)); }
  .carousel-track { padding: 0; }
  .carousel-slide { flex-basis: 100vw; }
  .carousel-slide img { object-fit: cover; }

  .contact-main {
    min-height: 100svh;
    padding: calc(var(--mobile-header) + 59px) 61px 70px;
    align-items: stretch;
  }
  .contact-title {
    margin-bottom: 58px;
    font-size: clamp(42px, 8.4vw, 57px);
    line-height: 1.03;
    white-space: nowrap;
  }
  .contact-form { width: 100%; display: block; }
  .field { margin: 0 0 21px; }
  .field label { margin-bottom: 18px; font-size: 27px; }
  .field input,
  .field textarea { padding-bottom: 11px; font-size: 19px; }
  .field textarea { min-height: 137px; }
  .stylist-block { margin-top: 10px; }
  .stylist-label { margin-bottom: 18px; font-size: 27px; }
  .choice-row { gap: 31px; }
  .choice { gap: 11px; font-size: 24px; }
  .choice input { width: 24px; height: 24px; border-radius: 4px; }
  .form-actions {
    display: block;
    margin-top: 38px;
    text-align: right;
  }
  .submit-button { font-size: 29px; }
  .form-status { margin-top: 26px; font-size: 26px; }
  .contact-footer { margin-top: 96px; gap: 44px; }
  .footer-crest { width: 112px; height: 112px; }
  .instagram-link { width: 37px; height: 37px; }
}

@media (max-width: 520px) {
  .city-line { padding-inline: 10px; font-size: clamp(14px, 3.75vw, 19px); }
  .mobile-menu-button { top: 77px; transform: translateX(-50%) scale(.82); }
  .contact-main { padding-inline: 32px; }
  .contact-title { font-size: 10.2vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
