/* 848 Property Services — Tier 2 PREMIER */
/* Fingerprint: 848-49058-tier2-archetype-magazine-grid */

:root {
  --lime: #C6FF3D;
  --lime-dim: #a8e02e;
  --ink: #0E1410;
  --ink-2: #161d18;
  --ink-3: #1f2823;
  --paper: #F4F1EA;
  --paper-2: #EAE6DC;
  --rule: rgba(244, 241, 234, 0.12);
  --muted: rgba(244, 241, 234, 0.68);
  --hair: 1px;
  --container: min(1320px, 92vw);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "General Sans", "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02";
  line-height: 1.55;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--ink); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime); }

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

.container { width: var(--container); margin-inline: auto; }

/* Type */
.display, h1.display, h2.display {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
h1, h2, h3, h4 { font-family: "General Sans", "Inter", sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.hero-headline {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lime);
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* Top utility bar */
.top-bar {
  background: var(--ink-2);
  border-bottom: var(--hair) solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.top-bar .inner { display: flex; justify-content: space-between; padding: 8px 0; }
.top-bar a { color: var(--paper); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 20, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--hair) solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-family: "Fraunces", serif; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-name span { color: var(--lime); }

.nav-links { display: flex; gap: 28px; align-items: center; font-size: 0.92rem; }
.nav-links a { opacity: 0.85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; color: var(--lime); }
.nav-cta {
  background: var(--lime); color: var(--ink) !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  letter-spacing: -0.01em; transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle { display: none; background: transparent; border: 0; color: var(--paper); }
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink-2); flex-direction: column; padding: 24px; border-bottom: var(--hair) solid var(--rule); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Breadcrumbs */
.crumbs { font-size: 0.82rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lime); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease;
  font-size: 0.95rem;
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-dim); transform: translateY(-2px); color: var(--ink); }
.btn-ghost { border: 1px solid var(--rule); color: var(--paper); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* Sections */
section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
section + section { border-top: var(--hair) solid var(--rule); }

/* Hero base */
.hero { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 160px); position: relative; overflow: hidden; }
.hero .meta-row { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }
.hero .meta-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.4); } }

/* Orb */
.orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--lime), transparent 60%);
  filter: blur(60px); opacity: 0.4; pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-20px) scale(1.08); }
}

/* Magazine grid */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.mag-grid .col-7 { grid-column: span 7; }
.mag-grid .col-5 { grid-column: span 5; }
.mag-grid .col-4 { grid-column: span 4; }
.mag-grid .col-6 { grid-column: span 6; }
.mag-grid .col-8 { grid-column: span 8; }
.mag-grid .col-12 { grid-column: span 12; }
@media (max-width: 880px) {
  .mag-grid > * { grid-column: span 12 !important; }
}

/* Cards */
.card {
  background: var(--ink-2);
  border: var(--hair) solid var(--rule);
  border-radius: 18px;
  padding: 28px;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--lime); transform: translateY(-3px); }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }

/* Service tile */
.tile {
  position: relative; padding: 36px; border-radius: 22px;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: var(--hair) solid var(--rule);
  overflow: hidden;
  transition: all .35s ease;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px;
  background: linear-gradient(135deg, transparent, var(--lime));
  opacity: 0; transition: opacity .3s; z-index: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.tile:hover::before { opacity: 1; }
.tile h3 { font-family: "Fraunces", serif; font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 12px; position: relative; z-index: 1; }
.tile p { color: var(--muted); margin: 0 0 20px; position: relative; z-index: 1; }
.tile .arrow { color: var(--lime); font-size: 1.25rem; position: relative; z-index: 1; transition: transform .3s; }
.tile:hover .arrow { transform: translateX(6px); }

/* Speakable answer block */
.speakable {
  background: linear-gradient(135deg, rgba(198,255,61,0.08), rgba(198,255,61,0.02));
  border-left: 3px solid var(--lime);
  padding: 28px 32px;
  border-radius: 0 14px 14px 0;
  margin: 32px 0;
}
.speakable .speakable-label {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  color: var(--lime); font-weight: 600; margin-bottom: 12px;
}
.speakable p { font-size: 1.05rem; color: var(--paper); margin: 0; line-height: 1.6; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-family: "Fraunces", serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin: 48px 0 18px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.prose p { color: var(--muted); margin: 0 0 18px; font-size: 1.02rem; }
.prose ul { color: var(--muted); padding-left: 22px; }
.prose ul li { margin: 8px 0; }
.prose a { color: var(--lime); border-bottom: 1px dashed var(--rule); }

/* FAQ */
.faq-item {
  border-bottom: var(--hair) solid var(--rule);
  padding: 22px 0;
}
.faq-q { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.08rem; }
.faq-q::after { content: "+"; color: var(--lime); font-size: 1.4rem; transition: transform .3s; }
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a { color: var(--muted); margin-top: 14px; }

/* Footer */
.site-footer {
  background: var(--ink-2);
  border-top: var(--hair) solid var(--rule);
  padding: 80px 0 36px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin: 8px 0; font-size: 0.92rem; color: var(--muted); }
.footer-col ul li a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 28px;
  border-top: var(--hair) solid var(--rule); font-size: 0.82rem; color: var(--muted);
}
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* Misc */
.divider { height: 1px; background: var(--rule); margin: 48px 0; }
.kbd { font-family: "JetBrains Mono", monospace; font-size: 0.85rem; padding: 2px 6px; border-radius: 4px; background: var(--ink-3); }
.tag { display: inline-block; padding: 5px 11px; background: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px; font-size: 0.78rem; color: var(--paper); }
.tag.lime { background: var(--lime); color: var(--ink); border: 0; font-weight: 600; }

.stat { padding: 24px; border: 1px solid var(--rule); border-radius: 14px; }
.stat .num { font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--lime); }
.stat .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* Hero archetype: broken-grid editorial (home) */
.hero-broken {
  display: grid;
  grid-template-columns: 4fr 3fr 5fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
  align-items: end;
}
.hero-broken .eyebrow-cell { grid-column: 1 / 3; }
.hero-broken .hero-title-cell { grid-column: 1 / 4; }
.hero-broken .hero-tagline { grid-column: 2 / 4; margin-top: 20px; padding-left: 6%; border-left: 2px solid var(--lime); }
.hero-broken .hero-cta-row { grid-column: 1 / 4; margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .hero-broken { grid-template-columns: 1fr; }
  .hero-broken > * { grid-column: 1 !important; }
  .hero-broken .hero-tagline { padding-left: 16px; }
}

/* Hero archetype: off-center orb (painting) */
.hero-orb {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  min-height: 60vh;
}
.hero-orb .orb-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-orb .orb-big {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lime), rgba(198,255,61,0.4) 30%, transparent 70%);
  filter: blur(40px);
  animation: pulseBig 6s ease-in-out infinite;
}
@keyframes pulseBig { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.15); opacity: 1; } }
.hero-orb .orb-ring {
  position: absolute; inset: 12%; border-radius: 50%;
  border: 1px solid var(--rule);
}
.hero-orb .orb-ring::after {
  content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid var(--rule);
}
@media (max-width: 880px) {
  .hero-orb { grid-template-columns: 1fr; }
}

