@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,500&family=Cormorant+Garamond:ital,wght@1,500;1,600&display=swap");

:root {
  --bg: #0b0d10;
  --bg-2: #12161c;
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --ink: #14171c;
  --muted: #8d8880;
  --muted-dark: #6f6a64;
  --line: rgba(244, 241, 234, 0.12);
  --line-dark: rgba(20, 23, 28, 0.12);
  --accent: #c45c26;
  --accent-soft: #e8c4a8;
  --brass: #c9b48a;
  --white: #f7f4ee;
  --header-h: 76px;
  --max: 1240px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --didone: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0;
}

.en-line {
  display: block;
  margin-top: 0.5em;
  font-family: var(--en);
  font-style: italic;
  font-weight: 500;
  font-size: 0.42em;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: var(--brass);
}

.section-paper .en-line,
.section-paper h2 .en-line {
  color: #8a5a38;
}

.lang-mark {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(247, 244, 238, 0.45);
  white-space: nowrap;
}

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

.lbl i,
.th-en {
  font-family: var(--en);
  font-style: italic;
  font-weight: 500;
  opacity: 0.55;
  margin-left: 0.45em;
  letter-spacing: 0.03em;
  text-transform: none;
}

.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 72px;
  max-width: none;
}

.bilingual p[lang="en"] {
  font-size: 0.92em;
  letter-spacing: 0.02em;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.62);
}

.section-paper .bilingual p[lang="en"] {
  color: var(--muted-dark);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(11, 13, 16, 0.72), rgba(11, 13, 16, 0));
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s;
}

.header.is-scrolled,
.header.is-solid {
  background: rgba(11, 13, 16, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.brand-text span {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav a {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(247, 244, 238, 0.72);
}

.nav a:hover,
.nav a.is-current {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 42px;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.header-cta small {
  font-family: var(--en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.header-cta:hover {
  background: transparent;
  color: var(--accent-soft);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.08) brightness(0.62);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.88) 0%, rgba(11, 13, 16, 0.42) 48%, rgba(11, 13, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 13, 16, 0.15) 0%, rgba(11, 13, 16, 0.82) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.gold-title {
  margin: 0 0 22px;
  font-family: var(--didone);
  font-weight: 500;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f8ebb8 0%, #e8c75a 42%, #c9a227 78%, #9a7410 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(201, 162, 39, 0.22));
}

.hero h1 {
  max-width: 16em;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.22;
  margin: 18px 0 28px;
}

.hero h1 .en-line {
  max-width: 22em;
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--brass);
}

.hero-lead {
  max-width: 38em;
  color: rgba(247, 244, 238, 0.82);
  font-size: 16px;
  margin: 0 0 12px;
}

.hero-lead[lang="en"] {
  font-family: var(--en);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(201, 180, 138, 0.88);
  margin: 0 0 36px;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 52px;
  padding: 8px 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn small {
  font-family: var(--en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
  opacity: 0.78;
  margin-top: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-ghost {
  border-color: rgba(247, 244, 238, 0.35);
  color: var(--white);
}

.btn:hover {
  opacity: 0.88;
}

.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  padding: 18px 20px 0 0;
}

.hero-meta dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero-meta dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 18px;
}

.hero-meta dd small {
  display: block;
  margin-top: 4px;
  font-family: var(--en);
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.02em;
}

.vert-label {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(247, 244, 238, 0.45);
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 96px 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-head h2 .en-line {
  font-size: 22px;
}

.lede {
  margin: 0;
  color: var(--muted-dark);
}

.lede-en {
  margin: 8px 0 0;
  font-family: var(--en);
  font-style: italic;
  font-size: 17px;
  color: #8a5a38;
}

.section-dark .lede,
.section .lede-en.dark {
  color: rgba(201, 180, 138, 0.88);
}

.section:not(.section-paper) .lede {
  color: rgba(247, 244, 238, 0.7);
}

.section:not(.section-paper) .lede-en {
  color: var(--brass);
}

.issue-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.issue-list article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.issue-list span {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 18px;
}

.issue-list p {
  margin: 0;
  font-size: 17px;
}

.issue-list .en-line {
  margin-top: 0.25em;
  font-size: 17px;
  color: #8a5a38;
}

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

.card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.section-paper .card {
  background: #fff;
  border-color: var(--line-dark);
}

.card h3 {
  font-size: 22px;
  margin: 10px 0 8px;
}

.card h3 .en-line {
  font-size: 16px;
  margin-top: 0.2em;
}

.card .en-copy {
  font-family: var(--en);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--brass);
}

.section-paper .card .en-copy {
  color: #8a5a38;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 14px;
}

.section-paper .card p,
.section-paper .card li {
  color: var(--muted-dark);
}

.card ul {
  margin: 0;
  padding-left: 1.1em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.quote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.6;
  margin: 0 0 8px;
}

.quote .en-line {
  font-size: 20px;
  margin-top: 0.6em;
}

.sign {
  font-size: 13px;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
}

.section-paper .table th,
.section-paper .table td {
  border-bottom-color: var(--line-dark);
}

.table th {
  width: 9em;
  color: var(--muted);
  font-weight: 500;
}

.hubs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hub h3 .en-line {
  font-size: 16px;
}

.job p .en-line,
.job .en-line {
  font-size: 15px;
  margin-top: 0.2em;
}

.page-hero {
  padding: calc(var(--header-h) + 72px) 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin-top: 12px;
  max-width: 14em;
}

.page-hero h1 .en-line {
  font-size: clamp(18px, 2.4vw, 26px);
}

.prose {
  max-width: 46em;
}

.prose p {
  margin: 0 0 1.2em;
}

.prose ul {
  padding-left: 1.2em;
}

.jobs {
  display: grid;
  gap: 16px;
}

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font: inherit;
  padding: 10px 0;
  outline: none;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-bottom-color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: rgba(247, 244, 238, 0.7);
  font-size: 14px;
  margin: 0 0 6px;
}

.line-label {
  margin: 14px 0 8px !important;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.line-qr {
  width: 132px;
  height: auto;
  background: #fff;
  padding: 8px;
  display: block;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0b0d10;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }

  .nav.is-open a {
    padding: 14px 24px;
    font-size: 13px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .section-head,
  .cards,
  .split,
  .hubs,
  .hero-meta,
  .footer-grid,
  .issue-list article,
  .job,
  .bilingual {
    grid-template-columns: 1fr;
  }

  .lang-mark {
    display: none;
  }

  .vert-label {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) 0 40px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.2vw, 40px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .section {
    padding: 64px 0;
  }
}
