:root {
  --bg: #f7ece0;
  --bg-soft: #f0e2d2;
  --ink: #281810;
  --muted: #6b4c42;
  --clay: #a07255;
  --gold: #c4a472;
  --sand: #c4a472;
  --rust: #8b5a52;
  --card: rgba(253, 248, 242, 0.92);
  --line-soft: rgba(90, 58, 48, 0.16);
}

* {
  box-sizing: border-box;
}


/* Paint trail canvas */
#paint-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 20%, rgba(196, 164, 114, 0.24), transparent 38%),
    radial-gradient(circle at 10% 70%, rgba(139, 90, 82, 0.14), transparent 42%),
    linear-gradient(160deg, var(--bg), #f9efe2 46%, var(--bg-soft));
  min-height: 100vh;
  letter-spacing: 0.01em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(rgba(48, 26, 14, 0.05) 0.4px, transparent 0.4px);
  background-size: 4px 4px;
  opacity: 0.14;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  backdrop-filter: blur(8px);
  background: rgba(247, 238, 228, 0.84);
  border-bottom: 1px solid rgba(32, 22, 15, 0.08);
}

.topbar nav {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 1rem;
  min-width: 230px;
  display: none;
  flex-direction: column;
  padding: 0.4rem;
  background: rgba(255, 248, 237, 0.98);
  border: 1px solid rgba(32, 22, 15, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(38, 23, 16, 0.14);
  z-index: 25;
}

.topbar nav.open {
  display: flex;
}

.topbar a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}

.topbar nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 90, 82, 0.72), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.topbar nav a {
  padding: 0.62rem 0.5rem;
  border-radius: 8px;
}

.topbar nav a:hover {
  background: rgba(196, 164, 114, 0.18);
}

.topbar nav a:hover::after {
  transform: scaleX(1);
}

.topbar nav a.admin-link {
  margin-top: 0.2rem;
  text-align: center;
  border: 1px solid rgba(160, 114, 85, 0.5);
  background: rgba(196, 164, 114, 0.18);
  font-weight: 700;
}

.topbar nav a.admin-link::after {
  display: none;
}

.topbar nav a.admin-link:hover {
  background: rgba(196, 164, 114, 0.3);
  border-color: rgba(160, 114, 85, 0.65);
}

.topbar .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 4px;
  background: transparent;
  border: 1px solid rgba(139, 90, 82, 0.3);
  border-radius: 8px;
  cursor: pointer;
  z-index: 21;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rust);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 680px) {
  .topbar nav {
    left: 1rem;
    right: 1rem;
    min-width: auto;
  }

  .topbar nav a {
    font-size: 0.9rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(45, 33, 26, 0.14);
}

main,
.footer {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  min-height: 88vh;
  padding: 7rem 1.2rem 3rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero.jpeg');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.1);
  animation: heroZoom 9s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(28, 16, 10, 0.54), rgba(100, 58, 48, 0.24));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  min-height: min(70vh, 720px);
  color: #f9f3eb;
  animation: fadeUp 1.2s ease 0.3s both;
}

.hero-tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
  margin: 1.25rem 0 0;
  color: rgba(249, 243, 235, 0.94);
  max-width: 20ch;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.hero p {
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: min(100%, 18rem);
}

.availability-note {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.availability-note--hero {
  width: 100%;
  text-align: right;
  color: rgba(249, 243, 235, 0.92);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(95deg, var(--rust), #a07255 48%, var(--sand));
  color: #fffaf3;
  box-shadow: 0 14px 30px rgba(120, 74, 64, 0.36);
}

.btn-light {
  color: #fdf5ec;
  border-color: rgba(253, 238, 218, 0.58);
  background: rgba(253, 238, 218, 0.14);
}

.panel {
  position: relative;
  width: min(1080px, 92%);
  margin: 6rem auto;
  background: var(--card);
  border-radius: 24px;
  padding: clamp(1.3rem, 2.2vw, 2.7rem);
  box-shadow: 0 15px 48px rgba(47, 29, 15, 0.08);
  border: 1px solid var(--line-soft);
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) 1.1fr;
  gap: 1.3rem;
  align-items: center;
}

.panel-grid img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin-bottom: 0.9rem;
}

