:root {
  --ink: #1e2421;
  --ink-soft: #4b524d;
  --forest: #173f3b;
  --forest-soft: #2f625b;
  --coral: #bd675e;
  --coral-deep: #8e4540;
  --gold: #b38a43;
  --paper: #f7f2e9;
  --paper-light: #fffdf8;
  --mist: #dce7e2;
  --line: #cfc7ba;
  --white: #ffffff;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: Inter, "Segoe UI", "Helvetica Neue", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}

body.jp {
  line-height: 1.9;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.45rem, 5vw, 5.2rem);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 58px);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, .94);
  border-color: rgba(30, 36, 33, .12);
  backdrop-filter: blur(14px);
}

.brand-mark,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.05;
}

.brand-sub {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: .69rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  font-size: .82rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-link {
  color: var(--forest-soft);
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.menu-icon {
  display: grid;
  width: 22px;
  gap: 5px;
}

.menu-icon span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 91svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  background: url("./site-assets/first-emblem-colored.webp") 83% 46% / auto 130% no-repeat;
}

.hero-shade {
  z-index: -1;
  width: min(64%, 920px);
  background: rgba(247, 242, 233, .94);
  border-right: 1px solid rgba(30, 36, 33, .1);
}

.hero-inner {
  width: min(100%, var(--max));
  padding: 132px clamp(22px, 6vw, 92px) 100px;
}

.hero-inner > * {
  max-width: 690px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--forest-soft);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(5rem, 10vw, 9rem);
}

.hero-question {
  margin-bottom: 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.18;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-line {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: 20px;
  margin: 0;
  display: none;
  color: rgba(30, 36, 33, .7);
  font-family: var(--serif);
  font-size: .9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 4px;
  padding: 11px 19px;
  background: var(--forest);
  color: var(--white);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--forest);
  transform: translateY(-2px);
}

.button.light {
  border-color: var(--paper-light);
  background: var(--paper-light);
  color: var(--forest);
}

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

.button.is-disabled {
  cursor: default;
  opacity: .78;
}

.button.is-disabled:hover {
  background: var(--forest);
  color: var(--white);
  transform: none;
}

.text-link {
  color: var(--forest);
  font-size: .86rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link.light {
  color: var(--paper-light);
}

.section-dark {
  background: var(--forest);
  color: var(--paper-light);
}

.opening-statement {
  padding: clamp(88px, 11vw, 160px) clamp(24px, 7vw, 110px);
}

.opening-statement .narrow {
  max-width: 1040px;
  margin: 0 auto;
}

.opening-statement .section-kicker {
  color: #d5a79f;
}

.opening-statement h2 {
  max-width: 980px;
  margin-bottom: 36px;
}

.opening-statement p:last-child {
  max-width: 680px;
  margin: 0 0 0 auto;
  color: #d9e5e1;
  font-size: 1.1rem;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: stretch;
  background: var(--paper);
}

.product-visual {
  min-height: 760px;
  overflow: hidden;
  background: #ebe6dd;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-copy {
  align-self: center;
  max-width: 720px;
  padding: clamp(70px, 8vw, 126px) clamp(28px, 7vw, 108px);
}

.product-copy h2 {
  margin-bottom: 20px;
}

.product-subtitle {
  margin-bottom: 24px;
  color: var(--coral-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 30px;
  border-block: 1px solid var(--line);
}

.product-facts div {
  padding: 18px 12px;
  text-align: center;
}

.product-facts div + div {
  border-left: 1px solid var(--line);
}

.product-facts dt {
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.product-facts dd {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: .72rem;
  text-transform: uppercase;
}

.plain-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
}

.plain-list li::before {
  position: absolute;
  top: .75em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.availability {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
}

.line-color-section,
.gates-section,
.meaning-section,
.faq-section {
  padding: clamp(88px, 10vw, 150px) clamp(22px, 6vw, 88px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 24px;
}

.section-heading > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
}

.artwork-pair {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin: 0 auto;
}

.artwork-figure {
  margin: 0;
}

.artwork-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}

.artwork-frame > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line-frame {
  border: 1px solid #d6d6d2;
}

.color-frame {
  border: 1px solid #c7bcae;
}

.artwork-figure figcaption,
.path-art figcaption {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: .84rem;
}

.artwork-figure figcaption span {
  color: var(--coral-deep);
}

.gates-section {
  background: var(--mist);
}

.gate-tabs {
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(23, 63, 59, .28);
}

.gate-tabs button {
  position: relative;
  border: 0;
  padding: 13px 20px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.gate-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--coral);
  content: "";
  opacity: 0;
}

.gate-tabs button[aria-selected="true"]::after {
  opacity: 1;
}

.gate-stage {
  width: min(100%, var(--max));
}

.gate-panel {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.gate-panel[hidden] {
  display: none;
}

.gate-image {
  height: min(68vh, 720px);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 22px 50px rgba(23, 63, 59, .12);
}

.gate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gate-copy {
  max-width: 560px;
}

.gate-number {
  margin-bottom: 20px;
  color: var(--coral-deep);
  font-family: var(--serif);
  font-size: 3rem;
}

.gate-copy h3 {
  margin-bottom: 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 400;
}

.gate-copy p:last-child {
  color: #435b56;
}

.paths-section {
  display: grid;
  grid-template-columns: minmax(340px, .74fr) minmax(0, 1.26fr);
  gap: clamp(42px, 7vw, 100px);
  padding: clamp(88px, 10vw, 150px) 0 clamp(88px, 10vw, 150px) clamp(22px, 6vw, 88px);
  background: var(--forest);
  color: var(--paper-light);
}

.paths-intro {
  align-self: center;
}

.paths-intro .section-kicker {
  color: #d5a79f;
}

.paths-intro h2 {
  margin-bottom: 28px;
}

.paths-intro p:last-child {
  max-width: 560px;
  color: #cfe0da;
}

.path-gallery {
  display: grid;
  grid-auto-columns: minmax(250px, 42%);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 0 clamp(22px, 6vw, 88px) 20px 0;
  scroll-snap-type: x mandatory;
}

.path-art {
  margin: 0;
  scroll-snap-align: start;
}

.path-image {
  position: relative;
}

.path-image > img:first-child {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .2);
}

.artwork-frame .artwork-signature,
.path-image .artwork-signature {
  position: absolute;
  right: 3.2%;
  bottom: 2.6%;
  width: 7.5%;
  height: auto;
  object-fit: contain;
  border: 0;
  opacity: .9;
  pointer-events: none;
}

.path-art figcaption {
  color: #d5e2de;
}

.meaning-section {
  background: var(--paper);
}

.meaning-lead {
  max-width: 900px;
  margin-bottom: 64px;
}

.meaning-lead h2 {
  margin-bottom: 26px;
}

.meaning-lead p:last-child {
  max-width: 680px;
  color: var(--ink-soft);
}

.readings {
  border-top: 1px solid var(--line);
}

.reading {
  display: grid;
  grid-template-columns: minmax(140px, .3fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.kanji {
  margin: 0;
  color: var(--forest);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 1;
}

.reading h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  font-weight: 400;
}

.reading p:last-child {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.meaning-tail {
  margin: 40px 0 0;
  color: var(--coral-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(440px, 1.25fr);
  align-items: stretch;
  background: #dde8e3;
}

.about-mark {
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
}

.about-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  align-self: center;
  max-width: 740px;
  padding: clamp(80px, 9vw, 140px) clamp(28px, 7vw, 110px);
}

.about-copy h2 {
  margin-bottom: 32px;
  color: var(--forest);
}

.about-copy p:not(.section-kicker) {
  color: #3f5550;
}

.faq-section {
  background: var(--paper-light);
}

.faq-list {
  width: min(100%, 980px);
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 58px 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--forest);
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  padding: 0 58px 26px 0;
  color: var(--ink-soft);
}

.closing-section {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper-light);
  isolation: isolate;
}

.closing-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("./site-assets/first-emblem-colored.webp") 78% 52% / auto 135% no-repeat;
  opacity: .44;
}

