/* OVAL Co. — base styles. Brand values (colours, fonts, logo sizes) come from tokens.css. */

:root {
  --gutter: clamp(20px, 5vw, 72px);
  --container: 1360px;
  --header-h: 88px;
  --radius: 28px;
  --radius-sm: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --origin-start: left;
  --origin-end: right;
  --dir: 1;
  --fg-muted: color-mix(in srgb, var(--c-ink) 72%, transparent);
  --surface-line: var(--c-line);
}
[dir="rtl"] { --origin-start: right; --origin-end: left; --dir: -1; }
@media (max-width: 991px) { :root { --header-h: 72px; --radius: 22px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: calc(1rem * var(--scale-body, 1));
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body { line-height: 1.85; }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
[dir="rtl"] :is(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
iframe { border: 0; display: block; }
:focus-visible { outline: 2px solid var(--c-meadow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-meadow); color: #fff; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--c-navy); color: #fff; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }

/* Layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: none; }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }

/* Themes — every scene declares data-theme so the header can adapt */
[data-theme] { --fg-muted: color-mix(in srgb, var(--c-ink) 72%, transparent); }
[data-theme="dark"] { background: var(--c-navy); color: #fff; --fg-muted: rgba(255, 255, 255, .74); --surface-line: rgba(255, 255, 255, .16); }
[data-theme="teal"] { background: var(--c-aqua); color: #fff; --fg-muted: rgba(255, 255, 255, .82); --surface-line: rgba(255, 255, 255, .22); }
[data-theme="gradient"] { background: var(--grad-brand); color: #fff; --fg-muted: rgba(255, 255, 255, .82); --surface-line: rgba(255, 255, 255, .22); }
[data-theme="mist"] { background: var(--c-mist); }
[data-theme="light"] { background: var(--c-paper); }

/* Type */
.display { font-family: var(--font-display); font-size: calc(clamp(3rem, 8.2vw, 8.75rem) * var(--scale-display, 1)); line-height: .95; letter-spacing: -0.04em; font-weight: 800; }
.h1 { font-size: calc(clamp(2.6rem, 6vw, 6rem) * var(--scale-display, 1)); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-size: calc(clamp(2rem, 4.4vw, 4.4rem) * var(--scale-display, 1)); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-size: calc(clamp(1.4rem, 2.2vw, 2.1rem) * var(--scale-display, 1)); line-height: 1.15; }
.h4 { font-size: calc(clamp(1.1rem, 1.4vw, 1.35rem) * var(--scale-display, 1)); line-height: 1.3; letter-spacing: -0.01em; }
[dir="rtl"] :is(.display, .h1, .h2, .h3, .h4) { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .display { line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.6; color: var(--fg-muted); }
[dir="rtl"] .lead { line-height: 1.9; }
.muted { color: var(--fg-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .65em; margin: 0 0 1.25rem; font-family: var(--font-text); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-aqua); }
.eyebrow .icon--sparkle { width: .95em; height: .95em; }
:is([data-theme="dark"], [data-theme="teal"], [data-theme="gradient"]) .eyebrow { color: var(--c-meadow); }
:is([data-theme="teal"], [data-theme="gradient"]) .eyebrow { color: #fff; }
/* Small aqua text is under 4.5:1 on the mist background. */
[data-theme="mist"] .eyebrow { color: color-mix(in srgb, var(--c-aqua) 82%, var(--c-navy)); }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.text-gradient { background: var(--grad-word); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is([data-theme="dark"]) .text-gradient { background: linear-gradient(90deg, var(--c-meadow), #fff); -webkit-background-clip: text; background-clip: text; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line { display: block; }
[dir="rtl"] .line-mask { padding-bottom: .2em; margin-bottom: -.2em; }

/* Icons */
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* Buttons */
.btn {
  --btn-bg: var(--c-navy);
  --btn-fg: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: .95em 1.7em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  transition: color .35s, box-shadow .35s, transform .5s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-brand); opacity: 0; transition: opacity .45s; }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn:hover { --btn-fg: #fff; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .45s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .icon--arrow { transform: scaleX(-1) translateX(4px); }
.btn--primary { --btn-bg: var(--c-aqua); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-navy); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px transparent; }
.btn--sm { min-height: 42px; padding: .7em 1.3em; font-size: .88rem; }
.btn--lg { min-height: 60px; padding: 1.1em 2.1em; font-size: 1.02rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; padding-bottom: .25em; background: linear-gradient(currentColor, currentColor) var(--origin-start) 100% / 100% 1.5px no-repeat; transition: background-size .5s var(--ease-out); }
.link-arrow:hover { background-size: 0 1.5px; background-position: var(--origin-end) 100%; }
.link-arrow .icon { width: 1.1em; height: 1.1em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Brand pattern (colour follows tokens) */
.pattern-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--pattern-color, var(--c-aqua));
  opacity: var(--pattern-opacity, .1);
  -webkit-mask: url("../brand/pattern-stars-white.svg") 0 0 / var(--pattern-size, 56px) repeat;
  mask: url("../brand/pattern-stars-white.svg") 0 0 / var(--pattern-size, 56px) repeat;
}
.pattern-bg--lenses { -webkit-mask-image: url("../brand/pattern-lenses-white.svg"); mask-image: url("../brand/pattern-lenses-white.svg"); }
/* Pattern that dissolves towards the bottom: the tile and a gradient are intersected. */
.pattern-fade {
  -webkit-mask: url("../brand/pattern-stars-white.svg") 0 0 / var(--pattern-size, 56px) repeat, linear-gradient(to bottom, #000 0%, transparent 85%) 0 0 / 100% 100% no-repeat;
  -webkit-mask-composite: source-in;
  mask: url("../brand/pattern-stars-white.svg") 0 0 / var(--pattern-size, 56px) repeat, linear-gradient(to bottom, #000 0%, transparent 85%) 0 0 / 100% 100% no-repeat;
  mask-composite: intersect;
}
.pattern-bg--lenses.pattern-fade {
  -webkit-mask-image: url("../brand/pattern-lenses-white.svg"), linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: url("../brand/pattern-lenses-white.svg"), linear-gradient(to bottom, #000 0%, transparent 85%);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--c-ink);
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s, height .4s var(--ease-out), color .3s;
}
.site-header__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); max-width: none; }
body[data-header-tone="dark"] .site-header:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled { height: calc(var(--header-h) - 14px); background: color-mix(in srgb, var(--c-paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--c-line); }
.site-header.is-hidden { transform: translateY(-105%); }
body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.site-header__brand { position: relative; display: block; flex: 0 0 auto; }
.site-header__logo { height: auto; transition: opacity .35s; }
.site-header__logo--light { width: var(--logo-header-light-w); }
.site-header__logo--dark, .site-header__logo--sticky { position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header__logo--dark { width: var(--logo-header-dark-w); }
.site-header__logo--sticky { width: var(--logo-header-sticky-w); }
body[data-header-tone="dark"] .site-header:not(.is-scrolled) .site-header__logo--light,
body.menu-open .site-header .site-header__logo--light,
.site-header.is-scrolled .site-header__logo--light { opacity: 0; }
body[data-header-tone="dark"] .site-header:not(.is-scrolled) .site-header__logo--dark,
body.menu-open .site-header .site-header__logo--dark { opacity: 1; }
body:not(.menu-open) .site-header.is-scrolled .site-header__logo--sticky { opacity: 1; }
.site-nav { margin-inline-start: auto; }
.site-nav__list { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.site-nav__link { position: relative; display: inline-block; padding: .45em 0; font-weight: 500; font-size: .95rem; }
.site-nav__link::after { content: ""; position: absolute; inset-inline: 0; bottom: .1em; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: var(--origin-end); transition: transform .55s var(--ease-out); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); transform-origin: var(--origin-start); }
.site-header__tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.lang-switch__link { min-width: 34px; height: 30px; padding-inline: 8px; display: grid; place-items: center; border-radius: 999px; font-size: .78rem; font-weight: 600; opacity: .72; transition: opacity .3s, background-color .3s, color .3s; }
.lang-switch__link:hover { opacity: 1; }
.lang-switch__link.is-active { background: var(--c-aqua); color: #fff; opacity: 1; }
.lang-switch__link[lang="ar"], .lang-switch__link[lang="ckb"] { font-family: Tahoma, "Segoe UI", system-ui, sans-serif; font-size: .85rem; }
[dir="rtl"] .lang-switch__link[lang="ar"], [dir="rtl"] .lang-switch__link[lang="ckb"] { font-family: "Oval Arabic Text", Tahoma, sans-serif; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 25%, transparent); transition: background-color .3s; }
.menu-toggle:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.menu-toggle__lines { position: relative; display: block; width: 18px; height: 10px; }
.menu-toggle__lines span { position: absolute; inset-inline: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__tools { margin-inline-start: auto; }
}
@media (max-width: 575px) {
  .site-header__cta, .site-header .lang-switch { display: none; }
}

/* Full-screen menu */
.site-menu { position: fixed; inset: 0; z-index: 55; display: flex; color: #fff; padding-top: var(--header-h); overflow-y: auto; overscroll-behavior: contain; }
.site-menu[hidden] { display: none; }
.site-menu__bg { position: absolute; inset: 0; background: var(--c-navy); }
.site-menu__bg::after { content: ""; position: absolute; inset: 0; background: var(--c-aqua); opacity: .16; -webkit-mask: url("../brand/pattern-stars-white.svg") 0 0 / 56px repeat; mask: url("../brand/pattern-stars-white.svg") 0 0 / 56px repeat; }
.site-menu__bg::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80vmax; height: 80vmax; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c-meadow) 45%, transparent), transparent); opacity: .6; }
.site-menu__inner { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; padding-block: 40px 56px; min-height: calc(100% - 0px); }
.site-menu__list { counter-reset: none; }
.site-menu__link { display: flex; align-items: baseline; gap: 18px; padding: .06em 0; font-family: var(--font-display); font-size: clamp(2.2rem, 6.2vw, 4.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
[dir="rtl"] .site-menu__link { letter-spacing: 0; line-height: 1.4; }
.site-menu__num { font-family: var(--font-text); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--c-meadow); transform: translateY(-1.6em); }
.site-menu__label { transition: color .35s, transform .6s var(--ease-out); }
.site-menu__link:hover .site-menu__label, .site-menu__link.is-active .site-menu__label { color: var(--c-meadow); transform: translateX(calc(10px * var(--dir))); }
.site-menu__aside { display: flex; flex-direction: column; gap: 28px; padding-bottom: .5rem; }
.site-menu__slogan { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; line-height: 1.3; margin: 0; max-width: 18ch; }
.site-menu__contact { display: grid; gap: 10px; }
.site-menu__contact a { display: inline-flex; align-items: center; gap: 12px; opacity: .85; transition: opacity .3s; }
.site-menu__contact a:hover { opacity: 1; }
.site-menu__langs { display: flex; gap: 18px; font-weight: 600; }
.site-menu__langs a { opacity: .6; }
.site-menu__langs a.is-active { opacity: 1; color: var(--c-meadow); }
body.menu-open { overflow: hidden; }
@media (max-width: 767px) {
  .site-menu__inner { grid-template-columns: 1fr; align-items: start; gap: 40px; }
}

/* Social */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); transition: background-color .35s, box-shadow .35s, color .35s; }
.social-links a:hover { background: var(--c-meadow); box-shadow: inset 0 0 0 1px var(--c-meadow); color: #fff; }
.social-links .icon { width: 1.15em; height: 1.15em; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--c-navy); color: #fff; padding-block: clamp(80px, 10vw, 150px) 28px; }
.site-footer__pattern { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy) 46%, color-mix(in srgb, var(--c-aqua) 62%, var(--c-navy)) 100%); }
.site-footer__inner { position: relative; }
.site-footer__lead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; padding-bottom: clamp(56px, 7vw, 100px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-footer__slogan { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem, 6.6vw, 6.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
[dir="rtl"] .site-footer__slogan { letter-spacing: 0; line-height: 1.35; }
.site-footer__slogan span { display: block; }
.site-footer__slogan span:last-child { background: linear-gradient(90deg, var(--c-meadow), #fff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .site-footer__slogan span:last-child { background: linear-gradient(270deg, var(--c-meadow), #fff 80%); -webkit-background-clip: text; background-clip: text; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .9fr; gap: 40px; padding-block: 56px; }
.site-footer__logo { width: var(--logo-footer-w); height: auto; margin-bottom: 22px; }
.site-footer__brand p { max-width: 32ch; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.site-footer__title { margin-bottom: 18px; font-family: var(--font-text); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-meadow); }
[dir="rtl"] .site-footer__title { letter-spacing: 0; font-size: .95rem; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a, .site-footer__contact a { color: rgba(255, 255, 255, .78); transition: color .3s; }
.site-footer__links a:hover, .site-footer__contact a:hover { color: #fff; }
.site-footer__contact { display: grid; gap: 12px; font-size: .95rem; }
.site-footer__contact a, .site-footer__static { display: inline-flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .78); }
.site-footer__contact .icon { margin-top: .2em; color: var(--c-meadow); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: rgba(255, 255, 255, .6); }
.site-footer__bottom p { margin: 0; }
.site-footer__langs { display: flex; gap: 18px; }
.site-footer__langs a.is-active { color: #fff; }
@media (max-width: 991px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--c-paper); animation: preloader-failsafe .6s ease 5s forwards; }
.no-js .preloader, .is-return .preloader { display: none; }
.preloader__mark { width: var(--logo-preloader-w); }
.preloader__svg { width: 100%; height: auto; overflow: visible; }
.preloader__stroke { fill: none; stroke: url(#preloader-grad); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: preloader-draw 1.5s var(--ease-in-out) forwards; }
.preloader__fill { fill: url(#preloader-grad); opacity: 0; animation: preloader-fade .7s ease .95s forwards; }
.preloader__img { width: 100%; height: auto; animation: preloader-fade .8s ease forwards; opacity: 0; }
.preloader__bar { position: absolute; bottom: clamp(36px, 9vh, 72px); left: 50%; width: 120px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--c-line); transform: translateX(-50%); }
.preloader__bar span { display: block; width: 100%; height: 100%; background: var(--grad-word); transform: scaleX(0); transform-origin: var(--origin-start); animation: preloader-bar 2.4s var(--ease-out) forwards; }
@keyframes preloader-draw { to { stroke-dashoffset: 0; } }
@keyframes preloader-fade { to { opacity: 1; } }
@keyframes preloader-bar { to { transform: scaleX(.85); } }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }

/* Status pages (404, 500, maintenance) */
.status-page { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding-block: calc(var(--header-h) + 48px) 96px; text-align: center; }
.status-page__pattern { position: absolute; inset: 0; background: var(--c-aqua); opacity: .12; -webkit-mask: url("../brand/pattern-stars-white.svg") 0 0 / 56px repeat, radial-gradient(closest-side, #000, transparent); mask: url("../brand/pattern-stars-white.svg") 0 0 / 56px repeat, radial-gradient(closest-side, #000, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.status-page__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; }
.status-page__code { margin: 0; font-family: var(--font-display); font-size: clamp(7rem, 22vw, 17rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-page .btn { margin-top: 12px; }
.status-page--dark { background: var(--c-navy); color: #fff; }
.status-page__logo { width: var(--logo-footer-w); height: auto; margin-bottom: 24px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
[dir="rtl"] .field label { letter-spacing: 0; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .75em 0;
  border: 0;
  border-bottom: 1.5px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.05rem;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 28px; }
[dir="rtl"] .field select { background-position: 7px 55%, 12px 55%; }
.field select option { color: var(--c-navy); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-meadow); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, currentColor 45%, transparent); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #e5484d; }
.field__error { font-size: .85rem; color: #e5484d; }
.form-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-status { margin: 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: color-mix(in srgb, var(--c-meadow) 16%, transparent); }
.form-status.is-error { background: rgba(229, 72, 77, .14); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Rich text */
.prose { font-size: 1.08rem; line-height: 1.8; }
[dir="rtl"] .prose { line-height: 2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-top: 1.8em; }
.prose h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 1.6em; }
.prose a { color: var(--c-aqua); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul li { position: relative; list-style: none; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: -1.3em; top: .55em; width: .7em; height: .7em; background: var(--c-meadow); -webkit-mask: url("../brand/sparkle-white.svg") center / contain no-repeat; mask: url("../brand/sparkle-white.svg") center / contain no-repeat; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose blockquote { margin: 1.6em 0; padding-inline-start: 1.2em; border-inline-start: 3px solid var(--c-meadow); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5; }
.prose img { border-radius: var(--radius-sm); }
.prose hr { border: 0; height: 1px; background: var(--surface-line); margin: 2.4em 0; }

/* Media helpers */
.media-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-mist); }
.ratio > img, .ratio > video, .ratio > iframe, .ratio > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio--16x9 { aspect-ratio: 16 / 9; }
.ratio--4x3 { aspect-ratio: 4 / 3; }
.ratio--4x5 { aspect-ratio: 4 / 5; }
.ratio--1x1 { aspect-ratio: 1; }
.pebble-mask { -webkit-mask: url("../brand/pebble-mask.svg") center / 100% 100% no-repeat; mask: url("../brand/pebble-mask.svg") center / 100% 100% no-repeat; }

/* Scroll hint */
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
[dir="rtl"] .scroll-hint { letter-spacing: 0; font-size: .9rem; }
.scroll-hint__line { position: relative; width: 1.5px; height: 44px; overflow: hidden; background: color-mix(in srgb, currentColor 25%, transparent); }
.scroll-hint__line::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: translateY(-100%); animation: scroll-hint 2s var(--ease-in-out) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

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