/* ICY U 3.1.4 — centered globe, non-sticky header and matched footer/contact rules. 
 * Product artwork and copy are preserved; typography uses readable CSS-pixel limits.
 * Scoped to the native one-page site and its explicitly tagged dialogs.
 * Lama Sans is loaded from the site font installer or ACF font overrides.
 */
.icyul-site {
    --icyul-font: "ICYU Lama Sans", "Lama Sans", "LamaSans", Tahoma, Arial, sans-serif;
    --icyul-about-overlay: .24;
    --icyud-title-size: clamp(30px,2.5vw,40px);
    --icyud-content-width: min(1712px, 88.9%);
    font-family: var(--icyul-font);
    background: linear-gradient(90deg,var(--icyul-glow),var(--icyul-background) 90%);
}
.icyul-site :is(button,input,select,textarea),
.icyul-site .icyul-catalog .icyup-products,
.icyul-site .icyul-english { font-family: var(--icyul-font); }
.icyul-site .icyul-section-heading h2 { font-weight: 900; }

/* Background-only dimming: never reduce the opacity of the text or glass. */
.icyul-site .icyul-about-overlay {
    position: absolute; inset: 0; background: rgb(0 0 0 / var(--icyul-about-overlay));
    pointer-events: none; opacity: 1;
}
.icyul-site.icyul-animated .icyul-about-overlay { opacity: 0; }
.icyul-site:not(.icyul-animated) .icyul-about-overlay {
    top: auto; height: calc(100% - min(900px,100svh));
}

/* Fixed five-icon rail, independent of whether account URLs have been set. */
.icyul-site .icyul-social-rail {
    position: fixed; inset: auto auto auto 0; top: 50%; transform: translateY(-50%);
    z-index: 80; width: clamp(40px,3.646vw,70px); padding: 10px 0; gap: 0;
    background: var(--icyul-accent); color: var(--icyul-button-text);
    border-radius: 0 4px 4px 0; box-shadow: none;
}
.icyul-site .icyul-social-rail .icyul-social-item {
    display: grid; place-items: center; width: 100%; height: clamp(44px,3.05vw,59px);
    flex-shrink: 0; color: inherit; margin: 0; padding: 0; border: 0;
    text-decoration: none; background: transparent;
}
.icyul-site .icyul-social-rail svg { width: clamp(20px,1.563vw,30px); height: clamp(20px,1.563vw,30px); }
.icyul-site .icyul-social-rail a:hover { opacity: .72; background: rgb(7 26 49 / .06); }
.icyul-site .icyul-social-rail a:focus-visible { outline: 2px solid var(--icyul-button-text); outline-offset: -4px; }
.icyul-site .icyul-social-links .icyul-social-item { display: inline-grid; place-items: center; color: inherit; }
.icyul-site .icyul-social-item.is-unconfigured { cursor: default; }
.icyul-site .icyul-social-item svg { pointer-events: none; }

