@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Sinhala:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #332a29;
  --muted: #766b68;
  --wine: #762f3b;
  --wine-dark: #57212c;
  --gold: #ba8a4b;
  --cream: #fbf8f3;
  --rose: #f4e8e5;
  --line: #eadfd7;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(83, 48, 40, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
html:lang(si) body { font-family: "Noto Sans Sinhala", var(--sans); }
html:lang(ta) body { font-family: "Noto Sans Tamil", var(--sans); }
html:lang(si) body { line-height: 1.9; }
html:lang(ta) body { line-height: 1.8; }
html:lang(si) h1, html:lang(si) h2, html:lang(si) h3 { font-family: "Noto Sans Sinhala", var(--sans); line-height: 1.4; letter-spacing: 0; }
html:lang(ta) h1, html:lang(ta) h2, html:lang(ta) h3 { font-family: "Noto Sans Tamil", var(--sans); line-height: 1.35; letter-spacing: 0; }
html:lang(si) h1, html:lang(ta) h1 { font-size: clamp(2rem, 4.5vw, 4.2rem); }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: 1.35rem; font-weight: 600; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--cream); }
.section-heading { max-width: 730px; margin-bottom: 38px; }
.section-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--wine);
  color: var(--white);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--wine-dark); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #d9ac70;
  outline-offset: 3px;
}
.btn--outline { border-color: var(--wine); background: transparent; color: var(--wine); }
.btn--outline:hover { background: var(--wine); color: var(--white); }
.btn--light { background: var(--white); color: var(--wine); }
.text-link { color: var(--wine); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--wine-dark);
  font-size: .78rem;
  font-weight: 700;
}
.number-mark { color: var(--gold); font-family: var(--serif); font-size: 2rem; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--wine-dark);
  color: white;
}
.skip-link:focus { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
