/* LivingInMelbourneFL.com — refined coastal editorial system */
:root {
  --ink: #142b33;
  --muted: #617177;
  --paper: #f5f0e7;
  --white: #fffdf9;
  --line: #d9d0c1;
  --teal: #2f6863;
  --teal-dark: #0d3038;
  --coral: #b96f56;
  --gold: #c9a36a;
  --sand: #dcc8a1;
  --mist: #e4ece8;
  --shadow: 0 24px 70px rgba(13, 48, 56, 0.13);
  --shadow-soft: 0 14px 40px rgba(13, 48, 56, 0.09);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.01em;
}

::selection {
  color: var(--white);
  background: var(--teal);
}

img { image-rendering: auto; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 163, 106, 0.62);
  outline-offset: 4px;
}

.site-header {
  min-height: 82px;
  padding: 11px clamp(18px, 4vw, 60px);
  color: var(--ink);
  background: rgba(255, 253, 249, 0.92);
  border-top: 3px solid var(--teal-dark);
  border-bottom: 1px solid rgba(20, 43, 51, 0.09);
  box-shadow: 0 8px 34px rgba(13, 48, 56, 0.06);
  backdrop-filter: saturate(140%) blur(18px);
}

.brand {
  min-width: 344px;
  gap: 13px;
}

.brand-logos {
  gap: 9px;
  padding: 6px 9px;
  background: #fff;
  border-color: rgba(20, 43, 51, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(13, 48, 56, 0.06);
}

.brand-personal-logo {
  order: 1;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-brokerage-logo {
  order: 2;
  width: 118px;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--teal);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  gap: 2px;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.nav a {
  padding: 11px 12px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--teal-dark);
  background: var(--mist);
  transform: translateY(-1px);
}

.nav .nav-blog {
  color: var(--teal-dark);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(47, 104, 99, 0.32);
}

.nav .nav-blog:hover {
  color: var(--white);
  background: var(--teal);
}

.nav .nav-cta {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 7px 18px rgba(13, 48, 56, 0.16);
}

.nav .nav-cta:hover {
  color: var(--white);
  background: var(--teal);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100vh - 50px));
  display: block;
  padding: clamp(70px, 9vw, 125px) clamp(18px, 6vw, 86px) clamp(64px, 8vw, 104px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(8, 37, 44, 0.98) 0%, rgba(9, 50, 57, 0.91) 45%, rgba(25, 80, 79, 0.7) 100%),
    url("./assets/melbourne-coast-hero-v2.svg") center / cover,
    #0d3038;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  background:
    radial-gradient(circle at 78% 22%, rgba(220, 200, 161, 0.34), transparent 25%),
    linear-gradient(118deg, transparent 0 66%, rgba(255, 255, 255, 0.05) 66% 67%, transparent 67%);
}

.hero::after {
  content: "MELBOURNE  •  SPACE COAST";
  position: absolute;
  z-index: -1;
  right: -16px;
  bottom: -38px;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--body);
  font-size: clamp(3.3rem, 8vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(285px, 0.7fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
}

.hero-copy { width: min(760px, 100%); }

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .trust-line,
.guide-section .eyebrow,
.video-section .eyebrow,
.answer-band .eyebrow,
.page-hero .eyebrow {
  color: #e9c994;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 7.7vw, 7.7rem);
  line-height: 0.86;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.7rem);
  line-height: 0.97;
}

h3 {
  font-family: var(--display);
  font-size: 1.27rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero h1 span {
  display: block;
  color: #efd8ae;
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  width: min(650px, 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.07rem, 1.7vw, 1.3rem);
  line-height: 1.56;
}

.hero-actions { margin: 30px 0 20px; }

.button {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 48, 56, 0.18);
}

.button.primary {
  color: var(--teal-dark);
  background: #efd8ae;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.hero .trust-line {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-agent-card {
  align-self: center;
  width: min(355px, 100%);
  justify-self: end;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  box-shadow: 0 34px 85px rgba(4, 23, 29, 0.34);
  backdrop-filter: blur(16px);
}

.hero-agent-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: center 16%;
}

.hero-agent-copy { padding: 22px 24px 24px; }

