/* Layout concept: a Kanjivaram silk invitation — jasmine-white pages, silk-maroon headings,

   marigold zari borders between sections, kolam-dot frames waiting for real photos.

   Type: Apple system font (San Francisco) throughout, bold and tightly tracked for headings. */

:root {

  --ground: #FFFCF7;

  --paper: #F6EEE3;

  --ink: #2A1420;

  --muted: #6B5560;

  --silk: #7A1640;

  --on-silk: #FFF8F1;

  --marigold: #D98E0B;

  --marigold-soft: #FBE9C4;

  --leaf: #2C6A3D;

  --on-leaf: #FFFFFF;

  --line: #E7D8C8;

  --shadow: 0 1px 2px rgba(60, 20, 35, .06), 0 8px 24px rgba(60, 20, 35, .08);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, "Noto Sans Tamil", sans-serif;

  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, "Noto Sans Tamil", sans-serif;

  --step--1: .875rem;

  --step-0: 1rem;

  --step-1: 1.2rem;

  --step-2: 1.5rem;

  --step-3: clamp(1.8rem, 3.6vw, 2.5rem);

  --step-4: clamp(2.3rem, 5.4vw, 3.6rem);

  --radius: 14px;

  --wrap: 1120px;

}

@media (prefers-color-scheme: dark) {

  :root:not([data-theme="light"]) {

    --ground: #160A10; --paper: #21111A; --ink: #F4E8DC; --muted: #C3AAB4;

    --silk: #A62A5E; --on-silk: #FFF5EE; --marigold: #F0B13A; --marigold-soft: #3A2716;

    --leaf: #2F7A45; --on-leaf: #FFFFFF; --line: #3B2430;

    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);

    color-scheme: dark;

  }

}

:root[data-theme="dark"] {

  --ground: #160A10; --paper: #21111A; --ink: #F4E8DC; --muted: #C3AAB4;

  --silk: #A62A5E; --on-silk: #FFF5EE; --marigold: #F0B13A; --marigold-soft: #3A2716;

  --leaf: #2F7A45; --on-leaf: #FFFFFF; --line: #3B2430;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);

  color-scheme: dark;

}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {

  margin: 0; background: var(--ground); color: var(--ink);

  font-family: var(--font-body); font-size: 17px; line-height: 1.5; letter-spacing: -.012em;

  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;

  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));

}

@media (min-width: 900px) { body { padding-bottom: 0; } }

@media (max-width: 767px) { .header-chkdate {display: none !important;} }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ground); }

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

a { color: var(--silk); text-underline-offset: 3px; }

a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; text-wrap: balance; margin: 0; color: var(--ink); letter-spacing: -.025em; }

h1 { font-size: var(--step-4); letter-spacing: -.032em; line-height: 1.05; }

h2 { font-size: var(--step-3); letter-spacing: -.028em; }

h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -.015em; }

p { margin: 0; }

.ta { font-weight: 500; color: var(--silk); font-size: .9rem; letter-spacing: 0; }

.wrap {

  width: 100%; max-width: var(--wrap); margin-inline: auto;

  padding-left: max(16px, env(safe-area-inset-left, 0px));

  padding-right: max(16px, env(safe-area-inset-right, 0px));

}

.section { padding-block: clamp(48px, 7vw, 88px); }

.section.alt { background: var(--paper); }

.stack { display: grid; gap: 16px; }

.lede { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 58ch; letter-spacing: -.015em; }

.prose { max-width: 68ch; display: grid; gap: 14px; }

.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

.prose h2 { margin-top: 16px; font-size: var(--step-2); }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold); }

.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 70ch; }

/* Zari border: a temple-triangle band in marigold on silk */

.zari {

  height: 14px; background-color: var(--silk);

  background-image:

    linear-gradient(135deg, var(--marigold) 25%, transparent 25%),

    linear-gradient(225deg, var(--marigold) 25%, transparent 25%);

  background-size: 14px 14px; background-position: 0 0, 0 0;

  border-block: 2px solid var(--marigold);

}

/* Header */

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ground); border-bottom: 1px solid var(--line); }

.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; margin-right: auto; }

.brand b { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.025em; color: var(--silk); }

.brand span { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }

.nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }

.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); color: var(--silk); }

.nav .has-sub { position: relative; }

.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; flex-direction: column; }

.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }

.menu-btn { margin-left: 4px; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }

.header-cta { display: none; }

@media (min-width: 1000px) { .nav { display: block; } .menu-btn { display: none; } .header-cta { display: inline-flex; } }

.mobile-nav { border-top: 1px solid var(--line); background: var(--ground); }

.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; display: grid; }

