/* Values measured from jk7photo.mypixieset.com on Oct 27, 2026. See DESIGN.md. */
:root {
  --bg: #ffffff;
  --text: #373737;
  --head: #434343;
  --muted: #797979;
  --line: #d9d9d9;
  --gutter: 48px;
  --hdr-h: 100px;
  --gap: 30px;
  /* Quincy CF is licensed through Pixieset. Fraunces stands in until Joe buys a web license. */
  --display: 'Quincy CF', 'Fraunces', Georgia, serif;
  /* Fraunces weights that match Quincy CF's stroke ink, measured on the live site:
     Quincy 100 (page and section titles) = Fraunces 330, Quincy 300 (hero titles) = Fraunces 360.
     If Joe licenses Quincy CF, set these back to 100 and 300. */
  --w-thin: 330;
  --w-light: 360;
  --ui: 'Work Sans', system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/24px var(--ui);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; }

.display, .slide-title, .info h2, .page-title, .sec-h, .rate h4, .book-title {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-optical-sizing: auto;
}

.btn {
  display: inline-block;
  background: var(--head);
  color: #fff;
  font: 600 14px/28px var(--ui);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 11px 40px;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.btn:hover { background: #2b2b2b; }

/* ---------- header ---------- */
.hdr {
  position: relative;
  z-index: 20;
  height: var(--hdr-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}
.hdr-side { display: flex; align-items: center; gap: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 15px;
  font: 500 12px/12px var(--ui);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--head);
  transition: opacity 0.2s ease-out;
}
.hdr-left .nav-link:first-child { padding-left: 0; }
.nav-link:hover { opacity: 0.6; }
.nav-link[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.caret { width: 8px; height: 5px; }
.out { width: 8px; height: 8px; flex: none; }
.back { width: 11px; height: 9px; flex: none; }
.hdr-left .back-link { margin-right: 14px; padding-right: 20px; border-right: 1px solid var(--line); }
.hdr-mobile .back-link { padding: 3px 0; }
@media (max-width: 359px) {
  .hdr-mobile .back-link { font-size: 0; gap: 0; padding: 8px 4px; } /* arrow only on the narrowest phones */
  .hdr-mobile .back { width: 14px; height: 12px; }
}
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 500 17px/33px var(--ui);
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  color: var(--head);
  transition: color 0.2s ease-out;
}
.logo-tag { font: 500 9px/1 var(--ui); letter-spacing: 0.34em; color: var(--muted); text-transform: uppercase; margin-top: -4px; }
/* Booking sits in the header on every page. */
.btn-book { margin-left: 15px; padding: 9px 26px; font-size: 12px; line-height: 16px; letter-spacing: 2.4px; }
.hdr-mobile { display: none; align-items: center; gap: 16px; }
.hdr-mobile .btn-book { margin: 0; padding: 7px 16px; font-size: 11px; }

.dd { position: relative; display: flex; align-items: center; } /* flex: no stray line box pushing the toggle down */
.dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 150px;
  padding: 12px 0;
  text-align: center;
  background: var(--bg);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: all 0.2s ease-out;
}
.dd-menu a {
  display: block;
  padding: 6px 22px;
  font: 400 14px/22px var(--ui);
  text-transform: capitalize;
  color: var(--muted);
  transition: opacity 0.3s ease-in-out;
}
.dd-menu a:hover, .dd-menu a[aria-current] { color: var(--head); }
.dd:hover .dd-menu, .dd.is-open .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dd-up .dd-menu { top: auto; bottom: calc(100% + 10px); }

.burger { display: none; width: 28px; height: 20px; position: relative; }
.burger span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--head);
  transition: all 0.3s ease-in-out;
}
.burger span:first-child { top: 5px; }
.burger span:last-child { bottom: 5px; }

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.overlay-menu.is-open { opacity: 1; }
.overlay-menu[hidden] { display: none; }
.overlay-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.overlay-menu nav > a, .overlay-menu summary {
  font: 500 14px/1 var(--ui);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--head);
  list-style: none;
  cursor: pointer;
}
.overlay-menu summary::-webkit-details-marker { display: none; }
.overlay-menu details { text-align: center; }
.overlay-menu details a {
  display: block;
  margin-top: 16px;
  font: 400 15px/1 var(--ui);
  text-transform: capitalize;
  color: var(--muted);
}
.overlay-close {
  position: absolute;
  top: 22px;
  right: 18px;
  font: 300 34px/1 var(--ui);
  color: var(--head);
  width: 44px;
  height: 44px;
}

