/* Base: variables populated dynamically from logo via script.js */
:root {
  /* Plizé Color Palette */
  --brand-primary: #9A6DA6;   /* Purple */
  --brand-accent:  #F29F05;   /* Golden */
  --brand-dark:    #A63F03;   /* Dark Rust */
  --brand-light:   #F2E2CE;   /* Cream */
  --brand-coral:   #D97B66;   /* Coral */
  --text:          #2D1B3D;
  --text-muted:    #6B5B6B;
  --bg:            #FBF8F5;
  --surface:       rgba(250, 248, 245, 0.85);
  --surface-solid: #FFFFFF;
  --border:        rgba(154, 109, 166, 0.12);
  --shadow-sm:     0 1px 3px rgba(154, 109, 166, 0.08), 0 1px 2px rgba(154, 109, 166, 0.04);
  --shadow-md:     0 4px 16px rgba(154, 109, 166, 0.12), 0 2px 6px rgba(154, 109, 166, 0.06);
  --shadow-lg:     0 12px 40px rgba(154, 109, 166, 0.16), 0 4px 12px rgba(154, 109, 166, 0.08);
  --radius-sm:     10px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --transition:    all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 72px;
}

.container { width: min(1200px, 90vw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(135deg, #9A6DA6 0%, #D97B66 50%, #F29F05 100%); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(255,255,255,0.2); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, var(--shadow-md); }
.header-wrap { display: flex; align-items: center; gap: clamp(12px, 3vw, 24px); padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: var(--transition); }
.brand:hover { transform: translateY(-1px); }
.logo { border-radius: var(--radius-md); transition: var(--transition); }
.brand:hover .logo { transform: scale(1.02); }
.brand-name { font-weight: 900; letter-spacing: -0.01em; font-size: 24px; color: white; text-transform: uppercase; tracking-letter: -0.02em; text-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.nav { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav a { color: white; text-decoration: none; font-weight: 500; padding: 10px 16px; border-radius: var(--radius-sm); transition: var(--transition); font-size: 15px; }
.nav a:not(.btn):hover { background: rgba(255,255,255,0.2); color: white; }
.nav .btn.primary { background: #D97B66; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.nav .btn.primary:hover { background: #C86B56; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.nav-toggle { display: none; margin-left: auto; border: none; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); transition: var(--transition); color: white; }
.nav-toggle:hover { background: rgba(255,255,255,0.2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; border: none; color: var(--text); transition: var(--transition); font-size: 15px; cursor: pointer; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%); opacity: 0; transition: opacity 280ms ease; }
.btn:hover::before { opacity: 1; }
.btn.primary { background: #D97B66; color: white; box-shadow: 0 4px 14px rgba(217, 123, 102, 0.35), 0 1px 0 rgba(255,255,255,0.15) inset; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217, 123, 102, 0.45), 0 1px 0 rgba(255,255,255,0.2) inset; background: #C86B56; }
.btn.primary:active { transform: translateY(-1px); }
.btn.ghost { background: var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--surface-solid); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: clamp(500px, 70vh, 750px); display: flex; align-items: center; }
.hero-content { padding: clamp(60px, 12vh, 120px) 0; text-align: center; position: relative; z-index: 10; width: 100%; isolation: isolate; }
.hero h1 { font-size: clamp(48px, 8.5vw, 84px); line-height: 1.08; margin: 0 0 20px; font-weight: 900; letter-spacing: -0.02em; background: linear-gradient(135deg, #9A6DA6 0%, #D97B66 50%, #F29F05 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; -webkit-text-stroke: 1px rgba(154, 109, 166, 0.20); }
.hero .subtitle { font-size: clamp(18px, 2.6vw, 24px); color: var(--text-muted); margin: 0 0 36px; font-weight: 400; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.hero .cta { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-bg { position: absolute; inset: 0; z-index: 1;
  background: rgba(255, 255, 255, 0.30);
}

/* Sections */
.section { padding: clamp(64px, 10vw, 100px) 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.7) 100%); backdrop-filter: blur(10px); position: relative; }
.section.alt::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--brand-primary) 4%, transparent) 0%, transparent 60%); pointer-events: none; }
.section h2 { font-size: clamp(32px, 4vw, 44px); margin: 0 0 12px; font-weight: 700; letter-spacing: -0.02em; }
.section-lead { color: var(--text-muted); margin-bottom: 42px; font-size: clamp(16px, 2vw, 19px); max-width: 700px; line-height: 1.6; }

.cards { display: grid; grid-template-columns: repeat( auto-fit, minmax(280px, 1fr) ); gap: 24px; }
.card { background: var(--surface); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md), 0 1px 0 rgba(255,255,255,0.5) inset; transition: var(--transition); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #9A6DA6, #F29F05); opacity: 0; transition: opacity 280ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 1px 0 rgba(255,255,255,0.6) inset; }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-muted); line-height: 1.65; font-size: 15px; }

/* R/E/A/L */
.rea { display: grid; grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) ); gap: 24px; }
.rea-item { background: var(--surface); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-md), 0 1px 0 rgba(255,255,255,0.5) inset; transition: var(--transition); position: relative; }
.rea-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 1px 0 rgba(255,255,255,0.6) inset; }
.rea-letter { height: 80px; width: 80px; border-radius: var(--radius-md); display: grid; place-items: center; font-weight: 900; font-size: 40px; color: white; background: linear-gradient(135deg, #9A6DA6, #D97B66); box-shadow: 0 12px 32px rgba(154, 109, 166, 0.50), inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 2px rgba(0,0,0,0.15); position: relative; letter-spacing: -0.02em; }
.rea-letter::after { content: ''; position: absolute; inset: -3px; border-radius: var(--radius-md); background: radial-gradient(circle, rgba(242, 159, 5, 0.3) 0%, transparent 70%); animation: pulse-glow 3s ease-in-out infinite; z-index: -1; }
@keyframes pulse-glow { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.rea-item h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.rea-item p { margin: 0; color: var(--text-muted); line-height: 1.65; }

/* Highlights */
.highlights { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; max-width: 800px; }
.highlights li { background: var(--surface); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; padding-left: 50px; font-size: 15px; }
.highlights li::before { content: '✓'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #F29F05, #D97B66); color: white; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.highlights li:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

/* Contact */
.contact { text-align: center; }
.contact h2 { margin-bottom: 16px; }
.contact p { margin-bottom: 28px; }
.contact .btn { margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(20px); }
.site-footer .container { padding: 32px 0; text-align: center; color: var(--text-muted); font-size: 14px; }

/* Mobile nav */
@media (max-width: 880px) {
  .nav { display: none; }
  .nav[aria-expanded="true"] { display: grid; grid-auto-flow: row; gap: 4px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); position: absolute; top: calc(100% + 8px); right: 4%; padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav-toggle { display: inline-block; }
  .hero { background-attachment: scroll; }
  .rea-item { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .rea-letter::after { animation: none; }
}
