/* Smart Property Solutions — editorial-on-dark
   Two hues only: #202020 canvas, #ffffff type, #66F5FF accent.
   Surfaces/hairlines are transparencies of white or black — no third color. */

:root {
  --bg: #202020;
  --ink: #ffffff;
  --accent: #66F5FF;

  --ink-70: rgba(255, 255, 255, 0.72);
  --ink-55: rgba(255, 255, 255, 0.55);
  --hair: rgba(255, 255, 255, 0.14);
  --hair-soft: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --shade: rgba(0, 0, 0, 0.35);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-expo-ish */
  --radius: 4px;

  /* semantic z-scale */
  --z-sticky: 100;
  --z-header: 200;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 999;
  background: var(--accent); color: var(--bg); padding: 0.6rem 1rem;
  border-radius: var(--radius); font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(2.6rem, 1.6rem + 5.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0.2em 0 0;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 340; color: var(--ink); }

.head-lg {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.head-lg em { font-style: italic; color: var(--accent); }

.lede {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 34ch;
  margin: 1.4rem 0 0;
  text-wrap: pretty;
}

.locale {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 0;
}
.locale.accent { color: var(--accent); }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 600;
  letter-spacing: 0.01em; line-height: 1; cursor: pointer;
  padding: 1rem 1.6rem; border-radius: var(--radius);
  border: 1px solid transparent; min-height: 48px;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover { transform: translateY(-2px); background: #8bf8ff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair); padding: 0.7rem 1.1rem; min-height: 42px; font-size: 0.9rem; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--gutter);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(32, 32, 32, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hair-soft);
}
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-mark svg { width: 38px; height: 38px; }
.brand-word {
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.02em;
}
@media (max-width: 560px) { .brand-word { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 12vh, 9rem) 0 clamp(4rem, 10vh, 8rem);
  min-height: min(90vh, 820px);
  display: flex; align-items: center;
}
.hero::before { /* faint cyan glow */
  content: ""; position: absolute; z-index: 0;
  top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(102, 245, 255, 0.14), transparent 62%);
  pointer-events: none;
}
.hero-art {
  /* The brand house itself, big — its cutlines stay transparent so the page
     charcoal shows through exactly like the badge. */
  position: absolute; z-index: 0; right: 4%; top: 50%; translate: 0 -50%;
  width: min(38vw, 470px); color: var(--accent); opacity: 0.78;
  filter: drop-shadow(0 0 90px rgba(102, 245, 255, 0.2));
  pointer-events: none; will-change: transform;
}
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  /* Solid glyph would fight the type on small screens — fade it to a ghost
     watermark low in the hero instead. */
  .hero-art { width: 230px; right: -8%; top: auto; bottom: -4%; translate: 0 0; opacity: 0.14; filter: none; }
}
.hero-inner { position: relative; z-index: 1; }
.hero .lede { max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* ---------- section rhythm ---------- */
.section { padding: clamp(4.5rem, 11vh, 9rem) 0; }
.section-head { max-width: 40ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--ink-70); margin: 1.1rem 0 0; max-width: 52ch; text-wrap: pretty; }

/* ---------- situations (editorial index, not cards) ---------- */
.sit-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--hair);
}
.sit {
  padding: 2.2rem 0.2rem 2.2rem;
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: transform 0.5s var(--ease);
}
.sit::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.5s var(--ease);
}
.sit:hover::before { width: 100%; }
.sit:hover { transform: translateY(-4px); }
.sit h3 {
  font-family: var(--font-display); font-weight: 440; font-size: 1.5rem;
  letter-spacing: -0.02em; margin: 0 0 0.6rem;
}
.sit p { margin: 0; color: var(--ink-70); max-width: 34ch; font-size: 1rem; }
/* two-column inner gutter without vertical rules getting cramped */
@media (min-width: 720px) {
  .sit-grid { column-gap: clamp(2rem, 5vw, 5rem); }
}

/* ---------- full-bleed statement band ---------- */
.band {
  padding: clamp(5rem, 14vh, 10rem) 0;
  border-top: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(102,245,255,0.08), transparent 55%),
    var(--surface);
}
.band-line {
  font-family: var(--font-display); font-weight: 340;
  font-size: clamp(1.9rem, 1.1rem + 3.6vw, 4rem);
  line-height: 1.05; letter-spacing: -0.03em; margin: 0; max-width: 20ch;
  text-wrap: balance;
}