/* ---------- home: slider ---------- */
.slider {
  position: relative;
  height: calc(100vh - var(--hdr-h));
  height: calc(100svh - var(--hdr-h));
  min-height: 520px;
  overflow: hidden;
  background: #111;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.slide.is-current { opacity: 1; z-index: 2; }
.slide-photo, .slide-shade { position: absolute; inset: 0; }
.slide-photo { background: center / cover no-repeat; }
.slide-content {
  position: relative;
  height: 100%;
  padding: 60px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: #fff;
}
.slide-counter {
  font: 500 12px/14.4px var(--ui);
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.slide-counter .sep { margin: 0 2px; }
.slide-title {
  font-weight: var(--w-light);
  font-size: clamp(38px, 6.35vw, 65px);
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 820px;
}
.slide-content .btn { margin-top: 41px; }
.slide-arrow {
  position: absolute;
  z-index: 3;
  bottom: 187px;
  width: 49px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: color 0.2s ease-out, opacity 0.2s ease-out;
}
.slide-arrow svg { width: 12px; height: 22px; }
.slide-arrow:hover { opacity: 0.7; }
.slide-arrow.prev { left: 30px; }
.slide-arrow.next { right: 30px; }

/* ---------- home: about ---------- */
.info {
  margin-top: 48px;
  height: 750px;
  padding: 80px 24px 48px;
  background: center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #fff;
}
.info h2 {
  max-width: 528px;
  font-weight: var(--w-thin);
  font-size: clamp(28px, 3.8vw, 38.7px);
  line-height: 1;
}
.info p { max-width: 528px; }

/* ---------- galleries ---------- */
.gal { padding: 0 var(--gutter) 64px; }
.page-title {
  text-align: center;
  font-weight: var(--w-thin);
  font-size: clamp(38px, 4.9vw, 50px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--head);
  margin-bottom: 48px;
}
.sec-h { text-align: center; font-weight: var(--w-thin); color: var(--head); line-height: 1.1; }
.sec-h1 { font-size: clamp(38px, 4.9vw, 50px); letter-spacing: -0.02em; }
.sec-h2 { font-size: clamp(30px, 3.8vw, 38.7px); }
.sec-h3 { font-size: clamp(27px, 3.25vw, 33.1px); letter-spacing: -0.01em; }
.gal-sec + .gal-sec { margin-top: 92px; }
.gal-sec .sec-h { margin-bottom: 18px; }
.gal-sec .sec-h:has(+ .justified) { margin-bottom: 30px; }

.masonry { margin: 0 calc(var(--gap) / -2); columns: 3; column-gap: 0; }
.masonry.is-laid { columns: auto; position: relative; }
.masonry.is-laid .ph { position: absolute; }
.ph { display: block; padding: calc(var(--gap) / 2); break-inside: avoid; cursor: zoom-in; }
.ph img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; background: #f3f3f3; }
html.js .ph { opacity: 0; transition: opacity 0.2s linear; }
html.js .ph.is-visible { opacity: 1; }

.justified { display: flex; flex-wrap: wrap; gap: var(--gap); }
.justified .ph { padding: 0; width: calc(33.333% - var(--gap)); }
.justified.is-laid { display: block; position: relative; }
.justified.is-laid .ph { position: absolute; width: auto; overflow: hidden; }
.justified.is-laid .ph img { width: 100%; height: 100%; aspect-ratio: auto; }

.stacked { width: 66.667%; margin: 0 auto; display: flex; flex-direction: column; gap: var(--gap); }
.stacked .ph { padding: 0; }

/* Joe's per-section tweaks from /admin. Columns and row heights for size are in site.js. */
.gal-sec.sp-tight { --gap: 8px; }
.gal-sec.sp-wide { --gap: 60px; }
.masonry.size-small { columns: 4; }
.masonry.size-large { columns: 2; }
.stacked.size-small { width: 50%; }
.stacked.size-large { width: 100%; }

.video { width: 66.667%; margin: 0 auto 30px; aspect-ratio: 16 / 9.04; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* portraits: booking card */
.book { margin-top: 80px; }
.book .sec-h { margin-bottom: 48px; }
.book-card {
  display: grid;
  grid-template-columns: 165px 1fr 159px;
  align-items: center;
  gap: 39px;
  color: var(--head);
}
.book-photo { width: 165px; height: 165px; overflow: hidden; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-in-out; }
.book-card:hover .book-photo img { transform: scale(1.06); }
.book-title { font-weight: var(--w-thin); font-size: clamp(26px, 3.25vw, 33.1px); line-height: 1.1; }
.book-arrow { justify-self: end; color: var(--muted); transition: color 0.3s ease-in-out; }
.book-arrow svg { width: 10px; height: 18px; }
.book-card:hover .book-arrow { color: var(--head); }

/* sports: rates */
.rates { margin-top: 80px; }
.rates .sec-h { margin-bottom: 48px; }
.rates-row { --cols: 4; --cg: var(--gap); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap) var(--cg); }
/* Fixed column widths, centered: 3 rates sit in the middle, and an odd last card centers instead of hanging left. */
.rates-row > .rate { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--cg)) / var(--cols)); min-width: 0; }
/* A placeholder tag on a centered title gets its own line, so the title itself stays centered. */
.rates .sec-h .filler, .page-title .filler { display: table; margin: 14px auto 0; }
.rate p { color: var(--muted); }
.rate-n { margin-bottom: 24px; }
.rate h4 { font-weight: var(--w-thin); font-size: 27.4px; line-height: 30px; letter-spacing: 0.01em; color: var(--head); margin-bottom: 24px; }
.rate-price { margin-bottom: 24px; }