/* Products: same geometry, color hierarchy, order and copy as the supplied art. */
.icyul-site .icyul-catalog {
    padding-top: clamp(48px,4.69vw,90px); padding-bottom: 0;
}
.icyul-site .icyul-catalog .icyup-products {
    --icyup-ice: var(--icyul-text);
    --icyup-muted: var(--icyul-text);
    --icyup-line: rgba(var(--icyul-border-rgb),.65);
    background: transparent; padding-bottom: 0; color: var(--icyul-text);
}
.icyul-site .icyul-catalog .icyup-hero-inner,
.icyul-site .icyul-catalog .icyup-container {
    width: var(--icyud-content-width); max-width: none; margin-inline: auto; padding: 0;
}
.icyul-site .icyul-catalog .icyup-hero-content { width: 100%; text-align: right; margin: 0; }
.icyul-site .icyul-catalog .icyup-title {
    font-size: clamp(30px,2.5vw,40px); font-weight: 800; line-height: 1.4;
    color: var(--icyul-heading); position: relative; padding-top: 12px;
}
.icyul-site .icyul-catalog .icyup-title::before {
    content: ""; position: absolute; right: 0; top: 0;
    width: clamp(120px,10vw,180px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--icyul-heading) 48%, transparent);
}
.icyul-site .icyul-catalog .icyup-hero-subtitle {
    color: var(--icyul-text); font-size: clamp(17px,1.35vw,22px);
    font-weight: 400; line-height: 1.7; margin-top: 4px;
}
.icyul-site .icyul-catalog .icyup-tabs {
    display: flex; direction: rtl; width: 460px; max-width: 100%;
    gap: 14px; margin: 26px 0 0 auto;
}
.icyul-site .icyul-catalog .icyup-tab {
    flex: 1 1 0; min-height: 54px;
    padding: 10px 16px; border: 1px solid rgba(var(--icyul-border-rgb),.7);
    border-radius: 5px; background: rgba(var(--icyul-surface-rgb),.48);
    color: var(--icyul-text); box-shadow: none;
}
.icyul-site .icyul-catalog .icyup-tab-ar {
    font-size: clamp(17px,1.2vw,20px); font-weight: 700; line-height: 1.5;
}
.icyul-site .icyul-catalog .icyup-tab-icon,
.icyul-site .icyul-catalog .icyup-tab-en { display: none; }
.icyul-site .icyul-catalog .icyup-tab[aria-selected="true"],
.icyul-site .icyul-catalog .icyup-products:not([data-ready]) [data-icyup-tab="premium"] {
    background: var(--icyul-accent); border-color: var(--icyul-accent); color: var(--icyul-button-text);
}
.icyul-site .icyul-catalog .icyup-panels { padding-top: clamp(26px,2.5vw,40px); }
.icyul-site .icyul-catalog .icyup-grid {
    gap: clamp(18px,1.667vw,32px); align-items: stretch; direction: ltr;
}
.icyul-site .icyul-catalog .icyup-grid--premium { grid-template-columns: repeat(3,minmax(0,1fr)); }
.icyul-site .icyul-catalog .icyup-grid--crushed { max-width: min(1120px,100%); grid-template-columns: repeat(2,minmax(0,1fr)); }
.icyul-site .icyul-catalog .icyup-card {
    border: 1px solid rgba(var(--icyul-border-rgb),.70); border-radius: 5px;
    background: rgba(var(--icyul-surface-rgb),.92); color: var(--icyul-text);
    box-shadow: none; overflow: hidden; text-align: center;
}
.icyul-site .icyul-catalog .icyup-card:hover {
    transform: none; border-color: rgba(var(--icyul-border-rgb),.95);
}
.icyul-site .icyul-catalog .icyup-media {
    height: auto; aspect-ratio: 548 / 326; padding: 4% 7%;
    background: linear-gradient(110deg,rgba(16,50,92,.13),rgba(8,25,49,.12));
    border-bottom: 1px solid rgba(var(--icyul-border-rgb),.48); border-radius: 4px;
}
.icyul-site .icyul-catalog .icyup-product-image {
    width: 100%; height: 100%; max-width: 100%; object-fit: contain; filter: none;
}
.icyul-site .icyul-catalog .icyup-product-image--box { max-height: 100%; }
.icyul-site .icyul-catalog .icyup-product-image--cup { max-height: 85%; }
.icyul-site .icyul-catalog .icyup-product-image--bag { max-height: 96%; }
.icyul-site .icyul-catalog .icyup-card-body {
    min-height: 300px; padding: 18px clamp(14px,1.25vw,24px) 0;
    display: flex; flex-direction: column; flex: 1;
}
.icyul-site .icyul-catalog .icyup-card h3 {
    font-size: clamp(18px,1.35vw,23px); font-weight: 700; line-height: 1.5; margin: 0;
}
.icyul-site .icyul-catalog .icyup-card-subtitle { min-height: 0; margin-top: 3px; font-weight: 500; }
.icyul-site .icyul-catalog .icyup-card-description {
    color: var(--icyul-text); max-width: none; width: 100%;
    font-size: clamp(14px,1vw,16px); font-weight: 400; line-height: 1.85;
    margin: 10px auto 18px;
}
.icyul-site .icyul-catalog .icyup-specs { margin-top: auto; }
.icyul-site .icyul-catalog .icyup-pack {
    font-size: 15px; line-height: 1.6; margin: 0 0 8px;
}
.icyul-site .icyul-catalog .icyup-pack span { opacity: 1; }
.icyul-site .icyul-catalog .icyup-pack strong { font-weight: 700; margin-inline-start: 0; }
.icyul-site .icyul-catalog .icyup-spec-label {
    font-size: 16px; line-height: 1.6; font-weight: 700;
}
.icyul-site .icyul-catalog .icyup-choices {
    display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(7px,.83vw,16px);
    margin-top: clamp(7px,.625vw,12px);
}
.icyul-site .icyul-catalog .icyup-choice {
    min-width: 0; width: 164px; max-width: calc(50% - 8px);
    min-height: 44px; padding: 7px 8px;
    border: 1px solid rgba(var(--icyul-border-rgb),.8); border-radius: 4px;
    background: transparent; color: var(--icyul-text);
    font-size: clamp(13px,1vw,16px); font-weight: 500; line-height: 1.6;
}
.icyul-site .icyul-catalog .icyup-choice[aria-pressed="true"] {
    color: var(--icyul-button-text); background: var(--icyul-accent); border-color: var(--icyul-accent);
}
/* Source art leaves cubes neutral initially and a single size unfilled. Interactions remain accessible. */
.icyul-site .icyul-catalog [data-icyup-card="premium-cubes"]:not([data-icyup-choice-made]) .icyup-choice[aria-pressed="true"],
.icyul-site .icyul-catalog .icyup-choice:only-child {
    color: var(--icyul-text); background: transparent; border-color: rgba(var(--icyul-border-rgb),.8);
}
.icyul-site .icyul-catalog .icyup-choice:hover { border-color: var(--icyul-accent); }
.icyul-site .icyul-catalog .icyup-detail-trigger {
    width: 100%; gap: clamp(5px,.417vw,8px); border: 0; border-radius: 0;
    margin-top: 16px; padding: 10px 0;
    min-height: 48px; background: transparent;
    color: var(--icyul-text); font-size: 16px; font-weight: 700;
}
.icyul-site .icyul-catalog .icyup-detail-trigger:hover { color: var(--icyul-accent); background: transparent; }
.icyul-site .icyul-catalog .icyup-detail-trigger .icyup-icon {
    width: 20px; height: 20px; flex-basis: auto;
}
.icyul-site .icyul-catalog .icyup-detail-trigger svg { stroke-width: 1; }

