/* Home page sections (also used by list-collections and Visit page rows). */

/* Hero */
.section-hero { position: relative; z-index: 2; }
.hero__photo { position: relative; isolation: isolate; min-height: max(540px, min(86svh, 700px)); padding-top: 72px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m); }
.hero__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, #13233a 0%, rgba(19, 35, 58, 0.88) 34%, rgba(19, 35, 58, 0.35) 58%, rgba(19, 35, 58, 0) 72%); }
.hero__content { position: relative; padding-bottom: 56px; }
.hero__eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 12px; background: var(--line); color: var(--mat); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.hero__title { color: var(--white); }
.hero__lead { margin-top: 16px; color: var(--foam); }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
.hero__link { display: inline-block; padding-block: 11px; color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hero__link:hover { text-decoration-thickness: 2px; }
.hero__credit { position: absolute; top: 12px; right: var(--gutter); z-index: 1; color: var(--white); opacity: 0.8; text-align: right; max-width: 70%; }
.hero__below { padding-bottom: 4px; }
.hero__below-inner { display: flex; align-items: center; gap: 20px; }
.hero__print { flex: none; width: 56vw; max-width: 360px; margin-top: -40px; }
.hero__note { flex: 1; min-width: 0; color: var(--mat); }
@media (min-width: 768px) {
  .hero__photo { min-height: max(540px, min(86svh, 760px)); }
  .hero__actions { flex-direction: row; align-items: center; gap: 24px; }
}
@media (min-width: 1024px) {
  .hero__photo { min-height: clamp(560px, 86vh, 880px); padding-top: 64px; }
  .hero__title { font-size: min(var(--fs-display-xl), 10.5vh); }
  .hero__img { object-position: var(--pos-d); }
  .hero__photo::after {
    background:
      linear-gradient(270deg, rgba(19, 35, 58, 0.82) 0%, rgba(19, 35, 58, 0.62) 34%, rgba(19, 35, 58, 0) 60%),
      linear-gradient(0deg, rgba(19, 35, 58, 0.55) 0%, rgba(19, 35, 58, 0) 35%);
  }
  .hero__content { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-bottom: clamp(64px, 9vh, 96px); }
  .hero__text { grid-column: 7 / 13; max-width: 560px; }
  .hero__credit { top: auto; bottom: 16px; }
  .hero__below { position: absolute; left: 0; right: 0; bottom: 0; height: 0; padding: 0; background: none; }
  .hero__below-inner { position: relative; display: block; height: 0; }
  .hero__print { position: absolute; left: 0; bottom: -64px; width: clamp(220px, 19vw, 320px); margin: 0; }
  .hero__note { display: none; }
}

/* Shop the wall */
.wall { overflow: clip; }
.wall--after-hero { padding-top: var(--sp-7); }
.wall__intro { margin-bottom: var(--head-gap); }
.wall__lead { margin-top: var(--sp-4); }
.wall__panel-col { display: none; }
.wall__rows { border-top: 1px solid var(--rule-c); }
.wall__row-item { border-bottom: 1px solid var(--rule-c); }
.wall__row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 104px; padding-block: 8px; color: var(--fg); text-decoration: none; }
.wall__thumb { display: block; width: 88px; height: 88px; background: var(--salt); }
.wall__thumb img { width: 88px; height: 88px; object-fit: cover; }
.wall__text { display: flex; flex-direction: column; min-width: 0; }
.wall__name { font-family: var(--font-display); font-size: var(--fs-display-s); font-weight: 700; line-height: 1.05; }
.wall__desc { display: none; font-size: var(--fs-body); line-height: 1.45; margin-top: 4px; }
.wall__count { margin-top: 4px; font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.wall__packs { display: none; }
.wall__arrow { display: grid; place-items: center; width: 24px; }
.wall__arrow .icon { transition: transform var(--t-fast) var(--ease-out); }
.wall__arrow-d { display: none; }
.wall__row:hover .wall__name, .wall__row:focus-visible .wall__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.wall__row:hover .icon, .wall__row:focus-visible .icon { transform: translateX(4px); }
@media (min-width: 768px) {
  .wall__desc { display: block; }
}
@media (min-width: 1024px) {
  .wall--after-hero { padding-top: calc(64px + var(--sp-8)); }
  .wall__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--col-gap); }
  .wall__intro { grid-column: 1 / 6; grid-row: 1; padding-right: var(--sp-5); }
  .wall__panel-col { display: block; grid-column: 1 / 6; grid-row: 2; padding-right: var(--sp-5); }
  .wall__panel { position: sticky; top: calc(var(--header-h) + 32px); }
  .wall__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mat); }
  .wall__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--t-med) var(--ease-in-out); }
  .wall__photo:first-child { opacity: 1; }
  .wall[data-active] .wall__photo { opacity: 0; }
  .wall[data-active] .wall__photo.is-active { opacity: 1; }
  .wall__credit { color: var(--mat); }
  .wall__rows { grid-column: 6 / 13; grid-row: 1 / 3; align-self: start; }
  .wall__row { grid-template-columns: minmax(0, 1fr) auto 24px; gap: 24px; min-height: 128px; padding-block: 24px; }
  .wall__thumb { display: none; }
  .wall__name { font-size: var(--fs-display-m); font-weight: 800; line-height: 1; }
  .wall__desc { margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wall__packs { display: flex; gap: 8px; }
  .wall__pack { width: 64px; height: 64px; padding: 5px; background: var(--salt); }
  .wall__pack img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .wall__pack--rod { padding: 0; overflow: hidden; }
  .wall__pack--rod img { object-fit: cover; scale: 1.18; }
  .wall__arrow-d { display: block; }
  .wall__arrow-m { display: none; }
}