/* ---------- contact ---------- */
.c-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  padding: 48px var(--gutter);
  align-items: center;
}
.c-text { text-align: center; color: var(--muted); display: grid; gap: 24px; }
.c-text a { transition: color 0.2s ease-out; }
.c-text a:hover { color: var(--head); }
.c-photo img { width: 100%; }
.c-form-block { padding: 49px var(--gutter); background: center / cover no-repeat; }
.c-card { background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; }
.c-card-r { display: flex; justify-content: center; padding: 80px 30px; }
.c-form { width: 100%; max-width: 277px; display: grid; gap: 30px; }
.c-form label { display: grid; gap: 15px; font: 400 13px/18px var(--ui); color: var(--head); }
.c-form label i { font-style: normal; color: var(--muted); }
.c-card-l { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 80px 48px; color: var(--muted); }
.c-card-l .sec-h { text-align: left; margin: 0; }
.c-form input, .c-form textarea, .c-form select {
  width: 100%;
  padding: 18px 16px;
  font: 400 16px/20px var(--ui);
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.2s ease-out;
  resize: vertical;
}
.c-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23797979' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 16px center / 10px 6px; }
.c-form input:focus, .c-form textarea:focus, .c-form select:focus { outline: none; border-color: var(--head); color: var(--text); }
.c-form .is-invalid { border-color: #b3261e; }
.c-form .btn { justify-self: start; }
.c-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-status { font-size: 14px; color: var(--muted); min-height: 20px; margin-top: -10px; }

/* ---------- footer ---------- */
.ftr { padding: 32px var(--gutter) 48px; }
.ftr-menu { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 4px; margin-bottom: 30px; }
.ftr-menu > a, .ftr-menu .dd-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 15px;
  font: 500 12px/12px var(--ui);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--head);
  transition: opacity 0.3s ease-in-out;
}
.ftr-menu > a:hover, .ftr-menu .dd-toggle:hover { opacity: 0.6; }
.ftr-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ftr-copy { font-size: 12px; line-height: 19.2px; color: var(--muted); letter-spacing: 0; }
.ftr-social { display: flex; gap: 18px; }
.ftr-social a { color: var(--head); transition: color 0.2s ease-out; }
.ftr-social a:hover { color: var(--muted); }
.ftr-social svg { width: 18px; height: 18px; display: block; }
.to-top {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--ui);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--head);
  transition: color 0.2s ease-out;
}
.to-top svg { width: 10px; height: 6px; }
.to-top:hover { color: var(--muted); }

