@font-face {
  font-family: Rubik;
  src: url(assets/rubik.ttf);
}
@font-face {
  font-family: Rubik;
  src: url(assets/rubik-bold.ttf);
  font-weight: 700;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: #171717; background: #fff; font: 17px/1.55 Rubik, Arial, sans-serif; }
a { color: inherit; }
header, footer, nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px max(4vw, calc((100vw - 1260px)/2));
}
header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #ddd; }
.brand { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.brand small { display: block; font-size: 12px; margin-top: 4px; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.contact a, nav a { text-decoration: none; }
.contact a:hover, nav a:hover { text-decoration: underline; }
section { padding: clamp(40px, 6vw, 88px) max(5vw, calc((100vw - 1200px)/2)); border-bottom: 1px solid #ddd; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center; background: #ac1b2e; color: #fff; }
.eyebrow, .k, figcaption { font-size: 14px; font-weight: 700; }
.eyebrow, .k { padding-bottom: 12px; border-bottom: 1px solid currentColor; width: fit-content; }
.hero-copy { min-width: 0; container-type: inline-size; }
.hero h1 { font-size: min(100px, 14cqw); white-space: nowrap; line-height: 1.02; letter-spacing: -.045em; margin: 25px 0 15px; }
.hero h2 { font-size: clamp(23px, 3vw, 37px); margin: 0; }
.hero p { max-width: 36ch; }
.jump { display: inline-block; margin-top: 12px; text-underline-offset: 6px; }
.plate img, .plate video { width: 100%; height: min(60vh, 570px); object-fit: contain; display: block; }
nav { justify-content: center; gap: 4vw; flex-wrap: wrap; border-bottom: 1px solid #ddd; font-size: 14px; }
.paper h2, .kit h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -.04em; margin: 22px 0; }
.k { color: #ac1b2e; }
p { font-size: clamp(17px, 1.45vw, 21px); max-width: 62ch; }
.pair, .kit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: center; }
.kit { grid-template-columns: .8fr 1.2fr; background: #fff; }
.alternate { background: #ac1b2e; color: #fff; border-bottom: 0; }
#third { background: #121212; color: #fff; }
#third figcaption { color: #eee; }
.alternate .k { color: #fff; }
figure { margin: 0; }
figure img, video { width: 100%; height: auto; display: block; }
figcaption { margin-top: 9px; color: #666; }
.pair { align-items: start; margin-top: 28px; }
.pair img { max-height: 540px; object-fit: contain; }
.archive-documents { grid-template-columns: .8fr 1.1fr 1fr; gap: 24px; }
.archive-documents img { height: 360px; object-fit: contain; }
.gallery { min-width: 0; }
.gallery-stage { aspect-ratio: 1; display: grid; place-items: center; }
.gallery-stage > video, .gallery-stage > img { width: 100%; height: 100%; max-height: 600px; object-fit: contain; display: block; }
.view-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 14px; }
.view-options button {
  padding: 10px 12px;
  border: 1px solid #bbb;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.view-options button[aria-pressed="true"] { background: #ac1b2e; border-color: #ac1b2e; color: #fff; }
.alternate .view-options button { border-color: #666; }
.alternate .view-options button[aria-pressed="true"] { border-color: #ac1b2e; }
.alternate .view-options button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #ac1b2e; }
.alternate .view-options button { border-color: #ffffff80; }
#third .view-options button { border-color: #666; }
details { padding: 22px 6vw; border-top: 1px solid #ddd; }
summary { cursor: pointer; font-weight: 700; }
footer { background: #121212; color: #fff; }
.kit [data-field] { grid-column: 1/-1; }
.bark-study { width: 82%; margin: 24px auto 0; }
.bark-study img { aspect-ratio: 15 / 13; object-fit: cover; }
@media (min-width: 721px) {
  #third { row-gap: 20px; }
  #third > div:first-child { grid-column: 1; grid-row: 1; align-self: end; }
  #third .gallery { grid-column: 2; grid-row: 1 / 3; }
  #third .bark-study { grid-column: 1; grid-row: 2; align-self: start; margin-top: 0; }
}
.flower-pair { display: flex; gap: 14px; align-items: flex-start; }
.flower-pair figure { flex: 1; min-width: 0; }
.flower-pair figure:last-child { margin-top: 18px; }
.flower-pair img { aspect-ratio: 1; object-fit: cover; }
.flower-pair figcaption { color: #eee; }
@media (min-width: 721px) {
  #away { row-gap: 20px; }
  #away .gallery { grid-column: 2; grid-row: 1 / 3; }
  #away .flower-pair { grid-column: 1; grid-row: 2; align-self: start; }
  #away > div:first-child { align-self: end; }
}
#home [data-field] { grid-column: 1; grid-row: 2; width: 83%; margin-inline-start: auto; }
#home [data-field] img { aspect-ratio: 5 / 3; object-fit: cover; }
@media (min-width: 721px) {
  #home { row-gap: 20px; }
  #home > div:first-child { align-self: end; }
  #home [data-field] { align-self: start; }
  #home .gallery { grid-column: 2; grid-row: 1 / 3; }
}
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ac1b2e; outline-offset: 3px; }
@media (max-width: 720px) {
  header { position: static; align-items: start; flex-direction: column; gap: 8px; }
  .contact { font-size: 12px; gap: 5px 10px; }
  .hero, .kit { grid-template-columns: 1fr; gap: 25px; }
  #home [data-field] { grid-row: auto; }
  .plate img, .plate video { height: auto; max-height: 470px; }
  nav { justify-content: flex-start; gap: 8px 18px; }
  .pair { gap: 20px; }
  #archive .pair { grid-template-columns: 1fr; }
  .archive-documents figure:nth-child(3) { order: 1; }
  .archive-documents figure:nth-child(2) { order: 2; }
  .archive-documents figure:nth-child(1) { order: 3; }
  .archive-documents img { height: auto; max-height: 420px; }
  .paper, .kit { padding-block: 40px; }
  .view-options { gap: 5px; }
  .view-options button { padding: 9px 10px; }
}
.header-contact { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; font-size: 16px; font-weight: 700; white-space: nowrap; }
header { z-index: 20; gap: 20px; padding: 16px max(24px, calc((100vw - 1200px)/2)); }
.header-contact a { text-decoration: none; }
.header-contact a:hover { text-decoration: underline; }
.social-links { display: flex; align-items: center; gap: 12px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.social-link svg { display: block; width: 22px; height: 22px; }
.social-link:hover { color: #ac1b2e; }
@media (max-width: 800px) {
  header { flex-wrap: wrap; padding: 10px 18px; gap: 10px; }
  .brand { font-size: 12px; }
  .header-contact { width: 100%; justify-content: center; margin: 0; padding-top: 8px; border-top: 1px solid #ddd; gap: 8px; font-size: 13px; }
  .social-links { gap: 5px; flex-shrink: 0; }
  .social-link { width: 24px; height: 28px; }
  .social-link svg { width: 18px; height: 18px; }
}
@media (max-width: 420px) {
  header { padding-inline: 12px; }
  .header-contact { gap: 5px; font-size: clamp(9px, 2.65vw, 11px); }
  .social-links { gap: 3px; }
  .social-link { width: 20px; height: 26px; }
  .social-link svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 720px) {
  #home [data-field="eucalyptus"] { margin-inline: auto; }
  #home [data-field="eucalyptus"] figcaption { text-align: center; }
}
.image-zoom { display: block; cursor: zoom-in; }
.gallery-stage > .image-zoom { width: 100%; height: 100%; min-height: 0; }
.gallery-stage .image-zoom img { width: 100%; height: 100%; object-fit: contain; }
#image-view { border: 0; padding: 0; background: #141414; max-width: 94vw; max-height: 92vh; }
#image-view::backdrop { background: #000c; }
#image-view img { display: block; max-width: 94vw; max-height: 88vh; object-fit: contain; }
#image-view button { position: absolute; top: 8px; right: 8px; padding: 8px 14px; border: 0; background: #111; color: white; font: inherit; cursor: pointer; }
