:root {
  color-scheme: light;
  --paper: #f7f7f3;
  --white: #fff;
  --ink: #1d2521;
  --gray: #656e66;
  --subtle: #8b928b;
  --line: #dfe3dc;
  --accent: #778f80;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: #b8cdc0; color: #122018; }

.site-wrap { max-width: 1376px; padding: 0 clamp(22px, 4.8vw, 76px); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 14px; }
:focus-visible { outline: 3px solid #5b8e7e; outline-offset: 4px; }

.site-header {
  min-height: 94px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.067em;
}
.wordmark-period { color: #8cae94; }
.wordmark-symbol {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 3px;
  transform: rotate(-9deg);
}
.wordmark-symbol i { width: 8px; height: 8px; border-radius: 2px; background: #27382e; }
.wordmark-symbol i:nth-child(2) { background: #a6b7aa; }
.wordmark-symbol i:nth-child(3) { background: #c1cbc0; }
.wordmark-symbol i:nth-child(4) { background: #789784; }
.header-right { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 52px); }
.header-caption, .small-kicker, .hero-kicker, .card-category, .footer-index {
  font-size: 10px;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: .17em;
}
.header-caption { color: #64766a; white-space: nowrap; }
.language-toggle {
  display: inline-flex;
  gap: 2px;
  border: 1px solid #dfe4dd;
  background: #e9ede7;
  border-radius: 100px;
  padding: 4px;
}
.language-button {
  min-width: 48px;
  border: 0;
  padding: 9px 12px;
  border-radius: 100px;
  background: transparent;
  color: #56655c;
  cursor: pointer;
  font-weight: 720;
  font-size: 11px;
  letter-spacing: .045em;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.language-button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 2px 5px #13221c14; }
.language-button:hover:not([aria-pressed="true"]) { color: var(--ink); background: #fff9; }

.hero { padding: clamp(56px, 7.8vw, 110px) 0 clamp(61px, 7.6vw, 101px); }
.hero-kicker { display: flex; align-items: center; gap: 11px; color: #64766a; margin-bottom: clamp(25px, 3.3vw, 44px); }
.kicker-line { display: block; width: 27px; height: 1px; background: #799483; }
h1 {
  font-size: clamp(58px, 7.15vw, 103px);
  font-weight: 560;
  line-height: .99;
  letter-spacing: -.072em;
  margin: 0;
}
h1 > span { display: block; }
.hero-serif {
  margin-top: .06em;
  color: #7c8f7e;
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  font-size: .95em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.067em;
}
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-top: clamp(24px, 3.2vw, 43px); }
.hero-intro { max-width: 633px; margin: 0; color: #69746b; font-size: clamp(16px, 1.37vw, 18px); line-height: 1.68; letter-spacing: -.008em; }
.hero-signature { display: flex; gap: 13px; align-items: flex-end; flex: 0 0 auto; color: #64766a; font-size: 10px; letter-spacing: .15em; font-weight: 760; line-height: 1.32; }
.signature-copy { white-space: pre-line; }
.signature-rule { width: 50px; height: 1px; background: #c5cec2; margin-bottom: 3px; }

.collection { padding-bottom: clamp(63px, 7vw, 98px); }
.collection-header {
  border-top: 1px solid #cbd3ca;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding-top: 29px;
  padding-bottom: 27px;
}
.small-kicker { color: #64766a; display: block; margin-bottom: 11px; }
.collection-heading-block h2 { margin: 0; font-size: clamp(23px, 2.15vw, 30px); line-height: 1.15; font-weight: 620; letter-spacing: -.043em; }
.collection-counter { display: flex; align-items: baseline; gap: 8px; padding-bottom: 2px; color: #64766a; font-size: 12px; white-space: nowrap; }
.collection-counter strong { font-weight: 550; color: #415449; font-size: 23px; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.project-card {
  --card-accent: #78917e;
  display: grid;
  grid-template-columns: 46% 54%;
  min-width: 0;
  min-height: 337px;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  border: 1px solid #e8ece5;
  border-radius: 19px;
  box-shadow: 0 3px 13px rgba(34, 51, 41, .025);
  text-decoration: none;
  transition: border-color .26s ease, box-shadow .26s ease, transform .26s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #c8d2c8;
  box-shadow: 0 17px 34px rgba(32, 53, 39, .085);
}
.project-card:focus-visible { outline-offset: 4px; }
.project-card--neck { --card-accent: #658fa4; }
.project-card--phenomena { --card-accent: #8476ba; }
.project-card--fuji { --card-accent: #bd775e; }
.card-media { position: relative; min-width: 0; overflow: hidden; background: #d9e5da; }
.card-media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.project-card:hover .card-media img { transform: scale(1.045); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.09), transparent 28%); pointer-events: none; }
.card-number {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 1;
  padding: 9px 10px 8px;
  background: rgba(250, 250, 246, .9);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 6px;
  color: #3d5043;
  font-size: 10px;
  line-height: 1;
  font-weight: 740;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.card-content { min-width: 0; display: flex; flex-direction: column; padding: 29px clamp(22px, 2.3vw, 33px) 23px; }
.card-category { display: flex; align-items: center; gap: 9px; color: #64766a; margin-bottom: clamp(24px, 2.65vw, 38px); }
.card-category::before { content: ""; display: block; flex: 0 0 6px; height: 6px; background: var(--card-accent); border-radius: 50%; }
.card-title { margin: 0; font-weight: 650; letter-spacing: -.05em; font-size: clamp(24px, 2vw, 29px); line-height: 1.1; overflow-wrap: anywhere; }
.card-description { margin: 14px 0 22px; font-size: 14px; line-height: 1.58; color: #69736d; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; border-top: 1px solid #e8ece8; padding-top: 15px; }
.card-open { font-size: 12px; font-weight: 680; letter-spacing: .008em; }
.card-arrow { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #f1f4f0; color: #466450; transition: background .2s ease, color .2s ease, transform .2s ease; }
.card-arrow svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.project-card:hover .card-arrow { background: var(--ink); color: white; transform: translate(2px, -2px); }

.site-footer {
  min-height: 108px;
  border-top: 1px solid #d5dbd3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0 33px;
}
.site-footer p { margin: 0; color: #64766a; font-size: 13px; line-height: 1.55; }
.footer-index { white-space: nowrap; color: #64766a; }
.footer-index > span { padding-left: 5px; }
.no-script { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.no-script li { margin-bottom: 8px; }

@media (max-width: 1180px) {
  .project-card { display: flex; flex-direction: column; min-height: 0; }
  .card-media { aspect-ratio: 1.54; flex: 0 0 auto; }
  .card-content { flex: 1; min-height: 252px; padding: 26px 26px 21px; }
  .card-category { margin-bottom: 20px; }
  .card-title { font-size: clamp(23px, 2.8vw, 30px); }
  .card-description { margin-top: 11px; }
}
@media (max-width: 720px) {
  .site-wrap { padding-left: 21px; padding-right: 21px; }
  .site-header { min-height: 76px; }
  .header-caption { display: none; }
  .wordmark { font-size: 20px; }
  .hero { padding: 62px 0 65px; }
  h1 { font-size: clamp(45px, 8.2vw, 66px); letter-spacing: -.071em; }
  .hero-serif { letter-spacing: -.058em; }
  .hero-kicker { margin-bottom: 24px; }
  .hero-bottom { margin-top: 26px; }
  .hero-signature { display: none; }
  .hero-intro { font-size: 16px; line-height: 1.65; }
  .collection-header { padding-top: 24px; padding-bottom: 23px; align-items: end; }
  .collection-heading-block h2 { font-size: 24px; }
  .collection-counter { font-size: 11px; }
  .collection-counter strong { font-size: 21px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-media { aspect-ratio: 1.56; }
  .card-content { min-height: 226px; padding: 24px 25px 20px; }
  .card-category { margin-bottom: 15px; }
  .card-title { font-size: 29px; }
  .card-description { font-size: 14px; max-width: 43ch; margin-top: 11px; margin-bottom: 18px; }
  .collection { padding-bottom: 61px; }
  .site-footer { min-height: 100px; }
}
@media (max-width: 410px) {
  .language-button { min-width: 43px; padding: 8px 10px; }
  h1 { font-size: clamp(43px, 10.2vw, 56px); }
  .hero-serif { font-size: .88em; }
  .collection-heading-block h2 { font-size: 22px; }
  .collection-counter { flex-direction: column; align-items: end; gap: 1px; }
  .card-title { font-size: 27px; }
  .site-footer { align-items: start; flex-direction: column; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
