:root {
  --ink: #17211f;
  --muted: #5b6763;
  --paper: #fbfaf6;
  --mist: #eef4f2;
  --line: #d9e0dc;
  --teal: #007c83;
  --teal-dark: #04565c;
  --coral: #d96845;
  --sand: #f1d9af;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px clamp(16px, 3vw, 44px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 224, 220, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 160px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  display: none;
  color: var(--muted);
  font-size: 12px;
}

.brand strong {
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1.25vw, 13px);
  color: var(--muted);
  font-size: 12px;
}

.nav-links a,
.header-cta,
.button,
.text-link {
  text-decoration: none;
  font-weight: 750;
}

.header-cta {
  color: var(--teal-dark);
  border-bottom: 2px solid var(--coral);
  font-size: 12px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: clamp(245px, 29vh, 300px);
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 27, 30, 0.76) 0%, rgba(8, 27, 30, 0.5) 38%, rgba(8, 27, 30, 0.08) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 26px 0 38px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 690px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: none;
  overflow: hidden;
}

.quick-panel a {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel span {
  color: var(--teal);
  font-weight: 850;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-panel strong {
  font-size: 13px;
  line-height: 1.25;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
}

.intro p:last-child,
.section-heading p,
.split p,
.lead-magnet p,
.contact-copy > p {
  color: var(--muted);
  font-size: 13px;
  margin: 7px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.feature-card {
  overflow: hidden;
  display: grid;
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.feature-card div {
  display: grid;
  gap: 5px;
  padding: 9px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 660px;
  margin-bottom: 4px;
}

.service-grid article,
.guide-list article,
.condition-card,
.beach-grid article,
.cam-card,
.visual-card,
.map-card,
.bridge-tool,
.bridge-notes article,
.lead-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid article {
  padding: 10px;
}

.dashboard-grid,
.beach-grid,
.cam-grid,
.bridge-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.dashboard-grid-enhanced {
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.65fr) minmax(220px, 0.65fr);
  gap: 14px;
  margin-top: 18px;
  align-items: start;
}

.boating-condition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}

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

.condition-card,
.beach-grid article,
.bridge-notes article {
  padding: 14px;
}

.beach-cams {
  padding-top: 28px;
}

.cams-page {
  padding-top: 32px;
}

.cam-page-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.cam-card {
  overflow: hidden;
  display: grid;
  align-content: start;
}

.cam-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.cam-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cam-page-card .cam-frame {
  min-height: clamp(360px, 54vw, 680px);
}

.cam-copy {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.cam-copy span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cam-copy h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 0;
}

.cam-copy p {
  color: var(--muted);
  margin: 0;
}

.cam-copy a {
  color: var(--teal-dark);
  font-weight: 800;
}

.condition-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
}

.compact-condition-card {
  min-height: 150px;
  align-content: start;
}

.condition-card span,
.guide-kicker,
.bridge-result span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-card strong {
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1.1;
}

.condition-card p,
.beach-grid p,
.beach-grid li,
.bridge-notes p,
.bridge-result p {
  color: var(--muted);
}

.tide-widget {
  grid-column: span 1;
  gap: 14px;
}

.tide-widget-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.tide-widget-head > div {
  display: grid;
  gap: 4px;
}

.compact-select-label {
  min-width: min(250px, 45%);
  color: var(--muted);
  font-size: 11px;
}

.compact-select-label select,
.compact-select-label input {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-family: inherit;
}

.tide-widget-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.75fr);
  gap: 14px;
  align-items: start;
}

