/* =========================================================
   DeedZip — site styles
   Dark editorial look, orange accent. No framework.
   ========================================================= */

@property --beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #070707;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --text: #f5f2ec;
  --muted: #a8a49c;
  --faint: #85817a;

  --accent: #ff6a1f;
  --accent-hi: #ffa25c;
  --accent-lo: #e2520c;
  --accent-ink: #140800;
  --accent-soft: rgba(255, 106, 31, .1);

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* Headings: Geist set bold and tight, same family as the DEEDZIP.com logo */
  --font-display: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --dock-space: 96px;

  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --dock-space: 0px; }
}

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

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

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain — sits behind content, above the background */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .06;
  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 type='fractalNoise' baseFrequency='.8' numOctaves='3' 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%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

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

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

.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;
}

.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Background: glow + grid ---------- */
.page-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(1100px, 150vh);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-bg .glow {
  position: absolute;
  left: 50%;
  top: -460px;
  width: 1200px;
  height: 860px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 31, .30), rgba(255, 106, 31, .10) 45%, transparent 75%);
  animation: breathe 12s ease-in-out infinite alternate;
}
.page-bg .glow-core {
  top: -200px;
  width: 560px;
  height: 340px;
  background: radial-gradient(closest-side, rgba(255, 170, 110, .30), transparent 72%);
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}
.page-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, #000 15%, transparent 70%);
}

@keyframes breathe {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.08); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 7, .72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-color: var(--line);
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo: house icon + "DEEDZIP.com" wordmark with tagline */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #f3e9d8;
  white-space: nowrap;
}
.brand-zip,
.brand-tld { color: var(--accent); }
.brand-tld { text-transform: none; font-weight: 600; letter-spacing: 0; }
.brand-tag {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: #d9d4cb;
  white-space: nowrap;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.pill-btn .i { color: var(--accent-hi); width: 16px; height: 16px; margin-left: -3px; }
.pill-btn:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .22); }
.pill-btn:active { transform: scale(.96); }

/* Small phones: keep both header buttons on one line */
@media (max-width: 520px) {
  .header-actions { gap: 6px; }
  .pill-btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .pill-btn .i { display: none; }
}
/* Phones: a slightly smaller logo, and "Save contact" becomes "Save", so the logo fits beside both buttons */
@media (max-width: 520px) {
  .hide-phone { display: none; }
  .header-inner .brand { gap: 8px; }
  .header-inner .brand-mark { width: 28px; height: 28px; }
  .header-inner .brand-name { font-size: 15px; }
  .header-inner .brand-tag { margin-top: 3px; font-size: 8px; letter-spacing: .01em; }
}
@media (max-width: 380px) {
  .pill-btn { padding: 0 10px; }
}
/* Very small phones (320px): just "DEEDZIP" */
@media (max-width: 340px) {
  .header-inner .brand-tag,
  .header-inner .brand-tld { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding-top: clamp(4px, 1.5vw, 20px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

/* Lamp: a thin lit line that "illuminates" the headline */
.lamp {
  display: block;
  width: min(70%, 440px);
  height: 1px;
  margin: 0 auto clamp(14px, 2.5vw, 22px);
  background: linear-gradient(90deg, transparent, var(--accent-hi) 30%, #fff 50%, var(--accent-hi) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 106, 31, .55), 0 0 60px 10px rgba(255, 106, 31, .18);
  opacity: .9;
}

.hero h1 {
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw + 1rem, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
/* Highlight words: upright orange, like "ZIP.com" in the logo */
.hero h1 em,
.section-head h2 em {
  font-style: normal;
  padding-right: .02em;
  color: transparent;
  background: linear-gradient(100deg, var(--accent-hi) 0%, var(--accent) 45%, var(--accent-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* "DEEDZIP.com" in a headline, styled like the logo */
.wordmark {
  text-transform: uppercase;
  color: #f3e9d8;
  white-space: nowrap;
}
.wordmark .brand-zip,
.wordmark .brand-tld { color: var(--accent); }
.wordmark .brand-tld { text-transform: none; }

.lede {
  max-width: 44ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw + 11px, 19px);
  line-height: 1.55;
}
.lede em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-hi);
}

/* ---------- Cards (shared) ---------- */
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 40%),
    rgba(12, 12, 12, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: border-color .3s;
}
@media (min-width: 780px) { .card { padding: 24px 26px; } }

/* Hover: the border brightens slightly (neutral, no color) */
@media (hover: hover) {
  .card:not(.skeleton):hover { border-color: rgba(255, 255, 255, .16); }
}

/* Border beam: a light that travels around the card edge */
.beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(from var(--beam-angle), transparent 0 72%, rgba(255, 106, 31, .9) 86%, #ffd0a8 90%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 7s linear infinite;
  animation-delay: calc(var(--i, 0) * -3.5s);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 31, .28);
}

/* ---------- Profile card ---------- */
.profile {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 24px;
}
.profile-id h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2vw + 20px, 36px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.profile-titles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 2px 10px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.profile-titles i {
  margin-right: .3em;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}
.profile .actions,
.profile-info { width: 100%; }
.profile .actions { margin-top: 2px; }
.profile-info { text-align: left; }
.profile-info .details { margin-top: 0; }

/* Contact rows: icon instead of a text label */
.profile-info .contact-rows > div {
  justify-content: flex-start;
  gap: 12px;
  min-height: 50px;
}
.profile-info .contact-rows dt {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-hi);
}
.profile-info .contact-rows dt .i { width: 16px; height: 16px; }
.profile-info .contact-rows dd { flex: 1; justify-content: space-between; font-size: 15px; }

/* License / NMLS small print under the titles */
.profile-creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 14px;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
}
.profile-creds > * { white-space: nowrap; text-decoration: none; }
.profile-creds b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.profile-creds a:hover b {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .3);
  text-underline-offset: 3px;
}

