/*
Theme Name: Kozintcev Art
Theme URI: https://kozintcev.art
Author: Sergei Kozintsev
Description: Minimal block theme for a visual artist portfolio.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: kozintcev-art
*/

html {
  scroll-behavior: smooth;
}

body {
  background: #0e0e0e;
}

a {
  text-underline-offset: 0.18em;
}

.koz-single-media,
.koz-single-media img {
  aspect-ratio: auto !important;
  height: auto !important;
}

.koz-single-media img {
  object-fit: contain !important;
}

:root {
  --koz-bg: #020303;
  --koz-panel: #050706;
  --koz-panel-soft: #080b0a;
  --koz-ink: #f3efe6;
  --koz-muted: #a8a299;
  --koz-dim: #69665f;
  --koz-gold: #b8872b;
  --koz-gold-soft: #6d5124;
  --koz-line: rgba(184, 135, 43, 0.3);
  --koz-line-cool: rgba(201, 226, 221, 0.075);
  --koz-page-x: clamp(2.1rem, 3.45vw, 3.9rem);
  --koz-serif: Georgia, "Times New Roman", serif;
  --koz-sans: Inter, Arial, sans-serif;
}

body {
  color: var(--koz-ink);
  font-family: var(--koz-sans);
}

body .is-layout-constrained > * {
  margin-block-start: 0;
}

.koz-header,
.koz-home,
.koz-footer {
  background: var(--koz-bg);
}

.koz-header {
  align-items: flex-start;
  background: var(--koz-bg);
  box-sizing: border-box;
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 12.8rem 1fr auto;
  padding: 2.45rem var(--koz-page-x);
  position: relative;
  z-index: 10;
}

.home .koz-header {
  background: rgba(0, 0, 0, 0.48);
  left: var(--koz-page-x);
  padding-bottom: 1.4rem;
  position: absolute;
  right: var(--koz-page-x);
  top: 1.25rem;
}

.koz-logo {
  color: var(--koz-ink);
  display: inline-flex;
  flex-direction: column;
  font-family: var(--koz-serif);
  font-size: clamp(1.45rem, 1.9vw, 1.95rem);
  letter-spacing: 0;
  line-height: 1.08;
  text-decoration: none;
}

.koz-nav {
  align-items: center;
  display: flex;
  gap: clamp(1.2rem, 2vw, 2.25rem);
  justify-content: center;
  list-style: none;
  margin: 0;
  min-height: 3.05rem;
  padding: 0;
}

.koz-nav a,
.koz-footer-links a,
.koz-header-actions a {
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-decoration: none;
}

.koz-nav a {
  text-transform: none;
}

