@font-face {
  font-family: "Roboto Slab";
  src: url("RobotoSlab-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root { --forest: #03464a; --ink: #42240f; --paper: #fff3db; }
main { color: var(--ink); }
main h2, .hero p { font-family: "Roboto Slab", Georgia, serif; font-weight: 800; letter-spacing: -.025em; }
main h2 { font-size: clamp(2.05rem, 4.3vw, 4.5rem); line-height: 1.02; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.scene, .scene img { display: block; width: 100%; height: auto; }
.hero-copy { position: absolute; top: 3%; left: 9%; display: grid; justify-items: start; gap: clamp(.4rem, .8vw, 1rem); }
.hero h1 { width: clamp(12rem, 31vw, 33rem); line-height: 0; }
.hero h1 img { width: 100%; height: auto; }
.hero p { font-size: clamp(1.25rem, 2.25vw, 2.7rem); line-height: 1.12; text-shadow: 0 0 .4em #fff9eb; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid #fff7de; padding: .45em 1em; background: var(--forest); color: white; border-radius: .5rem; font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 700; line-height: 1.2; text-decoration: none; }
.button:hover { background: #086267; }
.dig, .support { background: var(--paper); }
.dig-inner { max-width: 96rem; margin: auto; display: grid; grid-template-columns: .62fr 1fr; align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: clamp(2.15rem, 4vw, 4rem) var(--pad); }
.dig-copy h2 { font-size: clamp(2rem, 3.7vw, 3.85rem); }
.dig-copy h2::after, .support h2::after { content: ""; display: block; width: 3.4em; height: .075em; background: #d98d17; border-radius: 80% 40% 65% 20%; transform: rotate(-1deg); margin: .28em 0 .45em; }
.dig-copy p, .support p, .museum p { font-size: clamp(1.06rem, 1.65vw, 1.65rem); line-height: 1.42; }
.dig-copy .button { margin-top: 1em; }
.dig-copy::after { content: ""; display: block; margin-top: 1rem; width: 88%; aspect-ratio: 503 / 181; background: url("ammonite-sketch.webp") left center / contain no-repeat; }
.phones { display: flex; align-items: center; justify-content: center; gap: 8%; padding: 2% 3%; perspective: 1000px; }
.phone { position: relative; width: 41%; padding: clamp(3px, .48vw, 8px); border: 1px solid #5b5047; border-radius: 16% / 7.8%; background: linear-gradient(120deg, #a2988c, #292724 20%, #c8bfb1 50%, #24211f 78%, #aaa093); box-shadow: 2px 3px 0 #574c42, 3px 8px 10px #4b352e45; }
.phone img { display: block; width: 100%; height: auto; border: 2px solid #111; border-radius: 14% / 6.8%; }
.phone::after { content: ""; position: absolute; width: 24%; height: 2.8%; top: 2%; left: 38%; border-radius: 2rem; background: #0a0a0b; }
.phone-home { transform: rotate(-6deg) rotateY(9deg); }
.phone-dig { transform: translateY(2%) rotate(7deg) rotateY(-11deg); }
.museum { background: #064849; color: #fffae8; text-align: center; }
.museum-intro { padding: 5.6vw 15% 1.5vw; background: #15463d url("museum-plaque.webp") center / 100% 100% no-repeat; text-shadow: 0 2px 3px #241c0d; }
.museum h2 { font-size: clamp(1.9rem, 3.85vw, 4.4rem); }
.museum-intro p { margin: .3rem auto 0; }
.hall { width: 100%; height: auto; }
.support-inner { max-width: 95rem; margin: auto; padding: 1.1rem var(--pad); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1rem, 3vw, 3.5rem); align-items: center; }
.support img { width: 100%; height: auto; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent); }
.support-inner > div { padding: .7rem 0 .7rem clamp(1.1rem, 3vw, 3rem); border-left: 1px solid #d4b070; }
.support h2 { font-size: clamp(1.9rem, 3.6vw, 4rem); }
.support a { font-weight: bold; color: var(--forest); }
dialog { border: none; border-radius: .8rem; padding: .7rem; width: min(95vw, 32rem, calc(43dvh + 2rem)); background: #101922; color: #fff; max-height: 94vh; max-height: 94dvh; }
dialog::backdrop { background: #071321df; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.player-bar h2 { font-size: 1rem; }
.player-bar button { border: 1px solid #b8c0c7; border-radius: .35rem; padding: .6rem; background: #202d39; color: white; font: inherit; cursor: pointer; }
dialog video { display: block; width: 100%; height: min(75dvh, 49rem); background: black; }
@media(max-width: 699px) {
  .hero-copy { top: 4%; left: 4%; width: 92%; justify-items: center; gap: .45rem; text-align: center; }
  .hero h1 { width: clamp(10rem, 45vw, 17rem); }
  .hero .button { min-height: 2.65rem; }
  .scene img { aspect-ratio: 4/5; object-fit: cover; }
  .dig-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.7rem; }
  .dig-copy { position: relative; isolation: isolate; }
  .dig-copy::after { position: absolute; z-index: -1; width: 38%; right: 0; bottom: 0; }
  .phones { padding: .5rem .4rem 1rem; }
  .museum-intro { padding: 3.8rem 1.15rem 1.2rem; background-size: auto 100%; }
  .museum-intro p { max-width: 29rem; }
  .hall { height: clamp(9.5rem, 33vw, 15rem); object-fit: cover; }
  .support-inner { grid-template-columns: 1fr; gap: .5rem; padding-block: 1.5rem; }
  .support img { width: min(77%, 19rem); margin: auto; }
  .support-inner > div { border: none; padding: 0; }
}
