/* Round two: the sections and parts added after the first build. One block per part.
   sections.css has the header, hero, steps, why, Crossing, screenshots, owners, FAQ, contact, footer. */

/* ---------- Venue types ---------- */
.types__rail {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--gutter) 24px; margin: 0;
}
.types__rail::-webkit-scrollbar { display: none; }
.type {
  flex: none; width: min(68vw, 240px); scroll-snap-align: start; scroll-margin-left: var(--gutter);
  display: grid; gap: 8px; align-content: start;
  padding: 22px 20px; border-radius: var(--radius-m);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.type h3 { font-size: 1.2rem; }
.type p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.5; }
.type__icon {
  width: 56px; height: 56px; padding: 13px; margin-bottom: 6px; border-radius: 50%;
  background: var(--maroon-tint); color: var(--maroon);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color 0.35s, color 0.35s;
}
.type--yours { background: var(--gold-tint); border-style: dashed; border-color: var(--gold-dark); }
.type--yours .type__icon { background: var(--gold); color: var(--ink); }
@media (hover: hover) {
  .type:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-1); }
  .type:hover .type__icon { background: var(--maroon); color: var(--gold); }
}
@media (min-width: 900px) {
  .types__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; overflow: visible; width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; padding: 0; }
  .type { width: auto; }
}

/* ---------- Save-the-date card ---------- */
.card-maker__grid { display: grid; gap: 28px; grid-template-areas: "head" "preview" "form"; }
.card-maker__head { grid-area: head; margin-bottom: 0; }
.card-maker__preview { grid-area: preview; justify-self: center; width: min(100%, 340px); }
.card-maker__preview canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 78vh; object-fit: contain; border-radius: 18px; box-shadow: var(--shadow-2); background: var(--maroon-dark); }
.card-form { grid-area: form; display: grid; gap: 20px; }
.card-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.card-form legend, .field > span { display: block; padding: 0; margin-bottom: 8px; font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.field { display: block; }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink); font: inherit;
}
.field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--maroon); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 0.92rem; font-weight: 500; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chips input:checked + span { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.card-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card-form__share { color: var(--maroon); }
.card-form__share:hover { background: var(--maroon-tint); }
@media (min-width: 900px) {
  .card-maker__grid { grid-template-columns: 1fr 380px; grid-template-areas: "head preview" "form preview"; column-gap: 72px; align-items: start; }
  .card-maker__preview { width: 100%; position: sticky; top: calc(var(--header-h) + 32px); rotate: 2deg; }
}

/* ---------- A city of bridges ---------- */
.city { overflow: hidden; background: radial-gradient(90% 50% at 20% 0%, var(--maroon-dark) 0%, var(--maroon-night) 70%); }
.river { position: relative; display: grid; }
/* The Sabarmati: a soft band of light running down behind the bridges. */
.river::before {
  content: ""; position: absolute; top: -40px; bottom: -40px; left: 22px; width: 76px;
  background:
    repeating-linear-gradient(168deg, transparent 0 22px, rgba(255, 226, 160, 0.07) 22px 24px, transparent 24px 60px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07) 25%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.07) 75%, transparent);
  background-size: 100% 240px, 100% 100%;
  animation: flow 14s linear infinite;
  mask-image: linear-gradient(transparent, #000 60px, #000 calc(100% - 60px), transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
@keyframes flow { to { background-position: 0 240px, 0 0; } }
.bridge { position: relative; display: grid; grid-template-columns: 120px 1fr; column-gap: 20px; align-items: center; padding-block: 26px; }
.bridge__art { grid-row: 1 / span 2; width: 120px; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.45; transition: opacity 0.9s 0.2s; }
.bridge__art .lights { stroke: var(--gold-glow); stroke-width: 5; opacity: 0; transition: opacity 0.6s 0.9s; filter: drop-shadow(0 0 4px rgba(255, 196, 70, 0.95)); }
.bridge.is-in .bridge__art, html:not(.reveal-on) .bridge__art { opacity: 1; }
.bridge.is-in .lights, html:not(.reveal-on) .lights { opacity: 1; }
.bridge__year { align-self: end; font-family: var(--font-display); font-size: var(--step-2); line-height: 1; color: var(--gold); }
.bridge h3 { margin-top: 6px; }
.bridge p:not(.bridge__year) { color: var(--on-night-muted); font-size: 0.98rem; }
.bridge--us .bridge__art { stroke-width: 2.6; }
.bridge--us h3 { color: var(--gold); font-size: var(--step-2); }
@media (min-width: 900px) {
  .river::before { left: 50%; width: 150px; translate: -50% 0; }
  .bridge { grid-template-columns: 1fr 240px 1fr; column-gap: 44px; padding-block: 40px; }
  .bridge__art { grid-row: auto; grid-column: 2; width: 240px; }
  .bridge__year { grid-column: 1; grid-row: 1; align-self: center; justify-self: end; font-size: var(--step-4); }
  .bridge > div { grid-column: 3; max-width: 22em; }
}

/* ---------- Listing strength (inside "For venue owners") ---------- */
.strength { display: grid; gap: 20px; margin-top: 28px; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.strength__head { display: grid; gap: 6px; }
.strength__head p { color: var(--ink-muted); font-size: 0.98rem; }
.strength__pct { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 600; font-size: var(--step-3); line-height: 1; color: var(--maroon); font-variant-numeric: tabular-nums; }
.strength__pct span { margin-left: 10px; font-family: var(--font-body); font-weight: 500; font-size: var(--step--1); color: var(--ink-muted); }
.strength__bar { height: 12px; margin-top: 12px; border-radius: 99px; background: var(--cream-alt); overflow: hidden; }
.strength__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--maroon)); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 0.7s var(--ease); }
.strength__list { display: grid; gap: 4px; }
.strength__list label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; margin-inline: -10px; border-radius: 12px; cursor: pointer; transition: background-color 0.2s; }
.strength__list label:hover { background: var(--cream); }
.strength__list input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--maroon); }
.strength__list span { flex: 1; }
.strength__list b { font-size: var(--step--1); color: var(--gold-on-light); font-variant-numeric: tabular-nums; }
.strength__list input:checked ~ b { color: var(--success); }
.strength__tip { padding: 14px 16px; border-radius: 12px; background: var(--gold-tint); color: var(--ink); font-size: 0.98rem; }
.strength.is-full .strength__tip { background: var(--success-tint); color: var(--success); font-weight: 600; }

