/* MKS Instant public homepage (families first, photographers second).
   Palette from a Telugu silk saree: deep maroon body, gold zari border,
   kumkum red for small accents, ivory paper. Photos carry the colour;
   the page stays quiet around them. Light and dark are both first-class. */

:root {
  --hero: #5A1426;            /* maroon silk: hero, header, final call */
  --on-hero: #FBF3E6;         /* ivory text on maroon */
  --on-hero-2: #E9D3C9;
  --zari: #E5AE45;            /* gold zari: actions on maroon, rules, numbers */
  --zari-soft: #FCF1DC;       /* highlighted cells and the Plus plan */
  --on-zari: #3A0B16;
  --rani: #A61E36;            /* kumkum: actions and accents on light */
  --rani-press: #8A1529;
  --on-rani: #FFFFFF;
  --ink: #2A1218;             /* body text */
  --ink-2: #6B5157;           /* secondary text */
  --blush: #F7EEEA;           /* alternate sections */
  --paper: #FFFDFA;
  --line: #E9DAD5;
  --band: #24121A;            /* photographers band */
  --shadow: 0 18px 40px -22px rgba(42, 16, 24, .45);

  --display: "Rozha One", "Bodoni 72", Georgia, serif;
  --body: "Hind Guntur", "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  --radius: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hero: #22090F;
    --on-hero: #F6EADF;
    --on-hero-2: #D6BDB4;
    --zari: #EDBB5A;
    --zari-soft: #2C1F0E;
    --on-zari: #2A0810;
    --rani: #EDBB5A;
    --rani-press: #F3C977;
    --on-rani: #2A0810;
    --ink: #F4EAE2;
    --ink-2: #C7B0B2;
    --blush: #1E0F14;
    --paper: #150A0D;
    --line: #3A242A;
    --band: #1E0F14;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .85);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(32px, 6vw, 52px); line-height: 1.05; letter-spacing: -.01em; }
h3 { font-family: var(--body); font-weight: 600; font-size: 19px; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--rani); color: var(--on-rani); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button.primary { background: var(--rani); color: var(--on-rani); }
.button.primary:hover { background: var(--rani-press); }
.button.ghost { border-color: currentColor; color: var(--on-hero); }
.button.ghost:hover { background: rgba(255, 255, 255, .08); }
.button.outline { border-color: var(--ink); color: var(--ink); }
.button.outline:hover { background: var(--blush); }
.button.light { background: var(--zari); color: var(--on-zari); }
.button.light:hover { filter: brightness(1.06); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--hero); color: var(--on-hero);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(229, 174, 69, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.site-header .brand { color: var(--on-hero); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50% 50% 8px 8px; display: grid; place-items: center;
  background: var(--zari); color: var(--on-zari); font-family: var(--display); font-size: 19px; line-height: 1; padding-top: 3px;
}
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.menu-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--on-hero); cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -7px; } .menu-lines::after { top: 7px; }
.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--hero); padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(229, 174, 69, .35);
}
.site-nav.is-open { display: grid; }
.site-nav a { min-height: 48px; display: flex; align-items: center; color: var(--on-hero); text-decoration: none; font-weight: 500; font-size: 18px; }
.site-nav .nav-cta { margin-top: 8px; justify-content: center; border-radius: 999px; background: var(--zari); color: var(--on-zari); font-weight: 600; }
@media (min-width: 900px) {
  .menu-button { display: none; }
  .site-nav { display: flex; position: static; padding: 0; border: 0; gap: 28px; align-items: center; background: none; }
  .site-nav a { font-size: 16px; min-height: 44px; }
  .site-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 6px; }
  .site-nav .nav-cta { margin: 0; padding: 0 20px; }
}

