/* ==========================================================
   Itiya Dube · Model · Miss Universe Switzerland 2026
   Luxury fashion house: black, bone, stone. Italiana + Cormorant + Inter
   ========================================================== */

:root {
  /* Royal palette · 60% Warm Cream · 30% Royal Plum · 10% Metallic Gold */
  --black: #3B143D;        /* Royal Plum: structure, dark sections, text on cream */
  --ink: #2A0D2C;          /* deeper plum for frames */
  --bone: #FAF7F0;         /* Warm Cream: text on plum */
  --paper: #FAF7F0;        /* Warm Cream: the foundation */
  --gold: #D4AF37;         /* Metallic Gold: actions & key details */
  --gold-deep: #9A7A1C;    /* gold for small text on cream (legible) */
  --stone: #8E7C8C;
  --stone-dark: #5E4A5C;
  --line-d: rgba(250, 247, 240, .16);
  --line-l: rgba(59, 20, 61, .14);

  --mast: "Italiana", "Didot", "Bodoni 72", serif;
  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 48px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; }
::selection { background: var(--bone); color: var(--black); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--stone); }

section { position: relative; }
[data-tone="dark"] { background: var(--black); color: var(--bone); }
[data-tone="light"] { background: var(--paper); color: var(--black); }

/* ---------- shared type ---------- */
.label { display: flex; gap: 14px; margin: 0 0 28px; font-size: 11px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }
.label span:first-child { color: var(--stone); letter-spacing: .1em; }
.display { font-family: var(--mast); font-weight: 400; font-size: clamp(48px, 8vw, 140px); line-height: .92; letter-spacing: -.01em; margin: 0; }
.display em { font-size: 1.04em; letter-spacing: -.02em; }
.display--sm { font-size: clamp(44px, 5.4vw, 92px); }
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 30px; border: 1px solid currentColor;
  font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.btn:hover { color: var(--bone); }
.btn:hover::before { transform: scaleY(1); }
.btn i { font-style: normal; transition: transform .6s var(--ease); }
.btn:hover i { transform: translateX(6px); }
.btn--light::before { background: var(--bone); }
.btn--light:hover { color: var(--black); }
.link-line { display: inline-block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; gap: 26px; pointer-events: none; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--black); z-index: -1; transition: transform 1.3s var(--ease-io); }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__name { display: flex; font-family: var(--mast); font-size: clamp(28px, 4vw, 54px); letter-spacing: .28em; color: var(--bone); transition: opacity .6s, letter-spacing 1.2s var(--ease); }
.loader__name span { opacity: 0; filter: blur(10px); animation: letterIn 1s var(--ease) forwards; }
.loader__name span:nth-child(2) { animation-delay: .06s; } .loader__name span:nth-child(3) { animation-delay: .12s; }
.loader__name span:nth-child(4) { animation-delay: .18s; } .loader__name span:nth-child(5) { animation-delay: .24s; }
.loader__name span:nth-child(7) { animation-delay: .36s; } .loader__name span:nth-child(8) { animation-delay: .42s; }
.loader__name span:nth-child(9) { animation-delay: .48s; } .loader__name span:nth-child(10) { animation-delay: .54s; }
.loader__name .gap { width: .6em; }
.loader__line { width: min(220px, 50vw); height: 1px; background: var(--line-d); overflow: hidden; transition: opacity .5s; }
.loader__line i { display: block; height: 100%; background: var(--bone); transform-origin: left; animation: line 1.6s var(--ease-io) .3s both; }
@keyframes letterIn { to { opacity: 1; filter: blur(0); } }
@keyframes line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.is-loaded .loader__name { opacity: 0; letter-spacing: .6em; }
.is-loaded .loader__line { opacity: 0; }
.is-loaded .loader__panel--top { transform: translateY(-101%); transition-delay: .25s; }
.is-loaded .loader__panel--bottom { transform: translateY(101%); transition-delay: .25s; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 450; pointer-events: none;
    width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
    background: var(--bone); mix-blend-mode: difference;
    transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease);
  }
  .cursor span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .3s; }
  .cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--gold); }
  .cursor.is-big span { opacity: 1; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  color: var(--bone); mix-blend-mode: difference;
}
.nav__mark { font-family: var(--mast); font-size: 22px; letter-spacing: .22em; text-transform: uppercase; justify-self: start; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.lang { display: flex; gap: 10px; }
.lang button { font-size: 11px; letter-spacing: .2em; opacity: .45; transition: opacity .3s; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.burger { width: 34px; height: 20px; position: relative; display: none; }
.burger span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 6px; }
.burger span:last-child { top: 13px; }
.burger[aria-expanded="true"] span:first-child { top: 10px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 10px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 250; background: var(--black); color: var(--bone);
  display: grid; grid-template-columns: 1fr 1.2fr; align-items: center;
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io), visibility 0s 1s; visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease-io); }
.menu__img { height: 100%; overflow: hidden; }
.menu__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.15); transition: transform 1.6s var(--ease); }
.menu.is-open .menu__img img { transform: scale(1); }
.menu__links { display: flex; flex-direction: column; padding: 0 var(--gutter) 0 clamp(24px, 5vw, 90px); }
.menu__links a { display: flex; align-items: baseline; gap: 22px; font-family: var(--mast); font-size: clamp(40px, 6.4vw, 104px); line-height: 1.08; opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease), font-style .3s; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .06s; } .menu.is-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .18s; } .menu.is-open .menu__links a:nth-child(5) { transition-delay: .24s; }
.menu__links a i { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--stone); }
.menu__links a:hover span { font-family: var(--serif); font-style: italic; }

