.orymera-shell,
.orymera-header__inner,
.orymera-footer__inner {
    width: min(100%, var(--orymera-shell-width, var(--orymera-width-content)));
    padding-inline: var(--orymera-gutter);
    margin-inline: auto;
}
.orymera-shell--wide,
.orymera-header__inner,
.orymera-footer__inner { --orymera-shell-width: var(--orymera-width-wide); }
.orymera-shell--content { --orymera-shell-width: var(--orymera-width-content); }
.orymera-shell--reading { --orymera-shell-width: var(--orymera-width-reading); }

.orymera-header {
    position: absolute;
    z-index: 5;
    inset: 0 0 auto;
    color: var(--orymera-paper-bright);
}
.orymera-header,
.orymera-home__hero,
.orymera-home__closing,
.orymera-seo-content__cta,
.orymera-category-feature,
.orymera-category-cta,
.orymera-result-upsell,
.orymera-tool-section--on-night,
.orymera-dream__closing {
    --orymera-cta-fill: var(--orymera-paper-bright);
    --orymera-cta-ink: var(--orymera-night-soft);
    --orymera-cta-arrow: var(--orymera-night-soft);
    --orymera-cta-hover: #eee3da;
}
.orymera-header--light {
    --orymera-cta-fill: var(--orymera-night-soft);
    --orymera-cta-ink: var(--orymera-paper-bright);
    --orymera-cta-arrow: #d7b989;
    --orymera-cta-hover: #46294c;
    border-bottom: 1px solid var(--orymera-rule);
    background: rgb(250 246 241 / 94%);
    color: var(--orymera-ink);
}

