.reb-home-page {
  --reb-ink: #0f171c;
  --reb-ink-soft: #1b2930;
  --reb-muted: #5e6d73;
  --reb-line: rgba(15, 23, 28, 0.12);
  --reb-paper: #f5f1e8;
  --reb-paper-deep: #ebe3d7;
  --reb-white: #ffffff;
  --reb-river: #173a44;
  --reb-signal: #c86d34;
  --reb-shadow: 0 24px 60px rgba(11, 17, 20, 0.08);
  --reb-shadow-strong: 0 30px 90px rgba(11, 17, 20, 0.22);
  --reb-page: 1240px;
  --reb-gutter: clamp(20px, 4vw, 40px);
  background: linear-gradient(180deg, #f7f4ed 0%, #f1ece3 100%);
  color: var(--reb-ink);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

.reb-home-page,
.reb-home-page * {
  box-sizing: border-box;
}

.reb-home-page a {
  color: inherit;
  text-decoration: none;
}

.reb-home-page h1,
.reb-home-page h2,
.reb-home-page h3,
.reb-home-page p {
  margin: 0;
}

.reb-home-page h1,
.reb-home-page h2,
.reb-home-page h3 {
  font-family: "Libre Bodoni", "Baskerville", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.reb-home-page img {
  display: block;
  width: 100%;
  height: auto;
}

.reb-home-shell {
  width: min(var(--reb-page), calc(100% - var(--reb-gutter) * 2));
  margin: 0 auto;
}

.reb-home-page [id] {
  scroll-margin-top: 112px;
}

.reb-home-stack,
.reb-home-section__head,
.reb-home-hero__content,
.reb-home-craft__copy,
.reb-home-boat__copy,
.reb-home-gallery-card__body,
.reb-home-process-panel,
.reb-home-cta__copy,
.reb-home-feature,
.reb-home-process-step {
  display: grid;
  gap: 18px;
}

.reb-home-eyebrow,
.reb-home-boat__label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reb-home-eyebrow,
.reb-home-boat__label {
  color: var(--reb-signal);
}

.reb-home-brand {
  display: block;
}

.reb-home-topbar {
  color: rgba(255, 255, 255, 0.78);
  background: var(--reb-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reb-home-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  align-items: center;
}

.reb-home-brand strong {
  color: var(--reb-ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.reb-home-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 237, 0.82);
  border-bottom: 1px solid rgba(15, 23, 28, 0.08);
  backdrop-filter: blur(18px);
}

.reb-home-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 90px;
}

.reb-home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: var(--reb-ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.reb-home-nav a {
  transition: color 180ms ease;
}

.reb-home-nav a:hover,
.reb-home-nav a:focus-visible {
  color: var(--reb-signal);
}

a.reb-home-button,
.wp-block-button.reb-home-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

a.reb-home-button:hover,
a.reb-home-button:focus-visible,
.wp-block-button.reb-home-button .wp-block-button__link:hover,
.wp-block-button.reb-home-button .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
}

a.reb-home-button--dark,
.wp-block-button.reb-home-button--dark .wp-block-button__link {
  background: var(--reb-ink);
  color: var(--reb-white);
  box-shadow: 0 18px 34px rgba(15, 23, 28, 0.14);
}

a.reb-home-button--dark:hover,
a.reb-home-button--dark:focus-visible,
.wp-block-button.reb-home-button--dark .wp-block-button__link:hover,
.wp-block-button.reb-home-button--dark .wp-block-button__link:focus-visible {
  background: #18242a;
}

a.reb-home-button--light,
.wp-block-button.reb-home-button--light .wp-block-button__link {
  background: var(--reb-white);
  color: var(--reb-ink);
  box-shadow: 0 18px 34px rgba(15, 23, 28, 0.18);
}

a.reb-home-button--light:hover,
a.reb-home-button--light:focus-visible,
.wp-block-button.reb-home-button--light .wp-block-button__link:hover,
.wp-block-button.reb-home-button--light .wp-block-button__link:focus-visible {
  background: #f4f1ea;
}

a.reb-home-button--ghost,
.wp-block-button.reb-home-button--ghost .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--reb-white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(6, 10, 12, 0.18);
  backdrop-filter: blur(14px);
}

a.reb-home-button--ghost:hover,
a.reb-home-button--ghost:focus-visible,
.wp-block-button.reb-home-button--ghost .wp-block-button__link:hover,
.wp-block-button.reb-home-button--ghost .wp-block-button__link:focus-visible {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.16);
}

.wp-block-button.reb-home-button {
  margin: 0;
}

.reb-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reb-home-section {
  padding: clamp(72px, 8vw, 108px) 0;
}

.reb-home-section--lineup,
.reb-home-section--gallery-intro {
  padding-bottom: 32px;
}

.reb-home-section--boat-feature {
  padding-top: 0;
  padding-bottom: 28px;
}

.reb-home-section--boat-secondary-stack,
.reb-home-section--gallery {
  padding-top: 0;
}

.reb-home-section__head h2,
.reb-home-band__panel h2,
.reb-home-cta h2,
.reb-home-process-panel h2 {
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  max-width: 12ch;
}

.reb-home-section__head > p:not(.reb-home-eyebrow),
.reb-home-band__panel p:not(.reb-home-eyebrow),
.reb-home-cta__copy p,
.reb-home-process-panel .reb-home-section__head p,
.reb-home-craft__copy > p:not(.reb-home-eyebrow),
.reb-home-boat__copy > p:not(.reb-home-boat__label),
.reb-home-gallery-card__body p:not(.reb-home-boat__label),
.reb-home-feature p,
.reb-home-process-step p {
  color: var(--reb-muted);
  font-size: 1.03rem;
}

.reb-home-hero {
  position: relative;
  min-height: min(92svh, 940px);
  color: var(--reb-white);
  background:
    linear-gradient(90deg, rgba(7, 12, 14, 0.9) 0%, rgba(7, 12, 14, 0.76) 32%, rgba(7, 12, 14, 0.38) 62%, rgba(7, 12, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 12, 14, 0.14) 0%, rgba(7, 12, 14, 0.56) 100%),
    var(--reb-hero-image) center center / cover no-repeat;
}

.reb-home-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(245, 241, 232, 0), rgba(245, 241, 232, 1));
}

