/* =====================================================================
   ULTRAWORLD - inner pages
   ===================================================================== */

/* ---------------------------------------------------------------- page hero */
.page-hero {
    position: relative; overflow: hidden; color: #fff; text-align: center;
    padding-block: clamp(40px, 5.6vw, 76px) clamp(40px, 5.2vw, 68px);
    background: radial-gradient(700px 360px at 85% 0%, rgba(var(--gold-500-rgb), .2), transparent 65%), linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-950));
}
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 46px); }
.page-hero__mandala { position: absolute; right: -120px; top: 50%; width: 520px; margin-top: -260px; color: var(--gold-500); opacity: .14; pointer-events: none; animation: spin 220s linear infinite; }
.page-hero__mandala--l { right: auto; left: -180px; opacity: .08; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 500; color: #fff; margin: 0 0 .25em; letter-spacing: -.015em; }
.page-hero .lead { margin-inline: auto; color: rgba(255, 255, 255, .72); }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.crumbs a { color: var(--gold-400); transition: color .25s; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .55rem; color: var(--gold-500); }

.page-body { padding-block: clamp(48px, 7vw, 96px); }

/* ---------------------------------------------------------------- prose (CMS html) */
.prose { color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; margin-top: 0; }
.prose h3 { font-size: 1.6rem; font-weight: 500; }
.prose p, .prose li { font-size: 1.06rem; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.prose strong { color: var(--ink); font-weight: 500; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: .85fr 1.15fr; gap: 80px; } .split--rev { grid-template-columns: 1.15fr .85fr; } .split--rev > :first-child { order: 2; } }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.frame { position: relative; padding: 0 0 26px 26px; max-width: 520px; margin-inline: auto; width: 100%; }
.frame::before { content: ""; position: absolute; left: 0; bottom: 0; right: 26px; top: 26px; border: 1px solid var(--gold-500); border-radius: var(--radius-lg); }
.frame img { position: relative; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; background: var(--ivory-100); }
.frame--contain img { object-fit: contain; background: #fff; padding: 24px; border: 1px solid var(--ivory-200); }
.signature { margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--gold-500); font: italic 500 1.4rem/1.3 var(--font-display); color: var(--ink); }

/* ---------------------------------------------------------------- products page */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.search { position: relative; width: min(100%, 320px); }
.search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gold-600); font-size: .9rem; }
.search .input { padding-left: 46px; border-radius: 999px; }
.subchips { padding: 18px 0 4px; border-top: 1px solid var(--ivory-200); margin-top: 18px; }
.results-note { margin: 22px 0 28px; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.grid-products { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
@media (min-width: 1100px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .grid-products { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: clamp(48px, 8vw, 90px) 24px; border: 1px dashed var(--ivory-300); border-radius: var(--radius-lg); background: var(--ivory-100); }
.empty i { font-size: 2rem; color: var(--gold-500); margin-bottom: 16px; }
.empty h3 { font-size: 1.9rem; font-weight: 500; }
.empty p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ---------------------------------------------------------------- product detail */
.pd { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .pd { grid-template-columns: 1fr 1fr; gap: 72px; } .pd__gallery { position: sticky; top: 110px; } }
.pd__main { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ivory-200); box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; display: grid; place-items: center; cursor: zoom-in; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .25s ease-out; will-change: transform; }
.pd__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pd__thumb { width: 88px; height: 88px; padding: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 2px solid var(--ivory-200); transition: border-color .3s, transform .3s var(--ease); }
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pd__thumb:hover { transform: translateY(-3px); }
.pd__thumb.is-active { border-color: var(--gold-500); }
.pd__cat { display: inline-block; margin-bottom: 16px; padding: .5em 1.1em; border-radius: 999px; background: var(--ivory-200); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700); }
.pd__title { font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-weight: 500; line-height: 1.08; }
.pd__price { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 18px 0 6px; font: 600 1.7rem var(--font-display); color: var(--heading); }
.pd__price small { font: 400 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.pd__desc { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--ivory-300); }
.pd__desc p, .pd__desc li { font-size: 1.04rem; }
.pd__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.pd__assure { display: grid; gap: 14px; padding: 22px 24px; border-radius: var(--radius); background: var(--ivory-100); border: 1px solid var(--ivory-200); }
@media (min-width: 560px) { .pd__assure { grid-template-columns: repeat(3, 1fr); } }
.pd__assure li { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink); }
.pd__assure i { color: var(--gold-600); font-size: 1.1rem; }
.related { margin-top: clamp(64px, 9vw, 110px); }