/* ---------- lightbox (PhotoSwipe), matched to Pixieset's white viewer ---------- */
.pswp {
  --pswp-bg: #fff;
  --pswp-placeholder-bg: #f3f3f3;
  --pswp-icon-color: #434343;
  --pswp-icon-color-secondary: #fff;
  --pswp-icon-stroke-color: #fff;
  --pswp-icon-stroke-width: 0;
  --pswp-transition-duration: 333ms;
}
.pswp__img { transition: opacity 0.3s ease-in-out; }
.pswp__button--arrow { width: 75px; }
.pswp__button--arrow .pswp__icn { width: 18px; height: 32px; margin-top: -16px; left: 28px; }
.pswp__button--arrow--next .pswp__icn { left: auto; right: 28px; }
.pswp__button--close { margin-right: 6px; }
.pswp__button:hover .pswp__icn { opacity: 0.6; }

/* ---------- v2 additions ---------- */
/* Six sport tiles under the home slider: sports leads. */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 48px var(--gutter) 0; }
.strip-item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3f3f3; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.strip-item:hover img { transform: scale(1.04); }
.strip-item span {
  position: absolute; left: 12px; bottom: 12px;
  font: 500 11px/1 var(--ui); letter-spacing: 2.2px; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Link across to the other site. */
.cross-band {
  display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 48px var(--gutter) 0; padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--muted); text-align: center;
  transition: color 0.2s ease-out;
}
.cross-band strong { color: var(--head); font-weight: 500; }
.cross-band:hover { color: var(--head); }

.book-band { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 56px 0 8px; text-align: center; color: var(--muted); }
.page-title + .rates { margin-top: 0; }

/* Jump links to each sport; stay pinned while scrolling the page. */
.chips {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 72px calc(var(--gutter) * -1) 24px; padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}
.chips a {
  padding: 8px 16px; border: 1px solid var(--line);
  font: 500 11px/1 var(--ui); letter-spacing: 2px; text-transform: uppercase; color: var(--head);
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
}
.chips a:hover { border-color: var(--head); }
.gal-sec { scroll-margin-top: 84px; }
.chips + .gal-sec { margin-top: 24px; }
.page-title + .chips { margin-top: -24px; }

/* Silent looping clips, and placeholders until Joe's files arrive. */
.reels { margin-top: 80px; }
.page-title + .reels { margin-top: 0; }
.reels .sec-h { margin-bottom: 30px; }
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.clip { margin: 0; aspect-ratio: 16 / 9; background: #f3f3f3; overflow: hidden; }
.clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 1px dashed #c9c9c9; padding: 24px; text-align: center;
}
.clip-empty figcaption { display: grid; gap: 6px; max-width: 360px; }
.clip-empty strong { font: 500 15px/1.3 var(--ui); color: var(--head); }
.clip-empty span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.video { position: relative; width: 66.667%; margin: 0 auto 30px; aspect-ratio: 16 / 9; }
.video iframe { pointer-events: none; } /* no YouTube UI; the sound button is the only control */
/* Joe's clips at their own shape (square, vertical, 4:3), one shared height per row, never cropped.
   The row is capped so it stays about 70% of the screen tall. Phones swipe through them sideways. */
