@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/albert-sans.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --p-bg: #f6f0eb; --p-surface: #ebe0d9; --p-ink: #2c2325; --p-muted: #6a5d5e;
  --p-accent: #9a3c4c; --p-accent-ink: #ffffff; --p-action: #9a3c4c; --p-action-ink: #ffffff;
  --p-inv-bg: #2c2325; --p-inv-surface: #382f31; --p-inv-ink: #f6f0eb; --p-inv-muted: #a39b99;
  --p-inv-accent: #f6f0eb; --p-inv-accent-ink: #2c2325; --p-inv-action: #f6f0eb; --p-inv-action-ink: #2c2325;
  --font-display: 'Albert Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-text: 'Albert Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --display-weight: 400;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --header-height: 104px;
  --footer-height: 72px;
}

html { scroll-behavior: auto; }
body { -webkit-font-smoothing: antialiased; }
a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: white; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.skip-link { z-index: 20; top: 20px; }
.skip-link:focus { transform: none; }
.site-header { position: absolute; inset: 0 0 auto; height: var(--header-height); z-index: 2; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.home-mark { display: inline-flex; align-items: center; min-height: 44px; font-size: 23px; letter-spacing: -.06em; font-weight: 600; }
.home-mark:hover { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 44px; font-size: 14px; }
.site-nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.site-nav a:hover { color: var(--accent); }
.nav-home > span { color: var(--muted); }
.nav-home::before { content: ''; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: var(--accent); }
.nav-shop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 150ms; }
.nav-shop:hover svg { transform: translate(2px, -2px); }
main > .hero { height: auto; min-height: max(100svh, 880px); padding: 144px 0 112px; display: flex; flex-direction: column; }
.hero > .home-content { height: auto; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 68px; }
.identity-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 0 0 30px; }
.eyebrow > [lang] { color: var(--muted); }
.small-cross { color: var(--accent); font-size: 23px; margin-right: 2px; }
.identity h1 { font-size: clamp(112px, 17.35vw, 250px); font-weight: 500; line-height: .82; letter-spacing: -.085em; white-space: nowrap; max-width: none; }
.name-dot { color: var(--accent); }
.introduction { padding-bottom: 6px; }
.intro-index { display: block; color: var(--accent); font-size: 13px; margin-bottom: 22px; letter-spacing: .02em; }
.intro-heading { font-size: 25px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 12px; }
.intro-copy { font-size: 16px; color: var(--muted); line-height: 1.9; }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.project-heading { display: flex; flex-direction: column; align-items: flex-start; padding-top: 2px; }
.project-heading h2 { font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -.02em; }
.project-heading h2 > span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; letter-spacing: 0; }
.project-heading > p { color: var(--muted); font-size: 15px; line-height: 1.85; margin-top: 24px; }
.project-count { margin-top: auto; font-size: 38px; font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.project-count > span { color: var(--muted); font-size: 13px; letter-spacing: 0; margin-left: 12px; }
.project-card { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 284px; background: var(--surface); border: 0; border-radius: 3px; padding: 28px 32px; color: var(--ink); text-decoration: none; transition: background-color 180ms, transform 180ms; }
.project-card:hover { background: #e6d7cf; }
.project-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.project-category { font-size: 13px; }
.project-category > span { color: var(--muted); margin-left: 6px; }
.project-arrow { width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 1.5; transition: transform 180ms; }
.project-card:hover .project-arrow { transform: translate(3px, -3px); }
.project-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.project-name { font-size: 92px; line-height: .9; font-weight: 500; letter-spacing: -.075em; }
.shop-period { color: var(--accent); }
.project-destination { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; font-size: 13px; }
.project-destination > span:first-child { color: var(--muted); }
.visit-label { color: var(--accent); font-size: 15px; }
.visit-label > span { margin-left: 10px; }
.resources-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.resource-title { display: flex; align-items: baseline; gap: 12px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.resource-title > span { font-size: 13px; color: var(--muted); font-weight: 400; }
.domain-list, .contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.domain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.domain-list > li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); font-size: 23px; letter-spacing: -.035em; }
.domain-note { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.contact-list a > span:first-child { display: flex; flex-direction: column; gap: 5px; }
.contact-label { font-size: 13px; color: var(--muted); }
.contact-handle { font-size: 17px; }
.contact-arrow { color: var(--accent); font-size: 23px; transition: transform 150ms; }
.contact-list a:hover .contact-handle { color: var(--accent); }
.contact-list a:hover .contact-arrow { transform: translate(2px, -2px); }
.site-footer { position: relative; margin-top: calc(-1 * var(--footer-height)); height: var(--footer-height); font-size: 12px; color: var(--muted); }
.footer-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner a { display: inline-flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 44px; }
.footer-inner a:hover { color: var(--accent); }
.footer-inner a > span { color: var(--accent); font-size: 20px; }
.not-found { display: flex; align-items: center; min-height: 100svh; }
.not-found h1 { font-size: clamp(32px, 6vw, 72px); margin-bottom: 24px; }
.not-found main > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.return-home { display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px; gap: 24px; color: var(--accent); }

@media (min-height: 1000px) and (min-width: 1024px) {
  main > .hero { padding-top: 18svh; padding-bottom: 16svh; }
  .project-card { min-height: 320px; }
}
@media (max-width: 1100px) and (min-width: 640px) {
  .identity-row { grid-template-columns: 1fr; gap: 32px; }
  .identity h1 { font-size: clamp(160px, 25vw, 250px); }
  .introduction { display: flex; align-items: center; gap: 28px; padding: 0; }
  .intro-index { display: none; }
  .intro-heading { font-size: 22px; margin: 0; white-space: nowrap; }
  .intro-copy { font-size: 15px; }
  .intro-copy br { display: none; }
  .project-name { font-size: 76px; }
  .project-card { padding: 24px; }
  .project-card-bottom { align-items: flex-start; flex-direction: column; }
  .project-destination { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .resources-row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; }
  .domain-list { column-gap: 20px; }
  .domain-list > li { font-size: 20px; }
  .domain-note { display: none; }
}
@media (max-width: 639px) {
  :root { --header-height: 80px; --footer-height: 64px; }
  .site-nav { gap: 24px; }
  .nav-home { display: none !important; }
  .home-mark { font-size: 21px; }
  main > .hero { height: auto; min-height: max(100svh, 780px); padding: 120px 0 96px; }
  .hero > .home-content { gap: 38px; }
  .identity-row { grid-template-columns: 1fr; gap: 30px; }
  .eyebrow { font-size: 12px; margin-bottom: 26px; gap: 6px; }
  .identity h1 { font-size: clamp(100px, 27.6vw, 176px); }
  .introduction { padding: 0; }
  .intro-index { display: none; }
  .intro-heading { font-size: 20px; margin-bottom: 7px; }
  .intro-copy { font-size: 14px; line-height: 1.8; }
  .intro-copy br { display: none; }
  .project-row { grid-template-columns: 1fr; gap: 17px; }
  .project-heading { flex-direction: row; align-items: center; justify-content: space-between; }
  .project-heading h2 { font-size: 15px; }
  .project-heading h2 > span { display: inline; font-size: 11px; margin-left: 10px; }
  .project-heading > p, .project-count { display: none; }
  .project-card { min-height: 224px; padding: 22px 24px; gap: 32px; }
  .project-arrow { width: 30px; height: 30px; }
  .project-card-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .project-name { font-size: 70px; }
  .project-destination { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; gap: 12px; font-size: 12px; }
  .visit-label { font-size: 13px; }
  .visit-label > span { margin-left: 5px; }
  .resources-row { grid-template-columns: 1fr; gap: 36px; }
  .resource-title { font-size: 15px; }
  .resource-title > span { font-size: 12px; }
  .domain-list, .contact-list { margin-top: 12px; }
  .domain-list { column-gap: 20px; }
  .domain-list > li { min-height: 60px; font-size: 19px; gap: 8px; }
  .domain-note { display: none; }
  .contact-list a { min-height: 72px; }
  .site-footer { font-size: 11px; }
  .footer-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
