/* The Matt Murphy Show — murphyshow.com
   Brand colors sampled from the official logo:
   Navy #001D37  |  Red #7E1717  |  Cream #F3EAD6  |  Paper #FDFAF0
*/

:root {
  --navy: #001D37;
  --navy-deep: #001226;
  --navy-mid: #0A3052;
  --red: #7E1717;
  --red-hover: #9B1D1D;
  --cream: #F3EAD6;
  --cream-light: #FDFAF0;
  --ink: #001D37;
  --muted: #3D4A57;
  --muted-light: #5C6B78;
  --line: rgba(0, 29, 55, 0.14);
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(0, 29, 55, 0.12);
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-h: 136px;
  --max: 1140px;
  --wide: 1240px;
  --radius: 4px;
  --ease: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-hover);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--red);
  min-height: var(--header-h);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.brand img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}

.red-name {
  color: #E8333A;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: var(--ease);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(var(--header-h) + 3px);
  left: 0;
  right: 0;
  background: var(--navy-deep);
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 3px solid var(--red);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
}

.site-nav ul a {
  display: block;
  padding: 0.7rem 0.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(243, 234, 214, 0.12);
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
  color: var(--cream);
}

.site-nav ul a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--red);
  padding-left: 0.7rem;
}

.site-nav .btn {
  margin-top: 1rem;
  display: inline-flex;
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  line-height: 1.2;
}

.btn:hover {
  color: var(--white);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  color: var(--white);
  display: flex;
  flex-direction: column;
  background-color: var(--navy);
}

.hero-photo {
  flex: 1 1 auto;
  min-height: 48vh;
  background: url("../images/capitol-mobile.jpg") center 28% / cover no-repeat;
  background-color: var(--navy);
}

.hero-inner {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.25rem;
  background: var(--navy);
  flex: 0 0 auto;
}

.hero-logo {
  width: 112px;
  height: auto;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  max-width: 22em;
  margin: 0 0 1rem;
  color: var(--cream-light);
}

.hero-meta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--red);
}

/* ----- Sections ----- */

.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--wide);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.45rem;
}

.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.stars {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  color: var(--red);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  margin: 0.25rem 0 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ----- Videos ----- */

.videos {
  background: var(--cream);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 29, 55, 0.16);
  color: inherit;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(126, 23, 23, 0.92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 7.5v9l8-4.5-8-4.5z'/></svg>") center 52% / 28px no-repeat;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  opacity: 0.95;
}

.video-body {
  padding: 0.9rem 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.video-badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.video-card h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
  color: var(--navy);
}

.video-channel {
  font-size: 0.82rem;
  color: var(--muted-light);
  margin-top: auto;
}

.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ----- Videos + latest X posts ----- */

.media-split {
  display: grid;
  gap: 2.5rem;
}

.x-feed-col .section-head {
  margin-bottom: 1rem;
}

.x-feed-col .section-lead,
.x-feed-col h2 {
  max-width: none;
}

.x-feed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.x-feed-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.x-follow-btn {
  flex-shrink: 0;
}

.videos .x-feed-col {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.x-posts {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .x-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .x-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .x-posts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .x-posts .x-post-text { font-size: 0.95rem; }
  .x-posts .x-post-avatar { width: 40px; height: 40px; }
  .x-posts .x-post-handle { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.x-post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  padding: 1.1rem 1.15rem 1.15rem;
  overflow-wrap: anywhere;
}

.x-post-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.x-post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cream);
}

.x-post-byline {
  min-width: 0;
  flex: 1;
}

.x-post-names {
  line-height: 1.35;
}

.x-post-name,
.x-post-handle,
.x-post-date a {
  text-decoration: none;
}

.x-post-name {
  font-weight: 700;
  color: var(--navy);
}

.x-post-name:hover,
.x-post-handle:hover,
.x-post-date a:hover {
  color: var(--red);
}

.x-post-handle,
.x-post-date,
.x-post-date a {
  color: var(--muted-light);
}

.x-post-text {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.x-post-text a {
  overflow-wrap: anywhere;
}

.x-post-image {
  display: block;
  margin-top: 0.85rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.x-post-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.x-post-meta {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted-light);
}

.x-post-meta a {
  font-weight: 600;
  text-decoration: none;
}

.x-post-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .x-post-card {
    padding: 0.95rem 0.9rem 1rem;
  }

  .x-post-avatar {
    width: 40px;
    height: 40px;
  }
}

/* ----- Homepage Watch & Listen band ----- */

.listen-band {
  background: var(--navy);
  color: var(--white);
  padding: 1.15rem 1.25rem;
  border-bottom: 3px solid var(--red);
}

.listen-band-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.listen-band-copy .eyebrow {
  color: #E8333A;
  margin-bottom: 0.15rem;
}

.listen-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.listen-band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

.listen-band-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(243, 234, 214, 0.35);
  border-radius: var(--radius);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listen-band-links a:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.listen-band-links a.listen-band-all {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.listen-band-links a.listen-band-all:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* ----- Latest Shorts strip ----- */

.shorts-strip {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0 0.85rem;
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
}

.shorts-strip::-webkit-scrollbar {
  height: 6px;
}

.shorts-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 29, 55, 0.25);
  border-radius: 99px;
}

