/* DariART: light sand palette. Always light, also on systems in dark mode. */
html { color-scheme: light; }
:root {
  --bez: #E4C39A;           /* page background: sand beige from the client's sketch */
  --bez-light: #EFD9B9;     /* soft boxes, placeholders */
  --bez-soft: #F4E6D1;      /* pills, hover fills */
  --krem: #FCF7F0;          /* cream panels, cards */
  --karmel: #654A28;        /* accent: links, selected states */
  --karmel-deep: #5A4022;
  --zloto: #B8924F;         /* gold of the logo, decorative only */
  --braz: #3B2E25;          /* text: dark espresso brown */
  --braz-soft: #5C4B3C;
  --ground: var(--bez);
  --ink: var(--braz);
  --ink-soft: var(--braz-soft);
  --line: rgb(59 46 37 / .14);
  --ph: #EEDCC2;
  --ph-glow: rgb(255 255 255 / .55);
  --shadow: 0 18px 40px -18px rgb(90 60 30 / .35);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Lora", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --r: 14px;
  --gut: clamp(16px, 4vw, 56px);
  --inset: clamp(8px, 1.6vw, 24px);   /* gap between cream panels and the window edge */
  --panel-r: clamp(28px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--karmel); color: var(--krem); }
:focus-visible { outline: 3px solid var(--karmel); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--karmel) var(--ground); }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--karmel); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 750; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--krem); color: var(--braz); padding: 8px 14px; border-radius: 99px; z-index: 30; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
  padding: .85em 1.4em; border-radius: 99px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .2s;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 10px 22px -12px rgb(59 46 37 / .55);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ink { background: var(--braz); color: var(--krem); }
.btn-ink:hover { background: #54443A; }
.btn-paper { background: var(--krem); color: var(--braz); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--karmel); text-decoration-thickness: 2px; }
/* Logo: gold D mark + wordmark (light/dark files in /img) */
.mark { display: inline-flex; }
.mark img { height: 44px; width: auto; }

/* Nav */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  height: 72px; padding: 0 var(--gut); color: var(--ink);
}
.nav nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; }
.nav nav a { text-decoration: none; opacity: .9; }
.nav nav a:hover { opacity: 1; text-decoration: underline; }
.nav .btn { padding: .65em 1.15em; }
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}

/* Hero: soft beige field, text + logo only (client's sketch) */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  background:
    radial-gradient(70% 55% at 85% 12%, rgb(255 255 255 / .32), transparent 70%),
    var(--bez);
  color: var(--ink);
}
.hero-in {
  position: relative; z-index: 1;
  min-height: 100dvh; padding: 112px var(--gut) 48px; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; gap: 32px clamp(32px, 5vw, 80px);
}
.hero-copy { max-width: 40rem; }
.hero h1 { font: 500 clamp(2.5rem, 5vw, 4.4rem)/1.08 var(--serif); letter-spacing: -.015em; }
.hero h1 .hl { display: block; }
.hero-copy p { margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 32rem; color: var(--ink-soft); }
.hero-copy em { font-family: var(--serif); font-style: italic; color: var(--karmel-deep); }
.hero-sub-a, .hero-sub-b { font: 400 clamp(1.3rem, 2.2vw, 1.75rem)/1.3 var(--serif); }
.hero-copy .hero-sub-a { margin-top: 32px; color: var(--ink); }
.hero-copy .hero-sub-b { margin-top: 10px; color: var(--ink); }
.hero-copy .hero-lead { margin-top: 28px; }
.hero-side { display: grid; justify-items: center; gap: 28px; }
.hero-logo {
  margin: 0; width: min(100%, 460px); padding: clamp(28px, 4vw, 48px);
  border-radius: 28px; background: var(--krem);
  box-shadow: 0 30px 60px -34px rgb(90 60 30 / .45), inset 0 0 0 1px rgb(184 146 79 / .18);
}
.hero-logo img { width: 100%; height: auto; }
/* subpages: compact header, no full-screen height */
.hero-sub .hero-in { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 28px; padding-top: clamp(112px, 12vw, 150px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-sub h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }

/* entrance: text lines and logo fade up, the gold catches the light once */
@media (prefers-reduced-motion: no-preference) {
  .hero-home .hl { animation: fadeUp 1s var(--ease) both; }
  .hero-home h1 .hl:nth-child(2) { animation-delay: .12s; }
  .hero-home .hero-sub-a { animation-delay: .3s; }
  .hero-home .hero-sub-b { animation-delay: .42s; }
  .hero-home .hero-lead { animation-delay: .56s; }
  .hero-logo { position: relative; overflow: hidden; animation: logoIn 1.4s .2s var(--ease) both; }
  .hero-logo::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .75) 50%, transparent 65%);
    translate: -110% 0; animation: shine 1.8s 1.2s ease-in-out both;
  }
  .hero-home .book { animation: fadeUp 1s .7s var(--ease) both; }
}
@keyframes fadeUp { from { opacity: 0; translate: 0 18px; } }
@keyframes logoIn { from { opacity: 0; scale: .94; translate: 0 14px; } }
@keyframes shine { to { translate: 110% 0; } }