.hero-agent-label {
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-agent-card h2 {
  margin-bottom: 5px;
  font-size: 1.72rem;
  line-height: 1.05;
}

.hero-agent-role {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-agent-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.hero-agent-links a {
  padding: 8px 12px;
  color: var(--teal-dark);
  border: 1px solid rgba(47, 104, 99, 0.28);
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-agent-links a:first-child {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.section,
.answer-band,
.guide-section {
  padding: clamp(76px, 9vw, 125px) clamp(18px, 5vw, 72px);
}

.section-inner { width: min(1220px, 100%); }

.answer-band {
  color: var(--ink);
  background: #e8e2d7;
  border-bottom: 1px solid rgba(20, 43, 51, 0.08);
}

.answer-band .two-column {
  position: relative;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
}

.answer-band .two-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(45% - 1px);
  width: 1px;
  height: 100%;
  background: rgba(20, 43, 51, 0.13);
}

.answer-copy {
  color: #374d53;
  font-size: 1.07rem;
}

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

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-card,
.video-card {
  padding: 28px;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.topic-card:hover,
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.topic-card p { color: var(--muted); }

.topic-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--teal-dark);
  font-size: 0.84rem;
  text-decoration: none;
}

.topic-card a::after {
  content: "→";
  margin-left: 7px;
  transition: transform 180ms ease;
}

.topic-card:hover a::after { transform: translateX(4px); }

.card-number {
  width: fit-content;
  margin-bottom: 22px;
  padding: 5px 9px;
  color: var(--teal-dark);
  border-radius: 999px;
  background: #efe3cc;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.authority-section {
  background: #fffdf9;
}

.authority-layout {
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1.22fr);
}

.portrait-panel {
  position: relative;
  min-height: 0;
  padding: 20px;
  background: linear-gradient(145deg, #dfe8e4, #efe3cc);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.portrait-panel::before {
  content: "LOCAL GUIDANCE • SPACE COAST";
  position: absolute;
  left: -38px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
  color: rgba(13, 48, 56, 0.5);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.headshot {
  width: 100%;
  max-width: 420px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: none;
}

.credential-card {
  grid-template-columns: 1fr;
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--mist);
  border: 0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}

.proof-list a {
  color: var(--teal-dark);
  background: #ece7dc;
  border-radius: 999px;
  text-decoration: none;
}

.muted { background: #e8e2d7; }

.comparison-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}

.comparison-list > div {
  min-height: 190px;
  padding: 28px;
  background: rgba(255, 253, 249, 0.82);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(13, 48, 56, 0.06);
}

.comparison-list a,
.related-links a { color: var(--teal-dark); }

.video-section {
  color: var(--white);
  background: var(--teal-dark);
}

.video-grid { gap: 24px; }

.video-card {
  color: var(--ink);
  padding: 14px 14px 25px;
}

.video-card h3,
.video-card p { margin-left: 12px; margin-right: 12px; }

.video-card iframe { border-radius: 12px; }

.guide-section,
.shortlist-section {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 16%, rgba(201, 163, 106, 0.2), transparent 27%),
    linear-gradient(118deg, #0d3038, #174f52);
}

.lead-form,
.shortlist-form {
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(4, 23, 29, 0.27);
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.shortlist-form input,
.shortlist-form select,
.shortlist-form textarea {
  border-color: #c9c2b6;
  border-radius: 10px;
  background: #fbf9f4;
}

.lead-form .button.primary,
.shortlist-form .button.primary {
  color: var(--white);
  background: var(--teal-dark);
}

.faq-section details {
  margin-bottom: 12px;
  padding: 20px 22px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.72);
}

.faq-section details:last-child { border-bottom: 0; }
.faq-section summary { font-family: var(--display); font-size: 1.18rem; }

.site-footer {
  padding-top: 58px;
  padding-bottom: 42px;
  color: var(--white);
  background: #091f26;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo,
.brokerage-logo {
  border-radius: 10px;
  background: #fff;
}

.footer-links a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 126px) clamp(18px, 7vw, 92px) clamp(64px, 8vw, 98px);
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(8, 37, 44, 0.97), rgba(19, 78, 77, 0.78)),
    url("./assets/melbourne-coast-hero-v2.svg") center / cover,
    #0d3038;
}

.page-hero::after {
  content: "SPACE COAST";
  position: absolute;
  right: 2vw;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.05);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 750;
  letter-spacing: 0.1em;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 6.8vw, 6.2rem);
  line-height: 0.94;
}

.breadcrumbs { color: rgba(255, 255, 255, 0.72); }

.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(285px, 345px);
}