/* ---------- how it works ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: none;
}
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--hair); }
.step-num {
  font-family: var(--font-display); font-weight: 340; font-style: italic;
  font-size: 2.4rem; color: var(--accent); display: block; line-height: 1;
  margin-bottom: 1.1rem;
}
.step h3 {
  font-family: var(--font-display); font-weight: 440; font-size: 1.55rem;
  letter-spacing: -0.02em; margin: 0 0 0.6rem;
}
.step p { margin: 0; color: var(--ink-70); }

/* ---------- why ---------- */
.why-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; } }
.why-lead .section-sub { margin-bottom: 2rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why-list li { padding: 1.6rem 0; border-top: 1px solid var(--hair); }
.why-list li:last-child { border-bottom: 1px solid var(--hair); }
.why-list h3 {
  font-family: var(--font-display); font-weight: 440; font-size: 1.3rem;
  letter-spacing: -0.015em; margin: 0 0 0.35rem;
}
.why-list p { margin: 0; color: var(--ink-70); }

/* ---------- lead form ---------- */
.form-section {
  background:
    radial-gradient(100% 120% at 10% 0%, rgba(102,245,255,0.06), transparent 50%),
    var(--surface);
  border-top: 1px solid var(--hair-soft);
}
.form-wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 920px) { .form-wrap { grid-template-columns: 0.85fr 1.15fr; } }
.form-intro { position: sticky; top: 6rem; }

.lead-form { display: grid; gap: 1.3rem; }
.lead-form .row { display: grid; gap: 1.3rem; }
@media (min-width: 560px) { .lead-form .row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-70);
}
.req { color: var(--accent); }
.opt { color: var(--ink-55); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: rgba(0, 0, 0, 0.22); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 0.9rem 1rem; min-height: 50px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(0, 0, 0, 0.35);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366F5FF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field select option { background: var(--bg); color: var(--ink); }

/* honeypot — off-screen but focusable/labeled for bots, hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.85rem; color: var(--ink-55); margin: 0.3rem 0 0; }
.form-note a { color: var(--ink-70); text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--accent); }
.form-error {
  margin: 1rem 0 0; padding: 0.85rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--accent); background: rgba(102, 245, 255, 0.08);
  color: var(--ink); font-size: 0.95rem;
}

/* ---------- book a call (native picker) ---------- */
.booker { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 720px; }
.booker-status, .booker-fallback { color: var(--ink-70); margin: 0; max-width: 52ch; }
.booker-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.booker-notice {
  margin: 0 0 1.6rem; padding: 0.85rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--accent); background: rgba(102, 245, 255, 0.08);
  color: var(--ink); font-size: 0.95rem;
}

.booker-field { margin-bottom: 1.8rem; }
.booker-field:last-child { margin-bottom: 0; }
.booker-label {
  display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-70); margin-bottom: 0.9rem;
}
.booker-label .tz { color: var(--ink-55); }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; line-height: 1;
  color: var(--ink); background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 0 1.1rem; min-height: 46px; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              background-color 0.25s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"],
.chip[aria-pressed="true"]:hover {
  background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600;
}

/* calendar day picker — month grid, one month at a time with slim arrows */
.booker-cal { max-width: 340px; }
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem; margin-bottom: 1.1rem;
}
.cal-title {
  font-family: var(--font-display); font-weight: 440; font-size: 1.2rem;
  letter-spacing: -0.01em; color: var(--ink);
}
.cal-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; font-size: 1.5rem; line-height: 1;
  color: var(--ink); background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--hair); border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cal-nav-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav-btn:disabled { opacity: 0.32; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-55); padding-bottom: 0.3rem;
}
.cal-blank { min-height: 42px; }
.cal-muted {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink-55);
}
.cal-day {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; width: 100%; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  background: rgba(0, 0, 0, 0.22); border: 1px solid var(--hair);
  border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}
.cal-day:hover { border-color: var(--accent); color: var(--accent); }
.cal-day[aria-pressed="true"],
.cal-day[aria-pressed="true"]:hover {
  background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600;
}

