@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Geist:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --ink: #211c18;
  --coffee: #3d2c24;
  --paper: #faf7f1;
  --white: #fffdf8;
  --sand: #eee7db;
  --line: #ded4c5;
  --muted: #685b51;
  --copper: #8c573c;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.028em; }
h2 { font-size: clamp(3rem, 5.5vw, 5.2rem); }
p { color: var(--muted); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
section[id] { scroll-margin-top: 32px; }
.wrap { width: min(1240px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: -100px; left: 12px; padding: 12px; background: var(--white); }
.skip:focus { top: 12px; }
.site-head { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { border-radius: 50%; width: 48px; height: 48px; }
.cover-head { position: absolute; z-index: 2; inset: 0 0 auto; color: #fff; }
.cover-nav { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cover-nav nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px clamp(12px, 2.6vw, 38px); }
.cover-nav nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.cover-nav nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.text-link:hover { color: var(--copper); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 9px 20px; text-align: center; border: 1px solid transparent; border-radius: 3px; font-size: .9rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.primary { background: var(--coffee); color: var(--white); }
.primary:hover:not(:disabled) { background: #604333; }
.outline { background: transparent; border-color: #aa9b8a; color: var(--ink); }
.outline:hover:not(:disabled) { background: var(--sand); }
.light { background: var(--white); color: var(--ink); }
.light:hover { background: var(--sand); }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .91rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.overline { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.overline > span { display: inline-block; width: 19px; height: 1px; background: currentColor; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(510px, 54vw, 880px);
  padding: 100px 20px;
  background: #34312c;
  color: #fff;
  text-align: center;
}
.hero-image, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 55% center; }
.hero::before {
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, #171715a8, #17171518 30%, transparent 85%),
              radial-gradient(ellipse at center, #17171599 0%, #17171533 58%, transparent 85%);
}
.hero-copy { max-width: 100%; font-family: "Geist", var(--sans); text-shadow: 0 2px 20px #1313107a; }
.hero h1 { font: 600 clamp(2.5rem, 6.3vw, 7rem)/1.03 "Geist", var(--sans); letter-spacing: -.045em; }
.hero-copy p { margin-top: .52em; color: #fff; font-size: clamp(1rem, 2.1vw, 2rem); }
.hero-button { margin-top: clamp(24px, 3.8vw, 60px); min-width: min(100%, 215px); border-color: #fff; background: #17171547; font-size: 1rem; font-weight: 500; }
.hero-button:hover { background: #fff; color: #171715; text-shadow: none; }
.hero :focus-visible, .cover-head :focus-visible { outline-color: #fff; }
.location-band { background: var(--sand); border-block: 1px solid var(--line); }
.location-band > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; font-size: .83rem; }
.location-band span, .location-band a { display: inline-flex; align-items: center; gap: 8px; }
.location-band a { font-weight: 700; }
.section { padding-block: clamp(62px, 8vw, 110px); }
.services { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(26px, 8vw, 120px); align-items: start; }
.services h2, .reservation h2, .section-top h2, .visit h2 { margin: 11px 0 15px; }
.services-intro > p:last-child, .reservation > div:first-child > p:last-of-type { max-width: 350px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; border-bottom: 1px solid var(--line); padding: 13px 2px; }
.service-row h3 { font: 2rem/1.1 var(--serif); }
.service-row p { margin-top: 4px; font-size: .89rem; }
.service-row small { display: block; margin-top: 4px; color: var(--copper); font-weight: 700; }
.circle-arrow { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s; }
.service-row:hover .circle-arrow { background: var(--coffee); color: white; }
.gallery { background: #efe9de; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 21px; }
.section-top > a { padding-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.gallery-grid img { width: 100%; aspect-ratio: .96; height: auto; object-fit: cover; }
.gallery-grid figcaption { padding-top: 9px; font-size: .91rem; }
.reservation { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(24px, 7vw, 100px); align-items: start; }
.reservation > div:first-child a { margin-top: 18px; }
.booking-card, .admin-card { padding: clamp(20px, 3.4vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.booking-card { display: grid; gap: 17px; }
.booking-fields { border: 0; padding: 0; margin: 0; display: grid; gap: 15px; min-width: 0; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
label, .field-title { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; min-height: 43px; border: 1px solid #c9bfae; border-radius: 3px; padding: 8px 10px; background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 400; }
.icon-label > span, .field-title { display: flex; align-items: center; gap: 7px; }
.demo-note { padding: 10px 13px; border-left: 3px solid #a8734f; background: #f3e8da; color: #5c3d2b; font-size: .86rem; }
.booking-price { font-size: .9rem; font-weight: 600; }
.slots-panel { display: grid; gap: 9px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; max-height: 180px; overflow-y: auto; }
.slot, .icon-button { min-height: 39px; border: 1px solid #c9bfae; border-radius: 3px; background: var(--white); color: var(--ink); font-size: .85rem; }
.slot:hover, .icon-button:hover { background: var(--sand); }
.slot[aria-pressed=true] { background: var(--coffee); color: white; border-color: var(--coffee); }
.quiet { font-size: .9rem; }
.error, .notice { padding: 10px 13px; border-radius: 3px; font-size: .9rem; }
.error { background: #fae6e1; color: #752d23; }
.notice { background: #e5efe1; color: #31522b; }
.booking-success h3 { font: 2.9rem/1 var(--serif); }
.booking-success { gap: 11px; }
.check-circle { display: grid; place-items: center; color: #355833; background: #e4eee0; width: 49px; height: 49px; border-radius: 50%; }
.visit { background: var(--coffee); color: var(--white); }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; }
.visit .overline { color: #e3ba98; }
.visit p { color: #efe0d0; }
.visit-hours { margin-top: 7px; font-size: .88rem; }
.visit .actions { margin-top: 18px; }
.visit .text-link:hover { color: #e3ba98; }
footer { background: #211b18; color: #f5ede5; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; min-height: 65px; gap: 14px; font-size: .82rem; }
.foot-inner a { display: inline-flex; align-items: center; gap: 6px; }
.admin-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 74px; }
.admin { padding-top: 45px; }
.admin h1, .admin-login h1 { font-size: clamp(3.5rem, 8vw, 6rem); margin: 9px 0 14px; }
.admin-login .button { margin-top: 18px; }
.admin-tabs { margin-block: 17px; gap: 8px; }
.admin > .error, .admin > .notice { margin-bottom: 13px; }
.admin-toolbar, .date-nav, .entry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.admin-toolbar select, .date-nav input { width: auto; }
.admin-toolbar { margin-bottom: 18px; }
.admin-toolbar > .button { min-height: 43px; margin-left: auto; }
.icon-button { display: grid; place-items: center; height: 43px; width: 43px; }
.agenda-day { font: 2rem/1 var(--serif); text-transform: capitalize; margin-bottom: 14px; }
.agenda-entry { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }
.agenda-entry h3 { font-size: 1rem; }
.agenda-entry p, .agenda-time { font-size: .87rem; }
.agenda-entry p a { text-decoration: underline; }
.agenda-time { font-weight: 700; }
.small-button { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 3px; min-height: 35px; padding: 4px 8px; font-size: .78rem; }
.entry-status { padding: 4px 8px; border-radius: 3px; background: #e5efe1; color: #31522b; font-size: .78rem; }
.entry-status.cancelled { background: var(--sand); color: var(--muted); }
.edit-form { display: grid; gap: 10px; padding: 16px; background: var(--sand); margin-bottom: 18px; border-radius: 3px; }
.edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr)); gap: 9px; }
.configuration h2 { font: 2.6rem/1.05 var(--serif); margin-bottom: 12px; }
.configuration h2:not(:first-child) { margin-top: 29px; }
.config-list { display: grid; gap: 6px; margin-bottom: 10px; }
.config-list details { border: 1px solid var(--line); border-radius: 3px; }
.config-list summary { cursor: pointer; padding: 9px 12px; font-weight: 700; }
.config-list summary span { float: right; font-weight: 400; color: var(--muted); font-size: .85rem; }
.config-body { border-top: 1px solid var(--line); display: grid; gap: 10px; padding: 12px; }
.checkbox { display: flex; align-items: center; gap: 7px; }
.config-fieldset { margin: 0; padding: 7px 12px; border: 1px solid var(--line); min-width: 0; }
.config-fieldset legend { font-size: .84rem; font-weight: 700; }
.hours-row { display: grid; grid-template-columns: 68px minmax(0, 120px) minmax(0, 120px); align-items: center; gap: 7px; margin: 4px 0; }
.config-submit { margin-top: 22px; }
@media (max-width: 890px) {
  .wrap { width: calc(100% - 54px); }
  .agenda-entry { grid-template-columns: 100px 1fr; }
  .entry-actions { grid-column: 2; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 34px); }
  .brand img { width: 38px; height: 38px; }
  .cover-nav { min-height: 66px; }
  .cover-nav nav a { font-size: .65rem; letter-spacing: .075em; }
  .hero { min-height: clamp(470px, 78svh, 650px); padding-block: 76px; }
  .hero-image { object-position: 71% center; }
  .hero::before { background: linear-gradient(180deg, #171715a8, #17171559 40%, #17171533); }
  .services, .reservation, .visit-inner { grid-template-columns: 1fr; }
  .actions { gap: 12px; }
  .section { padding-block: 48px; }
  .section-top { flex-direction: column; align-items: start; gap: 0; }
  .section-top > a { padding-bottom: 0; }
  .gallery-grid { gap: 7px; }
  .gallery-grid figcaption { font-size: .75rem; }
  .foot-inner { flex-direction: column; align-items: start; justify-content: center; gap: 6px; padding-block: 13px; }
  .admin-toolbar > .button { margin-left: 0; }
  .agenda-entry { grid-template-columns: 1fr; gap: 6px; }
  .entry-actions { grid-column: 1; }
}
@media (max-width: 355px) {
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

[hidden] { display: none !important; }
.catalog-empty { padding-top: 12px; }
.agenda-filter { margin-bottom: 12px; }
.agenda-filter .button { min-height: 43px; }
.admin-card > details { margin: 0 0 16px; }
.entry-actions form { display: inline; }
.entry-move { grid-column: 1 / -1; margin-top: 0; }
details > summary { cursor: pointer; }
summary.button { width: fit-content; }
