/* Huwelijksreis op maat (31 Oct 2026): a refined section of the same site. Same fonts, buttons, radii and pine/saffron;
   only more whitespace, ivory bands, thin champagne lines, larger photos and a calm fade-in. */
.hm { --hm-ivory: #faf7f1; --hm-line: #e4d7bd; --hm-gold: #8a6d3b; --hm-gold-soft: #c9ad78; }
:root[data-theme="dark"] .hm { --hm-ivory: #172521; --hm-line: #3c4a3f; --hm-gold: #d8bd8a; --hm-gold-soft: #a88d5c; }
.hm-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hm-gold); }
.hm-rule { display: block; width: 64px; height: 1px; background: var(--hm-gold-soft); }
.hm h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
.hm h2 { font-weight: 600; }
.hm-section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.hm-ivory { background: var(--hm-ivory); border-block: 1px solid var(--hm-line); }
.hm-head { display: grid; gap: .9rem; max-width: 60ch; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; justify-items: center; }
.hm-head-lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 56ch; }
.hm-narrow { max-width: 820px; }

/* hero */
.hm-hero { background: var(--hm-ivory); border-bottom: 1px solid var(--hm-line); }
.hm-hero-in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 6rem); grid-template-columns: minmax(0, 1fr); }
.hm-hero-text { display: grid; gap: 1.3rem; justify-items: start; }
.hm-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 50ch; }
.hm-hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.hm-hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hm-hero-photo picture, .hm-photo picture { display: block; width: 100%; height: 100%; }
.hm-hero-photo img, .hm-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .hm-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hm-hero-photo { aspect-ratio: 5 / 4; } }

/* promises */
.hm-promises { padding-block: clamp(2.5rem, 6vw, 4rem); }
.hm-prom { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
.hm-prom li { display: grid; gap: .45rem; text-align: center; padding-inline: .5rem; align-content: start; }
.hm-prom h3 { font-size: 1.15rem; }
.hm-prom p { color: var(--ink-soft); font-size: .98rem; }
@media (min-width: 760px) { .hm-prom { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .hm-prom li + li { border-left: 1px solid var(--hm-line); } .hm-prom li { padding-inline: 2rem; } }

/* destinations grid (Yari 31 Oct, round 2): the trip-card of the destinations page; rules copied from showcase.css (not loaded here) */
.hm-group + .hm-group { margin-top: clamp(3.5rem, 8vw, 6rem); }
.hm-group-head { display: grid; gap: .45rem; justify-items: center; text-align: center; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.hm-group-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.hm-group-head p { color: var(--ink-soft); font-size: 1.02rem; }
.hm-group-head::after { content: ""; width: 64px; height: 1px; background: var(--hm-gold-soft); margin-top: .5rem; }
@media (min-width: 760px) { .hm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; } }  /* 4 luxury cards: 2 x 2, never 3 + 1 */
.hm-grid { --sc-shadow: 0 10px 30px rgba(29, 90, 75, .12); --sc-radius: 18px; --sc-land: #d3ddd3; }
:root[data-theme="dark"] .hm-grid { --sc-shadow: 0 10px 30px rgba(0, 0, 0, .4); --sc-land: #27463e; }
.hm .trip-card { background: var(--surface); border-radius: var(--sc-radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sc-shadow); display: flex; flex-direction: column; position: relative; scroll-margin-top: 90px; }
.hm .card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sc-land); }
.hm .card-media picture { display: block; width: 100%; height: 100%; }
.hm .card-media img, .hm .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hm .trip-card:hover .card-media img { transform: scale(1.05); }
.hm .tc-body { padding: 1.1rem 1.2rem 1.2rem; gap: .35rem; flex: 1 1 auto; display: flex; flex-direction: column; }
.hm .card-region { font: 600 .72rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pine); }
.hm .card-title { font-size: 1.45rem; }
.hm .card-title a { color: inherit; text-decoration: none; }
.hm .card-title a:hover { color: var(--pine); text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.hm .card-tag { color: var(--ink-soft); font-size: .95rem; }
.hm .tc-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .4rem; font-size: .95rem; font-variant-numeric: tabular-nums; }
.hm .tc-price strong { font-size: 1.1rem; }
.hm .tc-indic { font-size: .8rem; color: var(--ink-soft); flex-basis: 100%; }
.hm .card-actions { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: auto; padding-top: .6rem; }
.hm-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--hm-ivory), var(--hm-line)); }
.hm-grid-note { margin-top: 1.6rem; text-align: center; font-size: .85rem; color: var(--ink-soft); }
.hm .btn { padding: .8rem 1.2rem; font-size: .95rem; }
.hm .btn.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .hm .card-media img { transition: none; } .hm .trip-card:hover .card-media img { transform: none; } }