.article-body { gap: 38px; }
.article-body p,
.article-body li { color: #354a51; }
.article-body h2 { color: var(--teal-dark); }

.answer-box,
.sidebar-panel,
.article-visual {
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.answer-box { border-left: 4px solid var(--gold); }
.sidebar-panel { top: 104px; }
.button.quiet { border-color: rgba(47, 104, 99, 0.22); border-radius: 999px; }

#blog-topic-filters button {
  color: var(--teal-dark);
  border-color: rgba(47, 104, 99, 0.3);
  background: var(--white);
}

#blog-topic-filters button:hover,
#blog-topic-filters button:focus-visible,
#blog-topic-filters button[aria-pressed="true"] {
  color: var(--white);
  background: var(--teal-dark);
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav { justify-content: flex-start; }
  .hero-shell { grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr); gap: 38px; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; }
  .hero-shell { grid-template-columns: 1fr; }
  .two-column,
  .answer-band .two-column,
  .authority-layout,
  .guide-layout,
  .site-footer { grid-template-columns: 1fr; }
  .hero-agent-card { justify-self: start; width: min(520px, 100%); display: grid; grid-template-columns: minmax(150px, 0.82fr) minmax(190px, 1.18fr); }
  .hero-agent-card img { height: 100%; aspect-ratio: auto; object-position: center top; }
  .topic-grid,
  .comparison-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answer-band .two-column::before { display: none; }
}

@media (max-width: 620px) {
  .site-header { position: static; padding: 10px 16px 13px; }
  .brand { min-width: 0; width: 100%; }
  .brand-logos { flex-shrink: 0; }
  .brand-brokerage-logo { width: 105px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: 0.61rem; }
  .nav { gap: 3px; }
  .nav a { padding: 9px 10px; }
  .hero { padding: 68px 19px 62px; }
  .hero h1 { font-size: clamp(3.45rem, 18vw, 5.4rem); }
  .hero-agent-card { display: block; width: 100%; }
  .hero-agent-card img { width: 100%; height: auto; }
  .topic-grid,
  .comparison-list,
  .video-grid { grid-template-columns: 1fr; }
  .section,
  .answer-band,
  .guide-section,
  .page-hero { padding-top: 68px; padding-bottom: 68px; }
  .portrait-panel::before { display: none; }
  .content-grid { grid-template-columns: 1fr; }
}

/* 2026-09-04 art-direction pass: photography-led coastal editorial */
.site-header {
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(250, 248, 243, 0.94);
  border-top: 0;
  box-shadow: 0 1px 0 rgba(13, 48, 56, 0.1);
}

.brand-logos {
  padding: 4px 7px;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.brand strong { font-size: 1.08rem; }
.brand small { letter-spacing: 0.13em; }
.nav .nav-cta { box-shadow: none; }

.hero {
  min-height: min(830px, calc(100vh - 28px));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 30, 37, 0.94) 0%, rgba(7, 37, 44, 0.86) 37%, rgba(8, 39, 46, 0.34) 70%, rgba(8, 39, 46, 0.14) 100%),
    url("/assets/atlantic-coast-aerial.jpg") center 52% / cover no-repeat;
}

.hero::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(5, 30, 37, 0.08), rgba(5, 30, 37, 0.3));
}

.hero::after {
  content: "28.0836° N  •  80.6081° W";
  right: clamp(18px, 4vw, 60px);
  bottom: 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.hero-shell {
  grid-template-columns: minmax(0, 1.35fr) minmax(275px, 0.65fr);
  gap: clamp(44px, 7vw, 110px);
}

.hero-copy { max-width: 780px; }
.hero h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 7.8vw, 8rem);
  line-height: 0.88;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(3, 21, 27, 0.25);
}

.hero h1 span { color: #f0d7aa; }
.hero-text { max-width: 610px; color: rgba(255,255,255,.9); }

.hero-agent-card {
  width: min(330px, 100%);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 8px;
  box-shadow: 0 28px 75px rgba(3, 21, 27, 0.42);
}

.hero-agent-card img {
  aspect-ratio: 4 / 4.1;
  filter: saturate(.9) contrast(1.02);
}

.hero-agent-copy { padding: 20px 22px 22px; }
.hero-agent-card h2 { font-size: 1.55rem; }

.local-proof-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fffdf9;
  border-bottom: 1px solid rgba(20,43,51,.12);
}

.local-proof-rail span {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding: 16px clamp(20px, 4vw, 54px);
  color: #42565c;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(20,43,51,.1);
}
.local-proof-rail span:last-child { border-right: 0; }
.local-proof-rail strong { color: var(--gold); font-family: var(--display); font-size: 1.3rem; font-weight: 500; }

