:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --surface: #ffffff;
  --text: #252421;
  --muted: #77746d;
  --line: #dedbd5;
  --sage: #7f927d;
  --sage-dark: #6f826d;
  --sage-soft: #eef1ed;
  --terracotta: #c97f63;
  --terracotta-dark: #b86f55;
  --booked: #b58a72;
  --shadow: 0 18px 42px rgba(42, 38, 32, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.section-shell,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  color: #1f1f1e;
  font-size: 1rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 4px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 32px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.active {
  background: var(--sage);
  color: #fff;
}

.nav-links a {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 6px 0;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  min-height: clamp(640px, calc(100vh - 96px), 790px);
  padding: clamp(40px, 6vw, 78px) 0 42px;
}

.hero-copy {
  max-width: 560px;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.45rem, 6vw, 5.25rem);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 520px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  min-width: 250px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(72, 66, 56, 0.13);
}

.button-primary {
  background: var(--sage);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--sage-dark);
}

.button-accent {
  width: min(360px, 100%);
  background: var(--terracotta);
}

.button-accent:hover,
.button-accent:focus-visible {
  background: var(--terracotta-dark);
}

.hero-frame {
  margin: 0;
  aspect-ratio: 0.88;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #ece9e3;
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1;
}

.section-heading span {
  height: 1px;
  background: var(--line);
}

.about-section,
.portfolio-section,
.services-section,
.booking-notes-section,
.booking-section {
  scroll-margin-top: 98px;
  padding: 10px 0 26px;
}

.about-section {
  padding-top: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding-bottom: 20px;
}

.about-lead {
  max-width: 640px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.about-copy {
  display: grid;
  gap: 24px;
  color: var(--muted);
}

.about-copy > p {
  max-width: 620px;
  margin-bottom: 0;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-facts dt {
  margin-bottom: 6px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.about-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.photo-card {
  position: relative;
  margin: 0;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: #edeae5;
  box-shadow: 0 12px 28px rgba(54, 48, 40, 0.08);
}

.gallery-card {
  width: 100%;
  padding: 0;
  color: #fff;
  cursor: zoom-in;
}

.gallery-card img {
  transition: transform 500ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.035);
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(127, 146, 125, 0.34);
  outline-offset: 4px;
}

.gallery-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  min-height: 38%;
  background: linear-gradient(180deg, transparent, rgba(24, 22, 19, 0.58));
  padding: 42px 18px 16px;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.6vw, 1.36rem);
  line-height: 1.12;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-card:hover span,
.gallery-card:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 8px;
  background: #181613;
  color: #fff;
  padding: 0;
  box-shadow: 0 24px 80px rgba(24, 22, 19, 0.34);
}

.lightbox::backdrop {
  background: rgba(24, 22, 19, 0.62);
  backdrop-filter: blur(10px);
}

.lightbox-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: min(760px, calc(100vh - 32px));
  padding: 24px;
}

.lightbox-figure {
  display: grid;
  gap: 14px;
  margin: 0;
  min-width: 0;
}

.lightbox-figure img {
  width: auto;
  height: min(670px, calc(100vh - 128px));
  max-width: 100%;
  object-fit: contain;
  justify-self: center;
  border-radius: 5px;
  background: #0f0e0d;
}

.lightbox-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #181613;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox .icon-button:hover,
.lightbox .icon-button:focus-visible {
  background: #fff;
  color: var(--sage-dark);
}

.lightbox .lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lightbox .lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.94);
  color: #181613;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 26px;
  min-height: 170px;
  padding: 22px clamp(18px, 3vw, 44px);
}

.service-item + .service-item {
  border-left: 1px solid var(--line);
}

.service-item svg {
  width: 42px;
  height: 42px;
  margin-top: 8px;
  fill: none;
  stroke: #1f1f1e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.service-item h3 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.price {
  margin-bottom: 20px;
  color: #6e6961;
  font-size: 1.12rem;
}

.service-item p:last-child {
  max-width: 250px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.booking-notes-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  padding: 20px 0 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.extras-note,
.rules-note {
  min-width: 0;
}

.note-title {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
}

.extras-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.rules-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.availability-pill {
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4e4a44;
  padding: 12px 18px;
  text-align: center;
  font-size: 0.92rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 480px) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 74px);
  align-items: start;
}

