/* Editorial direction: black ground, full-color photographs, Fat Frank yellow. */
:root { --amm-gutter: clamp(20px, 3.2vw, 56px); --amm-line: rgba(180,172,159,.27); }
:root[data-mode="light"] { --amm-line: rgba(74,69,61,.25); }
html { scroll-padding-top: 110px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amm-accent); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); z-index: 100; padding: 14px; background: var(--amm-accent); color: #0a0a09; font: 1rem var(--amm-mono); }
.skip-link:focus { transform: none; }
.site-header { padding-block: 17px; background: var(--amm-bg); border-bottom: 1px solid var(--amm-line); gap: 20px; }
.wordmark { font-size: clamp(20px, 1.8vw, 28px); letter-spacing: .015em; line-height: 1.2; }
.site-nav { gap: clamp(16px, 2vw, 30px); font-size: .75rem; letter-spacing: .08em; }
.site-nav > a { padding-block: 10px; position: relative; }
.site-nav > a[aria-current="page"]::after { content: ''; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; background: var(--amm-accent); }
.social { gap: 12px; }
.social a { min-width: 28px; min-height: 36px; align-items: center; justify-content: center; }
.section-bar { border-top: 1px solid var(--amm-line); padding-top: 18px; margin-bottom: 34px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.section-bar h2 { margin: 0; color: var(--amm-accent); font-size: clamp(28px, 4vw, 60px); line-height: 1; }
.section-bar > span { font: .75rem/1.6 var(--amm-mono); color: var(--amm-muted); text-transform: uppercase; letter-spacing: .08em; }
.site-footer { border-top: 1px solid var(--amm-line); padding-top: 28px; font-size: .75rem; letter-spacing: .05em; color: var(--amm-muted); }
.site-footer a { color: var(--amm-muted); }
/* A gallery reads in rows, with full photographs and room between sequences. */
.page { padding-top: 118px; }
.editorial-head h1, .section-bar h2, .section-head { font-weight: 400; }
.editorial-head { display: block; padding-bottom: 52px; }
.editorial-head h1 { font-size: clamp(54px, 10.7vw, 174px); line-height: .88; letter-spacing: -.025em; }
.rule-link { font-size: .75rem; }
.masonry { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; column-gap: clamp(18px, 3vw, 48px); row-gap: clamp(38px, 6vw, 96px); padding: 0 var(--amm-gutter); max-width: 1800px; margin-inline: auto; }
.masonry figure { grid-column: span 6; margin: 0; position: relative; overflow: visible; background: none; }
.masonry img { background: #141413; }
.masonry--live figure:nth-child(-n+3),
.masonry--live figure:nth-child(8),
.masonry--live figure:nth-child(9),
.masonry--live figure:nth-child(10) { grid-column: span 4; }
.masonry--live figure:nth-child(4),
.masonry--live figure:nth-child(7),
.masonry--live figure:nth-child(14),
.masonry--live figure:nth-child(17) { grid-column: span 7; }
.masonry--live figure:nth-child(5),
.masonry--live figure:nth-child(6),
.masonry--live figure:nth-child(15),
.masonry--live figure:nth-child(16) { grid-column: span 5; }
.masonry--live figure:nth-child(11),
.masonry--live figure:nth-child(22) { grid-column: 1 / -1; }
.masonry--live figure:nth-child(18),
.masonry--live figure:nth-child(20) { grid-column: span 4; }
.masonry--live figure:nth-child(19),
.masonry--live figure:nth-child(21) { grid-column: span 8; }
.masonry--portraits figure { grid-column: span 4; }
.masonry--portraits figure:nth-child(n+7):nth-child(-n+10),
.masonry--portraits figure:nth-child(17),
.masonry--portraits figure:nth-child(18) { grid-column: span 6; }
.masonry--portraits figure:nth-child(14) { grid-column: 1 / -1; }
.masonry--portraits figure:nth-child(15),
.masonry--portraits figure:nth-child(16) { grid-column: span 6; }
.gallery-open { width: 100%; display: block; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; }
.portrait-strip { margin: clamp(38px, 6vw, 96px) var(--amm-gutter) 0; background: transparent; }
.portrait-strip img { background: #141413; }
.lightbox { padding: 70px 90px 90px; }
.lightbox .lb-esc { top: 20px; right: 24px; transform: none; color: var(--amm-fg); font-size: .875rem; letter-spacing: 0; }
.lightbox .lb-count { bottom: 28px; left: 30px; color: var(--amm-accent); font-size: .875rem; }
.lb-caption { position: absolute; bottom: 28px; right: 30px; max-width: 65%; text-align: right; font: .75rem/1.6 var(--amm-mono); color: var(--amm-muted); }
/* Video */
.video-section-bar { margin: 34px var(--amm-gutter); }
.reels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 var(--amm-gutter); }
.reel-meta .label, .reel-hover .cap { font-size: .75rem; }
.reel-meta .stats { font-size: .875rem; letter-spacing: 0; }
.reel-play { border: 1px solid rgba(239,235,227,.65); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.note { font-size: .75rem; color: var(--amm-muted); line-height: 1.7; letter-spacing: .04em; margin-top: 20px; }
.section-head { border-top: 1px solid var(--amm-line); padding-top: 18px; margin-top: 90px; font-size: clamp(28px, 4vw, 60px); line-height: 1; }
.films { gap: 28px; }
.recaps--compact { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 24px; }
.recaps--compact video { object-fit: contain; }
.recaps--compact figcaption { padding-top: 12px; font: .875rem/1.5 var(--amm-mono); color: var(--amm-accent); }
#view-video .editorial-head { padding-bottom: 22px; }
#view-video .section-head { margin-top: 56px; }
/* Home uses its original edge-to-edge slideshow and overlay header. */
body[data-view="home"] { --amm-gutter: 34px; }
body[data-view="home"] .site-header { padding: 26px var(--amm-gutter); gap: 24px; background: var(--amm-header); border: 0; }
body[data-view="home"] .wordmark { font-size: clamp(22px, 2.6vw, 36px); letter-spacing: .06em; line-height: normal; }
body[data-view="home"] .site-nav { width: auto; gap: 28px; font-size: 11px; letter-spacing: .2em; }
body[data-view="home"] .site-nav > a { padding-block: 0; }
body[data-view="home"] .social { display: flex; gap: 16px; }
body[data-view="home"] .social a { min-width: 0; min-height: 0; }
body[data-view="home"] .site-footer { border: 0; padding: 26px var(--amm-gutter) 40px; font-size: 10px; letter-spacing: .22em; color: var(--amm-dim); }
body[data-view="home"] .site-footer a { color: var(--amm-dim); }
@media (max-width: 1100px) {
  .social { display: none; }
}
/* Keep the header in the document flow on phones/tablets: its height can
   grow with text size without covering a heading or the first photograph. */
@media (max-width: 1000px) {
  :root, body[data-view="home"] { --amm-gutter: clamp(16px, 4.1vw, 30px); }
  html { scroll-padding-top: 116px; }
  .site-header, body[data-view="home"] .site-header {
    position: sticky; top: 0; flex-wrap: wrap; gap: 0;
    padding: 10px var(--amm-gutter) 0;
    background: var(--amm-bg); border-bottom: 1px solid var(--amm-line);
  }
  .wordmark, body[data-view="home"] .wordmark {
    display: flex; align-items: center; min-height: 40px;
    font-size: clamp(20px, 6.2vw, 28px); line-height: 1.2; letter-spacing: .015em;
  }
  .site-nav, body[data-view="home"] .site-nav {
    width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 8px;
    font-size: clamp(10px, 2.9vw, 12px); letter-spacing: .04em;
  }
  .site-nav > a, body[data-view="home"] .site-nav > a {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 2px;
  }
  .social, body[data-view="home"] .social { display: none; }
  .hero { height: calc(100svh - 95px); min-height: 320px; }
  .hero-hint { display: none; }
  .hero-dots { left: var(--amm-gutter); right: var(--amm-gutter); bottom: 8px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
  .hero-dots button { position: relative; width: 100%; height: 44px; background: transparent; }
  .hero-dots button::after { content: ''; position: absolute; left: 50%; top: 21px; width: 16px; height: 2px; transform: translateX(-50%); background: var(--amm-fg); }
  .hero-dots button.is-current::after { background: var(--amm-accent); }
  .page { padding: 32px 0 48px; }
  .editorial-head { padding-bottom: 28px; }
  .editorial-head h1, .contact h1 { font-size: clamp(40px, 11.5vw, 92px); line-height: .95; }
  .section-bar { flex-wrap: wrap; gap: 10px; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; align-items: start; }
  .masonry.masonry--live figure, .masonry.masonry--portraits figure { grid-column: span 1; }
  .portrait-strip { margin-top: 28px; }
  .contact { padding-top: 32px; padding-bottom: 48px; }
  .contact h1 { margin-bottom: 28px; }
  .contact-links a { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; }
  .contact-label { grid-column: 1 / -1; }
  .lightbox { padding: 64px 16px 132px; }
  .lightbox .lb-esc { top: 8px; right: 8px; min-height: 44px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; width: 48px; height: 48px; background: var(--amm-bg); }
  .lightbox .lb-prev { left: 16px; }
  .lightbox .lb-next { right: 16px; }
  .lightbox .lb-count { left: 50%; bottom: max(32px, calc(env(safe-area-inset-bottom) + 16px)); transform: translateX(-50%); font-size: .75rem; }
  .lb-caption { left: 16px; right: 16px; bottom: max(78px, calc(env(safe-area-inset-bottom) + 62px)); max-width: none; text-align: center; font-size: .75rem; }
  #view-video .editorial-head { padding-bottom: 0; }
  .video-section-bar { margin-block: 26px 20px; }
  #view-video .section-head { margin-block: 36px 20px; }
  .section-bar h2, .section-head { font-size: clamp(26px, 5vw, 40px); }
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .reel-meta { padding: 10px; gap: 6px; }
  .reel-meta .stats { flex-direction: column; gap: 3px; font-size: .75rem; letter-spacing: 0; }
  .reel-play { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 11px; }
  .reel-hover { display: none; }
  .recaps--compact { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 16px; }
  .recaps--compact figcaption { padding-top: 8px; font-size: .75rem; }
  .films { grid-template-columns: 1fr; gap: 20px; }
  .site-footer, body[data-view="home"] .site-footer {
    padding: 20px var(--amm-gutter) max(20px, env(safe-area-inset-bottom));
    gap: 4px 20px; border-top: 1px solid var(--amm-line);
    color: var(--amm-muted); font-size: 10px; letter-spacing: .04em;
  }
  .site-footer a, body[data-view="home"] .site-footer a {
    display: inline-flex; align-items: center; min-height: 44px; color: var(--amm-muted);
  }
  .site-footer > span { display: flex; align-items: center; min-height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
/* Phone galleries are a sequence of full photographs, not tiny pairs. */
@media (max-width: 560px) {
  .masonry { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .masonry.masonry--live figure, .masonry.masonry--portraits figure { grid-column: 1 / -1; }
  .portrait-strip { margin-top: 24px; }
  .contact-body { gap: 24px; padding-top: 0; }
  .contact-photo { max-width: 200px; }
  .reels { gap: 12px; }
  /* Leave room for navigation and the footer without the old full-height crop. */
  .hero { height: calc(100svh - 180px); min-height: 360px; }
  .hero img:nth-of-type(7) { object-position: 68% 45%; }
}
@media (max-width: 1000px) and (orientation: landscape) {
  .hero { height: calc(100svh - 95px); min-height: 240px; }
}
