:root {
  --paper: #F4F1EB;
  --paper-bright: #FBFAF7;
  --ink: #252525;
  --ink-soft: #5E625D;
  --green-black: #1F2928;
  --sage: #7B8576;
  --sand: #D9D1C4;
  --oxblood: #663A40;
  --border: #D5D0C8;
  --border-dark: rgba(244, 241, 235, .28);
  --display: "Iowan Old Style", "Baskerville", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --sans-ja: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='.32'/%3E%3C/svg%3E");
  content: "";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: var(--green-black);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.section-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-right: clamp(24px, 6vw, 92px);
  padding-left: clamp(24px, 6vw, 92px);
}

.section-block { padding-top: clamp(112px, 13vw, 190px); padding-bottom: clamp(112px, 13vw, 190px); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 92px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(244, 241, 235, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; }

.brand-lockup,
.footer-brand span { display: grid; gap: 2px; line-height: 1.05; }

.brand-lockup strong,
.footer-brand strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.brand-lockup small,
.footer-brand small {
  color: var(--sage);
  font-size: 9px;
  letter-spacing: .12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  margin-left: auto;
  margin-right: clamp(24px, 3vw, 50px);
}

.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  content: "";
}

.main-nav a:hover,
.main-nav a:focus-visible { color: var(--oxblood); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

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

.language-nav,
.mobile-language { display: flex; align-items: center; gap: 2px; }

.lang-btn {
  padding: 5px 6px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  opacity: .65;
  transition: color .2s ease, opacity .2s ease, border-color .2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible { opacity: 1; color: var(--oxblood); }
.lang-btn.is-active { border-color: var(--oxblood); color: var(--oxblood); opacity: 1; }
.mobile-language { display: none; }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

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

/* Shared text */
.section-index {
  margin: 0;
  color: var(--sage);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.4;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.16;
}

.section-intro {
  max-width: 430px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 176px;
  padding: 14px 16px;
  border: 1px solid transparent;
  font-size: 12px;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, color .25s ease, gap .25s ease;
}

.button:hover,
.button:focus-visible { gap: 40px; }
.button-dark { background: var(--green-black); color: var(--paper); }
.button-dark:hover,
.button-dark:focus-visible { background: var(--oxblood); }
.button-light { border-color: rgba(244, 241, 235, .55); color: var(--paper); }
.button-light:hover,
.button-light:focus-visible { border-color: var(--paper); background: var(--paper); color: var(--green-black); }

.under-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 12px;
  text-decoration: none;
  transition: gap .25s ease, color .2s ease, border-color .2s ease;
}
.under-link:hover,
.under-link:focus-visible { gap: 18px; color: var(--oxblood); border-color: var(--oxblood); }
.under-link-dark { color: var(--ink); border-color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  min-height: max(740px, 100svh);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
  gap: clamp(48px, 8vw, 126px);
  align-items: center;
  padding-top: 106px;
  padding-bottom: 86px;
}

.hero-copy { min-width: 0; }
.hero-title { margin-top: 25px; }
.hero-title em { color: var(--oxblood); font-style: normal; }

.hero-intro {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 38px; }
.hero-note { max-width: 340px; margin: 66px 0 0; color: var(--sage); font-size: 11px; letter-spacing: .04em; }

.hero-art-wrap { width: 100%; max-width: 550px; justify-self: end; }

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: .82;
  padding: 21px;
  background: var(--sand);
  box-shadow: 18px 18px 0 rgba(31, 41, 40, .08);
}

.hero-stage::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(37, 37, 37, .18);
  pointer-events: none;
  content: "";
}

.hero-stage::after {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 96px;
  height: 96px;
  border-right: 1px solid var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
  pointer-events: none;
  content: "";
}

.hero-art { width: 100%; height: 100%; object-fit: cover; }

.hero-stage-label {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 42px);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: .16em;
  line-height: 1;
}
.hero-stage-label-top { top: 37px; left: 36px; }
.hero-stage-label-bottom { right: 36px; bottom: 37px; color: rgba(244, 241, 235, .82); }

