/* ==========================================================================
   Alai Osai — Sound of the Waves
   Stylesheet
   ========================================================================== */

:root {
  --navy: #16324a;
  --navy-deep: #0e2338;
  --navy-mid: #1c3a5e;
  --cream: #f6efe1;
  --cream-soft: #efe4cd;
  --sand: #e7d9b8;
  --gold: #c79a2f;
  --gold-light: #e9c98f;
  --gold-deep: #9c7418;
  --ink: #22262b;
  --white: #ffffff;

  --font-display: 'Playfair Display', 'Noto Sans Tamil', Georgia, serif;
  --font-body: 'Jost', 'Noto Sans Tamil', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-soft: 0 20px 60px -20px rgba(14, 35, 56, 0.35);
  --shadow-card: 0 14px 34px -16px rgba(14, 35, 56, 0.28);
  --ease: cubic-bezier(.22,.68,0,1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; color: var(--navy); }
p { margin: 0; line-height: 1.75; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

html[lang="ta"] body, body.lang-ta { font-family: 'Noto Sans Tamil', var(--font-body); }
body.lang-ta h1, body.lang-ta h2, body.lang-ta h3, body.lang-ta h4 { font-family: 'Noto Sans Tamil', var(--font-display); }
/* Tamil glyphs shouldn't be tracked out like Latin small-caps */
body.lang-ta .eyebrow,
body.lang-ta .hero-eyebrow,
body.lang-ta .brand-sub,
body.lang-ta .footer-tag,
body.lang-ta .cd-label,
body.lang-ta .launch-badge,
body.lang-ta .footer-links h4,
body.lang-ta .footer-lang h4 { letter-spacing: 0.2px; }
body.lang-ta .hero-title { letter-spacing: 0; }

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 14px;
  display: block;
}
.eyebrow.light { color: var(--gold-light); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--cream); }
.lead { font-size: 1.08rem; max-width: 640px; color: #4b5560; }
.light.lead { color: #d9e0e6; }

.section { padding: 110px 0; position: relative; }
@media (max-width: 720px) { .section { padding: 74px 0; } }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.2; margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: var(--navy-deep);
  box-shadow: 0 12px 26px -10px rgba(199, 154, 47, 0.65);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -12px rgba(199, 154, 47, 0.75); }
.btn-outline {
  border-color: rgba(246, 239, 225, 0.6);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(246, 239, 225, 0.12); transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-3px); }
.btn-small { padding: 10px 20px; font-size: 0.82rem; }
.btn-wide { width: 100%; padding: 16px; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; color: var(--cream); }
.preloader-inner span { display: block; margin-top: 14px; font-family: var(--font-display); letter-spacing: 3px; font-size: 1.1rem; }
.preloader-wave path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: dash 1.4s ease-in-out infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }

.cursor-glow {
  position: fixed; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,154,47,0.10), transparent 70%);
  pointer-events: none; z-index: 2; transform: translate(-50%, -50%);
  transition: opacity .3s ease; opacity: 0; display: none;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { display: block; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(246, 239, 225, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -14px rgba(14,35,56,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { border-radius: 50%; flex-shrink: 0; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(18deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.brand-sub { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--navy); position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold);
  transition: width .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; background: rgba(22,50,74,0.06);
  border: 1px solid rgba(22,50,74,0.15); color: var(--navy); padding: 8px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
}
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; background: var(--white);
  border-radius: 12px; box-shadow: var(--shadow-card); min-width: 150px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .3s var(--ease);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { padding: 9px 12px; border-radius: 8px; font-size: 0.86rem; cursor: pointer; color: var(--ink); }
.lang-menu li:hover, .lang-menu li.active { background: var(--cream-soft); color: var(--navy); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: all .35s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .main-nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 340px);
    background: var(--cream); box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    padding: 110px 34px 40px; transition: right .5s var(--ease); z-index: 400;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 8px; }
}

@media (max-width: 640px) {
  .header-actions .btn.btn-gold.btn-small { display: none; }
  .lang-btn { padding: 8px 10px; }
  .brand-sub { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.1rem; }
}

@media (max-width: 400px) {
  .lang-btn span:not(#langLabel) { display: none; }
  .lang-btn { padding: 8px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 120px; padding-bottom: 60px;
}
.hero-sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #fbf1d9 0%, #f3e0ae 32%, #e9c98f 55%, #cfa15a 78%, #16324a 100%);
}
.hero-sun {
  position: absolute; top: 14%; right: 12%; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fdeec0, #e9b24e 60%, #c9902c);
  box-shadow: 0 0 120px 40px rgba(233, 178, 78, 0.45);
  animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.hero-birds { position: absolute; top: 20%; left: 8%; width: 240px; }
.bird { position: absolute; width: 34px; opacity: 0.55; }
.bird.b1 { top: 0; left: 0; animation: fly 7s ease-in-out infinite; }
.bird.b2 { top: 22px; left: 46px; width: 24px; animation: fly 7s ease-in-out infinite .6s; }
.bird.b3 { top: -10px; left: 90px; width: 20px; animation: fly 7s ease-in-out infinite 1.2s; }
@keyframes fly { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-temple { position: absolute; bottom: 16%; right: 6%; width: 180px; height: 150px; opacity: 0.85; }
@media (max-width: 720px) { .hero-temple { width: 120px; height: 100px; right: 4%; bottom: 20%; } }

.hero-waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 42%; overflow: hidden; }
/* Each wave's viewBox is two seamlessly-tiled copies of the same path side by
   side (0–1600 then 1600–3200). Looping translateX from 0 to -50% lands back
   on an identical frame, so the drift never exposes a gap at the edge. */
.hero-waves .wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave-1 path { fill: rgba(28, 58, 94, 0.55); }
.wave-2 path { fill: rgba(18, 40, 64, 0.75); }
.wave-3 path { fill: #0e2338; }
.wave-1 { animation: waveShift 26s linear infinite; }
.wave-2 { animation: waveShift 34s linear infinite reverse; }
.wave-3 { animation: waveShift 42s linear infinite; }
@keyframes waveShift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-content { position: relative; z-index: 3; text-align: center; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 4px; font-size: 0.82rem; font-weight: 600;
  color: var(--navy); margin-bottom: 22px;
}
.hero-seal { width: 128px; height: 128px; margin: 0 auto 22px; filter: drop-shadow(0 14px 26px rgba(14,35,56,0.35)); }
.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.4rem); color: var(--navy-deep); line-height: 1;
  margin-bottom: 8px; letter-spacing: 1px;
}
.hero-subtitle {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--navy); margin-bottom: 20px;
}
.hero-text { max-width: 560px; margin: 0 auto 28px; color: #2c3540; font-size: 1.06rem; }

.launch-badge {
  display: inline-flex; gap: 8px; align-items: center; background: var(--navy);
  color: var(--cream); padding: 10px 22px; border-radius: 999px; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 32px;
}
.launch-badge strong { color: var(--gold-light); text-transform: none; letter-spacing: 0.5px; font-family: var(--font-display); }
.launch-badge.on-dark { background: rgba(246,239,225,0.12); border: 1px solid rgba(246,239,225,0.3); }

.countdown { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.cd-box {
  background: rgba(255,255,255,0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(22,50,74,0.15);
  border-radius: 14px; padding: 14px 18px; min-width: 82px; text-align: center;
  box-shadow: var(--shadow-card);
}
.cd-num { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--navy-deep); line-height: 1; }
.cd-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--gold-deep); font-weight: 600; }

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero { padding-top: 130px; }
  .countdown { gap: 10px; }
  .cd-box { min-width: 68px; padding: 10px 12px; }
  .cd-num { font-size: 1.4rem; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--navy-deep); overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: flex; gap: 26px; white-space: nowrap; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-style: italic; color: var(--gold-light);
  font-size: 1rem; letter-spacing: 0.5px;
}
.marquee-track span:nth-child(2n) { color: var(--cream); opacity: 0.5; font-style: normal; font-family: var(--font-body); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.hero .reveal { transition-delay: calc(var(--d, 0) * 90ms); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-art { position: relative; }
.about-art-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 6px solid var(--white); transform: rotate(-2deg);
}
.about-art-frame picture { display: block; }
.about-art-frame img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 400 / 480; }
.about-tag {
  position: absolute; bottom: -18px; right: -14px; background: var(--gold);
  color: var(--navy-deep); font-family: var(--font-display); font-weight: 700;
  padding: 10px 18px; border-radius: 10px; font-size: 1.1rem; box-shadow: var(--shadow-card);
  transform: rotate(3deg);
}
.about-copy p { color: #3b4652; margin-bottom: 16px; }
.about-copy h2 { margin-bottom: 20px; }
.signature { margin-top: 24px; display: flex; flex-direction: column; }
.sig-name { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--navy); }
.sig-role { font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-deep); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-art { max-width: 380px; margin: 0 auto; }
}

/* ==========================================================================
   Wave dividers
   ========================================================================== */
