/* Frank Flanagan — bold & raw artist portfolio
   Dark / near-black, strong type, image-led, mobile-first */

:root {
  --bg: #0a0a0a;
  --bg-elev: #121212;
  --bg-alt: #0f0f0f;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --text: #f2f0eb;
  --muted: #9a958c;
  --accent: #3d5c45; /* deep green from attire */
  --accent-hot: #c4a35a; /* warm grit accent */
  --danger-soft: #8b4513;
  --radius: 4px;
  --max: 1120px;
  --header-h: 64px;
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(3.2rem, 12vw, 7.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 6vw, 3.75rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h4 { font-size: 1.15rem; letter-spacing: 0; line-height: 1.2; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent-hot);
  color: #000;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin: 0 0 0.75rem;
}

.lede {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.muted { color: var(--muted); font-size: 0.9rem; }

.tbd-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.85rem;
  margin: 0.75rem 0 1rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-menu.is-open { display: flex; }

.nav-menu a {
  display: block;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  outline: none;
}
.nav-cta {
  color: var(--accent-hot) !important;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    border: none;
    padding: 0;
  }
  .nav-menu a {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--text);
  color: #0a0a0a;
}
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent-hot);
  color: var(--accent-hot);
}

.text-link {
  color: var(--accent-hot);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.35) contrast(1.08) brightness(0.55);
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 35%, rgba(10,10,10,0.92) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.25) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}
.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
  padding: 4.5rem 0;
}
.section-alt > .section-head,
.section-alt > .feature,
.section-alt > .photo-strip,
.section-alt > .photo-feature,
.section-alt > .photo-grid,
.section-alt > .podcast-panel {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.section-alt > .section-head { margin-bottom: 2.5rem; }
.section-head { margin-bottom: 2.5rem; }

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid:not(.card-grid-2) { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-tbd {
  border-style: dashed;
  border-color: #3a3a3a;
}
.card-media {
  aspect-ratio: 16 / 10;
  background: #161616;
}
.card-media-tall { aspect-ratio: 4 / 5; }
.card-body {
  padding: 1.25rem 1.15rem 1.5rem;
  flex: 1;
}
.card-body .meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      #141414,
      #141414 8px,
      #181818 8px,
      #181818 16px
    );
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
  min-height: 140px;
}

/* Feature (legacy / shared) */
.feature {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}
@media (min-width: 800px) {
  .feature {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
  }
}
.feature-media {
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 16 / 11;
}
.feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0;
}
.tag-list li {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.photo-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
.photo-cell {
  aspect-ratio: 1;
  border: 1px dashed #3a3a3a;
  border-radius: var(--radius);
  min-height: 0;
}

/* Photography — bold raw full-bleed feature + dark-bordered grid */
.section-photo {
  padding-bottom: 5rem;
}
.section-photo > .section-head {
  margin-bottom: 1.75rem;
}

.photo-feature {
  margin: 0 0 1.25rem;
  padding: 0 !important;
  max-width: none !important;
  width: 100%;
  background: #000;
  border-block: 2px solid #1f1f1f;
  position: relative;
}
.photo-feature img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: cover;
  object-position: center 45%;
  display: block;
  filter: contrast(1.06) saturate(1.05);
}
.photo-feature-caption {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  background: linear-gradient(180deg, rgba(10,10,10,0.92), var(--bg-alt));
}
.photo-feature-caption h3 {
  margin-bottom: 0.65rem;
}
.photo-feature-caption p {
  color: var(--muted);
  max-width: 40rem;
}
.photo-feature-caption strong {
  color: var(--text);
  font-weight: 700;
}

.photo-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
  padding-bottom: 0.25rem;
}
@media (min-width: 560px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}
@media (min-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }
  .photo-grid-wide {
    grid-column: span 2;
  }
  .photo-grid-tall {
    grid-row: span 2;
  }
  .photo-grid-tall img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

.photo-grid-item {
  display: block;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  border: 2px solid #1a1a1a;
  border-radius: 2px;
  text-decoration: none;
  outline-offset: 3px;
  aspect-ratio: 3 / 2;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.photo-grid-item:hover,
.photo-grid-item:focus-visible {
  border-color: var(--accent-hot);
  transform: translateY(-2px);
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
  transition: transform 0.45s var(--ease), filter 0.3s;
}
.photo-grid-item:hover img,
.photo-grid-item:focus-visible img {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1.05);
}

@media (min-width: 900px) {
  .section-photo > .photo-grid {
    max-width: min(1280px, 96vw);
  }
}

/* Podcast */
.podcast-panel {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .podcast-panel {
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
  }
}
.podcast-main,
.podcast-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.link-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* About */
.about { padding-bottom: 5rem; }
.about-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .about-grid {
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: 3rem;
    align-items: start;
  }
}
.about-photo {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  filter: contrast(1.05) saturate(0.9);
}
.bio {
  font-size: 1.15rem;
  color: var(--accent-hot);
  font-weight: 600;
}
.bio-note { color: var(--muted); max-width: 34rem; }
.contact-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.contact-block h3 { margin-bottom: 0.75rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 2rem 1.25rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-inner p { margin: 0; font-size: 0.9rem; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.peas-line {
  color: #c9a227;
  font-style: italic;
  font-weight: 600;
  margin: 0.75rem 0 1rem;
}
.featured-rotate-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
}
#featured-series-img,
#caliente-250-rotate-img {
  transition: opacity 0.45s ease;
}
#featured-series-img.is-fading,
#caliente-250-rotate-img.is-fading {
  opacity: 0.35;
}


/* Performance tile — rotating stills + overlay play */
.performance-tile {
  max-width: 920px;
}
.performance-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0d0d;
}
.performance-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: contrast(1.05) saturate(0.95);
  transition: opacity 0.45s ease;
}
.performance-media img.is-fading {
  opacity: 0.35;
}
.performance-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 7.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--accent-hot);
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  z-index: 2;
}
.performance-play:hover,
.performance-play:focus-visible {
  background: var(--text);
  color: #0a0a0a;
  outline: none;
}
.performance-play:active {
  transform: translate(-50%, -50%) translateY(1px);
}
.performance-play.is-playing {
  background: #0a0a0a;
  color: var(--accent-hot);
  border-color: var(--accent-hot);
  left: 1.1rem;
  top: auto;
  bottom: 1.1rem;
  transform: none;
}
.performance-play.is-playing:active {
  transform: translateY(1px);
}
.performance-tile audio {
  display: none;
}


.photo-grid-item img {
  transition: opacity 0.35s ease;
}
.photo-grid-item img.is-fading {
  opacity: 0.35;
}
