/* About page (/about/). Figma: desktop 223:4, phone 224:6. Loaded after styles.css and ra.css. */

/* The top of the page is the shared photo hero (phero.css) inside .phero-top, under the breadcrumb row (ra.css). */
/* Hero photo (Figma 248:207): the tarpon in the surf, mirrored in the file itself (close-tarpon-surf*). The band keeps the
   Figma's 1440:468 shape on wide windows, so Sam's head stays in at the top and the tarpon's head at the bottom. */
@media (min-width: 1024px) { .page-about .phero { min-height: max(60vh, 32.5vw); } }

/* ---------- film (Figma 370:6 / 370:12): full-width video on white, played in place ---------- */
.about-film { background: #fff; padding-block: 80px; }
.about-film__frame { position: relative; aspect-ratio: 1440 / 700; overflow: hidden; background: #000; }
.about-film__video { width: 100%; height: 100%; object-fit: cover; }
.about-film__frame.is-playing .about-film__video { object-fit: contain; }   /* the whole 16:9 picture once it plays */
.about-film__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; color: #fff; cursor: pointer; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, .6)); }
.about-film__play[hidden] { display: none; }
.about-film__play:focus-visible { outline: 3px solid #fff; outline-offset: -10px; }
.about-film__icon { display: block; position: relative; width: clamp(66px, 14.44vw, 208px); aspect-ratio: 1; border-radius: 50%; background: var(--action); transition: transform .2s; }
.about-film__icon::before { content: ""; position: absolute; left: 40%; top: 35.2%; width: 25.6%; height: 29.6%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.about-film__play:hover .about-film__icon { transform: scale(1.04); }
.about-film__label { position: absolute; left: max(var(--pad), calc((100vw - 1280px) / 2)); bottom: 40px; font: 500 14px/20px var(--body); letter-spacing: .14em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .about-film__icon { transition: none; } }

/* ---------- captains: photo to the page edge on one side, copy on the other ---------- */
.about-capt { display: grid; grid-template-columns: calc(50% - 80px) minmax(0, 1fr); scroll-margin-top: 0; }
.about-capt--sam { background: #fff; color: var(--text); }
.about-capt--jp { background: var(--deep); grid-template-columns: minmax(0, 1fr) calc(50% - 80px); }
.about-capt__photo { position: relative; overflow: hidden; }
.about-capt__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.about-capt--jp .about-capt__photo { grid-column: 2; grid-row: 1; }
.about-capt--jp .about-capt__photo img { object-position: 50% 32%; }
/* Sam: the photo fills the section height, so it is cropped at the sides. Keep his face and the snook's head. */
.about-capt--sam .about-capt__photo img { object-position: 62% 35%; }
.about-capt__photo figcaption { position: absolute; inset: auto 0 0 0; padding: 48px 24px 20px; background: linear-gradient(to top, rgba(0, 9, 66, .8), rgba(0, 9, 66, 0)); }
.about-capt__text { padding: 110px max(var(--pad), calc((100vw - 1280px) / 2)) 110px 120px; }
.about-capt--jp .about-capt__text { grid-column: 1; grid-row: 1; padding-inline: max(var(--pad), calc((100vw - 1280px) / 2)) 120px; }
.about-capt__text > * { max-width: 600px; }
.about-capt--sam h2 { color: var(--deep); }
.about-capt .eyebrow { margin-top: 8px; font-size: 13px; letter-spacing: .12em; }
.about-capt--sam .eyebrow { color: var(--ra-coral-text); }
.about-capt__bio { margin-top: 20px; font-size: 18px; line-height: 1.65; }
.about-capt__bio + .about-capt__bio { margin-top: 16px; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); column-gap: 20px; margin-top: 34px; }
.about-facts div { border-top: 1px solid currentColor; padding-top: 16px; }
.about-capt--sam .about-facts div { border-top-color: var(--deep); }
.about-facts dt { font: 800 clamp(30px, calc(23.3px + 1.714vw), 48px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.about-capt--sam .about-facts dt { color: var(--deep); }
.about-facts dd { margin-top: 6px; font-size: 14px; line-height: 1.45; }
.about-capt--sam .about-facts dd { color: var(--ra-muted); }

/* ---------- boats ---------- */
.about-boats { padding-block: 120px 118px; }
.about-boats__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-top: 56px; }
.about-boat { scroll-margin-top: 24px; }
.about-boat__photo { position: relative; aspect-ratio: 630 / 420; overflow: hidden; }
.about-boat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The aerial is cropped in tighter than "cover" in the Figma (123% wide, shifted up and left). */
.about-boat__photo--zoom img { inset: auto; left: -11.65%; top: -20.74%; width: 123.3%; height: 142.92%; max-width: none; }
.about-boat h3 { margin-top: 32px; font-size: 48px; line-height: 1; }
.about-boat p { max-width: 600px; margin-top: 12px; font-size: 17px; line-height: 1.6; }
.about-specs { margin-top: 24px; border-top: 1px solid #fff; }
.about-specs div { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; min-height: 58px; padding-block: 8px; border-bottom: 1px solid #fff; }
.about-specs dt { font-weight: 500; font-size: 13px; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; }
.about-specs dd { font-size: 17px; line-height: 1.45; }
/* Side by side, the two boats share rows so the spec lines start at the same height
   whichever description is longer. */
@media (min-width: 768px) {
  .about-boats__row { grid-template-rows: repeat(4, auto); }
  .about-boat { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
  .about-specs { align-self: start; }
}

/* ---------- gear ---------- */
.about-gear { background: #fff; color: var(--text); padding-block: 120px; scroll-margin-top: 0; }
.about-gear h2 { color: var(--deep); }
.about-gear__lead { max-width: 640px; margin-top: 16px; font-size: 18px; line-height: 1.45; }
.about-gear__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 295px)); column-gap: 30px; margin-top: 48px; }
.about-gear__cols > div { border-top: 1px solid var(--deep); padding-top: 19px; }
.about-gear h3 { font: 600 18px/1.45 var(--body); color: var(--deep); }
.about-gear ul { margin-top: 10px; display: grid; row-gap: 12px; font-size: 17px; line-height: 25px; }

/* ---------- award band ---------- */
.about-award { background: var(--ra-light); color: var(--text); padding-block: 90px 86px; }
.about-award__in { display: grid; grid-template-columns: 324px minmax(0, 640px); column-gap: 56px; align-items: start; }
.about-award__badge { width: 324px; height: auto; }
.about-award h2 { margin-top: 6px; font-size: 48px; line-height: 1; color: var(--deep); }
.about-award p { margin-top: 12px; font-size: 18px; line-height: 1.45; }
.about-award__more { display: inline-block; margin-top: 14px; font-weight: 500; font-size: 15px; line-height: 22px; color: var(--ra-coral-text); }
.about-award__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-capt--sam :focus-visible, .about-gear :focus-visible, .about-award :focus-visible { outline-color: var(--deep); box-shadow: 0 0 0 6px #fff; }

/* ---------- closing ---------- */
.about-close { --ra-x: 40px; --ra-pos: 17% 50%; --ra-pos-phone: 50% 50%; }

/* Below 1440 the copy column is taller and the photo column narrower, so less of the photo's width shows.
   His face comes first; the snook's head runs off the edge. */
@media (max-width: 1439px) { .about-capt--sam .about-capt__photo img { object-position: 62% 35%; } }

@media (max-width: 1279px) {
  .about-capt--sam .about-capt__photo img { object-position: 62% 35%; }
  .about-capt__text { padding-left: 64px; }
  .about-capt--jp .about-capt__text { padding-right: 64px; }
  .about-capt { grid-template-columns: 44% minmax(0, 1fr); }
  .about-capt--jp { grid-template-columns: minmax(0, 1fr) 44%; }
  .about-close { --ra-x: 0px; }
}

@media (max-width: 1023px) {
  /* tablet: photo band on top, copy under it (the two-paragraph bios are too long for a half-width column) */
  .about-capt, .about-capt--jp { grid-template-columns: minmax(0, 1fr); }
  .about-capt__photo, .about-capt--jp .about-capt__photo { grid-column: 1; grid-row: 1; height: clamp(340px, 46vw, 460px); }
  .about-capt--sam .about-capt__photo img { object-position: 62% 30%; }
  .about-capt__text, .about-capt--jp .about-capt__text { grid-column: 1; grid-row: 2; }
  .about-capt__text > * { max-width: 640px; }
  .about-capt__text, .about-capt--jp .about-capt__text { padding: 56px var(--pad) 64px; }
  .about-facts dt { font-size: 40px; }
  .about-boats, .about-gear { padding-block: 80px; }
  .about-boat h3 { font-size: 40px; }
  .about-specs div { grid-template-columns: 120px minmax(0, 1fr); }
  .about-specs a { display: inline-block; padding-block: 12px; }
  .about-gear__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .about-award { padding-block: 64px 53px; }
  .about-award__in { grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; }
  .about-award__badge { width: 240px; }
  .about-award h2 { font-size: 40px; }
  .about-award__more { padding-block: 11px; margin-top: 3px; }
}

@media (max-width: 767px) {
  .about-film { padding-block: 32px; }
  .about-film__frame { aspect-ratio: 390 / 219; }
  .about-film__label { bottom: 11px; font-size: 12px; line-height: 16px; }

  .about-capt, .about-capt--jp { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .about-capt__photo, .about-capt--jp .about-capt__photo { grid-column: 1; grid-row: 1; height: 300px; }
  .about-capt__photo img { object-position: 50% 50%; }
  /* Figma 370:22: a slight zoom, face and snook both in the 300px band */
  .about-capt--sam .about-capt__photo img { object-position: 62% 30%; }
  .about-capt__photo figcaption { padding: 40px 24px 14px; }
  .about-capt__text, .about-capt--jp .about-capt__text { grid-column: 1; grid-row: 2; padding: 40px 24px 60px; }
  .about-capt .eyebrow { margin-top: 6px; font-size: 12px; }
  .about-capt__bio { margin-top: 16px; font-size: 16px; line-height: 1.6; }
  .about-capt__bio + .about-capt__bio { margin-top: 12px; }
  .about-facts { grid-template-columns: minmax(0, 118fr) minmax(0, 100fr) minmax(0, 100fr); column-gap: 12px; margin-top: 20px; }
  .about-facts div { padding-top: 11px; }
  .about-facts dd { margin-top: 8px; font-size: 12px; }

  .about-boats { padding-block: 56px; }
  .about-boats__row { grid-template-columns: minmax(0, 1fr); row-gap: 44px; margin-top: 24px; }
  .about-boat__photo { aspect-ratio: 342 / 228; }
  .about-boat h3 { margin-top: 20px; font-size: 32px; }
  .about-boat p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
  .about-specs { margin-top: 13px; }
  .about-specs div { grid-template-columns: 110px minmax(0, 1fr); min-height: 46px; padding-block: 0; }
  .about-specs dt { font-size: 12px; }
  .about-specs dd { font-size: 15px; }

  .about-gear { padding-block: 56px 68px; }
  .about-gear__lead { margin-top: 10px; font-size: 16px; }
  .about-gear__cols { column-gap: 12px; row-gap: 24px; margin-top: 20px; }
  .about-gear__cols > div { padding-top: 13px; }
  .about-gear h3 { font-size: 16px; }
  .about-gear ul { margin-top: 5px; row-gap: 8px; font-size: 14px; line-height: 1.4; }

  .about-award { padding-block: 48px 37px; }
  .about-award__in { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .about-award__badge { width: 240px; }
  .about-award h2 { margin-top: 0; font-size: 32px; }
  .about-award p { margin-top: 10px; font-size: 16px; }
}

/* ---------- client review photos (2026-11-23) ---------- */
.about-boat__photo--path img { object-position: 50% 62%; }
/* Gear: two photos in the space beside the heading and lead. */
.about-gear__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.about-gear__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) {
  .about-gear .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: 56px; align-items: start; }
  .about-gear .wrap > * { grid-column: 1 / -1; }
  .about-gear .wrap > h2, .about-gear .wrap > .about-gear__lead { grid-column: 1; }
  .about-gear .wrap > .about-gear__photos { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
@media (max-width: 767px) { .about-gear__photos { gap: 8px; margin-top: 28px; } }
