/* Juniper Chair Salon (fictional): "editorial magazine" concept.
   ivory #f4eee3, paper #ebe2d2, ink #15130f, muted #554e47, oxblood #7a1f2b, rose (on ink) #e8bfb6
   Type: Bodoni Moda (display, italic) + Jost (text). */
:root {
  --ivory: #f4eee3; --paper: #ebe2d2; --ink: #15130f; --muted: #554e47;
  --ox: #7a1f2b; --ox-dk: #5a141e; --rose: #e8bfb6;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;
  --rail: 7.5rem;
  --pad: clamp(1rem, 4vw, 3.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: var(--ox); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
p { margin: 0 0 1em; }

/* ---------- Shell: vertical rail + content ---------- */
.jc-shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.jc-rail {
  position: sticky; top: 0; height: 100vh; height: 100dvh;
  border-right: 1px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1.75rem 0.5rem 1.5rem; gap: 1.5rem; background: var(--ivory); z-index: 5;
}
.jc-mark {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: italic 500 2.35rem/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  white-space: nowrap; padding: 0.25rem;
}
.jc-mark-b { color: var(--ox); }
.jc-menu-btn { display: none; }
.jc-nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.jc-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; width: 100%; }
.jc-nav li a {
  display: flex; flex-direction: column; align-items: center; min-height: 44px; justify-content: center;
  padding: 0.3rem 0.25rem; color: var(--ink); text-decoration: none;
  font: 500 0.78rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-align: center;
}
.jc-nav-n { font: italic 400 1.05rem/1 var(--serif); color: var(--ox); letter-spacing: 0; margin-bottom: 0.2rem; }
.jc-nav li a:hover { color: var(--ox); }
.jc-seal {
  width: 4.9rem; height: 4.9rem; border-radius: 50%; background: var(--ox); color: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
  font: italic 500 1.35rem/1 var(--serif); transition: background .2s, transform .2s;
}
.jc-seal-sm { font: 500 0.62rem/1.4 var(--sans); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; }
.jc-seal:hover { background: var(--ink); color: var(--ivory); transform: rotate(-8deg); }
.jc-rail-foot { margin: 0; font: 500 0.7rem/1.5 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: var(--muted); }

.jc-main { min-width: 0; }

/* ---------- Hero: editorial spread ---------- */
.jc-hero { padding: 0 var(--pad) 3.5rem; border-bottom: 1px solid var(--ink); overflow: hidden; overflow: clip; }
.jc-masthead {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 0 0.9rem; border-bottom: 1px solid var(--ink);
  font: 500 0.78rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.jc-spread { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; min-height: min(78vh, 46rem); padding-top: 2rem; }
.jc-issue {
  position: absolute; right: 38%; top: 0.5rem; margin: 0; z-index: 0;
  font: italic 400 clamp(8rem, 22vw, 19rem)/0.8 var(--serif); color: transparent;
  -webkit-text-stroke: 1px var(--ox); letter-spacing: -0.04em; pointer-events: none;
}
.jc-h1 {
  position: relative; z-index: 2; grid-column: 1; align-self: end; padding-bottom: 1.5rem;
  font: italic 400 clamp(3.1rem, 8.6vw, 8.4rem)/0.9 var(--serif); letter-spacing: -0.03em;
}
.jc-h1 span { display: block; }
.jc-l2 { padding-left: 0.9em; }
.jc-l3 { padding-left: 0.3em; }
.jc-h1 em { color: var(--ox); font-weight: 600; }
.jc-art { grid-column: 2; width: 100%; height: auto; max-height: 44rem; position: relative; z-index: 1; overflow: visible; }
.jc-art-cap { font: 500 13px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ivory); }

@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .jc-strands use { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: jc-draw 2.4s cubic-bezier(.6,.1,.2,1) forwards; }
  .jc-strands use:nth-child(2) { animation-delay: .08s; } .jc-strands use:nth-child(3) { animation-delay: .16s; }
  .jc-strands use:nth-child(4) { animation-delay: .24s; } .jc-strands use:nth-child(5) { animation-delay: .32s; }
  .jc-strands use:nth-child(6) { animation-delay: .4s; } .jc-strands use:nth-child(7) { animation-delay: .48s; }
  .jc-strands use:nth-child(8) { animation-delay: .56s; } .jc-strands use:nth-child(9) { animation-delay: .64s; }
  .jc-strands-b use { animation-delay: .5s; }
  @keyframes jc-draw { to { stroke-dashoffset: 0; } }
}