/* New on the counter */
.counter__head .lead { max-width: 62ch; }
.counter__grid { display: grid; gap: var(--sp-7); }
.counter__print { transform: rotate(1deg); }
.counter__print .print__img { aspect-ratio: 4 / 3; object-position: 50% 55%; }
.counter__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.counter__card--extra { display: none; }
.counter__more { margin-top: var(--sp-6); }
.counter__more .btn { width: 100%; }
@media (min-width: 768px) {
  .counter__print .print__img { aspect-ratio: 16 / 9; }
  .counter__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .counter__card--extra { display: block; }
  .counter__more { display: flex; justify-content: flex-end; }
  .counter__more .btn { width: auto; }
}
@media (min-width: 1024px) {
  .counter__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .counter__print-col { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 32px); padding: 8px 12px 0 0; }
  .counter__print { transform: rotate(var(--tilt)); }
  .counter__print .print__img { aspect-ratio: 3 / 4; object-position: var(--pos); }
  .counter__products { grid-column: 5 / 13; }
}

/* Brands board */
.board__grid { display: flex; flex-direction: column; gap: var(--sp-6); }
.board__attr { margin-top: var(--sp-2); }
.board__lead { margin-top: var(--sp-5); }
.board__frame { overflow: hidden; }
.board__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transform: scale(1.33); transform-origin: 50% 0; }
.board__note { margin-top: var(--sp-3); color: var(--mat); }
.board { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; row-gap: 0; line-height: 1.15; }
.board__item { display: inline-flex; align-items: baseline; gap: 20px; white-space: nowrap; }
.board__sep { flex: none; width: 12px; height: 12px; background: var(--tuna); align-self: center; }
.board__name { display: inline-block; padding-block: 8px; font-family: var(--font-display); font-size: var(--fs-display-s); font-weight: 800; line-height: 1.15; color: var(--mat); text-decoration: none; text-underline-offset: 6px; }
.board__name:hover, .board__name:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; }
.board__item--strait .board__name, .board__item--featured .board__name { color: var(--strait); }
.board__item--featured .board__name { font-size: var(--fs-display-l); }
.board__count { font-family: var(--font-text); font-size: var(--fs-small); font-weight: 600; line-height: 1; color: var(--lead); margin-left: 3px; vertical-align: text-top; position: relative; top: 0.12em; }
@media (min-width: 1024px) {
  .board__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--col-gap); row-gap: var(--sp-7); }
  .board__head { grid-column: 1 / 9; grid-row: 1; }
  .board__names { grid-column: 1 / 9; grid-row: 2; }
  .board__photo { grid-column: 9 / 13; grid-row: 1 / 3; }
  .board__name { font-size: var(--fs-display-m); }
  .board__item--featured .board__name { font-size: var(--fs-display-xl); }
}

