:root {
  --cream: #f3ead8;
  --cream-2: #eadfc9;
  --ink: #0c201e;
  --red: #a91612;
  --red-dark: #83120f;
  --yellow: #e5aa00;
  --teal: #214b4d;
  --white: #fffaf0;
  --line: #c7bca7;
  --max: 1500px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a,
button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: #fff;
  color: #111;
  font-weight: 800;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 16px max(5vw, 24px);
  background: rgba(243, 234, 216, .97);
  border-bottom: 1px solid #9e9586;
  backdrop-filter: blur(8px);
}

.brand {
  display: grid;
  color: #111;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: .92;
  text-decoration: none;
}

.brand small {
  margin-top: .4rem;
  font-size: .52em;
  letter-spacing: .09em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.8vw, 3.25rem);
}

.site-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: #111;
  font-size: .84rem;
  font-weight: 900;
  text-decoration: none;
}

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

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: .6rem .8rem;
  background: transparent;
  border: 1px solid #111;
  color: #111;
  font-weight: 900;
}

.section-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.4rem, 6vw, 6.5rem) max(4vw, 24px);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.eyebrow {
  margin: 0 0 .85rem;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.red {
  color: var(--red);
}

.yellow-text {
  color: var(--yellow);
}

h1,
h2,
h3 {
  margin: .2em 0 .45em;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .9;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4.8rem, 8.5vw, 9rem);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.2rem;
  border: 0;
  color: inherit;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.yellow {
  background: var(--yellow);
  color: #111;
}

.button:hover {
  filter: brightness(1.08);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, .82fr);
  gap: clamp(2.5rem, 5.5vw, 6rem);
  align-items: center;
}

.hero:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 38px;
  background: var(--yellow);
}

.hero-copy {
  max-width: 650px;
  padding-left: clamp(1.2rem, 3vw, 3rem);
}

.hero-copy > p:not(.eyebrow):not(.hook):not(.manifesto) {
  max-width: 58ch;
}

.hook {
  margin: 1rem 0 1.25rem;
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
}

.hook strong {
  color: var(--red);
}

.manifesto {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 2px solid var(--red);
  font-weight: 800;
}

.poster-link {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: clamp(12px, 1.6vw, 24px);
  background: var(--ink);
}

.poster-link picture {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.poster-link img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
}

/* Proof */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 1.45rem max(4vw, 24px);
  background: var(--ink);
  color: #fff;
}

.proof-strip div {
  padding: .25rem 1rem;
  border-right: 1px solid #9f7600;
  text-align: center;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--yellow);
  font-size: 1.1rem;
}

.proof-strip span {
  font-size: .78rem;
  font-weight: 800;
}

/* Featured projects */
.feature-row {
  display: block;
}

.feature-row > .section-intro {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.feature-row > .section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.feature-row > .section-intro h2,
.feature-row > .section-intro p:last-child {
  margin-top: 0;
  margin-bottom: 0;
}

.feature-row > .section-intro p:last-child {
  max-width: 44ch;
  padding-bottom: .25rem;
}

.featured-projects {
  display: grid;
  gap: clamp(1.75rem, 3vw, 3rem);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}

.feature-card > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.feature-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
}

.feature-card-copy .button {
  align-self: flex-start;
  margin-top: .75rem;
}

.red-panel {
  background: linear-gradient(135deg, #b30f0f, var(--red-dark));
  color: #fff;
}

.animal-land-card {
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  min-height: 540px;
}

.animal-land-card > img {
  min-height: 540px;
  object-fit: contain;
  background: #190d18;
}

.animal-panel {
  background: linear-gradient(135deg, #152a27, #071817);
  border-left: 8px solid var(--yellow);
  color: #fff;
}

.animal-land-title {
  white-space: nowrap;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
}

.series-status {
  width: max-content;
  max-width: 100%;
  margin: .15rem 0 1.25rem;
  padding: .5rem .7rem;
  background: var(--yellow);
  color: #111;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.project-hook {
  max-width: 32ch;
  margin: 0 0 .75rem;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 900;
  line-height: 1.25;
}

/* Optioned work */
.dark-section {
  display: block;
  max-width: none;
  background: var(--ink);
  color: #fff;
}

.dark-section > .section-intro {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 1rem 3rem;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.dark-section > .section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.dark-section > .section-intro h2,
.dark-section > .section-intro p:last-child {
  margin-top: 0;
  margin-bottom: 0;
}

.dark-section > .section-intro p:last-child {
  max-width: 40ch;
  padding-bottom: .35rem;
  font-size: 1.05rem;
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  max-width: var(--max);
  margin: 0 auto;
}

.development-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #9f7600;
  background: #0a1b19;
}

.development-card img,
.development-card .anatomy-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: #0a1b19;
}

.development-card > div {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.8vw, 2.5rem);
}

.development-card h3 {
  max-width: 15ch;
  margin-top: .3rem;
  font-size: clamp(2rem, 3.3vw, 3.8rem);
}

.development-card > div > p:last-child {
  max-width: 42ch;
  margin-top: .75rem;
  font-size: 1.02rem;
}

/* Short fiction */
.short-fiction .section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.story-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: clamp(1.6rem, 2.7vw, 2.4rem);
}

.story-card h3 {
  max-width: 12ch;
}

.story-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.story-title-row h3 {
  margin-right: auto;
}

.recognition-badge {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.recognition-badge:hover {
  transform: translateY(-2px);
  background: var(--cream);
}

.recognition-badge:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.story-card > a {
  margin-top: auto;
  color: inherit;
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
}

.teal-panel {
  background: var(--teal);
  color: #fff;
}

.yellow-panel {
  background: var(--yellow);
  color: #111;
}

.word-count {
  margin: .1rem 0 .9rem;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: .9;
}

.catalogue-note {
  margin: 1.5rem 0 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--red);
}

