/* ============================================================
   LUMIÈRE  —  luminous editorial template for painting companies
   ------------------------------------------------------------
   Art direction: warm ivory paper + deep navy ink + royal-blue
   accent, lifted by a warm GOLD "light" tone. Soft radial sun-
   blooms, thin gold keyline photo frames, high-contrast Fraunces
   display serif. No painted PNGs — every flourish is pure CSS.

   🎨 THEME
   The whole site recolours from the tokens below. The signature
   pairing is --accent (brand blue) + --gold (the "lumière" light).

   Ready-made accent palettes (accent / dark / light):
   Royal Blue  #1f6fc4 #185a9f #4c93da   (Life Saver — default)
   Forest      #2f7d4f #235f3c #54a473
   Terracotta  #c25b3a #a04527 #d67e5f
   Plum        #7a4a86 #5f3768 #9c6ea7
   Slate-Teal  #2a7f86 #1f6168 #4ea6ad
   ============================================================ */

:root {
  /* paper / ink */
  --paper:    #faf6ee;   /* warm ivory page */
  --paper-2:  #f2e9d8;   /* warmer sand band */
  --card:     #ffffff;
  --ink:      #14233c;   /* deep navy ink */
  --ink-2:    #2a3b57;
  --muted:    #5e6a7e;
  --line:     rgba(20, 35, 60, 0.12);

  /* brand (also consumed by demo-bar.css) */
  --brand:      #14233c;
  --brand-dark: #0c1830;

  /* accent — Life Saver royal blue */
  --accent:   #1f6fc4;
  --accent-d: #185a9f;
  --accent-l: #4c93da;

  /* gold — the "lumière" light */
  --gold:     #c9a24c;
  --gold-l:   #e6cd86;
  --gold-d:   #a9842f;

  /* glow */
  --bloom: rgba(230, 205, 134, 0.55);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-card: 0 22px 50px -28px rgba(20, 35, 60, 0.45);
  --shadow-soft: 0 12px 32px -20px rgba(20, 35, 60, 0.35);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint film grain for a premium paper feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-d);
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

section { position: relative; z-index: 2; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-d);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.is-centered::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* glow bloom */
.bloom {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bloom) 0%, rgba(230, 205, 134, 0) 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

/* gold keyline photo frame */
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201, 162, 76, 0.55);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(20, 35, 60, 0.65);
}
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -14px rgba(31, 111, 196, 0.6);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-l), var(--gold));
  color: #3a2c08;
  box-shadow: 0 14px 30px -14px rgba(201, 162, 76, 0.7);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.04); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(20, 35, 60, 0.4);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--gold-l), var(--gold) 70%);
  color: #3a2c08;
  box-shadow: 0 0 0 5px rgba(201, 162, 76, 0.16);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.logo-name .ls-thin { font-weight: 400; font-style: italic; color: var(--accent-d); }
.logo-sub {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); }

.nav-cta {
  padding: 10px 20px;
  font-size: 0.88rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-d); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero-glow-1 { width: 760px; height: 760px; top: -260px; right: -200px; }
