/* ============================================================
   BRICK LAWN LANDSCAPING — Design Tokens & Base Styles
   ============================================================ */

:root {
  /* Brand */
  --gold: #C9A24A;
  --gold-light: #E5C56A;
  --gold-deep: #8C6E2A;
  --gold-glow: rgba(201, 162, 74, 0.35);

  --green: #1F3A2E;
  --green-deep: #14271E;
  --green-light: #2E5644;

  --ink: #0A0C0B;
  --ink-2: #121514;
  --ink-3: #1A1D1B;
  --ink-4: #232624;

  --bone: #F4EFE6;
  --bone-2: #E8E1D2;
  --mute: #ADA79B;
  --line: rgba(244, 239, 230, 0.10);
  --line-strong: rgba(244, 239, 230, 0.22);

  /* Type */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-gold: 0 0 0 1px rgba(201, 162, 74, 0.25), 0 20px 60px -20px rgba(201, 162, 74, 0.25);
  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* Selection */
::selection { background: var(--gold); color: var(--ink); }

/* Type utilities */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-mute {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Gold gradient text */
.gold-text {
  background: linear-gradient(180deg, #F0D585 0%, #C9A24A 50%, #8C6E2A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hairline divider */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, #E5C56A 0%, #C9A24A 50%, #8C6E2A 100%);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 10px 30px -10px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 20px 40px -10px var(--gold-glow); }
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Section primitives */
.section { padding: 120px 48px; position: relative; }
.container { max-width: 1440px; margin: 0 auto; }

@media (max-width: 768px) {
  .section { padding: 80px 24px; }
}

/* Animated grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

/* Gold particle dust animation */
@keyframes drift {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
.dust {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 50%;
  filter: blur(0.5px);
  box-shadow: 0 0 6px var(--gold);
  animation: drift var(--dur, 8s) linear infinite;
}

/* Shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, transparent 0%, var(--gold-glow) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero slideshow zoom (continuous — never restarts on slide change) */
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.17); }
}
@media (max-width: 700px) {
  .hero-slide-meta { display: none !important; }
}

/* Marquee */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Placeholder photo (when CDN not loaded) */
.photo-ph {
  background:
    repeating-linear-gradient(45deg, var(--ink-3) 0 12px, var(--ink-2) 12px 24px);
  position: relative;
  overflow: hidden;
}
.photo-ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Visually hidden but read by search engines and screen readers (used for page H1s without a visible one) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