/* ---------- COVER ---------- */
.cover { height: 100svh; min-height: 560px; overflow: hidden; }
.cover__mast {
  position: absolute; left: 0; right: 0; top: calc(72px + 3svh); z-index: 1;
  text-align: center; font-family: var(--mast);
  font-size: min(31vw, 52svh); line-height: .8; letter-spacing: .04em;
  color: var(--bone); white-space: nowrap; pointer-events: none;
}
.cover__frame {
  position: absolute; z-index: 2; left: 50%; bottom: 0;
  height: 76svh; aspect-ratio: .76; margin-left: calc(76svh * -.38);
  overflow: hidden; background: var(--ink);
}
.slide { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.18); transition: transform 7s cubic-bezier(.2, .6, .3, 1); }
.slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.slide.is-active img { transform: scale(1); }
.slide.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.cover__name {
  position: absolute; z-index: 3; right: max(var(--gutter), calc(50% - 38svh * .76 - 18vw)); bottom: 7svh; margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: min(15vw, 27svh); line-height: .8; letter-spacing: -.02em;
  color: var(--bone); mix-blend-mode: difference;
}
.cover__side { position: absolute; z-index: 3; top: 50%; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; line-height: 2; }
.cover__side p { margin: 0; }
.cover__side--l { left: var(--gutter); }
.cover__side--r { right: var(--gutter); text-align: right; }
.cover__foot { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; pointer-events: none; }
.cover__foot > * { pointer-events: auto; }
.cover__count b { font-weight: 400; }
.cover__bars { display: flex; gap: 6px; }
.cover__bars i { width: 34px; height: 1px; background: var(--line-d); overflow: hidden; position: relative; }
.cover__bars i::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.cover__bars i.is-done::after { transform: scaleX(1); }
.cover__bars i.is-run::after { animation: bar 5.5s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.cover__scroll { justify-self: end; }

/* ---------- INTRO ---------- */
.intro { padding: clamp(110px, 14vw, 220px) var(--gutter) clamp(90px, 10vw, 160px); }
.intro__text { font-family: var(--mast); font-weight: 400; font-size: clamp(34px, 5.3vw, 92px); line-height: 1.1; letter-spacing: -.005em; margin: 0 0 clamp(60px, 8vw, 120px); max-width: 1500px; }
.intro__text em { font-size: 1.05em; }
.pill-img { display: inline-block; height: .78em; width: 1.7em; border-radius: 999px; object-fit: cover; vertical-align: -.06em; margin: 0 .08em; filter: grayscale(1); transition: filter .8s; }
.intro__text:hover .pill-img { filter: none; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word__in { display: inline-block; }
.intro__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 120px); align-items: end; border-top: 1px solid var(--line-l); padding-top: 32px; }
.intro__p { margin: 0; max-width: 46ch; font-family: var(--serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.45; color: var(--stone-dark); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.figures > div { padding-left: 20px; border-left: 1px solid var(--line-l); }
.figures dt { font-family: var(--mast); font-size: clamp(36px, 4vw, 68px); line-height: 1; margin-bottom: 10px; }
.figures dd { margin: 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }

/* ---------- TICKER ---------- */
.ticker { background: var(--black); color: var(--bone); overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.ticker__track { display: flex; align-items: center; gap: 42px; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 5vw, 80px); line-height: 1; }
.ticker i { font-style: normal; font-size: 14px; color: var(--stone); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- PORTFOLIO ---------- */
.portfolio { padding: clamp(110px, 13vw, 200px) var(--gutter); }
.portfolio__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(44px, 5vw, 80px); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 11px 18px; border: 1px solid var(--line-l); transition: background .4s, color .4s, border-color .4s; }
.filters button:hover { border-color: var(--black); }
.filters button[aria-selected="true"] { background: var(--black); color: var(--bone); border-color: var(--black); }
.pf-grid { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.pf-item { display: block; break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); position: relative; overflow: hidden; background: var(--black); }
.pf-item figure { margin: 0; }
.pf-item img { width: 100%; height: auto; transform: scale(1.02); transition: transform 1.6s var(--ease), opacity .8s var(--ease); }
.pf-item:hover img { transform: scale(1.07); opacity: .8; }
.pf-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--bone);
  background: linear-gradient(0deg, rgba(42, 13, 44, .85), rgba(42, 13, 44, 0)); opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pf-item:hover figcaption { opacity: 1; transform: none; }
.pf-item figcaption span { font-family: var(--mast); font-size: clamp(22px, 1.8vw, 30px); line-height: 1.1; }
.pf-item figcaption b { font-weight: 400; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.pf-item.is-hidden { display: none; }
.portfolio__more { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); padding-top: 28px; border-top: 1px solid var(--line-l); }
.portfolio__more p { margin: 0; font-family: var(--mast); font-size: clamp(30px, 3vw, 50px); line-height: 1; }
@media (hover: none) { .pf-item figcaption { opacity: 1; transform: none; padding-top: 40px; } }

/* ---------- PROFILE ---------- */
.profile { padding: clamp(110px, 13vw, 200px) var(--gutter); }
.profile__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 140px); align-items: start; }
.profile__img { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; position: sticky; top: 100px; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.profile__card .display { margin-bottom: 40px; }
.spec { margin: 0; border-top: 1px solid var(--line-l); }
.spec > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.spec dt { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }
.spec dd { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.3; }

.digitals { margin-top: clamp(120px, 14vw, 220px); }
.digitals .label { margin-bottom: clamp(40px, 5vw, 70px); }
.digitals__row { display: flex; justify-content: center; gap: clamp(14px, 3vw, 48px); flex-wrap: wrap; }
.polaroid { margin: 0; width: clamp(150px, 19vw, 280px); background: #fff; padding: 12px 12px 0; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .06); transform: rotate(var(--r)); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.polaroid:hover { transform: rotate(0) translateY(-10px) scale(1.03); box-shadow: 0 50px 60px -30px rgba(0, 0, 0, .4); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; }
.polaroid figcaption { font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center; padding: 10px 0 14px; color: var(--stone-dark); }

/* ---------- CONTENT ---------- */
.content { padding: 0 var(--gutter) clamp(110px, 13vw, 200px); }
.content__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 90px); padding-top: clamp(60px, 6vw, 100px); border-top: 1px solid var(--line-l); }
.content__head .label { margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 32px); }
.pillar { display: flex; flex-direction: column; }
.pillar:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
.pillar figure { margin: 0 0 22px; overflow: hidden; aspect-ratio: 3 / 4.3; }
.pillar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); transform: scale(1.08); transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.pillar:hover img { filter: none; transform: scale(1); }
.pillar__txt { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.pillar__txt i { font-family: var(--serif); color: var(--stone); font-size: 18px; grid-row: span 2; }
.pillar h3 { font-family: var(--mast); font-weight: 400; font-size: clamp(34px, 3.2vw, 54px); line-height: 1; margin: 0 0 10px; }
.pillar p { margin: 0; color: var(--stone-dark); max-width: 34ch; }
.ig-strip { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; margin-top: clamp(80px, 10vw, 150px); padding: 30px 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); position: relative; isolation: isolate; transition: color .7s var(--ease), padding .7s var(--ease); }
.ig-strip::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.ig-strip:hover { color: var(--bone); padding-left: 24px; padding-right: 24px; }
.ig-strip:hover::before { transform: scaleY(1); }
.ig-strip__handle { font-family: var(--mast); font-size: clamp(40px, 7vw, 120px); line-height: 1; }
.ig-strip__n { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 40px); }
.ig-strip__n small { font-size: .6em; }
.ig-strip__go { font-size: clamp(30px, 3vw, 48px); }

