/* Silicon Photography — palette taken from a Kanjivaram silk saree:
   arakku (lac red) body, zari gold border, mango-leaf green, jasmine white. */
:root {
  --arakku: #3a0b13;      /* page background, deep lac red */
  --arakku-2: #52121d;    /* raised surfaces */
  --kumkum: #b3121e;      /* primary action */
  --zari: #d4a537;        /* gold border + accents */
  --leaf: #2f5d3a;        /* mango-leaf green, WhatsApp action */
  --jasmine: #fff9ef;     /* text */
  --jasmine-dim: #e9d9c4; /* secondary text */
  --display: "Rozha One", Georgia, serif;
  --body: "Mukta", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--arakku);
  color: var(--jasmine);
  font: 400 1.0625rem/1.65 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--zari); text-underline-offset: 3px; }
a:hover { color: var(--jasmine); }
:focus-visible { outline: 3px solid var(--zari); outline-offset: 3px; }

/* The signature: a woven temple border (koravai) like a silk saree edge */
.zari {
  height: 22px;
  border-top: 2px solid var(--zari);
  border-bottom: 2px solid var(--zari);
  background:
    linear-gradient(135deg, var(--zari) 30%, transparent 31%) 0 2px / 22px 16px repeat-x,
    linear-gradient(225deg, var(--zari) 30%, transparent 31%) 0 2px / 22px 16px repeat-x,
    var(--kumkum);
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.5rem; color: var(--jasmine); text-decoration: none; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-size: .8rem; color: var(--jasmine-dim); margin-top: 4px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent;
}
.btn-wa { background: var(--leaf); color: var(--jasmine); }
.btn-wa:hover { background: #3a7348; color: var(--jasmine); }
.btn-call { border-color: var(--zari); color: var(--zari); }
.btn-call:hover { background: var(--zari); color: var(--arakku); }
.btn-big { padding: 16px 26px; font-size: 1.1rem; }

/* Type scale (1.25 ratio) */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--jasmine-dim); max-width: var(--measure); }

section { padding: clamp(48px, 8vw, 96px) 0; }

