:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #101010;
  --text: #fff;
  --muted: #b8b8b8;
  --line: #333;
  --accent: #3d8bfd;
  --action: #2372e6;
  --action-hover: #1d63cb;
  --split: 50%;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border: 0; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wide { width: min(1440px, 76.25vw); margin-inline: auto; }
.quiet { color: var(--muted); font-size: 12px; }
.mobile-only { display: none; }
.skip { position: fixed; z-index: 100; top: 8px; left: 12px; background: #fff; color: #000; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(0 0 0 / 94%); border-bottom: 1px solid #1d1d1d; }
.nav-wrap { width: min(1600px, calc(100% - 80px)); height: 80px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand > img { width: 188px; height: auto; object-fit: contain; }
.desktop-nav { display: flex; gap: 26px; color: #e5e5e5; font-size: 14px; }
.desktop-nav a { transition: color .2s; white-space: nowrap; }
.desktop-nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 11px 20px; border: 1px solid #555; border-radius: 6px; background: transparent; color: var(--text); font-size: 14px; font-weight: 400; line-height: 1.45; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: #202020; border-color: #888; }
.button-primary { color: #fff; background: var(--action); border-color: var(--action); }
.button-primary:hover { color: #fff; background: var(--action-hover); border-color: var(--action-hover); }
.button svg { width: 17px; height: 17px; }
.nav-download { min-height: 40px; padding: 9px 15px; }
.menu-toggle { display: none; }
.mobile-nav { padding: 10px 24px 24px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 11px 0; font-size: 16px; color: #ddd; }

/* Hero film and image comparison fallback */
.hero { padding-top: 34px; }
.hero-copy { width: min(900px, calc(100% - 40px)); margin-inline: auto; text-align: center; }
.hero-kicker { color: var(--muted); font-size: 14px; }
h1 { margin: 12px 0 14px; font-size: clamp(34px, 3.2vw, 54px); font-weight: 400; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy > p { max-width: 640px; margin-inline: auto; font-size: 16px; color: #c8c8c8; line-height: 1.7; text-wrap: balance; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 20px; }
.hero-actions .button { padding: 11px 22px; }
.text-button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; background: none; color: #ccc; font-size: 14px; }
.text-button:hover { color: #fff; }
.text-button svg { width: 17px; height: 17px; }
.hero-media { margin-top: 30px; }
.compare { position: relative; overflow: hidden; isolation: isolate; border-radius: 10px; background: #171717; }
.hero-compare { aspect-ratio: 16 / 9; }
.compare-base, .compare-before img { width: 100%; height: 100%; object-fit: cover; }
.compare-base { position: absolute; inset: 0; }
.hero-compare .compare-base, .hero-compare .compare-before img { object-position: 50% 45%; }
.hero-compare .compare-base, .hero-compare .compare-before img { transform: scale(var(--surface-scale, 1.035)); }
.hero-surface-dots { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(circle, #fff 1px, transparent 1.2px) 0 0 / 6px 6px; mask-image: radial-gradient(ellipse at center, transparent 45%, #000 100%); -webkit-mask-image: radial-gradient(ellipse at center, transparent 45%, #000 100%); opacity: var(--dots-opacity, 0); transform: scale(var(--dots-scale, 1)); }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.soft-image { filter: blur(.75px); }
.hero-film { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.film-stage.film-ready .hero-film { opacity: 1; }
.film-stage.film-ready > .comparison-input { display: none; }
.film-stage.film-ready > .compare-base,
.film-stage.film-ready > .compare-before,
.film-stage.film-ready > .compare-label,
.film-stage.film-ready > .comparison-line,
.film-stage.film-ready > .hero-surface-dots,
.film-stage.film-ready > .comparison-input,
.film-stage.film-ready > .media-bottom { visibility: hidden; pointer-events: none; }
.compare-label { position: absolute; z-index: 3; top: 20px; padding: 5px 9px; background: rgb(0 0 0 / 56%); border-radius: 3px; color: #fff; font-size: 12px; line-height: 1.6; pointer-events: none; }
.label-left { left: 20px; }
.label-right { right: 20px; }
.comparison-line, .watermark-line { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--split); width: 2px; background: rgb(255 255 255 / 95%); box-shadow: 0 0 2px rgb(0 0 0 / 35%); pointer-events: none; }
.comparison-handle { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 7px; width: 36px; height: 36px; transform: translate(-50%, -50%); border: 1px solid #bbb; border-radius: 50%; background: rgb(0 0 0 / 50%); color: #fff; font-size: 20px; opacity: 0; transition: opacity .2s; }
.comparison-handle i { width: 1px; height: 12px; background: #aaa; }
.compare:hover .comparison-handle, .compare:focus-within .comparison-handle,
.watermark-view:hover .comparison-handle, .watermark-view:focus-within .comparison-handle { opacity: 1; }
.hero-compare .comparison-handle { display: none; }
.comparison-input { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within, .watermark-view:focus-within { outline: 2px solid #fff; outline-offset: 4px; }
.media-bottom { position: absolute; z-index: 5; left: 24px; right: 24px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; font-size: 12px; pointer-events: none; }
.media-bottom span { display: inline-flex; align-items: center; gap: 8px; }
.media-bottom svg { width: 16px; height: 16px; }
.media-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.media-caption small { max-width: 560px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: right; }

/* Functional directory and section rhythm */
.capabilities { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 24px; margin-top: 52px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capabilities a { display: inline-flex; align-items: center; gap: 9px; color: #ddd; font-size: 14px; white-space: nowrap; transition: color .2s; }
.capabilities a:hover { color: #fff; }
.capabilities svg { width: 17px; height: 17px; }
.capabilities a:hover svg { color: var(--accent); }
.section { padding-top: 140px; padding-bottom: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.section-index { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.section-index i { display: none; }
h2 { margin-top: 15px; font-size: clamp(34px, 3.5vw, 58px); font-weight: 400; line-height: 1.25; letter-spacing: -.03em; }
.section-heading > p { max-width: 410px; padding-bottom: 3px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.muted-heading { color: #ddd; }

/* Source, flat design and finished-panel story. */
.case-bar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.segmented { display:inline-flex; gap:26px; border-bottom:1px solid var(--line); }
.segmented button { min-height:44px; padding:10px 0 12px; border-bottom:1px solid transparent; background:none; color:var(--muted); font-size:14px; }
.segmented button[aria-selected="true"] { color:#fff; border-color:var(--accent); }
.case-stage { position:relative; display:grid; grid-template-columns:.82fr .95fr 1.45fr; align-items:start; gap:18px; }
.story-frame { min-width:0; margin:0; }
.story-media { position:relative; height:clamp(270px,28vw,430px); overflow:hidden; border-radius:7px; background:#1b1b1b; }
.story-media > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.object-frame { background:#e9e9e4; }
.object-frame img { object-fit:cover; }
.object-frame img[src$="coral-object.webp"] { object-fit:contain; }
.extraction-window { position:absolute; left:23%; top:31%; width:54%; height:35%; border:1px solid rgb(255 255 255 / 85%); box-shadow:0 0 0 1px rgb(0 0 0 / 12%); opacity:0; pointer-events:none; }
.story-frame figcaption { display:flex; align-items:baseline; gap:12px; padding-top:19px; color:var(--muted); }
.story-frame figcaption > span { font-size:12px; }
.story-frame strong { color:#eee; font-size:16px; font-weight:400; }
.story-frame small { display:block; margin-top:3px; color:var(--muted); font-size:12px; }
.case-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:28px; }
.case-footer > p { color:var(--muted); font-size:14px; line-height:1.8; }

/* High-resolution inspection */
.enhance { margin-top: 120px; padding: 100px 0; background: var(--surface); }
.detail-grid { position: relative; display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 64px; padding-bottom: 52px; }
.detail-word { margin-bottom: 24px; color: #e5e5e5; font-size: clamp(40px, 4vw, 64px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.detail-intro > p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.detail-options { margin: 28px 0 20px; border-top: 1px solid var(--line); }
.detail-options button { display: flex; justify-content: space-between; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font-size: 14px; }
.detail-options button span { color: var(--muted); font-size: 12px; }
.detail-options button.active { color: #fff; }
.detail-intro > small { display: block; font-size: 12px; line-height: 1.8; }
.detail-compare { height: 500px; }
.detail-compare .compare-base, .detail-compare .compare-before img { object-position: 50% 50%; transform: scale(1.4); }
.detail-compare .soft-image { filter: blur(.8px); }

/* Creative reference work */
.designer-stage { position: relative; height: 620px; overflow: hidden; border-radius: 10px; background: #202020; }
.designer-stage > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.designer-toolbar { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 18px 20px; border: 1px solid #454545; border-radius: 6px; background: rgb(0 0 0 / 84%); }
.designer-toolbar p { color: #ddd; font-size: 14px; line-height: 1.8; }
.designer-toolbar .button { flex-shrink: 0; }
.designer-options { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 18px; }
.designer-options button { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 14px; }
.designer-options button.active { color: #fff; border-color: var(--accent); }
.designer-options i { width: 12px; height: 12px; border: 1px solid #777; border-radius: 50%; }

/* Layout and repeat demonstrations */
.production-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.production-grid article { min-width: 0; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; }
.demo-heading h3 { font-size: 25px; font-weight: 400; letter-spacing: -.02em; }
.demo-heading svg { color: var(--muted); }
.production-grid article > p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.layout-canvas, .tile-canvas { height: 340px; margin: 26px 0 20px; overflow: hidden; background: #191919; }
.layout-canvas { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 7px; padding: 24px; align-items: stretch; }
.layout-board { background-image: url(assets/material-walnut.webp); background-size: 200% 130%; border: 1px solid rgb(255 255 255 / 10%); transition: transform .4s, background-position .4s; }
.layout-board:nth-child(2) { background-position: 30% 0; }
.layout-board:nth-child(3) { background-position: 75% 0; }
.layout-board:nth-child(4) { background-position: 0 100%; }
.layout-board:nth-child(5) { background-position: 40% 100%; }
.layout-board:nth-child(6) { background-position: 100% 100%; }
.layout-canvas[data-layout="staggered"] .layout-board:nth-child(2), .layout-canvas[data-layout="staggered"] .layout-board:nth-child(5) { transform: translateY(38px); }
.layout-canvas[data-layout="bookmatch"] { gap: 2px; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
.layout-canvas[data-layout="bookmatch"] .layout-board:nth-child(even) { transform: scaleX(-1); }
.layout-canvas[data-layout="bookmatch"] .layout-board { background-size: 100% 300%; background-position: 50% 50%; }
.herringbone-surface { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); opacity: 0; fill: none; stroke: none; pointer-events: none; }
.layout-canvas[data-layout="herringbone"] .layout-board { opacity: 0; }
.layout-canvas[data-layout="herringbone"] .herringbone-surface { opacity: 1; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 14px; }
.demo-controls button { padding: 7px 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 14px; }
.demo-controls button.active { color: #fff; border-color: var(--accent); }
.tile-canvas { position: relative; }
.tile-surface { width: 100%; height: 100%; background: url(assets/material-marble.webp) 0 0 / 50% 50%; transition: background-size .4s; }
.tile-lines { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: linear-gradient(90deg, transparent calc(50% - .5px), white 50%, transparent calc(50% + .5px)), linear-gradient(transparent calc(50% - .5px), white 50%, transparent calc(50% + .5px)); }
.tile-canvas[data-view="grid"] .tile-lines { opacity: .75; }
.tile-canvas[data-view="single"] .tile-surface { background-size: 100% 100%; }
.tile-caption { position: absolute; left: 14px; bottom: 12px; padding: 4px 8px; border-radius: 3px; background: rgb(0 0 0 / 65%); font-size: 12px; }

/* Watermark verification */
.watermark { margin-top: 120px; padding: 100px 0; background: var(--surface); }
.watermark-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.watermark-copy h2 { font-size: clamp(34px, 3.2vw, 52px); }
.watermark-copy > p { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.watermark-modes { margin-top: 32px; }
.watermark-modes button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 0; border-top: 1px solid var(--line); background: none; color: var(--muted); text-align: left; }
.watermark-modes button:last-child { border-bottom: 1px solid var(--line); }
.watermark-modes button > span { align-self: flex-start; margin-top: 3px; font-size: 12px; }
.watermark-modes button > div { font-size: 16px; }
.watermark-modes button small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.watermark-modes button svg { width: 17px; height: 17px; margin-left: auto; }
.watermark-modes button.active { color: #fff; }
.watermark-visual { min-width: 0; }
.watermark-view { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #303030; }
.watermark-view canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.watermark-view .compare-label { top: 16px; left: 16px; font-size: 12px; }
#watermark-badge { position: absolute; right: 16px; bottom: 16px; padding: 4px 9px; border: 1px solid #777; border-radius: 3px; background: rgb(0 0 0 / 65%); font-size: 12px; }
.watermark-line { left: 50%; }
.signal-control { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.signal-control label { flex-shrink: 0; }
.signal-control input { flex: 1; min-width: 40px; accent-color: var(--accent); }
.signal-control output { width: 32px; color: #eee; text-align: right; font-size: 14px; }
.watermark-visual > p { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* Shared search controls */
.search-demo { padding-top: 30px; border-top: 1px solid var(--line); }
.search-demo form { display: flex; align-items: center; gap: 14px; max-width: 850px; margin-inline: auto; padding: 9px 10px 9px 18px; border: 1px solid #555; border-radius: 6px; background: #101010; }
.search-demo form > svg { color: var(--muted); }
.search-demo input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font-size: 14px; }
.search-demo input::placeholder { color: var(--muted); }
.search-demo input:focus-visible { outline: 0; }
.search-demo form:focus-within { border-color: var(--accent); outline: 1px solid var(--accent); }
.search-suggestions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin: 18px 0 30px; color: var(--muted); font-size: 12px; }
.search-suggestions button { padding: 4px 0; border-bottom: 1px solid #555; background: none; color: #ccc; font-size: 12px; }
.search-suggestions button:hover { color: #fff; border-color: #fff; }
.search-suggestions small { font-size: 12px; }
.search-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 18px; }
.material-card { min-width: 0; }
.material-image { overflow: hidden; border-radius: 4px; }
.material-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.material-card:hover img { transform: scale(1.025); }
.material-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #ddd; font-size: 14px; line-height: 1.5; }
.material-meta small { color: var(--muted); font-size: 12px; }
.search-status { min-height: 24px; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.search-empty { grid-column: 1 / -1; padding: 64px 20px; border: 1px dashed #555; color: var(--muted); text-align: center; font-size: 14px; }

/* Final action and footer */
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; margin-top: 120px; padding-block: 56px; border-top: 1px solid var(--line); }
.contact h2 { margin-top: 0; font-size: clamp(30px, 2.8vw, 44px); }
.contact-copy > p { margin-top: 20px; color: var(--muted); font-size: 14px; }
.contact-details { margin: 0; }
.contact-details > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.contact-details > div:first-child { border-top: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: 14px; }
.contact-details dd { margin: 0; color: #eee; font-size: 18px; }
.closing { margin-top: 56px; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.closing-inner { position: relative; padding: 92px 0 100px; }
.closing h2 { max-width: 900px; margin: 22px 0 32px; font-size: clamp(38px, 4vw, 64px); line-height: 1.25; }
.closing h2 > span { color: var(--muted); }
.button-large { padding: 14px 24px; font-size: 14px; }
.site-footer { padding-top: 48px; padding-bottom: 28px; }
.footer-top { display: flex; align-items: center; gap: 40px; padding-bottom: 34px; }
.footer-top > p { color: var(--muted); font-size: 14px; }
.back-top { margin-left: auto; color: var(--muted); font-size: 14px; }
.back-top:hover { color: #fff; }
.footer-bottom { display: flex; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom > a:first-of-type { margin-left: auto; }

/* Download dialog */
dialog { position: fixed; width: min(700px, calc(100% - 32px)); max-height: 85dvh; overflow: auto; padding: 32px; border: 1px solid #383838; border-radius: 16px; background: #101010; color: var(--text); box-shadow: 0 24px 80px rgb(0 0 0 / 70%); }
dialog::backdrop { background: rgb(0 0 0 / 75%); }
dialog h2 { padding-right: 32px; font-size: 28px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
dialog > p { margin-top: 8px; color: #aeb4bf; font-size: 14px; }
.dialog-close { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; background: none; color: #aeb4bf; font-size: 26px; line-height: 1; }
.dialog-close:hover { color: #fff; background: #25282e; }
#download-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.release-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 162px; padding: 24px 20px 20px; border: 1px solid #383838; border-radius: 11px; background: #1c1c1c; color: #f5f5f5; transition: background .2s, border-color .2s; }
.release-title { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.release-title svg { width: 19px; height: 19px; stroke-width: 1.6; }
.release-detail { margin-top: 8px; color: #b8b8b8; font-size: 12px; line-height: 1.6; }
.release-meta { margin-top: auto; padding-top: 20px; padding-right: 26px; color: #aaa; font-size: 12px; line-height: 1.5; }
.release-arrow { position: absolute; right: 20px; bottom: 20px; width: 17px; height: 17px; color: #6ba5ff; }
.release-card[href]:hover { border-color: #777; background: #252525; }
.release-card[aria-disabled="true"] { cursor: default; }
.release-card[aria-disabled="true"] .release-arrow { visibility: hidden; }
.download-feedback { display: flex; align-items: center; gap: 12px; min-height: 22px; margin-top: 16px; color: #aeb4bf; font-size: 12px; }
.download-retry { padding: 0; background: none; color: #8cb8ff; font-size: 12px; }
.download-retry:hover { color: #c6dcff; text-decoration: underline; }

@media (min-width: 1800px) {
  .detail-compare { height: 580px; }
}

@media (max-width: 1100px) {
  .wide { width: calc(100% - 64px); }
  .nav-wrap { width: calc(100% - 48px); gap: 20px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 14px; }
  .brand > img { width: 168px; }
  .nav-download { padding-inline: 12px; }
  .detail-grid { gap: 38px; }
  .detail-compare { height: 450px; }
  .designer-stage { height: 540px; }
  .watermark-grid { gap: 44px; }
  .production-grid { gap: 28px; }
  .layout-canvas, .tile-canvas { height: 300px; }
  .designer-options { gap: 22px; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .nav-download { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 8px; background: none; }
  .menu-toggle span { display: block; width: 23px; height: 1px; background: #eee; }
  .capabilities { justify-content: flex-start; gap: 20px 28px; }
}

@media (max-width: 800px) {
  .wide { width: calc(100% - 40px); }
  .nav-wrap { width: calc(100% - 40px); height: 72px; }
  .hero { padding-top: 30px; }
  .hero-media { margin-top: 28px; }
  .section { padding-top: 100px; }
  .section-heading { align-items: flex-start; gap: 30px; }
  .section-heading > p { max-width: 330px; font-size: 14px; }
  h2 { font-size: 38px; }
  .object-note { left: 18px; right: 18px; bottom: 18px; }
  .image-overline { top: 18px; left: 18px; }
  .enhance, .watermark { margin-top: 90px; padding: 76px 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-word { margin-bottom: 16px; font-size: 42px; }
  .detail-intro > p { font-size: 16px; }
  .detail-options { display: flex; margin: 24px 0 16px; border-top: 0; gap: 24px; }
  .detail-options button { width: auto; gap: 20px; padding: 10px 0; }
  .detail-compare { height: 500px; }
  .designer-stage { height: 500px; }
  .production-grid { grid-template-columns: 1fr; gap: 48px; }
  .layout-canvas, .tile-canvas { height: 420px; }
  .watermark-grid { grid-template-columns: 1fr; gap: 40px; }
  .watermark-view { max-width: 600px; margin-inline: auto; }
  .watermark-copy h2 { font-size: 38px; }
  .material-card img { height: 180px; }
  .contact { gap: 40px; margin-top: 90px; }
  .footer-top { flex-wrap: wrap; gap: 24px; }
  .footer-top > p { width: 100%; order: 3; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 24px; }
  .footer-bottom > a:first-of-type { margin-left: 0; }
}

@media (max-width: 580px) {
  #download-list { grid-template-columns: 1fr; gap: 12px; }
  .release-card { min-height: 144px; padding: 20px; }
  html { scroll-padding-top: 88px; }
  .mobile-only { display: initial; }
  .wide { width: calc(100% - 32px); }
  .nav-wrap { width: calc(100% - 32px); height: 68px; gap: 10px; }
  .brand > img { width: 142px; }
  .nav-download { min-height: 36px; padding: 7px 10px; font-size: 12px; }
  .nav-download svg { display: none; }
  .menu-toggle { width: 34px; padding: 6px; }
  .hero { padding-top: 26px; }
  .hero-kicker { font-size: 12px; }
  h1 { margin: 12px 0; font-size: clamp(30px, 8vw, 42px); line-height: 1.2; }
  .hero-copy > p { max-width: 340px; font-size: 14px; }
  .hero-actions { gap: 20px; margin-top: 18px; }
  .hero-actions .button { padding: 11px 16px; font-size: 14px; }
  .text-button { font-size: 14px; gap: 8px; }
  .hero-media { margin-top: 24px; }
  .hero-compare { border-radius: 7px; }
  .hero-film { object-position: center; }
  .compare-label { top: 12px; padding: 4px 7px; font-size: 12px; }
  .label-left { left: 12px; }
  .label-right { right: 12px; }
  .media-bottom { left: 14px; right: 14px; bottom: 14px; gap: 12px; font-size: 12px; }
  .media-bottom span:last-child { display: none; }
  .media-caption { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; font-size: 14px; }
  .media-caption small { text-align: left; }
  .capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-top: 30px; padding: 24px 0; }
  .capabilities a { font-size: 14px; gap: 8px; }
  .section { padding-top: 78px; padding-bottom: 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-index { font-size: 12px; }
  h2 { margin-top: 12px; font-size: 32px; line-height: 1.3; }
  .section-heading > p { max-width: none; margin-top: 22px; font-size: 14px; line-height: 1.85; }
  .case-bar { align-items: flex-start; gap: 18px; margin-bottom: 18px; }
  .segmented { gap: 20px; }
  .segmented button { font-size: 14px; }
  .enhance, .watermark { margin-top: 78px; padding: 64px 0; }
  .detail-grid { gap: 26px; }
  .detail-word { font-size: 36px; }
  .detail-options { gap: 22px; flex-wrap: wrap; }
  .detail-options button { gap: 14px; font-size: 14px; }
  .detail-compare { height: auto; aspect-ratio: 1; border-radius: 7px; }
  .designer-stage { height: 430px; border-radius: 7px; }
  .designer-toolbar { left: 12px; right: 12px; bottom: 12px; padding: 14px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .designer-toolbar p { font-size: 14px; }
  .designer-toolbar .button { padding: 9px 14px; min-height: 40px; font-size: 14px; }
  .designer-options { gap: 10px 18px; }
  .designer-options button { font-size: 12px; }
  .demo-heading h3 { font-size: 23px; }
  .layout-canvas, .tile-canvas { height: 300px; margin-top: 22px; }
  .layout-canvas { padding: 18px; }
  .herringbone-surface { inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); }
  .demo-controls { gap: 20px; }
  .demo-controls button { font-size: 14px; }
  .watermark-copy h2 { font-size: 32px; }
  .watermark-copy > p { font-size: 14px; }
  .watermark-grid { gap: 30px; }
  .signal-control { gap: 12px; font-size: 12px; }
  .search-demo form { padding-left: 12px; gap: 8px; }
  .search-demo form > svg { width: 17px; height: 17px; }
  .search-demo form .button { min-height: 38px; padding: 8px 12px; font-size: 14px; }
  .search-results { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .material-card img { height: 170px; }
  .material-meta { display: block; font-size: 14px; }
  .material-meta small { display: block; margin-top: 3px; }
  .contact { grid-template-columns: 1fr; gap: 30px; margin-top: 78px; padding-block: 36px; }
  .contact h2 { font-size: 30px; }
  .contact-copy > p { margin-top: 16px; }
  .contact-details > div { padding-block: 18px; }
  .closing { margin-top: 36px; }
  .closing-inner { padding: 64px 0; }
  .closing h2 { margin: 18px 0 28px; font-size: 34px; }
  .site-footer { padding-top: 36px; }
  .footer-top { gap: 24px 16px; }
  .footer-top > p { font-size: 14px; }
  .back-top { font-size: 12px; }
  .footer-bottom { gap: 10px; font-size: 12px; }
  .footer-bottom > span, .footer-bottom > a { width: 100%; }
  dialog { padding: 28px 22px 22px; }
  dialog h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width:960px) {
  .case-stage { grid-template-columns:1fr 1fr; gap:24px 16px; }
  .story-frame:last-child { grid-column:1 / -1; }
  .story-media { height:290px; }
  .finish-frame { height:auto; aspect-ratio:16 / 9; }
}
@media (max-width:600px) {
  .case-bar { gap:18px; margin-bottom:20px; }
  .segmented { gap:18px; }
  .case-stage { gap:24px 12px; }
  .story-media { height:220px; }
  .finish-frame { height:auto; aspect-ratio:4 / 3; }
  .story-frame figcaption { gap:8px; padding-top:12px; }
  .story-frame strong { font-size:14px; }
  .story-frame small { font-size:12px; }
  .case-footer { align-items:flex-start; flex-direction:column; gap:8px; padding-top:22px; }
  .case-footer > p { font-size:12px; }
}