.home-page .answer-band {
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(90px, 11vw, 150px);
  background: #f7f4ee;
}

.home-page .answer-band h2 { max-width: 560px; }
.home-page .answer-band .answer-copy { max-width: 580px; font-size: 1.13rem; }
.home-page .answer-band .two-column::before { left: calc(43% - 1px); }

.place-journal {
  padding: clamp(88px, 10vw, 140px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #0b2931;
}

.place-journal .eyebrow { color: #e9c994; }
.place-journal-heading {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(300px, 1.05fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: end;
  margin-bottom: 46px;
}
.place-journal-heading h2 { margin-bottom: 0; }
.place-journal-heading > p { max-width: 600px; margin-bottom: 8px; color: rgba(255,255,255,.7); font-size: 1.05rem; }

.place-gallery {
  display: grid;
  grid-template-columns: 1.42fr .79fr .79fr;
  gap: 14px;
  width: min(1380px, 100%);
  margin: 0 auto;
}
.place-frame {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #173f46;
}
.place-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.03);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 400ms ease;
}
.place-frame:first-child img { object-position: center 48%; }
.place-frame:nth-child(2) img { object-position: 44% center; }
.place-frame:nth-child(3) img { object-position: 56% center; }
.place-frame:hover img { transform: scale(1.025); filter: saturate(.95) contrast(1.02); }
.place-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5,27,33,.82));
  pointer-events: none;
}
.place-frame figcaption {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 24px;
  bottom: 24px;
}
.place-frame figcaption strong,
.place-frame figcaption span { display: block; }
.place-frame figcaption strong { font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
.place-frame figcaption span { color: rgba(255,255,255,.7); font-size: .78rem; }

.home-page > main > .section:not(.authority-section):not(.muted):not(.video-section):not(.faq-section) { background: #fffdf9; }
.home-page .section-heading { max-width: 860px; }
.home-page .section-heading h2 { text-wrap: balance; }

.home-paths {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(20,43,51,.16);
  border-bottom: 1px solid rgba(20,43,51,.16);
}
.home-paths .topic-card {
  min-height: 300px;
  padding: 34px 28px 30px;
  border-right: 1px solid rgba(20,43,51,.14);
  border-radius: 0;
  box-shadow: none;
}
.home-paths .topic-card:last-child { border-right: 0; }
.home-paths .topic-card:hover { transform: none; background: #f1ece3; box-shadow: none; }
.home-paths .topic-card h3 { font-size: 1.55rem; }
.home-paths .card-number { padding: 0; color: var(--gold); background: transparent; font-size: .7rem; }

.specialty-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 28px;
}
.specialty-links span { color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.specialty-links a { color: var(--teal-dark); font-size: .86rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.home-page .authority-section { background: #e8e1d5; }
.home-page .authority-layout { gap: clamp(50px, 9vw, 125px); }
.home-page .portrait-panel { padding: 0; overflow: hidden; border-radius: 2px; background: #d5ddd8; }
.home-page .portrait-panel .headshot { max-width: none; border-radius: 0; filter: saturate(.86) contrast(1.02); }
.home-page .portrait-panel::before { z-index: 2; left: 18px; top: auto; bottom: 18px; transform: none; transform-origin: center; padding: 8px 11px; color: #fff; background: rgba(10,42,49,.75); backdrop-filter: blur(8px); }
.home-page .credential-card { background: rgba(255,253,249,.62); }

.home-page #neighborhood-preview { background: #102f37; color: #fff; }
.home-page #neighborhood-preview .eyebrow { color: #e9c994; }
.home-page #neighborhood-preview .comparison-list { grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.home-page #neighborhood-preview .comparison-list > div {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  background: #173f46;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.home-page #neighborhood-preview .comparison-list > div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .72;
  background: linear-gradient(150deg, #1d5153, #0d3038);
  transition: transform 500ms ease, opacity 300ms ease;
}
.home-page #neighborhood-preview .comparison-list > div:nth-child(1)::before { background: linear-gradient(180deg, rgba(7,34,41,.12), rgba(7,34,41,.92)), url('/assets/downtown-melbourne.jpg') center / cover; }
.home-page #neighborhood-preview .comparison-list > div:nth-child(2)::before { background: linear-gradient(180deg, rgba(7,34,41,.12), rgba(7,34,41,.92)), url('/assets/crane-creek-melbourne.jpg') center / cover; }
.home-page #neighborhood-preview .comparison-list > div:nth-child(6)::before { background: linear-gradient(180deg, rgba(7,34,41,.08), rgba(7,34,41,.9)), url('/assets/atlantic-coast-aerial.jpg') center / cover; }
.home-page #neighborhood-preview .comparison-list > div:hover::before { transform: scale(1.035); opacity: .9; }
.home-page #neighborhood-preview .comparison-list h3,
.home-page #neighborhood-preview .comparison-list p,
.home-page #neighborhood-preview .comparison-list a { position: relative; z-index: 1; }
.home-page #neighborhood-preview .comparison-list h3 { font-size: 1.55rem; }
.home-page #neighborhood-preview .comparison-list p { color: rgba(255,255,255,.7); }
.home-page #neighborhood-preview .comparison-list a { color: #f0d7aa; font-size: .82rem; font-weight: 700; }

.home-page #cost,
.home-page #real-estate { padding-top: clamp(90px, 10vw, 135px); padding-bottom: clamp(90px, 10vw, 135px); }
.home-page #cost { background: #fffdf9; }
.home-page #real-estate { background: #ece6dc; }
.home-page #cost .two-column,
.home-page #real-estate .two-column { grid-template-columns: minmax(280px,.95fr) minmax(350px,1.05fr); }
.home-page #cost .answer-copy,
.home-page #real-estate .answer-copy { padding-left: clamp(28px, 5vw, 72px); border-left: 1px solid rgba(20,43,51,.16); }

.video-section { background: #071f26; }
.video-section .video-card { border-radius: 4px; box-shadow: none; }
.video-section .video-card:hover { transform: none; }
.guide-section { background: linear-gradient(118deg, #0b2a32, #1b5756); }

.page-hero {
  background:
    linear-gradient(102deg, rgba(5,30,37,.96), rgba(10,46,53,.74)),
    url('/assets/atlantic-coast-aerial.jpg') center 54% / cover no-repeat;
}
.page-hero h1 { max-width: 1050px; text-wrap: balance; }

.photo-credit { font-size: .68rem; opacity: .72; }
.photo-credit a { text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .place-gallery { grid-template-columns: 1.25fr 1fr; }
  .place-frame { min-height: 420px; }
  .place-frame:last-child { grid-column: 1 / -1; min-height: 330px; }
  .home-paths { grid-template-columns: repeat(2, 1fr); }
  .home-paths .topic-card:nth-child(2) { border-right: 0; }
  .home-paths .topic-card:nth-child(-n+2) { border-bottom: 1px solid rgba(20,43,51,.14); }
}

@media (max-width: 820px) {
  .hero { min-height: auto; padding-top: 84px; background-position: 62% center; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-agent-card { display: grid; grid-template-columns: 142px 1fr; width: min(520px, 100%); justify-self: start; }
  .hero-agent-card img { height: 100%; aspect-ratio: auto; }
  .local-proof-rail { grid-template-columns: 1fr; }
  .local-proof-rail span { min-height: 58px; border-right: 0; border-bottom: 1px solid rgba(20,43,51,.1); }
  .place-journal-heading { grid-template-columns: 1fr; gap: 10px; }
  .home-page #neighborhood-preview .comparison-list { grid-template-columns: repeat(2,1fr); }
  .home-page #cost .two-column,
  .home-page #real-estate .two-column { grid-template-columns: 1fr; }
  .home-page #cost .answer-copy,
  .home-page #real-estate .answer-copy { padding-left: 0; border-left: 0; }
}

@media (max-width: 620px) {
  .hero { padding-top: 74px; background-position: 66% center; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 4.9rem); }
  .hero::after { display: block; right: 18px; bottom: 14px; font-size: .52rem; }
  .hero-agent-card { display: grid; grid-template-columns: 116px 1fr; }
  .hero-agent-card img { height: 100%; min-height: 164px; object-fit: cover; }
  .hero-agent-copy { padding: 17px 16px; }
  .hero-agent-card h2 { font-size: 1.35rem; }
  .hero-agent-links { gap: 6px; }
  .hero-agent-links a { padding: 7px 9px; font-size: .7rem; }
  .place-gallery { grid-template-columns: 1fr; }
  .place-frame,
  .place-frame:last-child { grid-column: auto; min-height: 410px; }
  .home-paths { grid-template-columns: 1fr; }
  .home-paths .topic-card { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(20,43,51,.14); }
  .home-page #neighborhood-preview .comparison-list { grid-template-columns: 1fr; }
  .home-page #neighborhood-preview .comparison-list > div { min-height: 290px; }
}

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