/* The product dialog is mounted outside .icyul-site; its theme variables are copied on open. */
.icyup-modal[data-skin="design"] {
    font-family: var(--icyul-font,"Lama Sans",Tahoma,Arial,sans-serif);
    color: var(--icyul-text,#dae7f7); --icyup-ice: var(--icyul-text,#dae7f7);
}
.icyup-modal[data-skin="design"] .icyup-choice[aria-pressed="true"],
.icyup-modal[data-skin="design"] .icyup-cta {
    color: var(--icyul-button-text,#081b3c); background: var(--icyul-accent,#ffe15f);
    border-color: var(--icyul-accent,#ffe15f);
}
.icyup-modal[data-skin="design"] .icyup-modal-subtitle:empty { display: none; }

@media (max-width: 1100px) and (min-width: 768px) {
    .icyul-site .icyul-catalog .icyup-card h3 { font-size: 20px; }
    .icyul-site .icyul-catalog .icyup-card-description { line-height: 1.5; }
    .icyul-site .icyul-catalog .icyup-card-body { min-height: 320px; padding-inline: 12px; }
    .icyul-site .icyul-catalog .icyup-choice { font-size: 12px; padding-inline: 4px; }
}
@media (max-width: 767px) {
    .icyul-site { --icyud-content-width: calc(100% - 68px); }
    .icyul-site .icyul-social-rail { width: 38px; padding: 6px 0; }
    .icyul-site .icyul-social-rail .icyul-social-item { width: 38px; height: 44px; }
    .icyul-site .icyul-social-rail svg { width: 21px; height: 21px; }
    .icyul-site .icyul-catalog { padding-top: 38px; }
    .icyul-site .icyul-catalog .icyup-hero-inner,
    .icyul-site .icyul-catalog .icyup-container { margin-left: 50px; margin-right: 18px; }
    .icyul-site .icyul-catalog .icyup-title { font-size: 30px; }
    .icyul-site .icyul-catalog .icyup-hero-subtitle { font-size: 17px; }
    .icyul-site .icyul-catalog .icyup-tabs { width: 100%; gap: 9px; margin-top: 22px; }
    .icyul-site .icyul-catalog .icyup-tab { min-height: 48px; padding-inline: 6px; }
    .icyul-site .icyul-catalog .icyup-tab-ar { font-size: clamp(14px,3.8vw,17px); }
    .icyul-site .icyul-catalog .icyup-grid--premium,
    .icyul-site .icyul-catalog .icyup-grid--crushed { grid-template-columns: 1fr; max-width: 440px; margin: auto; gap: 20px; }
    /* Follow RTL reading order on mobile: cup, balls, cubes. */
    .icyul-site .icyul-catalog [data-icyup-card="premium-cup"] { order: 0; }
    .icyul-site .icyul-catalog [data-icyup-card="premium-balls"] { order: 1; }
    .icyul-site .icyul-catalog [data-icyup-card="premium-cubes"] { order: 2; }
    .icyul-site .icyul-catalog .icyup-card-body { min-height: 300px; padding: 14px 15px 0; }
    .icyul-site .icyul-catalog .icyup-card h3 { font-size: 20px; }
    .icyul-site .icyul-catalog .icyup-card-description { font-size: 14px; line-height: 1.65; margin-top: 8px; margin-bottom: 18px; }
    .icyul-site .icyul-catalog .icyup-pack { font-size: 15px; }
    .icyul-site .icyul-catalog .icyup-spec-label { font-size: 16px; }
    .icyul-site .icyul-catalog .icyup-choice { width: 150px; max-width: calc(50% - 4px); font-size: 14px; min-height: 44px; padding-inline: 4px; }
    .icyul-site .icyul-catalog .icyup-detail-trigger { min-height: 50px; font-size: 16px; margin-top: 14px; }
    /* Reserve space for the fixed rail instead of covering the tabs/contact information. */
    .icyul-site .icyul-about { padding-left: 50px; }
    .icyul-site.icyul-animated .icyul-about { left: 50px; }
    .icyul-site .icyul-contact { width: calc(100% - 68px); margin-left: 50px; margin-right: 18px; }
    .icyul-site .icyul-contact-grid { grid-template-columns: 1fr; }
}
@media (max-height: 430px) {
    .icyul-site .icyul-social-rail { padding-block: 3px; }
    .icyul-site .icyul-social-rail .icyul-social-item { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .icyul-site .icyul-catalog .icyup-card,
    .icyul-site .icyul-catalog .icyup-tab,
    .icyul-site .icyul-catalog .icyup-choice { transition: none; }
}

/* Alpha masks rendered from the supplied Illustrator's five social glyphs. */
.icyul-site .icyul-social-glyph { display:block; width:22px; height:22px; background:currentColor; mask:var(--icyul-social-mask) center/contain no-repeat; -webkit-mask:var(--icyul-social-mask) center/contain no-repeat; }
.icyul-site .icyul-social-rail .icyul-social-glyph { width:clamp(20px,1.563vw,30px); height:clamp(20px,1.563vw,30px); }
.icyul-social-glyph--instagram { --icyul-social-mask:url("social/instagram.png"); }
.icyul-social-glyph--facebook { --icyul-social-mask:url("social/facebook.png"); }
.icyul-social-glyph--snapchat { --icyul-social-mask:url("social/snapchat.png"); }
.icyul-social-glyph--tiktok { --icyul-social-mask:url("social/tiktok.png"); }
.icyul-social-glyph--x { --icyul-social-mask:url("social/x.png"); }


/* Footer reference: brand on the right (34%), links in the middle (21%),
   right-aligned social content in the broad left column (45%).
   Logical borders keep the two dividers in the correct RTL positions. */
.icyul-site .icyul-footer.icyul-container {
    --icyul-footer-line: rgba(var(--icyul-border-rgb), .66);
    width: min(1550px, calc(100% - 76px));
    margin-inline: auto; padding-top: 26px;
    border-top: 1px solid var(--icyul-footer-line);
}
.icyul-site .icyul-footer-main {
    display: grid; direction: rtl; grid-template-columns: 34% 21% minmax(0,1fr);
    align-items: stretch; gap: 0; padding: 0 0 14px;
}
.icyul-site .icyul-footer-main > * { min-width: 0; }
.icyul-site .icyul-footer-brand {
    grid-column: auto; display: flex; flex-direction: column; justify-content: flex-start;
    align-items: center; padding: 20px 18px 12px; text-align: right;
}
.icyul-site .icyul-footer-brand > a { display: block; width: min(100%,320px); }
.icyul-site .icyul-footer-brand img { display: block; width: 100%; height: auto; margin: 0; }
.icyul-site .icyul-footer-brand p {
    width: min(100%,320px); margin: 8px 0 0; color: var(--icyul-muted);
    font-size: clamp(9px,.7vw,11px); font-weight: 400; line-height: 1.8;
}
.icyul-site .icyul-footer-nav {
    border-inline-start: 1px solid var(--icyul-footer-line);
    padding: 0 18px 12px; text-align: center;
}
.icyul-site .icyul-footer h3 {
    margin: 0 0 4px; font-size: 20px; font-weight: 700; line-height: 1.6;
}
.icyul-site .icyul-footer-nav a { font-size: 15px; font-weight: 400; line-height: 1.4; padding-block: 0; }
.icyul-site .icyul-footer-social {
    border-inline-start: 1px solid var(--icyul-footer-line);
    padding: 0 32px 12px 0; text-align: right;
}
.icyul-site .icyul-footer-social .icyul-social-links {
    justify-content: flex-end; gap: 14px; margin-top: 6px;
}
.icyul-site .icyul-footer-social .icyul-social-item { width: 24px; height: 28px; }
.icyul-site .icyul-footer-social .icyul-social-glyph { width: 21px; height: 21px; }
.icyul-site .icyul-footer-bottom {
    border-top: 1px solid var(--icyul-footer-line); padding: 12px 4px 16px;
    display: flex; flex-direction: row; align-items: center; justify-content: space-between;
    gap: 16px; font-size: 10px; font-weight: 400; line-height: 1.6;
}
.icyul-site .icyul-footer-bottom > p { margin: 0; }
.icyul-site .icyul-footer-copyright { text-align: right; }
.icyul-site .icyul-footer-tagline { text-align: left; }
@media (min-width: 1280px) {
    .icyul-site .icyul-footer-main { min-height: 142px; }
    .icyul-site .icyul-footer-brand { padding-top: 22px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .icyul-site .icyul-footer-brand > a,
    .icyul-site .icyul-footer-brand p { max-width: 250px; }
    .icyul-site .icyul-footer h3 { font-size: 19px; }
    .icyul-site .icyul-footer-nav a { font-size: 14px; }
    .icyul-site .icyul-footer-bottom { font-size: 9px; }
}
@media (min-width: 768px) and (max-width: 900px) {
    .icyul-site .icyul-footer-nav { padding-inline: 10px; }
    .icyul-site .icyul-footer h3 { font-size: 17px; }
    .icyul-site .icyul-footer-social { padding-right: 22px; }
}
@media (max-width: 767px) {
    .icyul-site .icyul-footer.icyul-container {
        width: calc(100% - 68px); margin-left: 50px; margin-right: 18px; padding-top: 22px;
    }
    .icyul-site .icyul-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 20px; padding-bottom: 22px; }
    .icyul-site .icyul-footer-brand {
        grid-column: 1/-1; padding: 0 0 20px; text-align: center;
        border-bottom: 1px solid var(--icyul-footer-line);
    }
    .icyul-site .icyul-footer-brand > a,
    .icyul-site .icyul-footer-brand p { width: min(100%,290px); }
    .icyul-site .icyul-footer-brand p { font-size: 10px; }
    .icyul-site .icyul-footer-nav { border-inline-start: 0; padding: 0 9px; }
    .icyul-site .icyul-footer-social { padding: 0 9px; text-align: center; }
    .icyul-site .icyul-footer h3 { font-size: 17px; }
    .icyul-site .icyul-footer-nav a { font-size: 14px; line-height: 1.7; }
    .icyul-site .icyul-footer-social .icyul-social-links { justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
    .icyul-site .icyul-footer-social .icyul-social-item { width: 26px; height: 32px; }
    .icyul-site .icyul-footer-social .icyul-social-glyph { width: 19px; height: 19px; }
    .icyul-site .icyul-footer-bottom { font-size: 9px; padding-inline: 0; flex-direction: column; gap: 6px; }
    .icyul-site .icyul-footer-bottom > p { text-align: center; }
}
@media (max-width: 767px) {
    .icyul-site .icyul-footer-social .icyul-social-links { gap: 4px; }
    .icyul-site .icyul-footer-social .icyul-social-item { width: 24px; }
}
@media (max-width: 360px) {
    .icyul-site .icyul-footer-main { grid-template-columns: 1fr; }
    .icyul-site .icyul-footer-social {
        border-inline-start: 0; border-top: 1px solid var(--icyul-footer-line); padding: 16px 0 0;
    }
    .icyul-site .icyul-footer-social .icyul-social-links { gap: 12px; }
    .icyul-site .icyul-footer-social .icyul-social-item { width: 28px; height: 36px; }
}

/* 3.1.3 — reference hero composition, slow rotation and fitted About panels.
   Product layout and footer rules above are deliberately left unchanged. */
.icyul-site .icyul-header-inner { width: min(1660px,89%); gap: clamp(22px,2.5vw,48px); }
.icyul-site .icyul-nav { gap: clamp(24px,3vw,54px); }
.icyul-site .icyul-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(18px,1.1vw,21px); font-weight: 600; line-height: 1.5; }
.icyul-site .icyul-header-cta { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.icyul-site .icyul-hero-copy { top: 54%; right: 5.5%; width: 37%; max-width: none; transform: translateY(-50%); }
.icyul-site .icyul-hero-copy h1 { margin: 0; font-size: clamp(30px,4vw,80px); line-height: 1.2; }
.icyul-site .icyul-english { margin: 4px 0 0; font-size: clamp(28px,4.2vw,84px); line-height: 1.16; letter-spacing: -.5px; }
.icyul-site .icyul-hero-description { margin: 7px 0 0; font-size: clamp(16px,2.65vw,44px); line-height: 1.25; }
.icyul-site .icyul-ball { left: 35.5%; top: 50%; width: min(42vw,72svh,780px); }
.icyul-site .icyul-ball-art { display: block; width: 100%; height: auto; max-width: none; transform-origin: 50% 50%; }
.icyul-site.icyul-spin-enabled .icyul-ball-art { animation: icyul-ball-turn var(--icyul-ball-duration,32s) linear infinite; animation-play-state: paused; }
.icyul-site.icyul-spin-running .icyul-ball-art { animation-play-state: running; }
@keyframes icyul-ball-turn { from { transform: rotate(0deg) scale(1.3); } to { transform: rotate(360deg); } }
/* Saved 3.1.2 text-only settings now use the light background dimmer too.
   This is a separate layer behind the sharp glass and all text, never a blur. */
.icyul-site[data-about-overlay="text"] .icyul-about-overlay { background: rgb(0 0 0 / .24); }
.icyul-site .icyul-background-floor { filter: none; image-rendering: auto; }
.icyul-site .icyul-about { gap: 28px; }
.icyul-site.icyul-animated .icyul-about { top: max(calc(var(--icyul-header-h) + 20px),24%); transform: none; }
.icyul-site .icyul-about .icyul-rule { margin-bottom: 8px; }
.icyul-site .icyul-about .icyul-section-heading h2 { font-size: clamp(30px,2.5vw,44px); line-height: 1.3; }
.icyul-site .icyul-about .icyul-section-heading > p { margin: 4px 0 0; font-size: clamp(16px,1.25vw,21px); line-height: 1.5; color: var(--icyul-text); text-shadow: 0 1px 5px rgba(0,8,20,.7); }
.icyul-site .icyul-about .icyul-tabs { gap: 8px; margin-top: 16px; }
.icyul-site .icyul-about .icyul-tab { min-height: 42px; padding: 8px 12px; font-size: clamp(12px,.95vw,16px); line-height: 1.5; }
.icyul-site .icyul-about .icyul-tab:not(.is-active) { background: rgba(var(--icyul-surface-rgb),.88); }
.icyul-site .icyul-about .icyul-about-panels { min-height: 0; height: auto; margin-top: 9px; padding: 13px 18px; background: rgba(var(--icyul-surface-rgb),var(--icyul-about-panel-alpha,.90)); border-color: rgba(var(--icyul-border-rgb),.55); backdrop-filter: none; }
.icyul-site .icyul-about .icyul-about-panel { font-size: clamp(14px,1vw,18px); line-height: 1.8; }
.icyul-site .icyul-about .icyul-about-panel > p { margin: 0; padding: 0; }
.icyul-site.icyul-animated .icyul-about .icyul-about-panels { max-height: var(--icyul-panel-max-height,min(45svh,420px)); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 768px) and (max-width: 1100px) {
    .icyul-site .icyul-header-inner { width: 92%; gap: 20px; }
    .icyul-site .icyul-brand { flex-basis: 230px; }
    .icyul-site .icyul-nav { gap: 22px; }
    .icyul-site .icyul-nav a { font-size: 17px; }
    .icyul-site .icyul-header-cta { font-size: 14px; padding-inline: 12px; }

    .icyul-site .icyul-about .icyul-tabs { gap: 5px; }
    .icyul-site .icyul-about .icyul-tab { font-size: 12px; padding-inline: 9px; }
}
@media (max-width: 767px) {
    .icyul-site .icyul-header-inner { width: calc(100% - 32px); gap: 10px; }
    .icyul-site .icyul-header-cta { min-height: 38px; padding: 8px 10px; font-size: 12px; }
    .icyul-site .icyul-nav { flex-wrap: wrap; gap: 8px 22px; padding: 12px 16px; }
    .icyul-site .icyul-nav a { min-height: 44px; font-size: 17px; }
    .icyul-site .icyul-hero-copy { top: max(calc(var(--icyul-header-h) + 22px),15svh); right: 22px; left: 22px; width: auto; max-width: none; transform: none; }
    .icyul-site .icyul-hero-copy h1 { font-size: clamp(28px,7.6vw,38px); line-height: 1.25; }
    .icyul-site .icyul-english { font-size: clamp(24px,6.3vw,32px); margin-top: 5px; }
    .icyul-site .icyul-hero-description { font-size: 16px; line-height: 1.5; margin-top: 10px; }
    .icyul-site .icyul-ball { left: 50%; width: min(65vw,38svh,350px); top: 64%; }
    .icyul-site.icyul-animated .icyul-about { top: 48%; left: 38px; right: 18px; }
    .icyul-site .icyul-about .icyul-section-heading h2 { font-size: 28px; }
    .icyul-site .icyul-about .icyul-section-heading > p { font-size: 14px; }
    .icyul-site .icyul-about .icyul-tabs { margin-top: 12px; gap: 6px; }
    .icyul-site .icyul-about .icyul-tab { font-size: 11px; min-height: 36px; padding: 6px 9px; }
    .icyul-site .icyul-about .icyul-about-panels { padding: 10px 12px; margin-top: 8px; }
    .icyul-site .icyul-about .icyul-about-panel { font-size: 13px; line-height: 1.7; }
}
@media (max-width: 767px) and (max-height: 740px) {
    .icyul-site.icyul-animated .icyul-about { top: 43%; }
    .icyul-site .icyul-about .icyul-section-heading h2 { font-size: 26px; }
    .icyul-site .icyul-about .icyul-tabs { margin-top: 10px; }
    .icyul-site .icyul-about .icyul-rule { margin-bottom: 6px; }
}
@media (max-height: 559px) and (min-width: 768px) {
    .icyul-site .icyul-hero-copy { top: 45%; }
    .icyul-site .icyul-hero-copy h1 { font-size: 32px; }
    .icyul-site .icyul-english { font-size: 27px; }
    .icyul-site .icyul-hero-description { font-size: 17px; }
    .icyul-site .icyul-ball { top: 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .icyul-site .icyul-ball-art { animation: none !important; }
}
@media print {
    .icyul-site .icyul-ball-art { animation: none !important; }
    .icyul-site .icyul-about .icyul-about-panels { max-height: none !important; overflow: visible !important; }
}
/* Static fallback: keep hero coordinates relative to its own viewport, not the
   combined height of the normal-flow hero + About sections. */
@media (min-width: 768px) {
    .icyul-site:not(.icyul-animated) .icyul-hero-copy { top: min(486px,54svh); }
}
.icyul-site:not(.icyul-animated) .icyul-background-floor { top: min(900px,100svh); height: calc(100% - min(900px,100svh)); opacity: 1 !important; mask-image: none; -webkit-mask-image: none; }
/* On short narrow screens, use a taller normal-flow hero instead of placing
   the ball over the text. The reader can scroll normally to see both. */
@media (max-width: 767px) and (max-height: 559px) {
    .icyul-site:not(.icyul-animated) .icyul-stage { padding-top: 620px; }
    .icyul-site:not(.icyul-animated) .icyul-scene { height: 620px; }
    .icyul-site:not(.icyul-animated) .icyul-ball { top: 422px; width: 220px; }
    .icyul-site:not(.icyul-animated) .icyul-scroll-cue { top: 552px; }
    .icyul-site:not(.icyul-animated) .icyul-background-floor { top: 620px; height: calc(100% - 620px); }
    .icyul-site:not(.icyul-animated) .icyul-about-overlay { height: calc(100% - 620px); }
}

/* Shared section typography: About / Products / Factory / Contact.
   These final selectors intentionally override the older small-height rules. */
.icyul-site .icyul-section-heading h2,
.icyul-site .icyul-about .icyul-section-heading h2,
.icyul-site .icyul-catalog .icyup-title {
    font-size: var(--icyud-title-size);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: normal;
}
/* Factory and Products share one horizontal content axis, including on mobile. */
.icyul-site .icyul-factory.icyul-container {
    width: var(--icyud-content-width); max-width: none;
    margin-inline: auto; padding-inline: 0;
}
.icyul-site .icyul-factory .icyul-section-heading { text-align: right; }
.icyul-site .icyul-factory .icyul-rule { display: none; }
.icyul-site .icyul-factory .icyul-section-heading h2 { position: relative; padding-top: 12px; }
.icyul-site .icyul-factory .icyul-section-heading h2::before {
    content: ""; position: absolute; right: 0; top: 0;
    width: clamp(120px,10vw,180px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--icyul-heading) 48%, transparent);
}
/* White decorative after-rule, underneath Contact's heading only. */
.icyul-site .icyul-contact .icyul-section-heading h2::after {
    content: ""; display: block; width: 76px; height: 2px;
    margin: 10px auto 0; background: #fff; pointer-events: none;
}
@media (max-width: 767px) {
    .icyul-site .icyul-factory.icyul-container { margin-left: 50px; margin-right: 18px; }
}

@media (min-width: 768px) and (max-height: 559px) {
    .icyul-site:not(.icyul-animated) .icyul-stage { padding-top: 560px; }
    .icyul-site:not(.icyul-animated) .icyul-scene { height: 560px; }
    .icyul-site:not(.icyul-animated) .icyul-hero-copy { top: 302px; }
    .icyul-site:not(.icyul-animated) .icyul-ball { top: 280px; width: min(42vw,390px); }
    .icyul-site:not(.icyul-animated) .icyul-scroll-cue { top: 500px; }
    .icyul-site:not(.icyul-animated) .icyul-background-floor { top: 560px; height: calc(100% - 560px); }
    .icyul-site:not(.icyul-animated) .icyul-about-overlay { height: calc(100% - 560px); }
}


/* v3.1.4 | Header lives at the very top of the page; it scrolls away.
   It still overlays the hero and preserves the existing nav/mobile menu. */
.icyul-site .icyul-header {
    position: absolute; inset-inline: 0; top: 0; margin-bottom: 0;
    background: linear-gradient(180deg,rgba(2,15,31,.55),rgba(2,15,31,0));
    z-index: 60;
}
.icyul-site .icyul-header.is-scrolled {
    background: linear-gradient(180deg,rgba(2,15,31,.55),rgba(2,15,31,0));
    border-color: transparent;
    backdrop-filter: none;
}
/* Hero: globe is exactly on the stage's horizontal centerline; copy comes
   closer on its right, with sizing that prevents overlap on desktop. */
.icyul-site .icyul-ball {
    left: 50%; top: 50%; width: min(29vw, 48svh, 530px);
}
.icyul-site .icyul-hero-copy {
    right: 8%; top: 53%; width: 34%; max-width: none;
}
.icyul-site .icyul-hero-copy h1 { font-size: clamp(29px, 3.35vw, 62px); }
.icyul-site .icyul-english { font-size: clamp(27px, 3.05vw, 56px); }
.icyul-site .icyul-hero-description { font-size: clamp(17px, 2vw, 33px); }
/* The quick-links column is anchored to its right edge, like Follow us.
   The column order / footer dividers remain unchanged. */
.icyul-site .icyul-footer-nav {
    text-align: right;
    padding-right: 32px;
}
.icyul-site .icyul-footer-nav h3,
.icyul-site .icyul-footer-nav a { text-align: right; }
/* Contact details and their links also read from the right in RTL. */
.icyul-site .icyul-contact-grid .icyul-contact-card {     text-align: center;
    align-items: center;
 }
.icyul-site .icyul-contact-grid .icyul-contact-card > span { width: 100%; text-align: center; }
/* Identical yellow top-rule treatment to Factory: ::before, not ::after. */
.icyul-site .icyul-contact .icyul-section-heading h2 {
    display: table; margin-inline: auto; position: relative; padding-top: 12px;
}
.icyul-site .icyul-contact .icyul-section-heading h2::before {
    content: ''; position: absolute; right: 0; top: 0;
    width: clamp(120px, 10vw, 180px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--icyul-heading) 48%, transparent);
}
.icyul-site .icyul-contact .icyul-section-heading h2::after {
    content: none; display: none;
}
@media (min-width: 768px) and (max-width: 1100px) {
    .icyul-site .icyul-ball { width: min(26vw, 46svh, 360px); }
    .icyul-site .icyul-hero-copy { right: 7%; width: 35%; }
    .icyul-site .icyul-english { font-size: clamp(25px, 2.9vw, 35px); }
    .icyul-site .icyul-hero-copy h1 { font-size: clamp(27px, 3.1vw, 36px); }
    .icyul-site .icyul-hero-description { font-size: clamp(16px, 1.7vw, 22px); }
    .icyul-site .icyul-footer-nav { padding-right: 18px; }
}
@media (max-width: 767px) {
    /* Text stays above the centered sphere, never alongside on narrow screens. */
    .icyul-site .icyul-hero-copy {
        right: 22px; left: 22px; width: auto;
        top: max(calc(var(--icyul-header-h) + 22px),15svh);
    }
    .icyul-site .icyul-hero-copy h1 { font-size: clamp(28px, 7.6vw, 38px); }
    .icyul-site .icyul-english { font-size: clamp(24px, 6.3vw, 32px); }
    .icyul-site .icyul-hero-description { font-size: 16px; }
    .icyul-site .icyul-ball { left: 50%; top: 64%; width: min(65vw, 38svh, 350px); }
    .icyul-site .icyul-footer-nav { padding-right: 9px; text-align: right; }
}
@media (max-width: 360px) {
    .icyul-site .icyul-footer-nav { padding-right: 0; }
}
@media (max-height: 430px) and (min-width: 768px) {
    /* Short landscape viewports already use the static timeline. */
    .icyul-site .icyul-hero-copy { top: 54%; }
}

/* Keep the footer columns consistently right-aligned at mobile widths too. */
@media (max-width: 767px) {
    .icyul-site .icyul-footer-social { text-align: right; }
    .icyul-site .icyul-footer-social .icyul-social-links { justify-content: flex-start; }
}
