:root {
    --ink: #0b0b0c;
    --ink-soft: #151416;
    --paper: #f4f0e8;
    --paper-2: #e8e1d5;
    --white: #fffdf8;
    --red: #d32f2f;
    --red-dark: #a91820;
    --amber: #db8d23;
    --muted: #6e6962;
    --line: rgba(11, 11, 12, .14);
    --line-light: rgba(255, 255, 255, .16);
    --shadow: 0 24px 70px rgba(11, 11, 12, .16);
    --shell: min(1180px, calc(100% - 40px));
    --ease: 260ms cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    max-width: 100%;
    overflow-x: clip;
}
body.menu-open { overflow: hidden; }
body[data-lang="zgh"] { font-family: "Segoe UI", "Noto Sans Tifinagh", Arial, sans-serif; }

img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
a, button, summary { touch-action: manipulation; }
::selection { color: var(--white); background: var(--red); }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    transform: translateY(-150%);
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--red);
    font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    color: var(--white);
    background: linear-gradient(180deg, rgba(5, 5, 6, .92), rgba(5, 5, 6, .62) 65%, transparent);
    transition: background var(--ease), box-shadow var(--ease);
}
.site-header.is-scrolled {
    background: rgba(9, 9, 10, .96);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
    backdrop-filter: blur(16px);
}
.header-inner {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.2rem, 3vw, 3rem);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 0 0 5px rgba(211, 47, 47, .16);
}
.brand-name {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 1.24rem;
    letter-spacing: .05em;
    line-height: 1;
}
.brand-word-primary { color: inherit; }
.brand-word-accent { color: var(--red); }

body[data-lang="zgh"] .brand-name {
    font-family: "Segoe UI", "Noto Sans Tifinagh", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: .02em;
}

body[data-lang="zgh"] .brand-word-accent {
    margin-inline-start: .24em;
}

.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 2.25vw, 2rem); }
.site-nav a {
    position: relative;
    padding: .5rem 0;
    color: rgba(255, 255, 255, .74);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: color var(--ease);
}
.site-nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--white); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-pages { position: relative; }
.nav-pages summary {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem 0;
    color: rgba(255, 255, 255, .74);
    cursor: pointer;
    list-style: none;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: color var(--ease);
}
.nav-pages summary::-webkit-details-marker { display: none; }
.nav-pages summary:hover, .nav-pages summary:focus-visible, .nav-pages[open] summary { color: var(--white); }
.nav-pages summary > span:last-child { font-size: 1rem; transition: transform var(--ease); }
.nav-pages[open] summary > span:last-child { transform: rotate(180deg); }
.nav-pages-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 12px);
    left: 50%;
    width: 250px;
    display: grid;
    padding: .55rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(11, 11, 12, .08);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
}
.nav-pages[open] .nav-pages-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav .nav-pages-menu a {
    padding: .72rem .8rem;
    color: #3e3933;
    border-bottom: 1px solid rgba(11, 11, 12, .08);
    font-size: .72rem;
}
.site-nav .nav-pages-menu a:last-child { border-bottom: 0; }
.site-nav .nav-pages-menu a:hover, .site-nav .nav-pages-menu a:focus-visible { color: var(--red); background: var(--paper); }
.site-nav .nav-pages-menu a::after { display: none; }

.language { position: relative; }
.language-current {
    min-width: 76px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .1em;
    transition: background var(--ease), border-color var(--ease);
}
.language-current:hover, .language-current:focus-visible { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .38); }
.language-chevron { font-size: 1rem; transition: transform var(--ease); }
.language.open .language-chevron { transform: rotate(180deg); }
.language-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    min-width: 186px;
    padding: .45rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(11, 11, 12, .08);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
}
.language.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .8rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: .86rem;
    transition: background var(--ease), color var(--ease);
}
.language-menu button:hover, .language-menu button:focus-visible, .language-menu button.active { color: var(--red); background: var(--paper); }
.language-menu button span { min-width: 28px; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }

.menu-toggle { display: none; }

.hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    align-items: center;
    color: var(--white);
    background: var(--ink);
    overflow: hidden;
}
.hero-image, .hero-shade, .hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 64% center; filter: saturate(.72) contrast(1.06); }
.hero-shade { background: linear-gradient(90deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, .82) 43%, rgba(5, 5, 6, .34) 72%, rgba(5, 5, 6, .46) 100%); }
.hero-pattern {
    opacity: .18;
    background-image: linear-gradient(30deg, transparent 45%, rgba(255,255,255,.14) 46%, rgba(255,255,255,.14) 47%, transparent 48%), linear-gradient(150deg, transparent 45%, rgba(255,255,255,.09) 46%, rgba(255,255,255,.09) 47%, transparent 48%);
    background-size: 90px 52px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    align-items: end;
    gap: clamp(3rem, 7vw, 8rem);
    padding-block: 150px 105px;
}
.hero-copy { max-width: 790px; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0 0 1.2rem;
    color: var(--red);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: currentColor; }
