:root {
  color-scheme: light;
  --paper: #f6f3ec;
  --ink: #211c18;
  --muted: #635a51;
  --accent: #a82c20;
  --line: #d0c6b8;
  --display: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
img { display: block; width: 100%; }
.wrap { width: min(100% - 108px, 1376px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 12px; transform: translateY(-180%); background: white; padding: 12px; z-index: 2; }
.skip:focus { transform: none; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header { min-height: 82px; border-bottom: 1px solid var(--line); }
.signature, .site-header nav a, .site-footer a { text-decoration: none; }
.signature { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 650; }
.signature-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--paper); background: var(--accent); font: 13px var(--display); }
.site-header nav { display: flex; gap: clamp(14px, 3vw, 39px); font-size: 14px; }
.site-header nav a { padding-block: 9px; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.intro { padding-block: clamp(60px, 8vw, 117px) 32px; }
.intro h1 { font-size: clamp(4.4rem, 11.3vw, 10.5rem); line-height: .91; letter-spacing: -.069em; font-weight: 530; }
em { font-family: var(--display); font-weight: 400; }
.intro h1 em, .about h2 em { color: var(--accent); letter-spacing: -.065em; }
.intro-bottom { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: clamp(29px, 4vw, 57px); }
.intro-bottom p { max-width: 355px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); }
.down { display: inline-flex; gap: 10px; align-items: center; padding-block: 5px; white-space: nowrap; text-decoration: none; font-size: 14px; }
.down span { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; color: var(--accent); font-size: 18px; }
.down:hover span, .project-link:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.work, .archive, .about { scroll-margin-top: 24px; }
.cover { display: block; overflow: hidden; background: #24221f; aspect-ratio: 16 / 8.2; }
.cover img { height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.cover:hover img { transform: scale(1.025); }
.feature .cover { aspect-ratio: 2.22; }
.project-grid { margin-top: clamp(45px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 42px); }
.project-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 21px; }
.label { color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.project h2 { font-size: clamp(2.15rem, 4.5vw, 4.45rem); line-height: 1.03; letter-spacing: -.058em; font-weight: 530; margin-top: 5px; }
.project h2 a { text-decoration: none; }
.project h2 a:hover { color: var(--accent); }
.project-link { flex-shrink: 0; text-decoration: none; border: 1px solid var(--line); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 23px; }
.project-note { margin-top: 9px; max-width: 470px; color: var(--muted); line-height: 1.5; }
.archive { padding-block: clamp(78px, 10vw, 150px); }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.section-header h2, .about h2 { font-size: clamp(2.9rem, 7vw, 6.4rem); font-weight: 520; letter-spacing: -.069em; line-height: .98; }
.section-header p { color: var(--muted); font-size: 14px; }
.archive-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.archive-list li { border-bottom: 1px solid var(--line); }
.archive-list a { display: grid; grid-template-columns: 1fr 1fr 20px; gap: 12px; min-height: 61px; align-items: center; text-decoration: none; padding-inline: 5px; }
.archive-list a:hover { background: #ece5d8; color: var(--accent); }
.archive-list strong { font-size: clamp(17px, 2.3vw, 28px); letter-spacing: -.04em; font-weight: 580; }
.archive-list span { font-size: 14px; color: var(--muted); }
.archive-list span:last-child { text-align: right; color: var(--accent); font-size: 19px; }
.about { background: #eee7db; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-block: clamp(45px, 7vw, 102px); }
.about-inner p { color: var(--muted); max-width: 450px; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.4; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; }
.about-links a, .site-footer { font-size: 14px; }
.about-links a:hover { color: var(--accent); }
.site-footer { min-height: 76px; color: var(--muted); }
.case-intro { padding-block: clamp(44px, 7vw, 95px) 36px; }
.case-intro h1 { font-size: clamp(3.45rem, 10vw, 9rem); font-weight: 530; line-height: .98; letter-spacing: -.069em; margin-top: 12px; overflow-wrap: anywhere; }
.case-intro .lead { max-width: 600px; font-size: clamp(18px, 2.5vw, 27px); color: var(--muted); line-height: 1.42; margin-top: 20px; }
.case-intro .demo { display: inline-block; padding: 11px 16px; margin-top: 24px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; }
.case-intro .demo:hover { color: var(--paper); background: var(--accent); }
.case-figure { margin: 0; }
.case-figure img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; background: #24221f; }
.case-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-block: clamp(40px, 7vw, 95px); }
.case-body h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); font-weight: 400; letter-spacing: -.04em; }
.case-body p { margin-top: 12px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.case-next { padding-block: 22px 36px; border-top: 1px solid var(--line); }
.case-next a { color: var(--accent); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .intro h1 { font-size: clamp(3.8rem, 11.8vw, 6.1rem); }
  .intro { padding-top: 62px; }
  .case-body, .about-inner { grid-template-columns: 1fr; }
  .project-grid { gap: 38px 20px; }
}
@media (max-width: 525px) {
  .site-header { min-height: 64px; gap: 8px; }
  .signature { font-size: 12px; gap: 6px; }
  .signature-mark { width: 24px; height: 24px; font-size: 11px; }
  .site-header nav { font-size: 12px; gap: 12px; }
  .intro-bottom { flex-direction: column; align-items: start; gap: 13px; }
  .feature .cover { aspect-ratio: 1.52; }
  .project-grid { grid-template-columns: 1fr; }
  .section-header { align-items: start; flex-direction: column; }
  .archive-list a { grid-template-columns: 1.12fr 1fr 17px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover img { transition: none; }
  .cover:hover img { transform: none; }
}