.panel p {
  line-height: 1.8;
}

.signature {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #7a4a3e;
}

.philosophy-note {
  margin-top: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #8b5a42;
}

.philosophy-list {
  margin: 0.9rem 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  line-height: 1.7;
}

.philosophy-list li::before {
  content: '... ';
  color: var(--muted);
  font-weight: 600;
}

.philosophy-highlight {
  margin-top: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.philosophy-quote {
  margin-top: 1.8rem;
  text-align: center;
  border-left: none;
  padding-left: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  color: #2a1a12;
}

.philosophy-quote cite {
  margin-top: 0.8rem;
  font-size: 1.02rem;
  color: #2a1a12;
}

.philosophy-title {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}

/* About section: dual images */
.about-grid {
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Increased specificity (0,2,0) beats .panel-grid img (0,1,1) */
.about-grid > .about-portrait {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  border-radius: 18px;
}

/* Show giraffe (portrait-format) in full without cropping */
#therapy .panel-grid img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

.about-action {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 18px;
}

.bio-subhead {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}

.bio-quote {
  margin: 1.2rem 0 0.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sand);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.bio-quote cite {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  color: var(--rust);
}

.atelier-details {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.9;
}

.atelier-details a {
  color: var(--rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.atelier-details a:hover {
  color: #6d3f34;
}

.therapy-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.therapy-list p {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid var(--sand);
  background: rgba(255, 249, 239, 0.52);
  border-radius: 0 12px 12px 0;
}

.therapy-source {
  margin: 0.4rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.education-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.7;
}

.contact-quote {
  margin-bottom: 1rem;
}

.contact-photo {
  object-position: center;
}

/* Philosophy layout */
.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: center;
}

.philosophy-img {
  width: min(100%, 520px);
  height: auto;
  border-radius: 18px;
  margin: 0 auto;
}

/* Gallery carousel */
.gallery-section {
  width: min(1260px, 96%);
  margin: 6rem auto;
}

.gallery-carousel {
  position: relative;
}

.gallery-track-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  border-radius: 22px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  cursor: grab;
  scrollbar-width: none;
  -webkit-user-select: none;
  user-select: none;
}

.gallery-track-wrapper.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-track-wrapper::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
}

.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gallery-slide img {
  width: 100%;
  height: clamp(420px, 66vh, 760px);
  object-fit: contain;
  background: linear-gradient(160deg, #f8eee2, #f2e1cf);
  display: block;
  border-radius: 22px;
  -webkit-user-drag: none;
  transition: filter 0.3s ease;
}

.gallery-slide img:hover {
  filter: brightness(1.04);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(40, 24, 16, 0.12);
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.gallery-prev { left: 0.8rem; }
.gallery-next { right: 0.8rem; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(139, 90, 82, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.gallery-dot.active {
  background: var(--rust);
  transform: scale(1.2);
}

/* Offer card images */
.offer-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.7rem;
}

/* Footer address */
.footer-address {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.panel-accent {
  background:
    linear-gradient(120deg, rgba(196, 164, 114, 0.18), rgba(139, 90, 82, 0.1)),
    rgba(255, 253, 249, 0.88);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.offer-card {
  background: rgba(255, 249, 239, 0.95);
  border: 1px solid rgba(95, 74, 58, 0.15);
  border-radius: 18px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 114, 85, 0.45);
  box-shadow: 0 14px 26px rgba(80, 44, 34, 0.13);
}

.offer-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.offer-card p {
  color: #4f372d;
}

.offer-card--featured {
  position: relative;
  border-width: 2px;
  border-color: var(--gold);
}

.offer-badge {
  position: absolute;
  top: -11px;
  left: 1.2rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ad8a54;
  color: #f9efe2;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.offer-divider {
  margin: 0.75rem 0;
  border-top: 1px solid rgba(95, 74, 58, 0.18);
}

.offer-price {
  margin: 0;
  color: #3f2921;
  font-weight: 600;
  line-height: 1.55;
}

.offer-price-inline strong {
  font-weight: 700;
}

.offer-price-inline span {
  color: #694c42;
  font-weight: 500;
}

.offer-price-table {
  display: grid;
  gap: 0.35rem;
}

.offer-price-row {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: #493228;
}

.offer-price-row strong {
  font-weight: 700;
}

.offer-note {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-style: italic;
  color: #5f463b;
}

.offer-price-stack {
  display: grid;
  gap: 0.15rem;
}

.offer-price-stack strong {
  font-size: 1.03rem;
}

.offer-price-stack span {
  font-style: italic;
  color: #60473d;
  font-size: 0.95rem;
}

.offer-cta {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.offer-cta:hover {
  transform: translateY(-1px);
}

.offer-cta:focus-visible {
  outline: 2px solid #7a4f2f;
  outline-offset: 2px;
}

.offer-cta-primary {
  background: #4c2d1c;
  color: #f7ece0;
  border: none;
}

.offer-cta-primary:hover {
  box-shadow: 0 8px 16px rgba(62, 37, 24, 0.24);
}

.offer-cta-secondary {
  background: transparent;
  color: #3f2921;
  border: 1px solid var(--gold);
}

.offer-cta-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.offers-note {
  margin-top: 1.25rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-left: 4px solid var(--sand);
  background: rgba(255, 248, 236, 0.7);
  border-radius: 0 12px 12px 0;
}

.offers-note-icon {
  color: #936b40;
  flex: 0 0 auto;
  margin-top: 0.05rem;
}

.offers-note-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.offers-note p {
  margin: 0;
  color: #4c352b;
  line-height: 1.65;
}

.offers-note strong {
  color: #37241c;
}

.booking-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(95, 74, 58, 0.14);
  border-radius: 16px;
  padding: 0.95rem;
}

.booking .btn {
  margin-top: 0.6rem;
}

.booking .availability-note {
  color: var(--muted);
}

.field-row {
  display: grid;
  gap: 0.35rem;
}

.field-row label,
.slot-title {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select {
  width: 100%;
  border: 1px solid rgba(95, 74, 58, 0.24);
  border-radius: 12px;
  padding: 0.74rem 0.85rem;
  background: linear-gradient(170deg, #fffefb, #fff8ef);
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(139, 90, 82, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 164, 114, 0.26);
}

select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.9rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #8b5a52 50%),
    linear-gradient(135deg, #8b5a52 50%, transparent 50%),
    linear-gradient(to right, rgba(139, 90, 82, 0.3), rgba(139, 90, 82, 0.3)),
    linear-gradient(170deg, #fffefb, #fff8ef);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 13px) 50%,
    calc(100% - 2.25rem) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    1px 58%,
    100% 100%;
  background-repeat: no-repeat;
}

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

.slot-list button {
  border: 1px solid rgba(95, 74, 58, 0.3);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.slot-list button:hover {
  transform: translateY(-1px);
  border-color: rgba(160, 114, 85, 0.52);
  background: rgba(252, 244, 234, 0.96);
}

.slot-list button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.slot-placeholder {
  margin: 0;
  color: var(--muted);
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.form-message:not(:empty) {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.form-message.is-success {
  background: rgba(30, 95, 63, 0.1);
  border: 1px solid rgba(30, 95, 63, 0.25);
  color: #1e5f3f;
}

.form-message.is-error {
  background: rgba(159, 47, 21, 0.08);
  border: 1px solid rgba(159, 47, 21, 0.22);
  color: #9f2f15;
}

/* Hide topbar when booking modal is open to prevent bleed-through */
body:has(.booking-modal.open) .topbar {
  visibility: hidden;
  pointer-events: none;
}

/* Booking success panel */
.booking-success {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 70% 20%, rgba(196, 164, 114, 0.22), transparent 40%),
    linear-gradient(160deg, rgba(255, 251, 243, 0.99), rgba(248, 238, 228, 0.99));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem);
  text-align: center;
  z-index: 5;
  animation: successFadeIn 0.35s ease;
}

.booking-success[hidden] {
  display: none;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.booking-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e7d54, #1e5f3f);
  color: #fff;
  font-size: 1.9rem;
  line-height: 64px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(30, 95, 63, 0.28);
  flex-shrink: 0;
}

.booking-success-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink);
  line-height: 1.1;
}

.booking-success-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 420px;
}

.booking-success-details {
  margin: 0.4rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(95, 74, 58, 0.14);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  width: 100%;
  max-width: 440px;
  font-size: 0.95rem;
}

.booking-success-details dt {
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.booking-success-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.booking-gcal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
}

.booking-success-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-top: 0.2rem;
}

.booking-success-close:hover {
  color: var(--ink);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal.open {
  visibility: visible;
  opacity: 1;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 84%, rgba(196, 164, 114, 0.28), transparent 36%),
    rgba(22, 12, 8, 0.6);
  backdrop-filter: blur(6px);
}

.booking-dialog {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  border-radius: 26px;
  padding: clamp(1rem, 2.2vw, 2rem);
  background:
    radial-gradient(circle at 84% 18%, rgba(196, 164, 114, 0.28), transparent 38%),
    radial-gradient(circle at 14% 96%, rgba(139, 90, 82, 0.18), transparent 36%),
    linear-gradient(160deg, rgba(255, 251, 243, 0.99), rgba(248, 238, 228, 0.99));
  box-shadow: 0 28px 70px rgba(19, 13, 9, 0.33);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s ease;
  border: 1px solid rgba(110, 75, 50, 0.2);
}

.booking-dialog::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  mix-blend-mode: screen;
}

.booking-modal.open .booking-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(95, 74, 58, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.05);
  background: #fff;
}

.modal-subtitle {
  margin-top: 0.2rem;
  margin-bottom: 1.2rem;
}

.modal-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.modal-brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(95, 74, 58, 0.18);
  padding: 0.25rem;
  box-shadow: 0 10px 22px rgba(45, 33, 26, 0.12);
}

.booking-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(290px, 0.9fr) 1.1fr;
}

.calendar-card {
  border: 1px solid rgba(95, 74, 58, 0.15);
  border-radius: 18px;
  padding: 0.9rem;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 242, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.month-nav {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(95, 74, 58, 0.25);
  background: linear-gradient(150deg, #ffffff, #fff5e7);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.month-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 90, 82, 0.5);
}

.calendar-label {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.weekday-row {
  margin-bottom: 0.4rem;
}

.weekday-row span {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar-grid button {
  border: 1px solid rgba(95, 74, 58, 0.18);
  background: linear-gradient(160deg, #fffefb, #fff7ea);
  border-radius: 10px;
  height: 38px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.calendar-grid button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(160, 114, 85, 0.55);
  box-shadow: 0 8px 14px rgba(100, 58, 42, 0.14);
}

.calendar-grid button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.calendar-grid button.today {
  border-color: rgba(160, 114, 85, 0.7);
}

.calendar-grid button.active {
  background: linear-gradient(96deg, var(--rust), var(--clay) 46%, var(--sand));
  color: #fff;
  border-color: transparent;
}

.calendar-grid .calendar-blank {
  height: 38px;
}

.selected-date-text {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  text-align: center;
  padding: 2.2rem 1rem 2.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion: instant reveal */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 10, 6, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox-img {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.3s ease;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 82;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 82;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.gallery-slide img {
  cursor: pointer;
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
    filter: saturate(0.82);
  }
  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    position: sticky;
    top: 0;
  }

  .topbar .brand {
    font-size: 1.2rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-actions {
    position: static;
    margin-top: 1.8rem;
    justify-content: flex-start;
    width: 100%;
  }

  .availability-note--hero {
    text-align: left;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-dialog {
    max-height: 92vh;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    flex-direction: row;
  }

  .about-grid > .about-portrait {
    max-height: none;
    width: 100%;
  }

  .about-action {
    max-height: 200px;
    width: 50%;
  }

  .philosophy-layout {
    grid-template-columns: 1fr;
  }

  .gallery-slide img {
    height: clamp(300px, 52vh, 460px);
  }
}