.eyebrow.light { color: #f2a83d; }
.hero h1, .section h2, .contact-card h2 {
    margin: 0;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-weight: 500;
    letter-spacing: .008em;
    line-height: .98;
    text-transform: uppercase;
}
.hero h1 { max-width: 810px; font-size: clamp(3.4rem, 7.2vw, 7.2rem); }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #f0a032; font-style: normal; }
.hero-lead { max-width: 650px; margin: 1.8rem 0 2.25rem; color: rgba(255,255,255,.74); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.5rem;
    border: 1px solid transparent;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 14px 35px rgba(211, 47, 47, .28); }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-dark); box-shadow: 0 18px 44px rgba(211, 47, 47, .4); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.44); background: rgba(255,255,255,.04); }
.button-ghost:hover, .button-ghost:focus-visible { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover, .button-light:focus-visible { color: var(--white); background: var(--ink); }

.hero-card { border-top: 1px solid var(--line-light); }
.hero-card div { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: .8rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-light); }
.hero-card strong { color: #f0a032; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; font-style: italic; }
.hero-card span { color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 800; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.scroll-cue {
    position: absolute;
    z-index: 3;
    right: max(20px, calc((100% - 1180px) / 2));
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255,255,255,.7);
}
.scroll-cue span { width: 46px; height: 1px; background: rgba(255,255,255,.5); animation: pulse-line 1.8s ease-in-out infinite; }
.scroll-cue small { font-size: .64rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
@keyframes pulse-line { 50% { width: 68px; background: var(--red); } }

.value-strip { color: var(--white); background: var(--red); overflow: hidden; contain: paint; }
.value-strip > div { min-width: max-content; display: flex; align-items: center; gap: 2rem; padding: .78rem 0; animation: marquee 24s linear infinite; }
.value-strip span { font-size: 1.05rem; }
.value-strip b { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: .88rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-36%); } }