/* Hero: the one rich moment. Maroon silk, gold-framed arch photo, arrivals. */
.hero { background: var(--hero); color: var(--on-hero); padding: 24px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-place { font-weight: 600; font-size: 16px; margin-bottom: 10px; color: var(--zari); }
.hero-lede { color: var(--on-hero-2); }
.hero .button.primary { background: var(--zari); color: var(--on-zari); }
.hero .button.primary:hover { background: var(--zari); filter: brightness(1.07); }
.hero h1 { font-family: var(--display); font-size: clamp(46px, 11.5vw, 92px); line-height: .98; letter-spacing: -.015em; max-width: 11ch; }
.hero-lede { margin-top: 18px; font-size: 19px; line-height: 1.55; max-width: 34ch; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button { flex: 1 1 200px; }
@media (min-width: 560px) { .hero-actions .button { flex: 0 0 auto; } }

.hero-figure { margin: 0; position: relative; max-width: 460px; justify-self: center; width: 100%; }
.arch {
  border-radius: 999px 999px 18px 18px; overflow: hidden; background: #3A0B16;
  border: 5px solid var(--zari); box-shadow: 0 0 0 7px var(--hero), 0 0 0 8px rgba(229, 174, 69, .55), 0 40px 70px -30px rgba(0, 0, 0, .6);
  aspect-ratio: 4 / 5;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arrivals {
  list-style: none; margin: -72px 12px 0; padding: 0; position: relative; display: grid; gap: 8px;
}
.arrivals li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline;
  background: #FFFDFA; color: #2A1218; border-radius: 14px; padding: 11px 14px;
  box-shadow: 0 10px 24px -14px rgba(42, 16, 24, .55); font-size: 15px; line-height: 1.35;
}
.arrivals time { font-weight: 700; color: #A61E36; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sample-note { margin-top: 12px; font-size: 14px; opacity: .8; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .arrivals li { animation: arrive .5s cubic-bezier(.2, .7, .2, 1) both; }
  .arrivals li:nth-child(2) { animation-delay: .5s; }
  .arrivals li:nth-child(3) { animation-delay: 1s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero-figure { justify-self: end; }
  .arrivals { margin: -96px -48px 0 -64px; max-width: 360px; }
}

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p, .section-lede { margin-top: 14px; color: var(--ink-2); font-size: 18px; max-width: 52ch; }

/* Timeline: the day, hour by hour */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--zari); }
.timeline li {
  position: relative; display: grid; gap: 14px; padding: 0 0 40px 24px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--rani);
}
.timeline time { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--rani); font-variant-numeric: tabular-nums; }
.timeline-body p { margin-top: 6px; color: var(--ink-2); max-width: 46ch; }
.timeline img { border-radius: 12px; width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 760px) {
  .timeline { border-left: 0; }
  .timeline li { grid-template-columns: 170px 1fr 260px; gap: 32px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
  .timeline li:last-child { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .timeline li::before { display: none; }
  .timeline time { font-size: 40px; }
  .timeline img { max-width: none; }
}

/* Comparison */
.compare { background: var(--blush); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
thead th { font-weight: 600; font-size: 15px; color: var(--ink-2); }
thead th.ours { color: var(--rani); }
tbody th { font-weight: 600; width: 30%; }
tbody td { color: var(--ink-2); }
tbody td.ours { color: var(--ink); font-weight: 600; background: var(--zari-soft); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 599px) {
  /* Stack rows on phones instead of scrolling sideways. */
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  tbody th { grid-column: 1 / -1; width: auto; padding: 16px 16px 6px; border: 0; }
  tbody td { padding: 6px 16px 16px; border: 0; font-size: 15px; }
  tbody td::before { content: "Reel maker"; display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 2px; }
  tbody td.ours { background: none; }
  tbody td.ours::before { content: "MKS Instant"; color: var(--rani); }
}

/* Guests + privacy */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; font-size: 18px; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-size: 26px; line-height: 44px; text-align: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--hero); color: var(--zari);
}
.promise { background: var(--hero); color: var(--on-hero); border-top: 4px solid var(--zari); border-radius: 20px 20px 20px 4px; padding: 28px; }
.promise p { color: var(--on-hero-2); }
.promise h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin-bottom: 12px; }
.promise p + p { margin-top: 12px; opacity: .88; }

/* Album */
.album { background: var(--blush); }
.album-split { align-items: center; }
.album-shot { margin: 0; justify-self: center; max-width: 300px; width: 100%; }
.album-shot img { border-radius: 34px; border: 8px solid #2A1218; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .album-shot img { border-color: #3A242A; } }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--rani); border-bottom: 3px solid var(--rani); transform: rotate(-45deg);
}

/* Prices */
.plans { display: grid; gap: 20px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; } }
.plan { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 20px; padding: 28px; }
.plan .ticks { margin-bottom: 28px; flex: 1; }
.plan .button { align-self: stretch; }
.plan-plus { border-color: var(--rani); background: var(--zari-soft); }
.plan h3 { font-size: 20px; }
.price { font-family: var(--display); font-size: 56px; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.rupee { font-size: .6em; vertical-align: .45em; margin-right: 2px; }
.plan-for { color: var(--ink-2); }
.terms { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-2); font-size: 16px; }

/* Photographers band */
.pros { background: var(--band); color: #F4EAE2; }
@media (prefers-color-scheme: dark) { .pros { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } }
.pros .section-head p { color: #C7B0B2; }
.pro-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .pro-grid { grid-template-columns: 1fr 1fr; gap: 36px 56px; } }
.pro-item { border-top: 2px solid var(--zari); padding-top: 16px; }
.pro-item p { margin-top: 6px; color: #C7B0B2; max-width: 44ch; }
.pro-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.pro-cta p { font-size: 18px; max-width: 46ch; }

/* Questions */
.questions h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  min-height: 56px; padding: 14px 40px 14px 0; display: flex; align-items: center; cursor: pointer;
  font-weight: 600; font-size: 18px; list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--rani); border-bottom: 2px solid var(--rani); transform: rotate(45deg);
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 0 20px; color: var(--ink-2); max-width: 60ch; }

/* Final call */
.final { background: var(--hero); color: var(--on-hero); padding: 72px 0; }
.final-inner { text-align: left; }
.final h2 { max-width: 14ch; }
.final p { color: var(--on-hero-2); margin: 14px 0 28px; font-size: 18px; max-width: 44ch; }

/* Footer */
.site-footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer p { color: var(--ink-2); margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Gold focus ring wherever the background is maroon or dark. */
.site-header :focus-visible, .hero :focus-visible, .final :focus-visible, .pros :focus-visible, .promise :focus-visible { outline-color: var(--zari); }