.wave-divider { line-height: 0; color: var(--cream); }
.wave-divider svg path { fill: currentColor; }
.wave-divider.flip { transform: scaleY(-1); }

/* ==========================================================================
   Experience — "shoreline path": five markers strung along a hand-drawn
   wave line, alternating banks, instead of a uniform icon-card grid.
   ========================================================================== */
.experience { background: var(--cream-soft); }

.way-path { position: relative; margin-top: 70px; padding: 10px 0; }

.way-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 27px; transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='64'%3E%3Cpath d='M13.5,0 C2,10 25,22 13.5,32 C2,42 25,54 13.5,64' fill='none' stroke='%23c79a2f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-y; background-size: 27px 64px; opacity: 0.55;
}

.way-item {
  position: relative; width: 44%; margin-bottom: 64px; display: flex; align-items: flex-start; gap: 18px;
}
.way-item:last-child { margin-bottom: 0; }

/* .way-line is itself the first child of .way-path, which shifts the parity
   of the .way-item children that follow it — even therefore means "1st,
   3rd, 5th visible item" (left bank) and odd means "2nd, 4th" (right bank). */
.way-item:nth-child(even) { margin-right: 56%; flex-direction: row-reverse; text-align: right; }
.way-item:nth-child(odd) { margin-left: 56%; text-align: left; }

.way-item::before {
  content: ""; position: absolute; top: 8px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream-soft); border: 2.5px solid var(--gold); z-index: 2;
}
.way-item:nth-child(even)::before { right: -33px; }
.way-item:nth-child(odd)::before { left: -33px; }

.way-num {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px var(--navy); flex-shrink: 0; opacity: 0.7;
  transition: opacity .4s var(--ease), color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
}
.way-item:hover .way-num { opacity: 1; color: var(--gold); -webkit-text-stroke: 1.4px var(--gold-deep); }

