:root {
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --navbar-bg: #2c1228;
  --navbar-text: #f3e6c8;
  --button-bg: #c4a35a;
  --button-text: #1c1412;
  --body-bg: #f6f1ea;
  --body-text: #2a2320;
  --footer-bg: #2c1228;
  --footer-text: #f3e6c8;
  --line: color-mix(in srgb, var(--body-text) 16%, transparent);
  --muted: color-mix(in srgb, var(--body-text) 72%, transparent);
  --page-gutter: 1.5cm;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--body-text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

img, video { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p { margin: 0 0 0.8rem; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--button-bg);
  color: var(--button-text);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--button-bg);
  outline-offset: 3px;
}

::selection {
  background: var(--button-bg);
  color: var(--button-text);
}

.site-header {
  background: var(--navbar-bg);
  color: var(--navbar-text);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto;
  min-height: 4.5rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid color-mix(in srgb, var(--navbar-text) 45%, transparent);
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--navbar-text);
  outline-offset: 3px;
}

.ticker {
  background: var(--navbar-bg);
  color: var(--navbar-text);
  border-top: 1px solid color-mix(in srgb, var(--navbar-text) 18%, transparent);
  overflow: hidden;
  font-size: 0.95rem;
}

.ticker-empty p {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.55rem 0;
  opacity: 0.85;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
  padding: 0.6rem 0;
}

.ticker-item {
  flex: none;
  margin-right: 3rem;
  white-space: nowrap;
}

.ticker-item strong { font-weight: 650; margin-right: 0.35rem; }

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wrap { width: calc(100% - (2 * var(--page-gutter))); margin-inline: auto; }

.masthead, .page-head {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 2.75rem auto 1.75rem;
}

.masthead { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); margin: 0 0 0.8rem; }

.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 0 0 0.7rem; }

.lede { font-size: 1.15rem; max-width: 40rem; }

.studio-facts {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0.25rem auto 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 3rem;
  align-items: start;
}

.studio-facts h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.feed {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
}

.feed-item { margin: 0; }

.feed-item img,
.feed-item video {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  background: color-mix(in srgb, var(--body-text) 6%, var(--body-bg));
}

.feed-item.frame-circle,
.feed-item.frame-square,
.feed-item.frame-custom,
.feed-item.frame-trapezoid,
.feed-item.frame-octagon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feed-item.frame-circle img,
.feed-item.frame-square img {
  width: min(100%, 32rem);
  aspect-ratio: 1;
  object-fit: cover;
}

.feed-item.frame-circle img { border-radius: 50%; }

.feed-item.frame-custom img,
.feed-item.frame-trapezoid img,
.feed-item.frame-octagon img { width: min(100%, 42rem); }

.feed-item.frame-circle figcaption,
.feed-item.frame-square figcaption,
.feed-item.frame-custom figcaption,
.feed-item.frame-trapezoid figcaption,
.feed-item.frame-octagon figcaption {
  text-align: center;
  max-width: 36rem;
}

.feed-item figcaption {
  width: auto;
  margin: 0.8rem 0 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
}

.gallery {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.gallery-card {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.gallery-card .feed-item { width: 100%; margin: 0; }

.like-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin: 0.2rem 0 1.2rem;
}

.like-count,
.comment-count {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
}

.comment-fold,
.share-fold {
  margin: 0;
}

.comment-fold > summary,
.share-fold > summary {
  list-style: none;
}

.comment-fold > summary::-webkit-details-marker,
.share-fold > summary::-webkit-details-marker,
.comment-fold > summary::marker,
.share-fold > summary::marker {
  display: none;
  content: "";
}

.comment-fold[open],
.share-fold[open] {
  flex: 1 0 100%;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.share-status { margin: 0.7rem 0 0; }

.share-page { width: min(760px, calc(100% - 2rem)); margin: 0 auto 3rem; }

.comment-fold .gallery-talk {
  margin-top: 1rem;
}

.liked-note { margin: 0; font-family: var(--serif); font-style: italic; }

.gallery-talk { margin: 0 0 1.4rem; max-width: 40rem; }

.gallery-talk h2 { font-size: 1.35rem; margin: 0 0 0.45rem; }

.gallery-comments { list-style: none; padding: 0; margin: 0 0 1rem; }

.gallery-comments li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.gallery-comments p { margin: 0.2rem 0 0; }

.gallery-talk textarea {
  width: 100%;
  min-height: 5rem;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
}

.feed-empty, .empty {
  width: min(760px, calc(100% - 2rem));
  margin: 0.5rem auto 3rem;
  padding: 2rem 0 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

.sheet { width: min(800px, calc(100% - 2rem)); margin: 0 auto 3rem; }

.policy-sheet { width: min(920px, calc(100% - 2rem)); }

.policy-document {
  background: color-mix(in srgb, var(--body-bg) 55%, white);
  color: var(--body-text);
  border: 1px solid var(--line);
  border-top: 4px solid var(--button-bg);
  padding: clamp(1.35rem, 3vw, 2.5rem);
  margin: 0 0 1.75rem;
}

.policy-document h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--navbar-bg);
  margin: 1.5rem 0 0.55rem;
}

.policy-document h2:first-child { margin-top: 0; }

.policy-document p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.policy-document p:last-child { margin-bottom: 0; }

.panel { width: min(640px, calc(100% - 2rem)); margin: 0 auto 3.5rem; }

.contact-sheet { width: min(980px, calc(100% - 2rem)); margin: 0 auto 3rem; }

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.service h2 { margin: 0 0 0.45rem; font-size: 1.7rem; }

.service-meta { text-align: right; min-width: 8rem; }

.service.has-photo {
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
}

.style-thumb {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  display: block;
}

.price { font-variant-numeric: tabular-nums; font-size: 1.15rem; margin-bottom: 0.15rem; }

.salon-card {
  display: block;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.salon-card h2 { margin: 0 0 0.3rem; font-size: 2rem; }

.braid-carousel {
  position: relative;
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto 2.5rem;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--navbar-bg) 88%, black);
  overflow: hidden;
}