.shorts-loading,
.shorts-fallback-note {
  margin: 0;
  color: var(--muted);
}

.short-card {
  flex: 0 0 58vw;
  max-width: 230px;
  min-width: 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.short-play,
.short-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.short-play {
  position: relative;
  padding: 0;
  cursor: pointer;
}

.short-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.short-play-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(126, 23, 23, 0.94) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 7.5v9l8-4.5-8-4.5z'/></svg>") center 52% / 28px no-repeat;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.short-play:hover .short-play-icon,
.short-play:focus-visible .short-play-icon {
  background-color: var(--red-hover);
}

.short-card h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 0;
  color: var(--navy);
}

.shorts-playlist-fallback {
  width: min(100%, 22rem);
  aspect-ratio: 9 / 16;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shorts-playlist-fallback iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- Watch & Listen page ----- */

.listen-ondemand {
  background: var(--cream);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.platform-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease);
}

a.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 29, 55, 0.16);
  color: inherit;
}

.platform-featured {
  background: var(--navy);
  color: var(--white);
  border-top-color: #E8333A;
}

.platform-featured strong,
.platform-featured .platform-icon {
  color: var(--white);
}

.platform-featured span {
  color: var(--cream);
}

.platform-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--red);
}

.platform-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.platform-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.platform-body strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.02rem;
  color: var(--navy);
}

.platform-body > span {
  color: var(--muted);
  font-size: 0.95rem;
}

.platform-split-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.speak-line {
  display: block;
  color: var(--navy) !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  margin-top: 0.2rem;
}

.platform-featured .platform-body strong {
  color: var(--white);
}

.platform-featured .platform-body > span {
  color: var(--cream);
}

/* ----- About teaser / split ----- */

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-home {
  background: var(--cream-light);
}

/* ----- Milestone band ----- */

.milestone {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.25rem;
}

.milestone-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.milestone img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.milestone h2 {
  color: var(--white);
}

.milestone p {
  color: var(--cream);
  margin: 0 0 0.5rem;
  max-width: 36em;
}


.milestone-video {
  display: block;
  max-width: 320px;
  margin: 0 auto;
  line-height: 0;
  border-radius: var(--radius);
}

.milestone-video img {
  margin: 0;
  transition: transform var(--ease), box-shadow var(--ease);
}

.milestone-video:hover img,
.milestone-video:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.milestone a:not(.btn) {
  color: var(--cream);
}

.milestone a:not(.btn):hover,
.milestone a:not(.btn):focus-visible {
  color: var(--white);
}

.milestone .btn {
  margin-top: 0.5rem;
}

/* ----- Gallery teaser ----- */

.gallery-teaser {
  background: var(--white);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.teaser-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.teaser-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.teaser-grid a:hover img {
  transform: scale(1.05);
}

.gallery-teaser .btn {
  margin-top: 1.5rem;
}

/* ----- CTA band ----- */

.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.25rem;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 32em;
  color: var(--cream-light);
}

.cta-band .btn-outline:hover {
  color: var(--red);
}

/* ----- Footer ----- */

.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3rem 1.25rem 1.25rem;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.footer-brand p {
  margin: 0;
  line-height: 1.5;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(243, 234, 214, 0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}

.social-links a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  text-decoration: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-aside .social-links a {
  color: var(--navy);
  border-color: var(--navy);
}

.contact-aside .social-links a:hover,
.contact-aside .social-links a:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.footer-bottom {
  max-width: var(--wide);
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 234, 214, 0.15);
  font-size: 0.85rem;
  color: rgba(243, 234, 214, 0.7);
}

/* ----- Page hero (interior) ----- */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.25rem 2.25rem;
  border-bottom: 3px solid var(--red);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero p {
  margin: 0;
  max-width: 38em;
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
}

/* ----- About ----- */