.reb-home-hero .wp-block-cover__inner-container,
.reb-home-band .wp-block-cover__inner-container,
.reb-home-process-band .wp-block-cover__inner-container {
  width: 100%;
  padding: 0;
}

.reb-home-hero .reb-home-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  align-items: flex-end;
}

.reb-home-hero__content {
  max-width: 760px;
  padding: clamp(136px, 18vw, 212px) 0 clamp(92px, 10vw, 118px);
}

.reb-home-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  color: var(--reb-white);
}

.reb-home-hero p:not(.reb-home-eyebrow) {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.3vw, 1.16rem);
}

.reb-home-hero .reb-home-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

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

.reb-home-feature {
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid var(--reb-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--reb-shadow);
}

.reb-home-feature h3 {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  color: var(--reb-ink);
}

.reb-home-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 72svh;
  color: var(--reb-white);
  background:
    linear-gradient(180deg, rgba(7, 12, 14, 0.08) 0%, rgba(7, 12, 14, 0.42) 100%),
    var(--reb-band-image) center center / cover no-repeat;
}

.reb-home-band__panel {
  max-width: 660px;
  margin: clamp(32px, 6vw, 56px) 0;
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 14, 17, 0.68), rgba(9, 14, 17, 0.82));
  box-shadow: var(--reb-shadow-strong);
  backdrop-filter: blur(16px);
}

.reb-home-band__panel p:not(.reb-home-eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.reb-home-boat-stack {
  display: grid;
  gap: 22px;
}

.reb-home-boat {
  display: grid;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--reb-shadow);
}

.reb-home-boat__copy {
  align-content: center;
  padding: clamp(28px, 4vw, 44px);
}

.reb-home-boat__media {
  min-height: 320px;
  overflow: hidden;
}

.reb-home-boat__media .wp-block-image,
.reb-home-craft__media .wp-block-image,
.reb-home-gallery-card__image .wp-block-image {
  height: 100%;
  margin: 0;
}

.reb-home-boat__media img,
.reb-home-craft__media img,
.reb-home-gallery-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reb-home-boat h3 {
  max-width: 9ch;
  font-size: clamp(2.1rem, 3vw, 3.4rem);
}

.reb-home-boat--primary {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #11232b 0%, #0d171c 100%);
  color: var(--reb-white);
  box-shadow: var(--reb-shadow-strong);
}

.reb-home-boat--primary .reb-home-boat__copy > p:not(.reb-home-boat__label) {
  color: rgba(255, 255, 255, 0.78);
}

.reb-home-boat--primary .reb-home-boat__label {
  color: rgba(255, 255, 255, 0.72);
}

.reb-home-boat--primary .reb-home-boat__media {
  min-height: 470px;
}

.reb-home-boat--secondary {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  border: 1px solid var(--reb-line);
  background: rgba(255, 255, 255, 0.86);
}

.reb-home-boat--secondary .reb-home-boat__copy {
  max-width: 40rem;
}

.reb-home-boat--secondary .reb-home-boat__label--muted {
  color: var(--reb-river);
}