/* details form + confirmation share the lead-form field styles above */
/* Author display rules would defeat the hidden attribute — never let them. */
.booker [hidden] { display: none !important; }
.booker-form { margin-top: 0.5rem; display: grid; gap: 1.3rem; max-width: 560px; }
.booker-chosen {
  font-family: var(--font-display); font-weight: 440; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.45rem);
  letter-spacing: -0.015em; color: var(--ink); margin: 0;
}
.booker-error {
  margin: 0; padding: 0.85rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--accent); background: rgba(102, 245, 255, 0.08);
  color: var(--ink); font-size: 0.95rem;
}
.booker-change { justify-self: start; }

.booker-done {
  border: 1px solid var(--hair); border-radius: var(--radius);
  background: var(--surface); padding: clamp(1.8rem, 4vw, 2.6rem);
  display: grid; gap: 0.5rem; max-width: 560px;
}
.booker-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px; margin-bottom: 0.5rem;
  background: var(--accent); color: var(--bg);
}
.booker-check svg { width: 24px; height: 24px; }
.booker-done h3 {
  font-family: var(--font-display); font-weight: 440; font-size: 1.6rem;
  letter-spacing: -0.02em; margin: 0;
}
.booker-done p { margin: 0; color: var(--ink-70); }

/* whisper: rise-in when a stage first appears (content stays visible after) */
.booker-form:not([hidden]),
.booker-done:not([hidden]),
[data-times-field]:not([hidden]) { animation: booker-rise 0.5s var(--ease) both; }
@keyframes booker-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.thanks-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.thanks-cta p { flex-basis: 100%; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--hair); padding-top: clamp(3rem, 6vw, 5rem); margin-top: 2rem; }
.foot-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand img { width: 128px; height: 128px; margin-bottom: 1.2rem; }
.foot-brand p { color: var(--ink-70); max-width: 34ch; margin: 0; }
.foot-col h4 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-55); margin: 0 0 1rem;
}
.foot-col a, .foot-muted { display: block; color: var(--ink-70); margin-bottom: 0.6rem; }
.foot-col a { transition: color 0.2s var(--ease); }
.foot-col a:hover { color: var(--accent); }
.foot-base {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2.5rem; padding-bottom: 2.5rem; margin-top: 2.5rem;
  border-top: 1px solid var(--hair-soft); color: var(--ink-55); font-size: 0.9rem;
}

/* ---------- doc pages (privacy / thanks) ---------- */
.doc { padding: clamp(3rem, 8vh, 6rem) 0 5rem; }
.doc-wrap { max-width: 720px; }
.doc h1 { margin: 0.6rem 0 0; }
.doc h2 {
  font-family: var(--font-display); font-weight: 440; font-size: 1.5rem;
  letter-spacing: -0.02em; margin: 2.6rem 0 0.6rem;
}
.doc p { color: var(--ink-70); max-width: 65ch; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc-back { margin-top: 3rem; }
.doc-back a { text-decoration: none; }

.next-steps { list-style: none; margin: 2.5rem 0; padding: 0; display: grid; gap: 1.5rem; }
.next-steps li { display: flex; gap: 1.2rem; align-items: baseline; padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.next-steps .step-num { font-size: 1.7rem; margin: 0; }
.next-steps h3 { font-family: var(--font-display); font-weight: 440; font-size: 1.25rem; margin: 0 0 0.3rem; letter-spacing: -0.015em; }
.next-steps p { margin: 0; }
.thanks-cta { margin: 2.5rem 0 0; padding: 2rem; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--surface); }
.thanks-cta p { margin: 0 0 1.2rem; color: var(--ink); }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(32, 32, 32, 0.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--hair);
  transform: translateY(120%); transition: transform 0.4s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
@media (min-width: 720px) { .sticky-cta { display: none; } }
@media (max-width: 719px) { body { padding-bottom: 0; } } /* CTA overlays; sections have room */

/* ---------- reveal defaults (content visible; JS enhances) ---------- */
[data-reveal] { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .btn, .sit, .foot-col a, .chip { transition: none; }
  .booker-form:not([hidden]),
  .booker-done:not([hidden]),
  [data-times-field]:not([hidden]) { animation: none; }
  /* The hero art is the brand house now — keep it, just motionless. */
}
