/* YACHTLIST — Direction E ("Atelier"). Quiet, white, image-led; names in capitals. */

@font-face { font-family: "Jost"; src: url("/assets/jost-cf30ff04.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/cormorant-garamond-500-c7a7554e.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/cormorant-garamond-500-italic-d3604db8.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0D1B2A;
  --slate: #3D4955;
  --body: #2A3440;
  --muted: #5B6672;
  --faint: #9AA3AD;
  --line: #E7E9EC;
  --line-2: #D9DDE1;
  --mist: #F4F5F7;
  --mist-2: #F7F8F9;
  --sea: #E3E8EC;
  --white: #FFFFFF;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.cap { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.cap-sm { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 500; }
.italic { font-style: italic; }
.muted { color: var(--muted); }
.slate { color: var(--slate); }
.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; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.02; }
.display { font-weight: 500; letter-spacing: .06em; line-height: 1; font-size: clamp(40px, 6vw, 84px); }
.lede { font-family: var(--serif); font-size: 28px; line-height: 1.3; }
.prose p { font-size: 16px; line-height: 1.75; color: var(--slate); }
.prose p + p { margin-top: 16px; }
.stack { display: flex; flex-direction: column; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section { padding-top: 104px; }
.section-sm { padding-top: 64px; }
.band { background: var(--mist); }

/* buttons ---------------------------------------------------------------- */
.btn, .btn2 { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 0; white-space: nowrap; }
.btn { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.btn:hover { color: var(--white); background: #1B2C3E; }
.btn2 { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.btn2:hover { color: var(--ink); background: var(--mist); }
.btn-lg { height: 52px; }
.btn-block { display: flex; width: 100%; }
.link-cap { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* header & footer ----------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .bar { min-height: 80px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.logo { font-size: 18px; font-weight: 600; letter-spacing: .32em; text-decoration: none; color: var(--ink); }
.nav { display: flex; gap: 28px; font-size: 14px; letter-spacing: .04em; flex-wrap: wrap; }
.nav a, .nav-end a:not(.btn2) { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-end { margin-left: auto; display: flex; gap: 24px; align-items: center; font-size: 14px; }
.nav-end .btn2 { height: 44px; padding: 0 20px; }
.header-search { flex: 1 1 360px; max-width: 640px; display: flex; align-items: center; gap: 10px; height: 48px; border: 1px solid var(--ink); padding: 0 14px; }
.header-search input { border: 0; outline: none; font-size: 15px; flex: 1; min-width: 0; background: transparent; }
.site-footer { border-top: 1px solid var(--line); margin-top: 112px; }
.site-footer .cols { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; }
.site-footer h2, .site-footer h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer ul a { text-decoration: none; }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.site-footer .legal a { color: var(--muted); }
.test-banner { background: var(--ink); color: var(--white); font-size: 12px; letter-spacing: .06em; text-align: center; padding: 8px 16px; }

/* breadcrumbs ---------------------------------------------------------------- */
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* photo placeholders & media -------------------------------------------------- */
.ph { position: relative; display: block; overflow: hidden; background: var(--sea); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-16x10 { aspect-ratio: 16 / 10; }
.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-21x9 { aspect-ratio: 21 / 9; }
.ph-4x5 { aspect-ratio: 4 / 5; }
.ph-1x1 { aspect-ratio: 1 / 1; }
.ph-empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }

/* yacht card ---------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 48px 28px; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card:hover .ph img { transform: scale(1.02); }
.card .ph img { transition: transform .5s ease; }
.card .tag { position: absolute; left: 12px; top: 12px; background: var(--white); padding: 5px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.card .count { position: absolute; right: 12px; bottom: 12px; background: var(--white); padding: 4px 8px; font-size: 12px; }
.card .brand { color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.card .name { font-size: 21px; font-weight: 500; letter-spacing: .02em; line-height: 1.2; }
.card .model { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--slate); line-height: 1.2; }
.card .facts { display: flex; gap: 16px; font-size: 14px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 12px; flex-wrap: wrap; }
.card .price-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; flex-wrap: wrap; }
.card .price-row strong { font-weight: 600; }
.card .price-row span { color: var(--muted); }
.card .aud { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.cards.list { grid-template-columns: 1fr; gap: 28px; }
.cards.list .card { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 28px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.cards.list .card .facts { border-top: 0; padding-top: 4px; }

/* pills, chips, filters ------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; gap: 10px; }
.pill small { color: var(--muted); font-size: 12px; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--white); font-size: 13px; color: var(--ink); cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked), .chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: #F2F4F6; font-size: 13px; color: var(--ink); text-decoration: none; }
.act:hover { background: var(--line); color: var(--ink); }
.act span { color: var(--muted); }

.search-head { padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.search-head h1 small { font-family: var(--sans); font-size: 18px; color: var(--muted); }
.search-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select { height: 44px; border: 1px solid var(--line-2); font-size: 14px; padding: 0 10px; background: var(--white); color: var(--ink); }
.seg { display: flex; border: 1px solid var(--line-2); }
.seg a { height: 42px; display: inline-flex; align-items: center; padding: 0 14px; font-size: 13px; text-decoration: none; }
.seg a[aria-current="true"] { background: var(--ink); color: var(--white); }

.search-body { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.filters { flex: 1 1 300px; max-width: 320px; display: flex; flex-direction: column; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; }
.filters-head .cap { font-weight: 600; }
details.f { border-top: 1px solid var(--line); }
details.f > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; gap: 12px; }
details.f > summary::-webkit-details-marker { display: none; }
details.f > summary::after { content: "+"; font-size: 18px; letter-spacing: 0; color: var(--muted); font-weight: 400; }
details.f[open] > summary::after { content: "−"; }
details.f > summary span { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; margin-left: auto; text-align: right; }
.fb { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.fb h4, .fb .fh { margin: 6px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ck { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); min-height: 30px; cursor: pointer; }
.ck input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; flex: none; }
.ck small { margin-left: auto; font-size: 12px; color: var(--muted); }
.ck.zero { color: var(--faint); }
.mm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mm.one { grid-template-columns: 1fr; }
.mm label { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line-2); padding: 6px 10px; }
.mm label:focus-within { border-color: var(--ink); }
.mm label span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mm input, .mm select { border: 0; padding: 0; font-size: 14px; color: var(--ink); background: transparent; outline: none; min-width: 0; width: 100%; }
.mm input::placeholder { color: var(--faint); }
.more-link { font-size: 13px; background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; cursor: pointer; color: var(--ink); }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 36px; }
.hist div { flex: 1; background: var(--line-2); min-height: 1px; }
.hist div.in { background: var(--ink); }
.filters-foot { border-top: 1px solid var(--line); padding-top: 20px; }

.results { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.results[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
.empty { border: 1px solid var(--line); padding: 48px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.pager { display: flex; justify-content: center; gap: 6px; padding-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); text-decoration: none; }
.pager a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager .gap { border: 0; }
.pager .btn2 { width: auto; height: 44px; }
.seo-copy { border-top: 1px solid var(--line); padding-top: 40px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }

/* listing page ---------------------------------------------------------------- */
.listing-head { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.listing-actions { display: flex; gap: 20px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.listing-actions a, .listing-actions button { text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; font-size: inherit; }
.price-block { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.price-block .amount { font-family: var(--serif); font-size: 52px; line-height: 1; }
.price-block small { font-size: 14px; color: var(--muted); }
.gallery { display: flex; flex-direction: column; gap: 6px; }
/* Full width, but never a thin strip on wide screens: at most about 2:1, and
   no taller than most of the window. The whole photo opens in the lightbox. */
.gallery-main { position: relative; height: min(56.25vw, 78vh); min-height: 320px; width: 100%; background: var(--sea); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 12, 20, .96); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 12, 20, .96); }
.lightbox img { position: absolute; inset: 56px 88px; width: calc(100% - 176px); height: calc(100% - 112px); object-fit: contain; }
.lightbox-count { position: absolute; left: 24px; top: 18px; font-size: 11px; letter-spacing: .16em; }
.lightbox .gallery-nav { color: var(--ink); }
.lightbox-close { position: absolute; right: 16px; top: 8px; width: 44px; height: 44px; border: 0; background: none; color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.gallery-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; background: var(--white); font-size: 22px; cursor: pointer; }
.gallery-nav.prev { left: 24px; }
.gallery-nav.next { right: 24px; }
.gallery-meta { position: absolute; right: var(--gutter); bottom: 28px; display: flex; gap: 6px; }
.gallery-meta span, .gallery-meta a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: var(--white); padding: 12px 16px; text-decoration: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 45%), 1fr)); gap: 6px; }
.thumbs button { padding: 0; border: 0; cursor: pointer; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sea); position: relative; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--ink); }
.highlights { border-bottom: 1px solid var(--line); }
.highlights .grid { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 24px; }
.highlights .k { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.highlights .v { font-family: var(--serif); font-size: 34px; line-height: 1; }
.highlights .v.long { font-size: 22px; line-height: 1.25; }
.listing-body { padding-top: 64px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-start; }
.listing-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 72px; }
.listing-aside { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
.designers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; }
.designers .serif { font-size: 26px; line-height: 1.15; }
details.s { border-top: 1px solid var(--ink); }
details.s > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 60px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
details.s > summary::-webkit-details-marker { display: none; }
details.s > summary::after { content: "+"; font-size: 20px; letter-spacing: 0; }
details.s[open] > summary::after { content: "−"; }
.spec-rows { margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 48px; }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; }
.src { display: inline-block; margin-left: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 1px 5px; vertical-align: 2px; }
.src.library { color: var(--ink); border-color: var(--ink); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px 32px; }
.features span { font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.map { aspect-ratio: 21 / 8; background: #E9EEF2; position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.enquire { border: 1px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--sea); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; flex: none; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld textarea, .fld select { border: 1px solid var(--line-2); padding: 12px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--white); border-radius: 0; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--ink); outline: none; }
.notice { background: var(--mist); padding: 16px 20px; font-size: 14px; line-height: 1.6; }
.notice-alert { background: #FBEDEA; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aside-box { background: var(--mist); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.aside-box a { font-size: 14px; }

/* compare ---------------------------------------------------------------- */
.compare { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare th[scope="row"] { font-weight: 400; color: var(--muted); width: 220px; padding-left: 0; }
.compare thead th { border-bottom: 0; font-weight: 400; }
.compare .grp td { padding-top: 36px; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding-left: 0; }
.compare tr.diff { background: var(--mist-2); }
.compare.same-hidden tr.same { display: none; }

/* home ---------------------------------------------------------------- */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; background: var(--sea); overflow: hidden; color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,.62), rgba(13,27,42,0) 55%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.hero a { color: var(--white); }
.smart { background: var(--white); color: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; max-width: 980px; margin-top: 24px; }
.smart-row { display: flex; gap: 10px; flex-wrap: wrap; }
.smart-row label { flex: 1 1 420px; display: flex; align-items: center; gap: 10px; height: 56px; border: 1px solid var(--ink); padding: 0 16px; }
.smart-row input { border: 0; outline: none; font-size: 17px; flex: 1; min-width: 0; }
.smart-row .btn { height: 56px; }
.tok { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: #F2F4F6; font-size: 13px; }
.tok b { font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mp { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--white); font-size: 13px; cursor: pointer; }
.mp.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.tile .t { font-size: 17px; font-weight: 500; letter-spacing: .04em; }
.tile .s { font-size: 13px; color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); border-top: 1px solid var(--line); }
.brand-grid a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; margin-right: 28px; }
.brand-grid small { color: var(--muted); font-size: 13px; }
/* Builders A–Z: four columns, so even the longest builder names fit on one line. */
.brand-grid.az { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-grid.az a { gap: 12px; }
@media (max-width: 1240px) { .brand-grid.az { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 940px) { .brand-grid.az { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .brand-grid.az { grid-template-columns: 1fr; } }

/* general content pages ----------------------------------------------------------- */
/* Full content width, so the title lines up with the page below; only the text measure is limited. */
.page-head { padding-top: 72px; display: flex; flex-direction: column; gap: 16px; }
.page-head p { max-width: 880px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.steps > div { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 20px; }
.plan { border: 1px solid var(--line-2); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: var(--ink); }
.plan ul { margin: 0; padding: 18px 0 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; border-top: 1px solid var(--line); }
details.faq { border-top: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 68px; font-size: 18px; font-weight: 500; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--slate); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: 12px 0; }
.table td { border-top: 1px solid var(--line-2); padding: 16px 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
fieldset.fs { border: 0; border-top: 1px solid var(--ink); margin: 0; padding: 20px 0 0; display: flex; flex-direction: column; gap: 16px; }
fieldset.fs legend { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding: 0 12px 0 0; }
.fld.pre input, .fld.pre select { background: var(--mist); }
.fld.req input, .fld.req select { border-color: var(--ink); }
.fld small { font-size: 12px; color: var(--muted); letter-spacing: 0; text-transform: none; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { height: 56px; display: flex; align-items: center; text-decoration: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 24px 0; display: flex; flex-direction: column; gap: 4px; }
.stats .serif { font-size: 36px; line-height: 1; }
.stats .serif.text { font-size: 22px; line-height: 1.25; padding-right: 16px; }
.side-nav a { display: block; padding: 10px 0 10px 14px; border-left: 1px solid var(--line-2); text-decoration: none; font-size: 14px; color: var(--muted); }
.side-nav a[aria-current="page"] { border-left: 2px solid var(--ink); color: var(--ink); }
.doc h2 { margin: 28px 0 0; font-size: 20px; font-weight: 500; }
.doc p { font-size: 16px; line-height: 1.75; color: var(--body); }

/* phones ---------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .site-header .bar { gap: 14px 24px; }
  .nav { order: 3; width: 100%; gap: 20px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav-end { gap: 16px; }
  .header-search { order: 3; flex-basis: 100%; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .filters { max-width: none; flex-basis: 100%; }
  .h1 { font-size: 36px; }
  .h2 { font-size: 34px; }
  .section { padding-top: 72px; }
  .price-block { align-items: flex-start; }
  .price-block .amount { font-size: 40px; }
  .gallery-main { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .lightbox img { inset: 56px 0; width: 100%; }
  .gallery-nav { width: 44px; height: 44px; margin-top: -22px; }
  .gallery-nav.prev { left: 12px; }
  .gallery-nav.next { right: 12px; }
  .gallery-meta { right: 12px; bottom: 12px; }
  .listing-aside { position: static; max-width: none; }
  .cards.list .card { grid-template-columns: 1fr; }
  .smart { padding: 18px; }
}

/* live search states */
turbo-frame[aria-busy="true"] .results { opacity: .55; transition: opacity .15s; }
.compare.plain tr.diff { background: none; }

/* phones: filters open from a button so results come first */
.filters-button { display: none; }
@media (max-width: 900px) {
  .filters-button { display: inline-flex; height: 44px; }
  .search-body .filters { display: none; }
  .search-body.show-filters .filters { display: flex; }
  .search-body.show-filters .results { display: none; }
}

/* map view */
.results-map { width: 100%; height: min(72vh, 760px); background: #E9EEF2; }
.map-pin { background: var(--ink); color: var(--white); font: 500 12px/1 var(--sans); padding: 6px 8px; white-space: nowrap; cursor: pointer; box-shadow: 0 2px 8px rgba(13,27,42,.25); }
.maplibregl-popup-content { border-radius: 0; padding: 14px 16px; font-family: var(--sans); }
.maplibregl-popup-content a { font-size: 16px; font-weight: 500; letter-spacing: .06em; text-decoration: none; display: block; margin-bottom: 4px; }
.smart-box { background: var(--white); box-shadow: 0 16px 48px rgba(13,27,42,.14); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .smart-box { padding: 16px; } }
.sell-start { gap: 12px; padding-top: 8px; }

/* phones: a compact header */
@media (max-width: 900px) {
  .test-banner { font-size: 11px; padding: 6px 12px; line-height: 1.4; }
  .site-header .bar { min-height: 0; gap: 10px 16px; padding-top: 14px; padding-bottom: 10px; }
  .logo { font-size: 16px; letter-spacing: .28em; }
  .nav-end { gap: 16px; font-size: 13px; }
  .nav-end .btn2 { display: none; }
  .nav { gap: 18px; font-size: 13px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .listing-head .serif.italic { font-size: 21px !important; line-height: 1.3; }
  .display { font-size: 40px; }
}

/* Model library: builder and model pages, listing checks, data ledger */
.factory { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.note { border-left: 2px solid var(--ink); padding: 4px 0 4px 14px; font-size: 15px; max-width: 720px; }
.options { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.options li { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
a.chip { text-decoration: none; }
.photo-credit { margin: 8px auto 0; font-size: 12px; color: var(--muted); text-align: right; }
.photo-credit a, .model-photos figcaption a { color: inherit; }
.model-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.model-photos figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.model-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.model-photos figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); }
.family { gap: 12px; margin-top: 28px; scroll-margin-top: 24px; }
.model-list { border-top: 1px solid var(--ink); }
.model-row { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)); gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.model-row .name { font-size: 24px; line-height: 1.15; }
.model-row:hover .name, .model-row[aria-current="page"] .name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ledger-wrap { overflow-x: auto; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); }
.ledger thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.ledger .grp td { padding-top: 28px; font-family: var(--serif); font-size: 22px; border-bottom: 1px solid var(--ink); }
.ledger .grp .muted { font-family: inherit; font-size: 14px; }
.ledger details summary { cursor: pointer; }
.questions { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; min-width: 280px; }
.conf { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 1px 6px; }
.conf-high { border-color: var(--ink); }
.cite { font-size: 10px; margin-left: 3px; line-height: 0; }
.cite a { text-decoration: none; color: var(--muted); }
.sources { margin: 0; padding-left: 22px; font-size: 14px; display: grid; gap: 8px; }
@media (max-width: 900px) {
  .model-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .model-row .name { grid-column: 1 / -1; }
}

/* Brokerage profile */
.brokerage-about { padding-top: 48px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.brokerage-about > :only-child { grid-column: 1 / -1; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; font-size: 15px; margin: 0; }
.kv dt { color: var(--slate, #5B6B7B); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; }
@media (max-width: 860px) { .brokerage-about { grid-template-columns: 1fr; gap: 24px; } }
.state-group { padding-top: 40px; }

/* header: search row, saved count ----------------------------------------- */
.header-search-row { display: flex; justify-content: center; padding-bottom: 16px; }
.header-search-row .header-search { flex: 1 1 auto; max-width: 760px; }
.nav-search { display: inline-flex; align-items: center; padding: 4px; }
.nav-saved { display: inline-flex; align-items: center; gap: 6px; }
.nav-saved .badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--white); font-size: 11px; line-height: 18px; text-align: center; }

/* save (heart) ------------------------------------------------------------- */
.card-wrap { position: relative; }
.card-wrap > .save { position: absolute; top: 10px; right: 10px; z-index: 2; }
.save { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; padding: 0; }
.save:hover { background: var(--white); }
.save[aria-pressed="true"] svg path { fill: #C8323C; stroke: #C8323C; }
.save-labelled { width: auto; height: auto; border-radius: 0; background: none; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.listing-actions { align-items: center; margin-top: 14px; }
.listing-actions .act { font-size: 11px; }

/* listing results pager ----------------------------------------------------- */
.result-nav { display: flex; align-items: center; border: 1px solid var(--line-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.result-nav a { padding: 9px 14px; text-decoration: none; cursor: pointer; }
.result-nav a + a { border-left: 1px solid var(--line-2); }
.result-nav a[aria-disabled="true"] { color: var(--faint); pointer-events: none; }

/* guides ------------------------------------------------------------------- */
.guide-card img, .guide-head + .guide-hero img { width: 100%; height: 100%; object-fit: cover; }
.guide-head { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; max-width: 1000px; }
.guide-head h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; }
.guide-head .dek { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--slate); }
.guide-head .byline { font-size: 14px; }
.guide-hero { margin: 0; }
.guide-hero img { width: 100%; max-height: 78vh; object-fit: cover; }
.guide-hero figcaption { font-size: 12px; color: var(--muted); padding-top: 8px; text-align: right; }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 72px; padding-top: 56px; justify-content: center; }
.guide-toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.guide-toc a { text-decoration: none; color: var(--muted); line-height: 1.35; }
.guide-toc a:hover { color: var(--ink); }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; margin: 48px 0 16px; scroll-margin-top: 24px; }
.prose h3 { font-size: 19px; font-weight: 500; margin: 32px 0 10px; }
.prose h4 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; color: var(--slate); font-size: 16px; line-height: 1.7; }
.prose li + li { margin-top: 6px; }
.prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p, .prose figure + p, .prose .table-scroll + p { margin-top: 16px; }
.prose figure { margin: 36px 0; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; line-height: 1.5; }
.prose blockquote { margin: 36px 0; padding-left: 24px; border-left: 2px solid var(--ink); }
.prose blockquote p { font-family: var(--serif); font-size: 28px; line-height: 1.3; color: var(--ink); }
.prose .callout { background: var(--mist); padding: 18px 22px; margin: 24px 0; }
.prose a { color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 24px 0; }
.prose .table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose .table th, .prose .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .table th { font-weight: 500; border-bottom-color: var(--ink); }
.guide-sources { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.guide-sources h2 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; }
.guide-sources ul { font-size: 14px; }
.guide-sources p { font-size: 13px; }

/* help --------------------------------------------------------------------- */
.help-head { padding: 72px 0 64px; }
.help-search { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 20px; background: var(--white); border: 1px solid var(--ink); }
.help-search input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 18px; background: transparent; }
.help-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding-top: 48px; }
.help-topics a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); text-decoration: none; }
.help-topics a:hover { border-color: var(--ink); color: var(--ink); }
.help-topics .t { font-size: 17px; font-weight: 500; }
.help-topics .s { font-size: 14px; color: var(--muted); line-height: 1.5; }
.help-body { max-width: 920px; }
.help-topic { padding-top: 48px; scroll-margin-top: 24px; }
.help-topic .h2 { font-size: 36px; margin-bottom: 16px; }
details.faq .prose { padding-bottom: 24px; }
details.faq .prose p { font-size: 15px; }

/* legal & about ------------------------------------------------------------ */
.legal-layout { padding-top: 64px; display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; align-items: start; }
.legal-layout .side-nav { position: sticky; top: 24px; }
.doc-body h2 { font-family: var(--sans); font-size: 20px; font-weight: 500; margin: 36px 0 10px; color: var(--ink); }
.doc-body p, .doc-body li { color: var(--body); }
.empty-state { padding: 48px; background: var(--mist); }

@media (max-width: 900px) {
  .guide-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-toc { position: static; display: none; }
  .legal-layout .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .result-nav { width: 100%; }
  .result-nav a { flex: 1; text-align: center; padding: 9px 6px; }
  .header-search-row { padding-bottom: 12px; }
}

/* live filters: brands and brokers ------------------------------------------- */
.brands-tools, .brokers-tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding-top: 16px; }
.filter-box { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border: 1px solid var(--ink); flex: 1 1 320px; max-width: 520px; background: var(--white); }
.filter-box input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 17px; background: transparent; }
.letters { display: flex; flex-wrap: wrap; gap: 2px; font-size: 14px; }
.letters a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; text-decoration: none; color: var(--muted); }
.letters a:hover { color: var(--ink); background: var(--mist); }

/* brokers ------------------------------------------------------------------ */
.brokers-map { height: min(520px, 62vh); background: #E9EEF2; }
.map-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(13,27,42,.35); cursor: pointer; padding: 0; }
.state-head { font-size: 34px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 14px; }
.state-head .muted { font-family: var(--sans); font-size: 14px; }
.broker-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.broker-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); text-decoration: none; }
.broker-item:hover { border-color: var(--ink); color: var(--ink); }
.broker-item .mono { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--mist); font-family: var(--serif); font-size: 18px; }
.broker-item .n { font-size: 16px; font-weight: 500; line-height: 1.25; }
.broker-item .s { font-size: 13px; color: var(--muted); }

