/* ==========================================================================
   near quiet — sound baths, Hong Kong
   Hand-authored CSS. No build step: edit this file, refresh the browser.
   ========================================================================== */

:root {
  /* Palette */
  --bg: #f2ede3;
  --card: #ede8de;
  --ink: #432c28;
  --accent: #9a9a5c;
  --border: #d9d2c4;
  --on-dark: #ffffff;

  /* Type */
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Newsreader", Georgia, "Times New Roman", serif;

  /* Layout */
  --gutter: 1.5rem;
  --w-5xl: 64rem;
  --w-4xl: 56rem;
  --w-3xl: 48rem;
  --w-2xl: 42rem;
  --w-xl: 36rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  margin: 0;
}

p { margin: 0; }

/* Italic text butts up against the next word without a little breathing
   room — the slant makes it read as crowded even though the space is there. */
em { margin-right: 0.12em; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

/* Class-based display values below would otherwise out-rank the UA rule. */
[hidden] { display: none !important; }

::selection { background: rgba(154, 154, 92, 0.28); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.w-5xl { max-width: calc(var(--w-5xl) + var(--gutter) * 2); }
.w-4xl { max-width: calc(var(--w-4xl) + var(--gutter) * 2); }
.w-3xl { max-width: calc(var(--w-3xl) + var(--gutter) * 2); }

.measure-xl  { max-width: var(--w-xl); }
.measure-2xl { max-width: var(--w-2xl); }

.rule { height: 1px; background: var(--border); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
}

.logo { display: inline-block; }
.logo svg { height: 34px; width: auto; }

.site-nav { display: flex; gap: 2.5rem; }

.site-nav a {
  font-size: 1rem;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.site-nav a:hover { opacity: 1; }
.site-nav a[aria-current="page"] { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  margin: -0.5rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding-block: 0.875rem; font-size: 1.125rem; }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover { background: var(--ink); color: var(--on-dark); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn[disabled]:hover { background: transparent; color: var(--ink); }

.link-accent {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.125rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-accent:hover { color: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(242, 237, 227, 0.6) 45%,
    rgba(242, 237, 227, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}

.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero__lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(67, 44, 40, 0.8);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero__content { padding-bottom: 7rem; }
  .hero__lede { font-size: 1.25rem; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: 6rem; }
.section--tight { padding-block: 4rem; }
.section--tall { padding-block: 8rem; }
.section--card { background: var(--card); }

.page-head { padding-block: 5rem 4rem; }

@media (min-width: 768px) {
  .section { padding-block: 9rem; }
  .section--tight { padding-block: 6rem; }
  .section--tall { padding-block: 12rem; }
  .section--card { padding-block: 8rem; }
  .page-head { padding-block: 7rem 5rem; }
}

.split {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 2fr; gap: 6rem; }
  .split--form { grid-template-columns: 1fr 1.6fr; }
}

.pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.35;
}

.accent-rule {
  margin-top: 1.5rem;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.prose > p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(67, 44, 40, 0.8);
}
.prose > p + p { margin-top: 1.25rem; }

@media (min-width: 768px) {
  .prose > p { font-size: 1.125rem; }
  .prose--wide > p + p { margin-top: 1.75rem; }
}

/* --------------------------------------------------------------------------
   Home — offerings grid
   -------------------------------------------------------------------------- */

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin-bottom: 4rem;
}

.offerings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) {
  .offerings { grid-template-columns: repeat(3, 1fr); }
}

.offering {
  background: var(--card);
  padding: 2.5rem;
}
@media (min-width: 768px) { .offering { padding: 3rem; } }

.offering h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.offering p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(67, 44, 40, 0.7);
}

.closing-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.25;
  margin-bottom: 3.5rem;
}

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Sessions
   -------------------------------------------------------------------------- */

.session {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.session:last-child { border-bottom: 0; }

@media (min-width: 768px) {
  .session { grid-template-columns: 1fr 2fr; gap: 4rem; padding-block: 4rem; }
}

.session h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 1.25rem;
}

.session__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.session__meta li {
  font-size: 0.875rem;
  color: rgba(67, 44, 40, 0.6);
}

.session__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.session__body p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(67, 44, 40, 0.8);
}
@media (min-width: 768px) {
  .session__body p { font-size: 1.125rem; }
}

