/* Identity review 02. Selected directions are explicit URL previews. */
@font-face{font-family:'Switzer';src:url('/assets/fonts/switzer/switzer-light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Switzer';src:url('/assets/fonts/switzer/switzer-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Manrope';src:url('/assets/fonts/manrope/manrope-variable.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/assets/fonts/instrument-serif-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}

html[data-direction] .hero-title{font-family:'Switzer',var(--font-sans);font-weight:300;letter-spacing:-.036em;line-height:1.02;font-synthesis:none}
html[data-direction] .hero-title .title-mask{height:18.1vw;line-height:1.02;padding-bottom:.1em;margin-bottom:0}
html[data-direction] .hero-title .title-line{padding-right:.15em}
html[data-direction=b] .hero-title{font-family:'Manrope',var(--font-sans);font-weight:300;font-size:16.5vw;letter-spacing:-.045em;line-height:1.04}
html[data-direction=b] .hero-title .title-mask{height:17.4vw;line-height:1.04}
html[data-direction=c] .hero-title{font-family:'Switzer',var(--font-sans);font-weight:400;font-size:12.7vw;line-height:1.05;letter-spacing:-.025em;text-transform:uppercase;margin-top:9vw;margin-bottom:10vw;transform:none}
html[data-direction=c] .hero-title .title-mask{height:14.4vw;line-height:1.05}
html[data-direction=d] .hero-title{font-size:17vw;letter-spacing:-.035em}
html[data-direction=d] .hero-title .title-mask:nth-child(2) .title-line{font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-.025em}
html[data-direction] .hero-body{max-width:37ch}

/* On narrow screens the navigation owns a solid, bounded area after scroll. */
@media(max-width:600px){
  :root{--header-height:calc(68px + env(safe-area-inset-top,0px))}
  html{scroll-padding-top:calc(var(--header-height) + 16px)}
  :is(.home,.secondary-page) :where(main,section,article,h1,h2,h3,[tabindex='-1'])[id]{scroll-margin-top:0}
  .site-header{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;height:var(--header-height);padding:env(safe-area-inset-top,0px) 24px 0;border-bottom:1px solid transparent;transition:background-color .2s,color .2s,border-color .2s}
  .site-header .brand-link{position:static;display:flex;align-items:center;width:90px;min-width:90px;min-height:44px;flex:0 0 90px;line-height:1;transform:none}
  .site-header .brand-link img{width:90px;max-height:40px;height:auto;object-fit:contain}
  .site-header .desktop-nav{display:none}
  .site-header .menu-toggle{position:static;display:flex;align-items:center;min-height:44px;font-size:13px;gap:11px;opacity:1;visibility:visible}
  .site-header.is-scrolled,body.secondary-page .site-header,body:not(.home) .site-header{background:#f3f0eb;border-bottom-color:rgba(13,14,19,.12);color:#0d0e13;box-shadow:none;backdrop-filter:none}
  .site-header.is-scrolled .brand-link img,body.secondary-page .site-header .brand-link img,body:not(.home) .site-header .brand-link img{filter:brightness(0)}
  .menu-dialog .dialog-header{min-height:44px}
  .menu-dialog .dialog-header .brand-link{width:90px;min-width:90px}
  .menu-dialog .close-button{min-height:44px}
  .secondary-page .detail-context{padding-top:calc(var(--header-height) + 28px)}
  html[data-direction] .hero-title{font-size:16vw;line-height:1.08;letter-spacing:-.028em;transform:translateX(-.45vw)}
  html[data-direction] .hero-title .title-mask{height:18vw;line-height:1.08;padding-bottom:.1em}
  html[data-direction=b] .hero-title{font-size:15.7vw;letter-spacing:-.04em;line-height:1.09}
  html[data-direction=b] .hero-title .title-mask{height:18vw;line-height:1.09}
  html[data-direction=c] .hero-title{font-size:11.7vw;line-height:1.2;letter-spacing:-.015em;margin:10vw 0;transform:none}
  html[data-direction=c] .hero-title .title-mask{height:15.7vw;line-height:1.2}
  html[data-direction=d] .hero-title{font-size:16vw;letter-spacing:-.025em}
  html[data-direction] .hero-body{max-width:none}
}
@media(prefers-reduced-motion:reduce){.site-header,.brand-link img{transition:none}}

/* Keep the desktop mark legible when large headlines move under navigation. */
@media(min-width:601px){
  html{scroll-padding-top:104px}
  .site-header.is-scrolled{height:88px;pointer-events:auto;background:#f3f0eb;color:#0d0e13;border-bottom:1px solid rgba(13,14,19,.12)}
  .site-header.is-scrolled .brand-link{top:24px}
  .site-header.is-scrolled .brand-link img{filter:brightness(0)}
  .site-header.is-scrolled .desktop-nav{top:31px}
  .site-header.is-scrolled .menu-toggle{top:36px}
}
