:root {
  --ink: #172026;
  --muted: #68737d;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d9e2e1;
  --sea: #116466;
  --sea-dark: #0b3d43;
  --sun: #f0b429;
  --coral: #d95f43;
  --shadow: 0 18px 48px rgba(15, 35, 40, 0.16);
  --content-width: 1240px;
  --wide-width: 1420px;
  --header-height: 73px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(17, 100, 102, 0.14) 0, rgba(251, 250, 247, 0.74) 410px, var(--paper) 760px),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 226, 225, 0.86);
  background: rgba(251, 250, 247, 0.92);
  box-shadow: 0 8px 28px rgba(15, 35, 40, 0.07);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(var(--content-width), calc(100% - 44px));
  margin: 0 auto;
  padding: 13px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, var(--sea-dark), var(--sea));
  box-shadow: 0 10px 22px rgba(11, 61, 67, 0.2);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-sail {
  position: absolute;
  inset: 8px 10px 9px 11px;
}

.brand-sail::before {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 5px;
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
}

.brand-sail::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 7px;
  width: 0;
  height: 0;
  border-bottom: 22px solid #fff;
  border-right: 16px solid transparent;
}

.brand-wave {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  height: 4px;
  border-radius: 999px;
  background: var(--sun);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  color: var(--sea-dark);
  font-size: 1.15rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 4px;
  font-weight: 800;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sea-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.primary-nav a {
  border-radius: 7px;
  padding: 10px 14px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--sea);
  background: rgba(17, 100, 102, 0.08);
}

.primary-nav a:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.72);
  outline-offset: 2px;
}

.primary-nav .nav-cta {
  margin-left: 4px;
  color: #fff;
  background: var(--sea-dark);
  box-shadow: 0 10px 22px rgba(11, 61, 67, 0.16);
  font-weight: 900;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: var(--sea-dark);
  background: var(--sun);
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

body.is-results-page .hero,
body.is-results-page .reviews,
body.is-results-page .contact {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 500px);
  align-content: center;
  align-items: center;
  gap: clamp(32px, 4.8vw, 64px);
  width: min(var(--content-width), calc(100% - 44px));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: clamp(44px, 6svh, 76px) 0 clamp(78px, 8svh, 104px);
  scroll-margin-top: var(--header-height);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  border-bottom: 1px solid rgba(217, 226, 225, 0.76);
  background:
    linear-gradient(180deg, rgba(17, 100, 102, 0.14) 0, rgba(251, 250, 247, 0.95) 68%, rgba(232, 240, 237, 0.78) 100%),
    var(--paper);
}

.hero-copy {
  max-width: 720px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(2.65rem, 4.9vw, 5.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 1.18rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: #40515a;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.58;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-badges span {
  border: 1px solid rgba(17, 100, 102, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--sea-dark);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 18px rgba(15, 35, 40, 0.06);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  color: #fff;
  background: var(--sea-dark);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(11, 61, 67, 0.22);
}

.trust-note {
  color: var(--sea-dark);
  font-weight: 800;
}

.hero-panel {
  position: relative;
  aspect-ratio: 5 / 4.35;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #dbe9e8;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 61, 67, 0.26), transparent 34%),
    linear-gradient(0deg, rgba(11, 61, 67, 0.36), transparent 42%);
  pointer-events: none;
}

.hero-panel-label {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 0.82rem;
}

.hero-panel-label span,
.hero-panel-label strong {
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(11, 61, 67, 0.8);
  backdrop-filter: blur(8px);
  font-weight: 900;
}

.hero-panel-label strong {
  color: var(--sun);
  background: rgba(11, 61, 67, 0.68);
}

.photo-crop,
.boat-photo {
  background-repeat: no-repeat;
  background-size: 200% 200%;
}

.photo-crop,
.photo-sheet-1 {
  background-image: url("assets/used-boats-grid.png");
}

.photo-sheet-2 {
  background-image: url("assets/used-boats-grid-2.png");
}

.photo-sheet-3 {
  background-image: url("assets/used-boats-grid-3.png");
}

.photo-sheet-4 {
  background-image: url("assets/used-sailboats-grid-1.png");
}

.photo-sheet-5 {
  background-image: url("assets/used-sailboats-grid-2.png");
}

.photo-crop {
  width: 100%;
  height: 100%;
  transform: scale(1.04);
}

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

.crop-a {
  background-position: 0 0;
}

.crop-b {
  background-position: 100% 0;
}

.crop-c {
  background-position: 0 100%;
}

.crop-d {
  background-position: 100% 100%;
}

.deal-strip {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(11, 61, 67, 0.88);
  backdrop-filter: blur(8px);
}

.deal-strip span {
  color: #cce8e6;
  font-weight: 800;
}

.deal-strip strong {
  color: var(--sun);
  font-size: 1.45rem;
}

.scroll-cue {
  position: absolute;
  bottom: clamp(16px, 3svh, 30px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(17, 100, 102, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--sea-dark);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(15, 35, 40, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: #fff;
  background: var(--sea);
  transform: translate(-50%, -2px);
}

.scroll-cue:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.72);
  outline-offset: 3px;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 56px);
  scroll-margin-top: var(--header-height);
}

