@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('./assets/inter-latin.woff2') format('woff2'); }
:root { --accent: #1953de; --ink: #101114; --muted: #60636b; --gutter: clamp(24px, 5.5vw, 106px); font-family: Inter, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif; color: var(--ink); background: #fff; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
img { display: block; max-width: 100%; object-position: var(--image-position, 50% 50%); object-fit: var(--image-fit, cover); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
p { font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: anywhere; }
#top { position: relative; max-width: 1920px; margin: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 12px 18px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 24px; min-height: 104px; padding: 22px var(--gutter); background: transparent; }
.brand { display: inline-flex; flex-direction: column; flex-shrink: 0; line-height: .87; }
.site-header .brand { min-width: 0; max-width: 50%; flex-shrink: 1; }
.brand-main { overflow-wrap: anywhere; }
.brand-main { font-size: 31px; font-weight: 900; letter-spacing: -.075em; }
.brand-sub { font-size: 18px; font-weight: 750; letter-spacing: .025em; margin-top: 3px; }
.demo-badge { color: var(--ink); font-size: 12px; line-height: 1.5; letter-spacing: .025em; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 650; letter-spacing: .015em; }
.nav-link:hover { color: var(--accent); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(760px, 100svh); background: #e7e8e8; }
.hero-scene { position: absolute; inset: 0; z-index: -1; min-width: 0; background: #e7e8e8; }
.hero-photo { width: 100%; height: 100%; object-position: var(--image-position, 30% 50%); }
.hero-copy { min-width: 0; width: 45%; margin-left: 52%; padding: clamp(138px, 16svh, 190px) 0 24px; }
.hero-copy .eyebrow { color: var(--ink); font-size: 12px; letter-spacing: .1em; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 650; line-height: 1.5; letter-spacing: .08em; }
.display { font-weight: 850; letter-spacing: -.068em; line-height: .94; }
.display > span, .jp-display > span, .hero-description > span { display: block; }
.hero-title { font-size: clamp(110px, 12vw, 230px); line-height: .87; margin: 24px 0 28px; }
.hero-title > span { padding-bottom: .055em; }
.hero-title > span:last-child:not(:first-child) { font-size: .54em; letter-spacing: -.055em; line-height: 1; margin-top: .07em; }
.hero-description { font-size: clamp(16px, 1.2vw, 20px); line-height: 1.9; letter-spacing: .025em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 62px; max-width: 100%; border-radius: 50px; padding: 17px 32px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.6; transition: background-color .2s; }
.button-primary { background: var(--accent); }
.button:hover { background: var(--accent); }
.button-primary:hover { background: var(--ink); }
.hero-copy .button { margin-top: 30px; }
.arrow { font-family: Arial, sans-serif; font-size: 26px; font-weight: 400; line-height: 1; transition: transform .2s; }
.button:hover .arrow { transform: translateX(4px); }
.hero-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding: 12px var(--gutter); min-height: 66px; font-size: 14px; letter-spacing: .025em; }
.scroll-link { font-size: 12px; display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.section-pad { padding: clamp(62px, 7.5vw, 128px) var(--gutter); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.jp-display { font-size: clamp(36px, 4.8vw, 78px); line-height: 1.4; font-weight: 750; letter-spacing: -.065em; margin-top: 24px; }
.about-body { align-self: center; max-width: 560px; padding-top: 6px; }
.about-name { font-size: clamp(24px, 2.3vw, 36px); font-weight: 800; letter-spacing: -.04em; }
.meta { font-size: 12px; line-height: 1.8; letter-spacing: .045em; color: var(--muted); }
.about-body .meta { margin: 7px 0 26px; }
.body-copy + .body-copy { margin-top: 18px; }
.profile-photo { width: min(100%, 260px); height: 260px; margin-bottom: 26px; background: #f2f4f6; }
.work { background: #f5f6f7; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-title { font-size: clamp(25px, 2.6vw, 42px); line-height: 1.5; font-weight: 650; letter-spacing: -.05em; margin-top: 12px; }
.section-intro { max-width: 350px; color: var(--muted); font-size: 14px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5%; }
.work-image { display: grid; place-items: center; aspect-ratio: 1.25; background: #e6eef5; }
.work-photo { width: 100%; height: 100%; min-height: 0; }
.work-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-top: 22px; }
.work-title { font-size: 25px; font-weight: 650; letter-spacing: -.04em; margin-top: 10px; line-height: 1.6; }
.work-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.work-link:hover { color: var(--accent); }
.work-description { margin-top: 6px; font-size: 16px; color: #464952; }
.sample-note { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 34px; }
.connect-heading { display: flex; align-items: center; gap: 28px; }
.connect-heading h2 { font-size: 20px; line-height: 1.6; font-weight: 550; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5%; margin-top: 30px; }
.social-link { display: block; border-top: 1px solid #cbd0d8; padding: 20px 0 0; }
.social-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(24px, 2.7vw, 42px); letter-spacing: -.05em; line-height: 1.3; }
.social-link p { font-size: 14px; margin-top: 13px; }
.social-link:not(.is-sample):hover .social-name { color: var(--accent); }
.sample-status { display: block; margin-top: 9px; }
.closing { display: grid; grid-template-columns: 43% 57%; background: #edf5fc; }
.closing-copy { align-self: center; padding: 60px 9% 60px 12.8%; }
.closing-kicker { font-weight: 800; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.3; letter-spacing: -.05em; }
.closing-title { font-size: clamp(39px, 4.2vw, 79px); margin-top: 5px; }
.closing-description { margin-top: 24px; }
.closing-copy .button { margin-top: 30px; }
.closing-visual { min-width: 0; height: clamp(400px, 39vw, 680px); }
.closing-photo { width: 100%; height: 100%; }
.site-footer { padding: 36px var(--gutter) 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 30px; }
.footer-brand { display: flex; align-items: center; gap: 26px; }
.footer-brand p { font-size: 12px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 22px; justify-content: flex-end; }
.footer-nav .nav-link { min-height: 36px; font-size: 12px; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-bottom small { font-size: 12px; line-height: 1.8; color: var(--muted); }
.back-top { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 28px; }
.back-top-arrow { display: block; animation: back-top-float 2.4s ease-in-out infinite; }
@keyframes back-top-float { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-4px); } }
.no-script { padding: 32px; }
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise .6s ease both; }
  @keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
}
@media (max-width: 1100px) {
  .site-footer { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .section-heading { display: block; }
  .section-intro { max-width: none; margin-top: 14px; }
}
@media (max-width: 960px) {
  .hero { min-height: 720px; }
  .hero-copy { width: 47%; margin-left: 50%; padding-top: 152px; }
  .hero-title { font-size: 12.7vw; margin: 22px 0 24px; }
  .hero-description > span { display: inline; }
  .hero-description > span + span::before { content: ' '; }
  .closing { grid-template-columns: 1fr; }
  .closing-copy { padding: 48px var(--gutter); }
  .closing-title { font-size: clamp(42px, 8.5vw, 74px); }
  .closing-visual { height: auto; aspect-ratio: 1.5; }
  .closing-photo { height: auto; aspect-ratio: 1.5; }
}
@media (max-width: 700px) {
  .site-header { min-height: 84px; padding-block: 18px; gap: 16px; }
  .brand-main { font-size: 27px; }
  .brand-sub { font-size: 16px; }
  .demo-badge { font-size: 10px; max-width: 96px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; min-height: 44px; padding: 0; border: 0; background: transparent; margin-left: auto; font-size: 12px; font-weight: 650; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 16px var(--gutter) 24px; background: #fff; box-shadow: 0 12px 15px #1011140a; }
  .main-nav.is-open { display: grid; gap: 0; }
  .hero { min-height: 0; background: #fff; }
  .hero-scene { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 1.1; }
  img { object-fit: var(--mobile-fit, var(--image-fit, cover)); object-position: var(--mobile-position, 50% 50%); }
  .hero-copy { width: auto; margin-left: 0; padding: 34px var(--gutter) 40px; }
  .hero-title { font-size: clamp(88px, 23.4vw, 140px); margin: 20px 0 26px; }
  .hero-photo { object-position: var(--mobile-position, 16% 50%); }
  .hero-description > span { display: block; }
  .hero-description > span + span::before { content: none; }
  .hero-copy .button { margin-top: 26px; }
  .hero-note { gap: 12px; font-size: 12px; }
  .button { min-height: 58px; padding: 16px 28px; font-size: 14px; }
  .eyebrow { font-size: 12px; }
  .about { grid-template-columns: 1fr; gap: 34px; }
  .jp-display { font-size: 42px; margin-top: 18px; }
  .about-body { max-width: none; }
  .about-name { font-size: 26px; }
  .section-heading { margin-bottom: 28px; }
  .section-title { font-size: 25px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-meta { margin-top: 16px; }
  .work-title { font-size: 23px; }
  .connect-heading { display: block; }
  .connect-heading h2 { margin-top: 12px; }
  .social-links { grid-template-columns: 1fr; gap: 28px; }
  .social-name { font-size: 32px; }
  .closing-copy { padding-top: 42px; padding-bottom: 42px; }
  .closing-title { font-size: clamp(36px, 10vw, 60px); }
  .closing-photo { object-position: var(--mobile-position, 50% 50%); }
  .site-footer { gap: 22px; padding-top: 28px; }
  .footer-brand { gap: 22px; }
  .footer-brand p { flex: 1; max-width: none; font-size: 12px; text-wrap: pretty; }
  .footer-nav { column-gap: 22px; row-gap: 0; }
  .footer-nav .nav-link { min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ninolog: template layout with Japanese typography and real work. */
.brand-logo { width: 178px; height: auto; }
.site-footer .brand-logo { width: 146px; }
.hero-title { font-size: clamp(68px, 9vw, 168px); line-height: 1.18; letter-spacing: -.055em; }
.hero-title > span { white-space: nowrap; padding-bottom: .025em; }
.hero-title > span:last-child:not(:first-child) { font-size: .5em; line-height: 1.3; letter-spacing: -.04em; margin-top: .22em; }
.hero-description { font-size: clamp(15px, 1.18vw, 20px); }
.jp-display { letter-spacing: -.045em; }
.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.work-item-text { border-top: 1px solid #cbd0d8; }
.work-item-text .work-meta { font-size: 10px; margin-top: 22px; }
.work-item-text .work-title { font-size: clamp(19px, 1.7vw, 29px); margin-top: 28px; }
.work-item-text .work-description { margin-top: 17px; font-size: 15px; }
.closing-kicker { font-size: 13px; letter-spacing: .07em; font-weight: 650; }
.closing-title { line-height: 1.35; letter-spacing: -.05em; margin-top: 22px; }
.closing-description { font-size: 15px; }
.skip-link:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
@media (min-width: 961px) {
  .hero-copy { margin-left: 56%; width: 41%; }
}
@media (min-width: 701px) and (max-width: 960px) {
  .hero-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, rgb(232 232 229 / .94) 59%, rgb(232 232 229 / .94)); pointer-events: none; }
  .hero-title { font-size: 9.5vw; }
  .main-nav { gap: 19px; }
  .brand-logo { width: 154px; }
  .work-grid { grid-template-columns: 1fr; gap: 34px; }
  .work-item-text .work-title { margin-top: 14px; font-size: 25px; }
  .work-item-text .work-description { max-width: 650px; }
  .about { gap: 5%; }
  .jp-display { font-size: 4.7vw; }
}
@media (max-width: 700px) {
  .brand-logo { width: 144px; }
  .site-footer .brand-logo { width: 124px; }
  .hero-title { font-size: clamp(58px, 18vw, 112px); margin-top: 21px; margin-bottom: 27px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .075em; }
  .hero-description { font-size: 15px; }
  .jp-display { font-size: clamp(33px, 9vw, 54px); }
  .work-grid { grid-template-columns: 1fr; gap: 34px; }
  .work-item-text .work-title { margin-top: 17px; font-size: 23px; }
  .work-item-text .work-description { margin-top: 12px; }
  .closing-kicker { font-size: 12px; }
  .footer-brand { flex-wrap: wrap; gap: 16px; }
}