.footnote {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(67, 44, 40, 0.5);
}

.note-block {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   Chakras
   -------------------------------------------------------------------------- */

.chakra-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chakra {
  border-bottom: 1px solid var(--border);
  padding-block: 2.5rem;
}
.chakra:first-child { border-top: 1px solid var(--border); }
@media (min-width: 768px) { .chakra { padding-block: 3rem; } }

.chakra__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .chakra__head { flex-direction: row; align-items: baseline; gap: 2rem; }
}

.chakra__name-group {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chakra__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
  box-shadow: inset 0 0 0 1px rgba(67, 44, 40, 0.12);
}

.chakra__name {
  position: relative;
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}
.chakra__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  opacity: 0.6;
  background: var(--chakra, var(--accent));
}

.chakra__sanskrit {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(67, 44, 40, 0.45);
}

.chakra__where {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(67, 44, 40, 0.4);
}

.chakra p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(67, 44, 40, 0.7);
  max-width: var(--w-xl);
}

.italic-note {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(67, 44, 40, 0.6);
}
@media (min-width: 768px) { .italic-note { font-size: 1.125rem; } }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label,
.field__legend {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(67, 44, 40, 0.5);
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.field textarea { resize: none; line-height: 1.7; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(67, 44, 40, 0.3); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: rgba(67, 44, 40, 0.6);
}

.field--chips { gap: 0.75rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(67, 44, 40, 0.6);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.chip:hover { border-color: rgba(67, 44, 40, 0.4); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.875rem;
  line-height: 1.7;
}
.form-status[data-state="error"] { color: #a8443c; }
.form-status[data-state="success"] { color: var(--accent); }

.form-sent {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.form-sent h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.form-sent p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(67, 44, 40, 0.7);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer__inner {
  padding-block: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .site-footer__inner {
    padding-block: 3.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer .logo svg { height: 28px; }

.site-footer__tag {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(67, 44, 40, 0.5);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
@media (min-width: 768px) { .footer-nav { gap: 2rem; } }

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(67, 44, 40, 0.5);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--ink); }

.site-footer__legal {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem 2.5rem;
  font-size: 0.75rem;
  color: rgba(67, 44, 40, 0.4);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reveal.is-in { transition: none; }
  .hero__art { animation: none !important; }
}

/* No-JS safety net: never hide content if the script fails to run. */
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Booking flow (/book)
   -------------------------------------------------------------------------- */

.book-step { display: none; }
.book-step[data-active="true"] { display: block; }

.book-steps-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(67, 44, 40, 0.35);
}
.book-steps-nav span[data-current="true"] { color: var(--accent); }
.book-steps-nav span:not(:last-child)::after { content: "—"; margin-left: 0.5rem; color: rgba(67, 44, 40, 0.25); }

.book-step-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.75rem;
}

.book-step-lede {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(67, 44, 40, 0.65);
  margin-bottom: 2.5rem;
  max-width: var(--w-xl);
}

/* Session type cards — deliberately the same visual language as the
   .offerings grid on the home page, since choosing a session is the same
   kind of decision either place. */
.type-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .type-cards { grid-template-columns: 1fr 1fr; } }

.type-card {
  background: var(--card);
  padding: 2.5rem;
  text-align: left;
  border: 0;
  font-family: var(--font-sans);
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.3s ease;
}
.type-card:hover { background: #fff; }
.type-card h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.type-card p { font-size: 0.875rem; color: rgba(67, 44, 40, 0.65); line-height: 1.7; }
.type-card .meta {
  font-size: 0.8125rem;
  color: var(--accent);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

.people-stepper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}
.people-stepper button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.people-stepper button:hover { border-color: var(--ink); }
.people-stepper button:disabled { opacity: 0.3; cursor: default; border-color: var(--border); }
.people-stepper span { font-size: 0.875rem; color: rgba(67, 44, 40, 0.7); min-width: 6.5rem; text-align: center; }

.day-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.day-tab {
  flex: 0 0 auto;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(67, 44, 40, 0.6);
  cursor: pointer;
  text-align: center;
  line-height: 1.5;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.day-tab:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.day-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.day-tab:disabled { opacity: 0.3; cursor: default; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.625rem;
}
.slot-btn {
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.slot-btn:hover { border-color: var(--ink); }
.slot-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.empty-note {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(67, 44, 40, 0.5);
  padding: 1rem 0 2rem;
  font-family: var(--font-heading);
}

.booking-summary {
  font-size: 0.9375rem;
  color: rgba(67, 44, 40, 0.65);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.booking-summary strong { color: var(--ink); font-weight: 500; }

.payment-card {
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  background: var(--card);
}
@media (min-width: 640px) { .payment-card { padding: 3.5rem 3rem; } }

.payme-qr {
  width: 168px;
  height: auto;
  border: 1px solid var(--border);
  margin: 0 auto 2rem;
}
.payment-amount {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 300;
}
.payment-via {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(67, 44, 40, 0.45);
  margin-top: 0.5rem;
}
.payment-card .accent-rule { margin: 1.75rem auto; }
.payment-note {
  font-size: 0.8125rem;
  color: rgba(67, 44, 40, 0.6);
  margin-bottom: 1rem;
}
.payment-ref {
  display: inline-block;
  font-family: monospace;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.625rem 1.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.payment-confirm-note {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(67, 44, 40, 0.75);
  max-width: 26rem;
  margin: 0 auto;
}
.hold-timer {
  font-size: 0.8125rem;
  color: var(--accent);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-link {
  display: inline-block;
  font-size: 0.8125rem;
  color: rgba(67, 44, 40, 0.5);
  margin-bottom: 2rem;
  cursor: pointer;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  padding: 0;
  transition: color 0.25s ease;
}
.back-link:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Admin (/admin)
   -------------------------------------------------------------------------- */

.admin-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--card);
}
.admin-card__row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.admin-card__meta { font-size: 0.8125rem; color: rgba(67, 44, 40, 0.6); }
.admin-card__actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.admin-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
}
.admin-btn:hover { background: var(--ink); color: var(--on-dark); }
.admin-btn--decline { border-color: rgba(67, 44, 40, 0.3); color: rgba(67, 44, 40, 0.6); }
.admin-btn--decline:hover { background: rgba(67, 44, 40, 0.08); color: var(--ink); }
.admin-section-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(67,44,40,0.5); margin: 2.5rem 0 1rem; }

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.admin-tab {
  padding: 0.75rem 0.25rem;
  margin-right: 1.5rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: rgba(67, 44, 40, 0.5);
  transform: translateY(1px);
}
.admin-tab:hover { color: var(--ink); }
.admin-tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.admin-panel { display: none; }
.admin-panel[data-active="true"] { display: block; }

.admin-panel-lede {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(67, 44, 40, 0.65);
  max-width: var(--w-xl);
  margin-bottom: 2.5rem;
}

/* Pricing */

.admin-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.admin-price-row label {
  font-size: 0.9375rem;
}
.admin-price-unit {
  display: block;
  font-size: 0.75rem;
  color: rgba(67, 44, 40, 0.45);
  margin-top: 0.25rem;
}
.admin-price-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.admin-price-input input {
  width: 6rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
}
.admin-price-input input:focus { outline: none; border-color: var(--ink); }
#pricing-form { margin-top: 1rem; }
#pricing-form .btn { margin-top: 2rem; }

/* Email template editor */

.template-card {
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--card);
}
.template-card__head { margin-bottom: 1.5rem; }
.template-card__label {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.template-card__desc {
  font-size: 0.8125rem;
  color: rgba(67, 44, 40, 0.55);
}
.template-card__custom-badge {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.125rem 0.5rem;
  margin-left: 0.75rem;
  vertical-align: middle;
}
.template-card .field { margin-bottom: 1.25rem; }
.template-card textarea {
  width: 100%;
  min-height: 12rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink);
  resize: vertical;
}
.template-card input[type="text"] {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink);
}
.template-card textarea:focus,
.template-card input[type="text"]:focus { outline: none; border-color: var(--ink); }

.template-placeholders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}
.template-placeholder {
  font-family: monospace;
  font-size: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.125rem 0.5rem;
  color: rgba(67, 44, 40, 0.65);
}

.template-card__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.template-card__reset {
  font-size: 0.8125rem;
  color: rgba(67, 44, 40, 0.5);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
}
.template-card__reset:hover { color: var(--ink); }
.template-card__saved {
  font-size: 0.8125rem;
  color: var(--accent);
}
