:root {
  --bg: #F5F1EA;
  --bg-soft: #EFEAE0;
  --ink: #131311;
  --ink-soft: #5A554D;
  --rule: rgba(19, 19, 17, 0.14);
  --accent: #5A554D;
  --max: 1100px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ja {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

.serif, h1, h2.h-display, h3, .display, .lead {
  font-family: "Cormorant Garamond", "YuMincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.06;
}

body.ja h1, body.ja .lead {
  font-family: "YuMincho", "Hiragino Mincho ProN", "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

a { color: inherit; text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--accent); }

.slash {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  margin: 0 0.15em;
  opacity: 0.75;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
header .bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
header .mark { font-weight: 600; }
header nav a { margin-left: 1.75rem; }
header nav a.lang { color: var(--ink-soft); }

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  border-top: none !important;
}
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 7rem);
  margin-bottom: 2rem;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
body.ja .hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 18ch;
}
.hero .tagline {
  max-width: 38ch;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: 3rem;
}
body.ja .hero .tagline {
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  max-width: 42ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 200ms ease;
  font-weight: 500;
}
.cta .arrow { transition: transform 200ms ease; }
.cta:hover {
  background: var(--ink);
  color: var(--bg);
}
.cta:hover .arrow { transform: translateX(4px); }

/* Section base */
section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--rule);
}
section h2 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-weight: 600;
  color: var(--ink-soft);
}
body.ja section h2 {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: 0.18em;
}

/* Two-column grid */
.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) {
  .row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* About */
.about p {
  font-family: "Cormorant Garamond", "YuMincho", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.36;
  max-width: 32ch;
  margin-bottom: 1rem;
  color: var(--ink);
}
body.ja .about p {
  font-family: "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.75;
  max-width: 38ch;
}
.about p:last-child {
  color: var(--ink-soft);
  font-style: italic;
}
body.ja .about p:last-child { font-style: normal; }

/* Practice */
.practice .item {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  align-items: start;
}
.practice .item:first-child { border-top: none; padding-top: 0; }
.practice .item h3 {
  font-family: "Cormorant Garamond", "YuMincho", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
body.ja .practice .item h3 {
  font-family: "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}
.practice .item p {
  color: var(--ink-soft);
  max-width: 52ch;
}
@media (max-width: 760px) {
  .practice .item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Record */
.record .lead {
  font-family: "Cormorant Garamond", "YuMincho", serif;
  font-size: clamp(1.3rem, 1.9vw, 1.5rem);
  margin-bottom: 1.5rem;
  font-style: italic;
}
body.ja .record .lead { font-style: normal; font-family: "YuMincho", serif; }
.record ul {
  list-style: none;
  max-width: 60ch;
}
.record li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
}
.record li:last-child { border-bottom: 1px solid var(--rule); }
.record .nda {
  margin-top: 2rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.94em;
  max-width: 52ch;
}
body.ja .record .nda { font-style: normal; }

/* Partners */
.partners ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  font-family: "Cormorant Garamond", "YuMincho", serif;
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  font-weight: 500;
}
body.ja .partners ul { font-family: "YuMincho", serif; }
.partners ul li.placeholder {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.85em;
  align-self: center;
}

/* Inquire */
.inquire .lead {
  font-family: "Cormorant Garamond", "YuMincho", serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.4;
  max-width: 30ch;
  margin-bottom: 2rem;
}
body.ja .inquire .lead {
  font-family: "YuMincho", serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.inquire .email {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  margin-bottom: 1rem;
}
.inquire .email a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.inquire .email a:hover { border-bottom-color: var(--accent); }
.inquire .meta {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  max-width: 50ch;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 3rem 0 3.5rem;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
footer .row-foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
footer p { margin: 0.3rem 0; }
footer .corp { font-style: italic; }
body.ja footer .corp { font-style: normal; }
footer .copy { text-align: right; }
footer .copy a { border-bottom: 1px solid var(--rule); padding-bottom: 1px; }

@media (max-width: 600px) {
  footer .copy { text-align: left; }
}

/* Reveal */
.fade { opacity: 0; transform: translateY(8px); transition: opacity 800ms ease, transform 800ms ease; }
.fade.in { opacity: 1; transform: none; }
.hero { opacity: 1 !important; transform: none !important; }

/* Selection */
::selection { background: var(--ink); color: var(--bg); }
