@import url("https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@400;600&family=Noto+Sans+JP:wght@400;500;700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --paper: #f7f5ef;
  --warm-white: #fffdf8;
  --white: #ffffff;
  --ink: #111111;
  --soft-ink: #595752;
  --mist: #e8e5dd;
  --signal: #ff4e27;
  --sage: #c9d3c2;
  --header-height: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.jp { font-family: "Noto Sans JP", "Work Sans", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.mono { font-family: "Azeret Mono", monospace; }
.eyebrow {
  color: var(--signal);
  font: 600 13px/1.4 "Azeret Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-header {
  align-items: center;
  background: var(--white);
  display: flex;
  height: var(--header-height);
  inset: 0 0 auto;
  justify-content: space-between;
  padding: 0 48px;
  position: fixed;
  z-index: 20;
}
.header-logo img { height: 48px; width: auto; }
.desktop-nav { align-items: center; display: flex; gap: 36px; }
.desktop-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
}
.desktop-nav a:not(.button):hover, .desktop-nav a:focus-visible { color: var(--signal); }
.language-switch { align-items: center; display: flex; gap: 12px; }
.language-switch .active { border-bottom: 2px solid var(--signal); }
.button {
  align-items: center;
  background: var(--signal);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 52px;
  padding: 0 32px;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover { filter: brightness(.96); transform: translateY(-2px); }
.menu-button { background: transparent; border: 0; display: none; height: 44px; width: 44px; }
.menu-button span, .menu-button::before, .menu-button::after {
  background: var(--ink);
  content: "";
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 22px;
}
.mobile-nav { background: var(--white); display: none; inset: var(--header-height) 0 auto; padding: 20px 24px 28px; position: fixed; z-index: 19; }
.mobile-nav.open { display: grid; gap: 20px; }
.mobile-nav a { font-weight: 700; letter-spacing: .08em; text-decoration: none; }

.hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 64px) 0 64px;
}
.hero-grid { align-items: center; display: grid; gap: 64px; grid-template-columns: 1.35fr .9fr; }
h1, h2, h3 { letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(58px, 7.2vw, 112px); line-height: .92; margin: 30px 0 34px; }
.jp h1 { font-size: clamp(48px, 5vw, 70px); line-height: 1.08; }
.hero-copy { color: var(--soft-ink); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; margin: 0 0 36px; max-width: 610px; }
.hero-visual {
  aspect-ratio: 4 / 5;
  background: var(--sage);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgb(17 17 17 / .12);
  overflow: hidden;
  position: relative;
}
.hero-visual::before {
  border: 1px solid rgb(255 255 255 / .72);
  border-radius: 50%;
  content: "";
  height: 58%;
  left: 21%;
  position: absolute;
  top: 18%;
  width: 74%;
}
.hero-visual::after {
  background: var(--signal);
  content: "";
  height: 2px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 50%;
  transform: rotate(-24deg);
}
.visual-route { bottom: 28px; display: flex; justify-content: space-between; left: 28px; position: absolute; right: 28px; }
.visual-route span { color: var(--white); font: 600 12px/1 "Azeret Mono", monospace; letter-spacing: .12em; }

.position { background: var(--warm-white); padding: 144px 0; }
.position-grid { display: grid; gap: 80px; grid-template-columns: 2fr 1fr; }
.statement { font-size: clamp(34px, 4.3vw, 58px); font-weight: 500; line-height: 1.08; }
.proof-list { display: grid; gap: 30px; }
.proof { border-top: 1px solid var(--mist); padding-top: 18px; }
.proof strong { color: var(--signal); display: block; font: 600 12px/1.4 "Azeret Mono", monospace; letter-spacing: .08em; margin-bottom: 8px; }
.proof p { color: var(--soft-ink); font-size: 15px; line-height: 1.55; margin: 0; }

.services { padding: 120px 0 140px; }
.section-label { border-bottom: 1px solid var(--mist); color: var(--soft-ink); font: 600 13px/1.4 "Azeret Mono", monospace; letter-spacing: .1em; padding-bottom: 16px; text-transform: uppercase; }
.service-row { border-bottom: 1px solid var(--mist); display: grid; gap: 32px; grid-template-columns: 64px 1fr 1.65fr; padding: 54px 0; }
.service-number { color: var(--signal); font: 600 14px/1.4 "Azeret Mono", monospace; }
.service-row h3 { font-size: clamp(29px, 2.6vw, 38px); line-height: 1; }
.service-row p { color: var(--soft-ink); font-size: 17px; line-height: 1.6; margin: 18px 0 0; max-width: 410px; }
.service-tags { align-content: center; display: flex; flex-wrap: wrap; gap: 24px 38px; }
.service-tags span { align-items: center; display: flex; font-size: 17px; gap: 11px; }
.service-tags span::before { background: var(--signal); border-radius: 50%; content: ""; height: 6px; width: 6px; }

.contact { background: var(--ink); border-radius: 72px 72px 0 0; color: var(--white); padding: 120px 0; }
.contact-grid { display: grid; gap: 96px; grid-template-columns: 1fr 1fr; }
.contact h2 { font-size: clamp(56px, 6.5vw, 88px); line-height: .92; }
.contact-intro { color: rgb(255 255 255 / .68); font-size: 20px; line-height: 1.55; margin: 40px 0 64px; max-width: 470px; }
.direct-label, .field label { color: rgb(255 255 255 / .42); font: 600 11px/1.4 "Azeret Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.direct-email { display: inline-block; font-size: clamp(21px, 2.2vw, 32px); font-weight: 700; margin-top: 10px; text-decoration: none; }
.direct-email:hover { color: var(--signal); }
.contact-form { display: grid; gap: 28px; }
.form-pair { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; }
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / .22);
  border-radius: 0;
  color: var(--white);
  outline: 0;
  padding: 14px 0;
}
.field select option { background: var(--ink); }
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal); }
.contact-form .button { margin-top: 10px; width: 100%; }
.form-note { color: rgb(255 255 255 / .48); font-size: 13px; line-height: 1.5; margin: -10px 0 0; }

.site-footer { background: var(--ink); color: var(--white); padding: 0 0 64px; }
.footer-inner { border-top: 1px solid rgb(255 255 255 / .1); display: flex; justify-content: space-between; padding-top: 52px; }
.footer-brand img { height: auto; width: 220px; }
.footer-brand p { color: rgb(255 255 255 / .45); font-size: 15px; line-height: 1.6; margin: 24px 0 0; }
.copyright { align-self: end; color: rgb(255 255 255 / .36); font: 400 11px/1.5 "Azeret Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .shell { width: min(100% - 48px, 720px); }
  .site-header { padding: 0 24px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero-grid, .position-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-height) + 52px); }
  .hero-visual { aspect-ratio: 16 / 11; }
  .position { padding: 96px 0; }
  .service-row { grid-template-columns: 42px 1fr; }
  .service-tags { grid-column: 2; }
  .contact { border-radius: 40px 40px 0 0; padding: 88px 0; }
}

@media (max-width: 600px) {
  :root { --header-height: 72px; }
  .header-logo img { height: 42px; }
  .shell { width: calc(100% - 40px); }
  h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-grid { gap: 42px; }
  .hero-copy { font-size: 18px; }
  .services { padding: 88px 0; }
  .service-row { grid-template-columns: 1fr; padding: 42px 0; }
  .service-tags { grid-column: auto; gap: 16px 24px; }
  .form-pair { grid-template-columns: 1fr; }
  .contact-grid { gap: 64px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 48px; }
  .footer-brand img { width: 180px; }
  .copyright { align-self: flex-start; }
}

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