@font-face {
  font-family: Brimway;
  src: url("/fonts/NimbusSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Brimway;
  src: url("/fonts/NimbusSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: BrimwayDisplay;
  src: url("/fonts/display.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #101b15;
  --forest: #16261c;
  --paper: #f5f5ef;
  --lime: #e3fc72;
  --muted: #576258;
  --rule: #cbd0c5;
  --page-gutter: clamp(1.25rem, 5.5vw, 6.5rem);
  color: var(--ink);
  background: var(--paper);
  font-family: Brimway, Arial, sans-serif;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
body { line-height: 1.45; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #52742c; outline-offset: 4px; }
.store-header :focus-visible, .hero :focus-visible, .contact-band :focus-visible { outline-color: var(--lime); }
::selection { color: var(--ink); background: var(--lime); }
.shell { max-width: 99rem; margin-inline: auto; padding-inline: var(--page-gutter); }
.skip { position: fixed; left: .75rem; top: .5rem; transform: translateY(-180%); z-index: 20; background: var(--lime); color: var(--ink); padding: .8rem 1.2rem; border-radius: .5rem; }
.skip:focus { transform: translateY(0); }
.ui-icon { display: inline-block; width: 1.35rem; height: 1.35rem; flex: none; }

/* One navigation for the two platform pages. */
.store-header { background: var(--ink); color: var(--paper); border-bottom: 1px solid #344038; }
.header-row { min-height: 4.75rem; display: flex; align-items: center; gap: clamp(1.5rem,4vw,4rem); }
.wordmark { display: inline-flex; flex: none; align-items: center; min-height: 2.75rem; }
.wordmark img { height: auto; width: 8.9rem; }
.section-nav { display: flex; align-items: center; gap: clamp(1.3rem,2.8vw,2.8rem); margin-left: auto; }
.section-nav a { display: grid; align-items: center; min-height: 2.75rem; color: #e5e9de; font-size: .95rem; }
.section-nav a:hover, .text-cta:hover { color: var(--lime); }
.platform-switch { display: inline-flex; border: 1px solid #59645a; border-radius: 2rem; padding: .18rem; gap: .1rem; }
.platform-switch a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.4rem; padding: .3rem .9rem; border-radius: 2rem; font-size: .91rem; white-space: nowrap; }
.platform-switch .ui-icon { width: 1.05rem; height: 1.05rem; }
.platform-switch a[aria-current="page"] { background: var(--lime); color: var(--ink); font-weight: 700; }
.platform-switch a:not([aria-current]):hover { background: #2c3a2f; }

/* Terrain miniature photograph and a platform-specific, readable product view. */
.hero { position: relative; isolation: isolate; overflow: hidden; container: hero-banner / inline-size; background: var(--ink); color: var(--paper); }
.hero-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-art img { position: absolute; right: 0; top: 0; width: 90%; height: 100%; max-width: none; object-fit: cover; object-position: 61% 51%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,#101b15 0%,#101b15 21%,rgb(16 27 21 / 96%) 31%,rgb(16 27 21 / 66%) 47%,transparent 69%),
              linear-gradient(0deg,rgb(10 21 14 / 84%),transparent 18%,transparent 88%,rgb(16 27 21 / 17%));
}
.hero-layout { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); gap:clamp(.8rem,2.6vw,3rem); align-items:center; min-height:clamp(34rem,43vw,42rem); }
.hero-copy { z-index:1; position:relative; padding-block:clamp(2.65rem,4vw,4.4rem); }
.app-identity { display:flex; align-items:center; gap:.8rem; margin-bottom:clamp(1.45rem,2vw,2.2rem); }
.app-identity > img { width: 3rem; height: 3rem; border-radius: .85rem; outline: 1px solid rgb(255 255 255 / 23%); outline-offset: -1px; }
.app-identity span, .eyeline { font-weight: 700; font-size: .775rem; letter-spacing: .11em; text-transform: uppercase; }
.app-identity span { color: var(--lime); }
h1, h2 { font-weight: 700; letter-spacing: -.062em; }
h1 { font-size:clamp(3rem,4.95vw,5.15rem); line-height:.99; text-wrap:balance; }
em { font-style: normal; color: var(--lime); }
.intro { margin-top:1.45rem; max-width:36rem; color:#e5e9df; font-size:clamp(1.04rem,1.25vw,1.22rem); line-height:1.48; text-wrap:pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.6rem; margin-top: clamp(1.7rem,2.7vw,2.8rem); }
.cta { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; min-height: 3.25rem; padding: .8rem 1.4rem; border-radius: 2rem; font-size: 1rem; font-weight: 700; line-height: 1.2; transition: background .15s ease, color .15s ease; }
.cta.primary { background: var(--lime); color: var(--ink); }
.cta.primary:hover { background: #f4ffb5; }
.cta .ui-icon { width: 1.16rem; height: 1.16rem; }
.text-cta { font-size: .96rem; text-underline-offset: .32em; text-decoration: underline; text-decoration-color: #768577; text-decoration-thickness: 1px; padding-block: .7rem; }
.hero-stage { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:1.05rem; padding:2rem 0; min-width:0; }
.product-pair { position:relative; width:100%; max-width:44rem; padding-bottom:clamp(3.8rem,5.6vw,5.4rem); }
.hero-board {
  position:relative; display:block; width:95%; padding:clamp(4px,.5vw,8px); border:1px solid #aeb8b1;
  background:linear-gradient(126deg,#b3bcb6 0%,#3d4641 4%,#1a221d 38%,#505a52 85%,#8e9b91);
  border-radius:1.1rem; box-shadow:inset 0 0 0 1px #57615a,0 1.1rem 2rem #06150b6b; cursor:zoom-in;
  transition:border-color .22s ease,box-shadow .22s ease;
}
.hero-board:hover, .hero-board:focus-visible { border-color:#ecf5df; box-shadow:inset 0 0 0 1px #778479,0 1.25rem 2.4rem #051009a3; }
.board-viewport { display:block; width:100%; container-type:inline-size; overflow:hidden; border-radius:.7rem; background:#f5f6ef; color:#1a251d; }
.board-pool { padding:.55rem .85rem .5rem; background:#fff; }
.pool-heading, .crew-list, .crew-member, .assignment { display:flex; align-items:center; }
.pool-heading { gap:.4rem; font-size:.83rem; line-height:1.15; }
.pool-heading .ui-icon { width:1.02rem; height:1.02rem; color:#496246; }
.crew-list { gap:clamp(.35rem,1.4cqw,.65rem); margin-top:.32rem; }
.crew-member { flex:none; gap:.22rem; padding:.12rem .38rem .12rem .14rem; font-size:.76rem; color:#253326; border:1px solid #e0e5da; border-radius:1rem; }
.crew-photo { flex:none; width:1.38rem; height:1.38rem; object-fit:cover; border-radius:50%; }
.board-period { display:flex; align-items:center; gap:.65rem; padding:.38rem .8rem; background:linear-gradient(112deg,#c1cbb5,#afbea3 63%,#a1b293); color:#1b301f; }
.board-period > div { display:grid; gap:.04rem; }
.board-period > div > span { font-size:.7rem; line-height:1.2; }
.board-period strong { font-family:BrimwayDisplay,Brimway,sans-serif; font-size:clamp(1.1rem,3.7cqw,1.55rem); line-height:1.08; letter-spacing:-.05em; }
.week-number { text-transform:uppercase; line-height:1.05; font-weight:700; font-size:.61rem; }
.week-number b { display:block; font-size:1rem; }
.board-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:.80rem; line-height:1.12; background:#fff; }
.board-table th, .board-table td { border:1px solid #dfe3d8; padding:.25rem .13rem; text-align:center; }
.board-table tr > :first-child { width:25%; text-align:left; padding-left:.7rem; }
.board-table thead th { height:2.35rem; color:#45513f; font-size:.71rem; font-weight:400; background:#f4f5ef; }
.board-table thead th:first-child { font-weight:700; }
.board-table thead b { display:block; margin:.10rem auto 0; color:#1b2b20; font-size:.9rem; line-height:1.18; }
.board-table thead th:nth-child(3) { background:#e0e7d8; }
.board-table thead th:nth-child(3) b { width:1.52rem; border-radius:1rem; color:white; background:#446443; }
.board-table tbody th { font-weight:700; }
.board-table tbody th small { display:block; margin-top:.2rem; font-size:.67rem; font-weight:400; color:#586551; }
.assignment { flex-direction:column; justify-content:center; gap:2px; width:fit-content; min-width:2.1rem; margin:auto; padding:.13rem .24rem; border-radius:.7rem; background:#e9eee2; color:#23371f; font-size:.76rem; line-height:1.15; }
.assignment .crew-photo { width:1.31rem; height:1.31rem; }
.empty-day { color:#64725f; }
@container (max-width: 37.5rem) {
  .board-table tr > :nth-child(n+7) { display:none; }
}
@container (max-width: 30rem) {
  .board-table tr > :nth-child(n+6) { display:none; }
  .crew-member:nth-child(n+6) { display:none; }
}
@container (max-width: 24rem) {
  .board-table tr > :nth-child(n+5), .crew-member:nth-child(n+5) { display:none; }
  .board-table tr > :first-child { width:32%; padding-left:.42rem; }
  .board-pool { padding:.45rem .48rem; }
  .board-period { padding-inline:.5rem; }
  .crew-list { gap:.28rem; }
}
@container (max-width: 17.5rem) {
  .crew-member:nth-child(n+4) { display:none; }
}
.product-pair .device-link { display:block; position:absolute; z-index:1; right:0; bottom:0; width:var(--handset-width,clamp(9.25rem,29%,12.3rem)); cursor:zoom-in; border-radius:2rem; }
.handset {
  display:block; position:relative; width:100%; aspect-ratio:.493; container-type:inline-size;
  border-radius:16% / 7.7%; padding:.22rem;
  border: 1px solid #b2b4a9;
  background: linear-gradient(109deg,#383c39 0%,#a5ada7 3%,#363b38 11%,#202521 45%,#858d85 81%,#cbcdc0 98%);
  box-shadow: inset 0 0 0 1px #6b726b, 2px 2px 0 1px #303932, 6px 7px 14px rgb(0 0 0 / 34%), 14px 27px 40px rgb(0 0 0 / 48%);
  transition:border-color .22s ease,box-shadow .22s ease;
}
.handset::before, .handset::after { content: ""; position: absolute; background: linear-gradient(90deg,#6e736d,#252a25); width: .14rem; border-radius: .12rem; }
.handset::before { left: -.14rem; top: 24%; height: 10%; }
.handset::after { right: -.15rem; top: 29%; height: 13%; }
.handset-android { border-radius:12.3% / 6%; background:linear-gradient(111deg,#191e1a 0%,#787e79 3%,#303831 12%,#222a23 86%,#a1a698 99%); }
.device-link:hover .handset, .device-link:focus-visible .handset { border-color:#eef4e9; box-shadow:inset 0 0 0 1px #929a93,0 1.1rem 2.1rem #061309a8; }
.handset-inner { display:flex; flex-direction:column; overflow:hidden; width:100%; height:100%; border:.15rem solid #0a0c0b; border-radius:14.4% / 6.9%; background:#f7f7f2; }
.handset-android .handset-inner { border-radius: 11.4% / 5.6%; }
.status-bar { position: relative; height: 6.3%; flex: none; padding-inline: 9% 6.4%; display: flex; align-items: center; justify-content: space-between; color: #1b211b; background: #f7f7f2; font: 700 clamp(.55rem,.7vw,.68rem)/1 Arial,sans-serif; }
.sensor { position: absolute; left: 50%; top: 51%; translate: -50% -50%; width: 23%; height: 42%; background: #0c100e; border-radius: 2rem; }
.handset-android .sensor { width: 3.7%; aspect-ratio: 1; height: auto; }
.status-icons { display: flex; align-items: center; gap: 1px; }
.status-icons .ui-icon { width: .6rem; height: .6rem; }
.status-icons .ui-icon:last-child { width: .82rem; }
.phone-interface { flex:1; min-height:0; padding:clamp(.36rem,5.1cqw,.68rem); display:flex; flex-direction:column; gap:clamp(.27rem,4cqw,.55rem); overflow:hidden; color:#17231b; background:#f5f6ef; font:400 .76rem/1.22 Brimway,Arial,sans-serif; }
.phone-kicker { margin:0; color:#40553c; font-weight:700; font-size:clamp(.57rem,6.2cqw,.71rem); letter-spacing:.055em; text-transform:uppercase; }
.phone-heading { margin:0; color:#17201a; font:700 clamp(1.05rem,11cqw,1.56rem)/1.04 BrimwayDisplay,Brimway,sans-serif; letter-spacing:-.06em; }
.phone-heading > span { color:#6a9334; }
.phone-progress { flex:none; padding:.48rem .5rem; background:linear-gradient(135deg,#19201a,#223025); color:#fff; border-radius:.55rem; }
.phone-progress > span:first-child { font-size:.65rem; color:#e6ecdf; }
.phone-progress strong { display:block; margin:.12rem 0 .28rem; color:var(--lime); font:700 clamp(1.48rem,15.5cqw,2.1rem)/1 BrimwayDisplay,Brimway,sans-serif; letter-spacing:-.065em; }
.phone-progress small { font:700 .69rem Brimway,sans-serif; letter-spacing:0; }
.progress-track { display:block; border-radius:1rem; height:.2rem; background:#49574a; }
.progress-track::before { content:""; display:block; width:65%; height:100%; border-radius:inherit; background:var(--lime); }
.phone-section-name, .phone-profile, .phone-author, .phone-report, .phone-task { display:flex; align-items:center; gap:.3rem; }
.phone-section-name, .phone-report { align-self:start; border-radius:.45rem; padding:.32rem .44rem; font-size:clamp(.65rem,7cqw,.81rem); }
.phone-section-name { background:#202a20; color:#e5f4bc; }
.phone-interface .ui-icon { width:.88rem; height:.88rem; }
.phone-message { padding:.44rem; border:1px solid #d9dfd2; border-radius:.6rem; background:#fff; }
.phone-author b, .phone-profile b { font-size:clamp(.66rem,7cqw,.79rem); }
.phone-author .crew-photo, .phone-profile .crew-photo { width:1.05rem; height:1.05rem; }
.phone-message p { margin:.36rem 0 0; font-size:clamp(.68rem,7.2cqw,.83rem); line-height:1.24; }
.phone-profile { width:fit-content; padding:.13rem .36rem .13rem .15rem; border:1px solid #dce1d4; border-radius:1rem; background:#fff; }
.phone-report { background:var(--lime); color:#1a281b; }
.phone-task { padding:.5rem .38rem; background:#fff; border:1px solid #d6ddcc; border-radius:.55rem; }
.phone-task .ui-icon { color:#4f7146; }
.phone-task b { display:block; font-size:clamp(.71rem,7.4cqw,.87rem); }
.phone-task small { display:block; margin-top:.1rem; font-size:clamp(.62rem,6.4cqw,.74rem); color:#52624c; }
@container (max-width: 9rem) {
  .phone-interface { gap:.27rem; padding:.32rem; }
  .phone-progress, .phone-task { padding:.35rem; }
  .phone-message { padding:.33rem; }
  .phone-message p { margin-top:.22rem; }
}
.home-area { display: grid; place-items: center; height: 2.1%; flex: none; background: #f7f7f2; }
.home-area span { background: #29322a; border-radius: 2rem; height: 2px; width: 28%; }
.hero-view { display:inline-flex; align-items:center; gap:.45rem; position:relative; z-index: 2; padding:.45rem .85rem; border-radius:2rem; color:#f7f8f0; background:rgb(12 25 16 / 82%); border:1px solid rgb(255 255 255 / 27%); font-size:.81rem; }
.hero-view:hover { border-color: var(--lime); }
.hero-view .ui-icon { width: 1rem; height: 1rem; }
.platform-android .hero-art img { object-position: 70% 57%; }

/* Store artwork opens the full, unframed capture. */
.gallery-section { padding-block: clamp(3.8rem,6.2vw,6.8rem) clamp(3.4rem,5.8vw,6rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.6rem; margin-bottom: clamp(1.5rem,2.8vw,2.75rem); }
.eyeline { display: flex; align-items: center; gap: .65rem; color: #49554a; line-height: 1.3; }
.eyeline > span:first-child { width: 1.45rem; height: 2px; background: #75884b; }
h2 { font-size: clamp(2.75rem,4.35vw,4.85rem); line-height: .98; }
.section-head h2, .role-heading h2 { margin-top:.85rem; }
.gallery-aside { display: flex; align-items: flex-end; gap: 1.3rem; }
.gallery-aside > p { color: var(--muted); font-size: 1rem; line-height: 1.4; }
.rail-controls, .viewer-controls { display: flex; gap: .45rem; }
.rail-controls button, .viewer-controls button {
  background: transparent; border: 1px solid #a6afa1; border-radius: 2rem; padding: .42rem .86rem; min-height: 2.6rem; font-size: .9rem;
}
.rail-controls button:hover:enabled, .viewer-controls button:hover:enabled { color: #142812; background: #e3eadc; }
.rail-controls button:disabled, .viewer-controls button:disabled { opacity: .42; cursor: default; }
.gallery-index { display:flex; flex-wrap:wrap; gap:.35rem .5rem; margin:-.5rem 0 1rem; }
.gallery-index a { display:inline-flex; align-items:center; min-height:2.65rem; padding:.35rem .88rem; font-size:.94rem; color:#344236; background:#e7ebdf; border-radius:2rem; }
.gallery-index a:hover { background:#dbe5c1; }
.poster-rail {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13.1rem, 1fr); gap: clamp(.7rem,1.15vw,1.3rem);
  overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding: .3rem .2rem .75rem; margin-inline: -.2rem; scrollbar-width: thin; scrollbar-color: #9ba792 transparent;
}
.poster-rail li { scroll-snap-align: start; min-width: 0; }
.poster { display: block; cursor: zoom-in; }
.poster > img { width: 100%; height: auto; aspect-ratio: 1320/2868; border-radius: .8rem; background: #e2e5db; object-fit: cover; }
.platform-android .poster > img { aspect-ratio: 1080/1920; }
.poster-label { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .85rem .1rem .1rem; font-weight: 700; font-size: 1.03rem; }
.poster-label .ui-icon { width: 1.12rem; height: 1.12rem; color: #51604f; }
.poster:hover .poster-label { text-decoration: underline; text-underline-offset: .21em; }
.poster-caption { color:var(--muted); font-size:.93rem; line-height:1.38; margin:.25rem .1rem 0; }

/* Role-specific examples paired with their own product screens. */
.field-section { padding-block: clamp(3.5rem,5.8vw,6.4rem); background: #e9ede3; border-block: 1px solid #d1d7cc; }
.field-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.95fr); align-items:center; gap:clamp(2.8rem,7vw,7rem); }
.field-copy { max-width:38rem; }
.role-heading { margin-bottom:clamp(1.65rem,3vw,3.3rem); }
.role-tabs { display:flex; width:fit-content; max-width:100%; margin-top:1.45rem; gap:.18rem; border:1px solid #b2bcae; background:#f5f6ef; padding:.22rem; border-radius:2rem; }
.role-tabs a { display:grid; place-items:center; min-height:2.7rem; padding:.35rem clamp(.68rem,1.65vw,1.55rem); border-radius:2rem; font-size:1rem; font-weight:700; text-align:center; line-height:1.1; }
.role-tabs a[aria-selected="true"] { background:var(--ink); color:var(--lime); }
.role-tabs a:hover:not([aria-selected="true"]) { background:#e2e8dc; }
.role-panel + .role-panel { margin-top:2rem; }
.role-panel[role="tabpanel"] { margin-top:0; }
.role-panel h3 { margin:0; font-size:clamp(1.85rem,3vw,3.3rem); font-weight:700; letter-spacing:-.048em; line-height:1.02; text-wrap:balance; }
.role-intro { margin-top:1rem; font-size:clamp(1.03rem,1.33vw,1.22rem); line-height:1.48; }
.role-details { padding:0; list-style:none; margin:1.1rem 0 .4rem; }
.role-details li { border-top:1px solid #bec8b9; padding:.75rem 0; }
.role-details strong { font-size:1.02rem; }
.role-details p { margin:.18rem 0 0; color:#405044; font-size:1rem; line-height:1.47; }
.role-note { padding:.55rem 0 .6rem .8rem; border-left:2px solid #849a62; color:#405044; font-size:.95rem; }
.role-preview { display:inline-flex; gap:.5rem; align-items:center; min-height:2.75rem; margin-top:.65rem; font-weight:700; font-size:.96rem; text-decoration:underline; text-underline-offset:.22rem; }
.role-preview:hover { color:#445c34; }
.role-preview .ui-icon { width:1.05rem; height:1.05rem; }
.field-figure { width:100%; max-width:36rem; justify-self:end; }
.field-scene { aspect-ratio: 1; position: relative; isolation: isolate; overflow: hidden; border-radius: 1.05rem; background: #a79977; }
.scene-photo { width: 100%; height: 100%; object-fit: cover; }
.tablet-photo { transform:rotate(90deg); }
.field-scene[data-device="tablet"] .phone-photo, .field-scene[data-device="phone"] .tablet-photo { display:none; }
.scene-surface { position: absolute; background: #f6f6ef; overflow: hidden; }
.scene-bureau .scene-surface { left: 30.14%; top: 6.30%; width: 39.32%; height: 87.32%; border-radius: 14.5% / 6.5%; }
.scene-jardin .scene-surface { left: 30.78%; top: 7.02%; width: 37.72%; height: 85.40%; border-radius: 14.4% / 6.4%; }
.field-scene[data-device="tablet"] .scene-surface { left:21.72%; top:8.1%; width:58.9%; height:83.9%; border-radius:1.6% / 1.4%; background:#f2f3ee; }
.scene-surface img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.scene-zoom { position: absolute; right: 1rem; bottom: 1rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: white; background: rgb(16 27 21 / 86%); border: 1px solid rgb(255 255 255 / 60%); border-radius: 50%; cursor: zoom-in; }
.scene-zoom:hover { color: var(--lime); }
.field-figure figcaption { font-size: .91rem; margin-top: .65rem; color: var(--muted); }

.contact-band { background: var(--ink); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 3rem; padding-block: clamp(3.6rem,6vw,6.7rem); }
.contact-action { max-width: 26rem; }
.contact-action p { color: #d5dfd1; font-size: 1.1rem; margin-bottom: 1.35rem; }
.store-footer { background: var(--paper); }
.footer-inner { min-height: 6.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.footer-inner .wordmark img { width: 7.8rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.7rem; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .93rem; color: #3e493f; }
.footer-inner nav a:hover, .footer-inner nav a[aria-current] { text-decoration: underline; text-underline-offset: .25rem; }

body.has-viewer { overflow: hidden; }
#screen-viewer { width: min(52rem,93vw); max-width: 96vw; max-height: 94vh; max-height: 94dvh; padding:0; border:1px solid #b5beaf; border-radius: 1.15rem; color: var(--ink); background: var(--paper); box-shadow: 0 1rem 5rem #07110b50; }
#screen-viewer:not([open]) { display:none; }
#screen-viewer::backdrop { background: rgb(6 13 9 / 81%); backdrop-filter: blur(5px); }
.viewer-top { position:sticky; top:0; z-index:1; background:var(--paper); display:flex; align-items:center; justify-content:space-between; padding:.5rem 1rem; border-bottom:1px solid var(--rule); font-size:.95rem; font-weight:700; }
.viewer-platform { font-weight:400; color:var(--muted); }
.viewer-close { display:grid; place-items:center; width:2.75rem; height:2.75rem; background:transparent; border-radius:50%; }
.viewer-close:hover { background:#e4e9dc; }
.viewer-body { display:grid; grid-template-columns:1.05fr .9fr; gap:clamp(.8rem,2vw,2.2rem); align-items:center; padding:1rem; }
.detail-options { grid-column:1/-1; display:flex; align-items:center; gap:.18rem; width:fit-content; padding:.18rem; border-radius:1.5rem; border:1px solid #b5bfad; }
.detail-options button { min-height:2.6rem; padding:.35rem .85rem; border-radius:1.4rem; background:transparent; font-size:.93rem; line-height:1.15; }
.detail-options button[aria-pressed="true"] { color:var(--lime); background:var(--ink); font-weight:700; }
#screen-viewer.wide-screen { width:min(75rem,96vw); }
.wide-screen .viewer-body { grid-template-columns:minmax(0,1fr); gap:.75rem; }
.wide-screen .viewer-details { padding:.45rem .65rem .65rem; }
.wide-screen .viewer-details h2 { font-size:clamp(1.65rem,3.2vw,2.6rem); margin:.4rem 0; }
.wide-screen #viewer-description { margin-bottom:.7rem; max-width:65rem; }
.wide-screen #viewer-original img { max-height:56vh; max-height:56dvh; }
.viewer-image { display:flex; align-items:center; justify-content:center; background:#e7ebdf; border-radius:.7rem; padding:.7rem; min-height:0; }
.viewer-image img { width:auto; height:auto; max-width:100%; max-height:min(75vh,53rem); max-height:min(75dvh,53rem); box-shadow:0 .15rem .7rem #25382529; }
#viewer-original { display:grid; justify-items:center; cursor:zoom-in; }
#viewer-original span { display:inline-flex; align-items:center; gap:.35rem; font-size:.88rem; color:#364738; padding:.4rem .65rem 0; }
#viewer-original .ui-icon { width:1rem; height:1rem; }
.viewer-details { padding:.8rem 1.2rem .8rem 0; }
.viewer-details h2 { font-size:clamp(2.1rem,3.5vw,3.6rem); margin:1rem 0; }
#viewer-description { color:var(--muted); margin-bottom:1.6rem; font-size:1.04rem; }
.viewer-controls button { min-height:2.75rem; }
.eyeline #viewer-count { margin-left:-.3rem; }
@media (min-width:1500px) {
  .hero-art img { width:min(88%,103rem); }
}
@media (max-width: 1050px) {
  :root { --page-gutter: clamp(1.25rem,4.5vw,3.25rem); }
  .poster-rail { grid-auto-columns:minmax(13.6rem,23.5%); }
  .gallery-aside { align-items:flex-start; flex-direction:column; gap:.55rem; }
  .wide-only { display:none; }
  .field-layout { gap: 2.8rem; }
}
@media (max-width: 760px) {
  .header-row { min-height:4.1rem; gap:.6rem; justify-content:space-between; }
  .section-nav { display:none; }
  .wordmark img { width:7.2rem; }
  .platform-switch a { min-height:2.35rem; padding:.3rem .69rem; }
  .hero-layout { grid-template-columns:minmax(0,1fr) minmax(0,.9fr); min-height:27rem; }
  .hero-copy { padding:2.25rem 0; }
  h1 { font-size:clamp(2.4rem,5.1vw,3rem); }
  .intro { font-size:1.01rem; }
  .hero-actions { margin-top:1.4rem; gap:.4rem 1.1rem; }
  .hero-stage { padding:1.6rem 0 1.1rem; gap:.9rem; }
  .product-pair { padding-bottom:5.8rem; }
  .hero-view { font-size:.78rem; }
  .field-layout { grid-template-columns:1fr 1fr; gap:1.6rem; }
}
@container hero-banner (min-width:581px) and (max-width:860px) {
  .hero-layout { grid-template-columns:minmax(0,1fr); gap:0; }
  .hero-copy { max-width:44rem; padding:2.45rem 0 .3rem; }
  .hero-stage { width:100%; max-width:40rem; margin-inline:auto; padding:1.4rem 0 2rem; }
  .hero-art img { width:100%; height:68%; top:auto; bottom:0; object-position:center 55%; }
  .hero-art::after { background:linear-gradient(180deg,var(--ink) 0%,var(--ink) 23%,rgb(16 27 21 / 88%) 39%,transparent 69%,rgb(11 21 15 / 48%) 100%); }
}
@media (max-width: 580px) {
  html { scroll-padding-top: .7rem; }
  .hero-layout { grid-template-columns: minmax(0,1fr); }
  .hero-art img { width:135%; height:55%; top:auto; bottom:0; right:-8%; object-position:80% 53%; }
  .hero-art::after { background:linear-gradient(180deg,var(--ink) 0%,var(--ink) 31%,rgb(16 27 21 / 93%) 38%,rgb(16 27 21 / 32%) 54%,transparent 69%,rgb(11 21 15 / 52%) 100%); }
  .hero-copy { padding:2rem 0 .2rem; }
  .app-identity { margin-bottom:1.35rem; gap:.7rem; }
  .app-identity > img { width:2.55rem; height:2.55rem; border-radius:.7rem; }
  h1 { font-size:clamp(2.45rem,9.8vw,3.55rem); }
  .intro { max-width:25rem; margin-top:1rem; }
  .hero-actions { margin-top:1.25rem; gap:.55rem 1.05rem; }
  .cta { min-height:2.95rem; padding:.72rem 1.07rem; font-size:.96rem; }
  .text-cta { font-size:.92rem; }
  .hero-stage { position:relative; width:100%; max-width:28rem; margin-inline:auto; padding:1rem 0 1.5rem; }
  .product-pair { --handset-width:clamp(9.25rem,39%,10rem); padding-bottom:calc(var(--handset-width) * 2.03 - 3.05rem); }
  .hero-board { width:100%; border-radius:.7rem; }
  .board-viewport { border-radius:.42rem; }
  .hero-view { position:absolute; left:0; bottom:2.5rem; max-width:calc(100% - clamp(9.25rem,39%,10rem) - .55rem); min-height:2.65rem; padding:.48rem .55rem; background:#15251c; }
  .gallery-section { padding:3rem 0; overflow:hidden; }
  .section-head { display:block; margin-bottom:1.2rem; }
  .section-head h2, .role-heading h2 { margin-top:.7rem; }
  h2 { font-size:clamp(2.55rem,9.3vw,3.7rem); }
  .gallery-aside { margin-top:.9rem; display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.7rem; }
  .gallery-aside p { max-width:23rem; }
  .rail-controls button { font-size:.86rem; min-height:2.65rem; }
  .poster-rail { margin-right:calc(-1 * var(--page-gutter)); padding-right:var(--page-gutter); grid-auto-columns:clamp(12rem,61vw,15.5rem); gap:.7rem; }
  .poster > img { border-radius:.7rem; }
  .field-layout { display:flex; flex-direction:column; align-items:stretch; gap:1.6rem; }
  .field-copy, .field-figure { max-width:none; }
  .role-tabs { width:100%; }
  .role-tabs a { flex:1; font-size:.94rem; padding:.4rem .55rem; }
  .role-panel h3 { font-size:clamp(1.8rem,7vw,2.5rem); }
  .contact-inner { grid-template-columns:1fr; gap:1.55rem; }
  .footer-inner { flex-direction:column; align-items:flex-start; gap:.25rem; padding-block:1.1rem; }
  .footer-inner nav { gap:0 1.1rem; }
  #screen-viewer { width:94vw; border-radius:.8rem; }
  .viewer-top { padding:.15rem .75rem; }
  .viewer-body { grid-template-columns:1fr; gap:.5rem; padding:.65rem; }
  .viewer-image { padding:.35rem; }
  .viewer-image img { max-height:53vh; max-height:53dvh; }
  .viewer-details { padding:.35rem .35rem .5rem; }
  .viewer-details h2 { font-size:1.65rem; margin:.4rem 0; }
  #viewer-description { font-size:.99rem; margin-bottom:.65rem; }
  .viewer-controls { justify-content:flex-end; }
}
@media (max-width: 350px) {
  .header-row { padding-inline: 1rem; gap: .4rem; }
  .header-row .wordmark img { width: 6.15rem; }
  .platform-switch a { padding:.3rem .5rem; }
  h1 { font-size:clamp(2.12rem,10.2vw,2.4rem); }
  .hero-actions { gap:.2rem .8rem; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none!important; }
}
