:root {
  color-scheme: light;
  --paper: #eee8dd;
  --surface: #f6f2e9;
  --ink: #252d28;
  --muted: #596158;
  --forest: #203e34;
  --line: #b8bdb0;
  --focus: #b15725;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", Georgia, serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --gutter: clamp(22px, 5.3vw, 88px);
  --section-space: clamp(72px, 8.4vw, 132px);
  --ease: 180ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.95; }
a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--serif); }
button, summary { -webkit-tap-highlight-color: transparent; }
.section-shell { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.site-header { height: 106px; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--paper); position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: block; line-height: 1.2; flex: 0 0 auto; }
.brand span { display: block; font-size: 9px; font-weight: 600; letter-spacing: .2em; margin-bottom: 5px; }
.brand h1 { font-size: 34px; letter-spacing: .025em; font-weight: 500; }
.desktop-nav { display: flex; gap: clamp(14px, 2.6vw, 42px); align-items: center; }
.desktop-nav a, .mobile-menu nav a { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-decoration: none; display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; }
.desktop-nav a:hover { border-color: var(--forest); }
.mobile-menu { display: none; }
.variant { display: none; }
.variant.desktop { display: block; }
.hero { position: relative; height: min(780px, 77vw); min-height: 520px; margin: 18px 18px 0; background: var(--forest); color: var(--surface); }
.hero-variant { height: 100%; position: relative; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-variant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,23,18,.38), rgba(8,23,18,.05)); pointer-events: none; }
.hero h2 { position: absolute; z-index: 1; left: calc(var(--gutter) - 18px); bottom: 80px; font-size: clamp(38px, 4.25vw, 72px); font-weight: 500; line-height: 1.85; letter-spacing: .15em; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.about { display: grid; grid-template-columns: minmax(230px, .78fr) minmax(0, 1.45fr); gap: clamp(70px, 10vw, 170px); padding-top: var(--section-space); }
.about-sticky { position: sticky; top: 52px; }
.section-label { font-weight: 400; font-size: clamp(32px, 4.2vw, 65px); letter-spacing: .05em; line-height: 1.25; }
.about .section-label { margin-bottom: 36px; }
.portrait { width: 100%; aspect-ratio: 1; object-fit: contain; }
.social-links { display: flex; gap: 26px; margin-top: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.social-links a { min-height: 44px; font-size: 12px; letter-spacing: .04em; display: inline-flex; align-items: center; }
.about-copy { overflow-wrap: anywhere; }
.about-copy h3 { font-weight: 500; font-size: 28px; letter-spacing: .035em; line-height: 1.4; margin-top: 46px; margin-bottom: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.about-copy > div > h3:first-child, .introduction h3 { margin-top: 0; padding-top: 0; border: 0; font-size: clamp(26px, 3.3vw, 44px); margin-bottom: 30px; }
.about-copy .introduction p { margin-bottom: 16px; }
.about-copy p { line-height: 2.05; }
.about-copy a { color: var(--forest); text-decoration-color: var(--line); }
.about-copy a:hover { text-decoration-color: var(--forest); }
.about-copy strong { font-weight: inherit; }
.about-copy h4 { margin: 30px 0 15px; font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.about-copy h4:empty, .about-copy p:empty { display: none; }
.about-copy ul { padding-left: 1.15em; margin: 0; }
.about-copy li { padding-left: .3em; margin-bottom: 8px; }
.about-copy .experience li { margin-bottom: 18px; }
.profile-grid { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 20px; }
.current-grid { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 16px; }
.portfolio-link { margin-top: 65px; }
.text-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 96px; padding-block: 22px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; font-family: var(--serif); font-size: clamp(18px, 2.5vw, 36px); letter-spacing: .09em; }
.text-link::after, .view-all::after, .contact-link::after { content: "↗"; font-family: Arial,sans-serif; font-weight: 400; }
.work-section { padding-block: var(--section-space); }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 34px; }
.section-top h2 a { text-decoration: none; }
.view-all { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 44px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-decoration: none; border-bottom: 1px solid currentColor; }
.view-all::after { font-size: 20px; transition: transform var(--ease); }
.view-all:hover::after { transform: translate(3px,-3px); }
.gallery { gap: 20px; }
.gallery.variant.desktop { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.gallery figure { margin: 0; min-width: 0; }
.photo-gallery figure:nth-child(3n+2) { padding-top: 65px; }
.photo-gallery img { width: 100%; height: auto; }
.photo-gallery figure:nth-child(7) { grid-column: 1 / 3; }
.photo-gallery figure:nth-child(8) { align-self: end; }
.video-section { background: var(--forest); color: var(--surface); padding-block: var(--section-space); }
.video-section a:hover { color: var(--surface); }
.video-section .section-top { padding-bottom: 44px; }
.video-frame { width: min(100%, 1060px); margin-inline: auto; aspect-ratio: 16 / 9; background: #101713; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.others-gallery.variant.desktop { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; }
.others-gallery figure { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--surface); padding: 14px; }
.others-gallery img { max-height: 100%; width: auto; object-fit: contain; }
.contact-section { padding: 72px var(--gutter); background: var(--ink); color: var(--surface); }
.contact-link { display: flex; width: 100%; max-width: 1424px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: clamp(23px, 3.5vw, 52px); line-height: 1.5; letter-spacing: .08em; text-decoration: none; }
.contact-link:hover { color: var(--surface); }
.site-footer { padding: 30px var(--gutter); color: var(--muted); font-size: 10px; letter-spacing: .03em; }
@media (max-width: 1100px) {
  .about { gap: 58px; grid-template-columns: minmax(180px, .7fr) minmax(0,1.45fr); }
  .about-copy { font-size: 14px; }
  .current-grid { display: block; }
  .current-grid > div:first-child { margin-bottom: 12px; }
  .profile-grid { gap: 12px; grid-template-columns: 65px minmax(0,1fr); }
}
@media (min-width: 541px) and (max-width: 839px) {
  .variant.desktop { display: none; }
  .variant.tablet { display: block; }
  .gallery.variant.desktop { display: none; }
  .gallery.variant.tablet { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 35px; }
  .hero h2 { font-size: 38px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .site-header { height: 88px; position: sticky; top: 0; }
  .brand h1 { font-size: 29px; }
  .brand span { font-size: 8px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; list-style: none; border-bottom: 1px solid var(--ink); min-width: 58px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .08em; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 87px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 20px var(--gutter) 30px; box-shadow: 0 16px 20px #252d2812; }
  .mobile-menu nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .hero { margin: 10px 10px 0; height: 610px; min-height: 0; }
  .hero h2 { left: calc(var(--gutter) - 10px); bottom: 60px; font-size: 34px; letter-spacing: .065em; }
  .section-top { gap: 15px; align-items: flex-start; }
  .section-label { font-size: 34px; }
  .view-all { gap: 14px; min-height: 38px; font-size: 9px; }
  .others-gallery figure { padding: 8px; }
}
@media (max-width: 540px) {
  .variant.desktop, .variant.tablet { display: none; }
  .variant.mobile { display: block; }
  .gallery.variant.desktop, .gallery.variant.tablet { display: none; }
  .gallery.variant.mobile { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .hero { height: 595px; }
  .hero-image { object-position: 47% center; }
  .hero h2 { font-size: clamp(23px, 6.7vw, 36px); line-height: 2.1; letter-spacing: .035em; bottom: 48px; }
  .about { display: block; }
  .about .section-label { font-size: 46px; margin-bottom: 25px; }
  .about-sticky { position: static; }
  .portrait { width: 76%; margin-left: auto; }
  .social-links { justify-content: flex-end; margin-top: 20px; margin-bottom: 40px; }
  .about-copy { font-size: 14px; }
  .about-copy > div > h3:first-child { font-size: 35px; }
  .about-copy h3 { font-size: 29px; margin-top: 38px; }
  .about-copy h4 { font-size: 13px; }
  .about-copy li { margin-bottom: 16px; }
  .portfolio-link { margin-top: 48px; }
  .text-link { min-height: 76px; font-size: 18px; letter-spacing: .025em; }
  .section-top { flex-wrap: wrap; align-items: flex-end; row-gap: 20px; padding-bottom: 28px; }
  .section-top .section-label { font-size: 32px; letter-spacing: .005em; }
  .section-top .view-all { margin-left: auto; }
  .photo-gallery figure:nth-child(3n+2) { padding-top: 0; }
  .photo-gallery figure:nth-child(even) { padding-top: 28px; }
  .photo-gallery figure:nth-child(7) { grid-column: auto; }
  .photo-gallery figure:nth-child(8) { align-self: auto; }
  .video-section .section-top { padding-bottom: 28px; }
  .contact-section { padding-block: 45px; }
  .contact-link { font-size: clamp(19px, 5.5vw, 27px); letter-spacing: .02em; }
  .site-footer { padding-block: 24px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  a, summary { forced-color-adjust: auto; }
  .hero h2 { background: Canvas; color: CanvasText; text-shadow: none; }
}
