@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("assets/fonts/IBMPlexSansJP-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("assets/fonts/IBMPlexSansJP-SemiBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("assets/fonts/IBMPlexSansJP-Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Albert Sans";
  src: url("assets/fonts/AlbertSans-Variable-Latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  color-scheme: light;
  --ink: #171a1b;
  --paper: #f5f3ed;
  --white: #fff;
  --muted: #686c6c;
  --line: #cfd0cb;
  --teal: #315966;
  --teal-deep: #233e47;
  --coral: #c96055;
  --yellow: #d2a33b;
  --sky: #70b8cf;
  --header-height: 68px;
  --font-body: "IBM Plex Sans JP", "Yu Gothic UI", "Yu Gothic", sans-serif;
  --font-editorial: "Albert Sans", "Segoe UI", sans-serif;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

html[lang="en"] body {
  font-family: var(--font-editorial);
}

body,
button,
a {
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(21, 25, 27, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
}

.wordmark {
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-family: var(--font-editorial);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 30px);
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
}

.language-switch button {
  width: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-family: var(--font-editorial);
  font-size: 10px;
  font-weight: 600;
}

.language-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
}

.site-nav a {
  color: inherit;
  font-family: var(--font-editorial);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--sky);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(76vh, 740px);
  overflow: hidden;
  background: var(--ink) url("assets/images/tinmoon-header.png") center / cover no-repeat;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 11, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 54px) 0 84px;
}

.eyebrow,
.section-kicker,
.work-meta {
  margin: 0 0 18px;
  font-size: 12px;
  font-family: var(--font-editorial);
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow {
  color: #d8e5e7;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 76px;
  line-height: 1;
  font-family: var(--font-editorial);
  font-weight: 500;
}

.hero-copy {
  max-width: 620px;
  margin: 30px 0 34px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-editorial);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--sky);
}

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

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--teal-deep);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(24px, 5vw, 80px);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 11px;
  font-family: var(--font-editorial);
  font-weight: 600;
  text-decoration: none;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: var(--white);
}

.section {
  padding: 112px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-kicker {
  color: var(--coral);
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(56px, 9vw, 150px);
}

.about h2,
.section-heading h2,
.contact h2,
.legal-content h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
}

html[lang="en"] .about h2,
html[lang="en"] .section-heading h2,
html[lang="en"] .contact h2,
html[lang="en"] .legal-content h1,
html[lang="en"] .work-copy h3,
html[lang="en"] .work-row h3 {
  font-family: var(--font-editorial);
  font-weight: 500;
}

.section-heading h2,
.work-copy h3,
.work-row h3 {
  font-family: var(--font-editorial);
  font-weight: 500;
}

.about p:not(.section-kicker) {
  max-width: 730px;
  margin: 34px 0 0;
  font-size: 18px;
}

.works {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-heading .section-kicker {
  margin-bottom: 8px;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(42px, 7vw, 98px);
  align-items: center;
  padding: 72px 0 82px;
}

.work-image-wrap {
  overflow: hidden;
  background: var(--teal-deep);
  border-radius: 6px;
}

.work-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-meta {
  color: var(--teal);
}

.work-copy h3,
.work-row h3 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}

.work-copy p {
  margin: 22px 0 0;
}

.work-copy .work-lead {
  font-size: 19px;
  font-weight: 600;
}

.purchase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
}

.store-status {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-editorial);
  font-weight: 600;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 88px;
  background: var(--ink);
}

.detail-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.detail-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.9;
}

.detail-strip figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.work-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 42px 0 12px;
  border-top: 1px solid var(--line);
}

.work-number {
  color: var(--coral);
  font-family: var(--font-editorial);
  font-size: 14px;
  font-weight: 600;
}

.work-row p {
  max-width: 720px;
  margin: 14px 0 0;
}

.text-link {
  font-family: var(--font-editorial);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}

.contact {
  background: var(--teal);
  color: var(--white);
}

.contact .section-kicker {
  color: #f3c858;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 150px);
}

.contact-copy > p {
  max-width: 560px;
  margin: 10px 0 28px;
  font-size: 18px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.contact-links a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  font-weight: 700;
  text-decoration: none;
}

