.hero {
  --scene-height:min(41.66vw, 78svh, 50rem);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#132e2d;
  background:linear-gradient(116deg,#f8f4ea 0%,#f3e8dd 47%,#f1e6db 100%);
}
.hero-layout {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-height:var(--scene-height);
  padding-block:clamp(1.5rem,2.7vw,3.4rem);
}
.hero h1,.hero-support {position:relative;z-index:1}
.hero h1 {
  font-size:clamp(2.3rem,min(5.25vw,9.5svh),6rem);
  font-weight:555;
  line-height:.99;
  letter-spacing:-.059em;
  text-wrap:initial;
}
.hero-hook,.hero-name,.hero h1 span span {display:block}
.hero-name {margin-top:.16em;font-weight:680;color:#115554}
.hero-support {max-width:min(35vw,28rem);margin-top:clamp(.95rem,1.65vw,1.9rem)}
.hero-support p {max-width:35ch;font-size:clamp(1rem,1.32vw,1.32rem);letter-spacing:-.016em;line-height:1.48}
.hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem clamp(1.05rem,1.65vw,1.85rem);margin-top:clamp(1rem,1.55vw,1.65rem)}
.hero-actions a {min-height:44px;display:inline-flex;align-items:center}
.hero-actions .textlink {font-size:.96rem}
.hero-scene {
  position:absolute;
  z-index:0;
  right:0;
  bottom:0;
  height:var(--scene-height);
  max-width:100%;
  aspect-ratio:1942/809;
}
.hero-scene picture,.hero-scene img {display:block;width:100%;height:100%}
.hero-scene picture {mask-image:linear-gradient(90deg,transparent,#000 34%)}
.product-pin {
  position:absolute;
  display:grid;
  place-items:center;
  width:44px;height:44px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  color:#173e3b;
  text-decoration:none;
  z-index:1;
}
.pin-bounty {left:44.45%;top:47%}
.pin-glad {left:70.35%;top:90%}
.pin-symbol {
  display:grid;
  place-items:center;
  width:clamp(22px,1.65vw,30px);height:clamp(22px,1.65vw,30px);
  border:1px solid #fff8e8;
  outline:1px solid #1a3e3b75;
  border-radius:100%;
  background:#fffaf0f0;
  box-shadow:0 2px 10px #142e2c40;
}
.pin-symbol::before,.pin-symbol::after {content:"";display:block;grid-area:1/1;width:9px;height:1.5px;background:currentColor}
.pin-symbol::after {transform:rotate(90deg)}
.pin-label {
  position:absolute;bottom:calc(100% - 2px);left:50%;transform:translateX(-50%);white-space:nowrap;
  padding:.4rem .7rem;border-radius:3px;color:#fffaf0;background:#123c3c;
  font-size:.85rem;font-weight:630;box-shadow:0 3px 10px #12383830;visibility:hidden;
}
.product-pin:is(:hover,:focus-visible) {z-index:3}
.product-pin:is(:hover,:focus-visible) .pin-label {visibility:visible}
.product-pin:is(:hover,:focus-visible) .pin-symbol {background:#153e3c;color:white}
.product-pin:focus-visible {outline:2px solid #0e3a38;outline-offset:0}
@media (min-width:721px) and (max-width:1000px) {
  .hero-layout {padding-block:1.2rem}
  .hero h1 {font-size:clamp(2.12rem,4.8vw,3.05rem)}
  .hero-support {max-width:35vw;margin-top:.8rem}
  .hero-support p {font-size:1rem;line-height:1.4}
  .hero-actions {gap:.2rem .85rem;margin-top:.65rem}
  .hero-actions .button {padding:.7rem .92rem;font-size:.93rem}
  .hero-actions .textlink {font-size:.9rem}
}
@media (max-width:720px) {
  .hero {background:linear-gradient(140deg,#f8f3e9, #fcfaf5)}
  .hero-layout {display:grid;grid-template-columns:minmax(0,1fr);padding:0 0 clamp(1.5rem,4.8vw,2.3rem)}
  .hero-scene {position:relative;inset:auto;grid-row:1;width:100%;height:auto;aspect-ratio:1247/809}
  .hero-scene picture {mask-image:none}
  .hero h1,.hero-support {margin-inline:var(--gutter);max-width:none}
  .hero h1 {grid-row:2;margin-top:clamp(1.25rem,4vw,1.8rem);font-size:clamp(1.65rem,7.45vw,3rem);line-height:1.08;letter-spacing:-.052em}
  .hero h1 span span {display:inline}
  .hero-name {margin-top:.03em;font-size:1.09em}
  .hero-support {grid-row:3;margin-top:.75rem}
  .hero-support p {max-width:45ch;font-size:clamp(1rem,3.5vw,1.12rem)}
  .hero-actions {margin-top:.95rem;gap:.5rem 1.05rem}
  .pin-bounty {left:13.55%}
  .pin-glad {left:53.85%}
  .pin-bounty .pin-label {left:0;transform:none}
}
@media (prefers-reduced-motion:no-preference) {
  .hero-hook,.hero-name {animation:studio-type .6s cubic-bezier(.2,.68,.24,1) backwards}
  .hero-name {animation-delay:.08s}
  .product-pin .pin-symbol {animation:studio-pin .48s .55s ease-out backwards;transition:background .2s,color .2s}
  .pin-glad .pin-symbol {animation-delay:.69s}
  @keyframes studio-type {from {transform:translateY(.18em);opacity:.78} to {transform:translateY(0);opacity:1}}
  @keyframes studio-pin {from {transform:scale(.7);opacity:0} to {transform:scale(1);opacity:1}}
}

.material-open {
  display:flex;width:fit-content;align-items:center;gap:.48rem;min-height:44px;
  margin-top:.3rem;color:var(--teal);font-size:.95rem;font-weight:610;text-decoration:none;
}
.material-open > span {display:inline-block;position:relative;width:.85rem;height:.85rem;border:1.5px solid currentColor;border-radius:50%;margin-right:.16rem}
.material-open > span::after {content:"";position:absolute;left:85%;top:85%;width:.4rem;height:1.5px;background:currentColor;transform:rotate(45deg);transform-origin:left center}
.material-open:is(:hover,:focus-visible) {text-decoration:underline;text-underline-offset:.25rem}
.material-dialog {
  width:min(96vw,64rem);max-width:96vw;max-height:92svh;margin:auto;padding:0;
  border:1px solid #d3d7cc;border-radius:5px;background:#faf8f0;color:#153e3b;
  box-shadow:0 1.5rem 7rem #062a2c55;overscroll-behavior:contain;
}
.material-dialog::backdrop {background:#0b2527b8}
html:has(.material-dialog[open]) {overflow:hidden}
.material-head {display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem clamp(.9rem,2.25vw,1.7rem);border-bottom:1px solid var(--rule)}
.material-head h2 {font-size:clamp(1.05rem,2vw,1.5rem);letter-spacing:-.025em;text-align:left}
.material-head form {margin:0}
.material-close {min-height:44px;padding:.45rem .8rem;border:0;background:transparent;color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.material-image {background:#f1f0ea}
.material-image img {display:block;width:100%;height:min(61vw,62svh,39.5rem);object-fit:contain}
.material-dialog > p {margin:0;padding:.95rem clamp(1rem,2.25vw,1.7rem) 1.15rem;line-height:1.55;max-width:82ch}

/* Factory floor */
.factory-floor {
  --press-pattern: url('/assets/media/press-pattern.webp');
  --engraving-treatment: invert(1) hue-rotate(180deg) saturate(1.5) contrast(1.18) brightness(1.25);
  position:relative;
  isolation:isolate;
  overflow:clip;
  scroll-margin-top:clamp(4.25rem,6vw,5.6rem);
  color:#fff9eb;
  background:radial-gradient(ellipse at 20% 0%,#205250 0%,transparent 58%),
             linear-gradient(117deg,#113335,#102729 65%,#192e2e);
  border-block:1px solid #253e3b;
}
.factory-floor::before,
.factory-floor::after {content:"";position:absolute;z-index:-1;pointer-events:none}
.factory-floor::before {
  inset:0;
  background:var(--grain) center/20rem;
  mix-blend-mode:soft-light;
  opacity:.24;
}
.factory-floor::after {
  left:calc(50% - min(50%,790px) - 1.2rem);
  bottom:clamp(.6rem,1.45vw,1.8rem);
  width:min(55vw,53.7rem);height:auto;aspect-ratio:3;
  background:var(--press-pattern) center/contain no-repeat;
  filter:var(--engraving-treatment);mix-blend-mode:screen;opacity:.46;
  mask-image:linear-gradient(to top,#000 0%,#000 32%,#000a 70%,transparent 100%);
}
.floor-layout {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(2rem,5vw,6rem);
  align-items:center;
  padding-block:clamp(3rem,5.4vw,6rem);
}
.floor-copy {padding-bottom:1.5rem}
.floor-copy::before {
  content:"";display:block;width:3.3rem;height:3px;margin-bottom:clamp(1.35rem,2vw,2.25rem);
  background:linear-gradient(90deg,#ef9a66 68%,transparent 68% 76%,#e8ac80 76% 86%,transparent 86% 92%,#e8ac80 92%);
}
.floor-copy h2 {font-size:clamp(2.85rem,4.25vw,4.9rem);font-weight:575;letter-spacing:-.065em;line-height:1.04;text-wrap:initial}
.floor-copy h2 span {display:block;color:#f1c29b}
.floor-copy p {max-width:37ch;margin-top:1.25rem;color:#e1e8de;font-size:clamp(1.02rem,1.23vw,1.3rem);line-height:1.58}
.floor-cta {
  margin-top:1.65rem;min-height:46px;background:#fff5df;color:#183c39;
  border:1px solid #e7dcc3;box-shadow:inset 0 1px #fff,0 4px 14px #0318174d;
}
.floor-cta:is(:hover,:focus-visible) {background:#f2cea8;color:#143331;border-color:#f6d8b7}
.floor-exhibit {position:relative;isolation:isolate}
.floor-photo {
  position:relative;overflow:hidden;
  aspect-ratio:2.01;
  border:1px solid #c1ad8396;
  box-shadow:0 1px 0 #eff9df29,0 1.35rem 2.5rem -1.7rem #021316;
  background:#203330;
}
.floor-photo img {width:100%;height:100%;object-fit:cover;object-position:68% 52%}
.floor-photo::after {
  content:"";position:absolute;inset:8px;pointer-events:none;
  background:
    linear-gradient(#ffebc8b8,#ffebc8b8) left top/15px 1px,
    linear-gradient(#ffebc8b8,#ffebc8b8) left top/1px 15px,
    linear-gradient(#ffebc8b8,#ffebc8b8) right bottom/15px 1px,
    linear-gradient(#ffebc8b8,#ffebc8b8) right bottom/1px 15px;
  background-repeat:no-repeat;
}
.floor-callout {
  position:absolute;left:46%;bottom:39%;width:1px;height:clamp(2rem,5.9vw,6rem);
  background:#fae7c8;box-shadow:1px 0 2px #1d232890;
  transform:rotate(-36deg);transform-origin:bottom;
}
.floor-callout span {
  position:absolute;bottom:100%;right:0;white-space:nowrap;
  padding:.38rem .65rem;background:#132a2be6;border:1px solid #e8d3ac77;border-radius:2px;
  color:#fff6e8;font:600 clamp(.68rem,.82vw,.88rem)/1.2 var(--type);letter-spacing:.015em;
  transform:rotate(36deg);transform-origin:right bottom;
}
.floor-callout::after {
  content:"";position:absolute;bottom:0;left:50%;width:7px;height:7px;
  background:#fff3d5;border:1px solid #4f4836;border-radius:100%;
  transform:translate(-50%,50%);box-shadow:0 0 0 4px #fff8dc60;
}
.floor-note {
  position:relative;
  margin:-1.25rem clamp(.7rem,1.8vw,2rem) 0;
  color:#1b3835;
  padding:clamp(1rem,1.45vw,1.55rem) clamp(1.2rem,2.2vw,2.25rem) 1.05rem;
  border:1px solid #d5cbb3;border-top:2px solid #fff5de;
  background:linear-gradient(115deg,#fff8e8ed,#f1e5cfe6),var(--grain) center/15rem;
  box-shadow:0 2px 0 -1px #7e7566,0 5px 0 -2px #d1c4a7,0 15px 25px -12px #081415c9;
}
.floor-note::before {
  content:"";position:absolute;top:.6rem;bottom:.65rem;left:.47rem;width:1px;
  background:repeating-linear-gradient(#aa8660a8 0 2px,transparent 2px 6px);
}
.floor-note-heading {display:flex;align-items:baseline;gap:1rem;justify-content:space-between}
.floor-note-heading h3 {font-size:clamp(1.2rem,1.65vw,1.8rem);font-weight:680;letter-spacing:-.045em}
.floor-note-heading > span,.floor-records time,.floor-stamp {
  font:600 .71rem/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.055em;
}
.floor-note-heading > span {color:#6f5c46}
.floor-entries {border:0;margin:.5rem 0 0;padding:0;min-width:0}
.floor-entries legend,.floor-entries input {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0;
}
.floor-entries label {
  display:inline-flex;align-items:center;min-height:44px;padding:.36rem .3rem;margin-right:1.1rem;
  cursor:pointer;font-size:.86rem;font-weight:650;color:#505e55;border-bottom:2px solid transparent;
}
.floor-entries label:hover {color:#153b38;border-bottom-color:#b79a75}
.floor-entries input:checked + label {color:#193f3b;border-bottom-color:#ae552b}
.floor-entries input:focus-visible + label {outline:2px solid #17635e;outline-offset:2px;border-radius:2px}
.floor-records {display:grid;align-content:start;border-top:1px solid #bdaf94;padding-top:.85rem;min-height:3.55rem}
.floor-records p {display:grid;grid-area:1/1;visibility:hidden;grid-template-columns:3.4rem 1fr;align-items:baseline;gap:.45rem;font-size:clamp(.95rem,1.1vw,1.12rem);line-height:1.45;color:#243d36}
.floor-records time,.floor-stamp {color:#894421}
#floor-log:checked ~ .floor-records #floor-log-entry,
#floor-handoff:checked ~ .floor-records #floor-handoff-entry {visibility:visible}
@media (prefers-reduced-motion:no-preference) {
  .floor-photo img {transition:transform 1.1s cubic-bezier(.21,.65,.27,1)}
  .floor-entries label {transition:color .2s,border-color .2s}
  #floor-log:checked ~ .floor-records #floor-log-entry,
  #floor-handoff:checked ~ .floor-records #floor-handoff-entry {animation:floor-record-in .25s ease-out both}
  @keyframes floor-record-in {from {opacity:.35;transform:translateY(3px)} to {opacity:1;transform:translateY(0)}}
}
@media (prefers-reduced-motion:no-preference) {
  @supports (animation-timeline:view()) {
    .floor-photo {view-timeline-name:--floor-photo}
    .floor-callout {
      animation:floor-mark-in 1s ease-out backwards;
      animation-timeline:--floor-photo;animation-range:entry 0% entry 65%;
    }
    @keyframes floor-mark-in {from {opacity:0} to {opacity:1}}
  }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .floor-photo:hover img {transform:scale(1.022)}
}
@media (max-width:850px) {
  .floor-layout {grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:1.75rem}
  .floor-copy h2 {font-size:clamp(2.55rem,5.1vw,2.9rem)}
  .floor-photo {aspect-ratio:1.65}
  .floor-note {margin-inline:.55rem}
}
@media (max-width:680px) {
  .floor-layout {grid-template-columns:minmax(0,1fr);gap:1.75rem;padding-block:2.6rem 2.3rem}
  .factory-floor::after {content:none}
  .floor-copy {position:relative;padding-bottom:clamp(4.5rem,19vw,6rem)}
  .floor-copy::after {
    content:"";position:absolute;z-index:-1;pointer-events:none;
    bottom:-.85rem;left:-.6rem;width:min(100%,24rem);aspect-ratio:3;
    background:var(--press-pattern) center/contain no-repeat;
    filter:var(--engraving-treatment);mix-blend-mode:screen;opacity:.52;
    mask-image:linear-gradient(to top,#000 20%,#000c 62%,#0005 99%);
  }
  .floor-copy::before {margin-bottom:1rem}
  .floor-copy h2 {font-size:clamp(2.5rem,8.4vw,3.3rem)}
  .floor-copy p {margin-top:.95rem}
  .floor-cta {margin-top:1.2rem}
  .floor-photo {aspect-ratio:2.05}
  .floor-note {margin:-.65rem .5rem 0;padding:1rem 1rem .8rem 1.25rem}
  .floor-records {min-height:3.5rem}
}
@media (max-width:360px) {
  .floor-callout {left:54%}
  .floor-records p {display:block}
  .floor-records time,.floor-records .floor-stamp {margin-right:.6rem}
}
