/* Kroll Commercial — a quiet editorial layout: content carried by type and
   generous whitespace, with the Kroll gold as the sole accent.
   Sections below follow the page order in index.html. */

/* ---- Tokens ---- */
:root {
  --ink: #10110d;
  --muted: #777970;
  --line: #e6e2d9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --gold: #edc557;
  --gold-deep: #a77a24;
  --green: #1e654d;
  --charcoal: #14150f;
  --shadow: 0 22px 60px rgba(17, 18, 15, 0.14);
  --radius: 8px;
  --header-height: 64px;
}

/* ---- Base ---- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 12px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold-deep);
}

/* ---- Layout ---- */
.section,
.production-section,
.contact-section {
  padding: 92px 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(20px, 4vw, 48px);
  width: 100%;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading h2,
.search-head h2 {
  font-size: clamp(2.9rem, 5.2vw, 4.25rem);
  line-height: 0.97;
  margin: 0;
  max-width: 710px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 6px;
  max-width: 520px;
}

.section-heading.compact {
  margin-bottom: 0;
}

/* ---- Buttons ---- */
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.ghost {
  background: rgba(9, 45, 49, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

/* ---- Form controls (shared) ---- */
.ln-field-label {
  color: var(--muted);
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  padding: 0;
  text-transform: uppercase;
}

label span {
  color: var(--muted);
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

select,
input,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 38px;
  padding: 0 12px;
  width: 100%;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(227, 189, 96, 0.32);
  outline: none;
}

textarea {
  padding-top: 12px;
  resize: vertical;
}

/* Gold pill submit, used by the LoopNet search and the evaluation form. */
.ln-submit {
  align-items: center;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 900;
  gap: 10px;
  min-height: 40px;
  padding: 0 18px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ln-submit:hover {
  box-shadow: 0 14px 30px rgba(159, 117, 38, 0.32);
  transform: translateY(-2px);
}

.ln-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 18, 15, 0.18);
}

/* ---- Header ---- */
.site-header {
  align-items: center;
  background: linear-gradient(180deg, rgba(9, 15, 17, 0.46), transparent);
  color: var(--white);
  display: flex;
  gap: 28px;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 calc(max(0px, (100% - 1180px) / 2) + clamp(20px, 4vw, 48px));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

/* The hero carries the logo, so the header mark only holds its place. */
.brand {
  align-items: center;
  display: inline-flex;
  min-width: 150px;
  pointer-events: none;
  visibility: hidden;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  font-size: 0.77rem;
  gap: 31px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.header-action {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0 18px;
  text-transform: capitalize;
  transition:
    background 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.header-action:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ---- Hero ---- */
.hero {
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(8, 11, 9, 0.48), rgba(8, 11, 9, 0.04)),
    url("images/hero-fort-lauderdale-beach.jpg") center 44% / cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 10, 8, 0.76) 0%, rgba(8, 10, 8, 0.43) 43%, rgba(8, 10, 8, 0.05) 100%);
}

.hero-content {
  align-items: center;
  animation: riseIn 760ms ease both;
  display: grid;
  flex: 1 1 auto;
  gap: clamp(48px, 8vw, 108px);
  grid-template-columns: minmax(250px, 0.85fr) minmax(390px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 0;
  padding: 64px clamp(20px, 4vw, 48px) 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-logo {
  height: auto;
  max-width: 300px;
  width: 100%;
}

.hero-message {
  max-width: 500px;
}

.hero h1 {
  font-family: "IBM Plex Sans", ui-sans-serif, sans-serif;
  font-size: clamp(1.65rem, 2.45vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.24;
  margin: 0 0 24px;
  max-width: 475px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

/* ---- Listings ---- */
.listings-section {
  padding-top: 88px;
}

.listing-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.filter-button {
  background: #f0f1ef;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  min-height: 30px;
  padding: 0 17px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.filter-button.is-active,
.filter-button:hover {
  background: var(--gold);
  color: var(--ink);
}

.all-listings-link {
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 700;
  margin-left: 13px;
}

.listing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 955px;
}

.listing-card {
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 8px 21px rgba(17, 18, 15, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.listing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.listing-card.is-hidden {
  display: none;
}

.listing-card img {
  aspect-ratio: 1.44 / 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 19px;
}

.listing-topline {
  color: var(--gold-deep);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.08em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.listing-body h3 {
  font-size: 0.93rem;
  margin-bottom: 8px;
}

.listing-body p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.47;
  margin-bottom: 14px;
}

.listing-body dl {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 0 15px;
  padding-top: 12px;
}

.listing-body dt {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-body dd {
  font-size: 0.72rem;
  font-weight: 900;
  margin: 3px 0 0;
}

.listing-body h3 a {
  transition: color 180ms ease;
}

.listing-body h3 a:hover {
  color: var(--gold-deep);
}

.listing-more {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

/* Photo carousels (gallery.js): a scroll-snap strip, so touch screens swipe
   natively. Shared by the listing cards and the listing-page gallery. */
.carousel-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track:focus-visible {
  outline: 3px solid rgba(227, 189, 96, 0.6);
  outline-offset: -3px;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.card-carousel {
  position: relative;
}

.carousel-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(17, 18, 15, 0.18);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    background 180ms ease;
  width: 34px;
  z-index: 1;
}

.carousel-arrow:hover {
  background: var(--gold);
}

.carousel-arrow:focus-visible {
  opacity: 1;
  outline: 3px solid rgba(227, 189, 96, 0.6);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-arrow svg,
.gallery-expand svg,
.video-play svg,
.gallery-thumb svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

/* On cards the arrows appear on hover; touch screens swipe instead. */
.card-carousel .carousel-arrow {
  opacity: 0;
}

.card-carousel:hover .carousel-arrow {
  opacity: 1;
}

@media (hover: none) {
  .card-carousel .carousel-arrow {
    display: none;
  }
}

.carousel-dots {
  bottom: 10px;
  display: flex;
  gap: 5px;
  justify-content: center;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.carousel-dots span {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(17, 18, 15, 0.3);
  height: 6px;
  transition:
    background 180ms ease,
    width 180ms ease;
  width: 6px;
}

.carousel-dots span.is-active {
  background: var(--white);
  width: 16px;
}

/* ---- Property search (LoopNet) ---- */
.property-search {
  background: var(--paper);
  padding: 78px 0 94px;
}

.search-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.ln-search {
  display: grid;
  gap: 17px;
  /* minmax(0,1fr) lets children (e.g. the long URL preview) shrink and
     truncate instead of forcing the form wider than the viewport. */
  grid-template-columns: minmax(0, 1fr);
  max-width: 610px;
}

/* Segmented Lease / Buy toggle */
.ln-segment {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.ln-segment-track {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-grid;
  gap: 4px;
  grid-auto-flow: column;
  padding: 3px;
}

.ln-seg {
  margin: 0;
}

.ln-seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ln-seg span {
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: center;
  min-height: 30px;
  padding: 0 18px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.ln-seg input:checked + span {
  background: var(--ink);
  color: var(--white);
}

.ln-seg input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(227, 189, 96, 0.45);
}

.ln-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.ln-field {
  min-width: 0;
}

.ln-input-wrap {
  position: relative;
}

.ln-input-wrap .ln-icon {
  color: var(--gold-deep);
  height: 20px;
  left: 14px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.ln-icon,
.ln-info,
.ln-ext,
.ln-chevron {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ln-input-wrap input {
  padding-left: 42px;
}

/* More filters disclosure */
.ln-more {
  padding-top: 6px;
}

.ln-more summary {
  align-items: center;
  color: var(--green);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 6px;
  list-style: none;
  user-select: none;
}

.ln-more summary::-webkit-details-marker {
  display: none;
}

.ln-chevron {
  height: 18px;
  transition: transform 200ms ease;
  width: 18px;
}

.ln-more[open] .ln-chevron {
  transform: rotate(180deg);
}

.ln-grid--filters {
  margin-top: 12px;
}

.ln-range {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.ln-range-pair {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  max-width: 430px;
}

.ln-dash {
  color: var(--muted);
  font-weight: 800;
}

/* Actions row */
.ln-actions {
  align-items: center;
  display: flex;
  gap: 20px;
  padding-top: 14px;
}

.ln-ext {
  height: 18px;
  width: 18px;
}

.ln-note {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.66rem;
  gap: 9px;
  line-height: 1.45;
  margin: 0;
  max-width: 430px;
}

.ln-note strong {
  color: var(--ink);
}

/* The info icon, URL preview, and legal note stay in the markup but are
   hidden in the current design. */
.ln-info {
  color: var(--gold-deep);
  display: none;
  flex-shrink: 0;
  height: 19px;
  width: 19px;
}

.ln-preview {
  align-items: baseline;
  color: var(--muted);
  display: none;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 4px 10px;
  margin: 0;
}

.ln-preview-label {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.ln-preview-url {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 4px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ln-legal {
  color: var(--muted);
  display: none;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 880px;
}

.ln-legal a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- Production ---- */
.production-section {
  background: var(--charcoal);
  color: var(--white);
  min-height: 598px;
  overflow: hidden;
  padding-block: 90px 80px;
  position: relative;
}

.production-checkmark {
  left: max(24px, calc((100% - 1180px) / 2 + 48px));
  pointer-events: none;
  position: absolute;
  top: 92px;
  width: 190px;
  z-index: 0;
}

.production-layout {
  padding-top: 202px;
  position: relative;
  z-index: 1;
}

.production-copy .eyebrow {
  display: none;
}

.production-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  display: none;
  font-size: 1.08rem;
  max-width: 540px;
}

.production-copy h2 {
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.96;
  margin-bottom: 88px;
  max-width: 950px;
}

.metric-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric strong {
  color: var(--gold);
  display: block;
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 0.95;
}

.metric span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  margin: 0 0 9px;
  order: -1;
  text-transform: capitalize;
}

/* ---- Market intelligence ---- */
.split-section {
  padding-block: 105px;
}

.split-layout .section-heading h2 {
  max-width: 820px;
}

.split-layout .section-heading p:not(.eyebrow) {
  display: none;
}

.process-list {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  max-width: 1080px;
}

.process-list article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(220px, 0.46fr) minmax(280px, 0.54fr);
  padding: 27px 0;
}

.process-list article span {
  color: var(--gold-deep);
  display: none;
  font-weight: 900;
}

.process-list h3 {
  font-size: 0.86rem;
  margin: 0;
}

.process-list p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  max-width: 365px;
}

/* ---- Property evaluation ---- */
.calculators-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding-block: 113px 120px;
}

.calculators-section .section-heading {
  align-items: end;
  display: grid;
  gap: 90px;
  grid-template-columns: minmax(260px, 0.48fr) minmax(310px, 0.52fr);
  margin: 0 auto 42px;
  max-width: 1080px;
}

.calculators-section .section-heading .eyebrow {
  display: none;
}

.calculators-section .section-heading h2 {
  font-size: clamp(3.5rem, 5.4vw, 5rem);
  grid-column: 1;
  max-width: 460px;
}

.calculators-section .section-heading p:not(.eyebrow) {
  align-self: center;
  color: var(--muted);
  font-size: 0.91rem;
  grid-column: 2;
  line-height: 1.5;
  margin: 0;
  max-width: 440px;
}

.eval-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 600px;
  padding: 28px;
}

.eval-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eval-field {
  display: grid;
  gap: 8px;
}

.eval-field input,
.eval-field textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.95rem;
  padding: 12px 14px;
  resize: vertical;
}

.eval-field input:focus,
.eval-field textarea:focus {
  border-color: var(--gold-deep);
  outline: 2px solid rgba(227, 189, 96, 0.45);
  outline-offset: 1px;
}

.eval-field input[type="file"] {
  background: transparent;
  border: 1px dashed var(--line);
  padding: 14px;
}

.eval-optional {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.eval-actions {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.eval-fine-print {
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.5;
  margin: 0;
}

.eval-status {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  min-height: 1.2em;
}

.eval-status.is-error {
  color: #b3261e;
}

#eval-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ---- More sections ---- */
.insight-section {
  padding-block: 92px 104px;
}

.insight-layout {
  align-items: start;
  display: grid;
  gap: 78px;
  grid-template-columns: minmax(205px, 0.36fr) minmax(450px, 0.64fr);
}

.insight-layout .eyebrow {
  display: none;
}

.insight-layout h2 {
  font-size: clamp(3.1rem, 4.65vw, 4.35rem);
  line-height: 0.92;
}

.insight-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  min-height: 146px;
  padding: 22px;
}

.insight-grid h3 {
  font-size: 0.84rem;
}

.insight-grid p {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0;
}

/* ---- Team ---- */
.team-section {
  border-top: 1px solid var(--line);
}

.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 955px;
}

.team-card {
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 8px 21px rgba(17, 18, 15, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-card img {
  aspect-ratio: 5 / 6;
  background: var(--charcoal);
  object-fit: cover;
  object-position: center 18%;
  transition: transform 600ms ease;
  width: 100%;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.team-role {
  color: var(--gold-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.team-card h3 {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.team-credential {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 18px;
}

.team-contact {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
}

.team-contact div {
  align-items: baseline;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
}

.team-contact dt {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-contact dd {
  font-size: 0.8rem;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-contact a {
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  color: var(--ink);
  font-weight: 500;
  transition:
    background-size 220ms ease,
    color 180ms ease;
}

.team-contact a:hover,
.team-contact a:focus-visible {
  background-size: 100% 1px;
  color: var(--gold-deep);
  outline: none;
}

/* ---- Contact ---- */
.contact-section {
  background:
    linear-gradient(90deg, rgba(17, 18, 15, 0.92), rgba(17, 18, 15, 0.8)),
    url("images/contact-intracoastal-aerial.jpg")
      center / cover;
  color: var(--white);
  min-height: 410px;
  padding-block: 72px 28px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 76px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(330px, 0.7fr);
}

.contact-layout h2 {
  font-size: clamp(3rem, 4.7vw, 4.1rem);
  line-height: 0.92;
  max-width: 490px;
}

.contact-layout p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  max-width: 540px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  gap: 10px;
  padding: 20px 22px;
}

.contact-form label span {
  font-size: 0.65rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 34px;
}

.contact-form textarea {
  min-height: 76px;
}

.contact-form button {
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  min-height: 46px;
  padding: 0 16px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.contact-form button:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.form-status {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
  min-height: 1.35em;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 21px 0;
}

.footer-layout {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 144px minmax(0, 1fr) auto;
}

.site-footer img {
  width: 140px;
}

.footer-slogan {
  color: var(--gold);
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.footer-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-meta span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 900;
  white-space: nowrap;
}

/* ---- Listing pages (listings/*.html) ---- */
.site-header.is-solid {
  background: var(--charcoal);
}

.site-header.is-solid .brand {
  pointer-events: auto;
  visibility: visible;
}

.site-header.is-solid .brand img {
  height: 38px;
}

.listing-intro {
  padding: calc(var(--header-height) + 34px) 0 56px;
}

.back-link {
  color: var(--green);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.back-link:hover {
  color: var(--gold-deep);
}

.listing-head {
  margin-bottom: 26px;
}

.listing-page h1 {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.listing-place {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 12px 0 0;
}

.listing-top {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
}

/* Gallery */
.gallery {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.gallery-stage {
  background: var(--charcoal);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.gallery .carousel-slide {
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.gallery .carousel-slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery-counter {
  background: rgba(17, 18, 15, 0.72);
  border-radius: 999px;
  bottom: 12px;
  color: var(--white);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  left: 12px;
  margin: 0;
  padding: 4px 10px;
  pointer-events: none;
  position: absolute;
}

.gallery-expand {
  align-items: center;
  background: rgba(17, 18, 15, 0.72);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  transition: background 180ms ease;
  width: 36px;
  z-index: 1;
}

.gallery-expand:hover,
.gallery-expand:focus-visible {
  background: var(--gold);
  color: var(--ink);
  outline: none;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  position: relative;
  scrollbar-width: thin;
}

.gallery-thumb {
  background: var(--charcoal);
  border: 2px solid transparent;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  flex: 0 0 96px;
  height: 64px;
  opacity: 0.62;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    opacity 180ms ease,
    border-color 180ms ease;
}

.gallery-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery-thumb svg {
  fill: currentColor;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
}

.gallery-thumb.is-active {
  border-color: var(--gold);
}

/* Video slides: poster + play button until clicked, then the player. */
.carousel-slide.is-video {
  background: var(--ink);
  cursor: default;
}

.video-play {
  align-items: center;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(17, 18, 15, 0.35);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  height: 68px;
  justify-content: center;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
  width: 68px;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play svg {
  fill: currentColor;
  height: 26px;
  margin-left: 3px;
  width: 26px;
}

.video-player {
  background: var(--ink);
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.carousel-slide.is-playing .video-play,
.carousel-slide.is-playing img {
  visibility: hidden;
}

/* Fullscreen: the same gallery pinned over the page, photos uncropped. */
.gallery-open {
  overflow: hidden;
}

.gallery.is-expanded {
  background: #0b0c09;
  display: flex;
  flex-direction: column;
  gap: 12px;
  inset: 0;
  padding: 16px;
  position: fixed;
  z-index: 100;
}

.gallery.is-expanded .gallery-stage {
  background: transparent;
  display: flex;
  flex: 1;
  min-height: 0;
}

.gallery.is-expanded .carousel-track {
  flex: 1;
}

.gallery.is-expanded .carousel-slide {
  aspect-ratio: auto;
  cursor: default;
  height: 100%;
}

.gallery.is-expanded .carousel-slide img {
  object-fit: contain;
}

.gallery.is-expanded .gallery-thumbs {
  justify-content: center;
}

/* Summary and contact */
.listing-summary {
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 8px 21px rgba(17, 18, 15, 0.08);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.listing-lead-label {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.listing-lead {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
}

.listing-keyfacts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 20px;
  padding-top: 16px;
}

.listing-keyfacts dt,
.listing-facts dt {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-keyfacts dd {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 3px 0 0;
}

.listing-agent {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 18px 0;
}

.listing-agent img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  width: 56px;
}

.listing-agent p {
  margin: 0;
}

.listing-agent .team-role {
  margin-bottom: 4px;
}

.listing-agent-name {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.1;
}

.listing-agent-title {
  color: var(--muted);
  font-size: 0.75rem;
}

.listing-actions {
  display: grid;
  gap: 8px;
}

.button.outline {
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.outline:hover {
  border-color: var(--ink);
}

/* Details */
.listing-details {
  border-top: 1px solid var(--line);
  padding: 64px 0 80px;
}

.listing-details-layout {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.listing-subhead {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.listing-overview p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 44px;
  max-width: 560px;
}

.listing-highlights {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.listing-highlights li {
  font-size: 0.92rem;
  padding-left: 26px;
  position: relative;
}

/* The Kroll checkmark, small. */
.listing-highlights li::before {
  border-bottom: 2.5px solid var(--gold-deep);
  border-right: 2.5px solid var(--gold-deep);
  content: "";
  height: 11px;
  left: 4px;
  position: absolute;
  top: 4px;
  transform: rotate(40deg);
  width: 6px;
}

.listing-facts {
  border-top: 1px solid var(--line);
  margin: 0;
}

.listing-facts div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  padding: 13px 0;
}

.listing-facts dd {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* Location */
.listing-map {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 64px 0 80px;
}

.listing-map-address {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.listing-map-address a {
  color: var(--green);
  font-weight: 800;
}

.listing-map-frame {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: block;
  width: 100%;
}

/* ---- Motion ---- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ---- Tablet ---- */
@media (max-width: 980px) {
  .site-header {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    height: 580px;
  }

  .hero-content {
    gap: 42px;
  }

  .listing-grid,
  .eval-grid,
  .eval-actions {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    gap: 24px;
  }

  .calculators-section .section-heading,
  .insight-layout,
  .contact-layout {
    gap: 42px;
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }

  .team-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .team-card img {
    height: 100%;
  }

  .listing-top,
  .listing-details-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing-details-layout {
    gap: 48px;
  }

  .listing-summary {
    position: static;
  }

  .listing-map-frame {
    aspect-ratio: 4 / 3;
  }
}

/* ---- Phone ---- */
@media (max-width: 680px) {
  .site-header .brand {
    display: none;
  }

  .site-header.is-solid .brand {
    display: inline-flex;
    min-width: 0;
  }

  .site-header.is-solid .brand img {
    height: 32px;
  }

  .header-action {
    font-size: 0.7rem;
    padding-inline: 12px;
  }

  .section,
  .production-section,
  .contact-section,
  .site-footer {
    padding-block: 68px;
  }

  .section-heading h2,
  .search-head h2 {
    font-size: 2.65rem;
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    align-content: center;
    gap: 44px;
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-logo {
    max-width: 225px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .all-listings-link {
    margin-left: 0;
    width: 100%;
  }

  .listing-body dl {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .ln-segment-track {
    display: grid;
    grid-auto-flow: row;
    width: 100%;
  }

  .ln-seg span {
    width: 100%;
  }

  .ln-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ln-note {
    max-width: 100%;
  }

  .production-section {
    min-height: 0;
  }

  .production-checkmark {
    left: 22px;
    top: 56px;
    width: 128px;
  }

  .production-layout {
    padding-top: 150px;
  }

  .production-copy h2 {
    margin-bottom: 45px;
  }

  .metric-grid {
    gap: 28px 15px;
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list article,
  .calculators-section .section-heading,
  .insight-layout,
  .contact-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .process-list article {
    gap: 8px;
  }

  .calculators-section .section-heading h2,
  .calculators-section .section-heading p:not(.eyebrow) {
    grid-column: 1;
  }

  .calculators-section .section-heading h2 {
    font-size: 3.35rem;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    gap: 14px;
  }

  .team-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .team-body {
    padding: 16px 16px 16px 18px;
  }

  .team-card h3 {
    font-size: 1.35rem;
  }

  .team-credential {
    margin-bottom: 12px;
  }

  .team-contact {
    gap: 6px;
    padding-top: 10px;
  }

  .team-contact div {
    gap: 1px;
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding-bottom: 38px;
  }

  .footer-layout {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .footer-slogan {
    text-align: left;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .listing-intro {
    padding-bottom: 40px;
  }

  .listing-details,
  .listing-map {
    padding-block: 48px 56px;
  }

  .gallery-thumb {
    flex-basis: 72px;
    height: 50px;
  }

  .gallery.is-expanded {
    padding: 10px;
  }

  .listing-facts div {
    gap: 2px;
    grid-template-columns: 1fr;
  }
}