.hero-caption {
  position: absolute;
  right: 36px;
  bottom: 57px;
  z-index: 3;
  width: min(230px, 48%);
  padding: 14px 16px 16px;
  background: rgba(244, 241, 235, .92);
}
.caption-kicker { margin: 0 0 8px; color: var(--sage); font-size: 8px; letter-spacing: .13em; line-height: 1.4; }
.caption-title { margin: 0; color: var(--ink); font-family: var(--display); font-size: 17px; line-height: 1.35; }
.caption-text { margin: 8px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: clamp(24px, 6vw, 92px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage);
  font-size: 10px;
  letter-spacing: .13em;
}
.scroll-cue i { width: 46px; height: 1px; background: currentColor; }

/* Capabilities */
.capabilities { background: var(--paper); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(130px, .38fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
}

.capability-list,
.principle-list { margin-top: clamp(70px, 9vw, 122px); border-top: 1px solid var(--border); }

.capability-row {
  display: grid;
  grid-template-columns: 70px minmax(190px, 1fr) minmax(260px, .85fr) 25px;
  gap: 24px;
  align-items: center;
  min-height: 136px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.row-number { color: var(--sage); font-size: 11px; letter-spacing: .12em; }
.capability-row h3,
.principle-row h3 { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.capability-row p,
.principle-row p { max-width: 390px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.row-mark { color: var(--oxblood); font-size: 22px; font-weight: 300; text-align: right; }

/* Japan Auction */
.auction { background: var(--green-black); color: var(--paper); }
.auction-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
}
.section-index-light { color: var(--sand); }
.section-title-light { color: var(--paper); }
.auction-text { max-width: 500px; margin: 32px 0 0; color: rgba(244, 241, 235, .76); font-size: 16px; line-height: 1.9; }
.auction-copy .button { margin-top: 38px; }
.auction-relation { max-width: 430px; margin: 26px 0 0; color: rgba(244, 241, 235, .52); font-size: 11px; line-height: 1.75; }

.auction-panel {
  position: relative;
  min-height: 430px;
  padding: 28px 30px 32px;
  border: 1px solid var(--border-dark);
}
.auction-panel::after {
  position: absolute;
  right: 25px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-right: 1px solid var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
  content: "";
}
.auction-panel-head { display: flex; justify-content: space-between; color: var(--sand); font-size: 9px; letter-spacing: .15em; }
.category-list { margin-top: 76px; }
.category-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 80px;
  border-bottom: 1px solid var(--border-dark);
}
.category-row:first-child { border-top: 1px solid var(--border-dark); }
.category-row strong { font-size: 13px; font-weight: 500; letter-spacing: .2em; }
.category-row > span:last-child { color: var(--sage); font-size: 10px; letter-spacing: .12em; }
.category-shape { position: relative; display: block; width: 31px; height: 31px; color: var(--sand); }
.category-watch { border: 1px solid var(--sand); border-radius: 50%; }
.category-watch::before,
.category-watch::after { position: absolute; top: -7px; left: 12px; width: 5px; height: 7px; border: 1px solid var(--sage); content: ""; }
.category-watch::after { top: auto; bottom: -7px; }
.category-jewel { width: 24px; height: 24px; margin-left: 4px; border: 1px solid var(--sand); transform: rotate(45deg); }
.category-jewel::after { position: absolute; inset: 5px; border: 1px solid var(--sage); content: ""; }
.category-bag { width: 27px; height: 23px; margin-left: 2px; border: 1px solid var(--sand); border-radius: 2px 2px 5px 5px; }
.category-bag::before { position: absolute; top: -9px; left: 7px; width: 11px; height: 12px; border: 1px solid var(--sand); border-bottom: 0; border-radius: 9px 9px 0 0; content: ""; }
.auction-panel-note { max-width: 270px; margin: 36px 0 0; color: rgba(244, 241, 235, .64); font-family: var(--display); font-size: 17px; line-height: 1.45; }

/* Principles */
.principles { background: var(--paper-bright); }
.principle-row {
  display: grid;
  grid-template-columns: 70px minmax(190px, .7fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 118px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.principle-row p { justify-self: end; width: min(100%, 390px); }

/* Contact */
.contact { border-top: 1px solid var(--border); background: var(--sand); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
  gap: clamp(44px, 10vw, 160px);
  align-items: end;
}
.contact-title { margin: 28px 0 0; color: var(--green-black); font-family: var(--display); font-size: clamp(48px, 7vw, 104px); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
.contact-copy { padding-bottom: 3px; }
.contact-copy > p { max-width: 450px; margin: 0; color: var(--ink); font-size: 17px; line-height: 1.85; }
.contact-note { display: flex; gap: 12px; max-width: 420px; margin-top: 40px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.contact-note-mark { color: var(--oxblood); font-size: 18px; line-height: 1.2; }
.contact-copy .under-link { margin-top: 44px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 120px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 30px; color: var(--ink-soft); font-size: 11px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Language-specific typography */
html[lang="en"] body,
html[lang="en"] .lang-btn { font-family: var(--sans); }
html[lang="ja"] body,
html[lang="ja"] .lang-btn { font-family: var(--sans-ja); }
html[lang="ja"] .section-title,
html[lang="ja"] .contact-title,
html[lang="ja"] .caption-title,
html[lang="ja"] .auction-panel-note,
html[lang="ja"] .capability-row h3,
html[lang="ja"] .principle-row h3 { font-family: var(--sans-ja); letter-spacing: -.06em; }

/* Responsive */
@media (max-width: 1040px) {
  .main-nav { gap: 18px; margin-right: 20px; }
  .hero-inner,
  .auction-inner { grid-template-columns: minmax(0, 1fr) minmax(310px, .8fr); gap: 48px; }
  .capability-row { grid-template-columns: 52px minmax(170px, 1fr) minmax(210px, .9fr) 20px; gap: 18px; }
  .principle-row { grid-template-columns: 52px minmax(170px, .7fr) minmax(220px, 1fr); gap: 18px; }
}

@media (max-width: 780px) {
  .site-header { height: 70px; padding-right: 20px; padding-left: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-lockup strong { font-size: 14px; }
  .language-nav { display: none; }
  .menu-button { display: block; }
  .main-nav {
    position: fixed;
    inset: 70px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 22px 24px 28px;
    border-top: 1px solid var(--border);
    background: rgba(244, 241, 235, .98);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 17px 0; border-bottom: 1px solid var(--border); color: var(--ink); font-size: 16px; }
  .mobile-language { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
  .mobile-language .lang-btn { flex: 1; padding: 12px 5px; border: 1px solid var(--border); font-size: 13px; }
  .mobile-language .lang-btn.is-active { border-color: var(--oxblood); background: rgba(102, 58, 64, .06); }

  .hero { min-height: auto; }
  .hero-inner { display: block; padding-top: 125px; padding-bottom: 100px; }
  .hero-title { font-size: clamp(42px, 10vw, 66px); }
  .hero-intro { font-size: 15px; }
  .hero-art-wrap { max-width: 520px; margin: 70px auto 0; }
  .hero-note { margin-top: 48px; }
  .scroll-cue { bottom: 25px; left: 24px; }

  .section-block { padding-top: 94px; padding-bottom: 94px; }
  .section-heading { display: block; }
  .section-heading > div { margin-top: 32px; }
  .section-title { font-size: clamp(36px, 10vw, 56px); }
  .section-intro { margin-top: 24px; }

  .capability-list,
  .principle-list { margin-top: 62px; }
  .capability-row,
  .principle-row { grid-template-columns: 44px 1fr 20px; gap: 16px; min-height: 0; padding: 24px 0; }
  .capability-row h3,
  .principle-row h3 { font-size: 28px; }
  .capability-row p,
  .principle-row p { grid-column: 2 / 4; max-width: none; }
  .principle-row p { justify-self: start; width: auto; }

  .auction-inner { display: block; }
  .auction-panel { margin-top: 62px; }

  .contact-inner { display: block; }
  .contact-copy { margin-top: 60px; }
  .contact-title { font-size: clamp(55px, 15vw, 90px); }

  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 30px; padding-bottom: 30px; }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .brand-lockup small { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-stage { padding: 13px; box-shadow: 10px 10px 0 rgba(31, 41, 40, .08); }
  .hero-stage-label { width: calc(100% - 26px); font-size: 8px; }
  .hero-stage-label-top { top: 25px; left: 24px; }
  .hero-stage-label-bottom { right: 24px; bottom: 25px; }
  .hero-caption { right: 24px; bottom: 42px; width: 54%; padding: 11px 12px 12px; }
  .caption-title { font-size: 15px; }
  .caption-text { font-size: 10px; }
  .auction-panel { min-height: 390px; padding-right: 20px; padding-left: 20px; }
  .category-list { margin-top: 55px; }
  .category-row { grid-template-columns: 35px 1fr auto; gap: 12px; }
  .category-row strong { font-size: 11px; letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