.about-layout {
  display: grid;
  gap: 2rem;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.placeholder-note {
  background: var(--cream);
  border-left: 4px solid var(--red);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.placeholder-bio {
  background: #fff;
  border: 1px dashed rgba(126, 23, 23, 0.45);
  padding: 1.25rem 1.3rem 0.4rem;
  margin-bottom: 1.5rem;
}

.placeholder-bio p {
  margin: 0 0 1rem;
}

.placeholder-label {
  font-style: italic;
  color: var(--muted);
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-facts li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
}

.about-facts strong {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--red);
  padding-top: 0.15rem;
}

/* ----- Gallery page ----- */

.gallery-album {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.gallery-group {
  margin: 0;
}

.gallery-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red);
}


.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.filter-btn .count {
  opacity: 0.7;
  margin-left: 0.25rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.photo-card-wrap {
  margin: 0;
  width: 100%;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.05);
}

.photo-card figcaption,
.photo-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.7rem 0.6rem;
  background: linear-gradient(transparent, rgba(0, 18, 38, 0.85));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

.photo-card .caption:empty {
  display: none;
}

.gallery-empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 18, 38, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1.5rem;
  color: var(--white);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 8rem);
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  display: none;
}

.lightbox-counter {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--cream);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-close {
  top: 0.5rem;
  right: 0.5rem;
  font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev { left: 0.15rem; }
.lightbox-next { right: 0.15rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--cream);
}

/* ----- Contact ----- */

.contact-layout {
  display: grid;
  gap: 2.25rem;
}

.contact-form {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.optional {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  color: var(--muted-light);
  font-size: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 0;
  border-color: var(--navy);
  background: var(--white);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.form-status {
  display: none;
  margin: 0 0 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1.5;
}

.form-status.is-visible,
.form-status:target {
  display: block !important;
}

.form-status-success {
  background: var(--cream);
  border: 1px solid var(--navy);
  color: var(--navy);
}

.form-status-error {
  background: #f8ecec;
  border: 1px solid var(--red);
  color: var(--red);
}

.form-status-error a {
  color: var(--red);
  font-weight: 700;
}

.contact-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-aside h2 {
  font-size: 1.4rem;
}

.contact-aside a.email-link {
  font-size: 1.15rem;
  font-weight: 650;
  word-break: break-word;
}

.contact-aside ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 1.2rem;
}

/* ----- Utilities ----- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Desktop ----- */

@media (min-width: 720px) {
  .brand-text {
    display: flex;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shorts-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .short-card {
    flex: none;
    max-width: none;
    min-width: 0;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .platform-wide {
    grid-column: 1 / -1;
  }

  .teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .split,
  .about-layout,
  .contact-layout,
  .milestone-inner,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .milestone-inner {
    gap: 2.5rem;
  }

  .milestone img,
  .milestone-video {
    margin: 0;
  }

  .footer-inner {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .about-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .contact-form {
    padding: 2rem;
  }

  .section {
    padding: 4.5rem 1.5rem;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    border: 0;
    align-items: center;
    gap: 1.5rem;
  }

  .site-nav ul {
    display: flex;
    gap: 0.2rem;
  }

  .site-nav ul a {
    padding: 0.5rem 0.55rem;
    border: 0;
    font-size: 0.86rem;
  }

  .site-nav ul a[aria-current="page"] {
    box-shadow: none;
    padding-left: 0.75rem;
    color: var(--cream);
    position: relative;
  }

  .site-nav ul a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--red);
  }

  .site-nav .btn {
    margin-top: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 86vh;
    background-image: linear-gradient(
        90deg,
        rgba(0, 29, 55, 0.85) 0%,
        rgba(0, 29, 55, 0.62) 36%,
        rgba(0, 29, 55, 0.15) 62%,
        rgba(0, 29, 55, 0.03) 100%
      ),
      url("../images/capitol.jpg");
    background-size: cover;
    background-position: 72% 40%;
    background-repeat: no-repeat;
  }

  .hero-photo {
    display: none;
  }

  .hero-inner {
    padding: 5rem 1.5rem;
    background: transparent;
  }

  .hero-logo {
    width: 148px;
  }

  .hero-copy {
    max-width: 34rem;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shorts-strip {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-wide {
    grid-column: span 2;
  }

  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .teaser-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .split-home {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }
}

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

.brand img { filter: drop-shadow(0 0 6px rgba(255,255,255,0.35)); }
@media (max-width: 719px) { .brand img { width: 88px; height: 88px; } :root { --header-h: 104px; } }
.brand img { background: #FDFAF0; border-radius: 50%; padding: 4px; box-shadow: 0 0 0 2px #E8333A, 0 2px 10px rgba(0,0,0,0.4); filter: none; }

.about-bio p { margin: 0 0 1em; line-height: 1.65; }
.about-bio { margin-bottom: 1.5rem; }
