:root {
  --cream: #f6ead2;
  --ink: #0a332c;
  --green: #0a332c;
  --green-2: #17483f;
  --line: rgba(17, 17, 14, .16);
  --card: #fff7e8;
  --muted: rgba(17, 17, 14, .62);
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor {
    cursor: none;
  }

  body.has-custom-cursor * {
    cursor: none !important;
  }

  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 54px;
    height: 54px;
    pointer-events: none;
    background: url("assets/logo-rotate.gif") center / contain no-repeat;
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    transition: opacity .14s ease, width .18s ease, height .18s ease;
    mix-blend-mode: normal;
  }

  .custom-cursor.is-visible {
    opacity: 1;
  }

  .custom-cursor.is-active {
    opacity: 1;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell,
.page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(10, 51, 44, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 51, 44, .035) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
}

.studio-header,
.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  position: relative;
  z-index: 10;
}

.logo-lockup,
.topbar > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.02em;
}

.logo-lockup img,
.mark {
  width: 74px;
  height: auto;
}

.studio-nav,
.nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.studio-nav a,
.nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 247, 232, .45);
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.studio-nav a:hover,
.nav a:hover,
.footer-nav a:hover,
.pill-button:hover,
.button-link:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: var(--cream);
}

.new-hero {
  position: relative;
  max-width: var(--max);
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  padding: 10px 24px 38px;
  display: grid;
  grid-template-columns: minmax(210px, .74fr) minmax(320px, 1.18fr) minmax(170px, .58fr);
  grid-template-rows: auto auto minmax(390px, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
}

.hero-kicker,
.section-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-kicker {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
}

.new-hero h1 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  max-width: 820px;
  justify-self: center;
  color: var(--ink);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: .9;
  letter-spacing: -.045em;
  opacity: 1;
  text-align: center;
}

.hero-text {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 520px;
  margin: 0;
  color: var(--green);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 700;
}

.pill-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.pill-button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-showpiece {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  align-self: center;
  justify-self: center;
  width: min(350px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  z-index: 2;
}

.hero-showpiece img {
  width: 100%;
  height: auto;
}

.hero-socials {
  grid-column: 3;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  display: grid;
  gap: 18px;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  font-weight: 500;
}

.hero-socials a:hover {
  color: var(--green);
}

.case-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 24px 86px;
}

.section-intro {
  display: block;
  margin-bottom: 24px;
}

.section-intro h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: .94;
  letter-spacing: -.038em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.case-card {
  grid-column: auto;
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, .62);
  min-width: 0;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  background: var(--card);
  box-shadow: 0 28px 72px rgba(10, 51, 44, .18);
}

.case-large {
  grid-column: auto;
}

.case-wide {
  grid-column: auto;
}

.case-tall {
  grid-column: auto;
  grid-row: auto;
}

.case-image {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #ead8bd;
  aspect-ratio: 1 / 1;
}

.case-card .case-image {
  width: 100%;
  height: 100%;
}

.case-image img,
.case-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

.deities-card .case-image img {
  object-position: center top;
}

.case-card:hover .case-image img,
.case-card:hover .case-image video {
  transform: scale(1.16);
}

.case-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--green);
  padding: 0 4px 3px;
}

.case-meta strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.case-meta em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  text-align: right;
}

.contact-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 72px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.contact-cta p {
  max-width: 720px;
  margin: 0;
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.2rem, 4.7vw, 4.9rem);
  line-height: .9;
  letter-spacing: -.045em;
}

.footer,
.home-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 54px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.inner-page {
  min-height: calc(100vh - 92px);
  padding: 36px 24px 70px;
}

.inner-wrap {
  position: relative;
  max-width: var(--max);
  min-height: 640px;
  margin: 0 auto;
}

.page-title {
  margin: 0;
  max-width: 940px;
  color: var(--ink);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: .86;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.contact-copy {
  position: absolute;
  left: 0;
  top: 300px;
  width: min(520px, 52vw);
  color: var(--green);
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.035em;
}

.contact-copy p {
  margin: 0;
}

.contact-note {
  margin-top: 22px;
  max-width: 360px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.contact-art {
  position: absolute;
  right: 70px;
  top: 95px;
  width: min(390px, 35vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
}

.contact-socials {
  position: absolute;
  right: 35px;
  bottom: 42px;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.contact-socials a {
  color: var(--green);
  font-size: 19px;
  font-weight: 800;
}

.contact-layout {
  max-width: var(--max);
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(520px, 1.35fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.contact-figure-wrap {
  align-self: end;
}

.contact-layout .contact-art {
  position: static;
  width: min(410px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
}

.contact-panel {
  display: grid;
  gap: 34px;
  align-content: center;
}

.contact-panel .page-title {
  max-width: none;
  font-size: clamp(3.2rem, 5.4vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--green);
  text-transform: none;
}

.contact-intro {
  margin: 0;
  max-width: 700px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 0;
}

.contact-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  outline: 1px solid transparent;
}

.contact-form input {
  min-height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 176px;
  padding: 16px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(246, 234, 210, .58);
}

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

.contact-form button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--cream);
  font: inherit;
  font-weight: 900;
}

.bot-field {
  display: none;
}

.contact-panel .contact-socials {
  position: static;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.thanks-panel {
  max-width: 760px;
  min-height: 56vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  text-align: center;
  color: var(--green);
}

.thanks-panel img {
  width: 92px;
  height: auto;
}

.thanks-panel h1 {
  margin: 0;
  color: var(--green);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .9;
}

.thanks-panel p {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.blog-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 48px auto 0;
}

.post {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  min-height: 168px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, .62);
  color: var(--ink);
}

.post-thumb {
  height: 168px;
  overflow: hidden;
  border-radius: 18px;
  background: #ead8bd;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.5vw, 3rem);
  line-height: .95;
  letter-spacing: -.035em;
}

.post-meta,
.post-tags {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 850;
}

.post-tags {
  color: var(--muted);
}

.article-page {
  padding: 28px 24px 84px;
}

.article-wrap {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--green);
}

.article-hero {
  display: grid;
  gap: 22px;
  margin: 18px 0 46px;
}

.article-meta {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--green);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: .88;
}

.article-lede,
.article-body p {
  max-width: 760px;
  margin: 0;
  color: var(--green);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.26;
}

.article-cover,
.article-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 247, 232, .38);
}