.hero-glow-2 {
  width: 520px; height: 520px; bottom: -240px; left: -180px;
  background: radial-gradient(circle, rgba(76, 147, 218, 0.22) 0%, rgba(76, 147, 218, 0) 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  margin-bottom: 22px;
}
.hero-lead {
  max-width: 30rem;
  font-size: 1.06rem;
  color: var(--muted);
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.hero-meta a { font-weight: 600; }
.hero-meta .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.hero-meta .mk {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta svg { color: var(--accent); }

/* hero figure — soft arch + gold keyline */
.hero-figure {
  position: relative;
  z-index: 2;
}
.hero-figure .frame {
  border-radius: 230px 230px 20px 20px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 90px -40px rgba(20, 35, 60, 0.6);
}
.hero-figure .frame::after {
  border-radius: 222px 222px 12px 12px;
}
.hero-figure:hover .frame img { transform: scale(1.05); }

.hero-chip {
  position: absolute;
  left: -26px;
  bottom: 38px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.hero-chip .chip-ic {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, var(--gold-l), var(--gold));
  color: #3a2c08;
}
.hero-chip .chip-ic svg { width: 22px; height: 22px; }
.hero-chip .chip-tt { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.hero-chip .chip-sb { font-size: 0.74rem; color: var(--muted); }

/* ============================================================
   MARQUEE / TRUST STRIP
   ============================================================ */
.pillars {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(242, 233, 216, 0.5), rgba(242, 233, 216, 0));
}
.pillars-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 30px;
  padding: 22px 0;
  text-align: center;
}
.pillar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.pillar svg { width: 20px; height: 20px; color: var(--gold-d); flex: none; }
.pillar-sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section { padding: 104px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
}
.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(20, 35, 60, 0.5);
  border-color: rgba(201, 162, 76, 0.5);
}
.service-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .service-media img { transform: scale(1.06); }
.service-icon {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--accent-d);
  box-shadow: var(--shadow-soft);
}
.service-body { padding: 26px 26px 30px; }
.service-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.service-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-d);
}
.service-link svg { transition: transform 0.25s ease; }
.service-link:hover svg { transform: translateX(4px); }

/* ============================================================
   GALLERY  (split copy + 2x2 framed grid)
   ============================================================ */
.gallery { background: var(--paper-2); overflow: hidden; }
.gallery .bloom { width: 620px; height: 620px; top: -200px; right: -160px; }

.gallery-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
}
.gallery-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.gallery-copy p {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
}
.gallery-points {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 13px;
}
.gallery-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink-2);
}
.gallery-points .tick {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(201, 162, 76, 0.16);
  color: var(--gold-d);
}
.gallery-points .tick svg { width: 14px; height: 14px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-grid .frame {
  aspect-ratio: 1 / 1;
}
.gallery-grid .frame:nth-child(1) { border-top-left-radius: 90px; }
.gallery-grid .frame:nth-child(4) { border-bottom-right-radius: 90px; }
.gallery-grid .frame:hover img { transform: scale(1.07); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
  position: relative;
  margin: 0;
  padding: 0;
}
.cta-inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% -10%, rgba(201, 162, 76, 0.5), transparent 46%),
    radial-gradient(circle at 8% 120%, rgba(31, 111, 196, 0.45), transparent 50%),
    linear-gradient(120deg, var(--brand-dark), var(--ink));
  border-radius: 28px;
  padding: 70px clamp(28px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 40px 80px -40px rgba(20, 35, 60, 0.7);
}
.cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 205, 134, 0.28);
  border-radius: inherit;
  pointer-events: none;
}
.cta-copy { max-width: 32rem; }
.cta-copy .eyebrow { color: var(--gold-l); }
.cta-copy .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-l)); }
.cta-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.cta-title em { color: var(--gold-l); }
.cta-copy p { color: rgba(255, 255, 255, 0.74); margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .phone-big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 0;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255, 255, 255, 0.5); }
.footer-blurb {
  margin: 20px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 30ch;
}
.footer-head {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin: 4px 0 18px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-list a, .footer-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.footer-list a:hover { color: #fff; }
.footer-contact svg { color: var(--gold); flex: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { max-width: 460px; }
  .hero { padding-top: 142px; }
  .gallery-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: var(--paper);
    box-shadow: -20px 0 60px -30px rgba(20, 35, 60, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-link { font-size: 1.15rem; }
  .nav-cta { font-size: 1rem; padding: 12px 24px; }
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .section { padding: 76px 0; }
  .gallery.section { padding-bottom: 56px; }
  .gallery-grid { gap: 16px; }
  .gallery-grid .frame,
  .gallery-grid .frame:nth-child(1),
  .gallery-grid .frame:nth-child(4) { border-radius: var(--radius); }
  .gallery-grid .frame::after { inset: 7px; border-radius: 11px; }
  .cta-inner { padding: 52px 28px; }
  .cta-actions { width: 100%; }
}

@media (max-width: 480px) {
  .container { width: 100% - 36px; width: calc(100% - 36px); }
  .hero-chip { left: 8px; }
  .gallery-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