.calendly-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.calendly-panel iframe {
  width: 100%;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.calendly-panel .ghost-button {
  justify-self: start;
}

.calendar-panel {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 22px;
}

.calendar-top p {
  margin-bottom: 16px;
  color: #37342f;
  font-size: 0.98rem;
}

.calendar-controls {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.calendar-controls strong {
  text-align: center;
  font-weight: 500;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1f1f1e;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: #f1f0ec;
  color: var(--sage-dark);
}

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

.weekday-row {
  margin-bottom: 8px;
  color: #54504a;
  font-size: 0.84rem;
  text-align: center;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  gap: 1px;
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #2f2d29;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.05;
}

.calendar-day.outside,
.calendar-day:disabled {
  color: #aaa59c;
  cursor: default;
}

.calendar-day:not(:disabled):hover,
.calendar-day:not(:disabled):focus-visible {
  background: var(--sage-soft);
}

.calendar-day.selected {
  background: var(--sage);
  color: #fff;
}

.calendar-day.partial {
  background: #f8f4ef;
  color: #775847;
}

.calendar-day.full {
  background: #f4eee9;
  color: var(--booked);
  text-decoration: line-through;
}

.calendar-day.full::after,
.calendar-day.partial::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--booked);
}

.calendar-day.partial::after {
  background: var(--sage);
}

.day-slots {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1;
  text-decoration: none;
}

.calendar-day.selected .day-slots {
  color: rgba(255, 255, 255, 0.78);
}

.calendar-day.full .day-slots {
  color: var(--booked);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.legend-free {
  border: 1px solid var(--line);
  background: #fff;
}

.legend-selected {
  background: var(--sage);
}

.legend-booked {
  background: var(--booked);
}

.booking-form {
  display: grid;
  gap: 18px;
}

.booking-form label {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.booking-form span {
  padding-top: 14px;
  color: #34312d;
  font-size: 0.98rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  outline: none;
  padding: 15px 16px;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.booking-form textarea {
  resize: vertical;
  min-height: 112px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(127, 146, 125, 0.16);
}

.booking-form .button {
  margin-left: 134px;
}

.form-note {
  min-height: 26px;
  margin: -2px 0 0 134px;
  color: var(--sage-dark);
  font-size: 0.95rem;
}

.form-note a {
  border-bottom: 1px solid currentColor;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  font-family: var(--serif);
  color: var(--text);
  font-size: 1.35rem;
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 15px 18px;
}

button:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

code {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
}

@media (max-width: 900px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(var(--max), calc(100% - 32px));
  }

  .site-header {
    min-height: 72px;
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-frame {
    aspect-ratio: 1.08;
  }

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

  .lightbox-figure img {
    max-height: min(700px, calc(100vh - 128px));
  }

  .services-grid,
  .booking-layout,
  .about-layout,
  .booking-notes-section {
    grid-template-columns: 1fr;
  }

  .availability-pill {
    width: fit-content;
  }

  .service-item {
    border-top: 1px solid var(--line);
    padding-inline: 0;
  }

  .service-item + .service-item {
    border-left: 0;
  }

  .booking-form .button,
  .form-note {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    justify-items: start;
    padding: 20px 0 18px;
  }

  .brand {
    align-self: center;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }

  .language-switcher {
    justify-self: end;
  }

  h1 {
    font-size: clamp(2.7rem, 13.8vw, 3.5rem);
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .photo-card {
    aspect-ratio: 0.78;
  }

  .gallery-card span {
    opacity: 1;
    transform: none;
    padding: 34px 12px 12px;
    font-size: 1rem;
  }

  .lightbox {
    width: calc(100% - 18px);
  }

  .lightbox-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: calc(100vh - 18px);
    padding: 14px;
  }

  .lightbox-figure {
    order: 1;
  }

  .lightbox-nav {
    top: 50%;
    width: 48px;
    height: 48px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-figure figcaption {
    display: grid;
    gap: 4px;
  }

  .services-section,
  .booking-section {
    padding-top: 22px;
  }

  .service-item {
    grid-template-columns: 42px 1fr;
    gap: 18px;
  }

  .booking-form label {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .booking-form span {
    padding-top: 0;
  }

  .calendar-panel {
    padding: 16px;
  }

  .calendly-panel iframe {
    min-height: 720px;
  }

  .calendar-legend {
    gap: 10px;
  }

  .site-footer {
    display: grid;
    gap: 8px;
  }
}
