@charset "UTF-8";

:root {
  color-scheme: light;
  --page-background: #ffffff;
  --text: #000000;
  --visited: #777777;
  --content-width: 1007px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

a {
  color: var(--text);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:visited {
  color: var(--visited);
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  transform: translateY(-200%);
  background: #ffffff;
  border: 2px solid #000000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100%, calc(var(--content-width) + 32px));
  margin: 0 auto;
  padding: 10px 16px 32px;
}

.site-header {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(36px, 7vw, 100px);
  min-height: 22px;
}

.site-name {
  margin: 0;
  font: inherit;
}

.primary-nav,
.archive-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
}

.primary-nav a,
.archive-links a {
  text-align: center;
}

.hero {
  position: relative;
  left: 50%;
  width: min(65vw, 120vh);
  margin: clamp(34px, 5vw, 68px) auto 30px;
  transform: translateX(-50%);
}

.hero picture {
  display: block;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 0 auto;
  border: 1px solid #000000;
  object-fit: contain;
}

@media (max-width: 700px),
  (orientation: landscape) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .site-shell {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    padding: 16px 16px 28px;
  }

  .site-shell > main {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }

  .site-header {
    display: block;
  }

  .site-name {
    margin-bottom: 12px;
  }

  .primary-nav,
  .archive-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .primary-nav a,
  .archive-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 4px 1px;
    font-size: 12px;
    line-height: 1;
  }

  .hero {
    position: static;
    width: auto;
    margin: 0 auto 18px;
    transform: none;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }

}

@media (orientation: landscape) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .site-shell {
    padding: 10px 16px;
  }

  .site-shell > main {
    padding: 6px 0;
  }

  .site-name {
    margin-bottom: 6px;
  }

  .hero {
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .skip-link {
    transition: transform 120ms ease;
  }
}

/* KYNAN_NO_HOVER_UNDERLINES_20260726
   Match the videography navigation: hover may change colour, but never underline. */
a:hover,
a:focus-visible {
  text-decoration: none;
}

/* iPad portrait hero repair: 2026-08-15 */
@media (orientation: portrait) and (min-width: 701px) and (max-width: 900px) {
  .hero {
    position: static;
    left: auto;
    width: 100%;
    margin: clamp(34px, 5vw, 68px) auto 30px;
    transform: none;
  }

  .hero-image {
    margin-inline: auto;
  }
}