/* ---------- UNIVERSE ---------- */
.universe__hero { position: relative; height: 115svh; overflow: hidden; }
.universe__bg { position: absolute; inset: -10% 0; margin: 0; }
.universe__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.universe__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 13, 44, .25) 0%, rgba(42, 13, 44, 0) 35%, rgba(42, 13, 44, .55) 70%, var(--black) 100%); }
.universe__title { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12svh; z-index: 2; }
.universe__title h2 { margin: 0; font-family: var(--mast); font-weight: 400; font-size: clamp(54px, 10vw, 190px); line-height: .88; letter-spacing: -.01em; }
.universe__title h2 > * { display: block; }
.universe__title h2 em { padding-left: 1.2em; }
.universe__body { padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(110px, 13vw, 200px); }
.universe__quote { margin: 0 auto clamp(90px, 11vw, 170px); max-width: 1100px; text-align: center; }
.universe__quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 4vw, 66px); line-height: 1.15; margin: 0 0 24px; }
.universe__quote cite { font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }
.universe__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 130px); align-items: center; }
.universe__lake { margin: 0; overflow: hidden; aspect-ratio: 9 / 14; max-height: 92svh; }
.universe__lake img { width: 100%; height: 100%; object-fit: cover; }
.universe__lake figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.reveal-img { position: relative; }
.big-italic { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 2.6vw, 44px); line-height: 1.2; margin: 0 0 clamp(40px, 5vw, 70px); }
.countdown { display: flex; align-items: flex-end; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); margin-bottom: 40px; }
.countdown__n { font-family: var(--mast); font-size: clamp(110px, 14vw, 240px); line-height: .78; }
.countdown__l { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); max-width: 26ch; line-height: 1.9; padding-bottom: 8px; }
.vote__t { font-family: var(--mast); font-size: clamp(30px, 2.6vw, 44px); margin: 0 0 8px; }
.vote__d { margin: 0 0 26px; color: var(--stone); max-width: 52ch; }
.purpose { margin-top: clamp(100px, 12vw, 180px); padding-top: 40px; border-top: 1px solid var(--line-d); display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: baseline; }
.purpose .label { margin: 0; }
.purpose__text { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 32px); line-height: 1.3; max-width: 46ch; }