/* ---------------------------------------------------------------- gallery / legal docs */
.album-grid, .doc-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.doc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.album, .doc { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s; }
.album:hover, .doc:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(var(--gold-500-rgb), .6); }
.album__media, .doc__media { position: relative; display: block; aspect-ratio: 4 / 3.2; background: linear-gradient(180deg, #fff, var(--ivory-100)); overflow: hidden; border-bottom: 1px solid var(--ivory-200); }
.doc__media { aspect-ratio: 3 / 3.4; }
.album__media img, .doc__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .9s var(--ease); }
.album:hover img, .doc:hover img { transform: scale(1.06); }
.album__zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.album:hover .album__zoom, .doc:hover .album__zoom { opacity: 1; transform: none; }
.album__cap, .doc__cap { padding: 18px 22px 20px; }
.album__cap h3, .doc__cap h3 { font-size: 1.3rem; font-weight: 500; margin: 0 0 4px; }
.album__cap span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); }
.masonry { columns: 3 280px; column-gap: 22px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); cursor: zoom-in; }
.masonry a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.masonry img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.info-list { display: grid; gap: 16px; margin-top: 30px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card__icon { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400); font-size: 1.1rem; }
.info-card h4 { font: 500 .72rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 8px; }
.info-card p, .info-card a { margin: 0; font-size: 1.08rem; color: var(--ink); word-break: break-word; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; }

/* ---------------------------------------------------------------- franchise / tables */
.picker { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; max-width: 620px; margin: 0 auto 44px; }
.picker .select { flex: 1 1 260px; border-radius: 999px; padding-inline: 22px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.table { width: 100%; min-width: 620px; }
.table th { padding: 18px 22px; text-align: left; background: var(--navy-900); color: #fff; font: 500 .72rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; }
.table td { padding: 18px 22px; border-top: 1px solid var(--ivory-200); color: var(--ink); vertical-align: top; }
.table tbody tr:hover td { background: var(--ivory-100); }

/* ---------------------------------------------------------------- faq / videos */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq { border-bottom: 1px solid var(--ivory-300); }
.faq:first-child { border-top: 1px solid var(--ivory-300); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; cursor: pointer; list-style: none; font: 500 1.45rem/1.25 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-500); color: var(--gold-600); font-size: .8rem; transition: all .4s var(--ease); }
.faq[open] summary i { transform: rotate(45deg); background: var(--gold-500); color: var(--navy-900); }
.faq__a { padding: 0 4px 28px; max-width: 70ch; }
.video-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.video { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-950); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { padding: 18px 22px; margin: 0; font-size: 1.25rem; font-weight: 500; }

/* ---------------------------------------------------------------- auth (split screen) */
.auth { min-height: 100vh; display: grid; background: var(--bg); }
@media (min-width: 980px) { .auth { grid-template-columns: .9fr 1.1fr; } }
.auth__aside { position: relative; overflow: hidden; display: none; flex-direction: column; justify-content: space-between; padding: 52px; color: #fff; background: radial-gradient(700px 420px at 100% 0%, rgba(var(--gold-500-rgb), .24), transparent 62%), linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-950)); }
@media (min-width: 980px) { .auth__aside { display: flex; } }
.auth__aside .page-hero__mandala { opacity: .16; right: -200px; width: 640px; margin-top: -240px; }
.auth__aside .logo-badge { position: relative; display: inline-block; align-self: flex-start; background: var(--ivory-50); border-radius: 20px; padding: 16px 24px; }
.auth__aside h2 { position: relative; font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 500; color: #fff; }
.auth__aside p { position: relative; color: rgba(255, 255, 255, .72); max-width: 44ch; }
.auth__aside ul { position: relative; display: grid; gap: 14px; margin-top: 28px; }
.auth__aside li { display: flex; align-items: center; gap: 14px; font-size: .98rem; color: rgba(255, 255, 255, .85); }
.auth__aside li i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(var(--gold-400-rgb), .6); color: var(--gold-400); font-size: .8rem; }
.auth__main { display: grid; place-items: center; padding: 40px 22px; }
.auth__card { width: min(100%, 500px); }
.auth__card--wide { width: min(100%, 640px); }
.auth__mobile-logo { display: flex; justify-content: center; margin-bottom: 26px; }
@media (min-width: 980px) { .auth__mobile-logo { display: none; } }
.auth__card h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; margin-bottom: .25em; }
.auth__card > p.sub { color: var(--muted); margin-bottom: 26px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; padding: 6px; border-radius: 999px; background: var(--ivory-200); }
.roles a { flex: 1 1 auto; text-align: center; padding: .7em 1em; border-radius: 999px; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text); transition: all .3s var(--ease); }
.roles a.is-active { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }
.roles a:not(.is-active):hover { background: var(--surface); }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); border-radius: 50%; }
.pw button:hover { color: var(--heading); }
.auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 4px 0 24px; font-size: .92rem; }
.auth__links a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.auth__foot { margin-top: 26px; text-align: center; font-size: .94rem; color: var(--muted); }
.auth__foot a { color: var(--gold-700); font-weight: 500; }
.choose { display: grid; gap: 14px; }
.choose a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: all .45s var(--ease); }
.choose a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-500); }
.choose strong { display: block; font: 500 1.5rem var(--font-display); color: var(--ink); }
.choose span { font-size: .86rem; color: var(--muted); }
.choose i { color: var(--gold-600); }