.koz-header-actions {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.koz-outline-button {
  border: 1px solid var(--koz-gold-soft);
  color: var(--koz-gold);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.18em;
  min-width: 10.3rem;
  padding: 1.05rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.koz-outline-button:hover,
.koz-outline-button:focus-visible {
  background: rgba(181, 138, 50, 0.1);
  border-color: var(--koz-gold);
  color: var(--koz-ink);
}

.koz-search {
  align-items: center;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.koz-search svg {
  fill: none;
  height: 1.15rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.4;
  width: 1.15rem;
}

.koz-home {
  overflow: hidden;
}

.koz-hero {
  align-items: flex-end;
  box-sizing: border-box;
  display: flex;
  min-height: clamp(48rem, 76vh, 56rem);
  padding: clamp(10.5rem, 18vh, 12.25rem) var(--koz-page-x) 5.1rem;
  position: relative;
}

.koz-hero::after {
  background: linear-gradient(180deg, rgba(2, 3, 3, 0) 0%, rgba(2, 3, 3, 0.18) 45%, rgba(2, 3, 3, 0.82) 100%);
  bottom: 0;
  content: "";
  height: 32%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 1;
}

.koz-hero-art {
  background:
    radial-gradient(circle at 57% 47%, rgba(130, 255, 239, 0.34), rgba(0, 0, 0, 0) 24%),
    var(--koz-hero-image, url("assets/images/hero-forest-placeholder.svg")),
    linear-gradient(180deg, #020707 0%, #061617 44%, #010302 100%);
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.koz-hero-art::before,
.koz-hero-art::after {
  content: "";
  inset: 0;
  position: absolute;
}

.koz-hero-art::before {
  background: none;
}

.koz-hero-art::after {
  background: none;
}

.koz-hero-vignette {
  background:
    radial-gradient(ellipse at 18% 54%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.24) 24%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.01) 34%, rgba(0, 0, 0, 0.06) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.01) 36%, rgba(0, 0, 0, 0.01) 100%);
  inset: 0;
  position: absolute;
}

.koz-hero-content {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 54%, rgba(0, 0, 0, 0) 100%);
  box-sizing: border-box;
  margin-bottom: clamp(0.5rem, 3vh, 2rem);
  max-width: 33.5rem;
  padding: 1.4rem 3rem 1.6rem 0;
  position: relative;
  z-index: 2;
}

.koz-kicker,
.koz-card-label {
  color: var(--koz-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.koz-hero h1,
.koz-works h2,
.koz-recognition h2,
.koz-cta h2 {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-weight: 400;
  letter-spacing: 0;
}

.koz-hero h1 {
  font-size: clamp(3.8rem, 5.15vw, 5.75rem);
  line-height: 0.91;
  margin: 1.25rem 0 0;
}

.koz-rule {
  background: var(--koz-gold);
  height: 1px;
  margin: 2.1rem 0 1.65rem;
  width: 3.25rem;
}

.koz-hero-copy {
  color: rgba(243, 239, 230, 0.82);
  font-family: var(--koz-serif);
  font-size: clamp(1.16rem, 1.45vw, 1.42rem);
  line-height: 1.72;
  margin: 0 0 4.7rem;
}

.koz-link-arrow {
  color: var(--koz-gold);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.85rem;
  letter-spacing: 0.18em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.koz-link-arrow::after {
  content: "->";
}

.koz-link-arrow:hover,
.koz-link-arrow:focus-visible {
  color: var(--koz-ink);
  transform: translateX(0.18rem);
}

.koz-social-rail {
  bottom: 7.1rem;
  display: grid;
  gap: 0.12rem;
  padding: 1rem 0 1rem 1.2rem;
  position: absolute;
  right: var(--koz-page-x);
  z-index: 2;
}

.koz-social-rail a {
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding-left: 2.1rem;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.koz-social-rail a::before {
  color: var(--koz-muted);
  content: "+";
  left: 0;
  position: absolute;
  top: -0.05rem;
}

.koz-works {
  border-top: 1px solid var(--koz-line-cool);
  margin: 0 var(--koz-page-x);
  padding: 3.75rem 0 4.25rem;
}

.koz-section-head {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.95rem;
}

.koz-works h2 {
  font-size: clamp(2.55rem, 3.2vw, 3.35rem);
  line-height: 1.02;
  margin: 0.7rem 0 0;
}

.koz-work-grid {
  display: grid;
  gap: clamp(1rem, 1.15vw, 1.15rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.koz-work-card {
  background: #060807;
  display: flex;
  flex-direction: column;
  min-height: clamp(39rem, 47vw, 52rem);
  position: relative;
}

.koz-work-image {
  background-color: #111;
  background-position: center;
  background-size: cover;
  display: block;
  flex: 0 0 clamp(23.5rem, 30vw, 34.2rem);
  overflow: hidden;
  position: relative;
}

.koz-work-image::after {
  background: none;
  content: "";
  inset: 0;
  position: absolute;
  transition: background-color 180ms ease;
}

.koz-work-image:hover::after,
.koz-work-image:focus-visible::after {
  background-color: rgba(181, 138, 50, 0.04);
}

.koz-work-image-1 {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 22%, rgba(218, 207, 172, 0.18), transparent 25%),
    radial-gradient(ellipse at 50% 34%, #6e695b 0 12%, #211f1b 31%, #070707 63%);
}

.koz-work-image-2 {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.8)),
    radial-gradient(circle at 28% 25%, rgba(198, 126, 39, 0.65), transparent 17%),
    radial-gradient(circle at 72% 18%, rgba(225, 169, 77, 0.5), transparent 14%),
    linear-gradient(140deg, #180c05, #4a2b10 40%, #090704 100%);
}

.koz-work-image-3 {
  background-image:
    radial-gradient(circle at 56% 42%, rgba(236, 204, 92, 0.82), transparent 12%),
    radial-gradient(circle at 55% 50%, rgba(64, 196, 151, 0.68), transparent 33%),
    radial-gradient(ellipse at 50% 72%, #15261c, transparent 40%),
    linear-gradient(130deg, #07110f, #223c25 49%, #090c08);
}

.koz-work-image-4 {
  background-image:
    radial-gradient(circle at 83% 17%, rgba(255, 255, 232, 0.86), transparent 8%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0 54%, rgba(0, 0, 0, 0.74) 73%),
    radial-gradient(ellipse at 52% 56%, rgba(56, 133, 199, 0.78) 0 14%, rgba(153, 48, 38, 0.72) 15% 26%, rgba(0, 0, 0, 0) 31%),
    linear-gradient(160deg, #06111a, #101418 58%, #050605);
}

.koz-work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.2rem clamp(1.25rem, 1.5vw, 1.7rem) 2.05rem;
}

.koz-work-body h3 {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-size: clamp(1.75rem, 2.02vw, 2.32rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 1rem 0 1.25rem;
  text-transform: uppercase;
}

.koz-work-body p:not(.koz-card-label) {
  color: rgba(243, 239, 230, 0.66);
  font-size: 0.94rem;
  line-height: 1.78;
  margin: 0 0 2.35rem;
  max-width: 17rem;
}

.koz-work-body .koz-link-arrow {
  margin-top: auto;
}

.koz-recognition {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 135, 43, 0.09), rgba(0, 0, 0, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)),
    var(--koz-panel);
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  margin: 1.25rem var(--koz-page-x) 0;
  padding: 2.65rem clamp(1.2rem, 4vw, 5.2rem) 3.15rem;
  text-align: center;
}

.koz-recognition h2 {
  font-size: clamp(2.15rem, 2.85vw, 3.05rem);
  line-height: 1.02;
  margin: 1.15rem 0 3rem;
}

.koz-awards {
  align-items: center;
  display: grid;
  gap: clamp(1.2rem, 4vw, 4.8rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 64rem;
}

.koz-award {
  align-items: center;
  color: rgba(243, 239, 230, 0.82);
  display: flex;
  justify-content: center;
  font-family: var(--koz-serif);
  line-height: 1.3;
  min-height: 11rem;
  position: relative;
}

.koz-award-image {
  display: block;
  height: auto;
  max-height: 11rem;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.koz-award span {
  color: var(--koz-muted);
  display: block;
  font-family: var(--koz-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.koz-award strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 400;
  margin-top: 0.15rem;
}

.koz-cta {
  align-items: center;
  background: var(--koz-panel-soft);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 1.45rem var(--koz-page-x) 0;
  padding: 3.15rem clamp(1.9rem, 2.8vw, 3rem);
}

.koz-cta h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

.koz-cta h2::after {
  background: var(--koz-gold);
  content: "";
  display: block;
  height: 1px;
  margin-top: 1.4rem;
  width: 2.6rem;
}

.koz-cta > .koz-link-arrow {
  justify-self: end;
}

.koz-footer {
  align-items: center;
  color: rgba(243, 239, 230, 0.38);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  padding: 1.15rem var(--koz-page-x) 2rem;
}

.koz-footer p {
  margin: 0;
}

.koz-footer-links {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.koz-footer-menu {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.koz-single {
  background: var(--koz-bg);
  padding: clamp(5rem, 8vw, 8rem) var(--koz-page-x) clamp(5rem, 8vw, 8rem);
}

.koz-single-terms {
  color: rgba(243, 239, 230, 0.48);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 auto 2rem;
  max-width: 860px;
}

.koz-single-terms a,
.koz-feed-terms a {
  color: var(--koz-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.koz-project-post {
  color: var(--koz-ink);
}

.koz-project-post a {
  color: var(--koz-gold);
}

.koz-project-hero {
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}

.koz-project-kicker {
  color: var(--koz-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.2;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
}

.koz-project-post h1 {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.koz-project-lede {
  color: rgba(243, 239, 230, 0.78);
  font-family: var(--koz-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.55;
  margin: 1.8rem 0 0;
  max-width: 50rem;
}

.koz-project-feature {
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}

.koz-project-feature img,
.koz-project-gallery img {
  display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  max-height: 750px;
  max-width: 900px;
  object-fit: contain;
  width: 100%;
}

.koz-project-body {
  border-top: 1px solid var(--koz-line-cool);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.koz-project-meta {
  color: rgba(243, 239, 230, 0.74);
}

.koz-project-meta h2,
.koz-project-text h2,
.koz-project-gallery h2 {
  color: var(--koz-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.koz-project-meta ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.koz-project-meta li {
  border-top: 1px solid var(--koz-line-cool);
  line-height: 1.55;
  padding: 1rem 0;
}

.koz-project-text p {
  color: rgba(243, 239, 230, 0.78);
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 0 0 1.35rem;
}

.koz-project-quote {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.25;
  margin: 2.4rem 0 0;
}

.koz-project-gallery {
  border-top: 1px solid var(--koz-line-cool);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.koz-project-gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  justify-items: center;
}

.koz-post-feed {
  background: var(--koz-bg);
  padding: clamp(5rem, 8vw, 8rem) var(--koz-page-x);
}

.koz-content-page {
  background: var(--koz-bg);
}

.koz-content-page > .wp-block-post-content,
.koz-content-page .wp-block-post-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100%;
}

.koz-editor-page {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(184, 135, 43, 0.08), rgba(2, 3, 3, 0) 34%),
    var(--koz-bg);
  color: var(--koz-ink);
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding: clamp(1.5rem, 2.4vw, 2.4rem) clamp(1.25rem, 3vw, 3rem) clamp(3.5rem, 5vw, 5rem);
  width: auto;
}

.koz-editor-page a {
  color: var(--koz-gold);
}

.koz-page-hero,
.koz-page-section,
.koz-page-cta {
  border-top: 1px solid var(--koz-line-cool);
  margin: 0;
  max-width: none;
  padding: clamp(2.1rem, 3.5vw, 3.5rem) 0;
}

.koz-page-hero {
  align-items: center;
  border-top: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(13rem, 0.55fr);
  padding-top: 0;
}

.koz-page-hero-solo,
.koz-page-hero:not(:has(.koz-page-image-placeholder)) {
  display: block;
}

.koz-page-hero-solo .koz-page-hero-copy,
.koz-page-hero:not(:has(.koz-page-image-placeholder)) .koz-page-hero-copy {
  max-width: 60rem;
}

.koz-page-hero-copy {
  max-width: 58rem;
}

.koz-page-kicker {
  color: var(--koz-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.koz-page-title,
.koz-page-section h2,
.koz-page-cta h2 {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-weight: 400;
  letter-spacing: 0;
}

.koz-page-title {
  font-size: clamp(2rem, 2.6vw, 2.85rem);
  line-height: 1.08;
  margin: 0;
  max-width: 58rem;
}

.koz-page-intro {
  color: rgba(243, 239, 230, 0.78);
  font-family: var(--koz-serif);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.55;
  margin: 0.9rem 0 0;
  max-width: 50rem;
}

.koz-page-image-placeholder {
  align-items: end;
  aspect-ratio: 4 / 5;
  background: none;
  border: 0;
  box-sizing: border-box;
  display: flex;
  max-width: 24rem;
  min-height: 15.5rem;
  padding: 0;
}

.koz-page-image-placeholder p {
  color: rgba(243, 239, 230, 0.45);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.koz-page-section h2,
.koz-page-cta h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  line-height: 1.04;
  margin: 0 0 1rem;
}

.koz-page-section p,
.koz-page-section li,
.koz-page-cta p {
  color: rgba(243, 239, 230, 0.74);
  font-size: 0.96rem;
  line-height: 1.68;
}

.koz-page-section p {
  margin: 0 0 1.15rem;
  max-width: 48rem;
}

.koz-page-section p:last-child {
  margin-bottom: 0;
}

.koz-page-wide {
  max-width: 1180px;
}

.koz-area-grid,
.koz-facts-grid,
.koz-contact-grid,
.koz-available-grid {
  display: grid;
  gap: 1rem;
}

.koz-area-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1180px;
}

.koz-area-card,
.koz-contact-card,
.koz-fact-card,
.koz-available-grid li {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(201, 226, 221, 0.075);
  box-sizing: border-box;
}

.koz-area-card,
.koz-contact-card {
  display: flex;
  flex-direction: column;
  min-height: 13.5rem;
  padding: 1.1rem;
}

.koz-area-card h3,
.koz-contact-card h3 {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-size: clamp(1.25rem, 1.45vw, 1.62rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.koz-area-card p,
.koz-contact-card p {
  color: rgba(243, 239, 230, 0.66);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.koz-area-card .wp-block-buttons,
.koz-contact-card .wp-block-buttons {
  margin-top: auto;
}

.koz-page-button .wp-block-button__link,
.koz-page-buttons .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--koz-gold-soft);
  border-radius: 0;
  color: var(--koz-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.78rem 1rem;
  text-transform: uppercase;
}

.koz-page-button .wp-block-button__link:hover,
.koz-page-button .wp-block-button__link:focus-visible,
.koz-page-buttons .wp-block-button__link:hover,
.koz-page-buttons .wp-block-button__link:focus-visible {
  background: rgba(181, 138, 50, 0.1);
  color: var(--koz-ink);
}

.koz-recognition-compact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.006)),
    var(--koz-panel);
  padding-left: clamp(1.4rem, 4vw, 3rem);
  padding-right: clamp(1.4rem, 4vw, 3rem);
}

.koz-facts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.koz-fact-card {
  color: rgba(243, 239, 230, 0.78);
  min-height: 7.6rem;
  padding: 1.05rem;
}

.koz-contact-grid {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.koz-contact-grid > * {
  height: 100%;
  margin-block-start: 0 !important;
}

.koz-contact-card {
  height: 100%;
  margin: 0 !important;
  min-height: 8.5rem;
}

.koz-contact-card p a {
  color: rgba(243, 239, 230, 0.82);
  font-size: 1.08rem;
  text-decoration: none;
}

.koz-available-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 1.4rem 0 0;
  max-width: 940px;
  padding: 0;
}

.koz-available-grid li {
  min-height: 4.2rem;
  padding: 0.85rem;
}

.koz-page-cta {
  align-items: center;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.koz-page-cta p {
  font-family: var(--koz-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.35;
  margin: 0;
  max-width: 56rem;
}

.koz-feed-hero {
  border-bottom: 1px solid var(--koz-line-cool);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.koz-feed-hero .wp-block-query-title {
  color: var(--koz-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.koz-feed-hero h1 {
  color: var(--koz-ink);
  font-family: var(--koz-serif);
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.koz-feed-grid {
  display: grid;
  gap: clamp(1.2rem, 2vw, 1.8rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.koz-feed-card {
  background: #060807;
  min-width: 0;
}

.koz-feed-card .koz-feed-image {
  margin: 0;
}

.koz-feed-card .koz-feed-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.koz-feed-terms {
  margin: 1.4rem 1.4rem 0;
}

.koz-feed-title {
  font-family: var(--koz-serif);
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0.9rem 1.4rem 1rem;
}

.koz-feed-title a {
  color: var(--koz-ink);
  text-decoration: none;
}

.koz-feed-excerpt {
  color: rgba(243, 239, 230, 0.68);
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0 1.4rem 1.6rem;
}

.koz-feed-excerpt .wp-block-post-excerpt__more-link {
  color: var(--koz-gold);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.koz-feed-pagination {
  border-top: 1px solid var(--koz-line-cool);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
}

.koz-feed-pagination a {
  color: var(--koz-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.koz-nav a:hover,
.koz-nav a:focus-visible,
.koz-footer-links a:hover,
.koz-footer-links a:focus-visible,
.koz-social-rail a:hover,
.koz-social-rail a:focus-visible {
  color: var(--koz-ink);
}

.site-shell {
  min-height: 100vh;
}

.direction-grid,
.works-grid,
.gallery-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.direction-grid {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.works-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.placeholder-frame {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
  border: 1px solid #303030;
  color: #8b8b8b;
  display: flex;
  justify-content: center;
  min-height: 10rem;
}

.hero-placeholder {
  aspect-ratio: 16 / 7;
  min-height: clamp(22rem, 58vh, 42rem);
}

@media (max-width: 680px) {
  .hero-placeholder {
    aspect-ratio: 4 / 5;
    min-height: 28rem;
  }
}

@media (max-width: 1180px) {
  .koz-header {
    grid-template-columns: auto 1fr;
  }

  .koz-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .koz-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .koz-work-card {
    min-height: 42rem;
  }
}

@media (max-width: 820px) {
  .koz-header {
    gap: 1.2rem;
    padding-top: 1.4rem;
  }

  .home .koz-header {
    left: 1.25rem;
    right: 1.25rem;
    top: 0.85rem;
  }

  .koz-nav {
    gap: 0.9rem 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .koz-nav a {
    white-space: nowrap;
  }

  .koz-header-actions {
    gap: 0.6rem;
  }

  .koz-header-actions .koz-outline-button {
    display: none;
  }

  .koz-hero {
    min-height: 52rem;
    padding-bottom: 4rem;
    padding-top: 11rem;
  }

  .koz-hero-content {
    padding-right: 1.5rem;
  }

  .koz-social-rail {
    bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    left: clamp(1.5rem, 4vw, 2rem);
    right: clamp(1.5rem, 4vw, 2rem);
  }

  .koz-social-rail a {
    padding-left: 1.1rem;
  }

  .koz-section-head,
  .koz-cta,
  .koz-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .koz-section-head,
  .koz-footer {
    display: flex;
  }

  .koz-cta {
    grid-template-columns: 1fr;
  }

  .koz-cta > .koz-link-arrow {
    justify-self: start;
  }

  .koz-awards {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .koz-project-body,
  .koz-project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .koz-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .koz-page-hero,
  .koz-page-cta {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .koz-area-grid,
  .koz-facts-grid,
  .koz-available-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .koz-logo {
    font-size: 1.22rem;
  }

  .koz-header {
    grid-template-columns: 1fr auto;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .home .koz-header {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
  }

  .koz-hero,
  .koz-works,
  .koz-recognition,
  .koz-cta,
  .koz-footer {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .koz-hero {
    margin-left: 0;
    margin-right: 0;
    min-height: 49rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 9.75rem;
  }

  .koz-hero-content {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.14) 72%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem 1rem 1.25rem 0;
  }

  .koz-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.8rem);
  }

  .koz-hero-copy br {
    display: none;
  }

  .koz-work-grid {
    grid-template-columns: 1fr;
  }

  .koz-work-card {
    min-height: 0;
  }

  .koz-work-image {
    flex-basis: 22rem;
  }

  .koz-recognition {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .koz-footer-links {
    flex-wrap: wrap;
  }

  .koz-footer-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .koz-feed-grid {
    grid-template-columns: 1fr;
  }

  .koz-editor-page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .koz-page-hero,
  .koz-page-section,
  .koz-page-cta {
    padding-bottom: 2.25rem;
    padding-top: 2.25rem;
  }

  .koz-page-hero {
    padding-top: 0;
  }

  .koz-page-title {
    font-size: clamp(2rem, 9.5vw, 2.85rem);
  }

  .koz-page-image-placeholder {
    min-height: 16rem;
  }

  .koz-area-grid,
  .koz-facts-grid,
  .koz-contact-grid,
  .koz-available-grid {
    grid-template-columns: 1fr;
  }
}
