/* Hallmark · macrostructure: Personal Hub · tone: restrained editorial · anchor hue: neutral
 * theme: CV / Portfolio / Studio reference-led · nav: shared two-row header · footer: Statement
 * audience: visitors exploring Hoang's work · use: introduction and onward navigation
 * pre-emit critique: P4 H5 E4 S5 R5 V4 · enrichment: none, per brief */
@import url("tokens.css?v=20261002");

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--space-xl); }
body { margin: 0; overflow-x: clip; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, p { margin: 0; }
h1, h2 { min-width: 0; overflow-wrap: anywhere; font-family: var(--font-display); font-style: normal; line-height: 1.2; letter-spacing: -.045em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }
::selection { background: var(--color-rule); color: var(--color-ink); }
.container { width: min(calc(100% - var(--page-gutter)), var(--page-width)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: var(--space-md); left: var(--space-md); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; gap: var(--space-2xl); min-height: 100px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-base); font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; margin-left: auto; gap: var(--space-xl); }
.header-link { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; font-size: var(--text-sm); white-space: nowrap; }
.header-link > span[aria-hidden], .external-link > span[aria-hidden], .hero-link > span[aria-hidden] { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.header-link:active, .text-link:active { color: var(--color-accent); }
.languages { display: flex; flex-shrink: 0; align-items: center; gap: var(--language-switch-gap); padding: var(--language-switch-padding); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--language-switch-radius); }
.languages button { min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: var(--language-switch-item-radius); background: transparent; color: var(--color-muted); font-size: var(--text-xs); font-weight: 600; }
.languages button[aria-pressed="true"] { border-radius: var(--language-switch-selected-radius); background: var(--color-surface); color: var(--color-ink); box-shadow: 0 1px 3px var(--color-language-shadow); }
.languages button:hover { color: var(--color-ink); }
.languages button:active:not(:disabled) { background: var(--color-rule); }
.languages button:disabled { color: var(--color-muted); cursor: not-allowed; }
.hero { padding-block: var(--space-3xl) var(--space-4xl); }
.hero h1 { font-size: var(--text-display); font-weight: 700; letter-spacing: -.065em; line-height: 1.14; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--space-3xl); align-items: start; margin-top: var(--space-xl); }
.hero-role { font-size: var(--text-role); font-weight: 600; line-height: 1.24; letter-spacing: -.045em; min-width: 0; overflow-wrap: anywhere; }
.hero-role span { display: block; }
.hero-statement { font-size: var(--text-lead); line-height: 1.65; white-space: pre-line; }
.location { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; font-size: var(--text-sm); font-weight: 500; white-space: nowrap; text-underline-offset: 5px; }
.hero-link { margin-top: var(--space-md); gap: var(--space-xl); }
.destination { border-top: var(--rule-hair) solid var(--color-rule); }
.destination-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--space-3xl); padding-block: var(--space-2xl); }
.destination-number { margin-bottom: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.destination h2 { font-size: var(--text-role); font-weight: 650; }
.destination-copy { min-width: 0; }
.destination-copy p { max-width: 48ch; color: var(--color-muted); }
.site-footer { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.site-footer h2 { font-size: var(--text-statement); font-weight: 700; letter-spacing: -.055em; }
.footer-support { margin-top: var(--space-lg); max-width: 48ch; color: var(--color-muted); }
.email-link { margin-top: var(--space-lg); font-size: var(--text-lead); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-top: var(--space-4xl); color: var(--color-footer-muted); font-family: var(--font-footer); font-size: 13px; }
.footer-back { font-size: inherit; }
.destination-cta { margin-top: var(--space-md); font-weight: 600; }
.destination-cta .link-arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.destination-link:active .destination-cta { color: var(--color-accent); }
.destination-link:focus-visible .destination-cta { text-decoration: underline; }
@media (hover: hover) {
  .destination-link:hover .destination-cta { text-decoration: underline; }
  .destination-link:hover .link-arrow { transform: translate(2px, -2px); }
  .header-link:hover > span[aria-hidden], .external-link:hover > span[aria-hidden] { transform: translate(2px, -2px); }
  .hero-link:hover > span[aria-hidden] { transform: translateY(2px); }
  .text-link:hover { text-decoration: underline; }
}
@media (max-width: 1000px) {
  .site-header, .site-header nav { gap: var(--space-lg); }
  .hero-body, .destination-link { gap: var(--space-xl); }
}
@media (max-width: 700px) {
  .site-header { flex-wrap: wrap; min-height: auto; padding-block: var(--space-lg) 0; gap: var(--space-sm) var(--space-md); justify-content: space-between; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: var(--space-sm); }
  .hero { padding-block: var(--space-2xl) var(--space-3xl); }
  .hero-body, .destination-link { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .hero-body { margin-top: var(--space-lg); }
  .hero-role { font-size: clamp(1.45rem, 5.9vw, 2.125rem); line-height: 1.35; }
  .hero-statement { font-size: var(--text-base); }
  .destination-link { padding-block: var(--space-xl); }
  .site-footer { padding-top: var(--space-2xl); }
  .footer-bottom { flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-2xl); }
}
@media (max-width: 38rem) { :root { --page-gutter: 2rem; } }
@media (max-width: 340px) { .header-link { gap: var(--space-xs); } }
:lang(ja) h2 { line-height: 1.4; }
:lang(ja) .hero-role { letter-spacing: -.035em; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .header-link:hover > span[aria-hidden], .external-link:hover > span[aria-hidden], .hero-link:hover > span[aria-hidden], .destination-link:hover .link-arrow { transform: none; }
}