.way-copy h3 { font-size: 1.2rem; margin-bottom: 8px; }
.way-copy p { color: #4b5560; font-size: 0.94rem; }

@media (max-width: 780px) {
  .way-line { left: 14px; transform: none; }
  .way-item, .way-item:nth-child(odd), .way-item:nth-child(even) {
    width: auto; margin-left: 46px; margin-right: 0; flex-direction: row; text-align: left;
  }
  .way-item:nth-child(odd)::before, .way-item:nth-child(even)::before { left: -40px; right: auto; }
  .way-num { font-size: 2.6rem; }
}

/* ==========================================================================
   Stay section
   ========================================================================== */
.stay-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.stay-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.stay-list li { display: flex; align-items: flex-start; gap: 12px; color: #3b4652; font-size: 0.98rem; }
.stay-list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--gold-light);
  background-image: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.stay-art { position: relative; height: 420px; }
.stay-frame { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 6px solid var(--white); }
.stay-frame picture { display: block; }
.stay-frame img { display: block; width: 100%; object-fit: cover; }
.frame-1 img { aspect-ratio: 300 / 220; }
.frame-2 img { aspect-ratio: 1 / 1; }
.frame-1 { width: 78%; top: 0; left: 0; z-index: 1; }
.frame-2 { width: 55%; bottom: 0; right: 0; z-index: 2; transform: rotate(3deg); }

@media (max-width: 900px) {
  .stay-grid { grid-template-columns: 1fr; gap: 50px; }
  .stay-art { height: 320px; max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Heritage
   ========================================================================== */
.heritage { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-mid)); position: relative; overflow: hidden; }
.heritage-bg { position: absolute; inset: 0; z-index: 0; }
.heritage-banner { position: relative; z-index: 1; margin-bottom: 54px; }
.heritage-banner picture {
  display: block; max-width: 720px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); border: 6px solid var(--cream-soft);
}
.heritage-banner img {
  display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 1599 / 807;
}
.heritage-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.heritage p { color: #cfd8e0; margin-bottom: 18px; }
.heritage-facts { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.heritage-facts li { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid var(--gold); }
.heritage-facts strong { color: var(--gold-light); font-family: var(--font-display); font-size: 1.05rem; }
.heritage-facts span { color: #c3cdd6; font-size: 0.9rem; }

.heritage-art { position: relative; height: 400px; width: 100%; max-width: 340px; margin: 0 auto; }
.heritage-frame {
  position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 6px solid var(--cream-soft);
}
.heritage-frame picture { display: block; }
.heritage-frame img { display: block; width: 100%; object-fit: cover; }
.heritage-frame.frame-1 { width: 90%; top: 0; left: 0; z-index: 1; }
.heritage-frame.frame-1 img { aspect-ratio: 1200 / 515; }
.heritage-frame.frame-2 { width: 46%; bottom: 0; right: 0; z-index: 2; }
.heritage-frame.frame-2 img { aspect-ratio: 2 / 3; }

@media (max-width: 900px) {
  .heritage-grid { grid-template-columns: 1fr; gap: 40px; }
  .heritage-banner img { max-height: 220px; }
  .heritage-art { max-width: 280px; height: 320px; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 18px; margin-top: 54px;
}
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
  grid-row: span 1;
}
.g-tall { grid-row: span 2; }
.g-art { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.g-item:hover .g-art { transform: scale(1.08); }
.g-item span {
  position: absolute; left: 16px; bottom: 14px; color: var(--cream); font-family: var(--font-display);
  font-size: 1rem; z-index: 2; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,35,56,0.55)); z-index: 1; }

.art-sunrise { background: linear-gradient(160deg, #fbe6b8, #e9a24e 55%, #c96b3e); }
.art-steps { background: linear-gradient(160deg, #cfe3e6, #7fa8b8 60%, #3c5f70); }
.art-courtyard { background: linear-gradient(160deg, #e3ecd8, #9db98a 60%, #5a7a4e); }
.art-temple { background: linear-gradient(160deg, #d7c6a3, #a9895a 55%, #5b452a); }
.art-sunset { background: linear-gradient(160deg, #f6c9a0, #d97a5a 55%, #6a2f4b); }
.art-kitchen { background: linear-gradient(160deg, #f1e2c4, #cba869 60%, #7a5a2e); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-tall { grid-row: span 1; }
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial { text-align: center; }
.testimonial-inner { max-width: 720px; }
.quote-mark { margin: 0 auto 20px; }
.testimonial-text { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--navy); line-height: 1.5; }
.testimonial-cta { margin-top: 26px; }
.testimonial-cta a { color: var(--gold-deep); font-weight: 600; border-bottom: 2px solid var(--gold); padding-bottom: 3px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%);
  position: relative; overflow: hidden; padding-top: 140px;
}
.contact-waves { position: absolute; top: -1px; left: 0; width: 100%; transform: scaleY(-1); color: var(--cream-soft); opacity: 0.06; height: 200px; }
.contact-waves svg path { fill: currentColor; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-info .lead { margin-bottom: 30px; }
.contact-detail { display: flex; align-items: center; gap: 12px; color: var(--cream); margin-bottom: 16px; font-size: 0.98rem; }
.contact-detail svg { color: var(--gold-light); flex-shrink: 0; }
.contact-detail a { border-bottom: 1px solid rgba(246,239,225,0.3); }

.contact-form {
  background: rgba(246, 239, 225, 0.98); border-radius: var(--radius); padding: 38px;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.3px; }
.form-row input, .form-row textarea {
  border: 1.5px solid rgba(22,50,74,0.18); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 0.95rem; background: var(--white); color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,154,47,0.18); outline: none; }
.form-note { font-size: 0.78rem; color: #6b7580; text-align: center; }
.form-note.success { color: #3a7d4f; font-weight: 600; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .contact { padding-top: 100px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--cream); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { margin-bottom: 14px; }
.footer-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.footer-tag { font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin-top: 4px; }
.footer-tamil { margin-top: 10px; font-size: 1rem; color: #9fb0bd; }
.footer-links, .footer-lang { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4, .footer-lang h4 { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.footer-links a, .footer-links span { color: #c3cdd6; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-lang-list { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-lang-list button {
  background: rgba(246,239,225,0.08); border: 1px solid rgba(246,239,225,0.2); color: var(--cream);
  padding: 7px 12px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; transition: background .3s ease;
}
.footer-lang-list button:hover, .footer-lang-list button.active { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.footer-wave { color: var(--cream-soft); opacity: 0.05; line-height: 0; }
.footer-wave svg path { fill: currentColor; }

.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 0.8rem; color: #8695a2; flex-wrap: wrap; gap: 8px 24px; }
.footer-dev a { color: #a9b6c1; border-bottom: 1px solid rgba(169,182,193,0.4); transition: color .3s ease, border-color .3s ease; }
.footer-dev a:hover { color: var(--gold-light); border-color: var(--gold-light); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--cream); border: none; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .4s var(--ease); z-index: 200;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy-deep); }

/* ==========================================================================
   Misc responsive
   ========================================================================== */
@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .contact-form { padding: 26px; }
}

::selection { background: var(--gold); color: var(--navy-deep); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
