:root { background: #ededee; --text: #353537; --secondary: #535357; }
body { background: radial-gradient(ellipse at 4% 15%, #fff 0, transparent 38%), radial-gradient(ellipse at 95% 40%, #dcdde0 0, transparent 44%), linear-gradient(130deg,#f3f3f4,#e7e7e9 50%,#fafafa); }
#top { isolation: isolate; }
.site-header { top: 16px; padding: 0 24px; background: transparent; }
.header-content { max-width: 1120px; padding: 12px 18px 12px 28px; margin-top: 16px; border-radius: 999px; background: rgb(255 255 255 / 56%); border: 1px solid rgb(255 255 255 / 85%); backdrop-filter: blur(24px) saturate(115%); -webkit-backdrop-filter: blur(24px) saturate(115%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgb(255 255 255 / 65%), 0 8px 32px rgb(35 35 45 / 8%); }
.site-header nav { background: rgb(210 210 215 / 20%); box-shadow: inset 0 1px 3px rgb(20 20 30 / 4%); }
.site-header nav a:hover,.site-header nav a[aria-current],.site-header nav a:focus-visible { background: rgb(255 255 255 / 85%); box-shadow: inset 0 1px 1px #fff,0 3px 8px rgb(0 0 0 / 8%); }
.intro { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; padding-block: 140px 170px; }
.main-message { position: relative; font-weight: 450; text-shadow: 0 2px 20px #fff; }
.section-label { background: transparent; color: #242426; padding: 0; font-size: 23px; letter-spacing: .02em; }
.section-heading-line { margin-bottom: 32px; }
.profile { padding-top: 32px; padding-bottom: 112px; }
.profile-layout { padding: 40px; border-radius: 30px; background: rgb(255 255 255 / 66%); border: 1px solid rgb(255 255 255 / 90%); box-shadow: inset 0 1px 0 #fff,0 10px 35px rgb(30 30 40 / 4%); }
.work-item { background: linear-gradient(135deg,rgb(255 255 255 / 82%),rgb(255 255 255 / 48%)); border: 1px solid rgb(255 255 255 / 95%); border-radius: 30px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px 2px #fff,inset 0 -1px 1px rgb(255 255 255 / 75%),0 12px 32px rgb(40 40 50 / 6%); }
.text-link { background: linear-gradient(160deg,rgb(255 255 255 / 90%),rgb(235 235 238 / 60%)); border: 1px solid rgb(255 255 255 / 95%); box-shadow: inset 0 1px 1px #fff,0 4px 12px rgb(40 40 50 / 8%); transition: background 180ms,box-shadow 180ms; }
.text-link:hover { background: #fff; color: #222; box-shadow: inset 0 1px 1px #fff,0 6px 18px rgb(40 40 50 / 13%); }
.contact-section { padding-block: 64px 72px; background: rgb(255 255 255 / 45%); border-top: 1px solid #fff; }
.contact-content { padding: 36px; border-radius: 28px; background: rgb(255 255 255 / 62%); border: 1px solid #fff; box-shadow: 0 10px 35px rgb(30 30 40 / 4%); }
input,textarea { background: rgb(255 255 255 / 85%); border-radius: 14px; box-shadow: inset 0 1px 3px rgb(30 30 40 / 5%),0 1px 0 #fff; }
#contact-form > .button-primary { border-radius: 999px; }
.site-footer { padding-top: 32px; }
@media(max-width:1100px) { .profile-layout { gap: 32px; padding: 28px; } }
@media(max-width:800px) { .profile-layout { grid-template-columns: 1fr; } .contact-content { padding: 28px; } }
@media(max-width:600px) {
 .site-header { padding-inline: 16px; top: 12px; }
 .header-content { border-radius: 28px; padding: 16px 10px 10px; gap: 10px; margin-top: 12px; }
 .site-header nav { width: 100%; justify-content: center; }
 .site-header nav a { flex: 1; padding-inline: 12px; }
 .intro { min-height: 480px; padding-block: 110px 130px; }
 .main-message { font-size: clamp(22px,6.3vw,29px); }
 .profile { padding-top: 12px; padding-bottom: 80px; }
 .profile-layout,.work-item { padding: 26px; border-radius: 24px; }
 .profile-name h3 { font-size: 26px; }
 .section-label { font-size: 21px; }
 .contact-content { padding: 24px 20px; border-radius: 24px; }
 .contact-layout { padding-inline: 20px; }
 .contact-intro { font-size: 16px; }
}
/* White canvas: quiet content surfaces, more reflective controls. */
.profile-layout, .contact-content {
 background: linear-gradient(155deg, #fafafa 0%, #f5f5f5 70%, #f1f1f1 100%);
 border: 1px solid transparent;
 border-color: #fff #ededed #e3e3e3 #f3f3f3;
 box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px rgb(255 255 255 / 80%), 0 3px 7px rgb(0 0 0 / 4%), 0 10px 24px rgb(0 0 0 / 3%);
 backdrop-filter: none;
 -webkit-backdrop-filter: none;
}
.work-item {
 background: linear-gradient(170deg, #fff 0%, #fdfdfd 12%, #fff 40%, #fff 78%, #f8f8f8 100%);
 border: 1px solid #e7e7e7;
 border-top-color: #efefef;
 border-bottom-color: #dedede;
 box-shadow: inset 0 2px 2px #fff, inset 1px 0 1px rgb(255 255 255 / 90%), inset 0 -2px 3px #fff, 0 2px 5px rgb(0 0 0 / 3%), 0 10px 24px rgb(0 0 0 / 3%);
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
}
.work-item .activity-label {
 align-self: flex-start;
 width: fit-content;
 margin-bottom: 20px;
 padding: 5px 14px;
 border-radius: 999px;
 background: #242424;
 color: #fff;
 font-size: 14px;
 font-weight: 500;
 line-height: 1.7;
 letter-spacing: .025em;
}
.header-content {
 background: linear-gradient(160deg, rgb(255 255 255 / 80%), rgb(244 244 244 / 45%) 55%, rgb(232 232 232 / 55%));
 border-color: #fff rgb(225 225 225 / 65%) rgb(208 208 208 / 70%) rgb(245 245 245 / 90%);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
 box-shadow: inset 0 1px 1px rgb(255 255 255 / 65%), inset 0 -1px 1px rgb(255 255 255 / 65%), 0 3px 8px rgb(0 0 0 / 5%), 0 12px 26px rgb(0 0 0 / 5%);
}
.site-header nav { align-items: center; background: rgb(215 215 215 / 25%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 40%); }
.site-header nav a:hover, .site-header nav a[aria-current], .site-header nav a:focus-visible {
 background: linear-gradient(160deg, #fff, rgb(255 255 255 / 75%) 60%, rgb(235 235 235 / 70%));
 box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px rgb(0 0 0 / 8%), 0 2px 5px rgb(0 0 0 / 8%);
}
.text-link {
 background: linear-gradient(165deg, rgb(255 255 255 / 95%) 5%, rgb(255 255 255 / 48%) 48%, rgb(220 220 220 / 38%) 100%);
 border-color: #fff rgb(222 222 222 / 70%) rgb(200 200 200 / 70%) rgb(245 245 245 / 90%);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 box-shadow: inset 0 2px 1px #fff, inset 0 -2px 2px rgb(255 255 255 / 80%), 0 3px 6px rgb(0 0 0 / 6%);
}
.text-link:hover {
 background: linear-gradient(165deg, #fff, rgb(255 255 255 / 80%) 50%, rgb(225 225 225 / 60%));
 box-shadow: inset 0 2px 1px #fff, inset 0 -2px 2px rgb(255 255 255 / 90%), 0 5px 10px rgb(0 0 0 / 9%);
}
.text-link:active { color: #222; box-shadow: inset 0 1px 3px rgb(0 0 0 / 10%); }
@supports not (backdrop-filter:blur(1px)) { .header-content { background: #f8f8f9; } .work-item { background: #fff; } }
@media(prefers-reduced-transparency:reduce) { .header-content,.profile-layout,.work-item,.contact-content { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; } }

:root, body { background: #fff; }

/* Give each section its own structure while retaining the glass controls. */
.section-label { padding: 7px 18px 8px; background: #242424; color: #fff; font-size: 18px; line-height: 1.6; letter-spacing: .035em; }
.section-heading-line { margin-bottom: 48px; }
.profile { padding-bottom: 192px; }
.work-section { padding-bottom: 192px; }
.profile-layout { grid-template-columns: 200px minmax(0, 1fr); column-gap: 64px; row-gap: 32px; align-items: start; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.profile-photo { width: 200px; height: 200px; grid-column: 1; grid-row: 1 / 3; }
.profile-name { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; }
.profile-name h3 { font-size: 34px; }
.profile-name > p { margin-top: 0; }
.profile-role { flex-basis: 100%; margin: 28px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.9; color: #414141; }
.profile-role li { position: relative; padding-left: 22px; }
.profile-role li + li { margin-top: 8px; }
.profile-role li::before { content: ''; position: absolute; left: 0; top: .95em; width: 10px; height: 10px; border-radius: 50%; background: #d5d5d5; transform: translateY(-50%); }
.profile-bio { grid-column: 2; grid-row: 2; width: 100%; max-width: 40em; line-height: 2; }
.profile-bio p + p { margin-top: 28px; }
.profile-message { margin-top: 28px; }
.contact-section { background: #f5f5f5; border: 0; padding-block: 88px 96px; }
.contact-content { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
input, textarea { background: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgb(0 0 0 / 4%), 0 6px 20px rgb(0 0 0 / 3%); }
@media(max-width:800px) {
 .profile-layout { grid-template-columns: 160px minmax(0, 1fr); column-gap: 36px; }
 .profile-photo { width: 160px; height: 160px; grid-row: 1; }
 .profile-bio { grid-column: 1 / -1; }
}
@media(max-width:600px) {
 .section-label { font-size: 17px; padding: 6px 16px 7px; }
 .section-heading-line { margin-bottom: 36px; }
 .profile, .work-section { padding-bottom: 144px; }
 .profile .section-heading-line { text-align: center; margin-bottom: 44px; }
 .profile-layout { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
 .profile-photo { width: 168px; height: 168px; grid-column: 1; grid-row: 1; justify-self: center; }
 .profile-name { grid-column: 1; grid-row: 2; column-gap: 18px; }
 .profile-name h3 { font-size: 28px; }
 .profile-name > p { font-size: 15px; }
 .profile-role { margin-top: 28px; font-size: 16px; }
 .profile-bio { grid-column: 1; grid-row: 3; }
 .profile-bio p + p { margin-top: 24px; }
 .contact-section { padding-block: 64px 72px; }
}
@font-face {
 font-family: 'Inter';
 src: url('assets/InterVariable.woff2') format('woff2');
 font-style: normal;
 font-weight: 100 900;
 font-display: swap;
}
:root { font-family: 'Inter', 'Noto Sans JP', sans-serif; font-optical-sizing: auto; }
.wordmark { font-weight: 600; letter-spacing: .04em; }
.wordmark-dot { display: inline-block; font-size: 1.75em; line-height: 0; letter-spacing: 0; color: #b8b8b8; }
.profile-name > p { font-weight: 400; letter-spacing: .015em; }
.site-header nav, .section-label { font-weight: 500; letter-spacing: .01em; }
.wordmark-initial { display: none; }
@media(max-width:600px) {
 html { scroll-padding-top: 96px; }
 .site-header { padding-inline: 12px; }
 .header-content { flex-direction: row; flex-wrap: nowrap; gap: 16px; padding: 6px 8px 6px 14px; border-radius: 999px; }
 .wordmark { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; font-size: 14px; letter-spacing: .025em; }
 .site-header nav { width: auto; flex: none; min-width: 0; margin-left: auto; gap: 2px; padding: 3px; font-size: 14px; letter-spacing: 0; }
 .site-header nav a { flex: none; min-width: 44px; min-height: 44px; padding: 8px 8px; }
}
@media(max-width:400px) {
 .site-header { padding-inline: 8px; }
 .header-content { gap: 8px; padding-inline: 10px 6px; }
 .site-header nav a { padding-inline: 6px; }
}
@media(max-width:360px) {
 .wordmark-full { display: none; }
 .wordmark-initial { display: block; font-size: 23px; font-weight: 600; }
 .wordmark { justify-content: center; min-width: 36px; }
}

.section-label { background: transparent; color: #222; padding: 0; font-size: 48px; line-height: 1.15; font-weight: 450; letter-spacing: -.025em; }
.heading-caption, .section-heading > .heading-caption { font-size: 16px; color: #666; line-height: 1.8; margin-top: 4px; }
@media(max-width:600px) { .section-label { font-size: 40px; } }

.header-content {
 background: linear-gradient(170deg, rgb(255 255 255 / 96%), rgb(255 255 255 / 82%) 75%, rgb(247 247 247 / 88%));
 border-color: #e7e7e7;
 box-shadow: inset 0 0 0 1px rgb(255 255 255 / 90%), 0 2px 5px rgb(0 0 0 / 3%), 0 8px 20px rgb(0 0 0 / 3%);
}
.site-header nav {
 background: linear-gradient(165deg, rgb(255 255 255 / 75%), rgb(247 247 247 / 70%));
 box-shadow: inset 0 0 0 1px rgb(0 0 0 / 6%);
}
.site-header nav a:is(:hover, :focus-visible) {
 color: #222; background: #f0f0f0; box-shadow: none;
}
.site-header nav a[aria-current] {
 color: #fff; background: #242424; box-shadow: none;
}

.section-heading-line, .contact-layout > .section-heading { text-align: center; }
.contact-layout { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
.contact-section { background: #f6f6f6; }
.contact-content { width: 100%; max-width: 820px; margin-inline: auto; padding: 48px; border-radius: 28px; background: #fff; box-shadow: 0 4px 24px rgb(0 0 0 / 4%); }
.contact-content input, .contact-content textarea { background: #f7f7f7; box-shadow: inset 0 1px 3px rgb(0 0 0 / 4%); }
@media(max-width:600px) { .contact-content { padding: 28px 20px; border-radius: 22px; } }
.contact-intro { max-width: 36em; margin-inline: auto; text-align: center; }
.contact-layout > .section-heading > .contact-intro { margin: 24px auto 0; font-size: 17px; line-height: 2; }
@media(max-width:600px) { .contact-layout > .section-heading > .contact-intro { font-size: 16px; margin-top: 20px; } }
#contact-form > .button-primary { display: flex; margin-inline: auto; }
.review-actions { justify-content: center; }
.contact-result { text-align: center; }
.field-error { margin-top: 9px; padding-left: 10px; border-left: 2px solid #555; color: #414141; font-size: 14px; line-height: 1.7; }
.contact-content input[aria-invalid="true"], .contact-content textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #777; }
.contact-content :is(.button-primary, .button-secondary) { min-height: 52px; min-width: 180px; padding: 12px 26px; border-radius: 999px; font-size: 16px; line-height: 1.7; }
.contact-content .button-secondary { background: #fff; color: #222; border-color: #aaa; }
.contact-content .button-secondary:hover:not(:disabled) { background: #f5f5f5; }
.contact-content .button-secondary:disabled { color: #777; cursor: not-allowed; }
.text-link { background: #fff; color: #222; border: 1px solid #555; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.text-link:hover, .text-link:focus-visible { background: #fff; color: #222; border-color: #222; box-shadow: 0 3px 9px rgb(0 0 0 / 7%); }
.text-link:active { background: #fff; color: #222; box-shadow: inset 0 1px 2px rgb(0 0 0 / 6%); }

@media (prefers-reduced-transparency: reduce) {
 .header-content { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
 .site-header nav { background: #fafafa; backdrop-filter: none; -webkit-backdrop-filter: none; }
 .site-header nav a[aria-current] { background: #242424; color: #fff; }
}

/* Place language controls beside the copyright. */
.site-footer { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
.language-switch { flex-shrink: 0; margin-left: auto; display: inline-flex; gap: 2px; padding: 2px; border: 1px solid #ededed; border-radius: 999px; background: #fff; box-shadow: none; }
.language-switch[hidden] { display: none; }
.language-switch button { min-width: 36px; min-height: 32px; padding: 6px 9px; border: 0; border-radius: 999px; background: transparent; color: #666; font: 500 12px/1.4 'Inter', sans-serif; cursor: pointer; transition: background 160ms, color 160ms; }
.language-switch button:hover { color: #222; background: #f5f5f5; }
.language-switch button[aria-pressed="true"] { background: #eeeeee; color: #444; }
.language-switch button:focus-visible { outline: 2px solid #555; outline-offset: 3px; }
html[lang="en"] .profile-bio { line-height: 1.85; }
html[lang="en"] .profile-name h3 { font-family: 'Inter', sans-serif; }
html[lang="en"] .main-message { letter-spacing: -.025em; }
@media(max-width:600px) {
 html[lang="en"] .profile-name h3 { font-size: 26px; }
 html[lang="en"] .profile-name > p { font-size: 14px; }
}

#contact-form.english-form .field-pair { grid-template-columns: minmax(0, 1fr); }

/* Hero: keep the selected typography and reveal it once on page load. */
html[lang="ja"] .hero-rise { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.6; letter-spacing: .015em; }
.hero-words { display: block; }
.hero-words > span { display: inline-block; white-space: nowrap; }
.hero-ending { display: block; margin-top: 24px; font-size: 30px; font-weight: 500; letter-spacing: .06em; color: inherit; }
@media (max-width: 600px) {
 html[lang="ja"] .hero-rise { font-size: clamp(30px, 8.5vw, 38px); line-height: 1.65; }
 .hero-words > span { display: block; }
 .hero-ending { margin-top: 22px; font-size: 24px; }
}
@keyframes hero-rise-in {
 from { opacity: 0; transform: translateY(10px); }
 to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
 .hero-rise, .hero-accent { animation: hero-rise-in 1100ms cubic-bezier(.22,.61,.36,1) both; }
}

/* A small editorial accent above the hero message. */
.intro { flex-direction: column; gap: 32px; }
.hero-accent { margin: 0; padding: 5px 10px; background: #222; color: #fff; border-radius: 0; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .025em; text-align: center; }
@media (max-width: 600px) {
 .intro { gap: 28px; }
 .hero-accent { font-size: 12px; padding: 4px 9px; }
}

@media (max-width: 600px) { .hero-comma { display: none; } }