.offers {
  position: relative;
  padding: clamp(54px, 6vw, 86px) clamp(22px, 3vw, 56px) clamp(58px, 7vw, 96px);
  border-top: 1px solid rgba(217, 226, 225, 0.72);
  background:
    linear-gradient(180deg, rgba(232, 240, 237, 0.92) 0, rgba(251, 250, 247, 0.98) 300px, var(--paper) 100%),
    var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--content-width);
  margin: 0 auto 16px;
}

.offers .section-heading {
  display: block;
}

.offers .section-heading .eyebrow {
  margin-bottom: 8px;
}

.offers .section-heading h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.12;
}

body.is-results-page .offers {
  padding-top: clamp(34px, 5vw, 66px);
}

body.is-results-page .section-heading {
  display: none;
}

.results-summary {
  display: grid;
  gap: 8px;
  max-width: var(--content-width);
  border-bottom: 1px solid var(--line);
  padding: 4px 0 22px;
  margin: 0 auto 18px;
}

.results-summary[hidden] {
  display: none;
}

.results-summary h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.results-summary p[data-result-copy] {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.market-tools {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(230px, 1.1fr) minmax(190px, 0.82fr) minmax(155px, 0.62fr) auto;
  gap: 14px;
  align-items: end;
  max-width: var(--content-width);
  border: 1px solid rgba(217, 226, 225, 0.92);
  border-radius: 8px;
  padding: clamp(16px, 2.4vw, 22px);
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 35, 40, 0.1);
}

.search-card-heading {
  display: grid;
  gap: 4px;
  align-self: center;
  margin: 0 6px 0 0;
}

.search-card-heading .eyebrow {
  margin: 0;
}

.search-card-heading strong {
  color: var(--sea-dark);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.15;
}

.market-tools label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.market-tools input,
.market-tools select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
  font-weight: 700;
}

.market-tools select {
  cursor: pointer;
}

.market-tools input:focus,
.market-tools select:focus {
  outline: 3px solid rgba(240, 180, 41, 0.45);
  outline-offset: 1px;
}

.market-tools button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  background: var(--sea);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: var(--wide-width);
  margin: 0 auto 22px;
}

.filters button {
  min-height: 38px;
  border: 1px solid rgba(17, 100, 102, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--sea-dark);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.filters button.active,
.filters button:hover {
  border-color: var(--sea);
  color: #fff;
  background: var(--sea);
}

.boat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--wide-width);
  margin: 0 auto;
}

.boat-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(15, 35, 40, 0.06);
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.boat-card.is-hidden {
  display: none;
}

.boat-card[data-type="sail"] {
  order: 1;
}

.boat-card[data-type="project"] {
  order: 2;
}

.boat-card[data-type="motor"] {
  order: 3;
}

.boat-card[data-listing-type="wanted"] {
  border-style: dashed;
  background: #fffdf6;
}

.boat-card[data-listing-type="wanted"] .boat-photo {
  background: #f3ead0;
}

.boat-card[data-listing-type="wanted"] .boat-tag {
  color: #77500a;
  background: #fff0c2;
}

.boat-card[data-listing-type="wanted"] .price-row strong {
  color: var(--coral);
  font-size: 1.08rem;
}

