@import url("./components.css");
:root {
  /* Shared foundation; legacy aliases keep existing views compatible. */
  --color-canvas: #f8f6f0;
  --color-surface-muted: #edf1e9;
  --color-forest: #315c4d;
  --color-forest-deep: #23483c;
  --color-sage: #dce5db;
  --color-sand: #f0e9de;
  --color-terracotta: #986247;
  --color-background: var(--color-canvas);
  --color-surface: #fffefa;
  --color-surface-soft: var(--color-surface-muted);
  --color-surface-warm: var(--color-sand);
  --color-primary: var(--color-forest);
  --color-primary-dark: var(--color-forest-deep);
  --color-secondary: #526d77;
  --color-accent: var(--color-terracotta);
  --color-text: #293d35;
  --color-text-muted: #59695f;
  --color-border: #d7ded3;
  --color-control-border: #7a8b7f;
  --color-focus: var(--color-primary);
  --color-error: #873e30;
  --color-error-surface: #f7e5df;
  --color-success: #285739;
  --color-success-surface: #dcebdc;
  --color-warning: #73581f;
  --color-warning-surface: #f7eccc;
  --color-info: #344f71;
  --color-info-surface: #e0e7ef;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-label: 0.9375rem;
  --text-base: 1rem;
  --text-lead: 1.125rem;
  --text-h1: clamp(2.75rem, 5vw, 5.25rem);
  --text-h2: clamp(2rem, 3.4vw, 3.1rem);
  --text-h3: clamp(1.45rem, 2vw, 1.75rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --radius-sm: 0.625rem;
  --radius-md: 1.125rem;
  --radius-lg: 1.625rem;
  --shadow-soft: 0 8px 24px rgb(41 61 53 / 0.045);
  --container-width: 73.75rem;
  --reading-width: 50rem;
  --control-height: 3rem;
  --motion-duration: 160ms;
  --motion-easing: ease-out;
  --section-space: clamp(3.5rem, 6.5vw, 6.75rem);
  --section-gap: clamp(2rem, 4.5vw, 4.5rem);
  --editorial-rule: #b7c7b9;
  --paper: var(--color-background);
  --white: var(--color-surface);
  --ink: var(--color-text);
  --green: var(--color-primary);
  --green-light: var(--color-surface-soft);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --clay: var(--color-accent);
  --sand: var(--color-surface-warm);
  --radius: var(--radius-md);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: var(--text-h1);
  margin-bottom: 26px;
}
h2 {
  font-size: var(--text-h2);
}
h3 {
  font-size: var(--text-h3);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}
img,
svg {
  max-width: 100%;
}
.container {
  width: min(var(--container-width), calc(100% - var(--space-7) - var(--space-4)));
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
  display: block;
  margin-bottom: 22px;
}
.muted {
  color: var(--muted);
}
.lede {
  font-size: var(--text-lead);
  max-width: 510px;
  color: var(--muted);
  line-height: 1.8;
}
.topline {
  font-size: 0.72rem;
  text-align: center;
  background: var(--green);
  color: #f4f5eb;
  padding: 8px 20px;
  letter-spacing: 0.06em;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 102px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand-name {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: -0.07em;
}
.brand-name b {
  font-weight: 400;
}
.brand small {
  display: block;
  text-transform: uppercase;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  line-height: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.81rem;
}
.nav a {
  text-decoration: none;
}
.nav a[aria-current="page"]:not(.btn) {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 55px;
  align-items: center;
  min-height: 650px;
  padding-top: 48px;
  padding-bottom: 60px;
}
.hero h1 em {
  font-weight: 400;
  color: var(--clay);
}
.hero .eyebrow {
  color: var(--green);
}
.hero-art {
  position: relative;
  padding: 0 22px;
}
.hero-art img {
  display: block;
  width: 100%;
  max-height: 565px;
}
.art-caption {
  position: absolute;
  bottom: 25px;
  left: -25px;
  background: var(--white);
  padding: 23px 28px;
  border: 1px solid var(--line);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.4;
  box-shadow: 0 12px 25px #243c3510;
}
.art-caption span {
  font-size: 0.8rem;
  font-family: Arial, sans-serif;
  color: var(--muted);
}
.hero-note {
  margin-top: 35px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--clay);
  border-radius: 50%;
}
.pillars {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px 0;
  gap: 30px;
  font-size: 0.83rem;
}
.pillars span {
  font-family: Georgia, serif;
  color: var(--clay);
  margin-right: 14px;
  font-size: 1.1rem;
}
.section {
  padding: var(--space-9) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head p {
  max-width: 390px;
  margin-bottom: 0;
}
.soft-section {
  background: var(--green-light);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.card {
  background: var(--white);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 335px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
}
.service-card .card-number {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  color: var(--clay);
  margin-bottom: 25px;
}
.service-card .service-meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
}
.service-card .text-link {
  margin-top: 20px;
}
.text-link {
  font-size: var(--text-sm);
  font-weight: 600;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.profile-visual {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 150px 150px 12px 12px;
  background: var(--sand);
  position: relative;
}
.profile-visual:before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid #b5bba780;
  border-radius: inherit;
}
.placeholder-photo {
  text-align: center;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--muted);
}
.placeholder-photo span {
  font-family: Georgia, serif;
  font-size: 5rem;
  display: block;
  color: #9faa95;
  font-style: italic;
}
.profile-copy {
  align-self: center;
  padding: 20px 20px 20px 40px;
}
.profile-copy h2 {
  font-size: 2.7rem;
}
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.step-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
}
.step-list li:before {
  counter-increment: step;
  content: "0" counter(step);
  color: var(--clay);
  font-size: 0.75rem;
  padding-top: 6px;
}
.step-list strong {
  display: block;
  font-size: 0.95rem;
}
.step-list p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.cta {
  background: var(--green);
  color: var(--paper);
  border-radius: 22px;
  padding: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.cta p {
  color: #d0dfd3;
  margin-bottom: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 45px;
}
.footer-top p {
  max-width: 310px;
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 20px;
}
.footer-links {
  display: flex;
  gap: 50px;
  font-size: 0.83rem;
}
.footer-links a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
}
.page-intro {
  padding: 66px 0 40px;
  max-width: 760px;
}
.page-intro h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
}
.page-intro .lede {
  max-width: 660px;
}
.page-content {
  padding-bottom: 90px;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 30px;
  align-items: start;
}
.booking-aside {
  background: var(--green-light);
  padding: 32px;
  border-radius: 18px;
  position: sticky;
  top: 24px;
}
.booking-aside h3 {
  font-size: 1.8rem;
}
.booking-aside p {
  font-size: 0.87rem;
}
.form-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.form-section:first-child {
  padding-top: 0;
}
.form-section h2 {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.form-section h2 span {
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
}
.split-copy {
  max-width: 820px;
}
.split-copy p {
  color: var(--muted);
}
.contact-details dl {
  margin: 0;
}
.contact-details dt {
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 25px;
}
.contact-details dd {
  margin: 5px 0 0;
  font-family: Georgia, serif;
  font-size: 1.3rem;
}
.legal {
  max-width: var(--reading-width);
}
.legal h2 {
  font-size: 1.65rem;
  margin-top: 36px;
}
.legal p {
  color: var(--muted);
}
.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  padding: 40px 0 80px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.admin-nav button {
  text-align: left;
  border: 0;
  background: none;
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--muted);
}
.admin-nav button.active {
  background: var(--green);
  color: white;
}
.admin-nav small {
  padding: 10px 16px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.admin-panel h1 {
  font-size: 2.5rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.stat {
  padding: 22px;
  background: var(--green-light);
  border-radius: 12px;
}
.stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
}
.stat span {
  font-size: 0.75rem;
}
.login-box {
  max-width: 440px;
  margin: 65px auto 100px;
}
.login-box h1 {
  font-size: 2.5rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.admin-table td,
.admin-table th {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}
.table-wrap {
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.admin-table small {
  display: block;
  color: var(--muted);
}
.admin-form {
  margin-bottom: 28px;
}
.admin-form h2 {
  font-size: 1.6rem;
}
.admin-toolbar {
  display: flex;
  gap: 15px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.admin-toolbar label {
  margin: 0;
}
.message-card {
  margin-bottom: 15px;
}
.message-card p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.email-body {
  white-space: pre-wrap;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.nav-account {
  font-size: 0.73rem;
}
body:has(.admin-layout) .site-footer {
  margin-top: 20px;
}

/* Authentication only: local QR, ephemeral recovery codes and native modal. */
.mfa-secret, .mfa-codes { overflow-wrap: anywhere; font-family: monospace; }
.mfa-codes { padding-left: var(--space-5); line-height: 1.8; }
#mfa-material { margin-block: var(--space-5); }
#mfa-material img { max-width: 100%; height: auto; }
.mfa-dialog { width: min(100% - var(--space-6), 36rem); max-height: calc(100dvh - var(--space-6)); overflow: auto; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-border); }
.mfa-dialog::backdrop { background: rgb(35 72 60 / 0.45); }
#mfa-section fieldset, .mfa-dialog fieldset { min-width: 0; }