.article-cover img,
.article-image img,
.article-triptych img {
  width: 100%;
  height: auto;
}

.character-cover,
.character-final {
  max-width: 720px;
}

.article-body {
  display: grid;
  gap: 28px;
}

.article-body h2,
.article-body h3 {
  margin: 18px 0 -10px;
  color: var(--green);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  line-height: .95;
}

.article-body h2 {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
}

.article-body h3 {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.article-note {
  display: grid;
  gap: 14px;
  max-width: 820px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 247, 232, .62);
}

.article-note p {
  font-size: 1rem;
}

.article-image {
  max-width: 880px;
}

.article-wide {
  max-width: none;
}

.article-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-duo img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 247, 232, .38);
}

.article-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-triptych img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 247, 232, .38);
}

.article-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
}

.article-link:hover {
  background: var(--green);
  color: var(--cream);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 54px;
}

@media (max-width: 900px) {
  .studio-header,
  .topbar {
    padding: 16px 14px;
    align-items: center;
    gap: 10px;
  }

  .logo-lockup img,
  .mark {
    width: 52px;
  }

  .logo-lockup span {
    display: none;
  }

  .studio-nav,
  .nav {
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .studio-nav a,
  .nav a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .new-hero {
    padding: 34px 18px 56px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 100%;
    min-height: auto;
    overflow: hidden;
    gap: 22px;
  }

  .new-hero h1,
  .hero-kicker,
  .hero-text,
  .hero-showpiece,
  .hero-socials {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    min-width: 0;
  }

  .hero-kicker,
  .hero-text {
    overflow-wrap: anywhere;
  }

  .hero-showpiece {
    grid-row: auto;
    width: min(390px, 100%);
    order: 3;
  }

  .new-hero h1 {
    opacity: 1;
    text-align: center;
    pointer-events: auto;
    order: 2;
  }

  .hero-kicker {
    order: 1;
  }

  .hero-text {
    order: 4;
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
  }

  .hero-socials {
    order: 5;
    justify-self: center;
    grid-auto-flow: column;
    gap: 28px;
    font-size: 1.2rem;
  }

  .case-section,
  .contact-cta,
  .footer,
  .home-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .case-card,
  .case-large,
  .case-wide {
    grid-column: span 1;
  }

  .case-meta {
    display: grid;
  }

  .case-meta em {
    text-align: left;
  }

  .contact-cta {
    display: grid;
  }

  .inner-page {
    padding: 28px 18px 56px;
  }

  .inner-wrap {
    min-height: auto;
  }

  .contact-copy,
  .contact-art,
  .contact-socials {
    position: relative;
    inset: auto;
  }

  .contact-copy {
    width: auto;
    margin-top: 34px;
  }

  .contact-art {
    width: min(360px, 100%);
    margin: 34px auto 0;
  }

  .contact-socials {
    justify-items: start;
    margin-top: 30px;
  }

  .contact-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-figure-wrap {
    order: 2;
    justify-self: center;
  }

  .contact-layout .contact-art {
    width: min(260px, 72vw);
    margin: 0 auto;
  }

  .contact-panel {
    display: contents;
  }

  .contact-panel .page-title {
    order: 1;
    font-size: clamp(2.7rem, 12vw, 4.3rem);
    text-align: center;
  }

  .contact-intro {
    order: 3;
    text-align: center;
    justify-self: center;
  }

  .contact-form {
    order: 4;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-panel .contact-socials {
    order: 5;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
  }

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

  .post-thumb {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .article-page {
    padding: 26px 18px 60px;
  }

  .article-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .article-triptych {
    grid-template-columns: 1fr;
  }

  .article-duo {
    grid-template-columns: 1fr;
  }

  .article-nav {
    display: grid;
  }
}

@media (max-width: 560px) {
  .studio-header {
    padding: 14px 12px;
  }

  .logo-lockup img {
    width: 46px;
  }

  .studio-nav a {
    min-height: 31px;
    padding: 0 8px;
    font-size: 12px;
  }

  .new-hero h1 {
    font-size: clamp(2rem, 9.4vw, 2.7rem);
    line-height: .98;
  }

  .hero-kicker {
    font-size: 11px;
    letter-spacing: .06em;
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .hero-socials {
    font-size: 1.18rem;
  }

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

  .footer,
  .home-footer {
    display: grid;
  }
}
