/* Ivory Lane — public site */
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 16px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246, 248, 249, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.home .site-head { background: rgba(246, 248, 249, .82); }
.head-row { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--display); font-weight: 750; font-size: 1.2rem; letter-spacing: -.03em; }
.brand svg { width: 26px; height: 26px; fill: var(--gum); }
.brand em { font-style: normal; font-weight: 500; color: var(--steel); }
.site-nav { display: flex; gap: 1.6rem; margin-right: auto; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.nav-staff { color: var(--steel); border-left: 1px solid var(--porcelain); padding-left: 1.6rem; }
.head-cta { display: flex; align-items: center; gap: 1rem; }
.open-state { font-size: .85rem; color: var(--steel); display: inline-flex; align-items: center; gap: .4rem; }
.open-state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--steel-2); }
.open-state.is-open::before { background: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--porcelain); border-radius: 50%; background: var(--white); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; }
.hero-arch { position: absolute; right: -60px; top: 40px; width: 760px; fill: none; stroke: var(--porcelain); stroke-width: 2; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 750; letter-spacing: -.045em; line-height: .98; max-width: 9.5em; }
.hero .lead { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions.center { justify-content: center; }
.hero-facts { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; border-top: 1px solid var(--porcelain); padding-top: 1.4rem; }
.hero-facts li { font-size: .9rem; color: var(--steel); }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); font-weight: 650; }

.openings { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.6rem; border: 1px solid var(--porcelain); }
.openings-head h2 { font-size: 1.35rem; }
.openings-head p { color: var(--steel); font-size: .9rem; margin-top: .3rem; }
.openings-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.openings-list li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; padding: 1rem 0; border-top: 1px solid var(--porcelain-2); align-items: center; }
.openings-who strong { display: block; font-size: .98rem; }
.openings-who span { font-size: .82rem; color: var(--steel); }
.openings-when { grid-column: 2; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .35rem; }
.openings-day { font-size: .8rem; font-weight: 700; color: var(--sage); min-width: 4.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { font-size: .82rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; background: var(--sage-soft); color: #22614f; text-decoration: none; border: 1px solid transparent; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--sage); background: #fff; }
.openings-empty { padding: 1rem 0; color: var(--steel); }
.openings-more { display: inline-block; margin-top: .6rem; font-weight: 600; font-size: .9rem; color: var(--gum); }


/* Bands */
.band { padding: 5.5rem 0; }
.band-white { background: var(--white); border-block: 1px solid var(--porcelain); }
.sec-head { max-width: 40rem; margin-bottom: 2.8rem; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.035em; }
.sec-head p { margin-top: .8rem; color: var(--steel); font-size: 1.05rem; }

/* Treatment menu */
.menu { display: grid; gap: 2.8rem; }
.menu-group { display: grid; grid-template-columns: 16rem 1fr; gap: 2rem; }
.menu-group h3 { font-size: 1.15rem; padding-top: 1rem; position: sticky; top: 90px; align-self: start; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-item { display: grid; grid-template-columns: 1fr 5.5rem 8rem 6rem; gap: 1.2rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--porcelain); }
.menu-item strong { font-weight: 650; }
.menu-item p { color: var(--steel); font-size: .9rem; margin-top: .15rem; }
.menu-time { color: var(--steel); font-size: .88rem; }
.menu-price { font-weight: 700; text-align: right; }
.menu-book { justify-self: end; font-weight: 600; font-size: .88rem; color: var(--gum); text-decoration: none; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--gum-soft); }
.menu-book:hover { background: var(--gum-soft); }
.menu-book.is-off { color: var(--steel-2); border-color: transparent; font-weight: 500; font-size: .8rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.doc { --c: var(--ink); padding: 1.5rem; border-radius: var(--r-lg); background: var(--enamel); border: 1px solid var(--porcelain); display: flex; flex-direction: column; gap: .8rem; position: relative; overflow: hidden; }
.doc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.doc-top { display: flex; gap: .9rem; align-items: center; }
.doc h3 { font-size: 1.12rem; }
.doc-quals { font-size: .78rem; color: var(--steel); margin-top: .2rem; }
.doc-spec { font-weight: 650; color: var(--c); font-size: .92rem; }
.doc-bio { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.doc-week { display: flex; gap: .3rem; }
.doc-week span { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; padding: .3rem 0; border-radius: 5px; background: var(--porcelain-2); color: var(--steel-2); }
.doc-week span.on { background: color-mix(in srgb, var(--c) 16%, white); color: var(--c); }
.doc-book { font-weight: 600; font-size: .9rem; color: var(--ink); }

/* First visit */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--porcelain); }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
  font-family: var(--display); font-weight: 750; margin-bottom: 1.1rem; position: relative; }