/* brokerage profile ---------------------------------------------------------- */
.bk-banner { height: clamp(220px, 30vw, 420px); background: var(--ink); overflow: hidden; }
.bk-banner img { width: 100%; height: 100%; object-fit: cover; }
.bk-head { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 8px; }
.bk-id { display: flex; gap: 24px; align-items: center; min-width: 0; }
.bk-mono { flex: none; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); font-family: var(--serif); font-size: 36px; background: var(--white); }
.bk-id h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; }
@media (max-width: 640px) { .bk-mono { width: 64px; height: 64px; font-size: 26px; } }
.crumbs-light .crumbs, .crumbs-light .crumbs a { color: var(--white); }
.loc-tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-tile .ph { position: relative; display: flex; align-items: flex-end; }
.loc-label { position: relative; margin: 18px; background: var(--white); padding: 10px 14px; }
.photo-credits { font-size: 12px; line-height: 1.6; }
.hero-copy { max-width: min(560px, 46%); text-shadow: 0 1px 12px rgba(13,27,42,.35); }
@media (max-width: 900px) { .hero-copy { max-width: none; } }

/* Phones and tablets: text fields at 16px so iOS Safari doesn't zoom in when
   one is tapped, and nothing may widen the page sideways. */
html, body { overflow-x: clip; }
@media (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }
}
.results-anchor { scroll-margin-top: 12px; }

