@charset "UTF-8";

:root {
  --paper: #f5faf7;
  --ink: #073b3b;
  --muted: #335f5c;
  --line: #b5d0c8;
  --accent: #086e69;
  --soft: #d7efea;
  --aqua: #81d8d0;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--aqua); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--ink); color: var(--aqua); }
.wrap { width: calc(100% - 112px); max-width: 1328px; margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--ink); color: white; padding: 12px 20px; z-index: 20; }
.skip-link:focus { top: 12px; }

/* The folded M is a provisional mark, paired with an understated wordmark. */
.site-header { display: flex; align-items: center; min-height: 108px; gap: 40px; border-bottom: 1px solid #4caaa3; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.9rem; font-weight: 500; letter-spacing: -.055em; line-height: 1.2; }
.brand img { width: 39px; height: 39px; flex: 0 0 auto; }
.primary-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: .875rem; }
.primary-nav a { padding: 10px 0; }
.primary-nav a:hover { color: var(--accent); }
.primary-nav .nav-contact { display: flex; gap: 18px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 0; }
.language-switch { display: flex; align-items: center; gap: 10px; font-size: .875rem; white-space: nowrap; }
.language-switch > span { color: var(--muted); }
.language-switch button { border: 0; padding: 9px 0; background: none; font-size: inherit; color: var(--muted); }
.language-switch button[aria-pressed=true] { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }

/* Typography and the aqua field carry the opening. */
.hero { padding-top: 68px; padding-bottom: 20px; }
.hero-copy { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 10%; align-items: center; }
.eyebrow { margin: 0; font-size: .75rem; font-weight: 500; letter-spacing: .13em; line-height: 1.8; }
.hero-copy > .eyebrow { grid-column: 1 / -1; margin-bottom: 34px; }
h1 { font-family: var(--serif); font-size: clamp(2.8rem, 4.7vw, 4.75rem); font-weight: 500; line-height: 1.55; letter-spacing: .025em; margin: 0; }
h1 > span { display: block; overflow-wrap: break-word; }
.hero-aside { max-width: 390px; justify-self: end; padding-top: 14px; }
.hero-description { margin: 0 0 28px; font-size: 1rem; line-height: 2.05; color: var(--muted); }
.text-link { display: inline-flex; gap: 26px; align-items: center; font-size: .875rem; line-height: 1.6; }
.text-link:hover .link-circle { color: white; background: var(--ink); }
.link-circle { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; flex: 0 0 auto; font-size: 1.25rem; transition: background .2s, color .2s; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 19px 0; border-top: 1px solid #4caaa3; font-size: .8125rem; color: var(--ink); }
.hero-foot p { margin: 0; }
.hero-foot a { display: flex; gap: 22px; align-items: center; white-space: nowrap; }
.hero-foot a:hover { color: var(--ink); }

/* Services are readable rows, allowing the work to speak for itself. */
.services-surface { background: var(--paper); }
.section { padding-block: 108px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; margin-bottom: 56px; }
.section-label { display: flex; gap: 24px; margin: 9px 0 0; font-size: .75rem; letter-spacing: .14em; }
.section-label > span { color: var(--muted); letter-spacing: 0; }
h2 { font-family: var(--serif); font-size: 2.5rem; line-height: 1.6; letter-spacing: .02em; font-weight: 500; margin: 0; }
h3 { font-weight: 500; }
.section-lead { max-width: 585px; margin: 22px 0 0; font-size: 1rem; line-height: 2; color: var(--muted); }
.services-grid { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 52px 1.05fr 1.25fr; column-gap: 35px; padding: 35px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-index { grid-column: 1; grid-row: 1 / 4; font-family: Georgia, serif; font-size: 1.35rem; color: var(--accent); }
.service-en { grid-column: 2; grid-row: 1; margin: 1px 0 10px; font-size: .75rem; letter-spacing: .1em; color: var(--muted); }
.service h3 { grid-column: 2; grid-row: 2 / 4; font-size: 1.2rem; line-height: 1.7; margin: 0; letter-spacing: -.025em; }
.service > p:not(.service-en) { grid-column: 3; grid-row: 1 / 3; font-size: 1rem; line-height: 2; color: var(--muted); margin: 0; }
.service ul { grid-column: 3; grid-row: 3; list-style: none; padding: 15px 0 0; margin: 0; display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 4px; }
.service li { font-size: .875rem; color: var(--muted); }
.service li::before { content: "·"; margin-right: 7px; color: var(--accent); }
.ai-focus { display: grid; grid-template-columns: 1fr 1.5fr; gap: 45px; margin-top: 34px; padding: 34px 38px; background: var(--soft); border-left: 4px solid #2f9f98; }
.ai-focus .eyebrow { margin-bottom: 12px; }
.ai-focus h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.65; margin: 0; }
.ai-focus p:not(.eyebrow) { font-size: 1rem; line-height: 1.95; color: var(--muted); margin: 0; }
.ai-detail { display: block; font-size: .8125rem; color: var(--muted); margin-top: 14px; }

/* Deep teal gives the principles a distinct, quieter chapter. */
.approach { --muted: #b7d8d2; background: var(--ink); color: #f2faf6; padding-block: 88px; }
.approach .section-label { color: var(--aqua); }
.approach-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 11%; }
.approach .section-label { margin: 0 0 34px; }
.approach h2 { font-size: 2.35rem; }
.approach-intro { max-width: 450px; margin: 25px 0; color: var(--muted); font-size: 1rem; line-height: 2; }
.approach-signature { font-family: var(--serif); color: var(--muted); font-size: 1rem; margin: 32px 0 0; }
.principles { padding-top: 7px; }
.principles article { display: grid; grid-template-columns: 28px 1fr; gap: 22px; padding: 25px 0; border-top: 1px solid #376762; }
.principles article:first-child { padding-top: 0; border-top: 0; }
.principles article:last-child { padding-bottom: 0; }
.principles article > span { font-family: Georgia, serif; font-size: .875rem; color: var(--muted); line-height: 2.5; }
.principles h3 { font-size: 1.125rem; margin: 0 0 9px; }
.principles p { font-size: 1rem; color: var(--muted); line-height: 1.95; margin: 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 10%; }
.contact-copy .section-label { margin: 0 0 32px; }
.contact-copy h2 { font-size: 2.5rem; }
.contact-copy > p:not(.section-label) { font-size: 1rem; color: var(--muted); line-height: 2; margin: 22px 0; }
.contact-copy .contact-language { font-size: .875rem !important; margin-top: 32px !important; padding-top: 20px; border-top: 1px solid #4caaa3; max-width: 355px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label { display: flex; align-items: baseline; gap: 12px; font-size: .875rem; margin-bottom: 9px; }
.required, .optional { font-size: .75rem; color: var(--muted); }
.field input, .field textarea { width: 100%; min-width: 0; border: 1px solid #3d8881; border-radius: 0; background: #b6e8e1; color: var(--ink); padding: 11px 13px; font-size: 1rem; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 150px; max-height: 650px; }
.field-hint, .privacy-note, .provider-note { font-size: .8125rem; line-height: 1.8; color: var(--muted); margin: 7px 0 0; }
.privacy-note { margin: 0 0 18px; }
.provider-note { margin: -10px 0 18px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 15px 25px; border: 1px solid transparent; border-radius: 0; font-size: .875rem; font-weight: 500; line-height: 1.6; transition: background .2s; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--accent); }
.button > span:last-child { font-size: 1.2rem; line-height: 1; }
.submit-button { min-width: 240px; }
.submit-button:disabled { background: #b6e8e1; color: #335f5c; border-color: #60aaa2; cursor: not-allowed; }
.form-status { font-size: .875rem; line-height: 1.8; color: var(--muted); margin: 15px 0 0; min-height: 1.8em; }
.form-status[data-state=error] { color: #a3372d; }
.form-status[data-state=success] { color: #295634; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-surface { background: var(--ink); color: var(--aqua); }
.site-footer { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block: 34px 42px; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand { font-size: 3.25rem; letter-spacing: -.065em; }
.site-footer p { font-size: .8125rem; color: #b7d8d2; margin: 0 0 5px; }
.footer-description { margin-left: auto !important; margin-right: auto !important; }
html[lang=en] h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 4.5vw, 4.6rem); letter-spacing: -.045em; line-height: 1.22; }
html[lang=en] h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.3; letter-spacing: -.025em; }
html[lang=en] .ai-focus h3 { font-family: Georgia, serif; }
html[lang=en] .approach h2, html[lang=en] .contact-copy h2 { font-size: 2.7rem; }
html[lang=en] .contact-copy h2 { max-width: 370px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .site-header { gap: 25px; }
  .primary-nav { gap: 24px; }
  .hero-copy { column-gap: 6%; grid-template-columns: 1.25fr 1fr; }
  h1 { font-size: 3rem; }
  .hero-description { line-height: 1.95; }
  .service { grid-template-columns: 35px 1fr 1.2fr; column-gap: 23px; }
  .service h3 { font-size: 1.125rem; }
  .approach-layout { gap: 7%; }
  .approach h2 { font-size: 2.05rem; }
  .contact-layout { gap: 7%; }
  .contact-copy h2 { font-size: 2.15rem; }
  .footer-description { max-width: 270px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 90px; flex-wrap: wrap; gap: 17px; padding-block: 24px 16px; }
  .brand { font-size: 1.75rem; }
  .language-switch { margin-left: auto; }
  .primary-nav { order: 3; width: 100%; justify-content: space-between; gap: 14px; margin: 0; font-size: .875rem; }
  .primary-nav a { padding: 8px 0; }
  .primary-nav .nav-contact { padding: 8px 0; border: 0; gap: 10px; }
  .hero { padding-top: 36px; }
  .hero-copy { grid-template-columns: 1fr; gap: 0; }
  .hero-copy > .eyebrow { margin-bottom: 26px; font-size: .75rem; letter-spacing: .075em; }
  h1 { font-size: clamp(2.2rem, 8.5vw, 3.7rem); line-height: 1.55; letter-spacing: .01em; }
  .hero-aside { justify-self: start; padding-top: 24px; max-width: 530px; }
  .hero-description { margin-bottom: 22px; line-height: 2; }
  .text-link { gap: 22px; }
  .hero-foot { align-items: start; gap: 20px; margin-top: 36px; padding-block: 17px; font-size: .75rem; }
  .hero-foot p { max-width: 205px; }
  .hero-foot a { gap: 10px; }
  .section { padding-block: 68px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 36px; }
  h2 { font-size: 1.95rem; }
  .section-lead { margin-top: 20px; }
  .service { grid-template-columns: 32px 1fr; column-gap: 15px; padding-block: 28px; }
  .service-index { grid-column: 1; grid-row: 1 / 5; }
  .service-en { grid-column: 2; grid-row: 1; margin-bottom: 9px; font-size: .75rem; }
  .service h3 { grid-column: 2; grid-row: 2; margin-bottom: 16px; font-size: 1.2rem; }
  .service > p:not(.service-en) { grid-column: 2; grid-row: 3; }
  .service ul { grid-column: 2; grid-row: 4; display: block; padding-top: 14px; }
  .service li { margin-top: 5px; }
  .ai-focus { grid-template-columns: 1fr; gap: 19px; padding: 26px; margin-top: 28px; }
  .ai-focus h3 { font-size: 1.45rem; }
  .approach { padding-block: 60px; }
  .approach-layout { grid-template-columns: 1fr; gap: 35px; }
  .approach h2 { font-size: 1.95rem; }
  .approach-signature { margin-top: 20px; }
  .principles article { gap: 17px; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .contact-copy h2 { font-size: 2rem; }
  .contact-copy > p:not(.section-label) { margin-block: 18px; }
  .contact-copy .contact-language { margin-top: 22px !important; }
  .form-row { gap: 16px; }
  .submit-button { width: 100%; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-block: 30px; align-items: center; }
  .footer-brand { font-size: 2.6rem; }
  .footer-description { order: 3; width: 100%; max-width: none; margin: 0 !important; }
  html[lang=en] h1 { font-size: clamp(2.15rem, 8.5vw, 3.9rem); line-height: 1.3; }
  html[lang=en] .approach h2, html[lang=en] .contact-copy h2 { font-size: 2.25rem; }
  html[lang=en] .contact-copy h2 { max-width: none; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .primary-nav { gap: 9px; font-size: .875rem; }
  .nav-contact > span:last-child { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-foot { flex-wrap: wrap; gap: 10px; }
  .hero-foot p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
#contact-form { min-width: 0; }
.verification-widget { margin-bottom: 16px; min-width: 0; }
.verification-widget:empty { display: none; }
.preview-note { padding: 12px 14px; border: 1px solid currentColor; font-size: .84rem; margin: 16px 0; }
.verification-retry { margin-bottom: 16px; background: transparent; border: 1px solid currentColor; padding: 8px 12px; color: inherit; cursor: pointer; font: inherit; }