/* ---------- How booking works: a real screen beside each step ---------- */
.step__peek { margin-top: 10px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--cream-alt); box-shadow: var(--shadow-1); }
.step__peek img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
@media (hover: hover) { .step:hover .step__peek img { transform: scale(1.05); } }

/* ---------- Screenshot gallery: arrows, dragging, and a closer look ---------- */
.screens .wrap { position: relative; }
.rail-nav { display: none; position: absolute; right: 0; bottom: 28px; gap: 8px; }
.rail-nav__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--maroon); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.rail-nav__btn:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.rail-nav__btn[disabled] { opacity: 0.35; cursor: default; background: var(--surface); color: var(--maroon); border-color: var(--line-strong); }
@media (hover: hover) and (min-width: 700px) { .rail-nav:not([hidden]) { display: flex; } }
.rail .phone { cursor: zoom-in; }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail.is-dragging .phone { cursor: grabbing; }

.zoom { padding: 0; border: 0; background: none; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; }
.zoom::backdrop { background: rgba(27, 8, 11, 0.9); backdrop-filter: blur(6px); }
.zoom[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; gap: 14px; padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
.zoom__phone { height: 100%; min-height: 0; aspect-ratio: 600 / 1156; max-width: 100%; padding: 8px; border-radius: 34px; background: var(--ink); box-shadow: var(--shadow-2); animation: zoom-in 0.4s var(--ease) both; }
.zoom__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.zoom__bar { display: flex; align-items: center; gap: 16px; color: var(--on-night); font-size: 0.95rem; }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.9); } }

