:root {
  --paper: #fbfaf6;
  --paper-deep: #f2f0e8;
  --ink: #20262b;
  --muted: #666a6b;
  --line: #d8d5cd;
  --indigo: #17376f;
  --indigo-soft: #37518a;
  --moss: #657447;
  --rose: #9f6e68;
  --serif: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --page: min(1440px, calc(100vw - 96px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, .9), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(65, 65, 60, .16);
  background: rgba(251, 250, 246, .9);
  backdrop-filter: blur(14px);
}
.header-inner { width: var(--page); height: 98px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand, .footer-brand { font-family: var(--serif); font-size: 29px; line-height: 1; text-decoration: none; letter-spacing: -.03em; }
.global-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.global-nav a { text-decoration: none; transition: color .2s ease; }
.global-nav a:hover, .global-nav a:focus-visible { color: var(--indigo); }
.global-nav span { color: #8e8e88; }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--ink); }
.menu-button svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero { width: var(--page); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: minmax(490px, .92fr) minmax(520px, 1.08fr); align-items: center; gap: 28px; padding: 62px 0 80px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding-left: 24px; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 4.7vw, 76px); font-weight: 500; line-height: 1.47; letter-spacing: .015em; word-break: keep-all; }
.hero-copy > p { margin: 34px 0 38px; font-size: 17px; line-height: 2.15; letter-spacing: .04em; }
.primary-link { display: inline-flex; min-width: 230px; min-height: 72px; align-items: center; justify-content: center; padding: 18px 30px; background: var(--indigo); color: #fff; font-weight: 600; text-decoration: none; letter-spacing: .06em; transition: transform .2s ease, background .2s ease; }
.primary-link:hover, .primary-link:focus-visible { background: #102e62; transform: translateY(-2px); }
.hero-art { position: relative; margin-right: -8%; }
.hero-art::after { position: absolute; inset: auto 4% 5% 9%; height: 11%; content: ""; background: rgba(32, 38, 43, .11); filter: blur(30px); border-radius: 50%; z-index: -1; }
.hero-art img { display: block; width: 100%; height: auto; }

.project-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 330px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #f0eee7 0 42%, #f9f8f4 42% 100%); }
.project-book { position: relative; align-self: stretch; overflow: hidden; }
.book-cover, .book-page { position: absolute; display: block; left: 10%; bottom: -35%; width: 60%; height: 100%; border: 1px solid rgba(40, 52, 73, .15); transform: rotate(7deg); background: #e5e1d6; box-shadow: 0 18px 38px rgba(40, 40, 35, .1); }
.book-page { left: 17%; bottom: -28%; transform: rotate(-3deg); background: #fffdfa; }
.book-thread { position: absolute; right: -4%; top: 48%; width: 66%; height: 1px; background: var(--indigo-soft); transform: rotate(-7deg); }
.project-copy { max-width: 710px; padding: 70px 10% 70px 60px; }
.project-copy h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(32px, 3vw, 48px); font-weight: 500; line-height: 1.4; }
.project-copy p { margin: 0; color: #4d5153; line-height: 2.1; }

.services-section { width: var(--page); margin: 0 auto; padding: 130px 24px 145px; }
.services-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; margin-bottom: 64px; }
.section-index { margin: 0 0 18px; color: var(--indigo); font-size: 14px; letter-spacing: .18em; }
.section-index::after { display: block; width: 45px; height: 2px; margin-top: 15px; content: ""; background: var(--indigo); }
.services-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 4.7vw, 74px); font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
.services-heading > p { max-width: 480px; margin: 0 0 8px; line-height: 2.05; }
.service-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: service; }
.service-row { display: grid; grid-template-columns: 94px minmax(300px, .95fr) minmax(310px, 1.15fr) 104px 130px; gap: 24px; align-items: center; min-height: 108px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s ease, background .25s ease; }
.service-row:hover, .service-row:focus-visible { padding-left: 16px; padding-right: 16px; background: rgba(23, 55, 111, .035); outline: none; }
.service-number { color: var(--indigo); font-family: var(--serif); font-size: 31px; }
.service-name { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.service-name strong { font-family: var(--serif); font-size: clamp(29px, 2.6vw, 43px); font-weight: 500; line-height: 1.1; }
.service-name span { color: #55595b; white-space: nowrap; }
.service-name span::before { content: "—"; margin-right: 12px; color: #9a9a93; }
.service-description { color: #55595b; font-size: 14px; line-height: 1.85; }
.service-status { font-family: var(--serif); font-size: 17px; text-align: center; white-space: nowrap; }
.status-moss { color: var(--moss); }
.status-indigo { color: var(--indigo); }
.status-rose { color: var(--rose); }
.service-cta { display: inline-flex; align-items: center; justify-content: flex-end; gap: 11px; color: var(--indigo); font-size: 14px; white-space: nowrap; }
.service-cta svg, .text-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.philosophy { background: var(--indigo); color: #f9f7ef; }
.philosophy-lead { width: var(--page); min-height: 330px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; padding: 64px 24px 58px; border-bottom: 1px solid rgba(255,255,255,.2); }
.philosophy-lead h2 { margin: 0; padding-left: 38px; border-left: 2px solid #a9ad78; font-family: var(--serif); font-size: clamp(42px, 4.2vw, 65px); font-weight: 400; line-height: 1.45; letter-spacing: .05em; }
.philosophy-lead p { max-width: 660px; margin: 0; line-height: 2.25; letter-spacing: .035em; }
.principles { position: relative; width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); padding: 62px 24px 76px; }
.principles::before { position: absolute; left: 0; right: 0; top: 22px; height: 1px; content: ""; background: #d6ccb6; transform: rotate(-.4deg); }
.principles article { display: grid; grid-template-columns: 70px 1fr; grid-template-rows: auto auto; column-gap: 22px; padding: 4px 46px; border-right: 1px solid rgba(255,255,255,.22); }
.principles article:last-child { border-right: 0; }
.principles svg { grid-row: 1 / 3; width: 58px; margin-top: 5px; fill: none; stroke: #c9cf8b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principles h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: .12em; }
.principles p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.8; }

.closing { position: relative; width: var(--page); min-height: 310px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr 1fr; align-items: center; padding: 70px 24px; }
.closing-line { position: absolute; left: 20px; right: 20px; top: 70px; height: 1px; margin: 0; background: var(--line); }
.closing-line::after { position: absolute; right: 8%; top: -5px; width: 12px; height: 12px; content: ""; border: 1px solid var(--moss); border-radius: 50%; background: var(--paper); }
.closing h2 { align-self: end; margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 58px); font-weight: 500; line-height: 1.5; }
.text-link { align-self: end; display: inline-flex; align-items: center; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); text-decoration: none; }

.site-footer { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .7fr .75fr; gap: 70px; padding: 68px 24px 30px; border-top: 1px solid var(--line); }
.site-footer > div > p { color: var(--muted); font-size: 13px; }
.site-footer nav { display: grid; align-content: start; gap: 10px; }
.site-footer nav a { font-size: 13px; text-decoration: none; }
.operator p:first-child { margin-top: 0; color: var(--muted); font-size: 12px; letter-spacing: .15em; }
.operator p:last-child { font-family: var(--serif); font-size: 15px; line-height: 1.8; }
.copyright { grid-column: 1 / -1; margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

@media (max-width: 1100px) {
  :root { --page: calc(100vw - 48px); }
  .hero { grid-template-columns: .94fr 1.06fr; min-height: 610px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(44px, 5.4vw, 64px); }
  .service-row { grid-template-columns: 68px minmax(250px, .9fr) 1.1fr 92px; }
  .service-cta { display: none; }
  .principles article { padding: 4px 24px; }
}

@media (max-width: 820px) {
  :root { --page: calc(100vw - 36px); }
  body { font-size: 15px; }
  .header-inner { height: 76px; }
  .brand { font-size: 24px; }
  .menu-button { display: flex; }
  .global-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .global-nav[data-open="true"] { display: grid; }
  .global-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .global-nav span { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding: 78px 0 52px; }
  .hero h1 { font-size: clamp(39px, 10.3vw, 58px); line-height: 1.55; }
  .hero-copy > p { margin: 28px 0 30px; line-height: 2; }
  .hero-art { margin: -10px -10% 0 2%; }
  .project-intro { grid-template-columns: 1fr; background: var(--paper-deep); }
  .project-book { min-height: 180px; }
  .project-copy { padding: 48px 24px 58px; }
  .services-section { padding: 92px 0 100px; }
  .services-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .services-heading h2 { font-size: clamp(41px, 11vw, 60px); }
  .service-row { grid-template-columns: 52px 1fr auto; gap: 10px 16px; padding: 24px 2px; }
  .service-number { grid-row: 1 / 3; align-self: start; font-size: 24px; }
  .service-name { display: block; }
  .service-name strong { display: block; font-size: 34px; }
  .service-name span { display: block; margin-top: 8px; font-size: 13px; white-space: normal; }
  .service-description { grid-column: 2 / -1; }
  .service-status { align-self: start; font-size: 14px; }
  .philosophy-lead { grid-template-columns: 1fr; gap: 42px; padding: 72px 0 56px; }
  .philosophy-lead h2 { padding-left: 22px; font-size: clamp(39px, 10vw, 54px); }
  .principles { grid-template-columns: 1fr; padding: 55px 0 64px; }
  .principles article { min-height: 155px; padding: 28px 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .principles article:last-child { border-bottom: 0; }
  .closing { grid-template-columns: 1fr; grid-template-rows: 1fr auto; min-height: 310px; padding: 70px 0 60px; }
  .text-link { justify-self: start; align-self: end; margin-top: 28px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 40px 28px; padding: 54px 0 28px; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  :root { --page: calc(100vw - 28px); }
  .desktop-only { display: none; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(35px, 10.6vw, 48px); letter-spacing: 0; }
  .primary-link { width: 100%; min-height: 64px; }
  .hero-art { margin-right: -20%; }
  .project-copy h2 { font-size: 31px; }
  .services-heading h2 { font-size: 39px; }
  .service-row { grid-template-columns: 42px 1fr; }
  .service-status { grid-column: 2; justify-self: start; padding-top: 3px; }
  .service-description { grid-column: 2; }
  .service-name span::before { margin-right: 7px; }
  .philosophy-lead h2 { font-size: 37px; }
  .principles article { grid-template-columns: 62px 1fr; }
  .closing h2 { font-size: 38px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:first-child, .copyright { grid-column: 1; }
}

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