:root {
  --ink: #10110f;
  --paper: #f5f6f1;
  --white: #ffffff;
  --signal: #f2cb45;
  --jezi: #ff6848;
  --song: #a8ddeb;
  --map: #f2cb45;
  --world: #213b54;
  --mckay: #90a877;
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0.55rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 2px solid var(--ink);
  background: rgba(245, 246, 241, 0.95);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.brand-hinge {
  box-shadow: inset 0 -0.44em 0 var(--signal);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

nav a,
.utility-label,
.bureau-line,
.card-top,
.card-action {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  box-shadow: inset 0 -0.42em 0 var(--signal);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
  border-bottom: 2px solid var(--ink);
  text-align: center;
}

.stamp-wrap {
  position: relative;
  width: clamp(150px, 17vw, 230px);
  margin-bottom: 1.4rem;
}

.stamp-wrap > img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-2deg);
}

.bureau-line {
  margin: 0 0 0.85rem;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

h1 {
  max-width: 1180px;
  margin-bottom: 0.75rem;
  font-size: clamp(2.8rem, 6.1vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 950px;
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 600;
}

.work-section {
  padding: clamp(3.25rem, 6vw, 6rem) clamp(1rem, 4vw, 3.5rem) clamp(4rem, 8vw, 8rem);
  background: var(--ink);
  color: var(--paper);
}

.directory-heading,
.property-grid,
.studio-notice,
.contact-section {
  max-width: var(--max);
  margin-inline: auto;
}

.directory-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.utility-label {
  margin: 0 0 0.55rem;
}

.directory-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.directory-heading > p {
  max-width: 270px;
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.property-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 325px;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 2px solid var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

a.property-card:hover,
a.property-card:focus-visible {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 var(--paper);
  outline: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.property-card h3 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.property-card div > p {
  max-width: 660px;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.card-action {
  align-self: flex-start;
  margin-top: 2rem;
  padding-top: 0.45rem;
  border-top: 2px solid currentColor;
}

.card-jezi {
  grid-column: span 7;
  background: var(--jezi);
}

.card-song {
  grid-column: span 5;
  background: var(--song);
}

.card-map {
  grid-column: span 5;
  background: var(--map);
}

.card-world {
  grid-column: span 7;
  background: var(--world);
  color: white;
}

.card-mckay {
  grid-column: 3 / span 8;
  background: var(--mckay);
}

.studio-notice {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 3.5rem);
}

.studio-copy {
  max-width: 1030px;
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.creed {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  border-block: 2px solid var(--ink);
  background: var(--white);
}

.creed p {
  display: grid;
  place-items: center;
  min-height: 118px;
  margin: 0;
  padding: 1rem;
  border-right: 2px solid var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-weight: 900;
}

.creed p:last-child {
  border-right: 0;
}

.creed .push {
  background: var(--signal);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.055em;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 3.5rem);
}

.contact-copy {
  align-self: end;
}

.contact-copy > p {
  max-width: 660px;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.email-link {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1.7rem;
  padding-bottom: 0.25rem;
  border-bottom: 5px solid var(--signal);
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.email-link:hover,
.email-link:focus-visible {
  border-bottom-color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 3.5rem);
  border-top: 2px solid var(--ink);
  background: var(--signal);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .hero {
    min-height: 410px;
  }

  .directory-heading,
  .studio-notice,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .directory-heading {
    display: grid;
  }

  .directory-heading > p {
    text-align: left;
  }

  .property-card,
  .card-jezi,
  .card-song,
  .card-map,
  .card-world,
  .card-mckay {
    grid-column: span 12;
  }

  .studio-notice {
    gap: 1.25rem;
  }

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

  .creed .push {
    grid-column: span 2;
  }

  .creed p:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    align-items: center;
  }

  .brand {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .brand img {
    width: 1.75rem;
    height: 1.75rem;
  }

  nav {
    gap: 0.75rem;
  }

  nav a {
    font-size: 0.65rem;
  }

  .hero {
    min-height: 390px;
    padding-inline: 1rem;
  }

  .bureau-line {
    font-size: 0.64rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .property-card {
    min-height: 310px;
  }

  .card-top {
    font-size: 0.63rem;
  }

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

  .creed .push {
    grid-column: auto;
  }

  .creed p,
  .creed p:nth-child(odd) {
    min-height: 84px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .creed p:last-child {
    border-bottom: 0;
  }

  footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
