:root {
  --ink: #13231f;
  --forest: #173d33;
  --deep: #0f2d26;
  --gold: #b9975b;
  --cream: #f5f2eb;
  --paper: #fbfaf7;
  --line: rgba(19, 35, 31, .16);
  --white: #fff;
  --content: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.9; letter-spacing: .035em; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-200%); background: var(--white); padding: 8px 14px; }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: var(--white); }
.header-inner { width: var(--content); min-height: 112px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border: 1px solid currentColor; display: grid; place-items: center; font-family: Georgia, serif; font-size: 25px; line-height: 1; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; letter-spacing: .08em; }
.brand-copy small { font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .28em; opacity: .7; }
.global-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; }
.global-nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.global-nav a:hover, .global-nav a:focus-visible { border-color: currentColor; }
.global-nav .nav-contact { border: 1px solid rgba(255,255,255,.42); padding: 11px 17px; font-family: Georgia, serif; font-size: 15px; letter-spacing: .08em; }
.menu-button { display: none; }

.hero { min-height: 790px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .92fr); overflow: hidden; background: var(--deep); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0 50% 0 0; background: radial-gradient(circle at 0 100%, rgba(185,151,91,.17), transparent 40%), linear-gradient(145deg, #173f35 0%, #102f28 62%, #0a241e 100%); }
.hero-copy { position: relative; z-index: 2; align-self: center; width: min(610px, calc(100% - 70px)); margin-left: max(32px, calc((100vw - 1180px) / 2)); padding-top: 90px; }
.eyebrow, .section-kicker { margin: 0 0 24px; color: var(--gold); font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .3em; }
.hero h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(44px, 5.4vw, 76px); font-weight: 500; line-height: 1.33; letter-spacing: .05em; }
.hero h1 span { color: #d8c091; }
.hero-lead { margin: 37px 0 36px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 2.05; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.62); font-size: 12px; }
.hero-meta span { position: relative; padding-left: 13px; }
.hero-meta span::before { content: ""; position: absolute; left: 0; top: .82em; width: 4px; height: 4px; background: var(--gold); }
.hero-visual { position: relative; min-height: 790px; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(160deg, rgba(10,25,22,.06), rgba(10,25,22,.55)), url('/hero-architecture.webp'); background-size: cover; background-position: center; filter: saturate(.72) contrast(1.05); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,45,38,.6), transparent 40%), linear-gradient(0deg, rgba(15,35,31,.38), transparent 45%); }
.hero-card { position: absolute; z-index: 2; right: max(28px, calc((100vw - 1180px) / 2)); bottom: 66px; width: 225px; padding: 25px 28px 27px; background: rgba(247,244,237,.92); color: var(--ink); backdrop-filter: blur(10px); }
.hero-card span { display: block; margin-bottom: 12px; color: #806a45; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .25em; }
.hero-card strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 17px; font-weight: 600; line-height: 1.75; }
.scroll-cue { position: absolute; z-index: 3; left: 32px; bottom: 0; height: 115px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: rgba(255,255,255,.6); font: 9px Arial, sans-serif; letter-spacing: .25em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 58px; background: rgba(255,255,255,.4); }