.mobile-nav a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }

.mobile-nav .sublink { padding-left: 16px; font-weight: 400; font-size: 1rem; color: var(--muted); }

/* Buttons */

.btn {

  display: inline-flex; align-items: center; justify-content: center; gap: 8px;

  padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -.01em;

  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;

}

.btn-silk { background: var(--silk); color: var(--on-silk); }

.btn-silk:hover { filter: brightness(1.1); }

.btn-leaf { background: var(--leaf); color: var(--on-leaf); }

.btn-leaf:hover { filter: brightness(1.1); }

.btn-ghost { border-color: var(--silk); color: var(--silk); background: transparent; }

.btn-ghost:hover { background: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */

.hero { padding-block: clamp(32px, 6vw, 72px); }

.hero .wrap { display: grid; gap: 32px; align-items: center; }

@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }

.hero-text { display: grid; gap: 18px; min-width: 0; }

.price-chip {

  display: inline-flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-self: start;

  background: var(--marigold-soft); border: 1px dashed var(--marigold); border-radius: 10px; padding: 10px 14px;

}

.price-chip b { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.025em; color: var(--silk); }

.price-chip span { color: var(--ink); font-size: .95rem; }

.crumbs { font-size: var(--step--1); color: var(--muted); }

.crumbs a { color: var(--muted); }

/* Photo frames: kolam dot pattern shows until a real photo is added */

.photo {

  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;

  aspect-ratio: 4 / 3; max-width: 100%;

  background-color: var(--paper);

  background-image: radial-gradient(circle, var(--marigold) 1.6px, transparent 2px), radial-gradient(circle, var(--line) 1.6px, transparent 2px);

  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px;

  border: 1px solid var(--line);

}

.photo.tall { aspect-ratio: 4 / 5; }

.photo.wide { aspect-ratio: 16 / 9; }

.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.photo img.missing { display: none; }

.photo figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--ground); color: var(--ink); border-radius: 8px; padding: 6px 10px; font-size: .85rem; font-weight: 500; box-shadow: var(--shadow); }

.photo figcaption small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }

/* Facts strip */

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (min-width: 1040px) { .facts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.fact { background: var(--ground); padding: 16px; display: grid; gap: 2px; align-content: start; }

.fact b { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; color: var(--silk); font-variant-numeric: tabular-nums; line-height: 1.1; }

.fact span { font-size: .88rem; color: var(--muted); }

/* Grids and cards */

.grid { display: grid; gap: 20px; }

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.event-card { display: grid; gap: 8px; padding: 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--ground); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }

.event-card:hover { border-color: var(--silk); transform: translateY(-2px); }

.event-card h3 { font-weight: 700; font-size: var(--step-2); letter-spacing: -.025em; color: var(--silk); }

.event-card p { color: var(--muted); }

.event-card .more { font-weight: 600; color: var(--silk); }

.event-card .more::after, .post-card .meta::after { content: " ›"; }

.pkg { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); position: relative; }

.pkg.featured { border: 2px solid var(--silk); box-shadow: var(--shadow); }

.pkg .tag { position: absolute; top: -12px; left: 20px; background: var(--marigold); color: #2A1420; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }

.pkg h3 { font-weight: 700; font-size: var(--step-2); letter-spacing: -.025em; color: var(--silk); }

.pkg .guests { color: var(--muted); font-weight: 600; }

.pkg .price { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }

.pkg .price small { font-family: var(--font-body); font-weight: 400; font-size: .88rem; letter-spacing: 0; color: var(--muted); }

.pkg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.pkg li { padding-left: 24px; position: relative; }

.pkg li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; background: var(--marigold); transform: rotate(45deg); }

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.checks li { padding-left: 26px; position: relative; }

.checks li::before { content: ""; position: absolute; left: 5px; top: .55em; width: 9px; height: 9px; background: var(--marigold); transform: rotate(45deg); }

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.steps li { counter-increment: s; display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 3px solid var(--marigold); }

.steps li::before { content: "Step " counter(s); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold); }

.steps b { font-size: 1.05rem; font-weight: 600; }

.steps span { color: var(--muted); font-size: .95rem; }

.promise { display: grid; gap: 6px; padding: 20px; border-left: 4px solid var(--silk); background: var(--ground); border-radius: 0 var(--radius) var(--radius) 0; }

.promise b { font-size: 1.08rem; font-weight: 600; }

.promise span { color: var(--muted); }

.quote { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); align-content: start; }

.quote blockquote { margin: 0; font-size: 1.08rem; font-weight: 500; letter-spacing: -.015em; }