/* ---------- Rope navigation (wide screens) and the progress line (everything else) ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-glow)); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity 0.3s; }
.header.is-stuck .progress { opacity: 1; }
.rope { display: none; }
@media (min-width: 1240px) and (hover: hover) {
  .rope {
    position: fixed; right: 18px; top: 50%; z-index: 90; translate: 0 -50%;
    display: grid; gap: 4px; padding: 12px 7px; border-radius: 99px;
    background: rgba(43, 27, 18, 0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.12);
  }
  .rope::before { content: ""; position: absolute; top: 22px; bottom: 22px; left: 50%; width: 1.5px; translate: -50% 0; background: var(--gold-dark); opacity: 0.7; }
  .rope a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; text-decoration: none; }
  .rope i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #5a3a22; border: 1.5px solid var(--gold-dark); transition: background-color 0.4s, box-shadow 0.4s, scale 0.3s var(--ease); }
  .rope a.is-lit i { background: var(--gold-glow); border-color: var(--gold); box-shadow: 0 0 10px 2px rgba(255, 196, 70, 0.75); }
  .rope a[aria-current="true"] i { scale: 1.45; }
  .rope span { position: absolute; right: 34px; top: 50%; translate: 6px -50%; padding: 5px 12px; border-radius: 99px; white-space: nowrap; background: var(--ink); color: var(--cream); font-size: 0.8rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.2s, translate 0.2s; }
  .rope a:hover span, .rope a:focus-visible span { opacity: 1; translate: 0 -50%; }
  .progress { display: none; }
}

/* ---------- Decoration ---------- */
.card-maker { padding-top: calc(var(--section) + 24px); }
.card-maker::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; background: var(--toran) repeat-x center top; }
.contact { background: var(--jali), radial-gradient(110% 70% at 50% 100%, var(--maroon-dark) 0%, var(--maroon-night) 70%); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-block: 92px 40px; background: var(--jali), #2A090E; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 46px; background: var(--festoon) repeat-x center top; animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.72; } }
.footer__in { gap: 44px; justify-items: stretch; }
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mini__body:focus { outline: none; }
.footer__tag { font-size: var(--step-3); line-height: 1.05; color: var(--on-night); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer__nav div { display: grid; gap: 2px; align-content: start; justify-items: start; }
.footer__nav h2 { margin-bottom: 8px; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.footer__fine { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 900px) {
  .footer__in { grid-template-columns: 1fr 1.3fr; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .footer__fine { grid-column: 1 / -1; }
}

/* ---------- Phone tag: the old way beside the new ---------- */
.ways__grid { display: grid; gap: 22px; }
.ways__old, .ways__new { padding: clamp(20px, 4vw, 32px); border-radius: var(--radius-l); }
.ways__old { background: var(--surface); border: 1px solid var(--line); }
.ways__old h3 { color: var(--ink-muted); }
.calls { display: grid; margin-top: 10px; }
.calls li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.calls li:first-child { border-top: 0; }
.calls svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #FBE9E7; color: var(--error); }
.calls b { display: block; font-weight: 600; font-size: 0.98rem; }
.calls span { display: block; color: var(--ink-muted); font-size: 0.92rem; }
.calls time { padding-top: 2px; font-size: var(--step--1); color: var(--ink-faint); }
.reveal-on .ways__old .calls li { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(0.25s + var(--i) * 0.16s); }
.reveal-on .ways__old.is-in .calls li { opacity: 1; transform: none; }
.ways__new { background: linear-gradient(160deg, var(--maroon), var(--maroon-dark)); color: var(--on-night); box-shadow: var(--shadow-2); }
.ways__new h3 { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: var(--step-2); }
.ways__new h3 svg { border-radius: 7px; }
.yes { display: grid; gap: 18px; margin-top: 20px; }
.yes li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-night-muted); }
.yes strong { color: var(--on-night); }
.yes svg { flex: none; margin-top: 3px; color: var(--gold); }
@media (min-width: 900px) {
  .ways__grid { grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; }
  .ways__old { rotate: -1deg; }
  .ways__new { rotate: 1deg; padding: 40px; }
}
@media print { .reveal-on .ways__old .calls li { opacity: 1; transform: none; } }

/* ---------- Owners: the seven steps of listing ---------- */
.seven { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.seven li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 0.92rem; font-weight: 500; }
.seven b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-on-light); font-size: 0.85rem; transition: background-color 0.4s, color 0.4s; transition-delay: calc(0.3s + var(--i) * 0.12s); }
.seven.is-in b, html:not(.reveal-on) .seven b { background: var(--maroon); color: #fff; }

/* A step's picture shouldn't fill a tablet. */
.step__peek { max-width: 440px; }

/* ---------- Venue types: pick an occasion (no script: the :has() selector does the work) ---------- */
.occasions { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.occasions legend { padding: 0; margin-bottom: 10px; font-size: var(--step--1); font-weight: 600; color: var(--ink-muted); }
.type { transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, opacity 0.4s, filter 0.4s; }
.types:has(input[value="wedding"]:checked) .type:not([data-fits~="wedding"]) { opacity: 0.3; filter: saturate(0.3); }
.types:has(input[value="wedding"]:checked) .type[data-fits~="wedding"] { order: -1; border-color: var(--gold); box-shadow: var(--shadow-1); }
.types:has(input[value="sangeet"]:checked) .type:not([data-fits~="sangeet"]) { opacity: 0.3; filter: saturate(0.3); }
.types:has(input[value="sangeet"]:checked) .type[data-fits~="sangeet"] { order: -1; border-color: var(--gold); box-shadow: var(--shadow-1); }
.types:has(input[value="birthday"]:checked) .type:not([data-fits~="birthday"]) { opacity: 0.3; filter: saturate(0.3); }
.types:has(input[value="birthday"]:checked) .type[data-fits~="birthday"] { order: -1; border-color: var(--gold); box-shadow: var(--shadow-1); }
.types:has(input[value="office"]:checked) .type:not([data-fits~="office"]) { opacity: 0.3; filter: saturate(0.3); }
.types:has(input[value="office"]:checked) .type[data-fits~="office"] { order: -1; border-color: var(--gold); box-shadow: var(--shadow-1); }
.types:has(input[value="religious"]:checked) .type:not([data-fits~="religious"]) { opacity: 0.3; filter: saturate(0.3); }
.types:has(input[value="religious"]:checked) .type[data-fits~="religious"] { order: -1; border-color: var(--gold); box-shadow: var(--shadow-1); }
.types:has(input[value="shoot"]:checked) .type:not([data-fits~="shoot"]) { opacity: 0.3; filter: saturate(0.3); }
.types:has(input[value="shoot"]:checked) .type[data-fits~="shoot"] { order: -1; border-color: var(--gold); box-shadow: var(--shadow-1); }

/* ---------- Neighbours of the same colour get a hairline between them (the bank switch reorders sections) ---------- */
.section:not(.section--alt):not(.section--night):not(.owners) + .section:not(.section--alt):not(.section--night):not(.owners) { border-top: 1px solid var(--line); }
.section--alt + .section--alt { border-top: 1px solid var(--line-strong); }
.section--night + .section--night { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Without JavaScript: no dead buttons, and no empty space where the bridge would be ---------- */
html:not(.js) .bank, html:not(.js) .hero__cross, html:not(.js) .type--yours { display: none; }
html:not(.js) .hero__content { padding-top: 140px; }
html:not(.js) .hero { min-height: 0; }

/* ---------- Tap targets: text links that stand alone get room for a thumb ---------- */
button.link, .card .link, .hero__cross .link { display: inline-block; padding-block: 9px; }
.brand { padding-block: 6px; }
.footer__nav a { padding: 9px 0; }
.owners__share { margin-top: 14px; }

/* ---------- Step pictures: lined up in one row, and faded out at the bottom so the crop reads as
   a glimpse of the screen, not a picture cut off by mistake ---------- */
.step__peek { position: relative; aspect-ratio: 1 / 1; }
.step__peek::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(rgba(253, 246, 236, 0), var(--cream) 88%); pointer-events: none; }
@media (min-width: 900px) {
  /* number, title, text (takes the spare room), fact, picture: so every picture starts on the same line */
  .step { grid-template-rows: auto auto 1fr auto auto; align-content: stretch; }
  .step p.step__fact { align-self: end; }
}