/* One boat, several brokers: the choice of whom to ask, and the card note. */
.broker-pick { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.broker-pick legend { font-weight: 500; font-size: 16px; padding: 0; }
.broker-pick > p { font-size: 13px; margin: 0 0 4px; }
.broker-opt { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); cursor: pointer; }
.broker-opt:has(input:checked) { border-color: var(--ink); background: var(--mist-2); }
.broker-opt input { accent-color: var(--ink); margin: 0; flex: none; }
.broker-opt .avatar { width: 36px; height: 36px; font-size: 12px; }
.broker-opt .broker-name { font-weight: 500; font-size: 14px; }
.broker-opt .broker-meta { font-size: 12px; }
.broker-note { font-size: 12px; margin: 2px 0 0; }
.multi-broker { font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* The private seller's listing form: steps, the form, and the coach. */
.sell-bar { border-bottom: 1px solid var(--line); }
.sell-bar-in { min-height: 56px; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; }
.sell-bar-title { min-width: 0; }
.sell-save { font-size: 13px; }
.sell-bar-links { margin-left: auto; display: flex; gap: 20px; }
.sell-steps { border-bottom: 1px solid var(--line); }
.sell-steps ol { list-style: none; margin: 0 auto; display: flex; overflow-x: auto; scrollbar-width: none; }
.sell-steps li { flex: 1 0 auto; border-bottom: 2px solid transparent; }
.sell-steps li[aria-current="step"] { border-bottom-color: var(--ink); }
.sell-steps a, .sell-steps li > span { display: flex; align-items: center; gap: 10px; min-height: 60px; padding-right: 20px; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sell-steps li[aria-current="step"] a, .sell-steps li.done a { color: var(--ink); }
.sell-steps .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.sell-steps li.done .n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sell-body { padding-top: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.sell-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sell-form { gap: 36px; }
.sell-intro { max-width: 660px; margin: 0; }
.sell-coach { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.sell-nav { border-top: 1px solid var(--line); padding-top: 24px; align-items: center; }
.coach .cap-sm { font-size: 10px; }
.coach-score { display: flex; align-items: baseline; gap: 12px; }
.coach-score .serif { font-size: 56px; line-height: 1; }
.coach-bar { height: 4px; background: var(--line); }
.coach-bar div { height: 4px; background: var(--ink); transition: width .4s; }
.coach-lede { font-size: 14px; margin: 4px 0 0; }
.coach-tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; }
.coach-tips li > * { display: block; }
.coach-tips .link-cap { margin-top: 4px; font-size: 10px; }
.coach-tips small { font-size: 12px; margin-top: 2px; }
.coach-all summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.coach-all ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.coach-all li { display: flex; gap: 8px; color: var(--muted); }
.coach-all li.done { color: var(--ink); }
.coach-all small { margin-left: auto; }
.coach-foot { font-size: 13px; margin: 0; }
.engine-block { display: flex; flex-direction: column; gap: 10px; }
.engine-block + .engine-block { border-top: 1px dashed var(--line-2); padding-top: 16px; }
.sell-chips .chip { height: 40px; font-size: 14px; position: relative; }
.dropzone { border: 1px dashed var(--ink); padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; }
.dropzone.over { background: var(--mist); }
.upload-list { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--slate); width: 100%; max-width: 520px; text-align: left; }
.upload-list .failed { color: #A33A2A; }
.shot-list { background: var(--mist); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.shot-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 16px; font-size: 14px; }
.shot-list li { display: flex; gap: 8px; color: var(--muted); }
.shot-list li.done { color: var(--ink); }
.shot-list p { font-size: 13px; margin: 0; }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 20px 16px; }
.photo-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.photo-tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-n { position: absolute; left: 8px; top: 8px; background: var(--white); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; }
.photo-warn { font-size: 12px; color: #A33A2A; margin: 0; }
.photo-shot { width: 100%; height: 38px; font-size: 13px; }
.photo-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.photo-acts form { margin: 0; }
.photo-acts .act { border: 0; cursor: pointer; font-family: inherit; }
.photo-empty { font-size: 14px; }
.sell-tips ul { margin: 0 0 24px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.pro-options { display: flex; flex-direction: column; gap: 8px; }
.pro-opt { align-items: flex-start; padding: 14px 16px; }
.pro-opt input { margin-top: 4px; }
.pro-opt .broker-meta { font-size: 13px; line-height: 1.5; }
.story textarea { line-height: 1.6; }
.wordcount { font-size: 13px; margin: 6px 0 0; }
.prompts ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; }
.price-guide ul { margin: 0; padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.review-card { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 24px; align-items: center; }
.review-card .ph img, .my-listing .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.needs { margin: 8px 0 0; padding-left: 18px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.my-listings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.my-listing { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.my-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.my-acts form { margin: 0; }
.my-acts .act { border: 0; cursor: pointer; font-family: inherit; height: 48px; }
.status { align-self: flex-start; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; background: var(--mist); }
.status-active { background: var(--ink); color: var(--white); }
.status-pending { background: #E7EEF5; }
.status-changes { background: #FBEDEA; }
.admin-tabs { flex-wrap: wrap; align-self: flex-start; }
.admin-tabs a { padding: 10px 16px; text-decoration: none; font-size: 14px; }
.admin-tabs small { color: inherit; opacity: .7; margin-left: 4px; }
.admin-table td { padding: 12px 12px 12px 0; vertical-align: top; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .sell-coach { position: static; max-width: none; }
  .sell-body { gap: 32px; padding-top: 28px; }
  .review-card, .my-listing { grid-template-columns: 1fr; }
}
.sell-score { font-size: 13px; font-weight: 500; }
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .photo-acts .act { padding: 0 8px; }
  .sell-bar-links { margin-left: 0; }
}

/* The admin area and the performance reports. */
.admin-bar { background: var(--ink); color: var(--white); }
.admin-bar-in { min-height: 52px; display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; font-size: 14px; }
.admin-bar a, .admin-bar .linkish { color: var(--white); text-decoration: none; }
.admin-bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.admin-bar nav a { padding: 14px 0; border-bottom: 2px solid transparent; }
.admin-bar nav a[aria-current="true"] { border-bottom-color: var(--white); }
.admin-bar .badge { display: inline-block; min-width: 20px; padding: 0 6px; background: var(--white); color: var(--ink); border-radius: 10px; font-size: 12px; text-align: center; }
.admin-who { margin-left: auto; display: flex; gap: 8px; align-items: center; opacity: .8; font-size: 13px; }
.admin-who form { margin: 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.admin-page { padding-top: 40px; gap: 28px; }
.admin-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-filters input[type=search] { flex: 1 1 320px; min-width: 0; }
.numbers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.number { background: var(--white); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.number .serif { font-size: 38px; line-height: 1; }
.number .muted { font-size: 13px; }
.daily { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.daily svg { width: 100%; height: 140px; display: block; background: var(--mist-2); }
.daily rect { fill: var(--ink); }
.daily-axis { display: flex; justify-content: space-between; font-size: 12px; }
.report-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px; }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.bars li:has(.bar) { grid-template-columns: minmax(120px, 1fr) minmax(60px, 2fr) auto; }
.bars .bar { height: 8px; background: var(--line); display: block; }
.bars .bar span { display: block; height: 8px; background: var(--ink); }
.stats-table td, .stats-table th { padding: 10px 14px 10px 0; vertical-align: top; }
.stats-table td { border-top: 1px solid var(--line); }
.setting { display: flex; flex-direction: column; gap: 6px; }
.setting p { font-size: 13px; margin: 0; }
.setting code { font-size: 11px; letter-spacing: 0; text-transform: none; }
.fs-box { border-top: 1px solid var(--ink); padding-top: 20px; }
.seller-stats { font-size: 14px; margin: 0; color: var(--slate); }

/* Listing pages: the boat's name, at half the display size */
.display.listing-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: .04em; }

/* A checkbox label with a link in its sentence */
.ck > span a { white-space: nowrap; }

/* Length with a feet / metres switch */
.unit-input { display: flex; align-items: stretch; }
.unit-input input { flex: 1 1 auto; min-width: 0; }
.unit-input .seg { flex: none; margin-left: -1px; }
.unit-input .seg button { min-width: 44px; }

/* Accounts */
.auth { padding-top: 72px; padding-bottom: 72px; display: flex; justify-content: center; }
.auth > .stack { width: 100%; max-width: 440px; gap: 22px; }
.account { padding-top: 48px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.account > nav { flex: 1 1 200px; max-width: 240px; position: sticky; top: 96px; }
.account > .stack { flex: 999 1 640px; min-width: 0; gap: 56px; }
.saved-search { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; flex-wrap: wrap; }
.save-search { display: inline-flex; }
@media (max-width: 760px) { .account > nav { position: static; max-width: none; } }
.seg button { height: 100%; min-height: 42px; padding: 0 14px; font: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; background: var(--white); color: var(--ink); border: 0; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.fld.req .unit-input .seg { border-color: var(--ink); }

/* A broker's enquiries */
.leads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lead { border-top: 1px solid var(--line); padding: 16px 0; }
.lead.handled { opacity: .6; }

/* Search results, list view: photo left, the details buyers compare on the right */
.rows { display: flex; flex-direction: column; }
.row-wrap { position: relative; border-bottom: 1px solid var(--line); }
.row-wrap:first-child { border-top: 1px solid var(--line); }
.card.row-card { display: grid; grid-template-columns: minmax(240px, 400px) minmax(0, 1fr); gap: 28px; padding: 24px 0; align-items: stretch; }
.row-card > .ph { align-self: start; width: 100%; min-width: 0; }
.row-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-right: 52px; }
.row-boat-name { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--slate); }
.row-summary { margin: 0; font-size: 15px; line-height: 1.55; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 24px; margin: 0; }
.row-specs dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.row-specs dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); }
.row-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 16px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.row-price strong { font-size: 22px; font-weight: 600; }
.row-price { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.row-drop { font-size: 13px; color: #9B2C2C; }
.row-meta { font-size: 13px; }
.row-wrap > .save { position: absolute; top: 20px; right: 0; z-index: 2; background: var(--mist, #F1F3F5); }
@media (max-width: 760px) {
  .card.row-card { grid-template-columns: 1fr; gap: 16px; }
  .row-info { padding-right: 0; }
  .row-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-wrap > .save { top: 34px; right: 10px; background: rgba(255,255,255,.92); }
}

/* Home page search box */
.smart-field { display: flex; border: 1px solid var(--ink); flex-wrap: wrap; }
.smart-input { flex: 1 1 400px; display: flex; align-items: center; gap: 14px; padding: 0 20px; min-height: 68px; min-width: 0; }
.smart-input input { border: 0; outline: none; font-size: 20px; flex: 1; min-width: 0; background: transparent; text-overflow: ellipsis; }
.smart-go { height: auto; min-height: 68px; padding: 0 36px; }
.smart-popular { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; color: var(--slate); }
@media (max-width: 600px) {
  .smart-field { flex-direction: column; }
  .smart-input { flex: none; min-height: 56px; padding: 0 14px; gap: 10px; }
  .smart-input input { font-size: 16px; }
  .smart-go { width: 100%; min-height: 52px; padding: 0 16px; justify-content: center; }
  .smart-popular { gap: 6px 14px; font-size: 13px; }
}

/* Choosing a paid listing plan */
.plan-pick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.plan-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); padding: 16px; cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-option input { margin-top: 3px; accent-color: var(--ink); }
.plan-option ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }

/* Brokers and dealers: the call-back form, and its list in admin. */
.dealer-page { padding-top: 72px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.dealer-intro { position: sticky; top: 96px; }
@media (max-width: 940px) { .dealer-page { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; } .dealer-intro { position: static; } }
.dealer-card { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.dealer-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; font-size: 14px; }
.dealer-facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dealer-facts dd { margin: 2px 0 0; }
.dealer-update { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }

/* Alerts and accounts: the alert form, the enquiry form's "Sending as", and
   the prompts that explain what a free account is for. */
.alert-page { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.enq-me { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); font-size: 14px; line-height: 1.5; }
.enq-me strong { font-weight: 500; }
.enq-me span { overflow-wrap: anywhere; }
.join-pitch { background: var(--mist); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.join-pitch ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.8; }
.join-pitch .acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.join-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.join-band ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; list-style: none; margin: 0; padding: 0; }
.join-band li { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.6; }
.join-band li strong { font-weight: 500; font-size: 17px; }
@media (max-width: 900px) { .join-band { grid-template-columns: 1fr; gap: 28px; } .join-band ul { grid-template-columns: 1fr; } }

/* Model pages: the side profile in place of a hero photo, measured along its
   length, and small profiles in model lists sized against each other. */
.profile-plate { padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.profile { margin: 0 auto; width: fit-content; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.profile img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(460px, 62vh); margin: 0 auto; }
.profile .dim { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .02em; }
.dim-line { align-self: stretch; height: 9px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.dim .muted { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-left: 6px; }
.profile-note { margin: 0 auto; max-width: 640px; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); }
.model-cover { aspect-ratio: 16 / 7; }
.model-cover img { width: 100%; height: 100%; object-fit: cover; }
.model-about { padding-top: 40px; }
.model-about p { font-size: 17px; line-height: 1.7; max-width: 820px; margin: 0; }
.model-list.with-minis .model-row { grid-template-columns: 150px minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)); align-items: center; }
.mini { height: 54px; display: flex; align-items: flex-end; }
.mini img { display: block; height: 100%; max-width: 100%; object-fit: contain; object-position: left bottom; }
@media (max-width: 900px) {
  .model-list.with-minis .model-row { grid-template-columns: 1fr 1fr; }
  .model-list.with-minis .mini { grid-column: 1 / -1; width: 150px; height: 48px; }
}
/* Listing pages: the model's side profile in "The model". */
.model-profile { margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.model-profile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 280px; }
.model-profile figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Brokerages that manage their own profile: logo, phone, verified mark */
.bk-logo { flex: none; width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line-2); background: var(--white); padding: 8px; }
.bk-logo-row { display: flex; gap: 20px; align-items: flex-start; }
.avatar-logo { object-fit: contain; background: var(--white); border: 1px solid var(--line-2); border-radius: 0; padding: 4px; }
.verified { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 2px 6px; margin-left: 4px; vertical-align: 2px; font-weight: 400; }
.seller-phone { font-size: 17px; font-weight: 500; text-decoration: none; }
@media (max-width: 640px) { .bk-logo { width: 64px; height: 64px; padding: 4px; } .bk-logo-row { flex-direction: column; } }
