/* Coastal Editorial: shared theme, with the new composition scoped to the home page. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f7f7;
  --ink: #15232c;
  --muted: #626f77;
  --line: #dce3e4;
  --blue: #074b55;
  --blue-dark: #063d45;
  --teal: #074b55;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 3px;
  --container: min(1312px, calc(100% - 112px));
  --shadow: 0 8px 24px rgb(21 35 44 / 8%);
  --soft-shadow: 0 4px 16px rgb(21 35 44 / 5%);
}

html { scroll-padding-top: 24px; }
body { background: #fff; font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { color: inherit; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:is(a, button, input, select, textarea):focus-visible { outline: 3px solid #a88e63; outline-offset: 4px; }
.page-view-animate { animation: none; }
.page-view h1, .page-view h2, .page-view h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }
.page-hero h1, .location-hero h1 { font-size: 52px; line-height: 1.13; overflow-wrap: anywhere; }
.section-title h2, .location-prose h2 { font-size: 40px; line-height: 1.15; }
.page-view .property-title { font-size: 25px; line-height: 1.2; }
.page-view .admin-main h2, .page-view .crm-workspace h2 { font-size: 27px; }
.page-view .admin-main h3, .page-view .crm-workspace h3 { font: 600 18px/1.4 "Segoe UI", Arial, sans-serif; }
.button { gap: 20px; min-height: 48px; padding: 13px 23px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 600; line-height: 1.35; white-space: normal; text-align: center; transition: background 160ms; }
.button:hover { transform: none; box-shadow: none; }
.button.primary { border-color: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--ink); }
.button.small { min-height: 44px; padding: 10px 14px; font-size: 13px; }
.icon-button { width: 44px; height: 44px; }
.button > span[aria-hidden] { font-size: 20px; line-height: 1; font-weight: 400; flex-shrink: 0; }
.field { min-width: 0; }
.field :is(input, select, textarea) { min-width: 0; min-height: 48px; border-radius: 3px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(7 75 85 / 12%); }
.field :is(input, select, textarea):focus-visible { outline: 3px solid #a88e63; outline-offset: 3px; }
.property-card:hover { transform: none; box-shadow: none; }
.card { background: #fff; box-shadow: none; }
.badge.blue { background: #eaf1f1; color: var(--blue); }

.topbar { position: relative; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; box-shadow: none; }
.nav { min-height: 92px; gap: 30px; }
.brand { gap: 12px; min-height: 44px; flex-shrink: 0; }
.brand-mark { width: 54px; height: 42px; background: none; border-radius: 0; box-shadow: none; }
.brand-mark img { object-fit: contain; }
.brand-text { display: block; }
.brand-name { display: block; font-size: 17px; font-weight: 400; line-height: 1; color: #09213f; white-space: nowrap; }
.brand-gold { color: #a88e63; }
.brand-area { display: block; margin-top: 9px; font-size: 6.7px; font-weight: 500; line-height: 1.2; color: #09213f; }
.nav-links { position: static; display: flex; flex: 1; justify-content: center; gap: 31px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.nav-link { padding: 10px 0; min-height: 44px; border-radius: 0; font-size: 13px; font-weight: 400; color: var(--ink); }
.nav-link:hover, .nav-link.active { background: none; color: var(--blue); }
.nav-link.active { text-decoration: underline; text-underline-offset: 6px; }
.nav-mobile-consultation { display: none; }
.nav-actions { gap: 24px; flex-shrink: 0; }
.lang-select { min-width: 52px; max-width: 66px; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 0; background: #fff; font-size: 13px; font-weight: 400; }
.nav-actions .header-cta { display: inline-flex; min-height: 44px; padding: 12px 19px; gap: 25px; font-size: 13px; }
.menu-toggle { display: none; width: 44px; height: 44px; min-width: 44px; padding: 10px; background: #fff; color: var(--ink); border-radius: 0; }
.menu-toggle span { width: 20px; height: 1.5px; border-radius: 0; margin: 6px auto; }

.coastal-hero { position: relative; isolation: isolate; height: 536px; }
.coastal-hero-copy { padding-top: 66px; }
.coastal-eyebrow { display: block; margin-bottom: 13px; color: var(--blue); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: 0; text-transform: uppercase; }
.coastal-hero-copy h1 { max-width: 660px; margin: 0; font-size: 76px; line-height: 1.04; }
.coastal-hero-copy p { margin: 22px 0 25px; font-size: 21px; line-height: 1.45; color: #364953; }
.coastal-hero-copy .coastal-eyebrow { color: #143747; }
.coastal-hero-photo { position: absolute; inset: 0; z-index: -1; }
.coastal-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.coastal-photo-credit { position: absolute; right: 22px; bottom: 14px; padding: 5px 9px; background: #14272fbd; color: #fff; font-size: 9px; line-height: 1.5; }
.coastal-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); background: #fff; }
.coastal-search .field { gap: 7px; padding-right: 26px; border-right: 1px solid var(--line); }
.coastal-search .field label { font-size: 11px; font-weight: 600; color: #465963; text-transform: uppercase; }
.coastal-search .field :is(select, input) { width: 100%; min-height: 44px; padding: 6px 18px 9px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 14px; }
.coastal-search .field input::placeholder { color: var(--muted); opacity: 1; }
.coastal-search .button { min-width: 211px; }
.coastal-featured { padding-block: 56px; }
.coastal-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.coastal-section-head h2 { margin: 0; font-size: 43px; line-height: 1.15; }
.coastal-section-head .coastal-text-link { margin-bottom: 5px; flex-shrink: 0; }
.coastal-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--blue); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--blue); }
.coastal-text-link > span { font-size: 22px; line-height: 1; }
.coastal-property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.coastal-property-card { min-width: 0; }
.coastal-property-image { position: relative; display: block; aspect-ratio: 1.46; overflow: hidden; }
.coastal-property-image img { width: 100%; height: 100%; object-fit: cover; }
.coastal-property-image .badge { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); border-radius: 3px; }
.coastal-property-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin: 16px 0 8px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.coastal-property-meta span + span { border-left: 1px solid #cbd4d7; padding-left: 13px; }
.coastal-property-card h3 { margin: 0 0 16px; font-size: 27px; line-height: 1.2; overflow-wrap: anywhere; }
.coastal-property-card h3 a { display: inline-block; min-height: 44px; }
.coastal-property-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.coastal-property-bottom > span { font-size: 11px; color: var(--muted); }
.coastal-property-bottom .coastal-text-link { font-size: 13px; padding: 5px 0; gap: 13px; }
.coastal-catalog-status { min-height: 96px; margin: 0; padding: 24px 0; color: var(--muted); }
.coastal-locations { padding: 40px 0 44px; background: #f5f7f7; }
.coastal-locations h2 { font-size: 34px; }
.coastal-section-head > p { max-width: 280px; margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.coastal-location-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.coastal-location-link { display: flex; align-items: center; gap: 18px; min-height: 70px; padding: 19px 0; border-block: 1px solid #ccd6d6; }
.coastal-location-number { font-size: 10px; color: var(--muted); }
.coastal-location-name { font: 400 26px/1.2 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.coastal-location-link > span:last-child { margin-left: auto; color: var(--blue); font-size: 26px; line-height: 1; }
.coastal-consultation { padding: 54px 0; background: #eaf1f1; }
.coastal-consultation-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: start; gap: 65px; }
.coastal-consultation h2 { max-width: 350px; margin: 0; font-size: 37px; line-height: 1.15; }
.coastal-consultation-copy p { max-width: 330px; margin: 17px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.coastal-enquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.coastal-enquiry-fields .field { gap: 8px; }
.coastal-enquiry-fields label { font-size: 12px; font-weight: 400; color: var(--ink); }
.coastal-enquiry-fields input, .coastal-enquiry-fields textarea { min-height: 48px; padding: 13px 14px; border: 1px solid #c9d3d6; border-radius: 3px; background: #fff; font-size: 13px; }
.coastal-enquiry-fields textarea { height: 65px; min-height: 65px; resize: vertical; }
.coastal-field-full { grid-column: 1 / -1; }
.coastal-enquiry-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 20px; margin-top: 19px; }
.coastal-enquiry-bottom p { max-width: 300px; margin: 0; font-size: 10px; line-height: 1.6; color: var(--muted); }
.coastal-enquiry-bottom p a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; }
.coastal-enquiry-bottom .button { min-width: 205px; font-size: 13px; }
.coastal-consultation .lead-notice { margin: 20px 0 0; border-radius: 3px; font-size: 13px; }

.footer { margin-top: 0; background: #fff; color: var(--muted); }
.footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding: 24px 0; }
.footer-brand-name { display: block; font-size: 10px; font-weight: 400; color: #2d4048; }
.footer .brand-area { margin-top: 10px; font-size: 10px; color: var(--muted); }
.footer p { max-width: 560px; margin: 10px 0 0; font-size: 10px; color: var(--muted); }
.footer-links { align-items: center; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; border: 0; border-radius: 0; color: var(--muted); font-size: 11px; font-weight: 400; }
.footer-links a:hover { text-decoration: underline; }
.cookie { max-width: min(420px, calc(100% - 32px)); border-radius: 6px; background: var(--ink); }
.cookie .button { width: auto; }
.cookie .button.secondary { background: #fff; color: var(--ink); }

.catalog-pause-banner { border-bottom: 1px solid #c9dadd; background: #eaf1f1; color: var(--ink); }
.catalog-pause-banner > .container { display: flex; align-items: baseline; gap: 8px 24px; padding-block: 13px; }
.catalog-pause-banner strong { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--blue); }
.catalog-pause-banner span { font-size: 13px; line-height: 1.6; }
.catalog-pause-panel { max-width: 840px; padding-block: 12px; }
.catalog-pause-panel h2 { margin: 0 0 18px; font-size: 34px; line-height: 1.2; }
.catalog-pause-panel p { margin: 0 0 18px; color: var(--muted); line-height: 1.75; }
.archived-property { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.archive-media-caption { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.archive-property-note { border-top: 1px solid var(--line); padding-top: 24px; }
.archive-property-note h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.archive-property-note p { margin: 20px 0; color: var(--muted); line-height: 1.75; }

@media (min-width: 1700px) {
  .coastal-hero { height: 600px; }
  .coastal-hero-copy { padding-top: 80px; }
}

@media (max-width: 1100px) {
  :root { --container: calc(100% - 64px); }
  .nav { gap: 18px; }
  .nav-links { gap: 19px; }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 43px; }
  .brand-area { font-size: 5.6px; }
  .nav-actions { gap: 12px; }
  .nav-actions .header-cta { padding: 12px 14px; font-size: 12px; gap: 12px; }
  .coastal-search { gap: 19px; }
  .coastal-search .field { padding-right: 16px; }
  .coastal-search .button { min-width: 175px; }
  .coastal-property-grid { gap: 19px; }
  .coastal-property-card h3 { font-size: 23px; }
  .coastal-consultation-inner { gap: 38px; }
}

@media (max-width: 800px) {
  :root { --container: calc(100% - 40px); }
  .nav { min-height: 72px; gap: 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 40px; height: 32px; }
  .brand-name { font-size: 13px; }
  .brand-area { display: block; font-size: 5.4px; margin-top: 7px; }
  .nav-actions { gap: 3px; }
  .lang-select { min-width: 44px; width: 49px; font-size: 12px; }
  .nav-actions .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 100% 20px auto; z-index: 25; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 88px); overflow: auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: var(--shadow); gap: 4px; }
  body.menu-open .nav-links { display: flex; }
  .nav-link { justify-content: flex-start; min-height: 44px; }
  .nav-mobile-consultation { display: inline-flex; }
  .page-hero h1, .location-hero h1 { font-size: 36px; line-height: 1.13; }
  .section-title h2, .location-prose h2 { font-size: 31px; }
  .coastal-hero { height: auto; }
  .coastal-hero-copy { padding: 32px 0 28px; }
  .coastal-eyebrow { margin-bottom: 10px; font-size: 9px; }
  .coastal-hero-copy h1 { font-size: 46px; line-height: 1.06; }
  .coastal-hero-copy p { margin: 16px 0 20px; font-size: 16px; line-height: 1.5; }
  .coastal-hero-copy p br { display: none; }
  .coastal-hero-copy .button { width: auto; min-height: 46px; padding: 13px 17px; gap: 30px; font-size: 12px; }
  .coastal-hero-photo { position: relative; z-index: 0; aspect-ratio: 1.5; }
  .coastal-hero-photo img { object-position: 56% center; }
  .coastal-photo-credit { right: 10px; bottom: 10px; padding: 4px 6px; font-size: 8px; }
  .coastal-search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; padding: 22px 0 24px; }
  .coastal-search .field { padding-right: 0; border-right: 0; gap: 7px; }
  .coastal-search .field:first-child { grid-column: 1 / -1; }
  .coastal-search .field label { font-size: 9px; }
  .coastal-search .field :is(select, input) { min-height: 44px; padding-bottom: 8px; font-size: 13px; }
  .coastal-search .button { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 46px; margin-top: 1px; gap: 22px; font-size: 13px; }
  .coastal-featured { padding-block: 37px; }
  .coastal-section-head { flex-direction: column; align-items: flex-start; gap: 17px; margin-bottom: 23px; }
  .coastal-section-head h2 { font-size: 31px; line-height: 1.14; }
  .coastal-section-head .coastal-text-link { gap: 23px; margin-bottom: 0; font-size: 12px; }
  .coastal-property-grid { grid-template-columns: 1fr; gap: 28px; }
  .coastal-property-image { aspect-ratio: 1.5; }
  .coastal-property-meta { margin-top: 13px; margin-bottom: 7px; gap: 8px 10px; font-size: 10px; }
  .coastal-property-meta span + span { padding-left: 10px; }
  .coastal-property-card h3 { margin-bottom: 11px; font-size: 26px; }
  .coastal-property-bottom { gap: 13px; }
  .coastal-property-bottom > span { font-size: 10px; }
  .coastal-property-bottom .coastal-text-link { min-height: 44px; border: 0; gap: 14px; font-size: 12px; }
  .coastal-locations { padding: 30px 0; }
  .coastal-locations h2 { font-size: 28px; }
  .coastal-locations .coastal-section-head { gap: 12px; margin-bottom: 21px; }
  .coastal-section-head > p { max-width: none; font-size: 12px; }
  .coastal-location-links { grid-template-columns: 1fr; gap: 0; }
  .coastal-location-link { min-height: 60px; padding: 14px 0; border-bottom: 0; }
  .coastal-location-link:last-child { border-bottom: 1px solid #ccd6d6; }
  .coastal-location-name { font-size: 24px; }
  .coastal-location-number { font-size: 9px; }
  .coastal-consultation { padding: 35px 0; }
  .coastal-consultation-inner { grid-template-columns: 1fr; gap: 26px; }
  .coastal-consultation h2 { max-width: 290px; font-size: 32px; }
  .coastal-consultation-copy p { margin-top: 14px; font-size: 13px; }
  .coastal-enquiry-fields { grid-template-columns: 1fr; gap: 14px; }
  .coastal-field-full { grid-column: auto; }
  .coastal-enquiry-fields .field { gap: 7px; }
  .coastal-enquiry-fields label { font-size: 11px; }
  .coastal-enquiry-fields input, .coastal-enquiry-fields textarea { min-height: 48px; padding: 12px; border-radius: 2px; font-size: 16px; }
  .coastal-enquiry-fields textarea { height: 80px; }
  .coastal-enquiry-bottom { flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 16px; }
  .coastal-enquiry-bottom .button { width: 100%; min-height: 48px; min-width: 0; font-size: 13px; }
  .coastal-enquiry-bottom p { max-width: none; font-size: 9px; line-height: 1.7; }
  .footer-inner { display: flex; flex-direction: column; gap: 10px; padding-block: 24px; }
  .footer-links { justify-content: flex-start; gap: 0 20px; }
  .footer-links a { font-size: 10px; }
  .cookie { padding: 16px; font-size: 14px; }
  .catalog-pause-banner > .container { flex-direction: column; gap: 5px; padding-block: 12px; }
  .catalog-pause-banner strong { flex-shrink: 1; font-size: 12px; }
  .catalog-pause-banner span { font-size: 12px; }
  .catalog-pause-panel h2 { font-size: 28px; }
  .archived-property { grid-template-columns: 1fr; gap: 28px; }
  .archive-property-note h2 { font-size: 28px; }
}

@media (max-width: 360px) {
  :root { --container: calc(100% - 32px); }
  .brand-name { font-size: 11px; }
  .brand-mark { width: 33px; }
  .brand-area { font-size: 4.7px; }
  .nav { gap: 5px; }
  .nav-actions { gap: 0; }
  .coastal-hero-copy h1 { font-size: 41px; }
  .coastal-property-card h3 { font-size: 23px; }
}

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