/* Season calendar */
.calendar__top { display: flex; flex-direction: column; gap: var(--sp-6); }
.calendar__lead { margin-top: var(--sp-4); color: var(--foam); }
.calendar__lead p { max-width: 60ch; }
.calendar__head .link { color: var(--white); display: inline-block; margin-top: var(--sp-3); }
.calendar__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.calendar__photo .caption { color: var(--foam); }
.cal { width: 100%; margin-top: var(--sp-7); }
.cal, .cal tbody, .cal tr, .cal th, .cal td, .cal caption { display: block; }
.cal colgroup, .cal thead { display: none; }
.cal__row { padding-block: var(--sp-5); border-top: 1px solid var(--rule-c); }
.cal__name { text-align: left; font-weight: 700; margin-bottom: var(--sp-3); }
.cal__name .display-s { display: block; color: var(--white); }
.cal__note { display: block; margin-top: 4px; color: var(--foam); font-family: var(--font-text); font-weight: 400; }
.cal__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; margin-bottom: 6px; text-align: center; font-size: var(--fs-small); font-weight: 600; color: var(--foam); }
.cal__m { position: relative; padding-top: 18px; }
.cal abbr { text-decoration: none; cursor: help; }
.cal__now { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 11px; line-height: 1.2; color: var(--line); font-weight: 600; }
.is-now abbr { display: inline-block; padding-top: 5px; min-width: 16px; color: var(--white); background: linear-gradient(var(--line), var(--line)) top / 100% 3px no-repeat; }
.cal__track { position: relative; height: 28px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; background: none; }
.cal__track::before { content: none; }
.cal__cellbg { background: rgba(220, 229, 240, 0.14); border-radius: 2px; }
.cal__bar { position: absolute; top: 0; bottom: 0; border-radius: 2px; overflow: hidden; }
.cal__bar--legal { background: var(--line); color: var(--mat); }
.cal__bar--usual { background: repeating-linear-gradient(135deg, rgba(220, 229, 240, 0.55) 0 6px, rgba(220, 229, 240, 0.2) 6px 12px); }
.cal__bar-text { display: none; }
.cal__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: var(--fs-small); color: var(--white); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: var(--sp-6); color: var(--foam); }
.cal__legend li { display: flex; align-items: center; gap: 10px; }
.cal__swatch { flex: none; display: inline-block; width: 28px; height: 14px; border-radius: 2px; }
.cal__swatch--legal { background: var(--line); }
.cal__swatch--usual { background: repeating-linear-gradient(135deg, rgba(220, 229, 240, 0.55) 0 6px, rgba(220, 229, 240, 0.2) 6px 12px); }
@media (min-width: 768px) {
  .calendar__photo img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .calendar__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .calendar__head { grid-column: 1 / 7; }
  .calendar__photo { grid-column: 8 / 13; }
  .calendar__photo img { aspect-ratio: 16 / 10; }
  .cal { display: table; table-layout: fixed; border-collapse: collapse; margin-top: var(--sp-8); }
  .cal tbody { display: table-row-group; }
  .cal thead { display: table-header-group; }
  .cal tr { display: table-row; }
  .cal th, .cal td { display: table-cell; }
  .cal colgroup { display: table-column-group; }
  .cal__col-name { width: 260px; }
  .cal thead th { position: relative; padding: 18px 1px 10px; text-align: center; font-size: var(--fs-small); font-weight: 600; color: var(--foam); vertical-align: bottom; }
  .cal thead .cal__now { top: 0; }
  .cal__row { border: 0; }
  .cal tbody tr { border-top: 1px solid var(--rule-c); }
  .cal__name { padding: 20px 20px 20px 0; vertical-align: top; margin: 0; }
  .cal__cell { padding: 20px 0 12px; vertical-align: top; }
  .cal__months { display: none; }
}
@media (min-width: 1280px) {
  .cal__bar-text { display: block; padding: 0 8px; font-size: var(--fs-micro); font-weight: 600; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
}

/* Ask before you buy */
.ask { overflow: clip; }
.ask__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ask__text { margin-top: var(--sp-7); }
.ask__lead { margin-top: var(--sp-4); }
.ask__quote { margin-block: var(--sp-6); }
.ask__quote blockquote p { text-wrap: balance; }
.ask__quote figcaption { margin-top: var(--sp-2); }
.phone-link { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 10px; color: var(--fg); text-decoration: none; white-space: nowrap; margin-bottom: var(--sp-5); }
.phone-huge { font-family: var(--font-display); font-size: var(--fs-phone); font-weight: 800; line-height: 0.9; font-variant-numeric: tabular-nums; }
.phone-link__prefix { font-weight: 700; }
.phone-link:hover .phone-huge { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.ask__actions .btn { width: 100%; }
.ask__rating { margin-top: var(--sp-4); }
.ask__rating .link { color: var(--mat); padding-block: 12px; }
@media (min-width: 600px) { .ask__actions .btn { width: auto; } }
@media (min-width: 1024px) {
  .ask__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
  .ask__photo { grid-column: 1 / 7; margin-left: calc((min(100vw - 2 * var(--gutter), 1360px) - 100vw) / 2); }
  .ask__photo img { aspect-ratio: 4 / 5; max-height: 820px; }
  .ask__photo .caption { padding-left: calc((100vw - min(100vw - 2 * var(--gutter), 1360px)) / 2); }
  .ask__text { grid-column: 7 / 13; margin: 0; padding-left: var(--sp-7); }
}

/* Collect from the marina */
.collect { overflow: clip; }
.collect__print { transform: rotate(-1deg); }
.collect__text { margin-top: var(--sp-7); }
.collect__body { margin-top: var(--sp-4); max-width: 52ch; }
.collect__address { font-style: normal; margin-block: var(--sp-5); }
.hours--dark th { color: var(--white); }
.hours--dark td { color: var(--foam); }
.hours--dark .is-today th, .hours--dark .is-today td { color: var(--mat); }
.collect__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: var(--sp-6); }
.collect__actions .link { color: var(--white); font-weight: 600; }
@media (min-width: 1024px) {
  .collect__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
  .collect__print-col { grid-column: 1 / 8; margin-left: -40px; }
  .collect__print { transform: rotate(var(--tilt)); }
  .collect__text { grid-column: 8 / 13; margin: 0; padding-left: var(--sp-6); }
}
