@font-face {
  font-family: Oort;
  src: url('/assets/storefront/URWGothic-Demi.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nimbus;
  src: url('/assets/storefront/NimbusSans-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nimbus;
  src: url('/assets/storefront/NimbusSans-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102b35;
  --petrol: #08232d;
  --aqua: #7dcacc;
  --paper: #f4f7f5;
  --warm: #f3b58f;
  --muted: #52656a;
  --surface: #e3efec;
  --line: #102b3528;
  --focus: #25868a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 Nimbus, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Oort, Arial, sans-serif; font-weight: 700; letter-spacing: -.055em; line-height: 1.08; }
h1 { font-size: clamp(42px, 4.65vw, 70px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 27px; }
p { line-height: 1.6; }
main { min-height: 65vh; }
.wrap { max-width: 1600px; margin: auto; padding: 0 4.5%; }
.wrap > *, .grid > *, .detail-head > *, .story-grid > *, .engine > *, .about > *, .feature-layout > * { min-width: 0; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
.skip { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--paper); color: var(--ink); }
.skip:focus { top: 12px; }
.logo { flex: 0 0 auto; font: 700 47px/1 Oort, sans-serif; letter-spacing: -.065em; }
.site-header { display: flex; align-items: center; gap: 55px; max-width: 1600px; height: 100px; margin: auto; padding: 0 4.5%; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 15px; }
.site-header nav a:hover, footer a:not(.logo):hover { text-decoration: underline; text-underline-offset: 5px; }
.edition { margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.home-view .site-header { position: absolute; inset: 0 0 auto; z-index: 10; width: 100%; height: 108px; padding: 0 6vw; border: 0; color: var(--paper); }
.home-view .site-header .edition { display: none; }
.home-view .site-header nav { margin-left: auto; }
.home-view .site-header nav a:first-child, .home-view .site-header nav a:nth-child(2) { display: none; }
.home-view .site-header nav .manifest { display: block; color: var(--paper); font-size: 14px; font-weight: 700; }

/* Original Oort arrival: image, type and palette are retained. */
.original-arrival { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 100svh; overflow: hidden; background: var(--petrol); color: var(--paper); }
.original-material, .original-shade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.original-material { object-fit: cover; object-position: center; }
.original-shade { z-index: -1; background: linear-gradient(90deg, rgba(3,26,35,.95), rgba(3,26,35,.65) 38%, rgba(3,26,35,.05) 75%); }
.original-copy { min-width: 0; max-width: 1000px; padding: 140px 7.7vw 110px; }
.original-copy h1 { margin: 0 0 24px; font-size: clamp(76px, 8.3vw, 136px); letter-spacing: -.067em; line-height: .98; }
.original-copy .original-lead { margin-bottom: 12px; font-size: clamp(21px, 2vw, 30px); line-height: 1.35; }
.original-copy > p:not(.original-lead) { max-width: 620px; color: #d1dee0; font-size: clamp(17px, 1.4vw, 21px); }
.original-copy > p + p { margin-top: 6px; }
.original-copy .button { margin-top: 22px; }
.arrival-credit { position: absolute; bottom: 28px; left: 7.7vw; max-width: 84%; color: #d1dee0; font-size: 12px; }
.arrival-credit:hover { text-decoration: underline; text-underline-offset: 4px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; max-width: 100%; padding: 14px 26px; border: 0; border-radius: 4px; background: var(--warm); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; }
.button:hover { background: #ffc59d; }
.button.light { background: var(--warm); color: var(--ink); }
.text-link { display: inline-block; padding: 5px 0; border-bottom: 1px solid #102b3566; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.monogram { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--aqua); color: var(--ink); font-size: 12px; }

/* Product overview: quiet, upright screenshots without overlapping frames. */
.catalog { padding: 65px 0 75px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-top h2 { margin-top: 13px; font-size: clamp(34px, 4vw, 56px); }
.section-top > p { max-width: 430px; color: var(--muted); font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { min-height: 40px; padding: 8px 18px; border: 1px solid #102b3540; border-radius: 30px; background: transparent; color: var(--ink); font-size: 13px; }
.chip[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: white; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 25px; }
.product-card { display: block; min-width: 0; }
.product-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card-art { display: grid; place-items: center; height: 300px; padding: 14px; border: 1px solid #102b3515; border-radius: 4px; background: var(--card-bg, var(--surface)); }
.card-art .phone-pair { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; height: 100%; min-width: 0; }
.phone-pair img { width: calc(50% - 8px); max-width: 145px; max-height: 270px; height: auto; border: 1px solid #102b3520; border-radius: 5px; object-fit: contain; }
.card-art > img.desktop-capture { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.card-art:has(> .inset-capture) { grid-template-columns: minmax(0, 1fr) minmax(65px, .34fr); gap: 12px; }
.card-art .inset-capture { width: 100%; max-height: 265px; height: auto; border: 1px solid #102b3530; border-radius: 4px; object-fit: contain; }
.card-meta { display: flex; align-items: center; gap: 12px; padding: 18px 0 8px; }
.card-meta > div { min-width: 0; }
.card-meta h3 { font-size: 22px; letter-spacing: -.035em; }
.card-meta small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.card-action { margin-left: auto; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.card-description { max-width: 40ch; color: var(--muted); font-size: 16px; line-height: 1.45; }
.card-meta:has(.app-icon) + .card-description { padding-left: 55px; }
.app-icon { display: grid; flex: 0 0 43px; place-items: center; width: 43px; height: 43px; overflow: hidden; border-radius: 9px; background: var(--icon-bg, var(--ink)); color: white; }
.app-icon img { width: 100%; height: 100%; object-fit: contain; }


.about { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; padding: 80px 0; }
.about .signature { margin-top: 30px; color: var(--ink); font-size: clamp(55px, 5.5vw, 80px); letter-spacing: -.06em; line-height: 1.05; }
.about .about-copy { padding-top: 45px; }
.about .about-copy > p { max-width: 650px; font-size: 21px; line-height: 1.55; }
.craft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.craft h3 { margin-bottom: 8px; font-size: 19px; }
.craft p { color: var(--muted); font-size: 14px; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 65px; padding: 45px; border-radius: 4px; background: var(--petrol); color: var(--paper); }
.closing h2 { max-width: 630px; font-size: clamp(36px, 4vw, 58px); }
.closing p { max-width: 550px; margin-top: 13px; color: #d1dee0; font-size: 14px; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 45px; max-width: 1600px; margin: auto; padding: 35px 4.5%; border-top: 1px solid var(--line); font-size: 13px; }
footer p, footer small { color: var(--muted); }
footer small { margin-left: auto; font-size: 12px; }

/* Product details. Navigation and screenshots always wrap into the page. */
.back { display: inline-block; margin: 30px 0; color: var(--muted); font-size: 14px; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-head { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 50px; margin: 20px 0 35px; }
.detail-title { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.detail-title > div { min-width: 0; }
.detail-title h1 { font-size: clamp(40px, 4.65vw, 70px); }
.detail-title .eyebrow { margin-top: 8px; color: var(--muted); font-size: 11px; }
.detail-title .app-icon { flex-basis: 76px; width: 76px; height: 76px; border-radius: 15px; }
.detail-summary { max-width: 720px; font-size: 22px; letter-spacing: -.02em; line-height: 1.45; }
.detail-side { align-self: start; padding: 15px 0 20px 24px; border-left: 1px solid var(--line); }
.detail-side .button { width: 100%; margin-bottom: 18px; padding: 12px 15px; font-size: 15px; }
.detail-side dl { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; margin: 0; font-size: 13px; }
.detail-side dt { color: var(--muted); }
.detail-side dd { margin: 0; overflow-wrap: anywhere; }
.detail-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-bottom: 38px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-tabs a { display: inline-block; padding: 8px 0; }
.detail-tabs a:hover { text-decoration: underline; text-underline-offset: 5px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.gallery-heading h2 { font-size: 32px; }
.gallery-heading span { color: var(--muted); font-size: 13px; }
.gallery-group { margin-bottom: 42px; }
.gallery-group-heading { margin: 0 0 22px; max-width: 78ch; }
.gallery-group-heading h3 { font-size: 27px; }
.gallery-group-heading p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 34px 26px; }
.shot { display: block; min-width: 0; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.shot.landscape { grid-column: 1 / -1; }
.shot-image { display: flex; justify-content: center; align-items: flex-start; width: 100%; padding: 18px; border: 1px solid #102b3518; border-radius: 4px; background: var(--surface); }
.shot-image > img { width: auto; max-width: 100%; max-height: 700px; height: auto; border-radius: 3px; object-fit: contain; }
.shot.landscape .shot-image { padding: 14px; }
.shot.landscape .shot-image > img { width: 100%; max-height: none; height: auto; }
.shot-copy { display: block; }
.shot strong { display: block; margin-top: 15px; font-size: 16px; line-height: 1.35; }
.shot small { display: block; max-width: 76ch; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.shot:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.gallery-note { max-width: 95ch; margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.story-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; margin-top: 45px; padding: 65px 0; border-top: 1px solid var(--line); }
.story-grid h2 { margin-top: 14px; font-size: 35px; }
.story-grid p { max-width: 770px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 30px; }
.step-number { display: block; margin-bottom: 15px; color: var(--focus); font: 700 28px/1.2 Oort, sans-serif; }
.steps h3 { margin-bottom: 10px; font-size: 21px; }
.steps p { font-size: 15px; }
.engine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; margin-bottom: 60px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engine h2 { margin: 12px 0 20px; font-size: 31px; }
.engine p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { padding: 6px 10px; border-radius: 4px; background: var(--surface); font-size: 12px; }
.engine-diagram { display: grid; align-self: center; gap: 10px; }
.engine-diagram > div { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(95px, .75fr); align-items: center; gap: 12px; padding: 15px; border: 1px solid #102b3530; border-radius: 4px; background: var(--surface); font-size: 14px; }
.engine-diagram b { color: var(--focus); font-size: 12px; }
.engine-diagram span { color: var(--muted); font-size: 12px; line-height: 1.45; text-align: right; }
.detail-maker { display: flex; align-items: center; gap: 20px; padding: 20px 0 60px; }
.detail-maker h3 { margin-top: 6px; font-size: 23px; }
.detail-maker p { max-width: 650px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.detail-maker .text-link { margin-left: auto; }
.detail-related { padding: 20px 0 65px; }
.detail-related h2 { margin-bottom: 25px; font-size: 30px; }
.notice, .empty { color: var(--muted); }

/* Image viewer: controls wrap; zoom uses vertical reading, not a sideways canvas. */
dialog { width: min(1100px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100svh - 32px); padding: 24px; overflow-y: auto; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #031b25c9; backdrop-filter: blur(8px); }
.lightbox-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 8px 0; background: var(--paper); font-size: 15px; }
.lightbox-top > span { min-width: 0; }
.close, .lightbox-nav button { min-height: 44px; padding: 10px 14px; border: 1px solid #102b3540; border-radius: 6px; background: transparent; color: var(--ink); font-size: 14px; }
.close { flex-shrink: 0; }
.close:hover, .lightbox-nav button:not(:disabled):hover { background: var(--surface); }
dialog > img, dialog > .viewer-image { width: 100%; max-width: 100%; height: min(62svh, 700px); object-fit: contain; }
dialog > p { max-width: 80ch; margin: 16px auto 0; font-size: 15px; line-height: 1.5; text-align: center; }
.lightbox-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 20px; font-size: 13px; }
.lightbox-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(65px, 90px)); justify-content: center; gap: 10px; margin-top: 20px; }
.lightbox-thumbs button { min-width: 0; min-height: 68px; padding: 5px; border: 1px solid #102b3540; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; line-height: 1.3; }
.lightbox-thumbs img { width: 100%; height: 60px; object-fit: contain; }
.lightbox-thumbs button[aria-current='true'], .lightbox-thumbs button[aria-current='page'] { padding: 4px; border: 2px solid var(--focus); background: var(--surface); color: var(--ink); }
dialog.viewer-zoom > img, dialog.viewer-zoom > .viewer-image { width: 100%; max-width: 100%; height: auto; max-height: none; }
.viewer-zoom:not(dialog) { max-width: 100%; max-height: 65svh; overflow-y: auto; }
.viewer-zoom:not(dialog) .viewer-image { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; }
.fade-in { animation: appear .2s ease; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1600px) {
  .original-copy { max-width: 1200px; }
}
@media (max-width: 1100px) {
  .site-header { gap: 30px; }
  .site-header nav { gap: 15px 24px; }
  .edition { display: none; }
  .card-art { height: 255px; padding: 12px; }
  .phone-pair img { max-width: 115px; max-height: 228px; }
  .card-art .inset-capture { max-height: 225px; }
  .card-description { font-size: 15px; }
  .detail-head { grid-template-columns: minmax(0, 1fr) 250px; gap: 35px; }
  .detail-summary { font-size: 20px; }
  .story-grid { gap: 35px; }
  .engine { gap: 30px; }
  .engine-diagram > div { grid-template-columns: 20px minmax(0, 1fr); }
  .engine-diagram span { grid-column: 2; text-align: left; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
}
@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-meta { flex-wrap: wrap; }
  .card-action { font-size: 12px; }
  .about { gap: 35px; }
  .craft { grid-template-columns: 1fr; gap: 20px; }
  .closing { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 24px; }
  .wrap { padding: 0 6%; }
  .site-header { flex-wrap: wrap; gap: 15px 24px; height: auto; min-height: 80px; padding: 20px 6%; }
  .site-header .logo { font-size: 39px; }
  .site-header nav { flex: 1; justify-content: flex-end; gap: 10px 18px; font-size: 13px; }
  .site-header .manifest { display: none; }
  .home-view .site-header { height: 92px; padding: 0 7vw; }
  .home-view .site-header nav .manifest { display: block; font-size: 13px; }
  .original-material { object-position: 72% center; }
  .original-shade { background: linear-gradient(90deg, rgba(3,26,35,.82), rgba(3,26,35,.48) 48%, rgba(3,26,35,.12)), linear-gradient(0deg, rgba(3,26,35,.22), transparent 65%); }
  .original-copy { max-width: none; padding: 135px 7vw 115px; }
  .original-copy h1 { margin-bottom: 27px; font-size: clamp(47px, 13.5vw, 94px); line-height: .98; }
  .original-copy .original-lead { max-width: 300px; margin-bottom: 18px; font-size: 21px; }
  .original-copy > p:not(.original-lead) { max-width: 360px; font-size: 17px; }
  .original-copy .button { margin-top: 25px; font-size: 16px; }
  .arrival-credit { bottom: 25px; left: 7vw; font-size: 12px; }
  .catalog { padding: 35px 0 45px; }
  .section-top { display: block; }
  .section-top h2 { font-size: 36px; }
  .section-top > p { margin-top: 18px; font-size: 16px; }
  .filters { gap: 7px; margin-bottom: 23px; }
  .chip { padding: 8px 13px; font-size: 12px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .card-art { height: 300px; padding: 14px; }
  .card-art .phone-pair { gap: 20px; }
  .phone-pair img { min-width: 0; width: calc(50% - 10px); max-width: 140px; max-height: 270px; }
  .card-art .inset-capture { max-height: 265px; }
  .card-meta { flex-wrap: nowrap; gap: 12px; padding-top: 15px; }
  .card-meta h3 { font-size: 23px; }
  .card-meta small { font-size: 12px; }
  .card-action { font-size: 13px; }
  .card-description { font-size: 16px; }
  .about { grid-template-columns: 1fr; gap: 25px; padding: 45px 0; }
  .about .signature { margin-top: 20px; font-size: clamp(42px, 14vw, 60px); }
  .about .about-copy { padding-top: 0; }
  .about .about-copy > p { font-size: 19px; }
  .craft h3 { font-size: 22px; }
  .craft p { font-size: 15px; }
  .closing { display: block; margin-bottom: 40px; padding: 28px; }
  .closing h2 { font-size: 37px; }
  .closing .button { margin-top: 24px; font-size: 15px; }
  .back { margin: 24px 0; }
  .detail-head { grid-template-columns: 1fr; gap: 24px; margin: 10px 0 25px; }
  .detail-title { gap: 15px; }
  .detail-title h1 { font-size: 42px; }
  .detail-title .app-icon { flex-basis: 62px; width: 62px; height: 62px; border-radius: 12px; }
  .detail-summary { font-size: 20px; }
  .detail-side { padding: 0 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .detail-side dl { font-size: 13px; }
  .detail-tabs { gap: 4px 22px; margin-bottom: 30px; font-size: 13px; }
  .gallery-heading { display: block; }
  .gallery-heading h2 { font-size: 29px; }
  .gallery-heading span { display: block; margin-top: 9px; }
  .gallery-group { margin-bottom: 36px; }
  .gallery-group-heading h3 { font-size: 25px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 30px; }
  .shot:not(.landscape) { max-width: 390px; margin-inline: auto; }
  .shot-image { padding: 14px; }
  .shot-image > img { max-height: 760px; }
  .shot.landscape .shot-image { padding: 8px; }
  .shot strong { font-size: 16px; }
  .shot small { font-size: 15px; }
  .gallery-note { margin-top: 18px; font-size: 13px; }
  .story-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 36px; padding: 40px 0; }
  .story-grid h2 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; gap: 23px; }
  .steps h3 { font-size: 23px; }
  .steps p { font-size: 16px; }
  .step-number { margin-bottom: 7px; font-size: 22px; }
  .engine { grid-template-columns: 1fr; gap: 25px; margin-bottom: 35px; padding: 30px 0; }
  .engine h2 { font-size: 31px; }
  .engine-diagram > div { gap: 8px 12px; }
  .detail-maker { flex-wrap: wrap; align-items: start; padding-bottom: 35px; }
  .detail-maker > div { flex: 1; min-width: 0; }
  .detail-maker .text-link { margin-left: 60px; }
  .detail-related { padding-bottom: 40px; }
  .detail-related h2 { font-size: 29px; }
  footer { gap: 20px; padding: 28px 6%; }
  footer small { width: 100%; margin: 0; }
  dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100svh - 24px); padding: 16px; }
  .lightbox-top { gap: 12px; margin-bottom: 12px; font-size: 13px; }
  .close, .lightbox-nav button { padding: 10px 12px; font-size: 13px; }
  dialog > img, dialog > .viewer-image { height: 58svh; }
  dialog > p { font-size: 14px; }
  .lightbox-nav { gap: 10px 12px; }
  .lightbox-thumbs { grid-template-columns: repeat(auto-fit, minmax(54px, 70px)); gap: 8px; }
  .lightbox-thumbs img { height: 50px; }
}
@media (max-width: 370px) {
  .site-header { gap: 14px; }
  .site-header nav { gap: 8px 12px; font-size: 12px; }
  .original-copy { padding-top: 120px; }
  .card-art { height: 265px; padding: 10px; }
  .phone-pair img { max-height: 240px; }
  .card-meta { gap: 9px; }
  .card-action { font-size: 12px; }
  .detail-title h1 { font-size: 38px; }
  .detail-tabs { gap: 4px 18px; }
  .engine-diagram > div { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[aria-labelledby="gallery-reader"] .shot:not(.landscape){grid-column:1/-1;justify-self:center;max-width:640px}

.viewer-zoom-toggle { min-height:44px; padding:10px 14px; margin-bottom:12px; border:1px solid #102b3540; border-radius:6px; color:var(--ink); background:var(--surface); }
[hidden] { display:none !important; }

/* Project stories and a direct contact route. */
.design-choices { min-width:0; }
.design-choices>h3 { margin:0 0 22px; font-size:22px; }
.design-choices ol { list-style:none; counter-reset:choice; margin:0; padding:0; }
.design-choices li { counter-increment:choice; position:relative; padding:18px 0 18px 42px; border-top:1px solid var(--line); }
.design-choices li::before { content:'0' counter(choice); position:absolute; left:0; top:18px; color:var(--focus); font-size:12px; font-weight:700; }
.design-choices h4 { margin:0 0 7px; font:700 18px/1.3 Nimbus,Arial,sans-serif; }
.design-choices li p { margin:0; color:var(--muted); font-size:15px; line-height:1.6; }
.contact-section { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); gap:70px; padding:52px; margin:0 0 70px; border-radius:4px; background:var(--petrol); color:var(--paper); }
.contact-section h2 { max-width:650px; margin:18px 0 22px; font-size:clamp(34px,3.5vw,52px); }
.contact-section p:not(.eyebrow) { max-width:580px; color:#d1dee0; font-size:17px; }
.contact-action { align-self:center; min-width:0; }
.contact-action .button { display:flex; width:100%; }
.contact-email { display:block; width:fit-content; margin:18px auto 22px; font-size:22px; text-decoration:underline; text-underline-offset:5px; }
.contact-action p { font-size:14px!important; }
.site-header .contact-nav { font-weight:700; }
.detail-maker .text-link { flex-shrink:0; }
@media(max-width:900px){.contact-section{gap:35px;padding:36px;}}
@media(max-width:700px){.contact-section{grid-template-columns:1fr;gap:28px;padding:28px;margin-bottom:40px;}.contact-section h2{font-size:34px;}.contact-section p:not(.eyebrow){font-size:16px;}.contact-action p{max-width:32ch;}.contact-email{margin-left:0;font-size:21px;}.home-view .site-header nav{gap:12px 20px;}.home-view .site-header nav .manifest{display:none;}.site-header nav a{min-height:32px;display:inline-flex;align-items:center;}.design-choices>h3{font-size:23px;}.design-choices li p{font-size:16px;}}

/* Oort: people making useful things. The product is the evidence. */
em { font-style:normal; color:var(--aqua); }
.brand-signature { margin-left:auto; color:var(--warm); font:700 18px/1 Oort,sans-serif; letter-spacing:-.05em; white-space:nowrap; }
.home-view .brand-signature { display:none; }
body:not(.home-view) .site-header { background:var(--petrol); color:var(--paper); max-width:none; border-color:#f4f7f529; }
.catalog { padding:0 0 85px; }
.catalog-intro { background:var(--petrol); color:var(--paper); padding:90px 0 80px; }
.catalog-intro .section-top { align-items:end; gap:60px; margin-bottom:0; }
.catalog-intro h2 { margin-top:24px; font-size:clamp(48px,6vw,88px); line-height:1.02; }
.catalog-context { max-width:420px; padding-bottom:4px; }
.catalog-context p { font-size:20px; line-height:1.5; color:#d1dee0; }
.catalog-context p+p { margin-top:18px; }
.creator-credit { display:inline-block; margin-top:28px; padding-bottom:4px; border-bottom:1px solid var(--aqua); font-size:14px; }
.catalog-products { padding-top:45px; }
.catalog-count { margin-bottom:22px; font-size:14px; color:var(--muted); }
.filters { gap:12px 26px; }
.chip { padding:8px 0; border:0; border-bottom:2px solid transparent; border-radius:0; font-size:15px; }
.chip[aria-pressed='true'] { border-color:var(--ink); background:transparent; color:var(--ink); }
.product-intro { background:var(--petrol); color:var(--paper); padding-bottom:30px; }
.product-intro .back { color:#d1dee0; margin:28px 0 42px; text-decoration:underline; text-underline-offset:4px; }
.product-provenance { color:var(--aqua); }
.product-intro .detail-head { margin:28px 0 38px; gap:70px; }
.product-intro .detail-title h1 { font-size:clamp(52px,7.2vw,108px); line-height:1.02; }
.product-intro .detail-title .eyebrow { color:#d1dee0; }
.product-intro .detail-summary { max-width:760px; font-size:clamp(20px,2vw,28px); color:#e1e9e8; }
.product-intro .detail-side { border-color:#f4f7f540; }
.product-intro .detail-side dt { color:#b8cdce; }
.product-signature { color:var(--warm); text-align:right; font:700 22px/1 Oort,sans-serif; letter-spacing:-.055em; }
.detail-tabs { margin-top:28px; border-top:0; padding-bottom:20px; }
.contact-section { border-radius:0; }
.contact-section h2 { font-size:clamp(48px,5.8vw,80px); line-height:1.02; }
.about { border-top:1px solid var(--line); }
@media(max-width:1000px){.brand-signature{display:none;}.catalog-intro .section-top{gap:35px;}.catalog-context{max-width:340px;}.catalog-context p{font-size:18px;}.product-intro .detail-head{gap:35px;}}
@media(max-width:700px){
.catalog{padding-bottom:50px;}.catalog-intro{padding:54px 0;}.catalog-intro h2{font-size:clamp(42px,10vw,64px);}.catalog-context{margin-top:30px;max-width:100%;}.catalog-context p{font-size:18px;}.catalog-products{padding-top:30px;}.catalog-count{font-size:13px;}.filters{gap:10px 22px;}.chip{font-size:14px;}
.product-intro{padding-bottom:25px;}.product-intro .back{margin:24px 0 32px;}.product-provenance{max-width:32ch;line-height:1.6;font-size:10px;}.product-intro .detail-head{margin-top:22px;gap:25px;}.product-intro .detail-title h1{font-size:clamp(38px,10vw,64px);}.product-intro .detail-title .app-icon{width:48px;height:48px;flex-basis:48px;}.product-intro .detail-side{border-bottom:0;padding:0;}.product-signature{font-size:19px;}.contact-section h2{font-size:clamp(42px,12vw,58px);}
}

/* Shared Oort page geometry, from the first screen to the footer. */
:root { --page-max:1600px; --page-gutter:clamp(22px,4.5vw,72px); }
.wrap { width:100%; max-width:var(--page-max); padding-inline:var(--page-gutter); }
.site-header, .home-view .site-header { max-width:none; padding-inline:max(var(--page-gutter),calc((100% - var(--page-max))/2 + var(--page-gutter))); }
.original-copy { width:100%; max-width:var(--page-max); margin-inline:auto; padding-left:var(--page-gutter); padding-right:var(--page-gutter); }
.arrival-credit { left:max(var(--page-gutter),calc((100% - var(--page-max))/2 + var(--page-gutter))); }
footer { max-width:var(--page-max); padding-inline:var(--page-gutter); }
.catalog-intro .section-top { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
.catalog-context { justify-self:end; }
.contact-section { column-gap:clamp(28px,4vw,64px); }
@media(max-width:700px){
:root { --page-gutter:6vw; }
.catalog-intro .section-top { display:block; }
.catalog-context { margin-top:28px; }
.original-copy { padding-left:var(--page-gutter); padding-right:var(--page-gutter); }
.site-header nav { column-gap:14px; }
.home-view .site-header nav .manifest { display:inline-flex; font-size:13px; }
.home-view .site-header nav { column-gap:18px; }
.contact-section { padding:26px; }
}
