/* Base, reusable components, public pages and private panel. */
:root {
  --cream: #f8f4ee;
  --paper: #fffdf9;
  --ink: #392e30;
  --muted: #75686a;
  --primary: #963f3f;
  --primary-hover: #7d3030;
  --line: #e3d9d4;
  --pale: #f0e8e3;
  --rose: #efe2dd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.7 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

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

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

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(38px, 4.1vw, 58px);
}

h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.14;
  letter-spacing: -1.4px;
}

h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

em {
  font-style: normal;
  font-weight: 400;
}

p {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--primary);
  color: white;
  padding: 10px;
  z-index: 100;
}

.skip:focus {
  top: 10px;
}

/* Navigation */
.header {
  height: 100px;
  max-width: 1440px;
  padding: 0 5%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  padding-inline: 6%;
  border-color: var(--line);
}

.logo {
  font:
    32px/1.1 Georgia,
    serif;
  letter-spacing: -1.2px;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.brand-prefix {
  font-style: italic;
  font-weight: 400;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.header nav > a:hover {
  color: var(--primary);
}

.header nav > .button:hover {
  color: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 25px;
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s;
  letter-spacing: 0.1px;
}

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

.button.small {
  padding: 11px 18px;
}

.button:disabled {
  background: #abb4a4;
  border-color: #abb4a4;
}

.button.full {
  width: 100%;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.button.secondary:hover {
  background: var(--pale);
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}

body:not(.admin-page) .eyebrow {
  display: none;
}

/* Home and rental presentation */
.hero {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 7%;
  padding: 60px 6% 64px;
}

.hero-copy {
  padding-block: 15px;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(44px, 4.65vw, 68px);
  line-height: 1.07;
  letter-spacing: -2px;
  color: var(--ink);
  max-width: 570px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.85;
  max-width: 410px;
}

.hero-location {
  margin-top: 18px;
  font-size: 15px;
  max-width: 390px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-figure picture {
  display: block;
  border-radius: 180px 180px 3px 3px;
  overflow: hidden;
  height: 530px;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-figure figcaption {
  font-size: 12px;
  margin-top: 14px;
  text-align: left;
  max-width: 460px;
  line-height: 1.6;
  color: var(--muted);
}

figcaption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

.section {
  max-width: 1240px;
  margin: auto;
  padding: 65px 4%;
  padding-block: 80px;
}

.section-intro {
  margin-bottom: 30px;
}

.section-intro h2 {
  margin-bottom: 16px;
}

.section-intro p {
  max-width: 650px;
}

.steps {
  border-block: 0;
  padding-block: 64px;
  border-top: 0;
}

.steps h2 {
  margin-bottom: 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps-grid h3 {
  margin-bottom: 8px;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.steps-grid p {
  font-size: 15px;
  line-height: 1.7;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
  padding-top: 24px;
}

.product figure img {
  width: 100%;
  height: 600px;
  border-radius: 6px;
  max-height: none;
  object-fit: cover;
  background: var(--rose);
  object-position: center;
}

.product h2 {
  margin-bottom: 25px;
}

.product-copy > p {
  font-size: 16px;
  line-height: 1.85;
  max-width: 440px;
}

.product-copy .brand-story {
  margin-bottom: 18px;
}

.price-card {
  margin: 28px 0 22px;
  padding: 28px;
  background: var(--paper);
  border-radius: 3px;
  border: 1px solid var(--line);
  margin-block: 30px 24px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-row strong {
  font:
    40px Georgia,
    serif;
  white-space: nowrap;
  color: var(--primary);
  font-size: 45px;
}

.price-card p {
  font-size: 15px;
  margin-top: 16px;
  color: var(--ink);
  line-height: 1.8;
}

.price-card .deposit {
  margin-top: 0;
}

.mini-note {
  font-size: 14px;
  line-height: 1.7;
}

.price-card .mini-note {
  font-size: 13px;
  color: var(--muted);
}

.text-link {
  font-size: 15px;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  line-height: 1.65;
}

.real-weddings {
  border-bottom: 0;
}

.gallery-empty {
  padding: 26px;
  background: var(--pale);
  border-radius: 4px;
  max-width: 760px;
  font-size: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wedding-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

.wedding-photo h3 {
  margin: 15px 0 8px;
}

.wedding-photo .location {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 7px;
}

.wedding-photo p {
  font-size: 15px;
}

.wedding-photo figcaption {
  margin-top: 0;
}

#gallery-more {
  margin-top: 25px;
}

.cities > h2 {
  margin-bottom: 14px;
}

.cities > p {
  max-width: 700px;
}

.cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}

.city-card {
  display: block;
  padding: 0;
}

.city-card h3 {
  font:
    600 22px/1.35 Georgia,
    serif;
  margin-bottom: 10px;
}

.city-card p {
  margin-bottom: 10px;
  font-size: 15px;
  max-width: 390px;
  line-height: 1.7;
}

/* Booking and contact sections */
.booking-section {
  padding: 65px max(5%, calc((100vw - 1068px) / 2));
  background: #ede3de;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding-block: 80px;
  column-gap: 8%;
  row-gap: 40px;
}

.booking-intro {
  padding-top: 35px;
  min-width: 0;
}

.booking-intro h2 {
  margin-bottom: 25px;
  font-size: clamp(40px, 4vw, 60px);
  max-width: 440px;
  line-height: 1.1;
}

.booking-intro > p {
  font-size: 16px;
  line-height: 1.8;
}

.booking-intro > .text-link {
  display: inline-block;
  margin-top: 23px;
}

.booking-explanation {
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
  font-size: 15px !important;
  border-color: #d6c7c0;
}

.booking-card {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  border-color: #ded0c9;
  box-shadow: 0 12px 36px #48273506;
  min-width: 0;
}

/* Form controls and calendar */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d4d9d0;
  border-radius: 3px;
  padding: 11px 12px;
  background: #fffdfa;
  font-size: 16px;
  color: var(--ink);
  min-height: 45px;
  border-color: #ddd4ce;
  min-width: 0;
}

.field textarea {
  resize: vertical;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 23px 0 17px;
}

.calendar-nav h3 {
  font:
    22px Georgia,
    serif;
  text-transform: none;
}

.calendar-nav button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
}

.calendar-nav button:disabled {
  opacity: 0.3;
}

.calendar-week,
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}

.calendar-week {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}

.calendar button {
  border: 0;
  border-radius: 4px;
  min-height: 40px;
  background: #f0eee5;
  color: #5d664c;
  font-size: 14px;
}

.calendar button:hover:enabled {
  background: #e1e3d6;
}

.calendar button:disabled {
  background: #f5f4f1;
  color: #a9aba5;
  text-decoration: line-through;
}

.calendar button.selected {
  background: var(--primary);
  color: white;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 19px;
}

.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}

.available-dot {
  background: #a4b398;
}

.unavailable-dot {
  background: #dedfd8;
}

.selected-dot {
  background: var(--primary);
}

.date-summary {
  font-size: 14px;
  padding: 14px;
  background: #f5efeb;
  margin: 0 0 16px;
  border-radius: 4px;
  min-height: 53px;
}

.date-summary strong {
  color: var(--ink);
  font-weight: 500;
}

#pickup-note {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0 22px;
}

.consent input {
  accent-color: var(--primary);
  margin: 5px 0 0;
}

.consent a {
  text-decoration: underline;
}

.booking-card form > .mini-note {
  margin-top: 14px;
  font-size: 14px;
  margin-bottom: 0;
}

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

.error {
  color: #982b36;
  font-size: 14px;
  margin-top: 12px;
}

.success-icon {
  font-size: 32px;
  color: var(--primary);
}

#booking-result h3 {
  font:
    27px Georgia,
    serif;
  margin: 10px 0 20px;
}

#booking-result p {
  margin-bottom: 18px;
  font-size: 15px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: 8%;
  row-gap: 32px;
}