.section { position: relative; padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section h2, .contact-card h2 { font-size: clamp(2.7rem, 5.6vw, 5.5rem); }
.section-heading { max-width: 780px; margin-bottom: 3.5rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading > p:last-child { max-width: 680px; margin: 1.35rem 0 0; color: var(--muted); font-size: 1.05rem; }
.section-heading.centered > p:last-child { margin-inline: auto; }
.large-copy { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; }

.story { background: var(--paper); }
.story::before {
    content: "ⵣ";
    position: absolute;
    top: 7%;
    right: -2%;
    color: rgba(11, 11, 12, .035);
    font-family: serif;
    font-size: min(34vw, 420px);
    line-height: 1;
}
.story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.story-copy { position: relative; z-index: 1; }
.story-copy > p:not(.eyebrow) { color: var(--muted); }
.story-copy .large-copy { color: var(--ink); }
.story-copy blockquote { margin: 2.1rem 0 0; padding: .4rem 0 .4rem 1.5rem; color: var(--ink); border-left: 4px solid var(--red); font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.story-media { position: relative; min-height: 650px; }
.archive-frame { position: absolute; inset: 0 7% 6% 0; margin: 0; background: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.archive-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); pointer-events: none; }
.archive-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.12) contrast(1.04); transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter var(--ease); }
.archive-frame:hover img { transform: scale(1.035); filter: grayscale(.72) sepia(.12) contrast(1.04); }
.archive-frame figcaption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    color: var(--white);
    background: linear-gradient(180deg, transparent, rgba(5,5,6,.9));
}
.archive-frame figcaption span { color: #f0a032; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.archive-frame figcaption b { font-size: .76rem; letter-spacing: .05em; text-align: right; text-transform: uppercase; }
.year-stamp {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 172px;
    height: 172px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .6rem;
    padding: 1rem;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 16px 40px rgba(211,47,47,.3);
}
.year-stamp strong { font-size: 2.4rem; line-height: 1; }
.year-stamp span { max-width: 120px; font-size: .62rem; font-weight: 900; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }

.founder { color: var(--white); background: var(--ink-soft); overflow: hidden; }
.founder::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(135deg, transparent 49.5%, rgba(255,255,255,.2) 50%, transparent 50.5%); background-size: 36px 36px; }
.founder-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.founder-photo { position: relative; margin: 0; }
.founder-photo::before { content: ""; position: absolute; z-index: -1; inset: -22px 24px 24px -22px; border: 1px solid rgba(255,255,255,.2); }
.founder-photo img { width: 100%; min-height: 520px; object-fit: cover; object-position: center; filter: saturate(.78) contrast(1.04); }
.founder-photo figcaption { position: absolute; inset: auto 0 0; padding: 1rem 1.25rem; color: var(--white); background: rgba(211,47,47,.92); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.founder-copy { position: relative; }
.founder-copy h2 { color: #f0a032; }
.founder-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.founder-copy .large-copy { color: var(--white); }
.founder-signature { display: flex; align-items: center; gap: 1rem; margin-top: 2.1rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16); }
.founder-signature > span { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; color: var(--white); background: var(--red); border-radius: 50%; font-size: 1.45rem; }
.founder-signature div { display: grid; gap: .15rem; }
.founder-signature b { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 1.2rem; font-weight: 500; letter-spacing: .06em; }
.founder-signature small { color: rgba(255,255,255,.56); }

.method { background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-card { min-height: 310px; display: flex; flex-direction: column; padding: 2.4rem; background: rgba(255,255,255,.28); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color var(--ease), background var(--ease), transform var(--ease); }
.method-card:hover { color: var(--white); background: var(--ink); transform: translateY(-8px); }
.method-card > span { color: var(--red); font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.method-card h3 { margin: auto 0 .8rem; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 2.2rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.method-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.method-card:hover p { color: rgba(255,255,255,.64); }

.archives { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item {
    position: relative;
    grid-column: span 5;
    min-height: 440px;
    padding: 0;
    background: var(--ink);
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    text-align: left;
}
.gallery-item.wide { grid-column: span 7; }
.gallery-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: grayscale(1) sepia(.08) contrast(1.04); transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(5,5,6,.9)); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); filter: grayscale(.3) sepia(.05) contrast(1.04); }
.gallery-item > span { position: absolute; z-index: 2; inset: auto 1.4rem 1.25rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; color: var(--white); }
.gallery-item b { color: #f0a032; font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.gallery-item small { font-size: .7rem; font-weight: 900; letter-spacing: .1em; line-height: 1.4; text-align: right; text-transform: uppercase; }

.demonstration { color: var(--white); background: var(--red-dark); }
.demo-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.demo-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.demo-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.video-note { margin-top: 1.6rem; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.video-frame { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.video-frame::before { content: "ⵣ"; position: absolute; z-index: 2; top: -24px; right: -24px; width: 70px; height: 70px; display: grid; place-items: center; color: var(--red); background: var(--white); border-radius: 50%; font-size: 1.7rem; }
.video-frame video { width: 100%; max-height: 620px; background: var(--ink); object-fit: contain; }

.sponsor-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    color: var(--ink);
    background: linear-gradient(120deg, rgba(219,141,35,.08), transparent 42%), var(--paper);
}
.sponsor-section::before {
    content: "SPONSORS";
    position: absolute;
    top: 1rem;
    right: -1rem;
    color: rgba(11,11,12,.035);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(5rem, 17vw, 14rem);
    letter-spacing: -.04em;
    line-height: .8;
    pointer-events: none;
}
.sponsor-heading { position: relative; z-index: 1; max-width: 870px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.sponsor-heading h2 {
    max-width: 820px;
    margin: .35rem 0 1.2rem;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2.8rem, 6.2vw, 6rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: .9;
    text-transform: uppercase;
}
.sponsor-heading > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.sponsor-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.sponsor-card {
    display: flex;
    min-height: 335px;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.25rem;
    border: 1px solid rgba(11,11,12,.12);
    background: #fff;
    box-shadow: 0 18px 44px rgba(11,11,12,.08);
}
.sponsor-logo {
    display: grid;
    min-height: 185px;
    padding: 1.5rem;
    place-items: center;
    border: 1px solid rgba(11,11,12,.08);
    background: #f8f6f1;
}
.sponsor-logo img { width: 100%; max-width: 165px; max-height: 155px; object-fit: contain; }
.sponsor-card > div:last-child { padding: .2rem .4rem .5rem; }
.sponsor-card span { color: #9a6219; font-size: .65rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.sponsor-card h3 { min-height: 2.3em; margin: .55rem 0 .65rem; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.08; }
.sponsor-card p { min-height: 2.6em; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 700; }
.sponsor-card a { display: inline-block; margin-top: .75rem; color: var(--ink); font-size: .77rem; font-weight: 800; overflow-wrap: anywhere; text-decoration-color: var(--red); text-underline-offset: .3em; }
.sponsor-cta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
.sponsor-feature {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(219,141,35,.42);
    background: #101115;
    box-shadow: 0 32px 80px rgba(11,11,12,.18);
}
.sponsor-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    pointer-events: none;
}
.sponsor-identity {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 4.25rem);
    color: var(--white);
    background: radial-gradient(circle at 20% 18%, rgba(211,47,47,.2), transparent 32%), linear-gradient(145deg, #17191e, #0c0d10);
}
.sponsor-shield {
    width: 150px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(219,141,35,.45);
    border-radius: 50%;
    background: #f7f3ea;
    box-shadow: 0 18px 46px rgba(0,0,0,.3);
}
.sponsor-shield img { width: 87%; height: 87%; object-fit: contain; }
.sponsor-brand > span { color: var(--amber); font-size: .68rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.sponsor-brand h3 {
    max-width: 380px;
    margin: .65rem 0 .8rem;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2.3rem, 4.8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: .92;
    text-transform: uppercase;
}
.sponsor-brand p { margin: 0 0 1.25rem; color: rgba(255,255,255,.62); font-weight: 700; }
.sponsor-brand a { color: var(--white); font-size: .9rem; font-weight: 800; text-decoration-color: var(--red); text-underline-offset: .35em; }
.sponsor-brand a:hover, .sponsor-brand a:focus-visible { color: #f3b552; }
.sponsor-banner { position: relative; min-height: 500px; margin: 0; background: #242d38; }
.sponsor-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,13,16,.34), transparent 38%); pointer-events: none; }
.sponsor-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.site-pages {
    color: var(--white);
    background:
        radial-gradient(circle at 82% 18%, rgba(211,47,47,.22), transparent 30%),
        linear-gradient(135deg, #0a0a0b, #171416);
    overflow: hidden;
}
.site-pages::before {
    content: "PAGES";
    position: absolute;
    top: 0;
    right: -1vw;
    color: rgba(255,255,255,.035);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(7rem, 23vw, 20rem);
    line-height: .8;
    pointer-events: none;
}
.pages-heading { position: relative; z-index: 1; }
.pages-heading > p:last-child { color: rgba(255,255,255,.6); }
.page-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.14);
}
.page-card {
    min-height: 245px;
    position: relative;
    display: grid;
    align-content: end;
    padding: 2rem;
    background: #111012;
    transition: color var(--ease), background var(--ease), transform var(--ease);
}
.page-card:hover, .page-card:focus-visible { color: var(--ink); background: var(--white); transform: translateY(-4px); }
.page-card > span {
    position: absolute;
    top: 1.45rem;
    left: 1.6rem;
    color: #ee9b30;
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
}
.page-card h3 {
    max-width: 330px;
    margin: 0 0 .65rem;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1;
}
.page-card p { max-width: 310px; margin: 0; color: rgba(255,255,255,.56); font-size: .9rem; }
.page-card:hover p, .page-card:focus-visible p { color: var(--muted); }
.page-card b { position: absolute; top: 1.35rem; right: 1.6rem; color: var(--red); font-size: 1.5rem; }

.contact-section { padding: clamp(5rem, 9vw, 8rem) 0; color: var(--white); background: var(--ink); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, rgba(255,255,255,.045), transparent); }
.contact-card h2 { font-size: clamp(2.7rem, 5.3vw, 5.2rem); }
.contact-card > div:first-child > p:last-child { max-width: 680px; color: rgba(255,255,255,.65); }
.contact-actions { display: grid; gap: .8rem; justify-items: start; }
.whatsapp-link { min-width: min(100%, 300px); display: grid; justify-items: start; gap: .15rem; }
.whatsapp-link span { font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.whatsapp-link strong { font-size: 1rem; letter-spacing: .025em; }
.contact-actions > span { color: rgba(255,255,255,.5); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { color: var(--white); background: #050506; border-top: 1px solid rgba(255,255,255,.09); }
.footer-grid { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem 4rem; padding-block: 2.5rem; }
.footer-brand p { margin: .9rem 0 0; color: rgba(255,255,255,.48); font-size: .86rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 2rem; }
.site-footer nav a { color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: color var(--ease); }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--red); }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; color: rgba(255,255,255,.36); border-top: 1px solid rgba(255,255,255,.08); font-size: .72rem; letter-spacing: .06em; }

.lightbox { width: min(1000px, calc(100% - 30px)); max-height: 92vh; padding: 0; color: var(--white); background: #080809; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox img:not([src]) { display: none; }
.lightbox p { margin: 0; padding: 1rem 1.25rem; color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--white); background: rgba(5,5,6,.82); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer; font-size: 1.7rem; line-height: 1; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid #f0a032; outline-offset: 4px; }

@media (max-width: 1000px) {
    .header-inner { grid-template-columns: auto auto 1fr; }
    .menu-toggle {
        width: 42px;
        height: 42px;
        display: grid;
        align-content: center;
        gap: 5px;
        padding: 0 10px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 50%;
        cursor: pointer;
    }
    .menu-toggle span { width: 100%; height: 2px; background: var(--white); transition: transform var(--ease), opacity var(--ease); }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav {
        position: fixed;
        inset: 84px 0 auto;
        display: grid;
        gap: 0;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 1rem 20px 1.5rem;
        background: rgba(9,9,10,.98);
        border-top: 1px solid rgba(255,255,255,.08);
        transform: translateY(-125%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
    }
    .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .site-nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
    .language { justify-self: end; }
    .hero-layout { grid-template-columns: 1fr; align-items: center; }
    .hero-card { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; }
    .hero-card div { grid-template-columns: auto 1fr; padding: 1rem; border-right: 1px solid var(--line-light); }
    .story-grid, .founder-grid, .demo-grid { grid-template-columns: 1fr; }
    .story-media { min-height: 620px; }
    .founder-photo { max-width: 780px; }
    .demo-copy { max-width: 760px; }
    .method-card { min-height: 280px; padding: 1.8rem; }
    .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-pages summary { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
    .nav-pages-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        color: var(--white);
        background: rgba(255,255,255,.04);
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height var(--ease), padding var(--ease);
    }
    .nav-pages[open] .nav-pages-menu { max-height: 610px; padding: .35rem .8rem; transform: none; }
    .site-nav .nav-pages-menu a { color: rgba(255,255,255,.74); border-bottom-color: rgba(255,255,255,.08); }
    .site-nav .nav-pages-menu a:hover, .site-nav .nav-pages-menu a:focus-visible { color: var(--white); background: rgba(255,255,255,.06); }
}

@media (max-width: 760px) {
    :root { --shell: min(100% - 28px, 1180px); }
    .header-inner { min-height: 72px; grid-template-columns: auto auto 1fr; gap: .8rem; }
    .brand-name { font-size: 1rem; }
    .brand-mark { width: 34px; height: 34px; font-size: 1.15rem; }
    .site-nav { inset: 72px 0 auto; }
    .site-nav { max-height: calc(100dvh - 72px); }
    .language-current { min-width: 64px; height: 40px; }
    .hero { min-height: 850px; }
    .hero-image { object-position: 63% center; }
    .hero-shade { background: linear-gradient(180deg, rgba(5,5,6,.82), rgba(5,5,6,.9) 52%, rgba(5,5,6,.98)); }
    .hero-layout { padding-block: 125px 95px; gap: 3rem; }
    .hero h1 { font-size: clamp(3.15rem, 15vw, 5.4rem); }
    .hero-lead { font-size: .98rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-card div { grid-template-columns: 45px 1fr; padding: .75rem 0; border-right: 0; }
    .scroll-cue { display: none; }
    .section { padding-block: 5.2rem; }
    .section h2, .contact-card h2 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
    .story-media { min-height: 500px; }
    .archive-frame { inset: 0 4% 8% 0; }
    .archive-frame figcaption { display: grid; }
    .archive-frame figcaption b { text-align: left; }
    .year-stamp { width: 130px; height: 130px; }
    .year-stamp strong { font-size: 1.8rem; }
    .year-stamp span { font-size: .52rem; }
    .founder-photo img { min-height: 380px; }
    .method-grid { grid-template-columns: 1fr; }
    .method-card { min-height: 245px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
    .gallery-item, .gallery-item.wide { grid-column: auto; min-height: 370px; }
    .page-grid { grid-template-columns: 1fr; }
    .page-card { min-height: 230px; }
    .sponsor-grid { grid-template-columns: 1fr; }
    .sponsor-card { min-height: 300px; }
    .sponsor-feature { grid-template-columns: 1fr; }
    .sponsor-identity { min-height: 440px; }
    .sponsor-banner { min-height: 380px; }
    .contact-card { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
    .contact-actions { width: 100%; }
    .whatsapp-link { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer nav { justify-content: flex-start; }
    .copyright { grid-column: auto; }
}

@media (max-width: 430px) {
    .brand-name { display: none; }
    .hero { min-height: 800px; }
    .story-media { min-height: 430px; }
    .gallery-item, .gallery-item.wide { min-height: 320px; }
    .sponsor-heading h2 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
    .sponsor-identity { min-height: 400px; padding: 2rem 1.25rem; }
    .sponsor-shield { width: 120px; }
    .sponsor-banner { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