.braid-slide {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--navbar-text);
  text-decoration: none;
  opacity: 0;
}

.braid-slide.is-current { opacity: 1; z-index: 1; }

.braid-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.braid-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(transparent, color-mix(in srgb, var(--navbar-bg) 82%, black));
  font-family: var(--serif);
  font-size: 1.35rem;
}

.carousel-nav {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  right: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.carousel-nav button {
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 0;
  background: var(--body-bg);
  color: var(--body-text);
  font: inherit;
  cursor: pointer;
}

.home-empty,
.home-empty-copy {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto 2.5rem;
  padding: 2.5rem 1.4rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, white 40%, var(--body-bg));
  font-family: var(--serif);
  font-size: 1.35rem;
}

.home-layout {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.home-list h2,
.home-nearby h2,
.shop-reviews h2 {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
}

.shop-card {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.shop-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.8rem;
}

.shop-card h3 a { text-decoration: none; }

.shop-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.shop-standing { color: var(--muted); margin-bottom: 0; }

.home-nearby ol { margin: 0.4rem 0 1rem; padding-left: 1.2rem; }

.home-nearby li { margin: 0.45rem 0; }

.shop-reviews {
  width: calc(100% - (2 * var(--page-gutter)));
  margin: 0 auto 2.5rem;
}

.review-form fieldset {
  border: 0;
  margin: 0 0 0.8rem;
  padding: 0;
}

.review-form legend { margin-bottom: 0.4rem; }

.star-choices { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.star-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
}

.review-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }

.review-list li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}

.contact-line { margin: 0 0 1.15rem; }

.contact-line h2, .contact-line h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.missing { color: var(--muted); font-style: italic; }

.hours-list { list-style: none; padding: 0; margin: 0; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-list li span:last-child {
  text-align: right;
  white-space: nowrap;
}

.hours-list li.is-today { font-weight: 650; }

.map-frame { border: 1px solid var(--line); background: color-mix(in srgb, var(--body-text) 4%, var(--body-bg)); }

.address-map { margin-top: 0.85rem; }

a.address-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.map-embed { width: 100%; height: 320px; border: 0; display: block; }

.map-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid var(--line);
}

.button, button.button, input[type="submit"].button {
  background: var(--button-bg);
  color: var(--button-text);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button:hover { filter: brightness(0.96); }

.field { margin-bottom: 1rem; }

label { display: block; margin-bottom: 0.35rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="password"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--body-text) 28%, transparent);
  background: color-mix(in srgb, white 55%, var(--body-bg));
  color: var(--body-text);
  font: inherit;
  border-radius: 2px;
}

textarea { min-height: 8rem; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error, .flash-error { color: #8c2f2f; }

.form-errors {
  padding: 0.8rem 1rem;
  border: 1px solid color-mix(in srgb, #8c2f2f 35%, transparent);
  margin-bottom: 1rem;
}

.hint { color: var(--muted); font-size: 0.95rem; }

.flashes { width: min(760px, calc(100% - 2rem)); margin: 1rem auto 0; }

.flash {
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--button-bg) 28%, var(--body-bg));
}

.confirm dl { margin: 1.2rem 0 1.5rem; }

.confirm dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
}

.confirm dd { margin: 0.15rem 0 0; }

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 3rem;
  padding: 2.4rem 0 2.8rem;
}

.site-footer a { color: inherit; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.quiet { opacity: 0.8; font-size: 0.92rem; }

.check { display: flex; gap: 0.55rem; align-items: center; min-height: 44px; }

.check input { width: auto; min-height: 0; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    margin-left: 0;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 0.8rem;
  }
  .nav-check:checked ~ .nav-links { display: flex; }
  .service, .contact-grid, .form-row, .studio-facts, .home-layout { grid-template-columns: 1fr; }
  .braid-carousel { aspect-ratio: 4 / 5; }
  .service-meta { text-align: left; }
  body { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding-left: 1rem; padding-right: 1rem; }
  .braid-slide { transition: none; }
  .ticker-item { white-space: normal; }
  .ticker-clone { display: none; }
}
