/* Sundew: matches the Squarespace design (Libre Baskerville headings, PT Serif text, photo sections with dark overlays). */
:root {
  --ink: #000;
  --muted: #d9d9d9;
  --light: #f5f5f5;
  --header: 20, 42, 26;            /* deep green behind the header */
  --head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --body: "PT Serif", Georgia, "Times New Roman", serif;
  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: -0.02em; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  background: linear-gradient(to bottom, rgba(var(--header), .96) 0%, rgba(var(--header), .75) 45%, rgba(var(--header), 0) 100%);
  padding: 1.6rem var(--pad) 2.6rem; }
.site-header .bar { display: flex; align-items: center; gap: 2rem; max-width: var(--max); margin-inline: auto; }
.logo { font-family: var(--head); font-size: 1.4rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.btn { display: inline-block; font-family: var(--body); font-size: 1rem; line-height: 1.2; padding: 1rem 1.3rem; border: 1px solid currentColor; background: transparent; color: inherit; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s; }
.btn:hover { background: #fff; color: #000; border-color: #fff; }
.on-light .btn:hover, .btn-dark:hover { background: #000; color: #fff; border-color: #000; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: .5rem; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 6px 0; }
@media (max-width: 860px) {
  .nav { display: none; }
  .site-header .book { display: none; }
  .menu-toggle { display: block; }
  .site-header.open { background: rgb(var(--header)); bottom: 0; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; top: 5.5rem; left: var(--pad); gap: 1.4rem; }
  .site-header.open .nav a { font-family: var(--head); font-size: 1.9rem; }
  .site-header.open .book { display: inline-block; position: absolute; left: var(--pad); top: calc(5.5rem + 5 * 3.5rem); }
}

/* Photo sections */
.photo { position: relative; color: #fff; background: #000 center / cover no-repeat; isolation: isolate; }
.photo::before { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--shade, .65); z-index: -1; }
.hero { min-height: min(100svh, 760px); display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 9rem var(--pad) 5rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.4rem); line-height: 1.06; max-width: 14em; margin-inline: auto; }
.hero p { margin-top: 1.6rem; font-size: clamp(1rem, 1.6vw, 1.3rem); text-transform: uppercase; }

.items { padding: clamp(6rem, 10vw, 8rem) 0 clamp(3.5rem, 6vw, 5rem); }
.items .title { font-family: var(--head); font-size: clamp(1.9rem, 3.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; text-align: center; margin-bottom: 2.4rem; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem clamp(1.5rem, 3vw, 3rem); }
.cols h2 { font-size: clamp(1.6rem, 2.8vw, 1.95rem); line-height: 1.12; margin-bottom: .5rem; }
.cols p { font-size: clamp(1.02rem, 1.4vw, 1.25rem); line-height: 1.5; }
.photo .cols h2 { color: #fff; }
.photo .cols p { color: #fff; }
.items .action { text-align: center; margin-top: 3rem; }
.single { max-width: 34rem; }
.single h2 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; color: var(--muted); margin-bottom: .9rem; }
.single p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.single p + p { margin-top: 1rem; }
.on-light { background: var(--light); color: #000; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }

/* Text sections (sub-pages) */
.text { padding: clamp(4rem, 8vw, 6rem) 0; }
.text .col { max-width: 44rem; margin-inline: auto; }
.text h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; margin-bottom: 1rem; text-align: center; }
.text h2:not(:first-child) { margin-top: 3.5rem; }
.text p { font-size: 1.15rem; }
.text p + p { margin-top: 1rem; }
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.1rem 0 1.1rem 3rem; border-top: 1px solid #000; position: relative; }
.steps li:last-child { border-bottom: 1px solid #000; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1.05rem; font-family: var(--head); font-size: 1.3rem; }

/* FAQs */
.faqs { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.faqs h2.heading { font-size: clamp(2rem, 4vw, 2.6rem); text-align: center; margin-bottom: 2.5rem; }
.faq { border-top: 1px solid #000; }
.faq:last-of-type { border-bottom: 1px solid #000; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.45rem 0; font-family: var(--head); font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.6rem; max-width: 46rem; }
.faq .answer p + p { margin-top: .8rem; }
.faq .answer ol { padding-left: 1.3rem; }
.faq .answer li + li { margin-top: .3rem; }

/* Instagram tiles */
.follow { padding: clamp(3rem, 6vw, 5rem) 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.5vw, 1.2rem); }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #eee; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.03); }
.tile.video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-35%, -50%);
  border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent rgba(255,255,255,.92); filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
@media (max-width: 600px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact */
.contact { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.contact .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; text-align: center; }
.contact .intro p { margin-top: 1.2rem; text-align: center; font-size: 1.05rem; max-width: 30rem; margin-inline: auto; }
.form { display: grid; gap: 1.4rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .98rem; }
.form [hidden] { display: none; }
.form label input, .form label select, .form label textarea { display: block; margin-top: .35rem; }
.form small { color: #555; font-size: .85rem; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: #000; background: transparent; border: 0; border-bottom: 1px solid #000; border-radius: 0; padding: .55rem 0; width: 100%; }
.form textarea { border: 1px solid #000; padding: .6rem; min-height: 6rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #000; outline-offset: 2px; }
.form .btn { justify-self: start; }
.form .status { min-height: 1.5em; font-size: .98rem; }
.form [aria-invalid="true"] { border-color: #b00020; }
@media (max-width: 760px) { .contact .grid, .form .row { grid-template-columns: 1fr; } }

/* Legal pages */
.banner { padding: 10rem var(--pad) 4rem; text-align: center; background: rgb(var(--header)); color: #fff; }
.banner h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal .col { max-width: 40rem; margin-inline: auto; font-size: 1.05rem; }
.legal h2 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; margin: 2rem 0 .6rem; }
.legal p + p, .legal ul + p { margin-top: .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .5rem; }

/* Footer */
.site-footer { padding: 3rem var(--pad) 2.5rem; text-align: center; font-size: .98rem; }
.site-footer p + p { margin-top: .9rem; }
.site-footer a { text-underline-offset: .25em; }
.site-footer .ig { display: inline-flex; margin-top: 1rem; }
.site-footer .ig svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Booking and client portal */
.app-page { padding: 9rem 0 clamp(4rem, 8vw, 6rem); }
.app-page .col { max-width: 46rem; margin-inline: auto; }
.app-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.08; margin-bottom: .6rem; }
.app-page .lead { margin-bottom: 2.4rem; }
.step-title { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.4rem 0 1rem; }
.hint { color: #555; font-size: 1rem; }
.choices { display: grid; gap: .8rem; }
.choice { text-align: left; font: inherit; background: #fff; border: 1px solid #000; padding: 1.1rem 1.2rem; cursor: pointer; display: grid; gap: .25rem; }
.choice-name { font-family: var(--head); font-size: 1.25rem; letter-spacing: -0.02em; }
.choice-meta { font-size: .95rem; }
.choice-desc { color: #555; font-size: .95rem; }
.choice.on, .day.on, .time.on { background: #000; color: #fff; }
.choice.on .choice-desc { color: #ddd; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); gap: .5rem; }
.day { font: inherit; border: 1px solid #000; background: #fff; padding: .55rem .2rem; cursor: pointer; display: grid; line-height: 1.2; font-size: .85rem; }
.day strong { font-family: var(--head); font-weight: 400; font-size: 1.35rem; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: .5rem; }
.time { font: inherit; font-size: 1rem; border: 1px solid #000; background: #fff; padding: .7rem .4rem; cursor: pointer; }
.choice:focus-visible, .day:focus-visible, .time:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.summary { border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 1rem 0; margin-bottom: 1.4rem; }
.switch { margin-top: 1rem; font-size: 1rem; }
.card-element { min-height: 3rem; padding: 0.9rem 0.8rem; border: 1px solid #000; background: #fff; }
.portal section { border-top: 1px solid #000; }
.portal section:first-child { border-top: 0; }
.appt { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid #ddd; }
.link-btn { font: inherit; font-size: 1rem; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; color: inherit; }
.app-page .form { margin-top: .5rem; }
.code-input { font-family: Menlo, Consolas, monospace !important; font-size: 1.6rem !important; letter-spacing: .4em; max-width: 12rem; }

/* private booking page: taken spots */
.time[disabled] { opacity: .35; text-decoration: line-through; cursor: default; }

/* admin screen */
.admin-page .col { max-width: 60rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; border-bottom: 1px solid #000; }
.tab { font: inherit; font-size: 1rem; background: #fff; border: 1px solid #000; border-bottom: 0; padding: .6rem 1rem; cursor: pointer; }
.tab.on { background: #000; color: #fff; }
.step-title.today { text-decoration: underline; }
.admin-appt { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid #ddd; }
.admin-appt .when { font-weight: 700; }
.admin-appt .actions { margin-top: .6rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.admin-appt.status-cancelled, .admin-appt.status-no_show { opacity: .55; }
.btn-sm { padding: .55rem .9rem; font-size: .95rem; }
.panel { border: 1px solid #000; padding: 1.2rem; margin: 1rem 0; }
.form.compact { gap: .8rem; margin-top: .8rem; }
.form .check { display: flex; gap: .6rem; align-items: center; }
.form .check input { width: auto; margin: 0; }
.form fieldset { display: grid; gap: 1rem; }
.hours { display: grid; gap: .4rem; }
.hour-row { display: grid; grid-template-columns: 9rem 7rem auto 7rem; gap: .6rem; align-items: center; }
.hour-row input[type=time] { width: 100%; }
@media (max-width: 560px) { .admin-appt { grid-template-columns: 1fr; gap: .3rem; } .hour-row { grid-template-columns: 1fr 1fr; } .hour-row span { display: none; } }