/* ---------- CONTACT ---------- */
.contact { padding: clamp(110px, 13vw, 200px) var(--gutter); }
.contact__big { margin: 0 0 clamp(60px, 8vw, 120px); font-family: var(--mast); font-weight: 400; font-size: clamp(70px, 15vw, 270px); line-height: .82; letter-spacing: -.02em; }
.contact__big em { display: block; padding-left: 1.4em; font-size: .9em; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 130px); align-items: start; }
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.services li { display: flex; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-l); font-family: var(--mast); font-size: clamp(24px, 2.4vw, 40px); line-height: 1.1; transition: padding .6s var(--ease); }
.services li:hover { padding-left: 14px; }
.services i { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--stone); }
.contact__right .muted { margin: 0 0 6px; }
.contact__mail { display: inline-block; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 46px); margin-bottom: 48px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease); word-break: break-all; }
.contact__mail:hover { background-size: 100% 1px; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }
.form input, .form textarea, .form select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-l); background: transparent; border-radius: 0;
  padding: 8px 0 12px; font-family: var(--serif); font-size: 20px; color: var(--black);
  -webkit-appearance: none; appearance: none; resize: vertical; transition: border-color .4s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--black); }
.form .btn { justify-self: start; margin-top: 10px; }
.form__hint { margin: 0; font-size: 12px; color: var(--stone); }
.form__error { margin: 0; font-size: 13px; color: #8B1E1E; }

/* ---------- FOOTER ---------- */
.footer { padding: 70px var(--gutter) 28px; overflow: hidden; }
.footer__top { display: flex; gap: 32px; flex-wrap: wrap; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.footer__top a:last-child { margin-left: auto; }
.footer__name { font-family: var(--mast); font-size: 15.6vw; line-height: .9; letter-spacing: -.01em; white-space: nowrap; text-align: center; margin: 60px 0 30px; }
.footer__name .ch { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 11px; letter-spacing: .1em; color: var(--stone); }
.footer__bottom p { margin: 0; }

/* ---------- LIGHTBOX ---------- */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(42, 13, 44, .97); color: var(--bone); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(42, 13, 44, .92); }
.lightbox img { max-width: min(90vw, 1000px); max-height: 86vh; width: auto; object-fit: contain; }
.lightbox button { position: absolute; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding: 16px; }
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; }
.lightbox__next { right: 12px; top: 50%; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav { grid-template-columns: 1fr auto; }
}
@media (max-width: 760px) {
  .nav__mark { font-size: 17px; letter-spacing: .16em; }
  .cover__mast { top: 13svh; font-size: 31vw; }
  .cover__frame { height: auto; width: 84vw; aspect-ratio: .74; bottom: 13svh; margin-left: -42vw; }
  .cover__name { right: var(--gutter); bottom: 9svh; font-size: 25vw; }
  .cover__side { display: none; }
  .intro__grid, .profile__grid, .universe__grid, .contact__grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr 1fr; }
  .figures > div { padding-left: 10px; }
  .figures dt { font-size: 30px; }
  .figures dd { font-size: 9px; letter-spacing: .14em; }
  .profile__img { position: relative; top: 0; }
  .spec > div { grid-template-columns: 110px 1fr; }
  .polaroid { width: 42vw; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(2) { margin-top: 0; }
  .ig-strip { grid-template-columns: 1fr auto; }
  .ig-strip__n { grid-row: 2; }
  .purpose { grid-template-columns: 1fr; gap: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
  .menu__img { display: none; }
  .pf-grid { columns: 2; }
  .filters button { padding: 9px 12px; letter-spacing: .16em; }
  .footer__top a:last-child { margin-left: 0; }
  .countdown { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .loader__name span { opacity: 1; filter: none; }
}


/* ==========================================================
   ROYAL THEME: plum structure, gold actions
   ========================================================== */
::selection { background: var(--gold); color: var(--black); }

/* header: a solid plum bar */
.nav { mix-blend-mode: normal; background: var(--black); color: var(--bone); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(212, 175, 55, .35); }
.nav__mark { display: flex; align-items: center; gap: 12px; }
.nav__crown { width: 26px; height: auto; color: var(--gold); flex: none; }
.lang button[aria-pressed="true"] { color: var(--gold); opacity: 1; }
.nav__links a::after { background: var(--gold); }
.nav__cta { padding: 11px 20px; }
@media (max-width: 760px) { .nav__cta { display: none; } }

/* actions in gold */
.btn { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 500; }
.btn::before { background: var(--black); }
.btn:hover { color: var(--gold); }
.btn--light::before { background: var(--bone); }
.btn--light:hover { color: var(--black); }
.link-line { color: var(--gold-deep); }
[data-tone="dark"] .link-line { color: var(--gold); }
.cursor { background: var(--gold); mix-blend-mode: normal; }
.cursor span { color: var(--black); }

/* key details in gold */
.label span:first-child { color: var(--gold-deep); }
[data-tone="dark"] .label span:first-child { color: var(--gold); }
[data-tone="dark"] .display em, .universe__title h2 em { color: var(--gold); }
.loader__line i { background: var(--gold); }
.cover__name { mix-blend-mode: normal; color: var(--gold); text-shadow: 0 6px 30px rgba(42, 13, 44, .45); }
.cover__count b { color: var(--gold); }
.cover__bars i::after { background: var(--gold); }
.cover__frame { outline: 1px solid rgba(212, 175, 55, .55); outline-offset: 10px; }
.countdown__n { color: var(--gold); }
.ticker i { color: var(--gold); }
.menu__links a i { color: var(--gold); }
.menu__links a:hover { color: var(--gold); }
.services i, .pillar__txt i { color: var(--gold-deep); }
.figures dt { color: var(--black); }
.polaroid { box-shadow: 0 30px 50px -30px rgba(59, 20, 61, .4), 0 2px 6px rgba(59, 20, 61, .08); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); }
.ig-strip:hover .ig-strip__go { color: var(--gold); }
.footer__bottom { border-top-color: rgba(212, 175, 55, .35); }
.footer__top a:hover { color: var(--gold); }
.vote { border-left: 1px solid var(--gold); padding-left: 24px; }


/* tall, narrow desktop windows: keep the masthead visible above the cover photo */
@media (min-width: 761px) and (max-aspect-ratio: 1/1) {
  .cover__frame { height: 62svh; margin-left: calc(62svh * -.38); }
}

/* ---------- ROAD TO MISS UNIVERSE (right after the cover) ---------- */
.road { padding: clamp(90px, 10vw, 160px) var(--gutter); border-top: 1px solid rgba(212, 175, 55, .35); }
.road .universe__copy .label { margin-bottom: 36px; }
.road .label span:first-child { color: var(--gold); }
.countdown__l { display: grid; gap: 10px; max-width: 30ch; }
.countdown__l small { font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.cover__chip { display: inline-block; margin-top: 4px; color: var(--gold); border-bottom: 1px solid rgba(212, 175, 55, .5); padding-bottom: 2px; transition: border-color .4s; }
.cover__chip:hover { border-color: var(--gold); }
.cover__chip b { font-weight: 500; }
.contact__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }

.road .universe__lake { aspect-ratio: 3 / 4; }
.road .universe__lake img { object-position: 50% 20%; }