.jc-deck { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 2.5rem; border-top: 1px solid var(--ink); padding-top: 1.75rem; align-items: start; }
.jc-lede { font-size: 1.15rem; line-height: 1.7; max-width: 36rem; margin: 0; }
.jc-drop { float: left; font: italic 500 4.6rem/0.78 var(--serif); color: var(--ox); margin: 0.35rem 0.6rem 0 0; }
.jc-contents-t { font: 500 0.78rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem; }
.jc-contents ol { list-style: none; margin: 0; padding: 0; }
.jc-contents a {
  display: flex; justify-content: space-between; gap: 1rem; min-height: 40px; align-items: center;
  border-bottom: 1px solid #c9bfae; color: var(--ink); text-decoration: none; font: italic 400 1.15rem/1.2 var(--serif);
}
.jc-contents a:hover { color: var(--ox); }
.jc-pg { font: 500 0.75rem/1 var(--sans); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.jc-cta { text-align: right; }
.jc-cta p { margin: 0.75rem 0 0; font-size: 0.95rem; color: var(--muted); }

.jc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.7rem 1.7rem;
  background: var(--ink); color: var(--ivory); border: 1px solid var(--ink); border-radius: 0;
  font: 500 0.85rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.jc-btn:hover { background: var(--ox); border-color: var(--ox); color: var(--ivory); }
.jc-btn-light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.jc-visit .jc-btn-light { color: var(--ink); }
.jc-btn-light:hover, .jc-visit .jc-btn-light:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.jc-btn-light:focus-visible { outline-color: var(--rose); }
.jc-link { background: none; border: 0; min-height: 44px; padding: 0 0.5rem; font: 500 0.85rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.jc-link:hover { color: var(--ox); }

/* ---------- Section frame ---------- */
.jc-sec { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); border-bottom: 1px solid var(--ink); }
.jc-sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.5rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 62rem; }
.jc-folio { grid-row: span 2; margin: 0; font: italic 400 clamp(4rem, 9vw, 7rem)/0.8 var(--serif); color: var(--ox); }
.jc-sec-head h2 { font: italic 400 clamp(2.4rem, 5.5vw, 4.4rem)/1 var(--serif); letter-spacing: -0.02em; }
.jc-sec-sub { margin: 0.9rem 0 0; color: var(--muted); max-width: 40rem; }