/* steps */
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.8rem; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
.hm-steps li { display: grid; gap: .5rem; justify-items: start; align-content: start; }
.hm-step-n { font-family: var(--font-display); font-size: 1.05rem; color: var(--hm-gold); width: 2.4rem; height: 2.4rem; border: 1px solid var(--hm-gold-soft); border-radius: 50%; display: grid; place-items: center; }
.hm-steps h3 { font-size: 1.12rem; }
.hm-steps p { color: var(--ink-soft); font-size: .97rem; }
@media (min-width: 760px) { .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 3rem; } }
@media (min-width: 1100px) { .hm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* when to go where */
.hm-cal { max-width: 920px; margin-inline: auto; }
.hm-cal ul { list-style: none; margin: 0; padding: 0; }
.hm-cal li, .hm-cal-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; padding-block: .8rem; border-bottom: 1px solid var(--hm-line); align-items: center; }
.hm-cal li > a, .hm-cal li > span:first-child { font-weight: 600; color: var(--ink); text-decoration: none; font-size: .97rem; }
.hm-cal li > a:hover { color: var(--pine); }
.hm-cal-opt > span:first-child { font-weight: 500 !important; color: var(--ink-soft) !important; font-style: italic; }
.hm-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.hm-m { height: 12px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); }
.hm-m.on { background: var(--pine); border-color: var(--pine); }
.hm-cal-opt .hm-m.on { background: var(--hm-gold-soft); border-color: var(--hm-gold-soft); }
.hm-cal-head { padding-block: 0 .4rem; position: sticky; top: 0; }
.hm-cal-head .hm-months span { font-size: .68rem; color: var(--ink-soft); text-align: center; text-transform: lowercase; }
.hm-cal-head > span:first-child { display: none; }
@media (min-width: 760px) {
  .hm-cal li, .hm-cal-head { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.2rem; }
  .hm-cal-head > span:first-child { display: block; }
  .hm-m { height: 16px; }
}
@media (max-width: 759px) { .hm-cal-head { display: grid; } }

/* faq */
.hm-summary { color: var(--ink-soft); font-size: .95rem; padding: 0 .2rem 1.1rem; }
.hm-updated { font-size: .8rem; color: var(--ink-soft); padding: .9rem .2rem 0; }
.hm-faq { display: grid; gap: 0; border-top: 1px solid var(--hm-line); }
.hm-faq details { border-bottom: 1px solid var(--hm-line); padding: 0 .2rem; }
.hm-faq summary { cursor: pointer; font-weight: 600; padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.4rem; color: var(--hm-gold); }
.hm-faq details[open] summary::after { content: "–"; }
.hm-faq details > p { padding-bottom: 1.1rem; color: var(--ink-soft); }

/* closing */
.hm-end .hm-narrow { display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.hm-end .hm-hero-ctas { justify-content: center; }
.hm-note { font-size: .82rem; color: var(--ink-soft); max-width: 62ch; }

/* calm fade-in (visible without JS, no motion when reduced) */
@media (prefers-reduced-motion: no-preference) {
  .hm-js .hm-reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
  .hm-js .hm-reveal.is-in { opacity: 1; transform: none; }
}

/* request form in a modal dialog (Yari 31 Oct 2026, round 2): the trip-page quick form (.quick-lead, style.css) */
.hm-dialog { padding: 0; border: 0; background: transparent; width: min(640px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; color: var(--ink); }
.hm-dialog::backdrop { background: rgba(14, 32, 27, .55); }
.hm-lead { margin: 0; position: relative; background: var(--bg); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.hm-lead h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); padding-right: 2.6rem; }
.hm-lead > p { color: var(--ink-soft); margin: .4rem 0 1rem; }
.hm-dlg-x { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hm-dlg-x:hover { background: var(--surface-2); }
.hm-lead .ql-wide { grid-column: 1 / -1; }
.hm-lead .ql-field small { font-weight: 400; }
.hm-lead .ql-field textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; resize: vertical; min-height: 6rem; }
.hm-lead .ql-thanks { padding: .4rem 0 .2rem; }
.hm-mailalt { margin: 0; }
html.hm-dlg-open { overflow: hidden; }
@media (max-width: 560px) { .hm-lead .ql-grid { grid-template-columns: minmax(0, 1fr); } }
