/* Tidewell Studio: concept site. Warm bone, deep sea green, clay accent. */
:root {
  --bg: #f4efe7;
  --surface: #ebe3d6;
  --card: #fbf8f3;
  --ink: #1d2a26;
  --muted: #4f5c57;
  --sea: #2c5a4f;
  --sea-deep: #1f443b;
  --clay: #a5492a;
  --clay-soft: #e7c3ae;
  --line: #d6cbbb;
  --focus: #a5492a;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --font: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; }
p { margin: 0; }

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 50;
  background: var(--ink); color: #fff; padding: var(--s3) var(--s4); border-radius: var(--radius-sm);
}
.skip:focus { top: var(--s4); color: #fff; }

.wrap { width: min(100% - 2 * var(--s5), var(--max)); margin-inline: auto; }

/* Concept label: slim, always visible */
.concept-bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink); color: #f4efe7;
  font-size: 0.8125rem; line-height: 1.3;
}
.concept-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 36px; }
.concept-bar a { color: #f4efe7; text-decoration: underline; text-decoration-color: rgba(244, 239, 231, 0.5); display: inline-flex; align-items: center; min-height: 36px; }
.concept-bar a:hover { color: #fff; }
.concept-bar .bar-quote { display: none; }
.concept-bar :focus-visible { outline-color: var(--clay-soft); }

/* Header */
.site-header { padding-block: var(--s4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-word { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.logo-word small { display: block; font-size: 0.62rem; letter-spacing: 0.32em; font-weight: 500; color: var(--muted); margin-top: -2px; }
.nav { display: flex; align-items: center; gap: var(--s2); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px var(--s2); min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--clay); }
.nav a[aria-current="page"]:not(.btn) { color: var(--clay); }
.nav a.nav-extra { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--sea); color: #fff; font: 600 1rem/1.2 var(--font); text-decoration: none;
  border: 2px solid var(--sea); cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--sea); }
.btn-ghost:hover { background: var(--surface); color: var(--sea-deep); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }

/* Hero */
.hero { padding-block: var(--s5) var(--s8); }
.hero .wrap { display: grid; gap: var(--s6); align-items: center; }
.kicker { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--s4); }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.2rem); max-width: 14ch; }
.hero .lede { font-size: 1.125rem; color: var(--muted); margin-top: var(--s4); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-art { border-radius: 28px; overflow: hidden; background: var(--surface); aspect-ratio: 5 / 4; }
.hero-art svg { width: 100%; height: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); padding: 0; list-style: none; color: var(--muted); font-size: 0.9375rem; }
.facts li { display: flex; align-items: center; gap: var(--s2); }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }

/* Sections */
.section { padding-block: var(--s8); }
.section-alt { background: var(--surface); }
.section-head { max-width: 46ch; margin-bottom: var(--s6); }
.section-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); }
.section-head p { color: var(--muted); margin-top: var(--s3); font-size: 1.0625rem; }