.quote blockquote::before { content: "\201C"; font-family: Georgia, serif; color: var(--marigold); font-size: 2.6rem; line-height: 0; vertical-align: -.45em; margin-right: 4px; }

.quote footer { font-size: .9rem; color: var(--muted); }

.quote footer b { color: var(--ink); }

.stars { color: var(--marigold); letter-spacing: 2px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }

th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }

thead th { background: var(--paper); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }

.menu-card { display: grid; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); align-content: start; }

.menu-card h3 { font-weight: 700; font-size: var(--step-2); letter-spacing: -.025em; color: var(--silk); }

.menu-card dl { margin: 0; display: grid; gap: 10px; }

.menu-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold); }

.menu-card dd { margin: 0; }

.faq { display: grid; gap: 10px; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); }

.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }

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

.faq summary::after { content: "+"; color: var(--silk); font-size: 1.3rem; line-height: 1; }

.faq details[open] summary::after { content: "\2212"; }

.faq details p { padding: 0 18px 18px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.filters button { font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ground); color: var(--ink); cursor: pointer; }

.filters button[aria-pressed="true"] { background: var(--silk); border-color: var(--silk); color: var(--on-silk); }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.enquiry { display: grid; gap: 28px; }

@media (min-width: 900px) { .enquiry { grid-template-columns: .9fr 1.1fr; align-items: start; } }

.enquiry-side { display: grid; gap: 14px; min-width: 0; }

.form { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }

.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.field { display: grid; gap: 6px; min-width: 0; }

.field label { font-weight: 600; font-size: .9rem; }

.field input, .field select, .field textarea { font: inherit; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }

.field textarea { min-height: 84px; resize: vertical; }

.form-note { font-size: .88rem; color: var(--muted); }

.form-result { display: grid; gap: 10px; padding: 16px; border-radius: 10px; background: var(--marigold-soft); border: 1px solid var(--marigold); }

.form-error { color: var(--silk); font-weight: 600; font-size: .92rem; }

.contact-lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.contact-lines li { display: grid; gap: 2px; }

.contact-lines small { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.copy { font: inherit; font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; justify-self: start; }

.cta-band { background: var(--silk); color: var(--on-silk); }

.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-block: 36px; }

.cta-band h2 { color: var(--on-silk); font-size: var(--step-3); }

.cta-band p { color: var(--on-silk); opacity: .88; }

.cta-band .btn-ghost { border-color: var(--on-silk); color: var(--on-silk); }

.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

.split { display: grid; gap: 32px; align-items: start; }

@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; } }

.split > * { min-width: 0; }

.aside-box { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }

.aside-box h3 { font-weight: 700; font-size: var(--step-2); letter-spacing: -.025em; color: var(--silk); }

.post-card { display: grid; gap: 8px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ground); text-decoration: none; color: var(--ink); }

.post-card h3 { font-weight: 700; font-size: var(--step-2); letter-spacing: -.025em; color: var(--silk); }

.post-card p { color: var(--muted); }

.meta { font-size: .88rem; color: var(--muted); }

.site-footer { background: var(--paper); border-top: 1px solid var(--line); }

.footer-grid { display: grid; gap: 28px; padding-block: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.footer-grid h3 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.footer-grid a { color: var(--ink); text-decoration: none; }

.footer-grid a:hover { color: var(--silk); text-decoration: underline; }

.footer-brand b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em; color: var(--silk); display: block; }

.footer-base { border-top: 1px solid var(--line); padding-block: 18px; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

.action-bar {

  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;

  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;

  padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));

  background: var(--ground); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);

}

.action-bar .btn { padding: 11px 10px; }

@media (min-width: 900px) {

  .action-bar { left: auto; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); grid-template-columns: auto; padding: 0; background: none; border: 0; box-shadow: none; }

  .action-bar .call { display: none; }

  .action-bar .btn { box-shadow: var(--shadow); padding: 14px 22px; }

}

.mt-24 { margin-top: 24px; }

.center-row { display: flex; justify-content: center; margin-top: 28px; }

/* Event Page Hero (Full-width 16:9 showcase) */
.hero-event .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.hero-event .hero-head {
  display: grid;
  gap: 20px;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-event .hero-head {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.hero-event .hero-aside {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-event .photo.wide {
  aspect-ratio: 16 / 9;
  width: 100%;
  box-shadow: var(--shadow);
}

/* Keep the full 16:9 stage unobstructed by docking figcaption below the photo */
.hero-event .photo.wide figcaption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 16px;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
}

/* Push the absolute image above the docked figcaption cleanly */
@supports (aspect-ratio: 16 / 9) {
  .hero-event .photo.wide {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }
  .hero-event .photo.wide img {
    position: static;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}