/* Grow with Ariya: shared styles. "Quiet luxury editorial":
   warm ivory base, wine maroon for type and actions, dusty rose for softness, a fine gold hairline as the only accent. */
:root {
  --bg: #f8f3ea;          /* warm ivory page */
  --bg-alt: #f1e8da;      /* sand, alternate sections */
  --paper: #fffdf8;       /* cards */
  --maroon: #7b2d2a;      /* brand wine: headings, buttons */
  --maroon-2: #5e1f1d;
  --rose: #c9969a;        /* decorative only */
  --rose-text: #a1585f;   /* rose that is readable as text */
  --rose-soft: #f0dfdb;
  --gold: #b39260;        /* hairlines and tiny details */
  --ink: #2e1a1c;         /* body text */
  --muted: #6f5856;
  --line: #e6d9c6;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(46, 26, 28, 0.04), 0 14px 36px rgba(46, 26, 28, 0.06);
  --display: 'Cormorant Garamond', 'Crimson Pro', Georgia, serif;
  --sans: 'Inter', 'Noto Sans Malayalam', system-ui, sans-serif;
  --ml: 'Noto Sans Malayalam', 'Inter', sans-serif;

  /* old names kept so every page keeps working */
  --cream: var(--bg);
  --cream-2: var(--paper);
  --serif: var(--display);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--maroon); }
::selection { background: var(--rose-soft); color: var(--maroon); }
.ml { font-family: var(--ml); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(248, 243, 234, 0.86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid rgba(230, 217, 198, 0.7); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { font: 600 26px/1 var(--display); color: var(--maroon); text-decoration: none; letter-spacing: -0.2px; white-space: nowrap; }
.brand span { color: var(--rose-text); font-style: italic; }
.nav-links { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--maroon); }
.nav-links a[aria-current="page"] { color: var(--maroon); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 640px) { .nav .wrap { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 12px; } .nav-links { width: 100%; padding-bottom: 8px; margin-left: -12px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 500 15px/1 var(--sans); letter-spacing: .2px; text-decoration: none; border: 1px solid var(--maroon); cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--maroon); color: var(--paper); box-shadow: 0 8px 20px rgba(123, 45, 42, 0.18); }
.btn-primary:hover { background: var(--maroon-2); box-shadow: 0 10px 24px rgba(123, 45, 42, 0.24); }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-ghost:hover { background: var(--paper); }
.btn:focus-visible, .opt:focus-visible, .day:focus-visible, a:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

/* type */
h1, h2, h3 { font-family: var(--display); color: var(--maroon); font-weight: 600; letter-spacing: -0.5px; line-height: 1.05; }
h1 { font-size: clamp(46px, 8vw, 84px); }
h2 { font-size: clamp(36px, 5.5vw, 54px); }
h3 { font-size: 28px; line-height: 1.15; }
h1 em, h2 em { font-style: italic; color: var(--rose-text); font-weight: 500; }
/* small label with a gold hairline instead of a pill */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 11.5px/1 var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--maroon); margin-bottom: 18px; background: none; padding: 0; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 18px; color: var(--muted); max-width: 58ch; }
.tagline { font: 700 21px/1.5 var(--ml); color: var(--maroon); }

section { padding: 88px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.section-head { margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 58ch; }

/* cards: hairline, almost no shadow */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--bg-alt); color: var(--ink); border-radius: 16px; padding: 20px; border: 1px solid var(--line); }
.pill { display: inline-block; background: var(--paper); color: var(--maroon); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 13px; }

/* footer: light and calm */
footer { background: var(--bg); color: var(--ink); padding: 48px 0 36px; margin-top: 24px; border-top: 1px solid var(--line); }
footer a { color: var(--maroon); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer .brand { color: var(--maroon); }
footer .brand span { color: var(--rose-text); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { text-decoration: none; font-weight: 500; font-size: 14px; border: 1px solid var(--line); background: var(--paper); padding: 9px 16px; border-radius: 999px; transition: border-color .2s; }
.socials a:hover { border-color: var(--maroon); }
.fine { width: 100%; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }

.note { font-size: 13px; color: var(--muted); }

/* gentle reveal on scroll (skipped for people who prefer less motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .btn:hover { transition: none; transform: none; } }