.clips-sized { display: flex; align-items: flex-start; max-width: calc(var(--rowar) * 70vh); margin-inline: auto; }
.clip-sized { flex: var(--arn) 1 0; aspect-ratio: var(--ar); min-width: 0; }
.clip-sized video { object-fit: contain; background: #000; }
.gal-sec .clips-sized { margin-bottom: 30px; }

/* Under the hub rates: who Joe has shot for. */
.worked-with { margin-top: 56px; text-align: center; color: var(--muted); font-size: 15px; }
.worked-with span { font: 500 11px/1 var(--ui); letter-spacing: 0.2em; text-transform: uppercase; margin-right: 10px; }
.worked-with i { font-style: normal; margin: 0 6px; }
.rates-note { margin: 32px auto 0; max-width: 640px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Sound toggle: video starts muted (browsers require it); one tap turns Joe's audio on. */
.clip { position: relative; }
.sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease-out, transform 0.2s ease-out;
}
.sound:hover { background: rgba(0, 0, 0, 0.75); transform: scale(1.05); }
.sound svg { width: 20px; height: 20px; }
.sound .on { display: none; }
.sound[aria-pressed='true'] .on { display: inline; }
.sound[aria-pressed='true'] .off { display: none; }
.sound-demo { opacity: 0.45; pointer-events: none; }

/* Marks content Joe still has to supply. Remove the tag when the real thing goes in. */
.filler {
  display: inline-block; vertical-align: middle;
  padding: 4px 8px; margin-left: 8px;
  font: 600 10px/1 var(--ui); letter-spacing: 1.5px; text-transform: uppercase;
  color: #7a5b00; background: #fff4cc; border: 1px solid #ead68f;
}

/* Hub: the best few frames per line of work, at one shared height and uncropped. */
.hub { padding-top: 88px; }
.best + .best { margin-top: 96px; }
.best-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.best-head .sec-h { text-align: left; margin: 0; }
.best-head p { color: var(--muted); flex: 1; }
.best-title { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color 0.2s ease-out, opacity 0.2s ease-out; }
.best-title:hover { text-decoration-color: currentColor; }
.best-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px/1 var(--ui); letter-spacing: 2.4px; text-transform: uppercase; color: var(--head);
  transition: opacity 0.2s ease-out;
}
.best-link:hover { opacity: 0.6; }
.best-row { display: flex; gap: 12px; }
.best-item { display: block; min-width: 0; overflow: hidden; background: #f3f3f3; cursor: zoom-in; }
.best-item img { width: 100%; height: auto; transition: transform 0.6s ease; }
.best-item:hover img { transform: scale(1.03); }

.hub-rates { margin-top: 120px; }
.hub-rates > .sec-h { margin-bottom: 48px; }
.hub-rates-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.hub-rate .sec-h { text-align: left; margin-bottom: 20px; }
.hub-rate .filler { font-size: 9px; }
.hub-rate ul { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.hub-rate li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hub-rate li span:first-child { color: var(--head); text-transform: capitalize; }

/* From a specialty site to the other two and the hub. */
.cross-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 80px var(--gutter) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cross-row a { display: grid; gap: 6px; padding: 28px 24px; text-align: center; color: var(--muted); transition: background-color 0.2s ease-out; }
.cross-row a + a { border-left: 1px solid var(--line); }
.cross-row a:hover { background: #f7f7f7; }
.cross-row strong { display: inline-flex; justify-content: center; align-items: center; gap: 6px; font: 500 12px/1 var(--ui); letter-spacing: 2.4px; text-transform: uppercase; color: var(--head); }
.cross-row span { font-size: 14px; }

/* Hub: prints page. Reuses the hub rate list and the rate cards. */
.prints .page-title { margin-bottom: 24px; }
.prints-intro { max-width: 560px; margin: 0 auto; text-align: center; color: var(--muted); }
.prints-menu { max-width: 560px; margin: 72px auto 0; }
.prints-menu .sec-h { text-align: center; margin-bottom: 32px; }
.prints-menu li span:first-child { text-transform: none; }

/* The full nav needs room (sections left, rates/contact/book right); below this width it moves into the menu. */
@media (max-width: 1239px) {
  .hdr-side { display: none; }
  .hdr-mobile { display: flex; }
  .burger { display: block; }
  .hdr { justify-content: flex-end; }
  .overlay-menu nav .btn { margin-top: 10px; color: #fff; }
}

/* ---------- tablet ---------- */
@media (max-width: 991px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
  .stacked, .video { width: 83.333%; }
  .stacked.size-small { width: 66.667%; }
  .stacked.size-large { width: 100%; }
  .rates-row { --cols: 2; row-gap: 48px; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --hdr-h: 72px; --gap: 12px; }
  .logo { left: var(--gutter); transform: none; align-items: flex-start; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 8px; padding-top: 24px; }
  .hub { padding-top: 48px; }
  .best + .best { margin-top: 64px; }
  .best-row { flex-direction: column; gap: 8px; }
  .best-item { flex: none !important; }
  .hub-rates { margin-top: 80px; }
  .hub-rates-row { grid-template-columns: 1fr; gap: 40px; }
  .cross-row { grid-template-columns: 1fr; margin-top: 56px; }
  .cross-row a + a { border-left: 0; border-top: 1px solid var(--line); }
  /* One swipeable row, so the pinned bar stays short. */
  .chips { margin-top: 48px; gap: 6px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { flex: none; padding: 7px 11px; font-size: 10px; letter-spacing: 1.4px; }
  .gal-sec { scroll-margin-top: 64px; }
  .video { width: 100%; }
  .clips-sized { max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .clips-sized::-webkit-scrollbar { display: none; }
  /* 62% of the screen tall, but never wider than the screen (the landscape coast clips). */
  .clip-sized { flex: none; width: min(calc(62svh * var(--arn)), calc(100vw - 2 * var(--gutter))); scroll-snap-align: center; }
  .worked-with { margin-top: 40px; }
  .slide-content { padding: 48px var(--gutter); }
  .slide-content .btn { margin-top: 28px; padding: 9px 30px; }
  .slide-arrow { bottom: 50%; width: 40px; }
  .slide-arrow.prev { left: 4px; }
  .slide-arrow.next { right: 4px; }
  .info { height: 560px; padding: 56px var(--gutter) 36px; }
  .page-title { margin-bottom: 32px; }
  .gal-sec + .gal-sec { margin-top: 48px; }
  .masonry, .masonry.size-small { columns: 2; }
  .masonry.size-large { columns: 1; }
  .stacked, .video, .stacked.size-small { width: 100%; }
  .gal-sec.sp-tight { --gap: 4px; }
  .gal-sec.sp-wide { --gap: 24px; }
  .book-card { grid-template-columns: 96px 1fr 24px; gap: 20px; }
  .book-photo { width: 96px; height: 96px; }
  /* Rates sit at the top of the page now, so keep them short on phones. */
  .rates-row { --cols: 2; --cg: 20px; row-gap: 28px; }
  .rate-n, .rate h4, .rate-price { margin-bottom: 8px; }
  .rate h4 { font-size: 21px; line-height: 24px; }
  .rate p { font-size: 14px; line-height: 20px; }
  .rates .sec-h { margin-bottom: 28px; }
  .book-band { padding-top: 36px; }
  .c-intro { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
  .c-text { order: 2; }
  .c-form-block { padding: 24px var(--gutter); }
  .c-card { grid-template-columns: 1fr; }
  .c-card-l { padding: 40px 24px 0; }
  .c-card-r { padding: 40px 24px; }
  .c-form { max-width: none; }
  .ftr-row { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .ftr-copy { order: 3; }
  .to-top { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .ph, .dd-menu, .overlay-menu { transition: none !important; }
}