.contact-links a:nth-child(odd) {
  margin-right: 24px;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: #f3c858;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 0 clamp(24px, 5vw, 80px);
  background: var(--ink);
  color: #b7babb;
  font-size: 12px;
}

.site-footer .wordmark {
  color: var(--white);
}

.not-found-page {
  background: var(--paper);
}

.not-found-main {
  min-height: calc(100vh - 110px);
  padding: calc(var(--header-height) + 46px) 24px 0;
}

.not-found-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  width: min(1120px, 100%);
  min-height: calc(100vh - var(--header-height) - 156px);
  margin: 0 auto;
}

.not-found-copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.not-found-copy h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.28;
}

html[lang="en"] .not-found-copy h1 {
  font-family: var(--font-editorial);
  font-weight: 500;
}

.not-found-copy > p:not(.section-kicker) {
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.not-found-visual {
  align-self: end;
  margin: 0;
}

.not-found-visual img {
  width: 100%;
  max-height: calc(100vh - var(--header-height) - 46px);
  object-fit: contain;
  object-position: center bottom;
}

.legal-page {
  background: var(--paper);
}

.legal-main {
  min-height: calc(100vh - 110px);
  padding: calc(var(--header-height) + 80px) 24px 110px;
}

.legal-content {
  width: min(760px, 100%);
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 12px;
}

.legal-updated {
  margin: 0 0 62px;
  color: var(--muted);
  font-size: 13px;
}

.legal-content h2 {
  margin: 50px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.legal-content p {
  margin: 0;
}

.legal-content a:not(.legal-back) {
  color: var(--teal);
}

.legal-back {
  display: inline-block;
  margin-top: 70px;
}

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

@media (max-width: 900px) {
  .hero h1 {
    font-size: 58px;
  }

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

  .about-grid,
  .contact-grid {
    gap: 36px;
  }

  .featured-work {
    gap: 42px;
  }

  .work-image-wrap {
    max-width: 720px;
  }

  .work-row {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .work-row .text-link {
    grid-column: 2;
  }

  .not-found-main {
    padding-top: calc(var(--header-height) + 72px);
  }

  .not-found-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .not-found-copy {
    max-width: 620px;
  }

  .not-found-visual {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .not-found-visual img {
    max-height: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

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

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .header-actions {
    gap: 12px;
  }

  .language-switch {
    grid-template-columns: repeat(2, 27px);
  }

  .language-switch button {
    width: 27px;
  }

  .hero {
    min-height: 72svh;
    background-position: 48% center;
  }

  .hero-content,
  .section-inner {
    width: min(100% - 36px, 1180px);
  }

  .hero-content {
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    margin: 24px 0 28px;
    font-size: 17px;
  }

  .scroll-cue {
    right: 18px;
  }

  .scroll-line {
    height: 36px;
  }

  .section {
    padding: 78px 0;
  }

  .about h2,
  .section-heading h2,
  .contact h2,
  .legal-content h1 {
    font-size: 34px;
  }

  .about p:not(.section-kicker),
  .contact-copy > p {
    font-size: 16px;
  }

  .featured-work {
    padding: 48px 0 60px;
  }

  .work-copy h3,
  .work-row h3 {
    font-size: 30px;
  }

  .work-copy .work-lead {
    font-size: 17px;
  }

  .purchase-links {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-links .button {
    width: 100%;
  }

  .store-status {
    justify-content: center;
  }

  .detail-strip {
    grid-template-columns: 1fr;
    margin-right: -18px;
    margin-bottom: 64px;
    margin-left: -18px;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .work-row .text-link {
    grid-column: 1;
    margin-top: 16px;
  }

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

  .contact-links a:nth-child(odd) {
    margin-right: 0;
  }

  .site-footer {
    min-height: 96px;
    padding: 0 18px;
  }

  .legal-main {
    padding-right: 18px;
    padding-left: 18px;
  }

  .not-found-main {
    padding: calc(var(--header-height) + 54px) 18px 0;
  }

  .not-found-copy h1 {
    font-size: 38px;
  }

  .not-found-copy > p:not(.section-kicker) {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .wordmark {
    flex-shrink: 0;
    font-size: 14px;
  }

  .header-actions,
  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    font-size: 10px;
  }

  .language-switch {
    grid-template-columns: repeat(2, 24px);
  }

  .language-switch button {
    width: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