.class-grid { display: grid; gap: var(--s4); }
.class-card { background: var(--card); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.class-card svg { width: 56px; height: 56px; }
.class-card h3 { font-size: 1.25rem; }
.class-card p { color: var(--muted); }
.class-meta { display: flex; gap: var(--s4); font-size: 0.875rem; color: var(--ink); font-weight: 500; margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }

/* Schedule */
.tabs { display: flex; gap: var(--s1); overflow-x: auto; padding-bottom: var(--s2); margin-bottom: var(--s4); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; min-width: 64px; min-height: 48px; padding: 6px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 1rem/1.2 var(--font); cursor: pointer;
}
.tab:hover { border-color: var(--sea); }
.tab[aria-selected="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.day-list { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--radius); }
.day-list li { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: var(--s3); align-items: center; padding: var(--s4) var(--s4); border-top: 1px solid var(--line); }
.day-list li:first-child { border-top: 0; }
.slot-time { font-weight: 600; font-variant-numeric: tabular-nums; }
.slot-name { font-weight: 600; }
.slot-sub { display: block; font-size: 0.875rem; color: var(--muted); font-weight: 400; }
.slot-full { font-size: 0.875rem; color: var(--muted); padding-inline: var(--s3); }
.schedule-note { font-size: 0.875rem; color: var(--muted); margin-top: var(--s3); }

/* Offer */
.offer { background: var(--sea-deep); color: #f4efe7; border-radius: 28px; padding: var(--s7) var(--s5); display: grid; gap: var(--s6); position: relative; overflow: hidden; }
.offer h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.offer .price { font-size: 1.125rem; margin-top: var(--s3); color: #e9dfd2; }
.offer .price strong { font-size: 2.6rem; color: #fff; font-weight: 600; letter-spacing: -0.02em; margin-right: var(--s2); vertical-align: middle; }
.offer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.offer li { display: flex; gap: var(--s3); align-items: flex-start; }
.offer li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.offer .btn { background: #f4efe7; color: var(--sea-deep); border-color: #f4efe7; }
.offer .btn:hover { background: #fff; color: var(--ink); }
.offer :focus-visible { outline-color: var(--clay-soft); }

/* Reviews placeholder */
.reviews-placeholder {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: var(--s6) var(--s5);
  color: var(--muted); text-align: center; background: transparent;
}
.reviews-placeholder h2 { font-size: 1.25rem; color: var(--muted); font-weight: 600; }
.reviews-placeholder p { margin-top: var(--s2); max-width: 52ch; margin-inline: auto; }

/* FAQ */
.faq { display: grid; gap: var(--s2); max-width: 760px; }
.faq details { background: var(--card); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: var(--s4) var(--s5); font-weight: 600; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--clay); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 var(--s5) var(--s5); color: var(--muted); }

/* Pricing (book page) */
.plans { display: grid; gap: var(--s4); }
.plan { background: var(--card); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); border: 2px solid transparent; }
.plan.is-featured { border-color: var(--sea); }
.plan h3 { font-size: 1.125rem; }
.plan .amount { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.plan .amount small { font-size: 0.9375rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 0.9375rem; }
.example-note { font-size: 0.875rem; color: var(--muted); margin-top: var(--s4); }

/* Booking form */
.book-layout { display: grid; gap: var(--s6); align-items: start; }
.book-form { background: var(--card); border-radius: 22px; padding: var(--s5); display: grid; gap: var(--s6); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 1.125rem; margin-bottom: var(--s3); padding: 0; }
.choice-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label {
  display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice label small { font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.choice input:checked + label { border-color: var(--sea); background: #e3ece8; box-shadow: inset 0 0 0 1px var(--sea); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:disabled + label { opacity: 0.55; cursor: not-allowed; text-decoration: line-through; }
.fields { display: grid; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input {
  min-height: 48px; padding: 10px 14px; border: 1.5px solid #9d9384; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 400 1rem var(--font);
}
.field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; gap: var(--s3); align-items: flex-start; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--sea); }
.form-status { border-radius: var(--radius-sm); padding: var(--s4); background: #e3ece8; color: var(--sea-deep); font-weight: 600; }
.form-status[hidden] { display: none; }
.summary { background: var(--surface); border-radius: 22px; padding: var(--s5); }
.summary h2 { font-size: 1.125rem; margin-bottom: var(--s3); }
.summary dl { margin: 0; display: grid; gap: var(--s3); }
.summary dt { font-size: 0.8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.summary dd { margin: 0; font-weight: 600; }
.page-head { padding-block: var(--s5) var(--s6); }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); }
.page-head p { color: var(--muted); margin-top: var(--s3); font-size: 1.0625rem; max-width: 50ch; }

/* Footer */
.veshtera-cta { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--s5); font-size: 0.9375rem; }
.veshtera-cta .wrap { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); align-items: center; justify-content: space-between; }
.veshtera-cta a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer { background: var(--ink); color: #d9d2c6; padding-block: var(--s7) var(--s5); font-size: 0.9375rem; }
.site-footer a { color: #f4efe7; }
.site-footer :focus-visible { outline-color: var(--clay-soft); }
.footer-grid { display: grid; gap: var(--s6); }
.footer-grid h2 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b9b1a4; margin-bottom: var(--s3); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.footer-grid li a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-logo { color: #f4efe7; }
.footer-about { margin-top: var(--s3); max-width: 34ch; }
.footer-logo small { color: #b9b1a4; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px var(--s5); justify-content: start; margin: 0; }
.hours dt, .hours dd { margin: 0; white-space: nowrap; }
.footer-base { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid #3a4743; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; color: #b9b1a4; font-size: 0.875rem; }

/* Larger screens */
@media (min-width: 720px) {
  .wrap { width: min(100% - 2 * var(--s6), var(--max)); }
  .concept-bar .bar-quote { display: inline-flex; }
  .nav a.nav-extra { display: inline-flex; }
  .class-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .offer { padding: var(--s8) var(--s7); grid-template-columns: 1.1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .day-list li { grid-template-columns: 6.5rem 1fr auto; padding-inline: var(--s5); }
}
@media (min-width: 1000px) {
  .hero { padding-block: var(--s6) var(--s9); }
  .hero .wrap { grid-template-columns: 1fr 1.05fr; gap: var(--s8); }
  .section { padding-block: var(--s9); }
  .book-layout { grid-template-columns: 1.6fr 1fr; }
  .summary { position: sticky; top: 60px; }
  .book-form { padding: var(--s6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.footer-base a { min-height: 44px; display: inline-flex; align-items: center; }