/* Recognition */
.recognition {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  max-width: none;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(110deg, var(--red) 0 34%, var(--ink) 34%);
  color: #fff;
}

.recognition > img {
  width: 100%;
  height: 100%;
}

.recognition > img:first-child {
  padding: clamp(1.5rem, 3vw, 3rem);
  object-fit: contain;
  background: var(--red);
}

.recognition > div {
  align-self: center;
  padding: clamp(2.5rem, 4.5vw, 5rem);
}

.recognition ul {
  margin: 1.5rem 0 0;
  padding-left: 1.15rem;
}

.recognition li + li {
  margin-top: .65rem;
}

/* About and contact */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about > div {
  max-width: 720px;
}

.about-portrait {
  width: 200px;
  height: 200px;
  min-width: 200px;
  min-height: 200px;
  max-width: 200px;
  max-height: 200px;
  margin: 0 12px 12px 0;
  padding: 5px;
  justify-self: end;
  align-self: center;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--red);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 61% 50%;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: none;
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.contact > div {
  max-width: 520px;
}

.contact > *,
.contact-form,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button {
  min-width: 0;
  max-width: 100%;
}

.contact-form {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: .8rem 1rem;
}

.contact-form label {
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .9rem;
  border: 1px solid #596b68;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
}

.contact-form textarea,
.contact-form button {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.form-note {
  grid-column: 2;
  margin: 0;
  color: #c7d1cf;
  font-size: .82rem;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem max(4vw, 24px);
  background: var(--cream-2);
  border-top: 1px solid #b9ad96;
  font-size: .85rem;
}

.footer-brand {
  display: grid;
  line-height: 1.1;
}

.footer-brand strong {
  font-size: 1rem;
  letter-spacing: .06em;
}

.footer-brand span {
  margin-top: .3rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  flex-wrap: wrap;
}

.site-footer a {
  color: #111;
}

.instagram-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  text-decoration: none;
}

.ig-mark {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.ig-mark:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ig-mark:after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}

/* Tablet */
@media (max-width: 1050px) {
  .site-header {
    gap: 1rem;
  }

  .site-nav {
    gap: 1.2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
    gap: 2.5rem;
  }

  .animal-land-card {
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  }

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

  .story-card {
    min-height: 250px;
  }

  .recognition {
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  }

}

/* Mobile navigation and single-column layout */
@media (max-width: 840px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    padding: 13px 18px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .75rem;
    background: var(--cream);
    border: 1px solid #999;
    box-shadow: 0 14px 25px rgba(0, 0, 0, .16);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: .55rem .7rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero:before {
    width: 14px;
  }

  .hero-copy {
    padding-left: 1rem;
  }

  .poster-link {
    order: -1;
    margin-left: 12px;
    padding: 10px;
  }

  .poster-link img {
    width: 100%;
    max-height: none;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    padding-bottom: 1rem;
    border-bottom: 1px solid #53605e;
  }

  .feature-row > .section-intro,
  .dark-section > .section-intro {
    display: block;
  }

  .feature-row > .section-intro h2,
  .dark-section > .section-intro h2 {
    margin-bottom: .5rem;
  }

  .feature-card,
  .animal-land-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-card > img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .animal-land-card > img {
    max-height: 520px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
  }

  .animal-panel {
    border-left: 0;
    border-top: 8px solid var(--yellow);
  }

  .animal-land-title {
    font-size: clamp(2.35rem, 12vw, 4.6rem);
  }

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

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

  .recognition > img:first-child {
    max-height: 540px;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 1.6rem;
  }

  .about-portrait {
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    margin: .5rem .5rem .5rem 0;
    justify-self: end;
    align-self: start;
    box-shadow: 8px 8px 0 var(--red);
  }

  .contact-form {
    width: 100%;
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .contact-form > * {
    grid-column: 1 !important;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .form-note {
    grid-column: 1;
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-meta {
    display: grid;
    width: 100%;
    justify-items: start;
    gap: .35rem;
  }
}

@media (max-width: 520px) {
  .section-shell {
    padding: 3.2rem 20px;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  h2 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .button {
    width: 100%;
  }

  .contact h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 11vw, 3rem);
    letter-spacing: -.035em;
    line-height: .96;
    overflow-wrap: anywhere;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    max-width: 100%;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .proof-strip div:nth-child(2) {
    padding: .9rem .5rem;
    border-right: 0;
    border-bottom: 1px solid #53605e;
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .feature-card-copy,
  .development-card > div,
  .recognition > div {
    padding: 1.6rem;
  }

  .animal-land-title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .series-status {
    width: 100%;
    text-align: center;
  }

  .about-portrait {
    width: 145px;
    height: 145px;
    min-width: 145px;
    min-height: 145px;
    max-width: 145px;
    max-height: 145px;
  }

  .site-footer {
    padding: 1.5rem 20px;
  }

  .instagram-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .section-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .menu-toggle {
    padding-right: .65rem;
    padding-left: .65rem;
  }

  .hero-copy {
    padding-left: .75rem;
  }

  .poster-link {
    margin-left: 10px;
  }

  h1 {
    font-size: clamp(3.55rem, 20vw, 4.45rem);
  }

  .contact h2 {
    font-size: 2.25rem;
  }

  .about-portrait {
    width: 136px;
    height: 136px;
    min-width: 136px;
    min-height: 136px;
    max-width: 136px;
    max-height: 136px;
  }

  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