/* ---------------------------------------------------------------- account */
.account { display: grid; gap: 28px; }
@media (min-width: 900px) { .account { grid-template-columns: 1.15fr .85fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-sm); }
.card h2 { font-size: 1.9rem; font-weight: 500; }
.welcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.id-pill { display: inline-flex; align-items: center; gap: 10px; padding: .55em 1.2em; border-radius: 999px; background: var(--ivory-200); font-size: .82rem; letter-spacing: .12em; color: var(--ink); }
.id-pill i { color: var(--gold-600); }

/* ---------------------------------------------------------------- 404 / generic */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound__code { font: 500 clamp(6rem, 18vw, 12rem)/1 var(--font-display); background: var(--gold-text-dark);   /* shown on the navy 404 page */ -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------------------------------------------------------------- blog */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.blog-filter a { padding: .7em 1.3em; border: 1px solid var(--ivory-300); border-radius: 999px; font: 500 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--surface); transition: all .3s var(--ease); }
.blog-filter a:hover { border-color: var(--gold-500); color: var(--gold-700); }
.blog-filter a.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.blog-tag { display: inline-block; font: 500 .68rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-700); }
.blog-meta { font-size: .82rem; color: var(--muted); }

.blog-lead { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s; }
.blog-lead:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(var(--gold-500-rgb), .6); }
.blog-lead__media { display: block; background: #fff; min-height: 300px; overflow: hidden; }
.blog-lead__media img { width: 100%; height: 100%; max-height: 440px; object-fit: contain; padding: 24px; transition: transform .9s var(--ease); }
.blog-lead:hover .blog-lead__media img { transform: scale(1.05); }
.blog-lead__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 52px); }
.blog-lead__body h2 { font: 500 clamp(1.7rem, 3vw, 2.4rem)/1.15 var(--font-display); color: var(--heading); margin: 0; }
.blog-lead__body p { color: var(--muted); margin: 0; }

.blog-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(var(--gold-500-rgb), .6); }
.blog-card__media { display: block; aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--ivory-200); overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .9s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.blog-card__body h3 { font: 500 1.35rem/1.25 var(--font-display); color: var(--heading); margin: 0; }
.blog-card__body p { font-size: .94rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__body .blog-meta { margin-top: auto; padding-top: 6px; }

.post { max-width: 780px; margin-inline: auto; }
.post__cover { margin: 0 0 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-align: center; }
.post__cover img { max-height: 420px; width: auto; max-width: 100%; margin-inline: auto; padding: 20px; object-fit: contain; }
.post__body { font-size: 1.08rem; line-height: 1.85; color: var(--text); }
.post__body p { margin: 0 0 1.3em; }
.post__body h2 { font: 500 1.8rem/1.2 var(--font-display); color: var(--heading); margin: 1.8em 0 .6em; }
.post__body ul { margin: 0 0 1.4em; padding-left: 1.3em; list-style: disc; }
.post__body li { margin-bottom: .45em; }
.post__body li::marker { color: var(--gold-600); }
.post__body > p:last-child { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--ivory-300); padding-top: 1.2em; margin-top: 2em; }
.post__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--ivory-100); border: 1px solid var(--ivory-300); }
.post__cta strong { display: block; font: 600 1.35rem var(--font-display); color: var(--heading); }
.post__cta span { color: var(--muted); font-size: .94rem; }
.post-more__h { font: 500 clamp(1.8rem, 3vw, 2.4rem) var(--font-display); color: var(--heading); text-align: center; margin: clamp(56px, 7vw, 90px) 0 32px; }

@media (max-width: 860px) {
    .blog-lead { grid-template-columns: 1fr; }
    .blog-lead__media { min-height: 220px; aspect-ratio: 16 / 10; }
}