@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&family=Sacramento&display=swap');

:root {
  --ink: #28312a;
  --forest: #344337;
  --sage: #71816a;
  --sage-soft: #dfe4da;
  --cream: #f5f1e8;
  --paper: #fbf9f4;
  --sand: #ded1bd;
  --gold: #a17f55;
  --clay: #a9644f;
  --white: #fff;
  --line: rgba(40,49,42,.14);
  --shadow: 0 20px 60px rgba(40,49,42,.12);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.025em; }
h1 { font-size: clamp(3.5rem, 6vw, 6.8rem); }
h2 { font-size: clamp(2.8rem, 4.6vw, 5rem); }
h3 { line-height: 1.2; }
em { color: var(--gold); font-weight: 400; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 999; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 20px; }
.eyebrow { margin-bottom: 18px; color: var(--sage); font-size: .72rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.light { color: #d5c9b5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 27px; border: 1px solid var(--forest); border-radius: 2px; background: var(--forest); color: white; font-weight: 600; cursor: pointer; transition: .25s ease; }
.button:hover { background: #202a22; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(40,49,42,.18); }
.button-small { min-height: 42px; padding: 0 19px; font-size: .86rem; }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { color: white; }
.button-dark { background: var(--ink); }
.button-light { border-color: var(--cream); background: var(--cream); color: var(--ink); }
.button-light:hover { background: white; color: var(--ink); }
.text-button, .link-arrow { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { color: var(--forest); font-weight: 600; text-decoration: none; }
.link-arrow span { display: inline-block; margin-left: 7px; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(5px); }
.center { margin-top: 42px; text-align: center; }
.announcement { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 39px; padding: 6px 20px; background: var(--forest); color: white; font-size: .78rem; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 clamp(24px,5vw,78px); border-bottom: 1px solid var(--line); background: rgba(251,249,244,.94); backdrop-filter: blur(14px); }
.brand img { width: 230px; height: 64px; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px,2.6vw,42px); font-size: .85rem; font-weight: 500; }
.site-header nav a { position: relative; }
.site-header nav a::after { position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--gold); content: ""; transition: width .2s; }
.site-header nav a:hover::after { width: 100%; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: calc(100vh - 127px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(28px,5vw,92px); background: var(--cream); }
.hero-copy h1 { max-width: 710px; margin-bottom: 28px; }
.hero-lead { max-width: 610px; color: #586059; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; margin: 20px 0 48px; }
.trust-row { display: flex; gap: 30px; padding-top: 25px; border-top: 1px solid var(--line); color: #70766f; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.trust-row span { display: grid; }
.trust-row b { color: var(--ink); font-family: var(--serif); font-size: 1.4rem; font-weight: 400; text-transform: none; }
.hero-media { position: relative; min-height: 640px; overflow: hidden; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 14px; max-width: 290px; padding: 17px 20px; background: rgba(251,249,244,.92); box-shadow: var(--shadow); font-size: .77rem; line-height: 1.5; backdrop-filter: blur(7px); }
.spark { color: var(--gold); font-size: 1.8rem; }
.marquee { overflow: hidden; padding: 13px 0; background: var(--sand); color: var(--forest); white-space: nowrap; }
.marquee div { width: max-content; animation: scroll 28s linear infinite; font-family: var(--serif); font-size: 1.08rem; }
.marquee span { padding: 0 30px; color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }
.section { padding: 120px clamp(24px,7vw,120px); }
.about { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(60px,10vw,160px); align-items: center; }
.about-art { position: relative; max-width: 520px; }
.portrait-placeholder { display: grid; place-content: center; aspect-ratio: .82; background: linear-gradient(145deg,#cbd1c4,#8f9d89); color: white; text-align: center; }
.portrait-placeholder span { font-family: var(--serif); font-size: 8rem; line-height: 1; opacity: .7; }
.portrait-placeholder small { letter-spacing: .12em; text-transform: uppercase; }
.credential-card { position: absolute; right: -45px; bottom: 45px; display: grid; width: 170px; padding: 25px; background: var(--cream); border: 1px solid white; box-shadow: var(--shadow); text-align: center; text-transform: uppercase; font-size: .65rem; letter-spacing: .15em; }
.credential-card b { margin: 3px 0; color: var(--gold); font-family: var(--serif); font-size: 1.4rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
.about-copy { max-width: 670px; }
.about-copy h2 { margin-bottom: 35px; }
.about-copy p { color: #646b64; }
.about-copy .large-copy { color: var(--ink); font-family: var(--serif); font-size: 1.55rem; line-height: 1.5; }
.signature { margin: 25px 0 15px; color: var(--gold); font-family: "Sacramento", cursive; font-size: 3.1rem; }
.services-section { background: #ece8df; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 55px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 450px; margin: 0; color: #697069; }
.section-heading.compact { margin-bottom: 45px; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 30px; overflow: hidden; background: var(--paper); border: 1px solid rgba(40,49,42,.08); transition: .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { color: var(--gold); font-family: var(--serif); font-size: .9rem; }
.service-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 28px 0; border: 1px solid var(--sand); border-radius: 50%; color: var(--sage); font-family: var(--serif); font-size: 1.8rem; }
.service-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.service-card p { flex: 1; color: #6a716a; font-size: .88rem; }
.service-meta { display: flex; justify-content: space-between; margin: 17px 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .77rem; font-weight: 600; }
.service-card button { align-self: flex-start; }
.service-badge { position: absolute; top: 17px; right: -31px; width: 125px; padding: 4px; transform: rotate(40deg); background: var(--gold); color: white; text-align: center; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.ritual { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); }
.steps article { padding: 38px 8% 10px 0; }
.steps article + article { padding-left: 8%; border-left: 1px solid var(--line); }
.steps span { color: var(--gold); font-size: .7rem; letter-spacing: .12em; }
.steps h3 { margin: 20px 0 9px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.steps p { color: #6d746d; }
.education { display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: white; }
.education-image { min-height: 520px; }
.education-image img { width: 100%; height: 100%; object-fit: cover; }
.education-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(55px,8vw,120px); }
.education-intro h2 { margin-bottom: 28px; }
.education-intro > p { max-width: 570px; color: #cbd1cb; }
.education-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.education-points span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.class-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.14); }
.class-card { padding: 38px clamp(22px,3vw,45px); border-right: 1px solid rgba(255,255,255,.14); }
.class-card:last-child { border: 0; }
.class-card .class-icon { color: #c9b18d; font-family: var(--serif); font-size: 2rem; }
.class-card h3 { min-height: 56px; margin: 22px 0 12px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.class-card p { min-height: 68px; color: #bfc7c0; font-size: .85rem; }
.class-card .class-meta { display: grid; gap: 5px; margin: 20px 0; color: #e9e1d3; font-size: .72rem; }
.class-card button { color: white; }
.reviews { text-align: center; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 45px; text-align: left; }
blockquote { margin: 0; padding: 36px; background: var(--cream); }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: .25em; }
blockquote p { margin: 25px 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; }
blockquote footer { font-size: .77rem; font-weight: 600; }
blockquote footer span { display: block; color: #858b85; font-weight: 400; }
.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 90px clamp(24px,8vw,140px); background: var(--clay); color: white; }
.cta-section h2 { margin-bottom: 15px; }
.cta-section em { color: #f0dbc7; }
.cta-section p { max-width: 620px; margin-bottom: 0; color: #f1ddd6; }
footer { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 55px; padding: 75px clamp(24px,7vw,120px) 30px; background: #202822; color: #dbe0db; font-size: .83rem; }
.footer-brand img { width: 240px; margin-bottom: 15px; filter: brightness(0) invert(1); }
footer h3 { color: white; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
footer a { display: block; margin: 8px 0; }
footer a:hover { color: #d8bd97; }
.light-link { color: white; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 28px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: #929a93; }
.footer-bottom a { display: inline; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24,31,25,.72); backdrop-filter: blur(4px); }
.modal-panel { position: relative; z-index: 1; width: min(960px,100%); max-height: 92vh; overflow-y: auto; padding: clamp(28px,5vw,60px); background: var(--paper); box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 20px; right: 25px; border: 0; background: none; color: var(--ink); font-size: 2rem; cursor: pointer; }
.modal-head h2 { margin-bottom: 25px; font-size: clamp(2.3rem,4vw,3.8rem); }
.progress { display: flex; gap: 25px; margin-bottom: 35px; border-bottom: 1px solid var(--line); color: #929892; font-size: .75rem; }
.progress span { padding: 0 0 12px; }
.progress span.active { border-bottom: 2px solid var(--gold); color: var(--ink); font-weight: 600; }
.booking-services { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.booking-option { padding: 20px; border: 1px solid var(--line); background: white; cursor: pointer; text-align: left; transition: .2s; }
.booking-option:hover, .booking-option.selected { border-color: var(--sage); background: #f2f4ee; }
.booking-option b, .booking-option span { display: block; }
.booking-option span { margin-top: 5px; color: #747b74; font-size: .78rem; }
.booking-nav { display: flex; justify-content: space-between; margin-top: 30px; }
.date-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 22px; }
.date-pill { padding: 12px 6px; border: 1px solid var(--line); background: white; cursor: pointer; }
.date-pill b, .date-pill span { display: block; }
.date-pill span { font-size: .68rem; text-transform: uppercase; }
.date-pill.active { border-color: var(--forest); background: var(--forest); color: white; }
.time-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.time-slot { padding: 11px; border: 1px solid var(--line); background: white; cursor: pointer; }
.time-slot.selected { border-color: var(--gold); background: #eee4d5; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
label { display: grid; gap: 6px; color: #535b54; font-size: .78rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd0ca; border-radius: 2px; background: white; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(113,129,106,.13); }
.full { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: .72rem; font-weight: 400; }
.consent input { width: auto; margin-top: 4px; }
.booking-summary { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding: 16px 20px; background: var(--cream); font-size: .82rem; }
.offer-box { padding: 18px; border: 1px dashed var(--gold); background: #fbf6ed; color: #6e583a; text-align: center; font-size: .83rem; }
.success-state { padding: 25px 0; text-align: center; }
.success-mark { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 25px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); font-size: 2rem; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 200; max-width: 370px; padding: 15px 20px; background: var(--ink); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(20px); transition: .3s; }
.toast.show { opacity: 1; transform: none; }

/* Admin */
.admin-body { min-height: 100vh; background: #f1f0eb; }
.admin-login { display: grid; min-height: 100vh; place-items: center; padding: 25px; background: linear-gradient(135deg,var(--cream),#d6ddd1); }
.login-card { width: min(460px,100%); padding: 52px; background: var(--paper); box-shadow: var(--shadow); }
.login-card img { width: 220px; margin-bottom: 35px; }
.login-card h1 { margin-bottom: 15px; font-size: 2.8rem; }
.login-card form { display: grid; gap: 16px; margin-top: 28px; }
.forgot-link { justify-self: center; margin-top: 5px; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 26px 18px; background: #273129; color: white; }
.admin-logo { display: block; margin: 0 8px 30px; }
.admin-logo img { width: 190px; filter: brightness(0) invert(1); }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav button { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 0; border-radius: 3px; background: transparent; color: #bbc4bc; cursor: pointer; text-align: left; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { background: rgba(255,255,255,.09); color: white; }
.admin-sidebar nav span { width: 20px; color: #c9b18d; text-align: center; }
.admin-sidebar nav .nav-badge { display: grid; min-width: 19px; height: 19px; margin-left: auto; padding: 0 5px; place-items: center; border-radius: 12px; background: var(--clay); color: white; font-size: .6rem; }
.admin-profile { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.admin-profile > div { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--sage); font-family: var(--serif); }
.admin-profile span { display: grid; flex: 1; font-size: .7rem; }
.admin-profile small { color: #9aa49b; }
.admin-profile button { border: 0; background: none; color: white; cursor: pointer; }
.admin-main { min-width: 0; padding: 0 38px 60px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 27px 0; }
.admin-topbar p { margin: 0; color: #899089; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.admin-topbar h1 { margin: 3px 0 0; font-family: var(--sans); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.admin-actions { display: flex; gap: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.metric-card, .admin-card { padding: 22px; border: 1px solid #e1e2dd; background: white; box-shadow: 0 5px 20px rgba(40,49,42,.035); }
.metric-card small { color: #818881; font-size: .69rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { display: block; margin: 9px 0 4px; font-family: var(--serif); font-size: 2.3rem; font-weight: 400; }
.metric-card span { color: #65815f; font-size: .7rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 14px; margin-top: 14px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-card-head h2 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.admin-card-head button { border: 0; background: none; color: var(--sage); cursor: pointer; font-size: .75rem; }
.appointment-list { display: grid; gap: 8px; }
.appointment-row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 13px; padding: 13px; border: 1px solid #ecece8; }
.appointment-row time { font-size: .74rem; font-weight: 600; }
.appointment-row b, .appointment-row span { display: block; }
.appointment-row b { font-size: .82rem; }
.appointment-row span { color: #858b85; font-size: .7rem; }
.status { padding: 4px 8px; border-radius: 20px; background: #e8f0e5; color: #597353; font-size: .62rem; font-weight: 600; text-transform: uppercase; }
.quick-actions { display: grid; gap: 8px; }
.quick-actions button { padding: 13px; border: 1px solid #e3e5df; background: #f9faf7; color: var(--ink); cursor: pointer; text-align: left; font-size: .76rem; }
.quick-actions button:hover { border-color: var(--sage); }
.admin-table { width: 100%; border-collapse: collapse; background: white; font-size: .76rem; }
.admin-table th, .admin-table td { padding: 13px 15px; border-bottom: 1px solid #ecece8; text-align: left; }
.admin-table th { color: #7b827b; background: #f8f8f5; font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-table button { border: 0; background: none; color: var(--sage); cursor: pointer; font-weight: 600; }
.view-toolbar { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.view-toolbar input { max-width: 330px; }
.toolbar-actions { display: flex; gap: 8px; }
.admin-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.admin-form .form-section { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }
.editable-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.editable-card { padding: 20px; background: white; border: 1px solid #e0e1dc; }
.editable-card h3 { margin-bottom: 15px; font-size: .95rem; }
.editable-card form { display: grid; gap: 11px; }
.campaign-card { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 18px; border: 1px solid #e2e3df; background: white; }
.campaign-card + .campaign-card { margin-top: 9px; }
.campaign-card h3 { margin: 0 0 4px; font-size: .87rem; }
.campaign-card p { margin: 0; color: #818781; font-size: .72rem; }
.switch { position: relative; width: 40px; height: 22px; border: 0; border-radius: 20px; background: #cbd0cb; cursor: pointer; }
.switch.on { background: var(--sage); }
.switch::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; content: ""; transition: .2s; }
.switch.on::after { left: 21px; }
.integration { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border-bottom: 1px solid #e8e8e4; }
.integration:last-child { border: 0; }
.integration b, .integration span { display: block; }
.integration span { color: #858b85; font-size: .7rem; }
.connected { color: #5f7a59!important; }
.capacity { display: flex; gap: 3px; }
.capacity i { width: 11px; height: 11px; border-radius: 50%; background: #d7dbd5; }
.capacity i.filled { background: var(--sage); }
.class-roster { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.class-roster h4 { margin: 0 0 10px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.class-roster button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 0; border: 0; border-top: 1px solid #ecece8; background: none; color: var(--ink); cursor: pointer; text-align: left; }
.class-roster small { color: #7d847d; }
.student-enrollments { margin-top: 16px; padding: 22px; border: 1px solid var(--line); background: white; }
.student-enrollments h3 { margin: 0 0 15px; font-size: .9rem; }
.student-enrollments article { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; padding: 15px; border-top: 1px solid var(--line); }
.student-enrollments article.selected { background: var(--cream); }
.student-enrollments article span { display: block; color: #7a817b; font-size: .7rem; }
.student-enrollments dl { display: grid; grid-template-columns: 70px 1fr; gap: 3px 8px; margin: 0; font-size: .7rem; }
.student-enrollments dt { color: #858b85; }
.student-enrollments dd { margin: 0; }
.student-toolbar { margin-top: 15px; }
.campaign-composer { margin-top: 14px; }
.needs-setup { color: #9b654e!important; }
.webhook-box { margin-top: 22px; padding: 18px; border: 1px solid var(--line); background: var(--cream); }
.webhook-box b, .webhook-box code { display: block; }
.webhook-box code { margin: 8px 0; padding: 10px; overflow-wrap: anywhere; background: white; color: var(--forest); font-size: .72rem; }
.webhook-box p { color: #727972; font-size: .72rem; }
.appointment-open { width: 100%; border: 1px solid #ecece8; background: white; color: var(--ink); cursor: pointer; text-align: left; }
.appointment-open:hover { border-color: var(--sage); background: #f8faf6; }
.client-name-button { padding: 0!important; color: var(--ink)!important; text-decoration: underline; text-underline-offset: 3px; }
.client-detail-panel { width: min(900px,100%); }
.client-detail-panel h2 { margin-bottom: 30px; }
.client-detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.client-detail-grid section, .client-history, .client-notes { padding: 22px; border: 1px solid var(--line); background: white; }
.client-detail-grid h3, .client-history h3, .client-notes h3 { margin: 0 0 16px; font-size: .9rem; }
.client-detail-grid dl { display: grid; grid-template-columns: 115px 1fr; gap: 8px 12px; margin: 0; font-size: .78rem; }
.client-detail-grid dt { color: #7d847d; }
.client-detail-grid dd { margin: 0; font-weight: 500; }
.client-history, .client-notes { margin-top: 16px; }
.client-communication { margin-top: 16px; padding: 22px; border: 1px solid var(--line); background: white; }
.communication-head h3 { margin: 0; font-size: .9rem; }
.communication-head p { margin: 3px 0 15px; color: #7b827b; font-size: .72rem; }
.message-thread { display: flex; flex-direction: column; gap: 10px; max-height: 390px; margin-bottom: 18px; padding: 15px; overflow-y: auto; background: #f5f4ef; }
.message-bubble { width: min(78%,620px); padding: 13px 15px; border-radius: 10px; background: white; box-shadow: 0 3px 12px rgba(40,49,42,.06); }
.message-bubble.outbound { align-self: flex-end; border-bottom-right-radius: 2px; background: var(--sage-soft); }
.message-bubble.inbound { align-self: flex-start; border-bottom-left-radius: 2px; }
.message-bubble > div { display: flex; justify-content: space-between; gap: 15px; color: #727972; font-size: .62rem; }
.message-bubble strong { display: block; margin-top: 6px; font-size: .76rem; }
.message-bubble p { margin: 5px 0; white-space: pre-wrap; font-size: .8rem; }
.message-bubble small { color: #818881; font-size: .6rem; text-transform: uppercase; }
.direct-message-form { display: grid; gap: 11px; padding-top: 16px; border-top: 1px solid var(--line); }
.direct-message-form button { justify-self: start; }
.message-compose-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }
.inbox-list { display: grid; gap: 8px; }
.inbox-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 1px solid #e5e6e1; background: white; color: var(--ink); cursor: pointer; text-align: left; }
.inbox-row:hover, .inbox-row.unread { border-color: var(--sage); background: #f6f8f3; }
.inbox-row p { max-width: 760px; margin: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #666e67; font-size: .76rem; }
.inbox-row small { color: #858b85; font-size: .66rem; }
.inbox-row i { padding: 4px 8px; border-radius: 20px; background: var(--clay); color: white; font-size: .58rem; font-style: normal; text-transform: uppercase; }
.channel-pill { padding: 5px 7px; border-radius: 2px; background: var(--cream); color: var(--sage); font-size: .6rem; font-weight: 600; }
.client-history > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .76rem; }
.client-history span { color: #747b74; }
.client-notes form { display: grid; gap: 10px; }
.client-notes form button { justify-self: start; }
.note-list { display: grid; gap: 9px; margin-top: 18px; }
.note-list article { padding: 15px; background: var(--cream); }
.note-list p { margin-bottom: 5px; font-size: .82rem; }
.note-list small { color: #7d847d; }
.seo-editor-section { margin-top: 14px; }
.seo-editor-grid { display: grid; gap: 14px; }
.seo-page-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.seo-page-form .admin-card-head, .seo-page-form > button, .seo-page-form fieldset { grid-column: 1 / -1; }
.seo-page-form fieldset { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin: 0; padding: 15px; border: 1px solid var(--line); }
.seo-page-form legend { color: var(--sage); font-size: .7rem; font-weight: 600; }
.seo-page-form a { color: var(--sage); font-size: .75rem; }
.local-guides { background: var(--cream); }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.guide-grid a { display: flex; flex-direction: column; min-height: 300px; padding: 30px; border: 1px solid var(--line); background: var(--paper); transition: .25s; }
.guide-grid a:hover { transform: translateY(-5px); border-color: var(--sage); box-shadow: var(--shadow); }
.guide-grid span { color: var(--gold); font-family: var(--serif); }
.guide-grid h3 { margin: 28px 0 14px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.guide-grid p { flex: 1; color: #6a716a; font-size: .86rem; }
.guide-grid b { color: var(--forest); font-size: .78rem; }
.seo-header { position: relative; }
.seo-hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 650px; background: var(--cream); }
.seo-hero > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(50px,7vw,110px); }
.seo-hero h1 { margin-bottom: 25px; font-size: clamp(3rem,5.5vw,6rem); }
.seo-hero p:not(.eyebrow) { max-width: 680px; margin-bottom: 30px; color: #5e675f; font-size: 1.05rem; }
.seo-hero img { width: 100%; height: 100%; object-fit: cover; }
.seo-article { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; max-width: 1200px; margin: auto; padding: 100px 30px; }
.seo-copy-block { padding: 38px 0; border-top: 1px solid var(--line); }
.seo-copy-block h2 { font-size: 2.2rem; }
.seo-copy-block p { color: #626a63; }
.seo-callout { grid-column: 2; grid-row: 1 / span 3; align-self: start; padding: 45px; background: var(--sage-soft); }
.seo-callout h2 { font-size: 2.8rem; }
.seo-related { padding: 70px clamp(24px,7vw,120px); background: #ece8df; }
.seo-related h2 { font-size: 2.4rem; }
.seo-related a { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--forest); font-weight: 600; }
.kit-preview { margin-top: 12px!important; color: #d9e4d8!important; font-size: .76rem!important; }
.education-disclaimer { max-width: 720px; margin-top: 22px; padding: 16px; border: 1px solid rgba(255,255,255,.2); color: #d8ded8; font-size: .75rem; line-height: 1.6; }
.education-disclaimer a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.class-detail-lists { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 18px 0; }
.class-detail-lists section { padding: 18px; border: 1px solid var(--line); background: #f8f7f2; }
.class-detail-lists .kit-list { grid-column: 1 / -1; background: var(--sage-soft); }
.class-detail-lists h3 { margin: 0 0 10px; font-size: .88rem; }
.class-detail-lists ul { margin: 0; padding-left: 18px; color: #626a63; font-size: .75rem; line-height: 1.65; }
.policy-callout { margin: 18px 0; padding: 18px; border-left: 4px solid var(--gold); background: #f4eee5; }
.policy-callout p { margin: 7px 0 0; color: #5d655e; font-size: .76rem; line-height: 1.6; }
.policy-callout a { color: var(--forest); font-weight: 600; text-decoration: underline; }
.consent a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.legal-page { max-width: 980px; margin: auto; padding: 90px 30px 120px; }
.legal-page > header { margin-bottom: 55px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-page h1 { max-width: 800px; font-size: clamp(3.2rem,7vw,6.5rem); }
.legal-page > header > p:last-child { max-width: 760px; color: #697169; }
.legal-page section { display: grid; grid-template-columns: 280px 1fr; gap: 45px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-page section h2 { margin: 0; font-size: 1.45rem; }
.legal-page section p { margin: 0; color: #5f675f; line-height: 1.75; }
.legal-page aside { margin-top: 45px; padding: 35px; background: var(--sage-soft); }
.legal-page aside h2 { font-size: 2rem; }

@media (max-width: 1050px) {
  .site-header nav { position: fixed; inset: 127px 0 auto; display: none; padding: 30px; background: var(--paper); box-shadow: var(--shadow); }
  .site-header nav.open { display: grid; }
  .menu-toggle { display: grid; gap: 6px; padding: 10px; border: 0; background: none; }
  .menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 520px; }
  .about { gap: 70px; }
  .service-grid, .class-grid { grid-template-columns: repeat(2,1fr); }
  .class-card:nth-child(2) { border-right: 0; }
  .class-card { border-bottom: 1px solid rgba(255,255,255,.14); }
  footer { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  .class-detail-lists, .legal-page section { grid-template-columns: 1fr; }
  .class-detail-lists .kit-list { grid-column: auto; }
  .legal-page section { gap: 12px; }
}

@media (max-width: 900px) {
  .review-grid, .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  h1 { font-size: 3.6rem; }
  h2 { font-size: 3rem; }
  .announcement { text-align: center; }
  .announcement .text-button { display: none; }
  .site-header { height: 74px; padding: 0 20px; }
  .brand img { width: 190px; }
  .site-header nav { top: 113px; }
  .hero-copy { padding: 70px 24px; }
  .hero-media { min-height: 430px; }
  .hero-actions, .trust-row { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 14px; }
  .section { padding: 80px 24px; }
  .about { grid-template-columns: 1fr; }
  .about-art { margin-right: 25px; }
  .credential-card { right: -25px; }
  .section-heading, .cta-section { align-items: flex-start; flex-direction: column; }
  .service-grid, .steps, .education, .class-grid, .review-grid { grid-template-columns: 1fr; }
  .guide-grid, .seo-hero, .seo-article, .client-detail-grid, .seo-page-form { grid-template-columns: 1fr; }
  .message-compose-row { grid-template-columns: 1fr; }
  .message-bubble { width: 92%; }
  .seo-callout { grid-column: auto; grid-row: auto; }
  .seo-page-form .admin-card-head, .seo-page-form > button, .seo-page-form fieldset { grid-column: auto; }
  .seo-page-form fieldset { grid-template-columns: 1fr; }
  .steps article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .education-image { min-height: 360px; }
  .education-intro { padding: 70px 24px; }
  .class-card { border-right: 0; }
  footer { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .booking-services, .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .date-row { grid-template-columns: repeat(3,1fr); }
  .time-grid { grid-template-columns: repeat(2,1fr); }
  .progress { gap: 12px; overflow-x: auto; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { grid-template-columns: repeat(4,1fr); }
  .admin-sidebar nav button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; font-size: .6rem; text-align: center; }
  .admin-profile { display: none; }
  .admin-main { padding: 0 15px 40px; }
  .admin-topbar, .view-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; flex-direction: column; }
  .admin-actions { width: 100%; }
  .admin-actions > * { flex: 1; }
  .metric-grid, .dashboard-grid, .editable-grid, .admin-form { grid-template-columns: 1fr; }
  .admin-form .form-section { grid-column: auto; }
  .admin-table { display: block; overflow-x: auto; }
}
