/* A shared centered rhythm for editable public headings and product imagery. */
.catalog-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;margin:0 auto 32px;max-width:960px}
.catalog-heading>div,.catalog-heading h2,.catalog-heading p{width:100%;margin-left:auto;margin-right:auto}
.catalog-heading h2{font-size:clamp(30px,4.3vw,56px);line-height:1.12;text-wrap:balance;overflow-wrap:anywhere}
.catalog-heading p{max-width:660px;line-height:1.65}
.catalog-intro{text-align:center;margin-inline:auto}.catalog-intro h1,.catalog-intro>p{margin-inline:auto!important;text-wrap:balance}
.portal-reference-copy{text-align:center;margin-inline:auto;max-width:1100px;padding-inline:24px}
.portal-reference-copy h1,.portal-reference-copy h1 em,.portal-reference-description,.portal-hero-note{margin-left:auto;margin-right:auto;text-wrap:balance}
.portal-reference-copy h1{line-height:1.08;overflow-wrap:anywhere}.portal-reference-description{border-left:0;padding-left:0;max-width:660px}
.portal-hero-actions{justify-content:center}.portal-reference-shade{background:linear-gradient(0deg,#070d0f 0%,rgba(7,13,15,.35) 10%,transparent 28%),radial-gradient(ellipse at 50% 45%,rgba(3,8,5,.30),transparent 65%)}
.catalog-card-copy{text-align:center;min-width:0}.catalog-card-copy h3{font-size:clamp(24px,2.5vw,32px);line-height:1.2;text-wrap:balance;overflow-wrap:anywhere;margin:12px auto 20px;max-width:30ch;letter-spacing:.01em}
.catalog-card-copy .eyebrow{line-height:1.5;overflow-wrap:anywhere}.catalog-card-copy p{line-height:1.55}
.catalog-cover,.catalog-cover.magazine-cover{max-height:none;background:#101718}
.catalog-cover img,.magazine-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.catalog-steps{text-align:center}.catalog-steps h3{text-wrap:balance;overflow-wrap:anywhere}
.photo-heading h1,#photo-title{line-height:1.15;text-wrap:balance;overflow-wrap:anywhere;text-align:center}
.photo-figure,.magazine-product .photo-figure{height:auto;aspect-ratio:auto}
.photo-figure img,.magazine-product .photo-figure img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:600px){.catalog-heading{margin-bottom:24px}.portal-reference-copy{padding:48px 20px 130px}.portal-reference-copy h1{font-size:clamp(34px,9vw,52px)}.catalog-card-copy{padding:22px 18px}.catalog-cover.magazine-cover{max-height:none}.catalog-heading>span{font-size:14px}.portal-hero-actions{gap:12px}}
/* Branded extraterrestrial display surrounds; original photography stays intact. */
.catalog-cover,.catalog-cover.magazine-cover,.photo-figure,.magazine-product .photo-figure{
 position:relative;isolation:isolate;box-sizing:border-box;aspect-ratio:auto!important;height:auto;max-height:none;
 padding:10% 12% 15%;overflow:hidden;
 background:#07120d url('/images/portal-alien-scenario.png') center center/100% 100% no-repeat;
 border:1px solid #557b31;box-shadow:inset 0 0 25px #b7f51a16;
}
.catalog-cover::after,.photo-figure::after{content:'';position:absolute;inset:8px;pointer-events:none;border:1px solid #b7f51a50;border-radius:8px;z-index:2}
.catalog-cover img,.catalog-cover.magazine-cover img,.photo-figure img,.magazine-product .photo-figure img{position:relative;display:block;width:100%;height:auto;max-height:none;object-fit:contain;box-shadow:0 8px 22px #000b,0 0 0 1px #a3dd5845;border-radius:3px;background:#080f0b}
.catalog-cover.magazine-cover{padding:10% 12% 15%;background-position:center}
.photo-figure{padding:10% 12% 15%;border-radius:16px}
.photo-figure figcaption{position:relative!important;inset:auto!important;display:block;text-align:center;color:#e8f4db;background:#08110ded;margin:14px 0 0;padding:8px;font-size:12px;letter-spacing:.08em}
.photo-figure .gallery-overlay{z-index:3;padding:5px}.photo-figure .gallery-overlay button{width:36px;height:36px;font-size:26px}
.portal-catalog-card:hover .catalog-cover{border-color:#b7f51a;box-shadow:inset 0 0 28px #b7f51a25}
.portal-thumbnails button{background:#07120d url('/images/portal-alien-scenario.png') center/cover;padding:7px;flex-basis:88px}
@media(max-width:600px){.catalog-cover,.catalog-cover.magazine-cover{padding:10% 12% 15%}.photo-figure,.magazine-product .photo-figure{padding:10% 12% 15%}}

/* Keep the artwork bright; concentrate contrast on the lettering itself. */
.portal-reference-art{opacity:1;filter:none}
.portal-reference-copy h1{color:#fff;text-shadow:0 2px 3px #000,0 4px 18px #000c;-webkit-text-stroke:1px #07100b;paint-order:stroke fill}
.portal-reference-copy h1 i{color:#fff}.portal-reference-copy h1 em{color:#b7f51a;-webkit-text-fill-color:#b7f51a;-webkit-text-stroke:1px #07100b}
.portal-reference-description{color:#fff;background:rgba(3,10,7,.72);padding:12px 18px;border-radius:12px;text-shadow:0 1px 2px #000}
.portal-hero-badge{background:rgba(3,10,7,.80);border-color:#91bd45;color:#c5ff49}
.portal-hero-note{width:fit-content;padding:6px 12px;border-radius:8px;color:#f2f6ef;background:rgba(3,10,7,.78)}
@media(max-width:800px){.portal-reference-shade{background:linear-gradient(0deg,#070d0f 20%,rgba(7,13,15,.45) 40%,transparent 62%)}.portal-reference-art{height:65%}}
/* Desktop composition: let content determine height and show the whole portrait artwork. */
@media(min-width:801px){
 .portal-reference-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:clamp(24px,4vw,72px);row-gap:24px;width:100%;max-width:1600px;margin-inline:auto;padding:clamp(28px,3vw,52px) clamp(24px,4vw,64px);height:auto;min-height:0;max-height:none;overflow:visible;background:radial-gradient(ellipse at 80% 45%,#24431645,transparent 65%)}
 .portal-reference-art{position:relative;inset:auto;grid-column:2;grid-row:1/3;z-index:0;width:100%;height:auto;max-height:calc(100svh - 150px);object-fit:contain;object-position:center;align-self:center;border-radius:18px;filter:none;opacity:1}
 .portal-reference-shade{display:none}
 .portal-reference-copy{grid-column:1;grid-row:1;align-self:end;min-width:0;max-width:720px;width:100%;padding:0;margin:0 auto;text-align:center}
 .portal-reference-copy h1{font-size:clamp(40px,4.2vw,70px);line-height:1.08;margin:22px auto;max-width:100%;text-wrap:balance}
 .portal-reference-copy h1 em{max-width:100%}
 .portal-hero-badge{max-width:100%;font-size:12px;letter-spacing:.10em;overflow-wrap:anywhere}
 .portal-reference-description{font-size:clamp(16px,1.2vw,19px);line-height:1.65;max-width:580px;background:transparent;padding:0}
 .portal-hero-actions{justify-content:center;gap:12px;margin-top:24px;flex-wrap:wrap}
 .portal-hero-actions .button{justify-content:center;white-space:normal;text-align:center;max-width:100%;padding:16px 20px}
 .portal-hero-note{margin:16px auto 0;background:transparent;padding:0;color:#cad8c6;font-size:14px}
 .portal-hero-tabs{position:static;inset:auto;grid-column:1;grid-row:2;align-self:start;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;min-width:0;margin:0;padding:0}
 .portal-hero-tabs a{max-width:100%;min-width:0;white-space:normal;font-size:14px}
 .catalog-section{width:100%;max-width:1600px;padding-inline:clamp(24px,4vw,64px)}
 .portal-catalog-grid,.magazine-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start;gap:clamp(20px,2vw,32px)}
 .portal-catalog-card{width:100%;max-width:540px;justify-self:center;min-width:0}
 .catalog-heading .eyebrow{justify-content:center}
 .manifesto-strip{flex-wrap:wrap;white-space:normal;overflow:visible;text-align:center;row-gap:12px}
 .catalog-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
 .catalog-steps article{min-width:0;overflow-wrap:anywhere}
}
@media(min-width:801px) and (max-width:1100px){
 .portal-reference-hero{column-gap:24px;padding-inline:24px}
 .portal-reference-copy h1{font-size:clamp(36px,4.3vw,46px)}
 .portal-hero-actions .button{width:100%;max-width:340px}
 .portal-hero-tabs a{font-size:12px;padding-right:10px;gap:8px}
 .portal-hero-tabs img{width:42px;height:36px}
 .portal-reference-art{max-height:640px}
}
