/* Nordic 3.0 product system. Original marks are used without alteration. */
:root{color-scheme:dark;--bg:#111b20;--paper:#eae5d9;--muted:#afbfba;--line:#425358;--mint:#b4cdbb;--bronze:#bca78a;--accent:#9cbebc;--sans:system-ui,-apple-system,'Segoe UI',sans-serif;--serif:Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--paper);font-family:var(--sans)}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--mint);outline-offset:5px}button{color:inherit}img{max-width:100%;height:auto}h1,h2,h3,p{overflow-wrap:break-word}p{line-height:1.8;color:var(--muted)}.wrap{width:min(1210px,calc(100% - 64px));margin-inline:auto}.eyebrow{font-size:.7rem;letter-spacing:.19em;text-transform:uppercase;font-weight:700;color:var(--bronze)}.skip{position:fixed;top:-100px;left:16px;z-index:300;background:var(--mint);color:var(--bg);padding:12px}.skip:focus{top:10px}
.nav-wrap{position:fixed;z-index:100;top:22px;inset-inline:0;display:flex;justify-content:center;pointer-events:none}.nav{pointer-events:auto;display:flex;align-items:center;gap:7px;padding:8px 9px 8px 20px;background:#162227eb;backdrop-filter:blur(22px);border:1px solid #6c7f795e;box-shadow:0 12px 30px #0005;border-radius:60px;max-width:calc(100% - 24px)}.logo{font-size:.8rem;letter-spacing:.19em;font-weight:800;margin-right:18px}.logo:before{content:'✦';color:var(--bronze);margin-right:9px}.nav a:not(.logo){font-size:.81rem;padding:12px 16px;border-radius:35px}.nav a:hover,.nav a[aria-current]{background:var(--mint);color:#142621}.language-picker{display:flex;gap:2px;border-left:1px solid #6c7f795e;margin-left:8px;padding-left:10px}.language-picker button{font:700 .72rem var(--sans);border:0;background:none;color:#c0cec8;padding:12px 10px;border-radius:30px;min-height:44px;min-width:44px}.language-picker button[aria-pressed=true]{background:var(--mint);color:#142621}
.product-hero{padding:172px 0 92px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:65px;align-items:center;min-height:710px}.product-id{display:flex;align-items:center;gap:16px;margin-bottom:32px}.product-icon{width:64px;height:64px;object-fit:contain;border-radius:15px;flex:none}.product-name{font-size:1rem;letter-spacing:.12em;font-weight:750}.status{display:inline-block;font-size:.69rem;border:1px solid #788e85;padding:7px 11px;border-radius:24px;margin-top:8px;color:#d5e2d9}.product-hero h1{font:500 clamp(2.8rem,5.5vw,5.7rem)/1.04 var(--sans);letter-spacing:-.065em;margin:18px 0 26px}.product-hero .lede{max-width:47ch;font-size:1.06rem}.text-link{display:inline-flex;align-items:center;gap:15px;min-height:44px;border-bottom:1px solid var(--accent);font-size:.9rem;margin-top:12px}.product-visual{min-width:0;position:relative}.concept-label{font-size:.7rem;color:var(--muted);letter-spacing:.06em;line-height:1.5;margin-top:26px}.statement{font:400 clamp(2.5rem,5vw,5.4rem)/1.13 var(--serif);letter-spacing:-.045em;color:var(--accent);margin:0}.statement span{display:block}.statement em{font-weight:400}.visual-line{height:1px;background:linear-gradient(90deg,var(--accent),transparent);margin:24px 0}.frame-band{height:24px;border-radius:20px;background:linear-gradient(90deg,#345552,var(--accent),#345552);margin:25px 0;position:relative}.frame-band:after{content:'';position:absolute;left:42%;top:-12px;height:48px;border-left:2px solid var(--paper)}.frame-labels{display:flex;justify-content:space-between;gap:12px;font-size:.8rem;color:var(--muted)}.agreement-line{border-left:1px solid var(--accent);padding-left:32px;margin:20px 0}.agreement-line p{position:relative;padding:14px 0;margin:0}.agreement-line p:before{content:'';position:absolute;left:-38px;top:26px;width:11px;height:11px;border:1px solid var(--accent);background:var(--bg);border-radius:50%}.agreement-line p:nth-child(2){color:var(--paper);font-size:1.35rem}.wardrobe-words{display:grid;gap:0;font:400 clamp(3rem,6vw,6rem)/1.3 var(--serif);color:var(--accent)}.wardrobe-words span{border-bottom:1px solid var(--line)}.wardrobe-words span:nth-child(2){text-align:center;font-style:italic;color:var(--paper)}.wardrobe-words span:last-child{text-align:right}.family-words{display:grid;gap:20px}.family-words p{margin:0;font:400 clamp(2rem,3.5vw,3.8rem)/1.2 var(--serif);color:var(--paper)}.family-words p:nth-child(2){padding-left:12%;color:var(--accent)}.family-words p:nth-child(3){padding-left:24%}.word-study{background:#e8e4d5;color:#202f32;border-radius:3px;padding:clamp(24px,4vw,55px);transform:rotate(-2deg)}.word-study p{color:#334c51}.word-study .statement{color:#243c41;font-size:clamp(2.7rem,4.5vw,4.8rem)}.word-study small{font-size:.78rem}.hero-phones{display:flex;align-items:center;justify-content:center;gap:18px;padding:15px 0}.hero-phones img{width:48%;max-width:230px;border:5px solid #0a1115;border-radius:27px;box-shadow:0 24px 40px #0004;object-fit:contain}.hero-phones img:first-child{transform:translateY(22px) rotate(-5deg)}.hero-phones img:last-child{transform:translateY(-12px) rotate(5deg)}
.origin{border-top:1px solid var(--line);padding:76px 0;display:grid;grid-template-columns:.65fr 1.35fr;gap:70px}.origin h2,.section-title{font:400 clamp(2rem,3.9vw,3.8rem)/1.13 var(--serif);letter-spacing:-.04em;margin:0 0 24px;max-width:22ch}.origin p{max-width:62ch}.principle{font:400 clamp(1.2rem,2vw,1.7rem)/1.55 var(--serif);color:var(--accent);border-left:2px solid var(--accent);padding-left:22px;margin:30px 0 0}.feature-list{border-top:1px solid var(--line);margin:0 0 90px}.feature{display:grid;grid-template-columns:.25fr .8fr 1fr;gap:32px;padding:31px 0;border-bottom:1px solid var(--line);align-items:baseline}.feature .number{font-size:.8rem;color:var(--accent)}.feature h3{font-weight:500;letter-spacing:-.03em;font-size:1.45rem;margin:0}.feature p{margin:0;max-width:46ch}.gallery-section{padding:38px 0 80px}.gallery-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.gallery-top p{max-width:46ch;font-size:.9rem}.gallery-controls{display:flex;gap:8px}.gallery-controls button,.dialog-controls button{width:48px;height:48px;border-radius:50%;border:1px solid #70877d;background:transparent}.screenshot-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 2px 25px;overscroll-behavior-inline:contain;scrollbar-color:var(--accent) var(--bg)}.screenshot{margin:0;flex:0 0 min(30%,330px);min-width:0;scroll-snap-align:start}.screenshot button{display:block;width:100%;padding:0;background:none;border:0;position:relative;border-radius:26px}.screenshot img{display:block;width:100%;aspect-ratio:var(--image-ratio,1284/2778);object-fit:contain;background:#18272c;border:6px solid #070f13;border-radius:26px}.screenshot .expand{position:absolute;right:14px;bottom:14px;background:#101a20ed;border:1px solid #718a80;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.screenshot h3{font-size:1rem;line-height:1.5;margin:20px 0 7px}.screenshot figcaption p{font-size:.83rem;margin:0}.screenshot[data-format=landscape]{flex-basis:min(78%,800px)}.screenshot[data-format=square]{flex-basis:min(45%,450px)}.screenshot[data-format=landscape] img,.screenshot[data-format=square] img{border-radius:12px}.image-failed{display:none;border:1px dashed #6e847b;min-height:180px;place-content:center;padding:24px;color:var(--muted);text-align:center;line-height:1.6}.screenshot.unavailable button{display:none}.screenshot.unavailable .image-failed{display:grid}.empty-gallery{border-block:1px solid var(--line);padding:48px 0;display:grid;grid-template-columns:1fr 1fr;gap:30px}.empty-gallery strong{font:400 1.6rem var(--serif)}.empty-gallery p{margin:0;max-width:46ch;font-size:.9rem}.availability{border-top:1px solid var(--line);padding:70px 0;display:grid;grid-template-columns:1fr 1fr;gap:50px}.availability h2{font:400 clamp(2rem,3vw,3rem) var(--serif);margin:0 0 20px}.availability p{max-width:48ch}.actions{display:flex;gap:24px;flex-wrap:wrap}.footer{padding:30px 0 45px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;font-size:.8rem;color:var(--muted)}.footer-links{display:flex;gap:22px}.footer a{text-decoration:underline;text-underline-offset:4px}.siblings{display:flex;gap:12px 22px;flex-wrap:wrap;margin-bottom:50px}.siblings a{font-size:.8rem;min-height:44px;display:flex;align-items:center;border-bottom:1px solid var(--line)}
.lightbox{width:min(1000px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px;background:#142128;color:var(--paper);border:1px solid #748b80;border-radius:18px}.lightbox::backdrop{background:#050b10e8;backdrop-filter:blur(8px)}.lightbox-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.lightbox-top h2{font-size:1rem;margin:0}.lightbox button{min-width:44px;min-height:44px}.close-dialog{border:1px solid #70877d;background:transparent;border-radius:30px;padding:8px 16px}.lightbox img{display:block;max-height:calc(100dvh - 220px);max-width:100%;width:auto;margin:auto;object-fit:contain}.lightbox-caption{text-align:center;font-size:.85rem}.dialog-controls{display:flex;justify-content:center;gap:18px;align-items:center}.lightbox-error{display:none;text-align:center;padding:45px 20px}.lightbox.has-error img{display:none}.lightbox.has-error .lightbox-error{display:block}body:has(dialog[open]){overflow:hidden}
body[data-product=datum]{--accent:#a3c4d0}body[data-product=ramar]{--accent:#a4c9bb}body[data-product=kollpunkt]{--accent:#d3b3c3}body[data-product=passar]{--accent:#afc3df}body[data-product=passar-mini]{--accent:#c5d0ac}body[data-product=orda]{--accent:#d5c29b}body[data-product=orda] .product-hero{grid-template-columns:1.15fr 1fr}body[data-product=kollpunkt] .product-hero h1{font-size:clamp(2.7rem,4.8vw,5rem)}
@media(max-width:1024px){.product-hero{gap:35px}.logo{margin-right:0}.nav a:not(.logo){padding-inline:12px}.origin{gap:35px}.feature{grid-template-columns:.15fr .9fr 1fr;gap:20px}}
@media(max-width:767px){.wrap{width:calc(100% - 36px)}.product-hero,body[data-product=orda] .product-hero{grid-template-columns:1fr;gap:50px;padding:150px 0 70px}.product-hero h1{font-size:clamp(2.8rem,9vw,4.5rem)}.product-visual{max-width:520px;width:100%;margin:auto}.hero-phones{max-width:400px;margin:auto}.origin{grid-template-columns:1fr;gap:24px;padding:50px 0}.feature{grid-template-columns:35px 1fr;gap:14px}.feature p{grid-column:2}.gallery-top{align-items:start;flex-wrap:wrap}.screenshot{flex-basis:68%}.screenshot[data-format=landscape]{flex-basis:92%}.screenshot[data-format=square]{flex-basis:82%}.empty-gallery,.availability{grid-template-columns:1fr;gap:20px}.footer{flex-direction:column}.frame-labels{font-size:.75rem}.nav-wrap{top:10px}.nav{padding:6px 8px;gap:1px;flex-wrap:wrap;justify-content:center;border-radius:24px;width:max-content;max-width:calc(100% - 20px)}.logo{font-size:.72rem;letter-spacing:.1em;padding:12px 4px}.nav a:not(.logo){padding:12px 10px;font-size:.75rem}.language-picker{margin-left:3px;padding-left:5px}.language-picker button{padding:10px 8px}.nav .section-links{display:flex}.product-hero .lede{font-size:1rem}}
@media(max-width:430px){.nav{gap:0}.nav .logo{flex:1;text-align:center}.nav .section-links{order:3;width:100%;justify-content:center}.nav .section-links a{padding:10px 16px}.nav .language-picker{border-left:0}.product-hero{padding-top:167px}.screenshot{flex-basis:84%}.hero-phones{gap:12px}.statement{font-size:2.5rem}.feature h3{font-size:1.25rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.word-study,.hero-phones img{transform:none}}

.nav a{min-height:44px;display:flex;align-items:center}.nav .logo{justify-content:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.section-links{display:flex;align-items:center}

/* Issue #7: shared readability and product identity refinements. */
.eyebrow{font-size:.8rem;letter-spacing:.13em}.concept-label{font-size:.875rem;letter-spacing:0}.status{font-size:.8rem}.screenshot figcaption p{font-size:.95rem}.footer,.siblings a{font-size:.95rem}.footer a{display:inline-flex;align-items:center;min-height:44px}.text-link{min-height:44px}.frame-labels{font-size:.9rem}.product-hero{min-height:0}.product-visual{border-top:1px solid var(--accent);padding-top:28px}.product-id{flex-wrap:wrap}.product-id>div{min-width:0}.product-name{overflow-wrap:anywhere}.status{max-width:100%;white-space:normal}
body[data-product=passar] .product-visual{border-top-width:3px}body[data-product=passar-mini] .family-words{padding-left:20px;border-left:3px solid var(--accent)}
@media(max-width:767px){.product-hero,body[data-product=orda] .product-hero{padding-bottom:45px;gap:30px}.product-hero h1{letter-spacing:-.05em}.origin{padding-block:38px}.feature-list{margin-bottom:40px}.gallery-section{padding-bottom:45px}.availability{padding-block:45px}.nav a:not(.logo){font-size:.875rem}.concept-label{margin-top:18px}.frame-labels{font-size:.8rem}}
/* Reserve room for rotated DATUM hero images at narrow scrollbar viewports. */
@media(max-width:430px){.hero-phones{padding:28px 14px;gap:10px}.hero-phones img{width:calc((100% - 10px)/2)}}

/* REGENTER: warm historical atlas, scoped to its product. */
[data-product="regenter"]{--accent:#c1a474;--muted:#c1b9a9}
[data-product="regenter"] .product-name,[data-product="regenter"] h1,[data-product="regenter"] h2{font-family:Georgia,"Times New Roman",serif}
[data-product="regenter"] .product-visual{background:#25231f;border:1px solid #6b5d45;padding:clamp(18px,3vw,40px);border-radius:3px}
.regenter-masthead{font-family:Georgia,serif;font-size:22px;letter-spacing:.12em;color:#eee4d3;border-bottom:1px solid #8d795a;padding-bottom:18px}.regenter-masthead span{display:block;font-size:14px;letter-spacing:.03em;color:#c1b9a9;margin-top:6px}
.regenter-atlas img{display:block;width:100%;height:auto;border:1px solid #695c47;border-radius:2px}
[data-product="regenter"] .product-hero{grid-template-columns:1fr 1.15fr}
[data-product="regenter"] .screenshot[data-format="landscape"]{flex-basis:min(720px,85vw)}
@media(max-width:760px){[data-product="regenter"] .product-hero{grid-template-columns:1fr}.regenter-masthead{font-size:19px}}

/* 3.1 product portfolio. Scoped so information pages keep their own design. */
.portfolio-product {
  --panel: #1c292d;
  --ink: #f3eee3;
  --hairline: #ffffff29;
  --gutter: clamp(1.25rem, 4.4vw, 4rem);
  background: var(--bg);
  color: var(--ink);
}
.portfolio-product .wrap { width: min(1264px, calc(100% - 2 * var(--gutter))); }
.portfolio-product .product-hero {
  padding: 150px 0 68px;
  gap: clamp(1.75rem, 5vw, 5rem);
}
.portfolio-product .hero-copy { min-width: 0; }
.portfolio-product .product-id { gap: 12px; margin: 0 0 30px; }
.portfolio-product .product-icon { width: 48px; height: 48px; border-radius: 11px; }
.portfolio-product .product-name { font-size: .94rem; letter-spacing: .12em; }
.product-edition { color: var(--accent); margin: 3px 0 0; font-size: .84rem; line-height: 1.4; }
.portfolio-product .product-hero h1 {
  font-size: clamp(2.75rem, 5.45vw, 6.25rem);
  line-height: .99;
  letter-spacing: -.06em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.portfolio-product .lede { margin: 0; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
.portfolio-product .hero-actions .text-link {
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--bg);
  background: var(--accent);
  font-weight: 700;
}
.portfolio-product .hero-actions a:hover { background: var(--ink); border-color: var(--ink); }
.portfolio-product .status { margin: 0; color: var(--muted); border-color: var(--hairline); }
.portfolio-product .product-visual {
  max-width: none;
  margin: 0;
  padding: clamp(22px, 3.5vw, 48px);
  border: 1px solid var(--hairline);
  background: var(--panel);
}
.portfolio-product .concept-label { margin: 20px 0 0; line-height: 1.45; font-size: .8rem; }
.portfolio-product .origin,
.portfolio-product .usage { padding: clamp(34px, 6vw, 78px) 0; border-top: 1px solid var(--hairline); }
.portfolio-product .origin { grid-template-columns: minmax(130px, .55fr) minmax(0, 1.45fr); }
.portfolio-product .origin .eyebrow,
.portfolio-product .usage .eyebrow { margin: 0; }
.usage { display: grid; grid-template-columns: minmax(130px,.55fr) minmax(0,1.45fr); gap: 24px; }
.usage h2,.portfolio-product .feature-list > h2 { font: 400 clamp(1.85rem,3.2vw,3.2rem)/1.1 var(--serif); margin: 0 0 14px; }
.usage div p { margin: 0; max-width: 60ch; }
.portfolio-product .feature-list { margin: 0 0 clamp(36px,5vw,68px); border-color: var(--hairline); padding-top: 34px; }
.portfolio-product .feature { border-color: var(--hairline); }
.portfolio-product .availability { border-color: var(--hairline); }
.portfolio-product .availability h2 { margin-bottom: 0; }
.portfolio-product .actions { gap: 6px 22px; }
.portfolio-product .siblings a:hover, .portfolio-product .availability a:hover { color: var(--accent); }
.portfolio-product .gallery-section { border-top: 1px solid var(--hairline); padding-block: 32px 48px; }
.portfolio-product .footer-links { flex-wrap: wrap; }
.portfolio-product a:focus-visible, .portfolio-product button:focus-visible { outline-offset: 3px; }
.portfolio-product .screenshot-track button:focus-visible { outline-offset: -4px; }

/* DATUM: two overlapping perspectives on a photographic-blue stage. */
.portfolio-product[data-product="datum"] { --bg: #101b24; --panel: #1b3444; --accent: #acd4e4; }
.portfolio-product[data-product="datum"] .product-hero { grid-template-columns: 1fr 1fr; }
.portfolio-product[data-product="datum"] .product-visual {
  background: radial-gradient(ellipse at 65% 20%, #38566b, #1b3444 57%, #122632);
  border-radius: 28px 28px 5px 5px;
  padding: clamp(18px,3.2vw,42px);
}
.portfolio-product .hero-phones { gap: 6%; padding: 8px 5%; }
.portfolio-product .hero-phones img { width: 44%; }
.portfolio-product .hero-phones img:first-child { transform: translateY(10px) rotate(-4deg); z-index: 1; }
.portfolio-product .hero-phones img:last-child { transform: translateY(-8px) rotate(5deg); }
.portfolio-product[data-product="datum"] .concept-label { text-align: center; margin-top: 28px; }

/* REGENTER: an atlas cover with an authenticated, captioned timeline plate. */
.portfolio-product[data-product="regenter"] {
  --bg: #211f1c;
  --panel: #2d2923;
  --ink: #f3ead8;
  --paper: #f3ead8;
  --accent: #dcc08b;
  --muted: #d1c3ae;
  --hairline: #927d5d66;
  background: radial-gradient(ellipse at 80% 16%, #3d3227, transparent 54rem), var(--bg);
}
.portfolio-product[data-product="regenter"] .product-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .94fr) minmax(0,1.06fr);
}
.portfolio-product[data-product="regenter"] .product-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 105px 0 22px;
  opacity: .16;
  background: linear-gradient(90deg,#211f1c 10%,transparent 76%),url("assets/regenter-screens/atlas-dark-852.webp") right center / 78% auto no-repeat;
  mask-image: linear-gradient(transparent,#000 22% 76%,transparent);
}
.portfolio-product[data-product="regenter"] h1 { font-weight: 400; letter-spacing: -.042em; }
.portfolio-product[data-product="regenter"] .product-visual { border-color: #9a825d; padding: 12px; }
.atlas-plate { margin: 0; padding: clamp(12px,2vw,24px); background: #e7d6b8; color: #392d20; }
.atlas-plate-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font: 700 .72rem/1.4 var(--sans);
  letter-spacing: .17em;
  padding-bottom: 10px;
  border-bottom: 1px solid #8c7658;
}
.atlas-plate img { display: block; width: 100%; margin-top: 12px; }
.atlas-plate figcaption { margin-top: 10px; font-size: .78rem; line-height: 1.4; }

/* RAMAR: a horizontal range and a row of practical capabilities. */
.portfolio-product[data-product="ramar"] { --bg: #172823; --panel: #203a30; --accent: #c9d9ab; }
.portfolio-product[data-product="ramar"] .product-visual { border-radius: 4px 28px 4px 4px; border-top-color: #ca9e77; }
.portfolio-product[data-product="ramar"] .statement { font-size: clamp(1.85rem,3.7vw,3.6rem); }
.portfolio-product .frame-band { background: linear-gradient(90deg,#537b65,#bfd5a2 55%,#a67754); border-radius: 3px; }
.portfolio-product .frame-band::after { left: 50%; }
.portfolio-product[data-product="ramar"] .feature-list,
.portfolio-product[data-product="orda"] .feature-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 28px; }
.portfolio-product[data-product="ramar"] .feature-list h2,
.portfolio-product[data-product="orda"] .feature-list h2 { grid-column: 1/-1; }
.portfolio-product[data-product="ramar"] .feature,
.portfolio-product[data-product="orda"] .feature { display: grid; grid-template-columns: 1fr; gap: 10px; align-content: start; padding: 20px 0; }

/* KOLLPUNKT: a ledger, with the decision point visually singled out. */
.portfolio-product[data-product="kollpunkt"] { --bg: #201e2a; --panel: #2e2938; --accent: #edc7d8; }
.portfolio-product[data-product="kollpunkt"] .product-visual { padding-left: clamp(22px,4vw,60px); border-left: 4px solid #b885a3; }
.portfolio-product[data-product="kollpunkt"] .statement { font-size: clamp(2rem,4vw,4rem); }
.portfolio-product .agreement-line { margin-block: 22px 0; }
.portfolio-product .agreement-line p { border-bottom: 1px solid var(--hairline); }
.portfolio-product .agreement-line p:nth-child(2) { font-weight: 700; }
.portfolio-product .agreement-line p:nth-child(2)::before { background: var(--accent); }

/* PASSAR: garment-measurement marks, a quiet blue lookbook. */
.portfolio-product[data-product="passar"] { --bg: #182536; --panel: #223951; --accent: #c0d6ef; }
.portfolio-product[data-product="passar"] .product-visual { border-radius: 0; }
.fit-plate { position: relative; }
.fit-axis {
  height: 20px;
  border-bottom: 1px solid #a7c2d5;
  background: repeating-linear-gradient(90deg,#a7c2d5 0 1px,transparent 1px 10%);
}
.plate-kicker { color: var(--accent); font-size: .8rem; margin: 0 0 12px; }
.portfolio-product .wardrobe-words { font-size: clamp(2rem,4.5vw,4.6rem); }

/* PASSAR Mini: a photographed app screen beside the three everyday questions. */
.portfolio-product[data-product="passar-mini"] { --bg: #2a2922; --panel: #3b382c; --accent: #e2d5a4; }
.portfolio-product[data-product="passar-mini"] .product-hero { grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); }
.portfolio-product[data-product="passar-mini"] .product-visual { border-radius: 28px 28px 8px 28px; }
.mini-plate { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: clamp(12px,2vw,26px); align-items: center; margin: 0; }
.mini-screen img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 10px 24px #0004; }
.mini-plate .family-words { gap: 10px; }
.mini-plate .family-words p { padding: 0; font-size: clamp(1.25rem,2.5vw,2.75rem); }
.mini-plate .concept-label { display: block; }

/* ORDA: ink and paper, with the word taking precedence over ornament. */
.portfolio-product[data-product="orda"] { --bg: #242632; --panel: #eae8df; --accent: #ded6a7; }
.portfolio-product[data-product="orda"] .product-visual { background: transparent; border: 0; padding: 0; }
.portfolio-product[data-product="orda"] .word-study { transform: none; border-radius: 0; background: var(--panel); border-left: 5px solid #a9aedc; }
.portfolio-product[data-product="orda"] .word-study .statement { color: #283358; font-size: clamp(1.9rem,4.4vw,4.6rem); letter-spacing: -.04em; margin-top: 18px; }
.portfolio-product[data-product="orda"] .word-study small { color: #283358; font-weight: 700; }
.portfolio-product[data-product="orda"] .word-study p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .portfolio-product .product-hero,
  .portfolio-product[data-product] .product-hero { grid-template-columns: 1fr; padding: 137px 0 38px; }
  .portfolio-product .product-hero h1 { font-size: clamp(2.5rem,9vw,4.5rem); }
  .portfolio-product .product-id { margin-bottom: 20px; }
  .portfolio-product .hero-actions { margin-top: 18px; }
  .portfolio-product .origin,.portfolio-product .usage { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-product[data-product="regenter"] .product-hero::before { content: none; }
  .portfolio-product[data-product="regenter"] .product-visual { padding: 8px; }
  .portfolio-product[data-product="datum"] .product-visual { max-width: 520px; }
  .portfolio-product[data-product="ramar"] .feature-list,
  .portfolio-product[data-product="orda"] .feature-list { grid-template-columns: 1fr; }
  .portfolio-product[data-product="ramar"] .feature p,
  .portfolio-product[data-product="orda"] .feature p { grid-column: auto; }
}
@media (max-width: 430px) {
  .portfolio-product .product-hero,
  .portfolio-product[data-product] .product-hero { padding-top: 137px; }
  .portfolio-product .frame-labels { gap: 5px; font-size: .76rem; }
  .portfolio-product .nav a:not(.logo) { padding-inline: 12px; }
}
@media (min-width: 1024px) {
  .portfolio-product[data-product="datum"] .product-hero h1 {
    font-size: clamp(3rem, 4.8vw, 5.5rem);
    text-wrap: initial;
  }
}

/* REGENTER and ORDA have independent page openings. The portfolio navigation and footer stay shared. */
.portfolio-product:is([data-product="regenter"],[data-product="orda"]) main.wrap { width: 100%; }
.portfolio-product:is([data-product="regenter"],[data-product="orda"]) main > :not(.atlas-cover,.orda-cover,.atlas-index) {
  width: min(1264px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.portfolio-product .atlas-cover {
  background: #24170f;
  background-image: linear-gradient(90deg, #1a100be8, #21140bd1 37%, #2b1b1059 68%, #27181026),
    url("assets/regenter-screens/atlas-cover-wide.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #b68950;
  color: #fff0d1;
}
.atlas-cover-inner {
  width: min(1160px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 122px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 105px);
  align-items: center;
}
.atlas-overline {
  margin: 0 0 20px;
  color: #f3d39e;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
}
.atlas-cover h1 {
  margin: 0;
  color: #ffe1a7;
  font: 400 clamp(3.2rem, 7vw, 7.1rem)/.98 Georgia, serif;
  letter-spacing: -.055em;
}
.atlas-cover h1 em {
  display: block;
  font-size: .62em;
  font-weight: 400;
  letter-spacing: -.035em;
  margin-top: .1em;
}
.atlas-deck {
  color: #fff0d1;
  font: 400 clamp(1.45rem, 3vw, 2.5rem)/1.16 Georgia, serif;
  margin: 25px 0 0;
}
.atlas-intro {
  color: #f5e9d6;
  max-width: 39ch;
  margin: 14px 0 22px;
  line-height: 1.6;
}
.atlas-cta,.orda-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-underline-offset: .25em;
}
.atlas-cta { padding: 0 17px; border: 1px solid #e5bd7d; color: #fff0d1; background: #26170f; }
.atlas-cta:hover,.orda-cta:hover { text-decoration: underline; }
.atlas-device {
  margin: 0;
  width: min(77%, 280px);
  justify-self: center;
}
.atlas-device-frame {
  background: #191510;
  border: 1px solid #e3c99c;
  border-radius: 27px;
  padding: 9px;
  box-shadow: 0 0 0 3px #2b221a, 18px 25px 45px #130b08c4;
  transform: rotate(7deg);
  overflow: hidden;
}
.atlas-device img { display: block; width: 100%; border-radius: 19px; }
.atlas-device figcaption { margin-top: 23px; font-size: .78rem; color: #ffefce; text-align: center; background: #26170f; padding: 5px 8px; }
.atlas-index {
  list-style: none;
  margin: 0;
  padding: 0 max(var(--gutter), calc((100% - 1160px) / 2));
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  background: #2b2118;
  border-bottom: 1px solid #8b653d;
}
.atlas-index li {
  padding: 20px clamp(10px, 2vw, 30px);
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 1.4vw, 18px);
}
.atlas-index li + li { border-left: 1px solid #806443; }
.atlas-index-no { color: #deb879; font: italic 1.4rem Georgia,serif; }
.atlas-index strong { color: #ffedca; }
.atlas-index p { margin: 4px 0 0; line-height: 1.4; }
.atlas-spread {
  padding-block: clamp(35px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr);
  align-items: center;
  gap: clamp(20px, 4.4vw, 70px);
}
.atlas-spread h2 { font: 400 clamp(2.25rem,4.3vw,4rem)/1.02 Georgia,serif; margin: 0; }
.atlas-spread-copy p:last-child { margin-bottom: 0; }
.atlas-spread figure { margin: 0; padding: clamp(10px, 1.8vw, 23px); color: #392d20; background: #e7d6b8; }
.atlas-spread img { display: block; width: 100%; }
.atlas-spread figcaption { margin-top: 10px; font-size: .8rem; }

/* ORDA opens as a word entry on paper. The app story starts after the entry. */
.orda-cover {
  color: #172446;
  background: #f0eee7;
  border-bottom: 5px solid #304995;
}
.orda-entry {
  width: min(1060px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(135px, 13vw, 188px) 0 clamp(48px, 8vw, 102px);
}
.orda-entry-label,.orda-example-label {
  color: #304995;
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.orda-entry-label { margin: 0 0 18px; }
.orda-entry h1 {
  margin: 0;
  color: #1f3472;
  font: 400 clamp(3rem, 12vw, 11rem)/.92 Georgia, serif;
  letter-spacing: -.075em;
}
.orda-word-class { margin: 14px 0 0; color: #384977; font: italic 1.25rem Georgia, serif; }
.orda-definition { color: #172446; max-width: 31ch; font: 400 clamp(1.55rem, 3vw, 2.65rem)/1.18 Georgia, serif; margin: 22px 0 26px; }
.orda-example {
  max-width: 61ch;
  border-top: 1px solid #8b96b2;
  padding-top: 14px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: baseline;
}
.orda-example p { margin: 0; color: #2b3654; line-height: 1.55; }
.orda-cta { margin-top: 16px; color: #263f8d; }
.orda-cover a:focus-visible { outline: 3px solid #263f8d; }
.portfolio-product[data-product="orda"] .origin { border-top: 0; }
@media (max-width: 700px) {
  .portfolio-product .atlas-cover {
    background-image: linear-gradient(180deg, #1a100bf0, #25180bbd 44%, #26181024 75%, #23160fe0), url("assets/regenter-screens/atlas-cover-mobile.webp");
    background-position: center;
  }
  .atlas-cover-inner { grid-template-columns: 1fr; padding: 132px 0 28px; gap: 24px; }
  .atlas-cover h1 { font-size: clamp(2.65rem, 11.5vw, 5rem); }
  .atlas-cover h1 em { display: inline; white-space: nowrap; }
  .atlas-overline { margin-bottom: 12px; }
  .atlas-deck { margin-top: 16px; }
  .atlas-intro { margin: 10px 0 14px; }
  .atlas-device { width: min(52%, 220px); justify-self: end; margin-right: 9%; }
  .atlas-device-frame { transform: rotate(5deg); border-radius: 20px; padding: 6px; }
  .atlas-device img { border-radius: 14px; }
  .atlas-device figcaption { margin-top: 16px; }
  .atlas-index { grid-template-columns: 1fr; }
  .atlas-index li { padding: 10px 0; }
  .atlas-index li + li { border-left: 0; border-top: 1px solid #806443; }
  .atlas-spread { grid-template-columns: 1fr; }
  .orda-example { grid-template-columns: 1fr; gap: 5px; }
}