.tide-chart-card {
  min-width: 0;
  min-height: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfaf6 0%, #f3f6f1 100%);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tide-chart-card:hover,
.tide-chart-card:focus-visible {
  border-color: rgba(0, 124, 131, 0.45);
  box-shadow: 0 14px 34px rgba(21, 44, 39, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.tide-chart {
  min-height: 160px;
}

.tide-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.tide-chart-hover-area {
  pointer-events: all;
}

.tide-chart-grid {
  stroke: rgba(42, 72, 60, 0.13);
  stroke-width: 1;
}

.tide-chart-time-grid {
  stroke: rgba(42, 72, 60, 0.09);
  stroke-width: 1;
}

.tide-chart-line {
  fill: none;
  stroke: var(--teal-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.tide-chart-fill {
  fill: rgba(0, 124, 131, 0.11);
}

.tide-chart-dot {
  fill: var(--coral);
  stroke: var(--white);
  stroke-width: 3;
}

.tide-chart-selected-line {
  stroke: var(--teal-dark);
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  stroke-width: 2;
}

.tide-chart-selected-dot {
  fill: var(--teal-dark);
  stroke: var(--white);
  stroke-width: 3;
}

.tide-chart-label,
.tide-chart-axis {
  fill: var(--muted);
  font-size: 11px;
}

.tide-details {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tide-details div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: var(--mist);
}

.tide-details span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tide-details strong {
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1.15;
}

.tide-details p,
.tide-chart p {
  margin: 0;
  color: var(--muted);
}

.tide-hover-tooltip {
  position: fixed;
  z-index: 1200;
  display: grid;
  gap: 2px;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(18, 37, 40, 0.28);
  font-size: 12px;
  line-height: 1.25;
  pointer-events: none;
}

.tide-hover-tooltip[hidden] {
  display: none;
}

.tide-hover-tooltip strong,
.tide-hover-tooltip span {
  display: block;
}

.tide-hover-tooltip span {
  color: var(--sand);
  font-weight: 800;
}

.has-modal-open {
  overflow: hidden;
}

.tide-modal[hidden] {
  display: none;
}

.tide-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 24, 22, 0.58);
}

.tide-modal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(8, 24, 22, 0.35);
}

.tide-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.tide-modal-head {
  padding-right: 44px;
}

.tide-modal-head h2 {
  margin: 2px 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.96;
}

.tide-modal-head p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.tide-modal-chart {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfaf6 0%, #f3f6f1 100%);
}

.tide-modal-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.tide-modal-details {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-top: 18px;
}

.tide-modal-details section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tide-modal-details h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.tide-modal-list {
  display: grid;
  gap: 8px;
}

.tide-modal-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.tide-modal-list div:first-child {
  border-top: 0;
}

.tide-modal-list strong {
  color: var(--teal-dark);
}

.tide-modal-list span {
  color: var(--muted);
  text-align: right;
}

.weather-meta {
  color: var(--muted);
  font-size: 12px;
}

.beach-grid article {
  display: grid;
  gap: 7px;
  align-content: start;
}

.beach-grid ul {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding-left: 18px;
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  background: var(--mist);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.guide-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.boating-tool {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bridge-planner-box {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--white) 0%, #fbfaf6 100%);
  box-shadow: var(--shadow);
}

.bridge-planner-box .bridge-tool {
  box-shadow: none;
}

.bridge-planner-box .bridge-notes {
  margin-top: 0;
}

.bridge-map-subhead {
  display: grid;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.bridge-map-subhead h3 {
  margin: 0;
  font-size: 22px;
}

.bridge-map-note {
  margin: -4px 0 0;
  padding: 0 2px;
  color: var(--muted);
}

.bridge-tool {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  box-shadow: var(--shadow);
}

.bridge-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1.55fr) minmax(140px, 0.65fr) minmax(240px, 1fr) minmax(190px, auto);
  gap: 8px;
  align-items: end;
  align-content: start;
}

.bridge-controls .button {
  min-height: 34px;
}

.bridge-controls label {
  min-width: 0;
}

.bridge-controls select,
.bridge-controls input {
  width: 100%;
  min-width: 0;
}

.bridge-result {
  display: grid;
  grid-template-columns: minmax(170px, 0.24fr) minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  padding: 10px 12px;
  background: var(--mist);
  border-radius: 8px;
}

.bridge-result span,
.bridge-result strong {
  grid-column: 1;
}

.bridge-result strong {
  color: var(--teal-dark);
  font-size: 22px;
  line-height: 1.05;
}

.bridge-result p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.bridge-notes {
  grid-template-columns: repeat(2, 1fr);
}

.subpage-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(210px, 25vh, 270px);
  overflow: hidden;
  color: var(--white);
}

.subpage-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 27, 30, 0.82) 0%, rgba(8, 27, 30, 0.56) 48%, rgba(8, 27, 30, 0.16) 100%);
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 21px 0;
}