.closing-section::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(65%, 900px);
  background: rgba(23, 63, 59, .92);
  content: "";
}

.closing-copy {
  max-width: 900px;
  padding: clamp(90px, 12vw, 170px) clamp(22px, 7vw, 110px);
}

.closing-copy .section-kicker {
  color: #e0b3ab;
}

.closing-copy h2 {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px clamp(22px, 5vw, 72px);
  background: #111814;
  color: #e9efec;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.footer-brand span,
.footer-note {
  color: #aab8b2;
  font-size: .72rem;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: .78rem;
}

.footer-links a,
.social-links a {
  color: #e9efec;
  text-underline-offset: 4px;
}

.social-links:empty {
  display: none;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
}

.legal-main {
  min-height: 75svh;
  padding: 150px clamp(22px, 6vw, 88px) 100px;
  background: var(--paper-light);
}

.legal-document {
  max-width: 840px;
}

.legal-document h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.legal-document .updated {
  margin-bottom: 48px;
  color: var(--ink-soft);
  font-size: .8rem;
}

.legal-document h2 {
  margin: 44px 0 14px;
  font-family: var(--serif);
  font-size: 1.65rem;
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
}

.contact-address {
  display: inline-block;
  margin-top: 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}

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

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

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    background: rgba(255, 253, 248, .96);
    border-color: rgba(30, 36, 33, .1);
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: var(--paper-light);
    font-family: var(--serif);
    font-size: 1.55rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 92svh;
    align-items: end;
  }

  .hero-image {
    background-position: 62% 40%;
    background-size: auto 104%;
    opacity: 1;
  }

  .hero-shade {
    width: 100%;
    background: rgba(247, 242, 233, .72);
    border: 0;
  }

  .hero-inner {
    padding-top: 120px;
    padding-bottom: 88px;
  }

  .hero-line {
    display: none;
  }

  .product-section,
  .gate-panel,
  .paths-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 560px;
  }

  .product-copy {
    max-width: none;
  }

  .paths-section {
    padding-right: 0;
  }

  .path-gallery {
    grid-auto-columns: minmax(250px, 68%);
  }

  .about-mark {
    min-height: 420px;
    max-height: 70svh;
  }

  .closing-section::after {
    width: 82%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand-sub {
    display: none;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 24vw, 7.5rem);
  }

  .hero-question {
    font-size: 1.7rem;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-visual {
    min-height: 430px;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .artwork-pair {
    grid-template-columns: 1fr;
  }

  .gate-tabs {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .gate-tabs button {
    min-width: 0;
    padding-inline: 8px;
  }

  .gate-image {
    height: 56svh;
  }

  .path-gallery {
    grid-auto-columns: 84%;
  }

  .reading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kanji {
    font-size: 4.2rem;
  }

  .closing-section {
    min-height: 82svh;
  }

  .closing-art {
    background-position: 55% 35%;
    background-size: auto 105%;
  }

  .closing-section::after {
    width: 100%;
    background: rgba(23, 63, 59, .82);
  }

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

  .footer-links,
  .social-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

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