.steps li:last-child::before { background: var(--ink); color: #fff; }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { color: var(--steel); font-size: .93rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq details { border-top: 1px solid var(--porcelain); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--porcelain); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--gum); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .6rem; color: var(--ink-soft); max-width: 40em; }

/* Visit */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.visit h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.035em; }
.visit-addr { font-family: var(--display); font-size: 1.5rem; font-weight: 500; margin: 1rem 0 .8rem; line-height: 1.3; }
.visit-hours { background: var(--white); border: 1px solid var(--porcelain); border-radius: var(--r-lg); padding: 1.6rem; }
.visit-hours h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.hours { margin: 0; display: grid; gap: .3rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.hours dt { color: var(--steel); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-lg div { padding: .45rem 0; border-top: 1px solid var(--porcelain-2); font-size: .95rem; }
.hours-lg .is-today { font-weight: 700; }
.hours-lg .is-today dt { color: var(--ink); }
.hours-lg .is-today dt::after { content: " · today"; color: var(--gum); font-weight: 600; }

/* Footer */
.site-foot { background: var(--ink); color: #c9d3de; padding: 4rem 0 1.5rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h4 { font-family: var(--body); font-size: .85rem; color: #fff; margin-bottom: .8rem; letter-spacing: 0; }
.brand-foot { color: #fff; }
.brand-foot em { color: #91a0b2; }
.foot-note { margin-top: .8rem; font-size: .9rem; }
.site-foot .hours dt { color: #91a0b2; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .92rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #2c3d56; font-size: .8rem; color: #91a0b2; }

/* Booking */
.book-head { padding: 3rem 0 1.5rem; }
.book-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -.04em; }
.book-head p { color: var(--steel); margin-top: .6rem; max-width: 38rem; }
.book { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; padding-bottom: 5rem; }
.book-steps { display: grid; gap: 1.25rem; min-width: 0; }
.step { border: 1px solid var(--porcelain); background: var(--white); border-radius: var(--r-lg); padding: 1.5rem; margin: 0; min-width: 0; transition: opacity .2s; }
.step[disabled] { opacity: .45; }
.step legend { float: left; width: 100%; font-family: var(--display); font-weight: 650; font-size: 1.25rem; letter-spacing: -.02em; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; padding: 0; }
.step legend + * { clear: both; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; }
.opt-group + .opt-group { margin-top: 1.1rem; }
.opt-group h3 { font-family: var(--body); font-size: .82rem; font-weight: 600; color: var(--steel); margin-bottom: .5rem; letter-spacing: 0; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-body { display: flex; flex-direction: column; gap: .1rem; padding: .75rem .95rem; border: 1.5px solid var(--porcelain); border-radius: var(--r); transition: border-color .15s, background .15s; height: 100%; }
.opt-body strong { font-weight: 600; font-size: .95rem; }
.opt-meta { font-size: .8rem; color: var(--steel); display: block; }
.opt:hover .opt-body { border-color: #c7d1da; }
.opt input:checked + .opt-body { border-color: var(--ink); background: var(--porcelain-2); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + .opt-body { box-shadow: var(--focus); }
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.opt-doc .opt-body { flex-direction: row; align-items: center; gap: .8rem; }
.mono-any { background: var(--porcelain-2); box-shadow: none; }
.mono-any svg { width: 24px; height: 24px; fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; }

.days-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: stretch; }
.days-nav { border: 1px solid var(--porcelain); background: var(--white); border-radius: var(--r); width: 36px; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.days-nav:disabled { opacity: .35; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; min-height: 96px; }
.days-loading { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--steel); font-size: .9rem; }
.day { display: flex; flex-direction: column; align-items: center; padding: .55rem .2rem; border: 1.5px solid var(--porcelain); border-radius: var(--r); background: var(--white); cursor: pointer; line-height: 1.15; }
.day:hover:not(:disabled) { border-color: #c7d1da; }
.day-dow { font-size: .75rem; color: var(--steel); font-weight: 600; }
.day-n { font-family: var(--display); font-size: 1.45rem; font-weight: 650; }
.day-m { font-size: .72rem; color: var(--steel); }
.day-free { font-size: .68rem; font-weight: 700; color: var(--sage); margin-top: .3rem; }
.day.is-sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.is-sel .day-dow, .day.is-sel .day-m { color: #b8c4d1; }
.day.is-sel .day-free { color: #9fdcc8; }
.day.is-full { opacity: .45; cursor: not-allowed; }
.day.is-full .day-free { color: var(--steel); }
.slots { margin-top: 1.2rem; min-height: 60px; }
.slots-hint { color: var(--steel); font-size: .92rem; padding: .8rem 0; }
.slot-group + .slot-group { margin-top: 1rem; }
.slot-group h4 { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--steel); margin-bottom: .45rem; letter-spacing: 0; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .4rem; }
.slot { padding: .55rem .3rem; border: 1.5px solid var(--porcelain); border-radius: var(--r-sm); background: var(--white); cursor: pointer; font-weight: 650; font-variant-numeric: tabular-nums; }
.slot small { font-weight: 500; color: var(--steel); margin-left: .2rem; font-size: .75rem; }
.slot:hover { border-color: var(--sage); background: var(--sage-soft); }
.slot.is-sel { background: var(--sage); border-color: var(--sage); color: #fff; }
.slot.is-sel small { color: #d9f1e9; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }

.summary { position: sticky; top: 92px; }
.summary-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 1.6rem; }
.summary-card h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.summary-card dl { margin: 0 0 1.4rem; display: grid; gap: .1rem; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #2c3d56; font-size: .92rem; }
.summary-card dt { color: #91a0b2; }
.summary-card dd { margin: 0; text-align: right; font-weight: 600; }
.summary-card dd.is-empty { color: #6f8197; font-weight: 400; }
.summary-go { width: 100%; }
.summary-go:disabled { background: #3a4b63; opacity: 1; color: #8796a9; }
.summary-note { font-size: .8rem; color: #91a0b2; margin-top: .8rem; text-align: center; }

/* Done / manage */
.done, .manage { padding: 4rem 0 5rem; text-align: center; }
.manage { text-align: left; }
.done h1, .manage h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -.04em; }
.done .lead { margin: 1rem auto 0; }
.manage .lead { margin-top: .8rem; }
.done-mark svg { width: 64px; height: 64px; margin: 0 auto 1.5rem; fill: var(--sage-soft); stroke: var(--sage); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket { display: grid; grid-template-columns: 170px 1fr; margin: 2.2rem 0; background: var(--white); border: 1px solid var(--porcelain); border-radius: var(--r-lg); overflow: hidden; text-align: left; box-shadow: var(--shadow); }
.ticket-when { background: var(--ink); color: #fff; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; position: relative; }
.ticket-when::after { content: ""; position: absolute; right: -1px; top: 12px; bottom: 12px; border-right: 2px dashed var(--enamel); }
.ticket-day { font-size: .85rem; color: #b8c4d1; font-weight: 600; }
.ticket-date { font-family: var(--display); font-size: 3.2rem; font-weight: 750; line-height: 1; }
.ticket-month { font-size: .9rem; color: #b8c4d1; }
.ticket-time { margin-top: .7rem; font-weight: 700; background: var(--gum); padding: .2rem .7rem; border-radius: 999px; font-size: .9rem; }
.ticket-body { margin: 0; padding: 1.2rem 1.6rem; display: grid; }
.ticket-body div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--porcelain-2); font-size: .95rem; align-items: center; }
.ticket-body div:last-child { border-bottom: 0; }
.ticket-body dt { color: var(--steel); }
.ticket-body dd { margin: 0; font-weight: 600; text-align: right; }
.ticket-ref { font-family: var(--display); letter-spacing: .04em; font-size: 1.05rem; }
.done-tips { text-align: left; margin-top: 3rem; padding: 1.6rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--porcelain); }
.done-tips h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.done-tips ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); display: grid; gap: .35rem; }
.manage-form { display: grid; gap: 1rem; max-width: 420px; margin-top: 2rem; }
.input-ref { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.manage-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.manage .flash { margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 1.1rem; }
  .open-state { display: none; }
}
@media (max-width: 900px) {
  .head-row { gap: 1rem; height: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--porcelain); padding: .5rem 16px 1rem; box-shadow: var(--shadow); }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--porcelain-2); }
  .site-nav a.nav-staff { border-left: 0; padding-left: 0; }
  .head-cta { margin-left: auto; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-arch { width: 520px; right: -180px; top: 10px; opacity: .7; }
  .hero-grid, .visit, .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .menu-group { grid-template-columns: 1fr; gap: .3rem; }
  .menu-group h3 { position: static; padding-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 1fr; }
  .summary { position: static; order: 2; }
  .band { padding: 4rem 0; }
}
@media (max-width: 600px) {
  .head-cta .btn { padding: .55rem .9rem; font-size: .88rem; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .site-head .brand em { display: none; }
  .hero-facts { grid-template-columns: 1fr; gap: .7rem; }
  .menu-item { grid-template-columns: 1fr auto; gap: .2rem 1rem; }
  .menu-time { grid-column: 1; grid-row: 2; }
  .menu-price { grid-column: 2; grid-row: 1; }
  .menu-book { grid-column: 2; grid-row: 2; }
  .team, .steps, .opts, .docs, .grid-2, .foot-grid { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(7, minmax(40px, 1fr)); gap: .25rem; }
  .day-n { font-size: 1.15rem; }
  .day-free { font-size: .6rem; }
  .days-nav { width: 28px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-when { flex-direction: row; gap: .6rem; padding: 1rem; }
  .ticket-date { font-size: 2rem; }
  .ticket-time { margin-top: 0; margin-left: auto; }
  .ticket-when::after { display: none; }
  .step { padding: 1.1rem; }
}