@media (min-width: 780px) {
  .profile {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 340px);
    grid-template-areas:
      "photo id actions"
      "details details details";
    justify-items: stretch;
    align-items: center;
    column-gap: 24px;
    row-gap: 20px;
    text-align: left;
    padding: 26px;
  }
  .profile .avatar { grid-area: photo; }
  .profile-id { grid-area: id; }
  .profile .actions { grid-area: actions; margin: 0; }
  .profile-info { grid-area: details; }
  /* Tablets: contact items in two columns */
  .profile-info .details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
  .profile-info .details > div { border-bottom: 0; }
  .profile-info .details dd { justify-content: flex-start; gap: 8px; }
  .contact-rows { padding-top: 6px; }
  .profile-titles,
  .profile-creds { justify-content: flex-start; }
}
/* Wide screens: all contact items on one row, each column as wide as its content */
@media (min-width: 1100px) {
  .profile-info .details {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: space-between;
  }
}

/* ---------- Service cards ---------- */
.services {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.services-contact:not(:empty) { margin-top: 12px; }

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.service-main { display: flex; flex-direction: column; }
.service-aside > :first-child { margin-top: 0; }
.service-cta { padding-top: 20px; }

/* Wide screens: intro + button on the left, details on the right */
@media (min-width: 900px) {
  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 40px;
    padding: 26px 28px;
  }
  .service-cta { margin-top: auto; padding-top: 24px; }
}