/* Hero */
.hero { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; padding-top: clamp(32px, 6vw, 72px); }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } }
.hero h1 { margin-bottom: 18px; }
.hero .lede { margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Video facade: thumbnail first, YouTube loads only on tap */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: var(--arakku-2) center / cover no-repeat;
  border: 0; padding: 0; cursor: pointer; display: block; overflow: hidden;
}
.video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--kumkum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff9ef'/%3E%3C/svg%3E") center / 34px no-repeat;
  box-shadow: 0 0 0 6px rgba(212,165,55,.35);
}
.video:hover::after, .video:focus-visible::after { background-color: #d01a28; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.playing::after { display: none; }
.hero .video { border: 3px solid var(--zari); }

/* Ceremony timeline — a real sequence, so it is numbered by order of the day */
.ceremonies { display: grid; gap: 56px; margin-top: 40px; }
.ceremony { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ceremony { grid-template-columns: 300px 1fr; gap: 40px; } }
.ceremony-head { border-left: 3px solid var(--zari); padding-left: 18px; }
.ceremony-head .when { color: var(--zari); font-weight: 600; margin: 0 0 6px; }
.ceremony-head p { color: var(--jasmine-dim); margin: 10px 0 0; max-width: 40ch; }
.clips { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.clip figcaption { padding-top: 10px; font-size: .98rem; }
.clip figcaption span { color: var(--jasmine-dim); display: block; font-size: .9rem; }
figure { margin: 0; }

/* Photo gallery links */
.galleries { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(212,165,55,.4); }
@media (min-width: 760px) { .galleries { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.galleries a {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid rgba(212,165,55,.4); text-decoration: none; color: var(--jasmine);
  font-size: 1.1rem;
}
.galleries a span { color: var(--jasmine-dim); font-size: .95rem; }
.galleries a:hover { color: var(--zari); }

/* What we cover */
.cover { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cover { grid-template-columns: repeat(3, 1fr); } }
.cover h3 { color: var(--zari); margin-bottom: 8px; }
.cover p { margin: 0; color: var(--jasmine-dim); }

/* Booking band */
.book { background: var(--arakku-2); }
.book-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 3fr 2fr; } }
.book ul { padding-left: 1.1em; color: var(--jasmine-dim); }
.book .hero-cta { margin-top: 8px; }
.areas { color: var(--jasmine-dim); }
.areas strong { color: var(--jasmine); font-weight: 600; }

/* Hub page: event chooser */
.chooser { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .chooser { grid-template-columns: 1fr 1fr; } }
.chooser a {
  display: block; padding: 22px 24px; text-decoration: none; color: var(--jasmine);
  background: var(--arakku-2); border-left: 4px solid var(--zari);
}
.chooser a:hover { background: #63182a; color: var(--jasmine); }
.chooser .name { font-family: var(--display); font-size: 1.55rem; line-height: 1.1; display: block; }
.chooser .what { color: var(--jasmine-dim); display: block; margin-top: 6px; }
.chooser .featured { grid-column: 1 / -1; border-left-color: var(--kumkum); background: var(--kumkum); }
.chooser .featured:hover { background: #c81d2a; }
.chooser .featured .what { color: var(--jasmine); }

/* Footer */
.site-foot { padding-top: 36px; padding-bottom: 48px; color: var(--jasmine-dim); font-size: .95rem; }
.site-foot a { color: var(--jasmine-dim); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Enquiry form (enquiry.js) */
.enq { max-width: 720px; margin-top: 22px; background: var(--arakku-2); border-top: 3px solid var(--zari); padding: 22px clamp(16px, 4vw, 32px) 28px; }
.enq fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.enq legend { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15; padding: 0; margin-bottom: 4px; }
.enq-hint, .enq-label { color: var(--jasmine-dim); margin: 6px 0 12px; }
.enq-label { margin-top: 22px; color: var(--jasmine); font-weight: 600; }
.enq-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--jasmine-dim); font-size: .92rem; }
.enq-bar { flex: 1; height: 4px; background: rgba(212,165,55,.25); border-radius: 2px; overflow: hidden; }
.enq-bar i { display: block; height: 100%; width: 25%; background: var(--zari); transition: width .25s ease; }
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-chip {
  padding: 11px 16px; border-radius: 999px; cursor: pointer; font: 600 1rem/1.2 var(--body);
  border: 1.5px solid rgba(212,165,55,.6); background: transparent; color: var(--jasmine); text-align: left;
}
.enq-chip[aria-pressed="true"] { background: var(--zari); border-color: var(--zari); color: var(--arakku); }
.enq-chip[aria-pressed="true"]::before { content: "✓ "; }
.enq label { display: block; margin-top: 16px; font-weight: 600; }
.enq .opt { font-weight: 400; color: var(--jasmine-dim); }
.enq input, .enq textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: 400 1.05rem/1.3 var(--body);
  color: var(--arakku); background: var(--jasmine); border: 2px solid transparent; border-radius: 8px;
}
.enq input:focus, .enq textarea:focus { outline: none; border-color: var(--zari); }
.enq-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .enq-row { grid-template-columns: 1fr 1fr; } }
.enq-err { color: #ffd2cc; background: rgba(179,18,30,.35); padding: 10px 12px; border-radius: 6px; margin: 16px 0 0; }
.enq-nav { display: flex; gap: 12px; margin-top: 26px; justify-content: space-between; }
.enq-nav .enq-next, .enq-nav .enq-send { margin-left: auto; }
.enq-send[disabled] { opacity: .7; cursor: wait; }
.enq-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-done h3 { font-family: var(--display); font-size: 1.8rem; margin-bottom: 8px; }
.enq-done p { color: var(--jasmine-dim); }
.enq-done:focus { outline: none; }
.enq-quick { margin: 18px 0 0; color: var(--jasmine-dim); }
.linkbtn { all: unset; cursor: pointer; color: var(--zari); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:focus-visible { outline: 3px solid var(--zari); }
.lead-day { margin-top: 18px; padding: 14px 16px 16px; border-left: 3px solid var(--zari); background: rgba(0,0,0,.18); }
.lead-day-title { font-family: var(--display); font-size: 1.3rem; margin: 0; }
.lead-day .enq-chips { margin-top: 8px; }
.lead-day .enq-label { margin: 14px 0 0; }

.enq [hidden] { display: none !important; }
.enq-back { background: transparent; }