/* ---------- Price list ---------- */
.jc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5.5rem); }
.jc-col h3 { font: 500 0.8rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); }
.jc-prices { list-style: none; margin: 0; padding: 0; }
.jc-prices li { display: flex; align-items: baseline; gap: 0.6rem; padding: 1.05rem 0; border-bottom: 1px solid #d8cfbf; }
.jc-item { font: 400 1.4rem/1.2 var(--serif); }
.jc-item small { display: block; font: 500 0.78rem/1.6 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jc-dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted #8e8476; transform: translateY(-0.4rem); align-self: center; }
.jc-amt { font: italic 500 1.4rem/1 var(--serif); color: var(--ox); white-space: nowrap; }

/* ---------- Stylists strip ---------- */
.jc-team { background: var(--paper); padding-right: 0; }
.jc-team .jc-sec-head { padding-right: var(--pad); }
.jc-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(15rem, 26vw, 19rem); gap: 1.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem var(--pad) 1.5rem 0.25rem;
  scrollbar-color: var(--ink) transparent; scrollbar-width: thin;
}
.jc-strip:focus-visible { outline-offset: -2px; }
.jc-card { scroll-snap-align: start; }
.jc-portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 1.1rem; }
.jc-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jc-p1 { background: var(--ox); color: #c98a8d; }
.jc-p2 { background: var(--ink); color: #6e655b; }
.jc-p3 { background: #d4c8b4; color: #8e8273; }
.jc-p4 { background: #3d3a33; color: #8c8478; }
.jc-mono {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%);
  font: italic 400 clamp(8rem, 14vw, 11rem)/1 var(--serif); color: var(--ivory);
}
.jc-p3 .jc-mono { color: var(--ink); }
.jc-card h3 { font: italic 400 2rem/1.1 var(--serif); }
.jc-role { font: 500 0.78rem/1.5 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ox); margin: 0.3rem 0 0.6rem; }
.jc-card p:last-child { color: var(--muted); font-size: 0.98rem; }

/* ---------- Booking stepper ---------- */
.jc-form { max-width: 62rem; }
.jc-steps { list-style: none; margin: 0 0 2.25rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.jc-steps::before { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 1.55rem; border-top: 1px solid var(--ink); }
.jc-step {
  position: relative; display: flex; align-items: center; gap: 0.8rem; background: none; border: 0; padding: 0; cursor: pointer;
  min-height: 3.1rem; color: var(--ink); font: 500 0.85rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.jc-steps li:nth-child(2) { justify-self: center; }
.jc-steps li:nth-child(3) { justify-self: end; }
.jc-step-n {
  width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1px solid var(--ink); background: var(--ivory);
  display: grid; place-items: center; font: italic 400 1.5rem/1 var(--serif); letter-spacing: 0;
}
.jc-step-l { background: var(--ivory); padding-right: 0.5rem; }
.jc-step[aria-current="step"] .jc-step-n { background: var(--ox); border-color: var(--ox); color: var(--ivory); }
.jc-step.is-done .jc-step-n { background: var(--ink); color: var(--ivory); }
.jc-step:hover .jc-step-l { color: var(--ox); }
.jc-panel { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.jc-panel legend { font: italic 400 1.9rem/1.2 var(--serif); padding: 0; margin-bottom: 1.1rem; }
.jc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; }
.jc-times { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.jc-opt {
  position: relative; display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.1rem 1rem 3rem; min-height: 4.2rem;
  border: 1px solid #b7ab98; background: #fbf8f2; cursor: pointer; transition: border-color .15s, background .15s;
}
.jc-opt input { position: absolute; left: 1.05rem; top: 1.2rem; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--ox); }
.jc-opt span { font: 400 1.2rem/1.2 var(--serif); }
.jc-opt em { font-style: normal; font-size: 0.9rem; color: var(--muted); }
.jc-opt:hover { border-color: var(--ink); }
.jc-opt:has(input:checked) { border-color: var(--ox); background: #f6e9e4; box-shadow: inset 3px 0 0 var(--ox); }
.jc-opt:has(input:focus-visible) { outline: 2px solid var(--ox); outline-offset: 2px; }
.jc-opt input:focus-visible { outline: none; }
.jc-panel-nav { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.jc-status { margin: 0; min-height: 1.5em; font: italic 400 1.15rem/1.5 var(--serif); color: var(--ox); }
html:not(.js) .jc-steps, html:not(.js) .jc-panel-nav .jc-next, html:not(.js) .jc-panel-nav .jc-prev { display: none; }

/* ---------- Visit (dark colophon) ---------- */
.jc-visit { background: var(--ink); color: var(--ivory); border-bottom: 0; overflow: hidden; }
.jc-visit .jc-folio { color: var(--rose); }
.jc-visit a { color: var(--rose); }
.jc-visit a:hover { color: var(--ivory); }
.jc-visit :focus-visible { outline-color: var(--rose); }
.jc-visit-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); }
.jc-visit h3 { font: 500 0.8rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); padding-bottom: 0.75rem; border-bottom: 1px solid #4a453e; margin-bottom: 0.5rem; }
.jc-hours { margin: 0; }
.jc-hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid #34302a; }
.jc-hours dt { font: italic 400 1.15rem/1.4 var(--serif); }
.jc-hours dd { margin: 0; white-space: nowrap; }
.jc-rules { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.jc-rules li { counter-increment: r; display: grid; grid-template-columns: 2rem 1fr; padding: 0.6rem 0; border-bottom: 1px solid #34302a; }
.jc-rules li::before { content: counter(r, lower-roman) "."; font: italic 400 1.1rem/1.5 var(--serif); color: var(--rose); }
.jc-find p { margin: 0.6rem 0 1rem; }
.jc-fine { font-size: 0.85rem; color: #bdb4a7; }
.jc-sign {
  margin: clamp(3rem, 7vw, 5rem) 0 -0.2em; font: italic 400 clamp(4rem, 15vw, 13rem)/0.8 var(--serif);
  letter-spacing: -0.04em; color: #2a2621; white-space: nowrap;
}
.jc-sign em { color: #3d1a1f; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .jc-deck { grid-template-columns: 1fr 1fr; }
  .jc-cta { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
  .jc-cta p { margin: 0; }
  .jc-visit-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone: rail becomes a top wordmark + menu button ---------- */
@media (max-width: 860px) {
  .jc-shell { display: block; }
  .jc-rail {
    position: sticky; top: 0; height: auto; flex-direction: row; flex-wrap: wrap; justify-content: space-between;
    padding: 0.55rem var(--pad); border-right: 0; border-bottom: 1px solid var(--ink); gap: 0;
  }
  .jc-mark-b { margin-left: 0.15em; }
  .jc-mark { writing-mode: horizontal-tb; transform: none; font-size: 1.75rem; display: inline-flex; align-items: center; min-height: 44px; }
  .jc-menu-btn {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.25rem 0 0.75rem;
    background: none; border: 0; cursor: pointer; color: var(--ink);
    font: 500 0.8rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  }
  .jc-burger, .jc-burger::before { display: block; width: 1.4rem; height: 1px; background: var(--ink); position: relative; transition: transform .2s; }
  .jc-burger { margin-top: -0.35rem; }
  .jc-burger::before { content: ""; position: absolute; top: 0.45rem; width: 0.95rem; }
  .jc-menu-btn[aria-expanded="true"] .jc-burger { transform: translateY(0.22rem) rotate(45deg); }
  .jc-menu-btn[aria-expanded="true"] .jc-burger::before { top: 0; width: 1.4rem; transform: rotate(-90deg); }
  .jc-nav { flex-basis: 100%; flex-direction: row; align-items: stretch; justify-content: space-between; gap: 1rem; padding: 0.75rem 0 0.5rem; }
  .js .jc-nav { display: none; }
  .js .jc-nav.is-open { display: flex; }
  .jc-nav ol { flex: 1; }
  .jc-nav li a { flex-direction: row; justify-content: flex-start; gap: 0.75rem; font-size: 0.85rem; border-bottom: 1px solid #d8cfbf; }
  .jc-nav-n { margin: 0; }
  .jc-seal { width: 5.5rem; height: 5.5rem; align-self: center; flex: none; }
  .jc-rail-foot { display: none; }

  .jc-spread { grid-template-columns: 1fr; min-height: 0; padding-top: 1.5rem; }
  .jc-issue { right: auto; left: -0.05em; top: auto; bottom: 2.5rem; font-size: clamp(6rem, 29vw, 11rem); }
  .jc-h1 { grid-row: 1; padding-bottom: 0.5rem; font-size: clamp(3rem, 13.5vw, 5.5rem); }
  .jc-art { grid-column: 1; grid-row: 2; width: 74%; justify-self: end; margin-top: 0.5rem; margin-bottom: 1rem; }
  .jc-masthead span:nth-child(3) { display: none; }
  .jc-deck { grid-template-columns: 1fr; gap: 2rem; }
  .jc-cols { grid-template-columns: 1fr; gap: 2.75rem; }
  .jc-item, .jc-amt { font-size: 1.2rem; }
  .jc-sec-head { grid-template-columns: 1fr; }
  .jc-folio { grid-row: auto; font-size: 3.5rem; margin-bottom: 0.5rem; }
  .jc-strip { grid-auto-columns: 74%; gap: 1rem; }
  .jc-steps::before { left: 1.3rem; right: 1.3rem; top: 1.3rem; }
  .jc-step { flex-direction: column; gap: 0.5rem; letter-spacing: 0.1em; font-size: 0.75rem; }
  .jc-step-n { width: 2.6rem; height: 2.6rem; font-size: 1.25rem; }
  .jc-step-l { padding: 0; }
  .jc-steps li:nth-child(2) { justify-self: center; }
  .jc-opts { grid-template-columns: 1fr; }
  .jc-times { grid-template-columns: 1fr 1fr; }
  .jc-panel-nav { justify-content: space-between; }
  .jc-panel-nav .jc-btn { flex: 1; }
  .jc-visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .jc-masthead span:nth-child(1) { flex-basis: 100%; }
  .jc-panel-nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