.section { padding: 125px 0; }
.section-heading h2, .network h2, .message h2, .company h2, .access h2, .contact h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.intro { width: var(--content); display: grid; grid-template-columns: .88fr 1.12fr; gap: 110px; }
.intro-body { padding-top: 40px; }
.intro-body > p { margin: 0 0 25px; color: #43514d; }
.intro-body .intro-lead { color: var(--ink); font-size: 19px; line-height: 2; }
.intro-text-line { white-space: normal; }
@media (min-width: 981px) {
  .intro.section { row-gap: 40px; }
  .intro-body { grid-column: 1 / -1; padding-top: 0; }
  .intro-text-line { display: block; }
}
.principles { margin-top: 53px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.principles div { min-height: 145px; padding: 27px 18px 14px 0; border-right: 1px solid var(--line); }
.principles div + div { padding-left: 25px; }
.principles div:last-child { border-right: 0; }
.principles span { display: block; color: var(--gold); font: 10px Arial, sans-serif; letter-spacing: .18em; }
.principles strong { display: block; margin-top: 15px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 15px; font-weight: 600; line-height: 1.75; }

.business { position: relative; background: var(--forest); color: var(--white); }
.business::before { content: "MEIWA"; position: absolute; top: 22px; right: 0; color: rgba(255,255,255,.025); font: 700 clamp(100px, 20vw, 290px)/1 Arial, sans-serif; letter-spacing: -.07em; }
.business > * { position: relative; z-index: 1; width: var(--content); margin-left: auto; margin-right: auto; }
.section-heading.inverse { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 80px; align-items: end; }
.section-heading.inverse .section-kicker { grid-column: 1 / -1; }
.section-heading.inverse > p:last-child { margin: 0 0 10px; color: rgba(255,255,255,.68); }
.business-grid { margin-top: 78px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.business-grid article { min-height: 260px; padding: 31px 32px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.business-grid article > span { color: #d3b67f; font: 10px Arial, sans-serif; letter-spacing: .18em; }
.business-grid h3 { margin: 45px 0 14px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 20px; font-weight: 600; letter-spacing: .06em; }
.business-grid p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.9; }
.business-grid article:has(.purchase-copy) { container-type: inline-size; }
.business-grid .purchase-copy { font-size: min(14px, 5.15cqw); }
.purchase-copy span { display: block; white-space: nowrap; }

.network { width: var(--content); display: grid; grid-template-columns: 1fr 1fr; gap: 115px; }
.network-copy > p:last-child { margin: 30px 0 0; color: #53605c; max-width: 600px; }
.affiliations { border-top: 1px solid var(--line); align-self: end; }
.affiliations a { position: relative; display: grid; grid-template-columns: 95px 1fr 30px; align-items: center; min-height: 134px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .2s; }
.affiliations a:hover, .affiliations a:focus-visible { background: var(--cream); padding: 0 16px; }
.affiliations span { color: #8b795b; font: 9px Arial, sans-serif; letter-spacing: .16em; }
.affiliations strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; line-height: 1.65; }
.affiliations i { font-style: normal; font-size: 20px; }

.message { width: var(--content); border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.message-body { padding-top: 42px; }
.message-body p { margin: 0 0 24px; color: #43514d; }
.signature { margin-top: 44px; display: flex; align-items: baseline; justify-content: flex-end; gap: 22px; }
.signature span { font-size: 12px; }
.signature strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 23px; letter-spacing: .14em; }

.company { background: var(--cream); }
.company > * { width: min(920px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.company .section-heading { margin-bottom: 64px; }
.company-table { margin-top: 0; border-top: 1px solid rgba(19,35,31,.28); }
.company-table > div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid rgba(19,35,31,.18); padding: 23px 0; }
.company-table dt { font-size: 13px; font-weight: 700; }
.company-table dd { margin: 0; color: #3f4d49; }
.company-table a { text-underline-offset: 4px; }

.access { min-height: 610px; display: grid; grid-template-columns: 1fr 1fr; background: #e2ded2; }
.access-panel { padding: 88px max(45px, calc((100vw - 1180px) / 2)); padding-right: 70px; background: var(--paper); }
.access .access-panel h2 { font-family: inherit; font-size: 1.25rem; font-weight: 500; line-height: 1.8; letter-spacing: .035em; }
.access-panel > p:not(.section-kicker) { margin: 24px 0 36px; color: #55615e; }
.access-panel dl { margin: 0 0 35px; border-top: 1px solid var(--line); }
.access-panel dl div { display: grid; grid-template-columns: 125px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); }
.access-panel dt { font-size: 12px; font-weight: 700; }
.access-panel dd { margin: 0; font-size: 14px; }
.access-panel dd a { font-family: Georgia, serif; font-size: 17px; }
.map-link { display: inline-flex; justify-content: space-between; gap: 50px; min-width: 255px; padding: 12px 0; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 13px; }
.access-map { position: relative; min-height: 610px; overflow: hidden; background: #d8d3c6; }
.access-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.82) contrast(.96); }

.contact { padding: 110px 32px 120px; background: var(--deep); color: var(--white); text-align: center; }
.contact h2 { font-size: clamp(32px, 4vw, 49px); }
.contact > p:not(.section-kicker) { margin: 20px 0 24px; color: rgba(255,255,255,.62); }
.contact > a { display: block; width: fit-content; margin: 0 auto; color: #ddc89e; font: 44px Georgia, serif; line-height: 1.3; letter-spacing: .06em; text-decoration-thickness: 1px; text-underline-offset: 9px; }
.contact > a span { font-size: .7em; }
.contact small { display: block; margin-top: 17px; color: rgba(255,255,255,.5); font-size: 11px; }

.site-footer { padding: 68px max(32px, calc((100vw - 1180px) / 2)) 28px; background: #0a211c; color: rgba(255,255,255,.72); }
.footer-brand { display: flex; align-items: center; gap: 15px; color: var(--white); }
.footer-brand div { display: grid; }
.footer-brand strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; }
.footer-brand small { font: 8px Arial, sans-serif; letter-spacing: .25em; opacity: .55; }
.footer-info { margin: 30px 0 38px; font-size: 12px; line-height: 1.85; }
.footer-info p { margin: 4px 0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.13); }
.footer-legal details { border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-legal summary { padding: 15px 0; cursor: pointer; font-size: 12px; }
.footer-legal details div { max-width: 830px; padding: 0 0 17px; color: rgba(255,255,255,.54); font-size: 12px; }
.footer-legal p { margin: 0; }
.copyright { margin: 34px 0 0; color: rgba(255,255,255,.38); font: 9px Arial, sans-serif; letter-spacing: .15em; }

@media (max-width: 980px) {
  :root { --content: min(100% - 40px, 760px); }
  .header-inner { min-height: 86px; }
  .menu-button { position: relative; z-index: 2; display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); font: 8px Arial, sans-serif; letter-spacing: .14em; cursor: pointer; }
  .menu-lines { display: none; }
  .global-nav { position: absolute; top: 0; right: 0; width: min(360px, 100%); padding: 110px 35px 45px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: var(--deep); box-shadow: -20px 30px 50px rgba(0,0,0,.22); }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .global-nav .nav-contact { margin-top: 15px; text-align: center; }
  .hero { grid-template-columns: 1.05fr .95fr; }
  .hero-copy { width: calc(100% - 40px); margin-left: 20px; }
  .hero h1 { font-size: clamp(40px, 7vw, 62px); }
  .hero-meta { display: grid; }
  .intro, .network, .message { gap: 60px; }
  .section-heading.inverse { grid-template-columns: 1fr; }
  .section-heading.inverse > p:last-child { margin-top: 25px; max-width: 650px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .access-panel { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 720px) {
  :root { --content: calc(100% - 38px); }
  body { line-height: 1.8; }
  .brand-mark { width: 38px; height: 38px; font-size: 22px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 8px; }
  .menu-button { width: 45px; height: 45px; }
  .hero { min-height: 850px; display: block; padding-top: 0; }
  .hero::before { inset: 0 0 0 0; }
  .hero-copy { position: absolute; z-index: 4; top: 155px; left: 19px; width: calc(100% - 38px); margin: 0; padding: 0; }
  .hero h1 { font-size: clamp(39px, 11vw, 55px); }
  .hero-lead { margin: 25px 0 24px; font-size: 14px; }
  .desktop-only { display: none; }
  .hero-meta { font-size: 10px; }
  .hero-visual { position: absolute; inset: 480px 0 0; min-height: 370px; }
  .hero-visual::after { background: linear-gradient(180deg, var(--deep), rgba(15,45,38,.25) 40%), linear-gradient(0deg, rgba(15,35,31,.5), transparent); }
  .hero-card { right: 19px; bottom: 30px; width: 200px; padding: 19px 22px; }
  .scroll-cue { display: none; }
  .section { padding: 88px 0; }
  .section-heading h2, .network h2, .message h2, .company h2, .access h2, .contact h2 { font-size: 31px; }
  .intro, .network, .message { display: block; }
  .intro-body, .message-body { padding-top: 45px; }
  .intro-body .intro-lead { font-size: 17px; }
  .principles { grid-template-columns: 1fr; }
  .principles div, .principles div + div { min-height: 0; padding: 21px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 45px 1fr; }
  .principles div:last-child { border-bottom: 0; }
  .principles strong { margin: 0; }
  .business-grid { margin-top: 50px; grid-template-columns: 1fr; }
  .business-grid article { min-height: 210px; }
  .network-copy { margin-bottom: 52px; }
  .affiliations a { grid-template-columns: 75px 1fr 24px; min-height: 125px; }
  .message { border-top: 0; }
  .message-title { border-top: 1px solid var(--line); padding-top: 85px; }
  .signature { justify-content: flex-start; }
  .company > * { width: var(--content); }
  .company-table > div { grid-template-columns: 1fr; gap: 7px; padding: 19px 0; }
  .access { display: flex; flex-direction: column; }
  .access-panel { padding: 75px 19px; }
  .access-map { min-height: 420px; }
  .access-panel dl div { grid-template-columns: 1fr; gap: 5px; }
  .contact { padding-left: 19px; padding-right: 19px; }
  .contact > a { font-size: 38px; }
  .site-footer { padding-left: 19px; padding-right: 19px; }
}

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

/* Balanced section gutters and intentional Japanese heading lines. */
:root { --content: min(1180px, calc(100% - 96px)); }
.intro, .network, .message { margin-inline: auto; }
.intro, .network, .message { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero-copy { margin-left: max(48px, calc((100vw - 1180px) / 2)); width: calc(100% - max(48px, (100vw - 1180px) / 2) - 32px); container-type: inline-size; }
.hero h1 { font-size: clamp(24px, 9.1cqw, 64px); }
.hero h1 .hero-first { color: white; }
.heading-line { display: block; white-space: nowrap; }
.intro .section-heading, .network-copy { container-type: inline-size; min-width: 0; }
.section-heading .about-heading { font-size: clamp(22px, 9cqw, 46px); }
.network .network-heading { font-size: clamp(20px, 6.9cqw, 39px); }
.section-heading.inverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 0 48px; }
.business-heading { container-type: inline-size; }
.section-heading .business-heading { font-size: clamp(22px, 3.05vw, 46px); letter-spacing: .035em; }
@media (max-width: 980px) {
  :root { --content: min(760px, calc(100% - 64px)); }
  .hero-copy { margin-left: 32px; width: calc(100% - 56px); }
  .intro, .network, .message { gap: 36px; }
  .section-heading.inverse { grid-template-columns: 1fr; }
  .section-heading .business-heading { font-size: clamp(22px, 4.4vw, 40px); }
}
@media (max-width: 720px) {
  :root { --content: calc(100% - 48px); }
  .hero-copy { left: 24px; margin: 0; width: calc(100% - 48px); }
  .hero h1 { font-size: clamp(24px, 9.1cqw, 52px); }
  .intro, .network, .message { display: block; }
  .section-heading .about-heading { font-size: clamp(22px, 9cqw, 36px); }
  .network .network-heading { font-size: clamp(18px, 6.9cqw, 34px); }
  .section-heading .business-heading { font-size: clamp(18px, 6.8vw, 38px); letter-spacing: .02em; }
  .access-panel, .site-footer, .contact { padding-left: 24px; padding-right: 24px; }
}

/* Gold wordmark inspired by the supplied brand reference. */
.brand, .footer-brand { color: #e7c389; gap: 20px; }
.brand-mark { flex: 0 0 auto; width: 58px; height: 60px; border: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; padding: 0 9px 7px 0; font-family: "Times New Roman", Georgia, serif; font-size: 49px; font-weight: 400; letter-spacing: 0; }
.brand-copy, .footer-brand div { gap: 7px; min-width: 0; }
.brand-copy strong, .footer-brand strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: 18px; font-weight: 600; letter-spacing: .025em; line-height: 1.6; }
.brand-copy small, .footer-brand small { font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; line-height: 1.4; opacity: 1; }
.global-nav { gap: 20px; }
@media (max-width: 720px) {
  .brand, .footer-brand { gap: 12px; }
  .brand-mark { width: 42px; height: 46px; font-size: 36px; padding: 0 6px 5px 0; }
  .brand-copy strong, .footer-brand strong { font-size: clamp(12px, 3.1vw, 16px); letter-spacing: 0; }
  .brand-copy small, .footer-brand small { font-size: 9px; letter-spacing: .13em; }
  .header-inner { gap: 8px; }
  .menu-button { flex: 0 0 auto; width: 40px; height: 40px; }
}

.map-company-label { position: absolute; z-index: 2; top: 12px; left: 12px; width: min(360px, calc(100% - 64px)); padding: 16px 18px; background: #fff; color: #202b28; box-shadow: 0 2px 8px rgba(0,0,0,.18); border-radius: 3px; text-decoration: none; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.map-company-label:hover { box-shadow: 0 5px 16px rgba(0,0,0,.24); transform: translateY(-1px); }
.map-company-label:focus-visible { outline: 3px solid #8ea99f; outline-offset: 3px; }
.map-company-label strong { display: block; font-size: 16px; line-height: 1.6; }
.map-company-label p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
