.o-przystani-main {
  overflow: clip;
}

.o-przystani-main .button {
  min-height: 3rem;
}

.o-przystani-hero {
  position: relative;
  min-height: 40rem;
  isolation: isolate;
  background: var(--color-navy);
}

.o-przystani-hero__media,
.o-przystani-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.o-przystani-hero__media img {
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.o-przystani-hero__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(36 56 78 / 88%) 0%, rgb(36 56 78 / 68%) 38%, rgb(36 56 78 / 10%) 68%, transparent 100%);
}

.o-przystani-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 40rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: center;
}

.o-przystani-hero__content {
  grid-column: 1 / span 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.o-przystani-hero__content > * {
  margin: 0;
}

.o-przystani-hero__content h1 {
  max-width: 13ch;
  color: var(--color-off-white);
}

.o-przystani-hero__lead {
  max-width: 52ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-hero__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.o-przystani-hero__actions > * {
  min-width: 0;
  width: auto;
}

.o-przystani-hero__menu-link,
.o-przystani-evening__link {
  color: var(--color-off-white);
  font-size: var(--font-size-label);
  font-weight: 700;
  text-decoration-color: currentcolor;
}

.o-przystani-hospitality {
  background: var(--color-sand);
}

.o-przystani-hospitality__intro {
  width: 50%;
  min-width: 0;
}

.o-przystani-hospitality__intro h2 {
  max-width: 18ch;
}

.o-przystani-hospitality__lead {
  max-width: 62ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.o-przystani-principles > * {
  min-width: 0;
  width: 100%;
}

.o-przystani-principle {
  height: 100%;
}

.o-przystani-principle .card__body {
  gap: var(--space-4);
}

.o-przystani-principle .card__body > * {
  margin: 0;
}

.o-przystani-principle__number,
.o-przystani-path__number {
  color: var(--color-terracotta);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.o-przystani-principle__number--sea {
  color: var(--color-sea);
}

.o-przystani-principle h3 {
  font-size: var(--font-size-card-title);
}

.o-przystani-inline-link {
  align-self: flex-start;
  color: var(--color-sea);
  font-size: var(--font-size-label);
  font-weight: 700;
}

.o-przystani-table {
  background: var(--color-off-white);
}

.o-przystani-table__heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: end;
}

.o-przystani-table__heading > * {
  min-width: 0;
}

.o-przystani-table__title-block {
  grid-column: 1 / span 6;
}

.o-przystani-table__title-block h2 {
  max-width: 18ch;
}

.o-przystani-table__intro {
  grid-column: 9 / span 4;
  max-width: 62ch;
  margin: 0;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-table__figure {
  width: 100%;
  min-width: 0;
  margin-top: var(--space-7);
}

.o-przystani-table__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.o-przystani-table__figure figcaption {
  margin: var(--space-2) 0 0;
}

.o-przystani-table__stories {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.o-przystani-table__stories > * {
  min-width: 0;
}

.o-przystani-table__story {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.o-przystani-table__story--food {
  grid-column: span 6;
}

.o-przystani-table__story > * {
  margin: 0;
}

.o-przystani-table__story h3 {
  font-size: var(--font-size-card-title);
}

.o-przystani-table__story p {
  max-width: 48ch;
}

.o-przystani-table__story--food p {
  max-width: 60ch;
}

.o-przystani-occasions {
  background: var(--color-off-white);
}

.o-przystani-occasions__intro {
  width: 58.333%;
  min-width: 0;
}

.o-przystani-occasions__intro h2 {
  max-width: 20ch;
}

.o-przystani-occasions__intro > p:last-child {
  max-width: 60ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-occasion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.o-przystani-occasion-grid > * {
  min-width: 0;
  width: 100%;
}

.o-przystani-occasion {
  height: 100%;
}

.o-przystani-occasion .card__body {
  gap: var(--space-4);
}

.o-przystani-occasion .card__body > * {
  margin: 0;
}

.o-przystani-occasion__label {
  color: var(--color-sea);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.o-przystani-occasion h3 {
  font-size: var(--font-size-card-title);
}

.o-przystani-occasion .card__body > p:not(.o-przystani-occasion__label):not(.o-przystani-poker-note) {
  max-width: 56ch;
}

.o-przystani-occasion--poker {
  border-color: rgb(36 56 78 / 24%);
}

.o-przystani-occasion--poker .card__body::before {
  width: 100%;
  height: var(--space-2);
  content: "";
  background: var(--color-navy);
}

.o-przystani-poker-note {
  padding: var(--space-3) var(--space-4);
  border-inline-start: 3px solid var(--color-terracotta);
  background: rgb(185 106 75 / 10%);
  color: var(--color-navy);
  font-size: var(--font-size-label);
  font-weight: 700;
  line-height: var(--line-height-label);
}

.o-przystani-occasions__action {
  width: auto;
  margin-top: var(--space-6);
}

.o-przystani-evening {
  background: var(--color-sand);
}

.o-przystani-evening__container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}

.o-przystani-evening__container > * {
  min-width: 0;
}

.o-przystani-evening__image-wrap {
  z-index: 1;
  grid-column: 1 / span 7;
  width: 100%;
}

.o-przystani-evening__image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: left center;
}

.o-przystani-evening__panel {
  position: relative;
  z-index: 2;
  grid-column: 8 / span 5;
  width: calc(100% + 3rem);
  min-width: 0;
  margin-left: -3rem;
  padding: var(--space-8);
  background: var(--color-navy);
}

.o-przystani-evening__panel::before,
.o-przystani-contact::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.04;
  background-image: repeating-linear-gradient(0deg, var(--color-off-white) 0, var(--color-off-white) 1px, transparent 1px, transparent 16px);
  pointer-events: none;
}

.o-przystani-evening__panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.o-przystani-evening__panel > * {
  margin: 0;
}

.o-przystani-evening__panel h2 {
  max-width: 15ch;
}

.o-przystani-evening__panel p {
  max-width: 48ch;
}

.o-przystani-evening__lead {
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-evening__link {
  align-self: flex-start;
}

.o-przystani-values {
  background: var(--color-sand);
}

.o-przystani-values__head,
.o-przystani-value-list {
  width: 66.666%;
  min-width: 0;
  margin-left: 16.666%;
}

.o-przystani-values__head h2 {
  max-width: 20ch;
}

.o-przystani-values__head > p:last-child {
  max-width: 54ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-value-list {
  margin-top: var(--space-7);
}

.o-przystani-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 7fr);
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

.o-przystani-value:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.o-przystani-value > * {
  min-width: 0;
}

.o-przystani-value__number {
  margin: 0;
  color: var(--color-terracotta);
  font-family: var(--font-heading);
  font-size: var(--font-size-card-title);
  font-weight: 600;
}

.o-przystani-value__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.o-przystani-value__content > * {
  margin: 0;
}

.o-przystani-value__content h3 {
  max-width: 22ch;
}

.o-przystani-value__content > p:last-child {
  max-width: 52ch;
}

.o-przystani-value__quote {
  max-width: 48ch;
  color: var(--color-driftwood);
  font-family: var(--font-heading);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-value__signature {
  display: block;
  margin-top: var(--space-3);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 600;
}

.o-przystani-paths {
  background: var(--color-off-white);
}

.o-przystani-paths__intro {
  width: 58.333%;
  min-width: 0;
}

.o-przystani-paths__intro h2 {
  max-width: 22ch;
}

.o-przystani-paths__intro > p:last-child {
  max-width: 58ch;
}

.o-przystani-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-7);
}

.o-przystani-path-grid > * {
  min-width: 0;
  width: 100%;
}

.o-przystani-path {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0 var(--space-5);
  border-inline-start: 1px solid var(--border-subtle);
}

.o-przystani-path:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.o-przystani-path:last-child {
  padding-inline-end: 0;
}

.o-przystani-path > * {
  margin: 0;
}

.o-przystani-path h3 {
  font-size: var(--font-size-card-title);
}

.o-przystani-path > p:not(.o-przystani-path__number) {
  max-width: 40ch;
}

.o-przystani-path__links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: auto;
}

.o-przystani-path__links > * {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-sea);
  font-size: var(--font-size-label);
  font-weight: 700;
}

.o-przystani-paths__action {
  width: auto;
  margin-top: var(--space-6);
}

.o-przystani-contact {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: var(--color-navy);
}

.o-przystani-contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.o-przystani-contact__grid > * {
  min-width: 0;
}

.o-przystani-contact__location {
  grid-column: 1 / span 7;
}

.o-przystani-contact__location h2 {
  max-width: 19ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.o-przystani-contact__location > p:last-child {
  max-width: 50ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.o-przystani-contact__details {
  grid-column: 9 / span 4;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
}

.o-przystani-contact__detail-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  background: var(--color-off-white);
  color: var(--color-navy);
}

.o-przystani-contact__detail-panel > * {
  margin: 0;
}

.o-przystani-contact__detail-panel h3 {
  font-size: var(--font-size-card-title);
}

.o-przystani-contact__detail-panel > p {
  max-width: 46ch;
}

.o-przystani-contact__detail-panel dl {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.o-przystani-contact__detail-panel dl,
.o-przystani-contact__detail-panel dl div,
.o-przystani-contact__detail-panel dd {
  margin: 0;
}

.o-przystani-contact__detail-panel dd a {
  overflow-wrap: anywhere;
  color: var(--color-sea);
  font-weight: 700;
}

.o-przystani-contact__actions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
}

.o-przystani-contact__actions > * {
  width: 100%;
  min-width: 0;
}

.o-przystani-final {
  background: var(--color-off-white);
}

.o-przystani-final__panel {
  display: flex;
  width: min(100%, 47.5rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-inline: auto;
  padding: var(--space-8) var(--space-7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-sand);
  text-align: center;
}

.o-przystani-final__panel > * {
  margin: 0;
}

.o-przystani-final__panel h2 {
  max-width: 22ch;
}

.o-przystani-final__panel p {
  max-width: 46ch;
}

.o-przystani-final__panel .button {
  width: auto;
}

@media (hover: hover) and (pointer: fine) {
  .o-przystani-principle,
  .o-przystani-occasion {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
  }

  .o-przystani-principle:hover,
  .o-przystani-occasion:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
  }
}

@media (max-width: 880px) {
  .o-przystani-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .o-przystani-principles > :last-child {
    grid-column: 1 / -1;
  }

  .o-przystani-values__head,
  .o-przystani-value-list {
    width: 75%;
    margin-left: 12.5%;
  }
}

@media (max-width: 820px) {
  .o-przystani-evening__container {
    grid-template-columns: minmax(0, 1fr);
  }

  .o-przystani-evening__image-wrap,
  .o-przystani-evening__panel {
    grid-column: 1;
    width: 100%;
    margin: 0;
  }

  .o-przystani-evening__panel {
    padding: var(--space-6);
  }
}

@media (max-width: 780px) {
  .o-przystani-table__heading,
  .o-przystani-table__stories {
    grid-template-columns: minmax(0, 1fr);
  }

  .o-przystani-table__title-block,
  .o-przystani-table__intro,
  .o-przystani-table__story,
  .o-przystani-table__story--food {
    grid-column: 1;
  }

  .o-przystani-table__heading {
    gap: var(--space-4);
  }

  .o-przystani-table__figure img {
    aspect-ratio: 4 / 3;
  }

  .o-przystani-table__stories {
    gap: var(--space-6);
  }
}

@media (max-width: 760px) {
  .o-przystani-hero,
  .o-przystani-hero__container {
    min-height: 0;
  }

  .o-przystani-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .o-przystani-hero__media {
    position: relative;
    inset: auto;
    grid-row: 1;
    width: 100%;
    height: auto;
  }

  .o-przystani-hero__media img {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .o-przystani-hero__overlay {
    display: none;
  }

  .o-przystani-hero__container {
    grid-row: 2;
    display: block;
    width: 100%;
    padding-block: var(--space-7);
  }

  .o-przystani-hero__content {
    width: 100%;
  }

  .o-przystani-hero__content h1 {
    max-width: 15ch;
    font-size: clamp(2.625rem, 11vw, 2.875rem);
    line-height: 1.08;
  }

  .o-przystani-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .o-przystani-hero__actions > * {
    width: 100%;
  }

  .o-przystani-hero__menu-link {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .o-przystani-occasion-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .o-przystani-path-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .o-przystani-path {
    padding: var(--space-5) 0;
    border-top: 1px solid var(--border-subtle);
    border-inline-start: 0;
  }

  .o-przystani-path:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .o-przystani-contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .o-przystani-contact__location,
  .o-przystani-contact__details {
    grid-column: 1;
  }

  .o-przystani-contact__location h2 {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }
}

@media (max-width: 720px) {
  .o-przystani-hospitality__intro,
  .o-przystani-occasions__intro,
  .o-przystani-paths__intro,
  .o-przystani-values__head,
  .o-przystani-value-list {
    width: 100%;
    margin-left: 0;
  }

  .o-przystani-value {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
    padding-block: var(--space-5);
  }

  .o-przystani-value__content {
    gap: var(--space-3);
  }
}

@media (max-width: 620px) {
  .o-przystani-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .o-przystani-principles > :last-child {
    grid-column: 1;
  }

  .o-przystani-occasions__action,
  .o-przystani-paths__action,
  .o-przystani-final__panel .button {
    width: 100%;
  }

  .o-przystani-final__panel {
    padding: var(--space-6) var(--space-5);
  }
}