.contact-section h2 {
  margin-bottom: 24px;
}

.contact-section > div > p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.85;
}

.contact-section #contact-result {
  font-size: 16px;
  line-height: 1.8;
}

/* Questions and footer */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
  border-top: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

summary::-webkit-details-marker {
  display: none;
}

summary > span {
  color: var(--primary);
}

details[open] summary > span {
  transform: rotate(45deg);
}

details p {
  font-size: 15px;
  margin-top: 15px;
  line-height: 1.8;
}

footer {
  padding: 35px 5%;
  background: #ece2dc;
  padding-block: 45px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 14px;
  color: var(--muted);
  max-width: 1160px;
  margin: auto;
  align-items: flex-start;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* Information pages */
.prose {
  max-width: 920px;
  padding-block: 65px;
}

.prose h1 {
  margin: 22px 0 35px;
  font-size: clamp(38px, 5vw, 56px);
}

.prose h2 {
  font-size: 30px;
  margin: 35px 0 16px;
  letter-spacing: -0.5px;
}

.prose p,
.prose li {
  margin-bottom: 17px;
  font-size: 16px;
}

.prose .lead {
  font-size: 19px;
  margin-bottom: 24px;
}

.prose ol {
  padding-left: 22px;
}

.prose li {
  color: var(--muted);
}

.prose p a {
  text-decoration: underline;
  color: var(--primary);
}

/* Assembly instructions follow the owner's inventory and rear-brace layout. */
.assembly-inventory {
  padding-left: 22px;
  margin: 0 0 24px;
}
.assembly-inventory li {
  margin-bottom: 8px;
}
.assembly-inventory strong {
  font-weight: 600;
  color: var(--ink);
}
.assembly-steps > li {
  padding-left: 6px;
  margin-bottom: 26px;
}
.assembly-steps > li::marker {
  font-weight: 600;
  color: var(--primary);
}
.assembly-steps h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.assembly-steps p {
  margin-bottom: 10px;
}
.assembly-important {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--primary);
  background: var(--paper);
}
.tensor-diagram {
  max-width: 460px;
  margin: 20px 0;
}
.tensor-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.tensor-diagram figcaption {
  font-size: 14px;
  margin-top: 8px;
}

