:root {
  --bg: #f4f0e8;
  --bg-soft: rgba(255, 255, 255, 0.56);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fbf8f1;
  --ink: #1d1a16;
  --muted: #6a6257;
  --line: rgba(29, 26, 22, 0.1);
  --accent: #8d7357;
  --accent-deep: #4f4335;
  --shadow: 0 28px 60px rgba(43, 33, 24, 0.12);
  --radius: 28px;
  --font-display: "Cormorant Garamond", serif;
  --font-sans: "Noto Sans JP", "Noto Sans SC", sans-serif;
  --max: 1240px;
}

html[lang="zh-Hans"] {
  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
}

html[lang="ja"] {
  --font-display: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(164, 132, 96, 0.12), transparent 28%),
    radial-gradient(circle at right 14%, rgba(90, 82, 72, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 40%, #efe8dd 100%);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(90, 78, 64, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90, 78, 64, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 65%);
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
}

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

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

.gateway-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.gateway-shell {
  width: min(100%, 1180px);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: rgba(251, 248, 241, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.gateway-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: stretch;
}

.gateway-copy-block,
.gateway-language-panel {
  border: 1px solid rgba(29, 26, 22, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.gateway-copy-block {
  padding: 40px;
}

.gateway-language-panel {
  padding: 30px;
  display: grid;
  gap: 22px;
}

.gateway-mark {
  width: 96px;
  margin-bottom: 24px;
}

.gateway-kicker,
.eyebrow,
.panel-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-size: 12px;
}

.gateway-title,
.hero-copy h1,
.section-heading h2,
.hero-panel h2 {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.gateway-title {
  margin: 0 0 18px;
  font-size: clamp(52px, 7vw, 88px);
}

.gateway-copy {
  margin: 0 0 28px;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.gateway-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gateway-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gateway-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(29, 26, 22, 0.08);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  color: var(--muted);
}

.gateway-panel-head {
  display: grid;
  gap: 10px;
}

.gateway-panel-kicker {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-size: 12px;
}

.gateway-panel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.gateway-language-grid {
  display: grid;
  gap: 16px;
}

.gateway-language-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(29, 26, 22, 0.08);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 180ms ease, border-color 180ms ease;
}

.gateway-language-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 26, 22, 0.18);
}

.gateway-language-card strong {
  font-size: 28px;
  font-family: var(--font-display);
  line-height: 1;
}

.gateway-language-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.gateway-language-label,
.gateway-language-action {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.gateway-language-card-primary {
  background:
    linear-gradient(180deg, rgba(183, 44, 44, 0.07), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.52);
}

.site-header,
.site-footer,
.hero-section,
.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(29, 26, 22, 0.08);
  border-radius: 999px;
  background: rgba(248, 244, 236, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(34, 26, 20, 0.06);
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: visible;
}

.brand-mark img,
.gateway-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a:hover,
.language-switch a:hover {
  color: var(--ink);
}

.language-switch {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.language-switch .active {
  color: var(--ink);
  font-weight: 700;
}

.hero-section {
  padding: 72px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.pillar-card,
.company-facts,
.company-statement,
.report-cards article,
.contact-form,
.contact-panel,
.capability-block,
.process-grid article {
  border: 1px solid rgba(29, 26, 22, 0.09);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 52px;
  border-radius: 40px;
}

.hero-copy h1 {
  margin: 14px 0 22px;
  font-size: clamp(56px, 9vw, 110px);
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.trust-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-ribbon span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(29, 26, 22, 0.08);
  font-size: 13px;
}

.hero-panel {
  padding: 36px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signal-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.signal-stack div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(29, 26, 22, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

.signal-stack span,
.atlas-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.signal-stack strong {
  font-size: 14px;
}

.hero-panel h2 {
  margin: 16px 0 16px;
  font-size: clamp(36px, 6vw, 62px);
}

.hero-panel p,
.hero-panel dd,
.section-heading p,
.service-card p,
.pillar-card p,
.company-statement p,
.report-cards p,
.contact-panel p,
.contact-panel a,
.contact-form label,
.capability-list span,
.process-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.panel-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.panel-list dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 5px;
}

.section {
  padding: 28px 0;
}

.section-dark,
.section-lined {
  padding-top: 44px;
  padding-bottom: 44px;
}

.section-dark {
  margin-top: 6px;
}

.section-dark .process-grid article {
  background: rgba(38, 31, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f5f0e8;
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
  color: var(--ink);
}

.section-dark .process-grid article p {
  color: #ebe2d3;
}

.section-dark .eyebrow {
  color: var(--accent-deep);
}

.section-lined {
  position: relative;
}

.section-lined::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(141, 115, 87, 0.09), transparent 25%, transparent 75%, rgba(141, 115, 87, 0.09)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16));
  border-radius: 40px;
  border: 1px solid rgba(29, 26, 22, 0.06);
  pointer-events: none;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 14px 0 12px;
  font-size: clamp(40px, 7vw, 76px);
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid-fluid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cards-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.pillar-card {
  min-height: 100%;
  padding: 30px;
  border-radius: 26px;
}

.service-card-featured {
  background:
    linear-gradient(180deg, rgba(183, 44, 44, 0.08), rgba(255, 255, 255, 0.78)),
    var(--surface);
}

.service-card h3,
.pillar-card h3,
.process-grid h3,
.company-statement h3,
.report-cards h3,
.capability-block h3 {
  margin: 10px 0 10px;
  font-size: 22px;
}

.card-index,
.process-grid span,
.report-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  background: rgba(141, 115, 87, 0.14);
  color: var(--accent-deep);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.section-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

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

.process-grid article {
  padding: 28px;
  border-radius: 26px;
}

.section-atlas {
  padding-top: 18px;
}

.atlas-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.2fr;
  gap: 20px;
}

.atlas-card {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(29, 26, 22, 0.09);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.atlas-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.atlas-card p,
.mini-list {
  color: var(--muted);
  line-height: 1.85;
}

.atlas-card-dark {
  background: rgba(40, 33, 26, 0.92);
}

.atlas-card-dark h3,
.atlas-card-dark p,
.atlas-card-dark .atlas-kicker {
  color: #f1e9db;
}

.atlas-card-emphasis {
  position: relative;
  overflow: hidden;
}

.atlas-card-emphasis::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(183, 44, 44, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(183, 44, 44, 0.07), transparent 40%);
  pointer-events: none;
}

.atlas-card-emphasis > * {
  position: relative;
  z-index: 1;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
}

.mini-list li + li {
  margin-top: 10px;
}

.capability-block {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  margin-top: 24px;
  padding: 30px;
  border-radius: 30px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-list div {
  padding-top: 8px;
  border-top: 1px solid rgba(29, 26, 22, 0.12);
}

.capability-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.company-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.company-facts,
.company-statement,
.contact-form,
.contact-panel {
  padding: 30px;
  border-radius: 30px;
}

.company-facts {
  display: grid;
  gap: 16px;
}

.company-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(29, 26, 22, 0.08);
}

.company-facts span {
  color: var(--muted);
}

.company-facts strong {
  text-align: right;
}

.report-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.report-cards article {
  padding: 28px;
  border-radius: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.form-note {
  margin: -2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 26, 22, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-panel a {
  font-size: 24px;
  color: var(--ink);
  line-height: 1.3;
}

.qr-image {
  width: min(280px, 100%);
  border-radius: 22px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(29, 26, 22, 0.1);
}

.site-footer {
  padding: 36px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

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

body.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1120px) {
  .gateway-hero {
    grid-template-columns: 1fr;
  }

  .gateway-shell {
    padding: 28px;
  }

  .gateway-copy-block,
  .gateway-language-panel {
    padding: 28px;
  }

  .site-header {
    grid-template-columns: 1fr;
    border-radius: 28px;
    justify-items: start;
    gap: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .hero-grid,
  .cards-grid-four,
  .process-grid,
  .atlas-grid,
  .capability-block,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid-two,
  .capability-list,
  .report-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .gateway-page {
    padding: 18px;
  }

  .gateway-shell {
    padding: 18px;
    border-radius: 28px;
  }

  .gateway-title {
    font-size: clamp(30px, 10vw, 48px);
    line-height: 1.02;
  }

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

  .brand-lockup {
    gap: 10px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-subtitle {
    font-size: 10px;
    line-height: 1.35;
  }

  .site-header,
  .site-footer,
  .hero-section,
  .section {
    width: min(calc(100% - 20px), var(--max));
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .site-nav {
    gap: 12px 16px;
    font-size: 13px;
  }

  .language-switch {
    gap: 8px;
    font-size: 12px;
  }

  .gateway-shell,
  .gateway-copy-block,
  .gateway-language-panel,
  .hero-copy,
  .hero-panel,
  .service-card,
  .pillar-card,
  .company-facts,
  .company-statement,
  .contact-form,
  .contact-panel,
  .capability-block,
  .report-cards article,
  .process-grid article {
    padding: 24px;
    border-radius: 24px;
  }

  .gateway-copy {
    font-size: 14px;
    line-height: 1.75;
  }

  .gateway-language-card strong {
    font-size: 22px;
  }

  .hero-section {
    padding: 28px 0 18px;
  }

  .hero-copy h1 {
    margin: 10px 0 16px;
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.04;
  }

  .hero-text,
  .hero-panel p,
  .hero-panel dd,
  .section-heading p,
  .service-card p,
  .pillar-card p,
  .company-statement p,
  .report-cards p,
  .contact-panel p,
  .contact-panel a,
  .contact-form label,
  .capability-list span,
  .process-grid p {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-panel h2 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.08;
  }

  .section-heading h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.12;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .signal-stack strong {
    font-size: 13px;
  }

  .service-card h3,
  .pillar-card h3,
  .process-grid h3,
  .company-statement h3,
  .report-cards h3,
  .capability-block h3,
  .atlas-card h3 {
    font-size: 20px;
  }

  .company-facts div {
    flex-direction: column;
  }

  .contact-panel a {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .gateway-copy-block,
  .gateway-language-panel,
  .hero-copy,
  .hero-panel,
  .service-card,
  .pillar-card,
  .company-facts,
  .company-statement,
  .contact-form,
  .contact-panel,
  .capability-block,
  .report-cards article,
  .process-grid article,
  .atlas-card {
    padding: 20px;
    border-radius: 20px;
  }

  .gateway-meta {
    gap: 8px;
  }

  .gateway-meta span,
  .trust-ribbon span {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-actions,
  .gateway-actions {
    gap: 10px;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .section {
    padding: 20px 0;
  }
}