.boat-card[data-page-order] {
  order: var(--page-order);
}

.boat-card:hover,
.boat-card:focus-visible {
  border-color: rgba(17, 100, 102, 0.55);
  box-shadow: 0 12px 26px rgba(15, 35, 40, 0.12);
  transform: translateY(-4px);
}

.boat-card:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.9);
  outline-offset: 3px;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 6px;
  padding: 7px 9px;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 10px 18px rgba(24, 30, 32, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
}

.boat-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  background-color: #dbe9e8;
}

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

.boat-content {
  display: grid;
  gap: 20px;
  padding: 18px;
}

.boat-tag {
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--sea-dark);
  background: #edf6f4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.boat-content p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.listing-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: #a2adb3;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.price-row strong {
  color: var(--sea-dark);
  font-size: 1.35rem;
}

.price-row span {
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 800;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--wide-width);
  border-top: 1px solid var(--line);
  margin: 28px auto 0;
  padding-top: 22px;
}

.pagination-label {
  color: var(--muted);
  font-weight: 900;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-link,
.page-ellipsis {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  font-weight: 900;
}

.page-link {
  border: 1px solid var(--line);
  color: var(--sea-dark);
  background: #fff;
}

.page-step {
  min-width: auto;
  padding: 0 14px;
}

.page-link:hover,
.page-link:focus-visible,
.page-link.is-active {
  border-color: var(--sea);
  color: #fff;
  background: var(--sea);
}

.page-link.is-disabled,
.page-link.is-disabled:hover {
  cursor: not-allowed;
  opacity: 0.48;
  border-color: var(--line);
  color: var(--muted);
  background: #f6f5f0;
}

.page-link:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.9);
  outline-offset: 2px;
}

.page-ellipsis {
  color: var(--muted);
}

.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 5vw, 60px);
  background: #e8f0ed;
}

.review-list {
  display: grid;
  gap: 16px;
}

blockquote {
  margin: 0;
  border-left: 5px solid var(--sun);
  padding: 18px 20px;
  color: #33474f;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

cite {
  display: block;
  margin-top: 10px;
  color: var(--sea-dark);
  font-style: normal;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 61, 67, 0.92), rgba(11, 61, 67, 0.92)),
    url("assets/used-boats-grid.png") center / cover;
}

.contact .eyebrow {
  color: var(--sun);
}

.contact h2 {
  max-width: 640px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #d7e8e5;
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 28px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 14px;
}

.contact-list dt {
  color: var(--sun);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(240, 180, 41, 0.75);
  outline-offset: 2px;
}

.contact-form .primary-action {
  border: 0;
  color: var(--sea-dark);
  background: var(--sun);
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #d7e8e5;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 1040px) {
  .hero,
  .reviews,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    padding-bottom: clamp(74px, 8svh, 98px);
  }

  .hero-panel {
    width: min(620px, 100%);
  }

  .boat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-tools {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .search-card-heading {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .market-tools button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 114px;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .primary-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    font-size: 0.88rem;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .primary-nav a {
    flex: 0 0 auto;
    padding: 8px 8px;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.25rem, 10.6vw, 3.15rem);
    line-height: 1.02;
  }

  .hero {
    gap: 18px;
    min-height: calc(100svh - var(--header-height));
    padding-top: 24px;
    padding-bottom: 74px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.52;
  }

  .hero-badges {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-badges span {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 18px;
  }

  .trust-note {
    font-size: 0.9rem;
  }

  .hero-panel {
    aspect-ratio: 16 / 9;
  }

  .hero-panel-label {
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 0.75rem;
  }

  .hero-panel-label span,
  .hero-panel-label strong {
    padding: 6px 8px;
  }

  .deal-strip {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
  }

  .deal-strip strong {
    font-size: 1.18rem;
  }

  .scroll-cue {
    bottom: 18px;
  }

  .section-heading,
  .contact {
    align-items: flex-start;
  }

  .market-tools {
    grid-template-columns: 1fr;
  }

  .market-tools button {
    grid-column: auto;
  }

  .boat-grid {
    grid-template-columns: 1fr;
  }

  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    max-width: 220px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-badges span {
    width: auto;
    text-align: left;
  }

  .hero-panel-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
  }
}
