@font-face {
  font-family: Manrope;
  src: url(fonts/manrope.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(fonts/dmsans.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8faf6;
  --panel: #edf4e9;
  --ink: #172e24;
  --muted: #4b6055;
  --green: #21613f;
  --green-dark: #17482f;
  --edge: #d3e1d1;
  --radius: clamp(1.25rem, 2.4vw, 2rem);
  --inset: clamp(1.4rem, 4.5vw, 4.25rem);
  --section-space: clamp(2.8rem, 6vw, 5.25rem);
  --display: "DM Sans", Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.6 Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[id] { scroll-margin-block-start: 1rem; }

.shell { width: min(1220px, calc(100% - clamp(2rem, 6vw, 5rem))); margin-inline: auto; }
.section-space { margin-block-start: var(--section-space); }
.section-title, .project-intro, .product-intro {
  font-family: var(--display);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-title { font-size: clamp(1.9rem, 3.7vw, 3.1rem); }

.skip {
  position: absolute;
  z-index: 3;
  inset: -100% auto auto 1rem;
  padding: .5rem 1rem;
  border-radius: .5rem;
  background: var(--paper);
}
.skip:focus { top: .75rem; }
.masthead, .studio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.masthead { min-height: 5.35rem; padding-block: .75rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { width: clamp(9.25rem, 18vw, 13.25rem); }
.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  width: fit-content;
  padding: .2rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: #fff;
}
.masthead nav a {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding-inline: clamp(.72rem, 1.5vw, 1.2rem);
  border-radius: 999px;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}
.masthead nav a:hover, .masthead nav [aria-current] { background: #e6f0e3; color: var(--green-dark); }
.masthead nav a:focus-visible { outline-offset: -2px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  padding: .6rem 1.25rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: .9rem;
  font-weight: 690;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--green-dark); }
.button:focus-visible { outline-color: var(--green-dark); }
.button-light { background: #f4faee; color: var(--green-dark); }
.button-light:hover { background: #dcefd3; }
.button-light:focus-visible { outline-color: #fff; }

.studio-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(29rem, 43vw, 37rem);
  padding: var(--inset);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.studio-hero-visual { position: absolute; inset: 0; z-index: -1; }
.studio-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.studio-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081b13ed, #081b1380 48%, #081b1300 88%);
}
.studio-hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(3.45rem, 7.4vw, 7.1rem);
  line-height: .92;
  font-weight: 530;
  letter-spacing: -.055em;
}
.studio-hero-copy h1 span { display: block; color: #bde6b0; font-weight: 440; }
.studio-hero-copy p { max-width: 33ch; margin-block: 1.3rem 1.55rem; color: #f2f8f0; font-size: clamp(1rem, 1.7vw, 1.16rem); }

.tarothis-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--panel);
}
.tarothis-project { position: relative; margin-block-start: 1.15rem; }
.tarothis-project .button::after { content: ""; position: absolute; z-index: 2; inset: 0; }
.tarothis-project:hover { border-color: #92b49a; }
.tarothis-project:hover .button { background: var(--green-dark); }
.tarothis-copy { align-self: center; padding: var(--inset); }
.tarothis-lockup {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: .2rem .7rem .2rem .2rem;
  border-radius: .8rem;
  background: #17121e;
}
.tarothis-lockup img:first-child { width: 2.3rem; flex: none; }
.tarothis-lockup img:last-child { width: 7.55rem; min-width: 0; }
.launch-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .48rem;
  margin-block-start: 1.15rem;
  color: var(--green-dark);
  font-size: .875rem;
  font-weight: 710;
}
.launch-status::before {
  content: "";
  flex: 0 0 .43rem;
  height: .43rem;
  border-radius: 50%;
  background: #427f53;
}
.project-intro, .product-intro { margin-block-start: .55rem; text-wrap: initial; }
.project-intro { font-size: clamp(2.25rem, 4.25vw, 4rem); }
.tarothis-description { max-width: 41ch; margin-block: .85rem 1.35rem; color: var(--muted); }
.deck-art {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 18rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 48% 52%, #e9f2df 5%, #d8e9d2 49%, #c3ddc2 96%);
}
.deck-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid #f7fcf0b8;
  border-radius: 50%;
  box-shadow: 0 0 0 .9rem #eaf5e24d, 0 0 0 1rem #f7fcf078;
}
.deck-art img {
  width: min(27%, 9.65rem);
  border-radius: 6%;
  box-shadow: 0 .8rem 1.3rem #172e2455;
}
.deck-art img:first-child { transform: translate(12%, 9%) rotate(-12deg); }
.deck-art img:nth-child(2) { z-index: 1; transform: translateY(-4%); }
.deck-art img:last-child { transform: translate(-12%, 9%) rotate(12deg); }

.studio-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 5vw, 4rem);
  padding-block: 1.7rem 2.5rem;
  border-block: 1px solid var(--edge);
}
.studio-info p { max-width: 44ch; margin-top: .7rem; color: var(--muted); }
.studio-footer { min-height: 5rem; }
.studio-footer .wordmark img { width: 9rem; }

@media (max-width: 720px) {
  .masthead { flex-wrap: wrap; gap: .5rem; min-height: 4.6rem; }
  .masthead .wordmark img { width: 8.15rem; }
  .masthead nav a { padding-inline: .5rem; font-size: .8125rem; }
  .studio-hero { min-height: 31rem; align-items: end; padding-block-end: 2.25rem; }
  .studio-hero-visual::after { background: linear-gradient(0deg, #081b13f2, #081b1380 54%, #081b1300 95%); }
  .studio-hero-copy h1 { font-size: clamp(2.45rem, 10vw, 4.35rem); }
  .tarothis-panel, .studio-info { grid-template-columns: minmax(0, 1fr); }
  .deck-art { min-height: 0; padding-block: 2.5rem; }
  .deck-art img { width: min(26%, 8.1rem); }
}