.book {
  display: flex; align-items: end; gap: 6px;
  padding: 8px; border-radius: 26px; background: var(--krem); color: var(--braz);
  box-shadow: 0 24px 50px -24px rgb(60 40 20 / .45);
}
.book .field { padding: 6px 12px; }
.book .field span { font-size: .75rem; color: var(--braz-soft); }
.book select, .book input { border: 0; background: transparent; padding: 2px 0; font-weight: 700; min-width: 0; width: 100%; }
.book select:focus, .book input:focus { outline: none; }
.book .field:focus-within { background: var(--bez-soft); border-radius: 18px; }
.book .btn { padding: 1em 1.4em; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 96px; }
  .hero-side { order: -1; }
  .hero-logo { width: min(72%, 320px); padding: 24px; }
  .hero-side .book, .hero-sub .book { width: 100%; flex-wrap: wrap; }
  .book .field { flex: 1 1 8rem; }
  .book .btn { flex: 1 1 100%; justify-content: center; }
}

/* Generic field */
.field { display: grid; gap: 4px; }
.field > span { font-weight: 600; font-size: .9rem; }

/* Placeholder slots for client photos */
.slot {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center;
  background: radial-gradient(90% 70% at 30% 20%, var(--ph-glow), transparent 60%), var(--ph);
  color: var(--ink-soft);
}
.slot > i { font-size: 2rem; opacity: .7; }
.slot figcaption { font-size: .85rem; line-height: 1.4; max-width: 24ch; }
.slot-tall { aspect-ratio: 4 / 5; }
.slot-sq { aspect-ratio: 1; }
.slot-wide { aspect-ratio: 3 / 2; }
.slot-portrait { aspect-ratio: 4 / 5; }
.slot img, .shot img { width: 100%; height: 100%; object-fit: cover; }

