:root {
  --bg: #f3f0e8;
  --paper: #e9e2d5;
  --ink: #292720;
  --muted: #797266;
  --line: rgba(41, 39, 32, .2);
  --accent: #75523b;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 24%, rgba(117, 82, 59, .09), transparent 26%),
    var(--bg);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
  line-height: 1.8;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.site-header,
footer,
main {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Noto Serif TC", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.lab-link {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
}
.lab-link:hover { color: var(--ink); }

.hero {
  min-height: 590px;
  padding: clamp(100px, 15vw, 180px) 0 90px;
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.card-kicker,
footer {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .17em;
}
.eyebrow { margin: 0 0 28px; }
h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  line-height: 1.4;
}
h1 {
  max-width: 830px;
  margin-bottom: 30px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  letter-spacing: -.05em;
}
.lead {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: .03em;
}

.experiments { padding: 110px 0 140px; }
.section-heading {
  margin-bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.section-heading > p { max-width: 410px; margin: 0; color: var(--muted); }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.experience-card {
  min-height: 390px;
  padding: 28px 32px 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .16);
  transition: background .25s ease, transform .25s ease;
}
a.experience-card:hover { background: var(--paper); transform: translateY(-3px); }
.card-number { color: var(--muted); font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: .08em; }
.card-copy { margin: auto 0; }
.card-kicker { margin: 0 0 14px; }
.card-copy h3 { margin-bottom: 18px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.card-copy > p:last-child { max-width: 440px; margin: 0; color: var(--muted); }
.card-action {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
}
.experience-card--soon { opacity: .55; }
footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header, footer, main { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 74px; }
  .brand { font-size: .95rem; letter-spacing: .08em; }
  .lab-link { font-size: .69rem; letter-spacing: .03em; }
  .hero { min-height: 480px; padding: 90px 0 70px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .experiments { padding: 80px 0 100px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 330px; padding: 24px; }
  footer { padding: 24px 0; align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