/* Hero archetype: kinetic type-first (drywall) */
.hero-kinetic .kinetic-stack {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-kinetic .kinetic-line {
  font-family: "Fraunces", serif; font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 0.92; letter-spacing: -0.04em;
  overflow: hidden;
}
.hero-kinetic .kinetic-line span { display: inline-block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero-kinetic .kinetic-line.outline {
  color: transparent; -webkit-text-stroke: 1px var(--paper);
}
.hero-kinetic .kinetic-line.accent { color: var(--lime); }
.hero-kinetic .kinetic-meta { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }

/* Hero archetype: asymmetrical mosaic (doors & windows) */
.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 80px;
  gap: 14px;
}
.hero-mosaic .m-cell {
  border-radius: 14px;
  background: var(--ink-2); border: 1px solid var(--rule);
  padding: 22px; overflow: hidden;
  position: relative;
}
.hero-mosaic .m-title { grid-column: 1 / 5; grid-row: 1 / 4; padding: 36px; display: flex; flex-direction: column; justify-content: end; }
.hero-mosaic .m-title h1 { font-family: "Fraunces", serif; font-weight: 400; font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -0.025em; line-height: 0.95; margin: 0; }
.hero-mosaic .m-window { grid-column: 5 / 7; grid-row: 1 / 3; background: linear-gradient(135deg, var(--lime), rgba(198,255,61,0.2)); color: var(--ink); }
.hero-mosaic .m-door { grid-column: 5 / 7; grid-row: 3 / 5; background: var(--ink-3); }
.hero-mosaic .m-tagline { grid-column: 1 / 4; grid-row: 4 / 5; }
.hero-mosaic .m-cta { grid-column: 4 / 5; grid-row: 4 / 5; background: transparent; border-color: var(--lime); display: flex; align-items: center; justify-content: center; }
@media (max-width: 880px) {
  .hero-mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .hero-mosaic > * { grid-column: 1 !important; grid-row: auto !important; min-height: 120px; }
}

/* Hero archetype: magazine grid (flooring) */
.hero-mag {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}
.hero-mag .mag-left { padding-right: 32px; border-right: 1px solid var(--rule); }
.hero-mag .mag-right .mag-meta-list { display: flex; flex-direction: column; gap: 18px; }
.hero-mag .mag-meta-list .row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.hero-mag .mag-meta-list .row .k { color: var(--muted); }
@media (max-width: 880px) {
  .hero-mag { grid-template-columns: 1fr; }
  .hero-mag .mag-left { border-right: 0; padding-right: 0; }
}

/* Hero archetype: isometric stage (bathroom) */
.hero-iso { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-iso .iso-stage {
  aspect-ratio: 1 / 1;
  position: relative;
  perspective: 1200px;
}
.hero-iso .iso-platform {
  position: absolute; inset: 10%;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--rule);
  transform: rotateX(55deg) rotateZ(45deg);
  border-radius: 18px;
  box-shadow: 0 60px 100px -40px rgba(198,255,61,0.3);
}
.hero-iso .iso-shape {
  position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%) rotateX(55deg) rotateZ(45deg);
  width: 36%; height: 36%;
  background: var(--lime);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(198,255,61,0.4);
  animation: isoFloat 5s ease-in-out infinite;
}
@keyframes isoFloat {
  0%,100% { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(45deg); }
  50% { transform: translate(-50%, -60%) rotateX(55deg) rotateZ(45deg); }
}
@media (max-width: 880px) { .hero-iso { grid-template-columns: 1fr; } }

/* Hero archetype: spotlight vignette (about) */
.hero-spot { text-align: center; max-width: 920px; margin-inline: auto; padding: 60px 0; position: relative; }
.hero-spot::before {
  content: ""; position: absolute; inset: -100px;
  background: radial-gradient(ellipse at center, rgba(198,255,61,0.18), transparent 60%);
  pointer-events: none; z-index: -1;
}

/* Silo diagram */
.silo-diagram { position: relative; min-height: 540px; padding: 40px 0; }
.silo-diagram svg { width: 100%; max-width: 1000px; margin-inline: auto; display: block; }

/* Map */
.map-block iframe { width: 100%; height: 360px; border: 0; border-radius: 14px; filter: invert(0.92) hue-rotate(180deg); }

/* Texture overlay */
.noise::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.96 0 0 0 0 0.91 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: 0.5;
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--ink); padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; z-index: 40; box-shadow: 0 20px 40px -10px rgba(198,255,61,0.4);
  display: flex; align-items: center; gap: 10px;
  transition: transform .3s;
}
.sticky-cta:hover { transform: translateX(-50%) translateY(-2px); color: var(--ink); }
@media (max-width: 540px) { .sticky-cta { font-size: 0.82rem; padding: 10px 16px; } }