.guide-timeline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--pale);
  margin: 25px 0;
  font-size: 14px;
}

.guide-timeline strong {
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
}

.local-hero {
  padding-bottom: 40px;
}

.local-hero h1 {
  margin: 0 0 25px;
}

.local-hero > p {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: 17px;
}

.local-hero .lead {
  font-size: 21px;
  color: var(--ink);
}

.local-hero .button {
  margin-top: 14px;
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-top: 20px;
  align-items: center;
}

.local-grid img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.local-grid h2 {
  margin: 0 0 25px;
  font-size: 36px;
}

.local-grid p {
  font-size: 16px;
  margin-bottom: 18px;
}

.local-terms {
  border-top: 1px solid var(--line);
  max-width: 900px;
}

.local-terms h2 {
  margin-bottom: 25px;
}

.local-terms p {
  margin-bottom: 20px;
}

.legal-preview {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--pale);
}

#preview-banner {
  background: var(--primary);
  color: white;
  text-align: center;
  font-size: 13px;
  padding: 6px;
}

/* Private administration panel */
.admin-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 5% 70px;
}

.admin-container h1 {
  font-size: 42px;
  margin: 10px 0 20px;
}

.admin-container h2 {
  font-size: 28px;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.admin-login {
  max-width: 440px;
  margin: 30px auto 60px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 30px;
}

.admin-top p {
  font-size: 14px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.admin-tabs button {
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
}

.admin-tabs button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.admin-box {
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 25px;
}

.admin-box p {
  font-size: 14px;
  margin-bottom: 20px;
}

.admin-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-stats > div {
  flex: 1;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 5px;
  font-size: 14px;
  color: var(--muted);
}

.admin-stats strong {
  display: block;
  font:
    32px Georgia,
    serif;
  color: var(--primary);
}

.booking-item {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 5px;
  margin: 15px 0;
  background: var(--paper);
}

.booking-item h3 {
  margin: 10px 0 12px;
}

.booking-item p {
  font-size: 14px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.booking-item .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 17px;
}

.tag {
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 3px;
  background: #f0e4d3;
  color: #735e3c;
}

.tag.confirmed {
  background: #e4eadb;
  color: #53653e;
}

.tag.cancelled,
.tag.expired {
  background: #ebe8e1;
  color: #666;
}

.admin-notice {
  font-size: 14px;
  background: var(--pale);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.location-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.location-item button {
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 14px;
}

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

.admin-day {
  min-height: 66px;
  padding: 6px;
  border: 1px solid var(--line);
  background: #f8f9f5;
  border-radius: 4px;
  font-size: 12px;
}

.admin-day b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.admin-day.pending {
  background: #f5e7cf;
}

.admin-day.confirmed {
  background: #dfe7d4;
}

.admin-day.blocked {
  background: #ead5d7;
}

.admin-day small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
}

.admin-calendar .weekday {
  font-size: 13px;
  text-align: center;
}

.admin-filter {
  max-width: 260px;
}

.mail-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    14px/1.8 ui-monospace,
    monospace;
  padding: 20px;
  background: #f3f5ef;
  border-radius: 4px;
}

.email-status {
  color: var(--primary);
  font-size: 14px;
}

.gallery-editor img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: var(--cream);
  margin-bottom: 20px;
}