.service h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 1.6vw + 18px, 30px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.service-sub {
  margin: 8px 0 0;
  color: var(--accent-hi);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.service-address { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.service-address a { display: inline-flex; align-items: flex-start; gap: 8px; text-decoration: none; }
.service-address .i { width: 16px; height: 16px; margin-top: 2px; color: var(--accent-hi); }
.service-address a:hover span {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .3);
  text-underline-offset: 3px;
}

.service-summary {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--muted);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 106, 31, .22);
  background: linear-gradient(100deg, rgba(255, 106, 31, .12), rgba(255, 106, 31, .02));
}
.stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent-hi);
}
.stat span { font-size: 15px; line-height: 1.35; max-width: 18ch; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 31, .3);
  background: var(--accent-soft);
  color: var(--accent-hi);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.quick-links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.quick-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, padding .3s var(--ease);
}
.quick-links a > span { flex: 1; }
.quick-links a .i { color: var(--accent-hi); }
.quick-links a .i:last-child { width: 16px; height: 16px; color: var(--faint); transition: color .2s, transform .3s var(--ease); }
.quick-links a:hover { color: #fff; padding-left: 4px; }
.quick-links a:hover .i:last-child { color: var(--text); transform: translate(2px, -2px); }

.quick-links + .details { margin-top: 0; border-top: 0; }

.tags { margin-top: 20px; }
.tags-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font-size: 12.5px;
  line-height: 1.3;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.badge .i { width: 18px; height: 18px; color: var(--muted); stroke-width: 1.5; }

.avatar {
  flex: none;
  display: block;
  width: 72px;
  height: 72px;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-hi), #2b2b2b 55%, #2b2b2b 75%, var(--accent));
}
.avatar > img,
.avatar > span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #0c0c0c;
  object-fit: cover;
}
.avatar > span {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #2c2723, #0e0e0e 70%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.02em;
}
.avatar-lg { width: 100px; height: 100px; padding: 3px; }
.avatar-lg > img { border-width: 4px; }
.avatar-lg { box-shadow: 0 0 0 8px rgba(255, 106, 31, .05), 0 16px 44px -12px rgba(255, 106, 31, .45); }
@media (min-width: 780px) { .avatar-lg { width: 112px; height: 112px; } }
.avatar-sm { width: 40px; height: 40px; }
.avatar-sm > img,
.avatar-sm > span { border-width: 2px; font-size: 16px; }

/* Primary CTA with shimmer sweep */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  border-radius: var(--radius-sm);
  color: var(--accent-ink);
  background: linear-gradient(180deg, #ff8442, var(--accent) 55%, #f25c12);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .4) inset,
    0 -1px 0 rgba(0, 0, 0, .15) inset,
    0 12px 32px -12px rgba(255, 106, 31, .7);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  translate: -110% 0;
  animation: shimmer 4s var(--ease) infinite;
}
.btn-primary .i { width: 18px; height: 18px; stroke-width: 2; }
.btn-primary:hover { filter: brightness(1.04); }
.btn-primary:active { transform: scale(.985); }

.actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.action .i { color: var(--accent-hi); }
.action:hover { background: var(--surface-2); border-color: var(--line-2); }
.action:active { transform: scale(.96); }

.details {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
}
.details dt { flex: none; color: var(--faint); }
.details dd {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.details dd > a,
.details dd > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.details dd > a { display: inline-flex; align-items: center; gap: 6px; }
.details dd > a .i { width: 14px; height: 14px; color: var(--accent-hi); }
.details dd > a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}

.copy {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--faint);
  transition: color .2s, background-color .2s;
}
.copy .i { width: 15px; height: 15px; }
.copy:hover { color: var(--text); background: var(--surface-2); }

/* Loading skeleton (shown until data arrives) */
.skeleton {
  background: linear-gradient(100deg, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, .055) 50%, rgba(255, 255, 255, .02) 70%) 0 0 / 300% 100%;
  animation: shine 1.6s linear infinite;
}
.skeleton-profile { min-height: 440px; }
@media (min-width: 780px) { .skeleton-profile { min-height: 250px; } }

.load-error {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

/* ---------- Sections ---------- */
.section { padding-top: clamp(44px, 6vw, 72px); }
.section[hidden] { display: none; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(16px, 2.5vw, 24px);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw + 14px, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.empty {
  position: relative;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 48px);
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  text-align: center;
  background: radial-gradient(640px 220px at 50% 0%, rgba(255, 106, 31, .09), transparent 70%);
}
.empty-ring {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--accent-hi);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 31, .3);
  box-shadow: 0 0 0 8px rgba(255, 106, 31, .04), 0 0 0 16px rgba(255, 106, 31, .02);
}
.empty-ring .i { width: 22px; height: 22px; }
.empty h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2vw + 14px, 32px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.empty p {
  max-width: 40ch;
  margin: 0 auto 24px;
  color: var(--muted);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.btn-ghost .i { width: 16px; height: 16px; color: var(--accent-hi); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .24); }