.subpage-hero-content .eyebrow {
  color: var(--sand);
}

.subpage-hero-content p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.subpage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.visual-split.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.visual-split p,
.visual-list p,
.map-card p,
.visual-card p {
  color: var(--muted);
}

.visual-list {
  display: grid;
  gap: 8px;
}

.visual-list div {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: var(--mist);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.visual-card {
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.visual-card div {
  padding: 10px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.beach-access-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 12px;
}

.beach-access-map {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.interactive-beach-map {
  position: relative;
  overflow: hidden;
}

.beach-access-map img {
  width: min(100%, 980px);
  aspect-ratio: 400 / 369;
  display: block;
}

.beach-map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(18, 37, 40, 0.25);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.beach-map-marker:hover,
.beach-map-marker:focus-visible,
.beach-map-marker.is-active {
  background: var(--coral);
  box-shadow: 0 16px 34px rgba(18, 37, 40, 0.32);
  outline: none;
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 2;
}

.beach-access-legend {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.beach-access-legend p {
  margin: 0;
  color: var(--muted);
}

.beach-access-legend ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.beach-access-legend strong {
  color: var(--teal-dark);
}

.interactive-beach-list {
  gap: 8px;
}

.beach-access-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 10px;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.beach-access-item span {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.beach-access-item strong {
  color: var(--ink);
  line-height: 1.15;
}

.beach-access-item small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.beach-access-item b {
  color: var(--teal-dark);
}

.beach-access-item:hover,
.beach-access-item:focus-visible,
.beach-access-item.is-active {
  border-color: rgba(207, 105, 72, 0.75);
  background: #fbf2e2;
  box-shadow: 0 12px 26px rgba(18, 37, 40, 0.1);
  outline: none;
}

.beach-access-item:hover span,
.beach-access-item:focus-visible span,
.beach-access-item.is-active span {
  background: var(--coral);
}

.map-card {
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  min-height: 260px;
  display: block;
  border: 0;
}

.map-card div {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.map-card p {
  margin: 0;
}

.bridge-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 10px;
  align-items: stretch;
}

.bridge-route-card {
  overflow: hidden;
  display: grid;
  min-height: 300px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 27, 30, 0.12), rgba(8, 27, 30, 0.58)),
    url("assets/hero-rotate-08.jpg") center / cover;
  color: var(--white);
}

.bridge-route-card div {
  align-self: end;
  display: grid;
  gap: 5px;
  padding: clamp(14px, 3vw, 22px);
}

.bridge-route-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.bridge-stat-grid {
  display: grid;
  gap: 8px;
}

.bridge-stat {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bridge-stat span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bridge-stat strong {
  color: var(--teal-dark);
  font-size: 18px;
}

.bridge-reference {
  padding-top: 32px;
}

.bridge-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 12px;
}

.bridge-number-map {
  position: relative;
  overflow: hidden;
  height: clamp(320px, 42vh, 430px);
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    #cfe1df;
  box-shadow: var(--shadow);
}

.bridge-number-map.real-bridge-map {
  height: clamp(320px, 42vh, 430px);
  padding: 0;
  background: #d7e5e3;
}

.bridge-number-map .leaflet-pane,
.bridge-number-map .leaflet-tile,
.bridge-number-map .leaflet-marker-icon,
.bridge-number-map .leaflet-marker-shadow,
.bridge-number-map .leaflet-tile-container,
.bridge-number-map .leaflet-pane > svg,
.bridge-number-map .leaflet-pane > canvas,
.bridge-number-map .leaflet-zoom-box,
.bridge-number-map .leaflet-image-layer,
.bridge-number-map .leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.bridge-number-map .leaflet-container,
.bridge-number-map.leaflet-container {
  overflow: hidden;
  width: 100%;
  font-family: inherit;
  background: #d7e5e3;
}

.bridge-number-map .leaflet-container {
  height: 100%;
}

.bridge-number-map.leaflet-container {
  height: clamp(320px, 42vh, 430px);
}

.bridge-number-map .leaflet-tile,
.bridge-number-map .leaflet-marker-icon,
.bridge-number-map .leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.bridge-number-map .leaflet-tile {
  max-width: none;
  visibility: hidden;
  border: 0;
}

.bridge-number-map .leaflet-tile-loaded {
  visibility: inherit;
}

.bridge-number-map .leaflet-zoom-animated {
  transform-origin: 0 0;
}

.bridge-number-map .leaflet-marker-icon {
  display: block;
}

.bridge-number-map .leaflet-control-container .leaflet-top,
.bridge-number-map .leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.bridge-number-map .leaflet-top {
  top: 10px;
}

.bridge-number-map .leaflet-left {
  left: 10px;
}

.bridge-number-map .leaflet-right {
  right: 10px;
}

.bridge-number-map .leaflet-bottom {
  bottom: 10px;
}

.bridge-number-map .leaflet-control {
  position: relative;
  z-index: 1000;
  float: left;
  clear: both;
  pointer-events: auto;
}

.bridge-number-map .leaflet-right .leaflet-control {
  float: right;
}

.bridge-number-map .leaflet-control-zoom a {
  display: block;
  width: 30px;
  height: 30px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.bridge-number-map .leaflet-control-zoom a:last-child {
  border-bottom: 0;
}

.bridge-number-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(18, 37, 40, 0.14);
}

.bridge-number-map .leaflet-control-attribution {
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 5px;
  font-size: 10px;
}

.bridge-number-map .leaflet-popup-content-wrapper,
.bridge-number-map .leaflet-popup-tip {
  color: var(--ink);
  border-radius: 8px;
}

.bridge-number-map .leaflet-popup-content {
  margin: 11px 13px;
  font-size: 13px;
  line-height: 1.45;
}

.bridge-leaflet-marker {
  border: 0;
  background: transparent;
}

.bridge-leaflet-marker span {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(18, 37, 40, 0.24);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.bridge-leaflet-marker span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 10px solid var(--teal-dark);
  filter: drop-shadow(0 5px 8px rgba(18, 37, 40, 0.22));
  transform: translateX(-50%);
}

.bridge-leaflet-marker span:hover,
.bridge-leaflet-marker span.is-active {
  background: var(--coral);
}

.bridge-leaflet-marker span:hover::after,
.bridge-leaflet-marker span.is-active::after {
  border-top-color: var(--coral);
}

.bridge-map-land {
  position: absolute;
  inset: 13% 18% 9% 19%;
  border: 1px solid rgba(4, 86, 92, 0.16);
  border-radius: 48% 42% 45% 40%;
  background:
    radial-gradient(circle at 55% 35%, rgba(251, 250, 246, 0.96), rgba(241, 217, 175, 0.78) 58%, rgba(241, 217, 175, 0.42));
}

.bridge-map-land span {
  position: absolute;
  left: 48%;
  top: 52%;
  transform: translate(-50%, -50%);
  color: rgba(4, 86, 92, 0.2);
  font-size: clamp(32px, 6vw, 70px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.bridge-map-water {
  position: absolute;
  background: rgba(0, 124, 131, 0.22);
  border-radius: 999px;
  filter: blur(0.2px);
}

.bridge-map-water-main {
  right: -12%;
  top: 6%;
  width: 34%;
  height: 92%;
  transform: rotate(6deg);
}

.bridge-map-water-clam {
  left: 8%;
  top: 4%;
  width: 23%;
  height: 92%;
  transform: rotate(-10deg);
}

.bridge-map-water-smokehouse {
  left: 37%;
  top: 42%;
  width: 34%;
  height: 18%;
  transform: rotate(-10deg);
}

.bridge-map-marker {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(18, 37, 40, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.bridge-map-marker:hover,
.bridge-map-marker:focus,
.bridge-map-marker.is-active {
  background: var(--coral);
  outline: 0;
}

.bridge-reference-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bridge-reference-panel p {
  color: var(--muted);
}

.bridge-reference-list {
  display: grid;
  gap: 6px;
  max-height: 432px;
  overflow: auto;
  padding-right: 4px;
}

.bridge-reference-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 8px;
  width: 100%;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.bridge-reference-index {
  grid-row: span 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
}

.bridge-reference-index b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.bridge-reference-index em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.bridge-reference-item strong {
  min-width: 0;
  font-size: 13px;
}

.bridge-reference-item small {
  color: var(--muted);
}

.bridge-reference-item:hover,
.bridge-reference-item:focus,
.bridge-reference-item.is-active {
  border-color: var(--coral);
  background: #f5ead9;
  outline: 0;
}

.bridge-reference-item:hover .bridge-reference-index b,
.bridge-reference-item:focus .bridge-reference-index b,
.bridge-reference-item.is-active .bridge-reference-index b {
  background: var(--coral);
}

.icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 20px;
}

.service-grid p,
.guide-list span,
.seller-list span,
.contact-card span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--coral);
}

.seller-list {
  display: grid;
  gap: 8px;
}

.seller-list div {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--mist);
  border-left: 5px solid var(--teal);
  border-radius: 7px;
}

.guides {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: #eaf2ef;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.guide-list article {
  min-height: 150px;
  padding: 10px;
}

.guide-list p {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guide-list h3 {
  margin-bottom: 6px;
}

.lead-magnet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lead-magnet div {
  max-width: 740px;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
  padding-top: 8px;
}

.contact-card {
  display: grid;
  gap: 5px;
  margin-top: 11px;
  padding: 10px;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 750;
  text-decoration: none;
}

.data-disclaimer {
  display: grid;
  gap: 7px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.data-disclaimer strong {
  color: var(--teal-dark);
  font-size: 15px;
}

.data-disclaimer p {
  max-width: 980px;
  margin: 0;
}

.lead-form {
  display: grid;
  gap: 10px;
  padding: clamp(13px, 2vw, 18px);
  box-shadow: var(--shadow);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #cbd4d0;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(16px, 3vw, 44px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.condo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(18px, 3vw, 38px);
  align-items: end;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 7vw, 92px) 34px;
  background:
    linear-gradient(90deg, rgba(8, 27, 30, 0.86), rgba(8, 27, 30, 0.58)),
    url("assets/marco-island-hero.png") center / cover;
  color: var(--white);
}

.condo-hero h1 {
  max-width: 860px;
}

.condo-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.condo-stats {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.condo-stats strong {
  font-size: 38px;
  line-height: 1;
}

.condo-stats span {
  color: rgba(255, 255, 255, 0.82);
}

.condo-stats a {
  color: var(--sand);
  font-weight: 850;
  text-decoration: none;
}

.condo-map-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.condo-map-section iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.condo-map-section p,
.directory-section .section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.condo-advice {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.advice-grid article {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: var(--mist);
  border-radius: 8px;
}

.advice-grid span {
  color: var(--muted);
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 10px;
  margin: 14px 0 10px;
}

.letter-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.letter-filter button {
  min-width: 32px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.letter-filter button.active {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

.results-note {
  color: var(--muted);
  font-weight: 750;
}

.condo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.condo-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.condo-photo {
  position: relative;
  display: block;
  overflow: hidden;
  margin: -10px -10px 2px;
  aspect-ratio: 16 / 7;
  background: var(--mist);
  border-radius: 8px 8px 0 0;
  text-decoration: none;
}

.condo-photo-link {
  cursor: pointer;
}

.condo-photo-link img {
  transition: transform 180ms ease;
}

.condo-photo-link:hover img {
  transform: scale(1.025);
}

.condo-photo-link:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: -3px;
}

.condo-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-pending {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(4, 86, 92, 0.14), rgba(217, 104, 69, 0.16)),
    var(--mist);
  color: var(--teal-dark);
  font-weight: 850;
}

.condo-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.condo-title p {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 850;
}

.condo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.condo-tags span {
  padding: 3px 6px;
  border-radius: 999px;
  background: #f5ead9;
  color: #6e402e;
  font-size: 11px;
  font-weight: 850;
}

.condo-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 8px;
  padding-top: 2px;
  border-top: 1px solid var(--line);
}

.condo-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
  min-height: 28px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(217, 224, 220, 0.8);
}

.condo-facts strong {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.condo-facts span {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
}

.condo-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.condo-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 8px;
  border-radius: 7px;
  background: var(--mist);
  color: var(--teal-dark);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.guide-list h3 a {
  text-decoration: none;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 7vw, 92px);
  background: var(--mist);
}

.profile-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.back-link {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
}

.profile-copy h1 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.06;
}

.profile-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 13px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
}

.profile-photo {
  overflow: hidden;
  min-width: 0;
  height: clamp(220px, 25vw, 330px);
  min-height: 210px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 24px;
}

.profile-overview + .data-disclaimer {
  padding-top: 12px;
  padding-bottom: 12px;
}

.profile-overview p {
  color: var(--muted);
  font-size: 13px;
}

.profile-snapshot {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.profile-snapshot h2,
.map-panel h2,
.sales-panel h2,
.profile-guidance h2,
.related-condos h2,
.condo-contact h2 {
  font-size: clamp(19px, 2vw, 24px);
  max-width: 720px;
  line-height: 1.08;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  min-width: 0;
}

.profile-facts div {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-facts strong {
  color: var(--teal-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-facts span {
  font-size: 13px;
  font-weight: 750;
}

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

.compact-listings-button,
.compact-floorplans-button,
.compact-report-button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

.compact-floorplans-button,
.compact-report-button {
  gap: 8px;
  color: var(--teal-dark);
}

.compact-floorplans-button span,
.compact-report-button span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.compact-report-button {
  padding-right: 12px;
}

.profile-sales-section {
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-panel,
.sales-panel {
  min-width: 0;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-panel iframe {
  width: 100%;
  min-height: 0;
  height: 250px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
}

.sales-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.sales-heading p:last-child {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.sales-placeholder {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px;
  background: var(--mist);
  border-radius: 8px;
}

.sales-placeholder p,
.sales-note {
  color: var(--muted);
}

.sales-chart-card {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfaf6 0%, #ffffff 100%);
  overflow: hidden;
}

.sales-chart-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.sales-chart-summary div {
  padding: 8px 10px;
  border-right: 1px solid var(--line);
}

.sales-chart-summary div:last-child {
  border-right: 0;
}

.sales-chart-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sales-chart-summary strong {
  display: block;
  margin-top: 2px;
  color: var(--teal-dark);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
}

.sales-chart-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 8px 0;
}

.sales-chart-canvas {
  min-width: 100%;
  max-width: none;
}

.sales-chart {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.sales-chart-bg {
  fill: #f3f6f1;
}

.sales-chart-grid {
  stroke: rgba(42, 72, 60, 0.13);
  stroke-width: 1;
}

.sales-chart-date-grid {
  stroke: rgba(42, 72, 60, 0.08);
  stroke-width: 1;
}

.sales-chart-line {
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.72;
  stroke-width: 2.5;
}

.sales-chart-point {
  fill: var(--coral);
  stroke: var(--white);
  stroke-width: 2.5;
  cursor: pointer;
  outline: none;
  transition: fill 140ms ease, stroke-width 140ms ease;
}

.sales-chart-point:hover,
.sales-chart-point:focus,
.sales-chart-point.is-active {
  fill: var(--teal-dark);
  stroke-width: 4;
}

.sales-chart-caption {
  margin: 0 10px 8px;
  color: var(--muted);
  font-size: 11px;
}

.sales-chart-y-label,
.sales-chart-x-label {
  fill: var(--muted);
  font-size: 10px;
}

.sales-chart-y-label {
  text-anchor: end;
}

.sales-chart-x-label {
  text-anchor: middle;
}

.sales-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

.sales-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.sales-table th,
.sales-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.sales-table th {
  color: var(--teal-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sales-table tr.is-active td {
  background: #f5ead9;
}

.sales-parcel-id {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.sales-tooltip {
  position: fixed;
  z-index: 30;
  display: grid;
  gap: 1px;
  width: max-content;
  max-width: 220px;
  padding: 9px 11px;
  background: var(--ink);
  color: var(--white);
  border-radius: 7px;
  box-shadow: 0 10px 28px rgba(18, 37, 40, 0.22);
  font-size: 13px;
  pointer-events: none;
}

.sales-tooltip strong,
.sales-tooltip span,
.sales-tooltip small {
  display: block;
}

.sales-tooltip span {
  color: var(--sand);
  font-weight: 850;
}

.sales-tooltip small {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 720px) {
  .sales-chart-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-chart-summary div:nth-child(2) {
    border-right: 0;
  }

  .sales-chart-summary div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

.profile-guidance {
  padding-top: 24px;
  padding-bottom: 24px;
}

.profile-guidance .advice-grid {
  margin-top: 12px;
}

.profile-guidance .advice-grid article {
  padding: 10px;
}

.related-condos {
  padding-top: 18px;
  padding-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.related-grid a {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  background: var(--mist);
  border-radius: 8px;
  text-decoration: none;
}

.related-grid span {
  color: var(--muted);
  font-size: 12px;
}

.condo-contact {
  padding-top: 24px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .quick-panel,
  .intro,
  .service-grid,
  .feature-grid,
  .dashboard-grid,
  .dashboard-grid-enhanced,
  .boating-condition-layout,
  .boating-condition-grid,
  .tide-widget-body,
  .beach-grid,
  .cam-grid,
  .visual-split,
  .visual-split.reverse,
  .beach-access-map-panel,
  .map-grid,
  .bridge-visual-grid,
  .bridge-reference-layout,
  .bridge-tool,
  .bridge-controls,
  .bridge-notes,
  .split,
  .guide-list,
  .contact,
  .condo-hero,
  .condo-map-section,
  .advice-grid,
  .directory-tools,
  .condo-list,
  .profile-hero,
  .profile-overview,
  .profile-facts,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 220px;
  }

  .sales-heading {
    display: grid;
    align-items: start;
  }

  .quick-panel a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-list article {
    min-height: auto;
  }

  .tide-widget-head {
    align-items: start;
    flex-direction: column;
  }

  .compact-select-label {
    width: 100%;
    min-width: 0;
  }

  .lead-magnet,
  .guide-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .bridge-result {
    grid-template-columns: 1fr;
  }

  .bridge-result p {
    grid-column: 1;
    grid-row: auto;
  }

  .tide-modal {
    align-items: stretch;
    padding: 12px;
  }

  .tide-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .tide-modal-details {
    grid-template-columns: 1fr;
  }

  .tide-modal-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .tide-modal-list span {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 460px;
  }

  .hero-content {
    margin-left: 18px;
    padding-bottom: 78px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 27, 30, 0.84) 0%, rgba(8, 27, 30, 0.62) 58%, rgba(8, 27, 30, 0.25) 100%);
  }

  .button {
    width: 100%;
  }

  .condo-actions {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    padding-top: 24px;
  }

  .map-panel iframe {
    height: auto;
    min-height: 260px;
  }

  .cam-page-card .cam-frame {
    min-height: 0;
  }
}