.gallery-editor .actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.upload-status {
  font-size: 14px;
  margin-top: 15px;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.steps-grid article {
  min-width: 0;
}

.real-weddings .gallery-empty {
  background: transparent;
  border-left: 2px solid var(--line);
  border-radius: 0;
  padding: 8px 24px;
  font-size: 15px;
}

.calendar button.selected,
.calendar button.selected:hover:enabled {
  background: var(--primary);
  color: white;
}

.footer-bottom > p {
  font:
    20px/1.5 Georgia,
    serif;
  color: var(--primary);
}

.calendar-nav h3::first-letter {
  text-transform: uppercase;
}

.password-box {
  max-width: 640px;
}

.password-box .mini-note {
  margin: 0;
}

/* Responsive layout */
@media (max-width: 1050px) {
  .header nav {
    gap: 18px;
  }

  .hero {
    gap: 5%;
    padding-top: 45px;
    padding-inline: 5%;
  }

  .hero h1 {
    font-size: 51px;
  }

  .product {
    gap: 6%;
  }

  .section {
    padding-inline: 5%;
  }

  .booking-section {
    padding-inline: 5%;
    gap: 5%;
  }

  .booking-card {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-figure picture {
    height: 470px;
  }

  .product figure img {
    height: 530px;
  }
}

@media (max-width: 760px) {
  .header {
    height: 80px;
    padding: 0 6%;
    padding-inline: 6%;
  }

  .header nav > a:not(.button) {
    display: none;
  }

  .logo {
    font-size: 30px;
  }

  .button.small {
    padding: 9px 12px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 42px 6% 35px;
    gap: 32px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -1.6px;
    max-width: 500px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .hero-figure figcaption {
    font-size: 12px;
  }

  .section {
    padding: 56px 6%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps-grid h3 {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }

  .product > figure {
    display: none;
  }

  .product figure img {
    height: auto;
    max-height: 660px;
    border-radius: 6px;
    object-fit: contain;
    background: transparent;
  }

  .product-copy > p {
    font-size: 16px;
  }

  .price-card {
    padding: 22px;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 15px;
  }

  .wedding-photo h3 {
    font-size: 17px;
  }

  .wedding-photo p {
    font-size: 14px;
  }

  .wedding-photo .location {
    font-size: 13px;
  }

  .booking-section {
    grid-template-columns: 1fr;
    padding: 48px 6%;
    gap: 28px;
  }

  .booking-intro {
    padding-top: 0;
  }

  .booking-intro h2 {
    margin-bottom: 20px;
    font-size: 43px;
  }

  .booking-intro > p {
    font-size: 16px;
  }

  .booking-explanation {
    margin-top: 25px;
    padding-top: 20px;
  }

  .booking-card {
    padding: 23px 18px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .faq h2 {
    margin-bottom: 0;
  }

  footer {
    padding: 30px 6%;
  }

  .footer-bottom {
    font-size: 13px;
  }

  .local-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .local-hero h1 {
    font-size: 38px;
  }

  .local-grid h2 {
    font-size: 31px;
  }

  .prose h1 {
    font-size: 38px;
  }

  .guide-timeline {
    padding: 17px;
    gap: 10px;
  }

  .guide-timeline strong {
    font-size: 14px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-section > div > p {
    font-size: 16px;
  }

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

  .admin-tabs {
    gap: 7px;
  }

  .admin-tabs button {
    font-size: 13px;
    padding: 8px 11px;
  }

  .admin-stats {
    gap: 10px;
  }

  .admin-stats > div {
    padding: 12px;
    font-size: 13px;
  }

  .admin-top {
    align-items: flex-start;
    gap: 20px;
  }

  .admin-container h1 {
    font-size: 35px;
  }

  .admin-calendar {
    gap: 3px;
  }

  .admin-day {
    padding: 4px;
    min-height: 58px;
  }

  .admin-day small {
    font-size: 9px;
  }

  .admin-box {
    padding: 20px;
  }

  .form-grid {
    gap: 12px;
  }

  .price-row {
    align-items: flex-start;
  }

  .price-row strong {
    font-size: 36px;
  }

  .header nav {
    gap: 0;
  }

  .hero-figure picture {
    height: auto;
    aspect-ratio: 1.1;
    border-radius: 130px 130px 3px 3px;
  }

  .hero-figure img {
    height: 100%;
  }

  .steps h2 {
    margin-bottom: 25px;
  }

  .steps-grid article {
    padding-top: 0;
  }

  .footer-bottom > p {
    font-size: 19px;
  }

  .steps {
    padding-block: 48px;
  }
}

@media (max-width: 450px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header {
    gap: 10px;
  }

  .logo {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 43px;
  }

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

  .calendar-nav h3 {
    font-size: 21px;
  }

  .legend {
    font-size: 12px;
  }

  .hero-figure picture {
    aspect-ratio: 1;
  }

  .booking-intro h2 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

.settings-box {
  max-width: 640px;
}
#settings-form > .admin-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

/* Compact supporting information keeps the rental and availability first. */
.steps,
.cities {
  padding-block: 48px;
}
.steps h2,
.cities h2 {
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.city-card .text-link {
  font-size: 14px;
}

/* Real wedding thumbnails open a native, keyboard-accessible full view. */
.photo-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--rose);
}
.photo-open-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--primary);
  font-size: 13px;
  line-height: 1.6;
}
.wedding-photo {
  min-width: 0;
}
.photo-viewer {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.photo-viewer::backdrop {
  background: rgb(42 27 27 / 82%);
}
.photo-viewer-open {
  overflow: hidden;
}
.viewer-content {
  padding: 20px;
}
.viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 16px;
}
.viewer-toolbar h2 {
  font:
    24px/1.3 Georgia,
    serif;
  letter-spacing: -0.3px;
}
.viewer-close {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--primary);
}
.photo-viewer img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 200px);
  object-fit: contain;
}
.viewer-caption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .steps,
  .cities {
    padding-block: 40px;
  }
  .steps h2 {
    margin-bottom: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .wedding-photo img {
    aspect-ratio: 1;
  }
  .wedding-photo h3 {
    margin: 10px 0 6px;
    font-size: 15px;
    line-height: 1.45;
  }
  .wedding-photo .gallery-description {
    display: none;
  }
  .viewer-content {
    padding: 16px;
  }
  .viewer-toolbar h2 {
    font-size: 20px;
  }
  .viewer-toolbar {
    gap: 12px;
  }
  .photo-viewer img {
    max-height: calc(100dvh - 240px);
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
