/* iCoin product story. App styles remain in styles.css. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { display: block; }
.site-main { overflow: clip; }
.menubar { position: sticky; top: 0; z-index: 10; min-height: 68px; background: var(--page); padding: 0 max(28px, calc((100vw - 1320px) / 2)); gap: 28px; }
.brand-button { text-decoration: none !important; }
.brand-button strong { font-size: 1.2rem; letter-spacing: -.045em; }
.brand-symbol { font-size: 2rem; }
.product-nav { display: flex; justify-content: center; align-items: center; gap: 30px; }
.product-nav a, .product-nav button { font-size: .875rem; min-height: 44px; display: inline-flex; align-items: center; padding: 4px 0; }
.product-nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-right { gap: 12px; }
.nav-get { font-size: .875rem; background: var(--button); color: var(--button-ink); min-height: 38px; border-radius: 999px; padding: 8px 19px; white-space: nowrap; }
.opening { background: var(--page); }
.desktop { display: block; width: min(1320px, calc(100% - 112px)); padding-top: 0; }
.desktop-topline { padding-top: 24px; }
.system-label { visibility: hidden; }
.token-badge { font-size: .75rem; font-weight: 500; letter-spacing: .02em; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; color: var(--ink); }
.hero { min-height: min(690px, 76svh); grid-template-columns: 1fr 1.12fr; gap: 0; padding: 16px 0 40px; }
h1 { font-size: clamp(4.5rem, 8.5vw, 8rem); letter-spacing: -.07em; line-height: .99; }
.edition-label { font-size: 1rem; margin-bottom: 23px; }
.hero-description { font-size: clamp(1.35rem, 2vw, 1.8rem); color: var(--muted); margin-top: 26px; }
.hero-actions { margin-top: 34px; gap: 12px 24px; }
.hero-actions .text-button { font-size: .9375rem; }
.hero-model { height: clamp(410px, 41vw, 600px); }
.product-caption, .model-controls, .model-controls button { font-size: .8125rem; }
.model-controls button { min-height: 44px; }
.scroll-cue { width: fit-content; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .8125rem; padding: 12px 0 36px; }
.scroll-cue span { font-size: 1.15rem; }
.story-container { width: min(1240px, calc(100% - 112px)); margin: 0 auto; }
.section-space { padding: clamp(72px, 8vw, 130px) 0; }
.section-heading { margin-bottom: 54px; }
.section-heading .eyebrow, .story-copy .eyebrow, .closing-story .eyebrow { font-size: 1rem; font-weight: 500; margin-bottom: 23px; }
.section-heading h2, .story-copy h2, .closing-story h2 { font-size: clamp(2.5rem, 4.65vw, 4.5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.06; }
.section-heading h2 span { color: var(--quiet); }
.centered { text-align: center; }
.film-surface { position: relative; isolation: isolate; }
.story-media { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-copy { position: relative; z-index: 1; }
.material-story { background: #000; color: #f5f5f7; min-height: 640px; aspect-ratio: 16 / 9; display: flex; align-items: center; }
.material-copy { width: 35%; margin-left: 7%; padding: 60px 0; }
.material-copy .eyebrow { color: #bcbcc1; }
.material-copy h2 { font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.story-description { font-size: 1.25rem; line-height: 1.5; color: #bcbcc1; margin-top: 27px; letter-spacing: -.025em; }
.story-link { display: inline-flex; gap: 13px; align-items: center; font-size: 1rem; min-height: 48px; padding: 8px 0; margin-top: 27px; }
.story-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.story-link span { font-size: 1.25rem; }
.research-story { background: var(--surface); }
.research-figure { margin: 0; }
.research-figure img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.design-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 38px 0 0; }
.design-facts > div { border-top: 1px solid var(--line); padding-top: 24px; }
.design-facts dt { color: var(--ink); font-size: 1.25rem; font-weight: 500; letter-spacing: -.035em; }
.design-facts dd { margin-top: 7px; color: var(--muted); font-size: 1rem; }
.lineup-story { background: var(--page); }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.family-product { text-align: center; min-width: 0; }
.family-model { height: 300px; }
.family-model.model-ready .coin-canvas { cursor: default; pointer-events: none; }
.family-product h3 { font-size: 1.8rem; font-weight: 600; letter-spacing: -.045em; margin-top: 18px; }
.family-product p { font-size: 1rem; margin-top: 9px; }
.family-product > span { display: block; font-size: .875rem; color: var(--muted); margin-top: 19px; }
.lineup-action { text-align: center; margin-top: 48px; }
.lineup-action p { margin-top: 17px; font-size: .8125rem; color: var(--muted); }
.human-story { background: #ccff00; color: #141414; aspect-ratio: 16 / 9; min-height: 640px; }
.human-copy { width: 40%; margin-left: 7%; padding-top: 6.5%; }
.human-copy .eyebrow { color: #252b00; }
.human-copy h2 { font-size: clamp(3rem, 5.4vw, 5.5rem); }
.human-copy .story-link { margin-top: 22px; }
.world-story { background: #1558df; color: #fff; padding-top: 86px; padding-bottom: 88px; }
.world-story .section-heading { margin-bottom: 46px; }
.world-story .eyebrow { color: #e1eaff; }
.world-story .dock-wrap { position: static; max-width: none; width: 100%; margin: 0; }
.world-story .dock { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; border: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.world-story .dock-divider { display: none; }
.world-story .dock-button { width: 100%; min-height: 112px; gap: 14px; padding: 12px 0; }
.world-story .dock-icon { background: none; border-radius: 0; color: white; width: 48px; height: 48px; }
.world-story .dock-icon svg { width: 32px; height: 32px; stroke-width: 1.25; }
.world-story .i-glyph { font-size: 2.75rem; }
.world-story .dock-button:hover .dock-icon { background: none; transform: translateY(-3px); }
.world-story .dock-button[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.world-story .dock-label { font-size: .875rem; color: white; white-space: normal; text-align: center; }
.world-story .dock-label::after { content: none; }
.world-story :focus-visible { outline-color: white; }
.closing-story { text-align: center; background: var(--surface); padding-left: 24px; padding-right: 24px; }
.closing-story h2 { max-width: 800px; margin: 0 auto; }
.closing-story .button { margin-top: 33px; }
.site-footer { background: var(--page); padding: 42px max(28px, calc((100vw - 1240px) / 2)) 32px; display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.footer-wordmark { font-size: 1.5rem; letter-spacing: -.05em; font-weight: 600; }
.site-footer > div > p { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.footer-links a, .footer-links button { font-size: .875rem; padding: 5px 0; min-height: 44px; }
.footer-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-fine { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.7; }
.film-control { position: absolute; right: 28px; bottom: 26px; z-index: 2; border: 1px solid currentColor; border-radius: 999px; color: inherit; min-height: 44px; font-size: .875rem; padding: 8px 18px; background: transparent; }
.material-story .film-control { background: rgba(0, 0, 0, .7); }
.human-story .film-control { background: #ccff00; }
.film-video { opacity: 0; transition: opacity .3s; }
.film-playing .film-video { opacity: 1; }
.keynote-film { width: 100%; max-height: 70svh; display: block; background: black; }
/* Shared app typography and controls. */
.window-bar h2, .window-brand, .compact-button, .viewer-controls .text-button, .contract-label, .message-restart, .copy-button, .keynote-chapters button { font-size: .875rem; }
.contact-preview, .conversation-note, .message-date, .keynote-disclosure, .keynote-top, .keynote-time, .buy-note, .about-fine, .design-foot p, .hold-result, .contract-box code { font-size: .75rem; }
.contact-name, .message-next, .design-caption span, .design-finish, .comparison, .segmented button { font-size: .875rem; }
.bubble, .faq-item p, .community-card p, .keynote-description { font-size: 1rem; }
.keynote-chapters button, .compact-button, .copy-button { min-height: 44px; }
@media (min-width: 1700px) {
  .material-story, .human-story { max-height: 1000px; aspect-ratio: auto; height: 56.25vw; }
}
@media (max-width: 1100px) {
  .desktop, .story-container { width: calc(100% - 72px); }
  .product-nav { gap: 22px; }
  .hero { min-height: 580px; }
  h1 { font-size: clamp(4rem, 8.5vw, 6.5rem); }
  .hero-model { height: 430px; }
  .hero-actions { gap: 8px 16px; }
  .hero-actions .text-button { font-size: .875rem; }
  .material-story, .human-story { min-height: 550px; }
  .material-copy { width: 36%; margin-left: 6%; }
  .material-copy h2 { font-size: 2.9rem; }
  .human-copy h2 { font-size: 3.7rem; }
  .human-copy { width: 42%; padding-top: 7%; margin-left: 6%; }
  .family-grid { gap: 24px; }
  .family-model { height: 240px; }
  .world-story .dock { gap: 8px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .menubar { padding: 0 22px; min-height: 62px; }
  .product-nav { display: none; }
  .desktop, .story-container { width: calc(100% - 48px); }
  .desktop-topline { justify-content: center; padding-top: 22px; }
  .system-label { display: none; }
  .token-badge { font-size: .75rem; padding: 6px 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 36px 0 16px; }
  .edition-label { margin-bottom: 18px; font-size: .9375rem; }
  h1 { font-size: clamp(4rem, 12vw, 6.5rem); }
  .hero-description { margin-top: 20px; font-size: 1.4rem; }
  .hero-actions { margin-top: 25px; gap: 12px 20px; }
  .hero-product { margin-top: 14px; width: min(100%, 480px); }
  .hero-model { height: clamp(300px, 75vw, 410px); }
  .product-caption, .model-controls, .model-controls button { font-size: .75rem; }
  .scroll-cue { margin: 0 auto; padding-bottom: 35px; font-size: .75rem; }
  .section-space { padding: 76px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading .eyebrow, .story-copy .eyebrow, .closing-story .eyebrow { font-size: .875rem; margin-bottom: 19px; }
  .section-heading h2, .closing-story h2 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
  .material-story { min-height: 0; aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; }
  .material-copy { width: auto; margin: 0; padding: 58px 24px 0; }
  .material-copy h2 { font-size: 2.8rem; }
  .story-description { font-size: 1.125rem; margin-top: 20px; }
  .story-link { margin-top: 17px; font-size: .9375rem; }
  .material-story > .story-media { position: relative; order: 2; height: clamp(340px, 70vw, 500px); object-position: 80% center; margin-top: 10px; }
  .material-story > .film-video { position: absolute; top: auto; bottom: 0; margin-top: 0; }
  .research-figure img { aspect-ratio: 1.35; object-position: 52% center; }
  .design-facts { gap: 20px; margin-top: 28px; }
  .design-facts > div { padding-top: 20px; }
  .design-facts dt { font-size: 1.1rem; }
  .design-facts dd { font-size: .875rem; }
  .family-grid { gap: 12px; }
  .family-model { height: 170px; }
  .family-product h3 { font-size: 1.4rem; margin-top: 12px; }
  .family-product p { font-size: .875rem; }
  .family-product > span { font-size: .8125rem; margin-top: 13px; }
  .human-story { aspect-ratio: auto; height: 700px; min-height: 0; }
  .human-story .story-media { object-fit: cover; object-position: 61% center; top: 260px; height: 440px; }
  .human-copy { margin: 0; padding: 42px 24px 0; width: 100%; }
  .human-copy h2 { font-size: 3.5rem; }
  .human-copy .eyebrow { margin-bottom: 16px; }
  .human-copy .story-link { margin-top: 15px; }
  .world-story .dock { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 10px; }
  .world-story .dock-button { min-height: 105px; }
  .world-story .dock-label { font-size: .875rem; }
  .world-story .dock-icon svg { width: 30px; height: 30px; }
  .closing-story { padding-left: 24px; padding-right: 24px; }
  .site-footer { grid-template-columns: 1fr; padding: 35px 24px 28px; gap: 20px; }
  .footer-links { gap: 25px; }
  .footer-fine { padding-top: 20px; }
}
@media (max-width: 500px) {
  .desktop, .story-container { width: calc(100% - 40px); }
  .hero-actions { flex-direction: row; gap: 8px 15px; }
  .hero-actions .button, .hero-actions .text-button { font-size: .875rem; }
  .hero-model { height: 310px; }
  .hero-actions .text-button { min-height: 44px; }
  .section-heading h2 { font-size: 2.5rem; }
  .section-heading h2 br { display: none; }
  .section-heading h2 span { display: block; margin-top: 5px; }
  .design-facts { grid-template-columns: 1fr; gap: 0; }
  .design-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; }
  .design-facts dt { font-size: 1.125rem; }
  .design-facts dd { font-size: .9375rem; margin-top: 0; }
  .family-grid { gap: 8px; }
  .family-model { height: 110px; }
  .family-product h3 { font-size: 1.125rem; letter-spacing: -.045em; white-space: nowrap; }
  .family-product p { font-size: .875rem; min-height: 42px; margin-top: 8px; }
  .family-product > span { font-size: .75rem; margin-top: 4px; }
  .lineup-action { margin-top: 33px; }
  .lineup-action p { font-size: .75rem; }
  .human-story { height: 640px; }
  .human-story .story-media { height: 370px; top: 270px; object-position: 62% center; }
  .human-copy h2 { font-size: 3.2rem; }
  .world-story .dock { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
  .world-story .dock-label { font-size: .875rem; }
  .world-story .dock-icon { width: 44px; height: 44px; }
  .film-control { right: 20px; bottom: 20px; }
  .closing-story h2 { font-size: 2.6rem; }
  .contact-name { font-size: .75rem; white-space: normal; }
  .contact-preview, .conversation-note, .message-date, .keynote-disclosure, .keynote-top, .keynote-time, .design-foot p { font-size: .75rem; }
  .segmented button, .comparison, .design-foot .compact-button { font-size: .8125rem; }
  .comparison th, .comparison td { padding-left: 4px; padding-right: 4px; }
  .design-foot { flex-wrap: wrap; }
  .message-restart, .keynote-chapters button { font-size: .875rem; }
  .bubble, .faq-item p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 760px) {
  .world-story .dock { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; }
  .world-story .dock-button { flex: 0 1 calc((100% - 30px) / 4); min-width: 5rem; }
}
@media (max-width: 500px) {
  .family-product h3 { white-space: normal; }
}

/* A material installation, with one canvas for the entire wall. */
.wall-story { background: var(--surface); padding-top: 82px; padding-bottom: 86px; }
.wall-container { width: min(1440px, calc(100% - 64px)); margin: 0 auto; }
.wall-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 0 28px 36px; }
.wall-heading .eyebrow { font-size: .9375rem; margin-bottom: 18px; }
.wall-heading h2 { font-size: clamp(2.5rem, 4.7vw, 4.5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.06; }
.wall-heading > p { color: var(--muted); font-size: .875rem; padding-bottom: 4px; }
.coin-field { height: clamp(440px, 44vw, 650px); position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; background: #191a1b; touch-action: pan-y; cursor: crosshair; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.coin-field.motion-paused { cursor: default; }
.field-canvas, .field-fallback { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.field-canvas { display: block; opacity: 0; transition: opacity .3s; }
.field-fallback { perspective: 1000px; perspective-origin: center; }
.field-fallback img { position: absolute; inset: 0 auto auto 0; width: 80px; height: 80px; max-width: none; object-fit: contain; transform-origin: center; }
.field-ready .field-canvas { opacity: 1; }
.field-ready .field-fallback { visibility: hidden; }
.field-caption { position: absolute; z-index: 1; left: 24px; bottom: 17px; color: #c1c1c6; font-size: .75rem; letter-spacing: .015em; pointer-events: none; background: #191a1b; padding: 5px 9px; border-radius: 4px; }
.wall-controls { margin: 22px 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wall-controls[hidden], .wall-light[hidden] { display: none; }
.wall-light { display: flex; align-items: center; gap: 20px; min-height: 44px; font-size: .875rem; }
.wall-light input { width: 190px; height: 22px; accent-color: var(--ink); cursor: ew-resize; }
.wall-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.wall-actions button { padding: 8px 0; min-height: 44px; font-size: .875rem; }
.wall-actions button:hover { text-decoration: underline; text-underline-offset: 4px; }
.model-stage { overflow: hidden; }
#hero-detail[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .product-nav { gap: 18px; }
  .menubar { gap: 20px; }
  .wall-heading { display: block; margin-left: 12px; margin-right: 12px; }
  .wall-heading > p { margin-top: 20px; }
}
@media (max-width: 760px) {
  .wall-story { padding: 60px 0; }
  .wall-container { width: calc(100% - 32px); }
  .wall-heading { margin: 0 8px 28px; }
  .wall-heading h2 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
  .wall-heading > p { margin-top: 16px; font-size: .8125rem; }
  .coin-field { height: 470px; border-radius: 16px; }
  .wall-controls { margin: 15px 8px 0; gap: 12px 24px; flex-wrap: wrap; }
  .wall-light { width: 100%; justify-content: space-between; gap: 18px; }
  .wall-light input { width: min(46vw, 240px); }
  .wall-actions { width: 100%; margin: 0; justify-content: space-between; }
  .field-caption { left: 13px; bottom: 11px; }
  .model-controls { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 360px) {
  .coin-field { height: 420px; }
  .model-controls { gap: 8px; }
  .model-controls button { font-size: .75rem; }
}
