/* ============================================================
   PURE ZONE — Design System
   Luxury cleaning. Charcoal / warm white / restrained gold.
   ============================================================ */

:root {
  /* Palette — deliberate, not default */
  --ink:        #0E0E0F;   /* near-black header/footer */
  --ink-soft:   #1A1A1C;   /* raised surfaces on dark */
  --paper:      #FBFAF7;   /* warm white body */
  --paper-2:    #F3F1EC;   /* section alt */
  --line:       #E4E1D9;   /* hairline on light */
  --line-dark:  #2A2A2D;   /* hairline on dark */
  --text:       #17171A;   /* body text on light */
  --text-mute:  #6A6A6E;   /* secondary text */
  --text-inv:   #F5F4F0;   /* text on dark */
  --text-inv-mute:#A6A5A0;

  /* Gold — used with restraint, the single accent */
  --gold:       #C6A667;
  --gold-deep:  #A8863F;
  --gold-soft:  rgba(198,166,103,0.14);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
  --step-3:  clamp(2.4rem, 1.9rem + 2.6vw, 3.8rem);
  --step-4:  clamp(3.2rem, 2.3rem + 4.6vw, 6rem);

  /* Space */
  --gutter: clamp(1.2rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --maxw: 1240px;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }

p { max-width: 68ch; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.wrap-wide { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.serif-accent { font-family: var(--serif); font-style: italic; color: var(--gold-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--sans); font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  padding: 1.05em 2em; border-radius: var(--radius);
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.45s var(--ease);
  position: relative; overflow: hidden;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(168,134,63,0.6); }
.btn-ghost { border-color: currentColor; color: var(--text); }
.btn-ghost:hover { background: var(--ink); color: var(--text-inv); border-color: var(--ink); }
.btn-ghost-inv { border-color: rgba(245,244,240,0.35); color: var(--text-inv); }
.btn-ghost-inv:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Section rhythm */
.section { padding-block: var(--section-y); }
.section-dark { background: var(--ink); color: var(--text-inv); }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { margin-top: 0.6rem; }
.section-head p { color: var(--text-mute); margin-top: 1.2rem; font-size: var(--step-1); line-height: 1.5; }
.section-dark .section-head p { color: var(--text-inv-mute); }

/* Reveal animation base (JS toggles .in) */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

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