.orymera-header__inner {
    min-height: 82px;
    padding-top: env(safe-area-inset-top);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.orymera-header__logo { display: inline-flex; width: 122px; }
.orymera-header__logo img { display: block; width: 100%; height: auto; }
.orymera-header__nav { display: flex; align-items: center; margin-left: auto; }
.orymera-header__menu-list, .orymera-header__utility-list, .orymera-header__language-list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.orymera-header__nav a { display: inline-flex; min-height: 44px; align-items: center; color: rgb(255 250 245 / 74%); font-size: 12px; font-weight: 600; text-decoration: none; }
.orymera-header--light .orymera-header__nav a { color: var(--orymera-text); }
.orymera-header__nav a:hover, .orymera-header__nav .current-menu-item > a, .orymera-header__nav .current_page_item > a, .orymera-header__nav .current-menu-ancestor > a, .orymera-header__nav .current-menu-parent > a, .orymera-header__nav .current-post-ancestor > a { color: var(--orymera-paper-bright); }
.orymera-header--light .orymera-header__nav a:hover, .orymera-header--light .orymera-header__nav .current-menu-item > a, .orymera-header--light .orymera-header__nav .current_page_item > a, .orymera-header--light .orymera-header__nav .current-menu-ancestor > a, .orymera-header--light .orymera-header__nav .current-menu-parent > a, .orymera-header--light .orymera-header__nav .current-post-ancestor > a { color: var(--orymera-ink); }
.orymera-header__nav .current-menu-item > a, .orymera-header__nav .current_page_item > a, .orymera-header__nav .current-menu-ancestor > a, .orymera-header__nav .current-menu-parent > a, .orymera-header__nav .current-post-ancestor > a { text-decoration: underline; text-decoration-color: var(--orymera-accent); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.orymera-header__utility { display: flex; align-items: center; gap: 18px; margin-left: clamp(18px, 3vw, 42px); }
.orymera-header__language:empty { display: none; }
.orymera-header__language-list { gap: 10px; }
.orymera-header__language-list a { color: var(--orymera-paper-on-night); font: 600 11px / 1 var(--orymera-body); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.orymera-header__language-list .current-menu-item > a, .orymera-header__language-list a:hover { color: var(--orymera-accent); }
.orymera-header__utility-list { gap: 8px; }
.orymera-header__utility-list a, .orymera-header__utility .orymera-header__cta { min-height: 44px; padding: 0 16px; border-radius: var(--orymera-r-button); font-size: 13px; }
.orymera-header__utility-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--orymera-cta-ink); background: var(--orymera-cta-fill); font-weight: 700; text-decoration: none; transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.orymera-header:not(.orymera-header--light) .orymera-header__utility :is(.orymera-header__cta, .orymera-header__utility-list a) { border: 1px solid rgb(250 246 241 / 42%); background: rgb(31 16 37 / 18%); color: var(--orymera-paper-bright); }
.orymera-header:not(.orymera-header--light) .orymera-header__utility :is(.orymera-header__cta, .orymera-header__utility-list a) .orymera-icon { color: var(--orymera-paper-bright); }
/* Section eyebrow. Lives here, not in a page sheet: the product page uses it
   eight times and only loads shell.css. */
.orymera-kicker { margin: 0 0 18px; color: var(--orymera-accent); font-family: var(--orymera-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.orymera-icon { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.orymera-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--orymera-r-button); cursor: pointer; font: 700 15px/1 var(--orymera-body); letter-spacing: -.01em; text-decoration: none; transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
:is(.orymera-button, .orymera-text-link, .orymera-header__utility-list a) > .orymera-icon { transform: translateY(1px); }
/* This class's own display value otherwise beats the browser's default [hidden]
   rule, so a button a script hides (trigger.hidden = true) stays visible. */
.orymera-button[hidden] { display: none; }
.orymera-header__menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--orymera-paper-on-night); }
.orymera-header__menu .orymera-icon { color: var(--orymera-paper-on-night); }
.orymera-header--light .orymera-header__menu, .orymera-header--light .orymera-header__menu .orymera-icon { color: var(--orymera-ink); }
.orymera-header__menu > span { display: grid; place-items: center; }
.orymera-header__menu > span[hidden] { display: none; }
.orymera-header__mobile-menu { display: none; }
.orymera-header__backdrop { display: none; }
.orymera-button--gold { color: var(--orymera-cta-ink); background: var(--orymera-cta-fill); box-shadow: none; }
.orymera-button--gold :is(.orymera-icon, span[aria-hidden="true"]) { color: var(--orymera-cta-arrow); }
.orymera-button--gold:active { transform: translateY(0); box-shadow: none; }
.orymera-button--gold:disabled, .orymera-button--gold[disabled] { opacity: .55; transform: none; box-shadow: none; cursor: not-allowed; }
.orymera-button--gold:focus-visible { outline: var(--orymera-focus); outline-offset: 4px; }
.orymera-button--ghost { border: 1px solid rgb(232 219 210 / 34%); background: transparent; color: var(--orymera-on-night-strong); }
.orymera-button--quiet { border: 1px solid var(--orymera-rule); background: transparent; color: var(--orymera-ink); }
.orymera-text-link { transition: color 180ms ease, border-color 180ms ease; }
.orymera-text-link:focus-visible { border-color: currentColor; color: var(--orymera-accent); }
.orymera-button.is-loading::before { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; content: ''; animation: orymera-spin 700ms linear infinite; }

.orymera-loader { display: block; width: var(--orymera-loader-size, 144px); max-width: 100%; height: auto; flex: none; }
@keyframes orymera-spin { to { transform: rotate(360deg); } }

.orymera-card { border: 1px solid var(--orymera-rule); border-radius: var(--orymera-r-md); background: var(--orymera-card); box-shadow: var(--orymera-shadow-1); }
.orymera-card--raised { box-shadow: var(--orymera-shadow-2); }
.orymera-card--hero { border-radius: var(--orymera-r-lg); }
.orymera-card--on-night { border-color: rgb(232 219 210 / 16%); background: rgb(232 219 210 / 6%); color: var(--orymera-on-night); }

.orymera-field-wrap { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 0 14px; border: 1px solid var(--orymera-rule); border-radius: var(--orymera-r-sm); background: var(--orymera-warm-paper); color: var(--orymera-label); }
.orymera-field-wrap > .orymera-icon { flex-basis: 20px; }
.orymera-field-wrap input { width: 100%; min-width: 0; padding: 13px 0; border: 0; outline: 0; background: transparent; color: var(--orymera-ink); font: 16px var(--orymera-body); }
.orymera-field-wrap input::placeholder { color: var(--orymera-label); }
.orymera-field-wrap:focus-within { border-color: var(--orymera-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orymera-accent) 16%, transparent); }

.orymera-footer { position: relative; overflow: hidden; background: var(--orymera-night); color: rgb(255 250 245 / 70%); border-top: 1px solid rgb(255 250 245 / 14%); }
.orymera-footer::after { position: absolute; right: -120px; bottom: -210px; width: 480px; height: 480px; border: 1px solid rgb(193 155 99 / 14%); border-radius: 50%; box-shadow: 0 0 0 24px rgb(193 155 99 / 3%); content: ''; pointer-events: none; }
.orymera-footer__inner { position: relative; z-index: 1; padding: 42px var(--orymera-gutter) max(18px, env(safe-area-inset-bottom)); }
.orymera-footer__row { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: 48px; align-items: start; padding-bottom: 42px; }
.orymera-footer__brand a { display: inline-flex; width: 128px; text-decoration: none; }
.orymera-footer__brand a img { display: block; width: 100%; height: auto; }
.orymera-footer p { margin: 12px 0 0; font-size: 12px; }
.orymera-footer__brand > p { max-width: 28rem; color: var(--orymera-paper-on-night); line-height: 1.55; }
.orymera-footer__label { margin: 0 !important; color: var(--orymera-gold); font-family: var(--orymera-mono); font-size: 12px !important; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.orymera-footer__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.orymera-footer__link-group { display: grid; gap: 0; align-content: start; }
.orymera-footer__links a { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; gap: 6px; color: rgb(255 250 245 / 76%); font-size: 12px; text-decoration: none; transition: color 180ms ease, transform 180ms ease; }
.orymera-footer__links a .orymera-icon { color: var(--orymera-gold); }
.orymera-footer__link-group--note p:not(.orymera-footer__label) { max-width: 28rem; margin: 0; color: var(--orymera-paper-on-night); line-height: 1.55; }
.orymera-footer__link-group--note .orymera-footer__label:not(:first-child) { margin-top: 16px !important; }
.orymera-footer__base { display: flex; justify-content: space-between; gap: 28px; padding-top: 14px; border-top: 1px solid rgb(255 250 245 / 10%); color: var(--orymera-on-night-faint); }
.orymera-footer__base small { max-width: 76ch; font-size: 12px; line-height: 1.5; }
.orymera-footer--product { background: var(--orymera-night-2); border-top: 0; }
.orymera-footer--product .orymera-footer__inner { padding-top: 46px; }

@media (max-width: 850px) {
    .orymera-header__nav, .orymera-header__utility { display: none; }
    .orymera-header__menu { display: grid; place-items: center; align-content: center; }
    .orymera-header__inner { min-height: calc(72px + env(safe-area-inset-top)); }
    .orymera-header__backdrop { position: fixed; z-index: 5; inset: calc(72px + env(safe-area-inset-top)) 0 0; display: block; width: 100%; padding: 0; border: 0; background: rgb(18 8 23 / 58%); }
    .orymera-header__backdrop[hidden] { display: none; }
    .orymera-header__mobile-menu { --orymera-cta-fill: var(--orymera-paper-bright); --orymera-cta-ink: var(--orymera-night-soft); --orymera-cta-arrow: var(--orymera-night-soft); --orymera-cta-hover: #eee3da; position: absolute; z-index: 6; inset: calc(72px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) auto max(24px, env(safe-area-inset-left)); display: block; padding: 12px; border: 1px solid rgb(240 230 222 / 18%); border-radius: var(--orymera-r-md); background: var(--orymera-night-2); box-shadow: 0 22px 48px rgb(0 0 0 / 30%); }
    .orymera-header__mobile-menu[hidden] { display: none; }
    .orymera-header__mobile-menu nav, .orymera-header__mobile-utility, .orymera-header__mobile-language { display: block; }
    .orymera-header__mobile-menu ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
    .orymera-header__mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 12px; color: var(--orymera-paper-bright); font-size: 14px; text-decoration: none; }
    .orymera-header__mobile-menu nav a:hover, .orymera-header__mobile-menu .current-menu-item > a, .orymera-header__mobile-menu .current-menu-ancestor > a, .orymera-header__mobile-menu .current-menu-parent > a, .orymera-header__mobile-menu .current-post-ancestor > a { color: var(--orymera-accent); }
    .orymera-header__mobile-utility { padding: 12px 0 4px; border-top: 1px solid rgb(240 230 222 / 14%); }
    .orymera-header__mobile-utility a { display: flex; align-items: center; justify-content: center; min-height: 46px; color: var(--orymera-cta-ink); background: var(--orymera-cta-fill); border-radius: var(--orymera-r-button); font-size: 14px; font-weight: 700; text-decoration: none; }
    .orymera-header__mobile-utility a .orymera-icon { color: var(--orymera-cta-arrow); }
    .orymera-header__mobile-language { padding: 12px 12px 4px; border-top: 1px solid rgb(240 230 222 / 14%); }
    .orymera-header__mobile-language:empty { display: none; }
    .orymera-header__mobile-language ul { display: flex; gap: 16px; }
    .orymera-header__mobile-language a { color: var(--orymera-paper-on-night); font-size: 12px; text-decoration: none; }
    body.orymera-menu-open { overflow: hidden; }
    .orymera-footer__row { grid-template-columns: 1fr 2fr; gap: 28px; }
}

@media (max-width: 520px) {
    .orymera-header__logo { width: 130px; }
    .orymera-footer__inner { padding-top: 36px; }
    .orymera-footer__row { grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
    .orymera-footer__brand a { width: 150px; }
    .orymera-footer__links { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .orymera-footer__link-group--note { grid-column: 1 / -1; }
    .orymera-footer__base { display: grid; gap: 8px; }
}

@media (hover: hover) and (pointer: fine) {
    .orymera-button:hover { transform: translateY(-1px); }
    .orymera-button--gold:not(:disabled):hover { background: var(--orymera-cta-hover); }
    .orymera-button--gold:disabled:hover, .orymera-button--gold[disabled]:hover { transform: none; }
    .orymera-button--ghost:hover { border-color: rgb(232 219 210 / 62%); background: rgb(232 219 210 / 8%); }
    .orymera-button--quiet:hover { border-color: var(--orymera-accent); background: color-mix(in srgb, var(--orymera-accent) 8%, transparent); }
    .orymera-header__utility-list a:hover { color: var(--orymera-cta-ink); background: var(--orymera-cta-hover); transform: translateY(-1px); }
    .orymera-header:not(.orymera-header--light) .orymera-header__utility :is(.orymera-header__cta, .orymera-header__utility-list a):hover { border-color: rgb(250 246 241 / 72%); background: rgb(250 246 241 / 10%); color: var(--orymera-paper-bright); }
    .orymera-header__mobile-utility a:hover { background: var(--orymera-cta-hover); }
    .orymera-text-link:hover { border-color: currentColor; color: var(--orymera-accent); }
}

@media (prefers-reduced-motion: reduce) {
    .orymera-button, .orymera-text-link, .orymera-header__utility-list a { transition: none; }
    .orymera-button.is-loading::before { animation: none; }
}
