:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #0b2639;
  background: #eef4f7;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #0e8291; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; gap: 2.25rem; background: #071b2c; color: #e7f4fa; padding: 1.65rem 1.05rem 1.25rem; }
.brand { display: grid; gap: .35rem; width: 100%; max-width: 220px; padding: .7rem; border-radius: .65rem; background: #fff; text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.side-label, .panel-kicker, .eyebrow { color: #488494; font-size: .7rem; font-weight: 750; letter-spacing: .14em; }
.side-label { color: #7ba2b3; padding: 0 .75rem; margin-bottom: -1.75rem; }
.primary-nav { display: grid; gap: .35rem; }
.primary-nav a { display: flex; align-items: center; gap: .8rem; min-height: 3rem; padding: .6rem .75rem; border-radius: .65rem; color: #a9c1cd; font-weight: 600; text-decoration: none; }
.primary-nav a:hover { color: #fff; background: #12364e; }
.primary-nav a[aria-current="page"] { color: #fff; background: #14506a; box-shadow: inset 3px 0 #72dbdf; }
.nav-number { color: #79acbc; font-size: .72rem; font-weight: 750; letter-spacing: .06em; }
.side-note { margin-top: auto; padding: 1.1rem; border: 1px solid #2a5368; border-radius: .85rem; background: #0d2b40; }
.side-note strong { display: inline-block; margin-left: .35rem; font-size: .82rem; }
.side-note p { margin: .5rem 0 0; color: #acc4d0; font-size: .8rem; }
.status-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #72dbdf; }

.workspace { min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 4.2rem; padding: .85rem clamp(1.25rem, 3.5vw, 3.25rem); border-bottom: 1px solid #dbe7ed; background: #f7fafb; color: #537184; font-size: .73rem; font-weight: 750; letter-spacing: .12em; }
.topbar-tag { border: 1px solid #b6d5dd; border-radius: 999px; padding: .33rem .7rem; color: #2e6575; }
.topbar-actions { display: flex; align-items: center; gap: .65rem; }
#signout { border: 0; background: transparent; color: #2e6575; font-size: .76rem; font-weight: 700; }
#signout[hidden] { display: none; }
main { max-width: 1440px; margin: 0 auto; padding: clamp(1.5rem, 3.5vw, 3.25rem); }
.notice { margin-bottom: 1.2rem; padding: .8rem 1rem; border: 1px solid #a7d8d9; border-radius: .6rem; background: #e1f7f4; color: #185367; font-weight: 650; }
.notice.is-error { border-color: #e4ada8; background: #fff0ed; color: #8d342d; }
.notice[hidden] { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 1.7rem; }
.page-head h1 { margin: .45rem 0 .6rem; font-size: clamp(2.15rem, 4vw, 3.3rem); line-height: 1.1; font-weight: 760; letter-spacing: -.055em; }
.page-head p { max-width: 46rem; margin: 0; color: #526a7a; font-size: 1rem; }
.flow-rail { display: flex; align-items: center; gap: .38rem; flex: none; color: #648492; font-size: .64rem; font-weight: 750; letter-spacing: .06em; white-space: nowrap; }
.flow-rail i { width: .65rem; height: 1px; background: #9fbac5; }
.metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.3rem; }
.insights-metric-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-row > div { display: flex; align-items: baseline; gap: .8rem; min-height: 5.4rem; padding: 1rem 1.3rem; background: #dcecf0; border: 1px solid #c9e0e7; border-radius: .8rem; }
.metric-row strong { color: #0c5671; font-size: 2rem; line-height: 1; font-weight: 780; letter-spacing: -.05em; }
.metric-row span { color: #426474; font-size: .86rem; font-weight: 650; }
.content-grid { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(360px, 1.14fr); gap: 1.2rem; align-items: stretch; }
.crm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lower-grid { margin-top: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { min-width: 0; border: 1px solid #d3e1e8; border-radius: .9rem; background: #fff; box-shadow: 0 14px 40px rgba(17, 54, 72, .035); }
.form-panel { padding: clamp(1.25rem, 2vw, 2rem); }
.panel h2 { margin: .3rem 0 .55rem; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.035em; }
.panel-intro { margin: 0 0 1.35rem; color: #607786; font-size: .91rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .43rem; color: #244558; font-size: .82rem; font-weight: 720; }
input, select, textarea { width: 100%; min-height: 2.85rem; border: 1px solid #b9cdd7; border-radius: .45rem; padding: .62rem .72rem; background: #fff; color: #0b2639; font-size: .92rem; font-weight: 450; }
textarea { min-height: 6rem; resize: vertical; }
input::placeholder { color: #8398a3; }
input:focus, select:focus, textarea:focus { border-color: #167a90; }
input:disabled, select:disabled { background: #f1f5f6; color: #71818b; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 2.9rem; width: fit-content; border: 1px solid transparent; border-radius: .48rem; padding: .64rem 1.1rem; font-size: .88rem; font-weight: 730; text-decoration: none; }
.button.primary { background: #0a4d68; color: #fff; }
.button.primary:hover { background: #073d54; }
.button.secondary { background: #e7f3f5; border-color: #b7dce0; color: #12536a; }
.button.secondary:hover { background: #d8edf0; }
.button:disabled { opacity: .48; cursor: not-allowed; }
.form-hint { margin: .85rem 0 0; color: #667d8a; font-size: .8rem; }
.records-panel { overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.6rem 1.2rem; border-bottom: 1px solid #e1ebef; }
.panel-heading h2 { margin-bottom: 0; }
.count-pill { border-radius: 999px; padding: .34rem .65rem; background: #eaf4f6; color: #417080; font-size: .73rem; font-weight: 720; white-space: nowrap; }
.record-list { display: grid; }
.record-row, .customer-row, .lead-row { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.6rem; border-bottom: 1px solid #e8eff2; }
.record-list > :last-child { border-bottom: 0; }
.record-icon { display: grid; place-items: center; width: 4rem; height: 3.2rem; flex: none; border-radius: .4rem; background: #d9ecef; color: #3c8392; overflow: hidden; }
.record-icon .boat-art { width: 4rem; height: auto; }
.record-icon img { width: 100%; height: 100%; object-fit: cover; }
.record-main { flex: 1; min-width: 0; }
.record-row h3, .customer-row h3, .lead-row h3 { margin: 0; font-size: .95rem; letter-spacing: -.015em; }
.record-row p, .customer-row p, .lead-row p { margin: .18rem 0 0; color: #657b89; font-size: .8rem; overflow-wrap: anywhere; }
.record-status { color: #256c74; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.empty-state { display: grid; justify-items: center; align-content: center; min-height: 17rem; padding: 2rem; text-align: center; }
.empty-state.compact { min-height: 11rem; }
.empty-symbol { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: .7rem; background: #e6f2f4; color: #478699; font-size: 1.6rem; }
.empty-state h3 { margin: .8rem 0 .25rem; font-size: 1rem; }
.empty-state p { max-width: 22rem; margin: 0; color: #6b8190; font-size: .85rem; }
.customer-row { align-items: start; justify-content: space-between; }
.tag-list { display: flex; flex-wrap: wrap; justify-content: end; gap: .35rem; }
.unlink-vessel { margin-left: .15rem; border: 0; border-radius: 50%; background: transparent; color: #245f70; font-weight: 800; }
.unlink-vessel:hover { background: #c7e3e9; }
.delete-boat-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dbe7ed; }
.delete-boat-row .button { width: auto; }
.export-panel { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: 1.4rem; }
.export-panel p { max-width: 48rem; margin-bottom: 0; }
.export-panel .button { width: auto; flex-shrink: 0; }
.export-settings { margin-bottom: 1.4rem; padding: 1rem 1.25rem; }
.export-settings > summary { cursor: pointer; color: #0b5770; font-weight: 750; }
.export-settings form { max-width: 48rem; margin-top: 1rem; }
.api-client-form { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: end; }
.api-client-form label { flex: 1 1 16rem; }
.api-client-form .button { width: auto; }
.api-client-secret {
  margin: 1rem 0; padding: .9rem 1rem; border: 1px solid #c5dde4; background: #f3fafc;
}
.api-client-secret code { display: inline-block; margin-top: .15rem; word-break: break-all; }
.api-clients-list { margin-top: 1rem; }
.api-client-row .button { width: auto; flex-shrink: 0; }
.muted { color: #8295a0; font-size: .78rem; }
.lead-icon { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: #e5f5f2; color: #137b76; }
.lead-row span:last-child { display: block; margin-top: .3rem; color: #3b6978; font-size: .76rem; font-weight: 650; }
.holding-panel { margin-top: 1.2rem; }
.holding-row { align-items: start; }
.holding-row > div { min-width: 0; flex: 1; }
.holding-filters { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.6rem 1rem; }
.lead-filters { padding-top: .25rem; }
.holding-filter { border: 1px solid #d5e3e8; background: #fff; color: #3d5864; border-radius: .55rem; padding: .4rem .75rem; font-size: .78rem; font-weight: 650; cursor: pointer; }
.holding-filter.is-active { background: #e7f2f4; border-color: #9fc3cd; color: #1f5564; }
.review-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .9rem; }
.review-actions-stack { grid-template-columns: 1fr; }
.review-actions form { display: flex; align-items: end; gap: .6rem; flex-wrap: wrap; }
.review-actions label { flex: 1; min-width: 10rem; }
.review-actions .button { white-space: nowrap; }
.follow-up-row { align-items: start; }
.follow-up-form { display: flex; flex-wrap: wrap; gap: .55rem; align-items: end; margin-top: .65rem; }
.follow-up-form label { flex: 1; min-width: 8rem; margin: 0; }
.follow-up-form .button { white-space: nowrap; }
.vessel-tag { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; border-radius: 999px; padding: .27rem .55rem; background: #e7f2f4; color: #245f70; font-size: .73rem; font-weight: 650; }
.vessel-tag-name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vessel-tag select.change-relationship { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 650; max-width: 6.5rem; }
.login-panel { max-width: 32rem; margin: 3rem auto; }
.status-badge { flex: none; border-radius: 999px; padding: .25rem .55rem; background: #e8f3f5; color: #286475; font-size: .72rem; font-weight: 750; text-transform: capitalize; }
.status-badge.review { background: #fff1d6; color: #8b5b0a; }
.status-badge.spam { background: #fbe9e7; color: #97433c; }
.status-badge.follow-open { background: #fff1d6; color: #8b5b0a; }
.status-badge.follow-waiting { background: #e8eefc; color: #3b4f8a; }
.status-badge.follow-contacted { background: #e7f2f4; color: #286475; }
.status-badge.follow-done { background: #e8f0ea; color: #2f6a45; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.website-frame { overflow: hidden; border: 1px solid #193b50; border-radius: .85rem; background: #082439; box-shadow: 0 24px 60px rgba(10, 40, 60, .12); }
.website-bar { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; color: #9ac0cb; font-size: .65rem; font-weight: 750; letter-spacing: .1em; }
.window-dots { color: #75bac5; letter-spacing: .2em; }
.website-content { min-height: 28rem; padding: 0 clamp(1.2rem, 4vw, 3.5rem) 3rem; background: #f9fcfc; }
.broker-header { display: flex; justify-content: space-between; align-items: center; min-height: 5.5rem; border-bottom: 1px solid #dce8e9; color: #3f6471; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.broker-brand { color: #0b384e; font-size: 1.1rem; letter-spacing: -.05em; }
.broker-brand span { display: block; color: #5d8993; font-size: .48rem; letter-spacing: .25em; }
.broker-intro { padding: 2.7rem 0 1.8rem; }
.broker-intro h2 { margin: .35rem 0 .3rem; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.055em; }
.broker-intro p { margin: 0; color: #607c88; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.1rem; }
.listing-card { overflow: hidden; border: 1px solid #d8e6e9; border-radius: .65rem; background: #fff; }
.listing-art { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; min-width: 0; overflow: hidden; background: linear-gradient(145deg, #d7eff0, #9bcad3); color: #276c80; }
.listing-art img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.boat-art { width: min(82%, 320px); }
.listing-body { padding: 1.1rem 1.2rem 1.25rem; }
.listing-year { color: #668491; font-size: .65rem; font-weight: 750; letter-spacing: .12em; }
.listing-body h3 { margin: .35rem 0 .3rem; font-size: 1.25rem; letter-spacing: -.035em; }
.listing-body > strong { display: block; margin-bottom: .75rem; color: #0a5872; font-size: 1.05rem; }
details { border-top: 1px solid #e1ebee; padding-top: .7rem; }
summary { color: #0b5770; font-size: .82rem; font-weight: 750; cursor: pointer; }
.lead-form { padding-top: 1rem; gap: .75rem; }
.lead-form label { font-size: .74rem; }
.lead-form input { min-height: 2.5rem; font-size: .85rem; }
.lead-form .button { width: 100%; }
.website-empty { min-height: 17rem; border: 1px dashed #bed9de; border-radius: .65rem; }
.website-empty .button { margin-top: 1rem; }
.load-error { padding: 2rem; background: #fff; border-radius: .8rem; }
.inventory-detail { margin-top: 1.25rem; }
.inventory-detail:empty { display: none; }
.inventory-management { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.2rem; align-items: start; }
.inventory-specs { padding: .75rem 0; }
.inventory-specs summary { font-size: .9rem; }
.inventory-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding-top: 1rem; }
.inventory-fields label:has(textarea) { grid-column: 1 / -1; }
.checkbox-label { display: flex; align-items: center; gap: .6rem; align-self: end; min-height: 2.85rem; }
.checkbox-label input { width: auto; min-height: 0; }
.inventory-gallery { display: grid; gap: .7rem; margin-bottom: 1rem; }
.gallery-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: .5rem; border: 1px solid #dce7eb; border-radius: .5rem; }
.gallery-card img { width: 6rem; height: 4.5rem; object-fit: contain; background: #eef5f7; border-radius: .3rem; }
.gallery-card p { margin: .2rem 0; color: #607786; overflow-wrap: anywhere; font-size: .78rem; }
.image-caption { display: flex; align-items: end; gap: .45rem; margin: .35rem 0; }
.image-caption label { flex: 1; }
.image-caption input { min-height: 2rem; padding: .3rem .45rem; font-size: .78rem; }
.image-caption button { width: auto; border: 0; background: transparent; color: #0b6179; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.item-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.item-actions button, .item-list button { width: auto; border: 0; background: transparent; color: #0b6179; font-size: .76rem; font-weight: 700; padding: .2rem 0; }
.item-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.item-list li { display: flex; justify-content: space-between; align-items: start; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid #e2ecef; font-size: .84rem; overflow-wrap: anywhere; }
.item-list li a, .item-list li span { min-width: 0; }
.item-list button { flex: none; }
form[hidden] { display: none; }

.api-clients-list { display: grid; gap: .65rem; margin-top: 1rem; }
.api-client-secret { margin: 1rem 0; padding: .9rem 1rem; background: #f3f8fa; border: 1px solid #d5e4ea; }
.api-client-secret code { display: inline-block; margin-top: .2rem; word-break: break-all; }
.staff-role-list { display: grid; gap: 1rem; }
.staff-role-form fieldset { border: 1px solid #d5e4ea; padding: 1rem 1.1rem 1.15rem; }
.staff-role-form legend { padding: 0 .35rem; font-weight: 700; }
.staff-role-options, .staff-product-roles { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; margin: .75rem 0 1rem; }
.staff-role-form label.is-disabled { opacity: .55; }
.customer-edit { margin-top: .75rem; width: 100%; }
.customer-edit summary { cursor: pointer; font-size: .84rem; }
.release-form { display: grid; gap: .55rem; margin-top: .75rem; }
.onboard-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.onboard-pill { font-size: .72rem; padding: .2rem .45rem; border: 1px solid #d5e4ea; color: #5a7380; }
.onboard-pill.is-done { border-color: #7aa58a; color: #2f5d3d; }

@media (max-width: 1100px) {
  .flow-rail { display: none; }
  .content-grid, .crm-grid, .lower-grid { grid-template-columns: 1fr; }
  .review-actions { grid-template-columns: 1fr; }
  .holding-filters { padding: 0 1rem 1rem; }
  .follow-up-form { flex-direction: column; align-items: stretch; }
  .inventory-management { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .export-panel { align-items: flex-start; flex-direction: column; }
  .listing-card, .listing-art { min-width: 0; }
  .app-shell { display: block; }
  .sidebar { gap: .9rem; padding: .8rem 1rem; }
  .side-label, .side-note { display: none; }
  .primary-nav { display: flex; overflow-x: auto; padding-bottom: .1rem; }
  .primary-nav a { flex: none; min-height: 2.65rem; padding: .5rem .7rem; font-size: .84rem; }
  .topbar { min-height: 3.1rem; padding: .5rem 1rem; font-size: .62rem; }
  .topbar-tag { display: none; }
  main { padding: 1.4rem 1rem 2.5rem; }
  .metric-row { gap: .6rem; }
  .insights-metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-row > div { display: grid; gap: .25rem; min-height: 5rem; padding: .85rem; }
  .metric-row strong { font-size: 1.6rem; }
  .metric-row span { font-size: .73rem; }
  .record-row, .customer-row, .lead-row { padding: .9rem 1rem; }
  .record-status { display: none; }
  .panel-heading { padding: 1.2rem 1rem; }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
  .inventory-fields { grid-template-columns: 1fr; }
  .gallery-card { grid-template-columns: 1fr; }
  .gallery-card img { width: 100%; height: 9rem; }
  .customer-row { display: grid; }
  .tag-list { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Harbour Mesh Websites — public broker site */
.public-site {
  --site-ink: #072031;
  --site-muted: #5d7583;
  --site-sea: #0a4d68;
  --site-foam: #e8f4f6;
  --site-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --site-sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  margin: 0;
  color: var(--site-ink);
  background:
    radial-gradient(120% 80% at 10% -10%, #d7eef2 0%, transparent 55%),
    linear-gradient(180deg, #f4fafb 0%, #e7f0f3 100%);
  font-family: var(--site-sans);
}
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(10, 56, 78, .12);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 5;
}
.site-brand {
  text-decoration: none; font-family: var(--site-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -.03em; font-weight: 700;
}
.site-brand span {
  display: block; margin-top: .15rem; color: #62818e;
  font-family: var(--site-sans); font-size: .62rem; font-weight: 750; letter-spacing: .16em;
  text-transform: uppercase;
}
.site-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: #355868; font-size: .88rem; font-weight: 650;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: #72dbdf; color: var(--site-ink); }
.site-hero {
  position: relative; min-height: min(88vh, 52rem);
  display: grid; align-items: end;
  overflow: hidden; color: #f4fcfd;
}
.site-hero-media, .site-hero-wash {
  position: absolute; inset: 0; z-index: 0;
}
.site-hero-media {
  background: #0a3044;
  animation: site-hero-rise 1.1s ease-out both;
}
.site-hero-media img, .site-hero-media .boat-art {
  width: 100%; height: 100%; object-fit: cover;
}
.site-hero-media .boat-art { object-fit: contain; padding: 12vh 8vw; color: #9fd4dd; }
.site-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 38, .18) 0%, rgba(4, 24, 38, .78) 72%, rgba(4, 24, 38, .92) 100%);
}
.site-hero-wash {
  background:
    linear-gradient(135deg, #0b3b52 0%, #14607a 48%, #1d8794 100%);
  animation: site-wash 12s ease-in-out infinite alternate;
}
.site-hero-copy {
  position: relative; z-index: 1;
  padding: clamp(3rem, 10vh, 7rem) clamp(1.2rem, 4vw, 3.5rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 42rem;
  animation: site-copy-in .9s ease-out .15s both;
}
.site-kicker {
  margin: 0 0 .55rem; color: #9fd4dd; font-size: .72rem; font-weight: 750; letter-spacing: .16em;
}
.site-hero-copy h1, .site-boat-copy h1, .site-section-head h2, .site-unavailable h1 {
  margin: 0; font-family: var(--site-display); letter-spacing: -.04em; line-height: 1.05; font-weight: 700;
}
.site-hero-copy h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); }
.site-lead { margin: .9rem 0 1.5rem; color: #d7eef2; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 34rem; }
.site-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.site-cta-row .button.secondary {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff;
}
.site-cta-row .button.secondary:hover { background: rgba(255, 255, 255, .2); }
.site-section { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3.5rem); }
.site-section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.site-section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.site-section-head p { margin: .55rem 0 0; color: var(--site-muted); }
.site-listing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.15rem;
}
.site-listing {
  display: grid; text-decoration: none; color: inherit;
  border-bottom: 1px solid #cfe0e6; padding-bottom: 1rem;
  transition: transform .25s ease, opacity .25s ease;
}
.site-listing:hover { transform: translateY(-3px); }
.site-listing-art {
  aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(145deg, #d7eff0, #9bcad3);
  display: grid; place-items: center; color: #276c80; margin-bottom: .9rem;
}
.site-listing-art img { width: 100%; height: 100%; object-fit: contain; }
.site-listing-body span { color: #668491; font-size: .68rem; font-weight: 750; letter-spacing: .12em; }
.site-listing-body h3 { margin: .35rem 0 .2rem; font-size: 1.25rem; letter-spacing: -.03em; }
.site-listing-body p { margin: 0 0 .55rem; color: var(--site-muted); font-size: .9rem; }
.site-listing-body strong { color: var(--site-sea); font-size: 1.05rem; }
.site-empty, .site-unavailable {
  border: 1px dashed #bed9de; padding: 2.5rem 1.5rem; text-align: center; color: var(--site-muted);
}
.site-unavailable { max-width: 32rem; margin: 4rem auto; background: #fff; border-style: solid; }
.site-enquire { background: rgba(255, 255, 255, .55); border-top: 1px solid #d5e5ea; }
.site-enquire-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; max-width: 36rem; }
.site-enquire-list a { color: var(--site-sea); font-weight: 650; text-decoration: none; }
.site-enquire-list a:hover { text-decoration: underline; }
.site-footer {
  margin-top: auto; padding: 1.6rem clamp(1.2rem, 4vw, 3.5rem) 2.2rem;
  border-top: 1px solid #d5e5ea; color: #6a8290; font-size: .84rem;
}
.site-footer p { margin: .25rem 0; max-width: 42rem; }
.site-boat { padding: 1.5rem clamp(1.2rem, 4vw, 3.5rem) 0; }
.site-back { display: inline-block; margin-bottom: 1.4rem; color: #2e6575; font-weight: 650; text-decoration: none; }
.site-boat-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.8rem; align-items: start;
  margin-bottom: 1rem;
}
.site-boat-media {
  min-height: 18rem; background: linear-gradient(145deg, #d7eff0, #9bcad3);
  display: grid; place-items: center; overflow: hidden; color: #276c80;
  animation: site-copy-in .7s ease-out both;
}
.site-boat-media img { width: 100%; height: 100%; max-height: 28rem; object-fit: contain; }
.site-boat-copy h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.site-meta { color: var(--site-muted); margin: .55rem 0; }
.site-price { color: var(--site-sea); font-size: 1.45rem; font-weight: 750; margin: .7rem 0 1rem; }
.site-description { color: #314f5d; line-height: 1.65; max-width: 40rem; }
.site-lead-form { max-width: 34rem; display: grid; gap: .9rem; }
.site-lead-form .button { width: fit-content; }
#site-lead-status.is-error { color: #8d342d; }
@keyframes site-hero-rise {
  from { transform: scale(1.05); opacity: .55; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes site-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes site-wash {
  from { filter: saturate(1); }
  to { filter: saturate(1.15) brightness(1.04); }
}
.site-logo { display: block; max-height: 2.6rem; width: auto; max-width: 12rem; object-fit: contain; }
.site-brand:has(.site-logo) span { display: none; }
.site-filter {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: .8rem; margin: 0 0 1.5rem; align-items: end;
}
.site-filter label { font-size: .78rem; font-weight: 700; color: #355868; }
.site-prose { max-width: 42rem; color: #314f5d; line-height: 1.7; font-size: 1.02rem; }
.site-contact-grid {
  display: grid; gap: 1rem; max-width: 36rem; margin-bottom: 1.5rem;
}
.site-contact-grid p { margin: 0; }
.site-contact-grid span {
  display: block; color: #668491; font-size: .68rem; font-weight: 750; letter-spacing: .12em;
  margin-bottom: .25rem; text-transform: uppercase;
}
.site-contact-grid a { color: var(--site-sea, #0a4d68); font-weight: 650; text-decoration: none; }
.site-boat-gallery { display: grid; gap: .75rem; }
.site-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.site-thumb {
  width: 4.5rem; height: 3.2rem; padding: 0; border: 2px solid transparent;
  background: #d7eff0; overflow: hidden; cursor: pointer;
}
.site-thumb.is-active, .site-thumb:hover { border-color: var(--site-accent, #72dbdf); }
.site-thumb img, .site-thumb .boat-art { width: 100%; height: 100%; object-fit: cover; }
.site-specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem;
  margin: 1.2rem 0; padding: 0;
}
.site-specs div { border-bottom: 1px solid #d5e5ea; padding-bottom: .45rem; }
.site-specs dt {
  margin: 0; color: #668491; font-size: .68rem; font-weight: 750; letter-spacing: .1em;
  text-transform: uppercase;
}
.site-specs dd { margin: .2rem 0 0; font-weight: 650; }
.site-videos { margin-top: 1.2rem; }
.site-videos h2 { margin: 0 0 .55rem; font-size: 1.05rem; }
.site-videos ul { margin: 0; padding-left: 1.1rem; }
.site-videos a { color: var(--site-sea, #0a4d68); }
.site-tour { margin: 1rem 0; }
.public-site .button.primary { background: var(--site-sea, #0a4d68); }
.public-site .button.primary:hover { filter: brightness(.92); }
.public-site[data-brand-style="modern"] {
  --site-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --site-sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
.public-site[data-brand-style="modern"] .site-hero-copy h1,
.public-site[data-brand-style="modern"] .site-boat-copy h1,
.public-site[data-brand-style="modern"] .site-section-head h2 {
  letter-spacing: -.06em; font-weight: 760;
}
.public-site[data-brand-style="editorial"] {
  --site-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --site-sans: Georgia, "Iowan Old Style", serif;
}
.public-site[data-brand-style="editorial"] .site-top {
  background: rgba(255, 252, 247, .88);
}
.websites-themes { margin-top: 1.2rem; }
.theme-market-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: .85rem; margin-top: .85rem;
}
.theme-card {
  display: grid; gap: .35rem; padding: .85rem; border: 1px solid #d5e4ea; border-radius: .65rem;
  cursor: pointer; background: #fbfefe;
}
.theme-card input { position: absolute; opacity: 0; pointer-events: none; }
.theme-card.is-selected, .theme-card:has(input:checked) {
  border-color: #0a4d68; box-shadow: inset 0 0 0 1px #0a4d68;
}
.theme-card strong { font-size: .92rem; }
.theme-card span { color: #607786; font-size: .78rem; line-height: 1.35; }
.theme-swatch {
  display: block; height: 3.2rem; border-radius: .4rem;
  background:
    linear-gradient(135deg, var(--swatch-a, #0a4d68) 0 55%, var(--swatch-b, #72dbdf) 55% 100%);
}
.theme-swatch-night {
  background: linear-gradient(160deg, #07151f 0%, var(--swatch-a, #0b1f2d) 45%, var(--swatch-b, #5ee0e6) 100%);
}
.theme-swatch-light {
  background: linear-gradient(135deg, #e8f7f8 0%, var(--swatch-a, #117a8c) 48%, var(--swatch-b, #3ec6c9) 100%);
}
.theme-swatch-editorial {
  background: linear-gradient(135deg, #f7f1e8 0%, var(--swatch-a, #1f3d4a) 50%, var(--swatch-b, #c4a574) 100%);
}
.theme-swatch-sharp {
  background: linear-gradient(90deg, var(--swatch-a, #16384a), var(--swatch-b, #00a3a8));
}
.website-logo-preview {
  margin: .4rem 0 .8rem; padding: .7rem; border: 1px solid #d5e4ea; background: #f7fbfc;
}
.website-logo-preview img { display: block; max-height: 3rem; width: auto; max-width: 100%; }
.dns-steps { margin: .7rem 0; padding-left: 1.2rem; color: #355868; font-size: .86rem; }
.dns-records { display: grid; gap: .65rem; margin: .8rem 0 1rem; }
.dns-records code { font-size: .78rem; }
.public-site[data-theme="night-jetty"] .site-hero-wash {
  background: linear-gradient(145deg, #040d14, #0b1f2d 48%, #12384a);
}
.public-site[data-theme="coastal-light"] {
  background:
    radial-gradient(120% 80% at 10% -10%, #dff4f6 0%, transparent 55%),
    linear-gradient(180deg, #f7fcfd 0%, #eef8f9 100%);
}
.public-site[data-theme="solent-sharp"] .site-listing-body strong,
.public-site[data-theme="solent-sharp"] .site-price { letter-spacing: -.03em; }
.public-site[data-theme="editorial-marina"] .site-top {
  background: rgba(255, 252, 247, .9);
}
@media (max-width: 860px) {
  .site-boat-layout { grid-template-columns: 1fr; }
  .site-top {
    flex-direction: column; align-items: flex-start; gap: .75rem;
    padding: .85rem 1rem; position: sticky;
  }
  .site-nav { width: 100%; gap: .75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .site-nav a { min-height: 2.5rem; display: inline-flex; align-items: center; flex: none; }
  .site-hero { min-height: min(78vh, 40rem); }
  .site-hero-copy { padding: 2.2rem 1rem 1.8rem; }
  .site-hero-copy h1 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .site-cta-row { width: 100%; }
  .site-cta-row .button { min-height: 2.85rem; flex: 1 1 auto; }
  .site-section { padding: 2rem 1rem; }
  .site-filter { grid-template-columns: 1fr; }
  .site-filter input, .site-filter select { min-height: 2.75rem; font-size: 1rem; }
  .site-specs { grid-template-columns: 1fr; }
  .site-thumbs { gap: .4rem; }
  .site-thumb { width: 4.2rem; height: 3rem; min-width: 4.2rem; }
  .site-boat { padding: 1.1rem 1rem 0; }
  .site-boat-media { min-height: 14rem; }
  .site-boat-media img { max-height: 18rem; }
  .site-lead-form .button, .site-contact-form .button { width: 100%; min-height: 2.9rem; }
  .site-footer { padding: 1.4rem 1rem 2rem; }
  .theme-market-grid { grid-template-columns: 1fr 1fr; }
  .websites-config .content-grid, .websites-config .lower-grid { grid-template-columns: 1fr; }
  .websites-config .field-row { grid-template-columns: 1fr; }
  .dns-records { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .theme-market-grid { grid-template-columns: 1fr; }
  .site-brand { max-width: 100%; }
  .site-logo { max-width: 9.5rem; }
  .site-listing-grid { grid-template-columns: 1fr; }
  .public-site { overflow-x: hidden; }
}