/* ---------- Listings ---------- */
.listings { display: grid; gap: 12px; }

.listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}
@media (min-width: 780px) { .listing { padding: 0; } }
.listing .beam { z-index: 2; }

.listing-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #151515;
}
.listing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
@media (hover: hover) {
  .listing:hover .listing-photo img { transform: scale(1.03); }
}
.listing-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(10, 10, 10, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.listing-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.listing-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.listing-price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 2vw + 20px, 38px);
  line-height: 1;
  letter-spacing: -.04em;
}
.listing-address {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
.listing-address span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.listing-stats {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 520px) {
  .listing-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.listing-stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.listing-stats .i { width: 18px; height: 18px; margin-bottom: 4px; color: var(--accent-hi); }
.listing-stats strong { font-size: 17px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.listing-stats span { font-size: 12px; line-height: 1.3; color: var(--faint); }

.listing-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
@media (min-width: 520px) {
  .listing-actions { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
.listing-actions .btn-ghost {
  justify-content: center;
  height: 50px;
  border-radius: var(--radius-sm);
}
.listing-mls { margin: 12px 0 0; font-size: 12px; color: var(--faint); }

/* Wide screens: photo left, details right */
@media (min-width: 780px) {
  .listing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .listing-photo { aspect-ratio: auto; min-height: 320px; }
  .listing-body { justify-content: center; padding: 26px 28px; }
}

.listings-more {
  margin: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.listings-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.listings-more a .i { width: 14px; height: 14px; color: var(--accent-hi); }
.listings-more a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 31, .035));
}
/* Columns: DeedZip | Real Estate Brokerage | Mortgage Brokerage | Fair housing */
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
.footer-brokerages { display: contents; }
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 40px; }
}
/* Nudged down so the logo's top lines up with the brokerage headings */
.footer-brand .brand { margin-top: 9px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand .brand-tag { font-size: 12px; }
.footer-brand p { margin: 14px 0 0; max-width: 28ch; }
.footer-col .kicker { margin-bottom: 14px; }
.footer-col p,
.footer-col address { margin: 0 0 6px; font-style: normal; line-height: 1.6; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.broker-name { color: var(--text); font-weight: 500; font-size: 15px; }
.broker-logo { display: block; width: 128px; height: auto; margin: 2px 0 12px; }
.eho { display: flex; align-items: center; gap: 10px; }
.eho .i { width: 22px; height: 22px; color: var(--text); stroke-width: 1.5; }

.disclaimers {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
}
.disclaimers p { margin: 0 0 8px; max-width: 110ch; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 8px;
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* Oversized wordmark that fades into the page bottom */
.footer-word {
  margin-top: 8px;
  padding-bottom: var(--dock-space);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 20vw, 240px);
  line-height: .8;
  letter-spacing: -.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

/* ---------- Mobile quick-contact dock ---------- */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: 480px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 20, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .06) inset;
  transform: translateY(calc(100% + 32px));
  transition: transform .5s var(--ease);
}
.dock.is-visible { transform: none; }
.dock:empty { display: none; }
@media (min-width: 900px) { .dock { display: none; } }

.dock .avatar { margin: 0 4px 0 2px; }
.dock-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--accent-hi);
}
.dock-save {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff8442, var(--accent) 55%, #f25c12);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.dock-save .i { stroke-width: 2; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 76px);
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(24, 24, 24, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 14px;
  text-align: center;
  opacity: 0;
  translate: -50% 12px;
  pointer-events: none;
  transition: opacity .3s, translate .4s var(--ease);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- Motion ---------- */
/* "both" hides elements only while the animation runs, so content stays visible if it never does */
.js [data-anim] {
  animation: rise .9s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}
.js .card.is-new {
  animation: rise .9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes shine {
  from { background-position: 100% 0; }
  to   { background-position: -150% 0; }
}
@keyframes shimmer {
  0%, 55% { translate: -110% 0; }
  100%    { translate: 110% 0; }
}
@keyframes beam {
  to { --beam-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* The border beam stays as a static edge highlight */
}
