/* First-version sculpture hero. Keep later park styles inside the park page. */
body.sculpture-portfolio { --page-gutter: 56px; }
body.sculpture-portfolio .wrap {
  width: calc(100% - var(--page-gutter) - var(--page-gutter));
  max-width: none;
}
body.sculpture-portfolio .header {
  width: 100%;
  padding-inline: var(--page-gutter);
}
body.sculpture-portfolio .hero {
  --hero-ink: var(--ink);
  --hero-muted: var(--muted);
  --hero-accent: var(--accent);
  --hero-panel: #f5f3e9e8;
  --hero-line: var(--line);
  --hero-glow: #b8c2a63b;
}
:root[data-theme="dark"] body.sculpture-portfolio .hero {
  --hero-ink: #efeee7;
  --hero-muted: #a0a297;
  --hero-accent: #d5ff5f;
  --hero-panel: #191b16e8;
  --hero-line: #44473a;
  --hero-glow: #383b2c70;
}
body.sculpture-portfolio .hero.wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  justify-content: normal;
  width: calc(100% - var(--page-gutter) - var(--page-gutter));
  height: auto;
  min-height: 750px;
  margin: 0 auto;
  padding: 60px 0 0;
  overflow: visible;
  isolation: isolate;
  touch-action: pan-y;
}
body.sculpture-portfolio .hero-copy {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
  text-shadow: none;
  cursor: auto;
  user-select: auto;
  pointer-events: none;
  z-index: 2;
}
body.sculpture-portfolio .hero-copy::before,
body.sculpture-portfolio .hero-copy::after { content: none; }
body.sculpture-portfolio .hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hero-muted);
  font-size: max(10px, var(--small-text-min, 0px));
  letter-spacing: 2px;
  margin: 1em 0;
  text-shadow: none;
}
body.sculpture-portfolio .hero .status-dot { background: var(--hero-accent); }
body.sculpture-portfolio .hero h1 {
  color: var(--hero-ink);
  font-size: clamp(70px, 7.7vw, 118px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .94;
  margin: 40px 0 28px;
  white-space: nowrap;
  text-shadow: none;
}
body.sculpture-portfolio .hero h1 .motion-outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--hero-ink);
  text-shadow: none;
}
body.sculpture-portfolio .hero h1 .motion-period {
  color: var(--hero-accent);
  -webkit-text-fill-color: var(--hero-accent);
  -webkit-text-stroke: 0;
}
body.sculpture-portfolio .hero .hero-description {
  display: block;
  color: var(--hero-ink);
  font-size: 23px;
  line-height: 1.65;
  letter-spacing: 3px;
  margin: 26px 0 14px;
}
body.sculpture-portfolio .hero .hero-sub {
  display: block;
  max-width: none;
  color: var(--hero-muted);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .5px;
  margin: 1em 0;
}
body.sculpture-portfolio .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; }
body.sculpture-portfolio .hero .primary-link {
  position: static;
  inset: auto;
  display: inline-flex;
  align-items: center;
  gap: 46px;
  width: auto;
  padding: 19px 0;
  margin-top: 15px;
  border: 0;
  border-bottom: 1px solid var(--hero-accent);
  color: var(--hero-ink);
  background: none;
  border-radius: 0;
  font-size: 12px;
  pointer-events: auto;
}
body.sculpture-portfolio .hero .primary-link span { color: var(--hero-accent); }
body.sculpture-portfolio .sculpture-park-link { display: inline-flex; align-items: center; gap: 9px; color: var(--hero-muted); font-size: 12px; margin-top: 15px; padding: 15px 0; pointer-events: auto; }
body.sculpture-portfolio .sculpture-park-link:hover { color: var(--hero-accent); }
body.sculpture-portfolio .hero .stage {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: auto;
  height: 620px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0 0 0 -90px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 48%, var(--hero-glow), transparent 68%);
  transform: none;
  z-index: 1;
}
body.sculpture-portfolio #scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 1;
  cursor: grab;
  touch-action: pan-y;
  pointer-events: auto;
  z-index: 1;
}
body.sculpture-portfolio #scene:active { cursor: grabbing; }
body.sculpture-portfolio .stage:not(.webgl-ready) #scene { visibility: hidden; }
body.sculpture-portfolio .hero .stage-corner { position: absolute; display: block; top: 10px; right: 0; bottom: auto; left: auto; color: var(--hero-muted); font-size: max(8px, var(--small-text-min, 0px)); letter-spacing: 1.8px; text-shadow: none; z-index: 2; pointer-events: none; }
body.sculpture-portfolio .hero .axis { color: var(--hero-muted); z-index: 2; }
body.sculpture-portfolio .hero .scene-hint { position: absolute; display: block; top: auto; bottom: 92px; left: 0; right: 0; width: auto; max-width: none; margin: 0; transform: none; color: var(--hero-muted); font-size: max(10px, var(--small-text-min, 0px)); letter-spacing: 1px; line-height: 1.6; text-align: center; text-shadow: none; z-index: 2; }
body.sculpture-portfolio .hero .scene-controls { position: absolute; inset: auto; bottom: 30px; left: 50%; right: auto; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 25px; width: max-content; height: auto; max-width: calc(100% - 24px); padding: 13px 18px; margin: 0; white-space: nowrap; color: var(--hero-ink); background: var(--hero-panel); border: 1px solid var(--hero-line); border-radius: 40px; box-shadow: none; z-index: 3; }
body.sculpture-portfolio .hero .swatches { display: flex; align-items: center; gap: 10px; }
body.sculpture-portfolio .hero .swatch { display: block; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; border: 2px solid transparent; border-radius: 50%; }
body.sculpture-portfolio .hero .swatch[aria-pressed="true"] { outline: 1px solid var(--hero-ink); outline-offset: 3px; }
body.sculpture-portfolio .hero .silver { background: linear-gradient(135deg, #f8f8f3, #62685b); }
body.sculpture-portfolio .hero .lime-swatch { background: #c1ed58; }
body.sculpture-portfolio .hero .clay { background: #e48e6f; }
body.sculpture-portfolio .hero .scene-controls .pause { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 20px; padding: 0 0 0 20px; border: 0; border-left: 1px solid var(--hero-line); border-radius: 0; background: none; color: var(--hero-ink); }
body.sculpture-portfolio .hero #pause span { display: inline; font-size: max(10px, var(--small-text-min, 0px)); }
body.sculpture-portfolio .hero .hero-bottom { position: static; inset: auto; display: flex; grid-column: 1 / -1; grid-row: 2; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: none; padding: 38px 0 25px; margin: 0; color: var(--hero-muted); border-bottom: 1px solid var(--line); font-size: max(8px, var(--small-text-min, 0px)); letter-spacing: 1.4px; line-height: 1.7; text-shadow: none; }
body.sculpture-portfolio .hero-bottom > span { max-width: none; }
body.sculpture-portfolio .hero-bottom a { white-space: nowrap; align-self: auto; }
body.sculpture-portfolio .hero-bottom a span { color: var(--hero-accent); margin-left: 14px; }
body.sculpture-portfolio .hero .stage-fallback { position: absolute; inset: 20%; display: grid; place-items: center; background: none; pointer-events: none; opacity: 1; }
body.sculpture-portfolio .stage-fallback .fallback-ring { width: 75%; aspect-ratio: 1; border: clamp(22px, 3vw, 42px) solid #b8beb2; border-top-color: #eef0e9; border-right-color: #838b7c; border-radius: 50%; background: transparent; box-shadow: inset 10px 10px 25px #191b1670, 8px 12px 40px #0005; transform: rotate(-35deg) skew(18deg); }
body.sculpture-portfolio .hero .stage.webgl-ready .stage-fallback { display: none; }

@media (min-width: 1600px) {
  body.sculpture-portfolio .hero.wrap { min-height: 850px; }
  body.sculpture-portfolio .hero h1 { font-size: 124px; }
  body.sculpture-portfolio .hero .stage { height: 700px; }
  body.sculpture-portfolio .hero .hero-description { font-size: 26px; }
}
@media (max-width: 1100px) {
  body.sculpture-portfolio { --page-gutter: 32px; }
  body.sculpture-portfolio .hero.wrap { min-height: 670px; }
  body.sculpture-portfolio .hero .stage { height: 560px; margin-left: -55px; }
  body.sculpture-portfolio .hero h1 { font-size: clamp(60px, 7.7vw, 85px); }
}
@media (max-width: 760px) {
  body.sculpture-portfolio { --page-gutter: 20px; }
  body.sculpture-portfolio .hero.wrap { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; min-height: 0; padding: 38px 0 0; }
  body.sculpture-portfolio .hero-copy { width: 100%; max-width: none; pointer-events: auto; }
  body.sculpture-portfolio .hero .eyebrow { display: flex; font-size: 9px; letter-spacing: 1.3px; margin: 0; }
  body.sculpture-portfolio .hero h1 { font-size: clamp(51px, 12vw, 91px); line-height: .94; margin: 29px 0 24px; }
  body.sculpture-portfolio .hero .hero-description { font-size: 19px; line-height: 1.65; margin: 18px 0 10px; }
  body.sculpture-portfolio .hero .hero-sub { display: block; max-width: none; font-size: 11px; line-height: 1.9; margin: 1em 0; }
  body.sculpture-portfolio .hero-actions { gap: 10px 23px; }
  body.sculpture-portfolio .hero .primary-link { position: static; inset: auto; width: auto; margin-top: 5px; padding: 13px 0; gap: 25px; }
  body.sculpture-portfolio .sculpture-park-link { margin-top: 5px; font-size: 11px; }
  body.sculpture-portfolio .hero .stage { width: auto; height: clamp(330px, 102vw, 440px); margin: 8px -20px 0; flex-shrink: 0; }
  body.sculpture-portfolio .hero .stage-corner { display: block; top: 18px; right: 20px; font-size: 8px; letter-spacing: 1.2px; }
  body.sculpture-portfolio .hero .scene-controls { bottom: 20px; gap: 20px; padding: 12px 16px; }
  body.sculpture-portfolio .hero .scene-hint { bottom: 79px; font-size: 10px; letter-spacing: .5px; }
  body.sculpture-portfolio .hero #pause span { display: inline; font-size: 10px; }
  body.sculpture-portfolio .hero .hero-bottom { display: flex; position: static; padding: 15px 0 24px; font-size: 8px; letter-spacing: .7px; gap: 15px; line-height: 1.7; }
  body.sculpture-portfolio .hero-bottom > span { max-width: 205px; }
  body.sculpture-portfolio .hero-bottom a { font-size: 8px; }
  body.sculpture-portfolio .hero-bottom a span { margin-left: 4px; }
}
@media (max-width: 380px) {
  body.sculpture-portfolio .hero h1 { font-size: 12vw; }
  body.sculpture-portfolio .hero-bottom > span { max-width: 155px; }
  body.sculpture-portfolio .hero .hero-bottom { gap: 8px; font-size: 7px; }
  body.sculpture-portfolio .hero-bottom a { font-size: 7px; }
}