/* Offer */
.offer { padding: clamp(80px, 12vw, 160px) var(--gut) clamp(64px, 9vw, 120px); max-width: 1400px; margin: 0 auto; }
.walls { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.walls-pics { position: relative; padding-bottom: 12%; }
.walls-pics .slot-tall { width: 78%; box-shadow: var(--shadow); }
.walls-pics .slot-sq { position: absolute; right: 0; bottom: 0; width: 40%; box-shadow: var(--shadow); border: 6px solid var(--ground); }
.walls-text p { margin: 20px 0 24px; color: var(--ink); max-width: 46ch; }

.rent { margin-top: clamp(80px, 11vw, 140px); }
.rent-head p { margin-top: 12px; color: var(--ink-soft); max-width: 46ch; }
.rail {
  list-style: none; padding: 0; margin: 32px calc(var(--gut) * -1) 0; padding-inline: var(--gut);
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail li { scroll-snap-align: start; }
.rail .slot { aspect-ratio: 4 / 5; }
.rail h4 { font-size: 1.15rem; font-weight: 700; margin-top: 14px; letter-spacing: -.015em; line-height: 1.2; }
.slot-led { background: #2A221B; color: #E8DCCB; }
.led {
  font: 700 3.4rem/1 var(--display); color: #FFF3E0; letter-spacing: -.02em;
  text-shadow: 0 0 6px #E8B96A, 0 0 22px rgb(232 185 106 / .55);
}
.led-num { font-size: 5rem; }
.slot-led figcaption { color: #C8B8A4; }
/* No mirror photo yet: an arched selfie mirror drawn in CSS, replaced when a photo is uploaded */
.slot-mirror { background: radial-gradient(80% 60% at 50% 30%, rgb(255 255 255 / .5), transparent 70%), var(--bez-soft); }
.slot-mirror figcaption { display: none; }
.mirror {
  position: relative; width: 140px; aspect-ratio: 1 / 1.7; border-radius: 999px 999px 14px 14px;
  border: 7px solid var(--krem); box-shadow: 0 0 0 2px var(--karmel), 0 22px 40px -18px rgb(90 60 30 / .5);
  background:
    linear-gradient(118deg, transparent 30%, rgb(255 255 255 / .75) 31% 36%, transparent 37% 44%, rgb(255 255 255 / .45) 45% 47%, transparent 48%),
    linear-gradient(180deg, #F8F0E5, #E8D8C0);
}
.mirror i { position: absolute; top: 18%; right: 16%; font-size: 1.6rem; color: var(--karmel); }

/* Workshops: on the sand page, between two cream panels */
.workshops {
  color: var(--ink);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(72px, 10vw, 140px) max(var(--gut), calc((100% - 1400px) / 2 + var(--gut)));
}
.ws-text p { margin-top: 18px; max-width: 44ch; color: var(--ink-soft); }
.ws-text .btn { margin-top: 32px; }
.workshops .btn-paper { background: var(--braz); color: var(--krem); }
.workshops .btn-paper:hover { background: #54443A; }
.ws-pics { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: end; }
.ws-pics .slot { background: var(--bez-light); color: var(--ink-soft); }
.ws-pics .slot-sq { translate: 0 18%; }

/* Gallery */
.gallery { padding: clamp(80px, 12vw, 160px) var(--gut); max-width: 1400px; margin: 0 auto; }
.chips { display: flex; gap: 8px; margin: 28px 0 36px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips button {
  flex: none; border: 0; cursor: pointer; padding: 9px 16px; border-radius: 99px;
  background: var(--bez-soft); font-weight: 600; transition: background .2s, color .2s;
}
.chips button[hidden] { display: none; }
.chips-sub { margin-top: -24px; }
.chips-sub:not(:has(button:not([hidden]))) { display: none; }
.chips-sub button { padding: 6px 13px; font-size: .9em; }
.chips button:hover { background: #E6D5BC; }
.chips button[aria-pressed="true"] { background: var(--karmel); color: var(--krem); }
.grid { columns: 3 280px; column-gap: 20px; }
.grid > figure { break-inside: avoid; margin-bottom: 20px; }
.grid > figure[hidden] { display: none; }
.empty { color: var(--ink-soft); }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0 28px; } /* 6 tiles: 3+3, then 2+2+2 */
@media (max-width: 860px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.picks .shot { position: relative; aspect-ratio: 4 / 5; }
.picks .shot img { height: 100%; }
.picks figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px;
  background: var(--krem); color: var(--karmel); font-size: .85rem; font-weight: 700;
}

/* About */
.about {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: 0 var(--gut) clamp(80px, 12vw, 160px); max-width: 1400px; margin: 0 auto;
}
.about .slot-portrait { box-shadow: var(--shadow); rotate: -2deg; }
.about-text p { margin-top: 18px; color: var(--ink-soft); max-width: 52ch; }
.creds { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.creds li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.creds i { font-size: 1.4rem; color: var(--karmel); }
/* Quote on occasion subpages */
.q { margin: 0; padding: 32px; border-radius: 28px; background: var(--bez-soft); }
.q blockquote { margin: 0; font: 650 1.3rem/1.35 var(--display); letter-spacing: -.015em; }
.q figcaption { margin-top: 20px; font-size: .95rem; display: flex; gap: 8px; align-items: baseline; }
.q figcaption b { font-size: 1.05rem; }

/* FAQ */
.faq {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: 0 var(--gut) clamp(100px, 13vw, 180px); max-width: 1400px; margin: 0 auto;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.faq summary i {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px;
  background: var(--bez-soft); font-size: 1.1rem; transition: rotate .4s var(--ease), background .2s, color .2s;
}
.faq summary:hover i { background: var(--karmel); color: var(--krem); }
.faq details[open] summary i { rotate: 45deg; background: var(--ink); color: var(--ground); }
.faq details p { padding: 0 56px 24px 0; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* Contact: cream panel */
.contact {
  color: var(--ink);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(80px, 11vw, 150px) var(--gut);
}
.c-info p { margin-top: 16px; color: var(--ink-soft); max-width: 36ch; }
.c-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; font-weight: 600; }
.c-list li { display: flex; gap: 12px; align-items: center; }
.c-list i { font-size: 1.3rem; }
.c-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--krem); color: var(--braz); padding: clamp(20px, 3vw, 36px); border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgb(60 40 20 / .7);
}
.c-form .field-wide, .c-form .err, .c-form .btn, .c-form .ok { grid-column: 1 / -1; }
.c-form input, .c-form select, .c-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #DCCBB3; background: #fff; color: var(--braz);
}
.c-form textarea { resize: vertical; }
.c-form ::placeholder { color: #8C7B6A; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--karmel); box-shadow: 0 0 0 3px rgb(140 107 64 / .2); }
.c-form [aria-invalid="true"] { border-color: #B3261E; }
.c-form .err { color: #B3261E; font-weight: 600; }
.c-form .btn { justify-self: start; }
.c-form .ok { font: 700 1.5rem/1.2 var(--display); }

/* Footer */
.foot {
  --f-ink: #EFE4D3; --f-soft: #C8B8A4; --f-accent: #D9B98A; --f-line: rgb(255 255 255 / .12);
  background: var(--braz); color: var(--f-ink);
  padding: clamp(64px, 9vw, 120px) var(--gut) 28px;
}
.foot a { color: inherit; text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.foot a:hover, .foot a:focus-visible { color: #fff; background-size: 100% 1.5px; }
.foot-top {
  padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--f-line);
}
.foot-claim { font: 800 clamp(2.4rem, 6vw, 5.2rem)/.98 var(--display); letter-spacing: -.04em; color: var(--krem); }
.foot-claim span { color: var(--f-accent); }
.foot-social { display: flex; gap: 14px; margin-top: 6px; font-size: 1.5rem; }
.foot-social a { background: none; }
.foot-social a:hover { color: var(--f-accent); }
.foot-mid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); gap: 40px clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vw, 72px) 0;
}
.foot-brand .mark img { height: 40px; }
.foot-brand p { margin-top: 18px; color: var(--f-soft); max-width: 34ch; line-height: 1.6; }
.foot-nav h2 { font: 700 1rem/1 var(--body); color: var(--f-accent); margin-bottom: 18px; }
.foot-nav address { font-style: normal; }
.foot-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-occ .occ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 28px; }
.foot-occ .occ a { padding: 0; border-radius: 0; box-shadow: none; font-weight: 400; background: linear-gradient(currentColor 0 0) 0 100% / 0 1.5px no-repeat; }
.foot-occ .occ a:hover { color: #fff; background-size: 100% 1.5px; }
.foot-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 24px; border-top: 1px solid var(--f-line); font-size: .88rem; color: var(--f-soft);
}
@media (prefers-reduced-motion: reduce) { .foot a { transition: none; } }

/* Map in the contact block, tinted to the beige palette (SVG filter in partials/contact.php) */
.c-map { margin-top: 32px; height: clamp(240px, 26vw, 320px); border-radius: 20px; overflow: hidden; background: #EFE4D3; box-shadow: 0 24px 50px -28px rgb(60 40 20 / .8); z-index: 0; }
.c-map .leaflet-tile-pane { filter: url(#mapa-bez); /* tiles mapped to the beige palette: dark brown -> light sand */ }
.c-map .leaflet-control-attribution { font-size: 10px; background: rgb(251 247 241 / .8); }
.c-map .leaflet-bar { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px -10px rgb(60 40 20 / .5); }
.c-map .leaflet-bar a { width: 34px; height: 34px; line-height: 34px; background: var(--krem); color: var(--braz); border-bottom-color: var(--line); font: 600 18px/34px var(--body); }
.c-map .leaflet-bar a:hover { background: var(--bez-soft); }
.c-map .leaflet-control-attribution a { color: var(--karmel); }
.c-route { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--ink); font-weight: 600; }

/* Entrance: content fades up when it scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; translate: 0 40px; transition: opacity .9s var(--ease), translate 1.1s cubic-bezier(.34, 1.4, .64, 1); }
  .js .rise.up { opacity: 1; translate: 0 0; }
  ::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Mobile collapse */
@media (max-width: 860px) {
  .walls, .workshops, .about, .contact, .wed-grid { grid-template-columns: minmax(0, 1fr); }
  .wed-pics { order: -1; }
  .c-form { grid-template-columns: 1fr; }
  .ws-pics .slot-sq { translate: 0 0; }
  .foot-mid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .foot-mid { grid-template-columns: 1fr; } .foot-occ .occ { grid-template-columns: 1fr; } }


/* Real photos (managed in /admin) */
.slot.has-img { display: block; padding: 0; background: var(--ph); }
.shot { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ph); }
/* Realization number clients can quote */
.shot { position: relative; scroll-margin-top: 96px; }
.shot .nr {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px;
  background: rgb(251 247 241 / .92); color: var(--braz); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; user-select: all;
}
.shot:target { outline: 4px solid var(--karmel); outline-offset: 3px; }
.nr-hint { margin: -12px 0 28px; color: var(--ink-soft); max-width: 60ch; }
.shot[data-nr] { cursor: zoom-in; }
.shot[data-nr]:focus-visible { outline: 3px solid var(--karmel); outline-offset: 3px; }

/* Lightbox */
html:has(.lb[open]) { overflow: hidden; }
.lb {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 20px;
  border: 0; background: transparent; color: var(--krem);
  display: none; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
}
.lb[open] { display: grid; }
.lb::backdrop { background: rgb(28 22 17 / .97); }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-height: 0; }
.lb img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: var(--r); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8); }
.lb figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; text-align: center; max-width: 60ch; }
.lb-nr { font-variant-numeric: tabular-nums; }
.lb-alt { color: #E8DCCB; }
.lb-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(251 247 241 / .12); color: var(--krem); font-size: 1.4rem; transition: background .2s;
}
.lb-btn:hover { background: rgb(251 247 241 / .24); }
.lb-btn:focus-visible { outline: 3px solid var(--krem); outline-offset: 2px; }
.lb-x { position: fixed; top: 16px; right: 16px; }
@media (max-width: 860px) {
  .lb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; padding: 64px 12px 16px; }
  .lb figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: end; }
  .lb-next { grid-row: 2; justify-self: start; }
  .lb img { max-height: calc(100dvh - 230px); }
}
.shot img { height: auto; }
.hp { position: absolute; left: -9999px; }
.c-form [hidden] { display: none; }

/* Occasion subpages */
.hero-sub, .hero-sub .hero-in { min-height: 0; }
.hero-sub .book { justify-self: start; }
.hero-sub .hero-copy { max-width: 46rem; }
.crumbs { display: flex; gap: 10px; margin-bottom: 18px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.crumbs a { color: inherit; }

.sub-intro, .ideas, .steps, .more {
  padding: clamp(80px, 11vw, 140px) var(--gut) 0; max-width: 1400px; margin: 0 auto;
}
.sub-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.sub-prose { max-width: 62ch; font-size: 1.12rem; }
.sub-prose p + p { margin-top: 18px; }
.sub-quote { margin-top: 36px; max-width: 34rem; }

.idea-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(28px, 4vw, 48px); }
.idea-list article { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.idea-list h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 750; letter-spacing: -.02em; }
.idea-list p { margin-top: 10px; color: var(--ink-soft); max-width: 46ch; }

/* the order is the information here, so the steps carry their numbers */
.steps ol { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: krok; }
.steps li { counter-increment: krok; }
.steps li::before { content: counter(krok); display: block; font: 800 clamp(3rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; color: var(--karmel); margin-bottom: 14px; }
.steps h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--ink-soft); max-width: 34ch; }
.faq { padding-top: clamp(80px, 11vw, 140px); }
.faq + .more { padding-top: 0; }
.more { padding-bottom: clamp(80px, 11vw, 140px); }