.reb-home-boat--secondary .reb-home-boat__media img {
  filter: saturate(0.72) contrast(0.95);
}

.reb-home-boat--reverse .reb-home-boat__copy {
  order: 2;
}

.reb-home-boat--reverse .reb-home-boat__media {
  order: 1;
}

.reb-home-section--craftsmanship {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(235, 227, 215, 0.28));
}

.reb-home-craft {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 28px;
  align-items: stretch;
}

.reb-home-craft__media {
  min-height: 560px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--reb-shadow);
}

.reb-home-craft__copy {
  align-content: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--reb-line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--reb-shadow);
}

.reb-home-process-band {
  position: relative;
  padding: clamp(96px, 11vw, 138px) 0;
  color: var(--reb-white);
  background:
    linear-gradient(180deg, rgba(7, 12, 14, 0.18) 0%, rgba(7, 12, 14, 0.68) 100%),
    var(--reb-process-image) center center / cover no-repeat;
}

.reb-home-process-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 14, 0.46) 0%, rgba(7, 12, 14, 0.16) 48%, rgba(7, 12, 14, 0.42) 100%);
}

.reb-home-process-band .reb-home-shell {
  position: relative;
  z-index: 1;
}

.reb-home-process-panel {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(10, 16, 19, 0.78);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.reb-home-process-panel h2 {
  color: var(--reb-white);
}

.reb-home-process-panel .reb-home-section__head p,
.reb-home-process-step p {
  color: rgba(255, 255, 255, 0.76);
}

.reb-home-process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reb-home-process-step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.reb-home-process-step__number,
.reb-home-process-step > span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.reb-home-process-step h3 {
  font-size: 1.56rem;
  color: var(--reb-white);
}

.reb-home-gallery-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr 0.92fr;
  gap: 20px;
}

.reb-home-gallery-card {
  overflow: hidden;
  border: 1px solid var(--reb-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--reb-shadow);
}

.reb-home-gallery-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.reb-home-gallery-card--scenery .reb-home-gallery-card__image {
  aspect-ratio: 16 / 11;
}

.reb-home-gallery-card__body {
  padding: 22px;
}

.reb-home-gallery-card h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  color: var(--reb-ink);
}

.reb-home-cta {
  padding: 0 0 clamp(78px, 9vw, 108px);
}

.reb-home-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(30px, 4vw, 46px);
  border-radius: 32px;
  background: linear-gradient(135deg, #12303a 0%, #0b1418 100%);
  color: var(--reb-white);
  box-shadow: var(--reb-shadow-strong);
}

.reb-home-cta__copy h2 {
  color: var(--reb-white);
}

.reb-home-cta__copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1180px) {
  .reb-home-feature-grid,
  .reb-home-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reb-home-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reb-home-gallery-card--scenery {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1040px) {
  .reb-home-header__inner {
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
    padding: 16px 0;
  }

  .reb-home-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .reb-home-boat--primary,
  .reb-home-boat--secondary,
  .reb-home-craft,
  .reb-home-cta__panel {
    grid-template-columns: 1fr;
  }

  .reb-home-boat--reverse .reb-home-boat__copy,
  .reb-home-boat--reverse .reb-home-boat__media {
    order: initial;
  }

  .reb-home-boat--primary .reb-home-boat__media,
  .reb-home-craft__media {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .reb-home-topbar__inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .reb-home-header__inner {
    grid-template-columns: 1fr;
  }

  .reb-home-nav {
    display: none;
  }

  .reb-home-header a.reb-home-button--dark,
  .reb-home-header .wp-block-button.reb-home-button--dark {
    width: 100%;
  }

  a.reb-home-button,
  .wp-block-button.reb-home-button .wp-block-button__link {
    width: 100%;
  }

  .reb-home-actions {
    display: grid;
  }

  .reb-home-hero {
    min-height: auto;
  }

  .reb-home-hero__content {
    padding: 98px 0 74px;
  }

  .reb-home-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .reb-home-section,
  .reb-home-process-band {
    padding: 64px 0;
  }

  .reb-home-section--lineup,
  .reb-home-section--gallery-intro {
    padding-bottom: 26px;
  }

  .reb-home-feature-grid,
  .reb-home-process-steps,
  .reb-home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .reb-home-band {
    min-height: 520px;
  }

  .reb-home-band__panel,
  .reb-home-process-panel,
  .reb-home-cta__panel,
  .reb-home-boat,
  .reb-home-craft__copy,
  .reb-home-feature,
  .reb-home-gallery-card {
    border-radius: 24px;
  }

  .reb-home-boat__media,
  .reb-home-boat--primary .reb-home-boat__media,
  .reb-home-craft__media {
    min-height: 280px;
  }
}
