/* ==========================================================================
   PALACE LAUNDRY — HOUSE OF SILK CARE
   Luxury Design System Tokens & Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Lato:wght@900&family=Noto+Sans+Tamil:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Core Brand Palette */
  --navy: #101E46;
  --navy-deep: #09122C;
  --navy-elevated: #172959;
  --gold: #C5A059;
  --gold-light: #E2C78E;
  --gold-dark: #8F6D2C;
  --ivory: #FAF6EC;
  --ivory-pure: #FFFDF8;
  --parchment: #F1E9D6;
  --parchment-deep: #E5D9BF;
  --purple: #48245E;
  --purple-deep: #301442;

  /* Neutrals & Ink */
  --ink: #141B2F;
  --ink-soft: #485066;
  --ink-muted: #6C7388;
  --white: #FFFFFF;

  /* Borders & Surfaces */
  --border-gold: rgba(197, 160, 89, 0.36);
  --border-gold-strong: rgba(197, 160, 89, 0.65);
  --border-navy: rgba(16, 30, 70, 0.12);
  --glass-navy: rgba(16, 30, 70, 0.92);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(16, 30, 70, 0.06);
  --shadow-md: 0 12px 34px rgba(16, 30, 70, 0.10);
  --shadow-lg: 0 24px 60px rgba(9, 18, 44, 0.18);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.22);

  /* Typography */
  --font-brand: 'Cinzel', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-display: 'Cormorant Garamond', 'Noto Sans Tamil', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & Layout */
  --container-max: 1240px;
  --container-narrow: 920px;
  --section-pad: clamp(4rem, 7.5vw, 6.75rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-luxury), background-color 0.25s var(--ease-luxury), border-color 0.25s var(--ease-luxury), transform 0.25s var(--ease-luxury);
}

button, input, select, textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

/* Container & Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--ivory {
  background-color: var(--ivory);
}

.section--ivory-pure {
  background-color: var(--ivory-pure);
}

.section--parchment {
  background-color: var(--parchment);
}

.section--navy {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
}

.section--purple {
  background: linear-gradient(145deg, var(--purple) 0%, var(--purple-deep) 60%, var(--navy-deep) 100%);
  color: var(--ivory);
}

/* Typography Hierarchy */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}

.section--navy .eyebrow,
.section--purple .eyebrow,
.hero .eyebrow {
  color: var(--gold-light);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.8;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: '';
  width: 24px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.8;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.35rem);
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  margin-bottom: 0.6rem;
}

h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.section--navy .lead,
.section--purple .lead,
.hero .lead {
  color: rgba(250, 246, 236, 0.86);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.gold-divider {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-block: 1.15rem;
}

.section-header--center .gold-divider {
  margin-inline: auto;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Scroll Reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s var(--ease-luxury), transform 0.32s var(--ease-luxury);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(10px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}