/* links to occasion pages: same pills as the gallery filter */
.occ { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more .occ { margin-top: 28px; }
.occ a {
  display: inline-block; padding: 9px 16px; border-radius: 99px; background: var(--bez-soft);
  font-weight: 600; text-decoration: none; transition: background .2s, color .2s;
}
.occ a:hover { background: var(--karmel); color: var(--krem); }
.occ-h { font-weight: 700; margin-bottom: 10px; }
.walls-text .occ { margin-bottom: 28px; }
.ws-more { display: inline-flex; align-items: center; gap: .4em; margin: 32px 0 0 20px; font-weight: 700; color: var(--karmel); }
.rent-head .link { margin-top: 14px; }
@media (max-width: 860px) {
  .sub-intro, .idea-list, .steps ol { grid-template-columns: minmax(0, 1fr); }
  .steps ol { gap: 28px; }
  .ws-more { margin-left: 0; display: flex; }
}

/* Legal pages */

.legal {
  background: var(--krem); margin: 0 var(--inset); border-radius: var(--panel-r); line-height: 1.65;
  padding: clamp(48px, 7vw, 88px) max(var(--gut), calc((100% - 46rem) / 2));
  box-shadow: 0 30px 70px -50px rgb(90 60 30 / .45);
}
/* legal pages: heading lines up with the text column below */
.hero-legal .hero-in { max-width: calc(46rem + 2 * var(--gut)); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 2.2em 0 .6em; }
.legal p, .legal li { margin-top: .6em; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal-date { color: var(--ink-soft); font-size: .95rem; }
.legal-note { font-size: .88rem; color: #6B5A4A; }
.legal-note a { color: var(--karmel); }

/* Offer: list of what's included, and the wedding block (client's sketch) */
.walls-text { background: var(--bez); border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.walls-text .walls-lead { margin: 20px 0 20px; }
.walls-lead b { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink); }
.ticks li::before { /* flat round bullet in the accent colour */
  content: ''; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--karmel);
}

.wedding { margin-top: clamp(80px, 11vw, 140px); }
.wed-kicker { font: 500 clamp(1.8rem, 3.6vw, 3rem)/1.15 var(--serif); text-align: center; max-width: 22ch; margin: 0 auto clamp(36px, 5vw, 64px); text-wrap: balance; }
.wed-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.wed-text { background: var(--bez); border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.wed-text h3 { font: 500 clamp(1.7rem, 3vw, 2.4rem)/1.12 var(--serif); letter-spacing: -.01em; }
.wed-text > p { margin: 18px 0 22px; color: var(--ink); max-width: 50ch; }
.wed-pics { position: relative; padding-bottom: 14%; }
.wed-pics .slot-tall { width: 74%; margin-left: auto; box-shadow: var(--shadow); }
.wed-pics .slot-sq { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); border: 6px solid var(--ground); }

/* text on sand fields: full ink for readability */
.walls-text .link, .wed-text .link, .workshops .ws-more { color: var(--karmel-deep); }
.walls-text .occ a { background: var(--krem); }
.walls-text .occ a:hover, .walls-text .occ a:focus-visible { background: var(--karmel); color: var(--krem); }
.ws-text p, .c-info p, .hero-copy p { color: var(--ink); }
.hero-copy .hero-lead { color: var(--braz-soft); }

/* Sections alternate: sand page, cream rounded panels floating on it (offer, gallery, contact) */
.offer, .gallery, .contact {
  background: var(--krem); max-width: none;
  margin-inline: var(--inset); border-radius: var(--panel-r);
  padding-inline: max(var(--gut), calc((100% - 1400px) / 2 + var(--gut)));
  box-shadow: 0 30px 70px -50px rgb(90 60 30 / .45);
}
.about { padding-top: clamp(80px, 12vw, 160px); }
.contact { margin-bottom: var(--inset); }
.contact .c-form { background: #fff; box-shadow: 0 30px 60px -36px rgb(60 40 20 / .5), inset 0 0 0 1px rgb(184 146 79 / .15); }
.contact .c-map { box-shadow: inset 0 0 0 1px rgb(184 146 79 / .2), 0 24px 50px -32px rgb(60 40 20 / .6); }
.foot { margin-inline: var(--inset); border-radius: var(--panel-r) var(--panel-r) 0 0; }

/* Dropdowns (booking bar + contact form): a cream card in the page's type.
   Uses the customizable <select> where supported; other browsers keep their native list. */
.book select, .c-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.6em;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23654A28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .3em center / .8em;
}
.c-form select { background-color: #fff; background-position: right 12px center; padding-right: 36px; }
.book option, .c-form option { font: 600 1rem var(--body); color: var(--braz); background: var(--krem); }
@supports (appearance: base-select) {
  .book select, .book select::picker(select), .c-form select, .c-form select::picker(select) { appearance: base-select; }
  .book select, .c-form select { background-image: none; display: flex; align-items: center; justify-content: space-between; gap: .5em; }
  .book select::picker-icon, .c-form select::picker-icon {
    content: ''; width: .8em; height: .8em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23654A28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: rotate .35s var(--ease);
  }
  .book select:open::picker-icon, .c-form select:open::picker-icon { rotate: 180deg; }
  .book select::picker(select), .c-form select::picker(select) {
    border: 0; border-radius: 20px; padding: 8px; margin-block: 10px; min-width: 15rem; max-height: min(24rem, 60vh); overflow-y: auto;
    background: var(--krem); color: var(--braz);
    box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 28px 60px -24px rgb(60 40 20 / .55), 0 4px 14px -6px rgb(60 40 20 / .25);
    scrollbar-width: thin; scrollbar-color: var(--zloto) transparent;
    opacity: 0; translate: 0 -8px;
    transition: opacity .2s, translate .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
  }
  .book select:open::picker(select), .c-form select:open::picker(select) { opacity: 1; translate: 0 0; }
  @starting-style { .book select:open::picker(select), .c-form select:open::picker(select) { opacity: 0; translate: 0 -8px; } }
  .book option, .c-form option {
    display: flex; align-items: center; padding: 10px 14px; border-radius: 12px; cursor: pointer;
    font: 500 1.05rem/1.2 var(--serif); color: inherit; background: transparent; transition: background .15s, color .15s;
  }
  .book option::checkmark, .c-form option::checkmark { display: none; }
  .book option:hover, .book option:focus-visible, .c-form option:hover, .c-form option:focus-visible { background: var(--bez-soft); outline: none; }
  .book option:checked, .c-form option:checked { background: var(--bez); color: var(--braz); font-weight: 600; }
  @media (prefers-reduced-motion: reduce) {
    .book select::picker(select), .c-form select::picker(select), .book select::picker-icon, .c-form select::picker-icon { transition: none; }
  }
}

/* Date picker: button that looks like the field + cream calendar card */
.dp-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .6em; width: 100%; min-width: 9.5rem;
  border: 0; background: transparent; padding: 2px 0; font-weight: 700; color: var(--braz); cursor: pointer; text-align: left; white-space: nowrap;
}
.dp-btn.empty span { color: var(--braz-soft); font-weight: 600; }
.dp-btn svg { width: 1.1em; height: 1.1em; flex: none; color: var(--karmel); }
.c-form .dp-btn { padding: 12px 14px; border-radius: 12px; border: 1.5px solid #DCCBB3; background: #fff; font-weight: 500; }
.c-form .dp-btn:focus-visible { outline: none; border-color: var(--karmel); box-shadow: 0 0 0 3px rgb(140 107 64 / .2); }
.dp {
  position: fixed; inset: auto; margin: 0; width: 20rem; max-width: calc(100vw - 16px); padding: 14px;
  border: 0; border-radius: 20px; background: var(--krem); color: var(--braz);
  box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 28px 60px -24px rgb(60 40 20 / .55), 0 4px 14px -6px rgb(60 40 20 / .25);
  opacity: 0; translate: 0 -8px;
  transition: opacity .2s, translate .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
}
.dp:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .dp:popover-open { opacity: 0; translate: 0 -8px; } }
.dp::backdrop { background: transparent; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-head b { font: 500 1.2rem var(--serif); text-transform: capitalize; }
.dp-nav {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--bez-soft); color: var(--braz); transition: background .15s;
}
.dp-nav svg { width: 16px; height: 16px; }
.dp-nav:hover { background: #EAD3B2; }
.dp-nav:disabled { opacity: .35; cursor: default; background: transparent; }
.dp-week, .dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dp-week span { font-size: .78rem; font-weight: 700; color: var(--braz-soft); padding: 6px 0; }
.dp-days button {
  aspect-ratio: 1; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: var(--braz);
  font: 600 .98rem var(--body); font-variant-numeric: tabular-nums; transition: background .15s, color .15s;
}
.dp-days button:hover { background: var(--bez-soft); }
.dp-days button.today { box-shadow: inset 0 0 0 1.5px var(--zloto); }
.dp-days button[aria-pressed="true"] { background: var(--karmel); color: var(--krem); box-shadow: 0 6px 14px -6px rgb(101 74 40 / .7); }
.dp-days button:disabled { opacity: .3; cursor: default; background: transparent; }
.dp button:focus-visible { outline: 3px solid var(--karmel); outline-offset: 1px; }
.dp-clear {
  width: 100%; margin-top: 10px; padding: 12px; border: 0; border-radius: 12px; cursor: pointer;
  font: 700 1rem var(--body); background: var(--bez-soft); color: var(--braz);
}
.dp-clear:hover { background: #EAD3B2; }
@media (prefers-reduced-motion: reduce) { .dp { transition: none; } }
.book .dp-btn span { font-size: 1rem; color: inherit; }
.book .dp-btn.empty span { color: var(--braz-soft); }
@media (max-width: 860px) {
  .wed-grid { grid-template-columns: minmax(0, 1fr); }
  .wed-pics { order: -1; }
}

/* Subpages keep the rhythm too: gallery and "how it works" are cream panels */
.steps {
  background: var(--krem); max-width: none; margin: clamp(80px, 11vw, 140px) var(--inset) 0; border-radius: var(--panel-r);
  padding: clamp(64px, 9vw, 110px) max(var(--gut), calc((100% - 1400px) / 2 + var(--gut)));
  box-shadow: 0 30px 70px -50px rgb(90 60 30 / .45);
}
.hero-sub + .gallery { padding-top: clamp(48px, 6vw, 80px); }
.sub-intro + .gallery { margin-top: clamp(80px, 11vw, 140px); padding-top: clamp(64px, 9vw, 110px); }
.legal + .contact { margin-top: clamp(80px, 11vw, 140px); }

/* Social links: inline SVG icons */
.ico { flex: none; width: 1.3rem; height: 1.3rem; }
.c-social .ico { color: var(--karmel); }
.foot-social a { display: inline-flex; padding: 4px; }
.foot-social .ico { width: 26px; height: 26px; }
.gal-links { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.link-ig .ico { width: 1.15em; height: 1.15em; }
.grecaptcha-badge { visibility: hidden; } /* allowed: the form shows the reCAPTCHA notice instead */
