/* ==========================================================================
   Project Indigo — FluxCP theme
   One stylesheet. Replaces default/css/flux.css entirely, so every class the
   default views rely on is restyled here (tables, forms, menus, pagination).
   ========================================================================== */

:root {
	/* Palette — pulled from the logo: indigo body, sky-blue top edge, smoke */
	--abyss:   #05071a;   /* page background */
	--deep:    #0b0f2e;   /* raised areas, nav */
	--surface: #11173f;   /* panels, table headers */
	--line:    rgba(130, 146, 255, .16);
	--line-strong: rgba(130, 146, 255, .32);
	--indigo:  #4b5bf0;   /* primary accent, from INDIGO lettering */
	--sky:     #5db0ff;   /* highlight, from the lettering's top gradient */
	--mist:    #cdd3f0;   /* body text */
	--bright:  #eef0ff;   /* headings */
	--ash:     #8189b3;   /* secondary text */
	--up:      #5ee6c4;
	--down:    #ec6f8f;
	--warn:    #f2c46b;

	--font-display: "Michroma", "Eurostile", "Segoe UI", sans-serif;
	--font-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--measure: 70ch;
	--page-w: 1180px;
	--radius-s: 3px;
	--radius-m: 8px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--mist);
	background-color: var(--abyss);
	background-image:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(75, 91, 240, .18), transparent 70%),
		radial-gradient(ellipse 60% 40% at 100% 100%, rgba(93, 176, 255, .06), transparent 70%);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--bright); text-decoration: underline; text-underline-offset: 3px; }
a img { border: 0; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--bright); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h2 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; }
h3:first-letter { font-size: inherit; color: inherit; }
h4 { font-weight: 600; font-size: 1rem; }
p  { margin: 0 0 1em; max-width: var(--measure); }

.skip-link {
	position: absolute; left: -9999px; top: 8px;
	background: var(--indigo); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.ix-nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(5, 7, 26, .82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.ix-nav__inner {
	max-width: var(--page-w); margin: 0 auto;
	display: flex; align-items: center; gap: 28px;
	padding: 0 24px; height: 64px;
}
.ix-nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.ix-nav__brand img { height: 30px; width: auto; display: block; }
.ix-nav__brand:hover { text-decoration: none; }

.ix-nav__menu { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; flex: 1; height: 100%; }
.ix-nav__group { position: relative; display: flex; align-items: center; }
.ix-nav__toggle {
	font: 500 15px/1 var(--font-body); color: var(--mist);
	background: none; border: 0; cursor: pointer;
	padding: 10px 12px; border-radius: var(--radius-s);
	display: inline-flex; align-items: center; gap: 6px;
}
.ix-nav__toggle::after {
	content: ""; width: 6px; height: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg); opacity: .6;
	transition: transform .15s;
}
.ix-nav__toggle:hover, .ix-nav__group.is-open .ix-nav__toggle { color: var(--bright); background: rgba(75, 91, 240, .14); }
.ix-nav__group.is-open .ix-nav__toggle::after { transform: translateY(1px) rotate(-135deg); }

.ix-nav__dropdown {
	display: none; position: absolute; top: calc(100% - 6px); left: 0;
	min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--deep); border: 1px solid var(--line-strong); border-radius: var(--radius-m);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0,0,0,.4);
}
.ix-nav__group.is-open .ix-nav__dropdown { display: block; }
.ix-nav__dropdown a {
	display: block; padding: 8px 12px; border-radius: var(--radius-s);
	color: var(--mist); font-size: 15px;
}
.ix-nav__dropdown a:hover { background: rgba(75, 91, 240, .18); color: var(--bright); text-decoration: none; }
.ix-nav__dropdown a.is-current { color: var(--sky); }

.ix-nav__account { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 15px; white-space: nowrap; }
.ix-nav__account .who { color: var(--ash); }
.ix-nav__account .who a { color: var(--bright); }
.ix-nav__account select { max-width: 140px; }

.ix-nav__burger {
	display: none; margin-left: auto;
	background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
	color: var(--mist); font: 500 14px var(--font-body); padding: 7px 12px; cursor: pointer;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.ix-btn, input[type=submit], input[type=button], input[type=reset], button.submit_button, .submit_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 15px/1 var(--font-body); letter-spacing: .01em;
	padding: 12px 20px; border-radius: var(--radius-s);
	border: 1px solid var(--indigo); cursor: pointer;
	color: #fff; background: var(--indigo);
	transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.ix-btn:hover, input[type=submit]:hover, input[type=button]:hover, .submit_button:hover {
	background: #5a69ff; border-color: #5a69ff; color: #fff; text-decoration: none;
	box-shadow: 0 0 24px rgba(75, 91, 240, .45);
}
.ix-btn--ghost, input[type=reset] { background: transparent; color: var(--mist); border-color: var(--line-strong); }
.ix-btn--ghost:hover { background: rgba(75, 91, 240, .14); border-color: var(--indigo); box-shadow: none; }
.ix-btn--small { padding: 8px 14px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Form controls (FluxCP uses bare inputs everywhere)
   -------------------------------------------------------------------------- */
input[type=text], input[type=password], input[type=email], input[type=number],
input[type=file], input[type=date], textarea, select {
	font: 400 15px/1.4 var(--font-body);
	color: var(--bright);
	background: rgba(5, 7, 26, .7);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	padding: 9px 11px;
	max-width: 100%;
	transition: border-color .15s, box-shadow .15s;
}
select { padding-right: 28px; }
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, textarea:focus, select:focus {
	outline: none; border-color: var(--sky);
	box-shadow: 0 0 0 3px rgba(93, 176, 255, .18);
}
textarea { width: 100%; min-height: 120px; }
input[type=checkbox], input[type=radio] { accent-color: var(--indigo); }
label { color: var(--mist); }
label:hover { color: var(--bright); }

/* --------------------------------------------------------------------------
   Inner page shell
   -------------------------------------------------------------------------- */
.ix-main { flex: 1; width: 100%; }
.ix-page { max-width: var(--page-w); margin: 0 auto; padding: 48px 24px 72px; }
.ix-panel {
	position: relative;
	background: linear-gradient(180deg, rgba(17, 23, 63, .85), rgba(11, 15, 46, .85));
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 40px 44px;
	overflow-x: auto;
}
.ix-panel::before {
	/* sky-blue hairline along the top edge, echoing the logo's light streak */
	content: ""; position: absolute; left: 40px; right: 40px; top: -1px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--sky), transparent);
	opacity: .7;
}
.ix-panel > h2:first-child, .ix-panel > .message + h2, .ix-panel > div + h2 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Flux messages, menus, notices
   -------------------------------------------------------------------------- */
.message, .notice, .important {
	max-width: none; padding: 12px 16px; margin: 0 0 24px;
	border-radius: var(--radius-s); border: 1px solid; font-size: 15px;
}
.message   { color: #bfe9ff; background: rgba(93, 176, 255, .08); border-color: rgba(93, 176, 255, .35); }
.notice    { color: #ffe3a8; background: rgba(242, 196, 107, .08); border-color: rgba(242, 196, 107, .35); }
.important { color: var(--mist); background: rgba(75, 91, 240, .1); border-color: var(--line-strong); }
.important .server-name { color: var(--bright); font-weight: 600; }

#submenu, #pagemenu {
	font-size: 14px; color: var(--ash);
	padding: 0 0 14px; margin: 0 0 24px;
	border-bottom: 1px solid var(--line);
}
#pagemenu { border-bottom: 0; margin-bottom: 16px; padding-bottom: 0; }
#submenu a, #pagemenu a { color: var(--mist); }
#submenu a:hover, #pagemenu a:hover { color: var(--sky); }
.current-sub-menu { color: var(--sky) !important; font-weight: 600; }

.red, .down, .offline, .state-banned, .state-permanently-banned, .missing { color: var(--down); }
.green, .up, .online, .created { color: var(--up); }
.state-pending { color: var(--warn); }
.not-applicable, .note, .info-text, .info-text-total, .info-text-results { color: var(--ash); font-size: 14px; }
.keyword { color: var(--bright); font-weight: 600; }
.request, .fs-path { font-family: ui-monospace, Consolas, monospace; color: var(--sky); }
.center { text-align: center; }
.block { display: block; }
.module-name { color: var(--ash); }
.clear { clear: both; }
.empty-row { display: none; }

/* --------------------------------------------------------------------------
   Tables — horizontal (lists), vertical (detail views), generic forms
   -------------------------------------------------------------------------- */
table { border-collapse: collapse; }
.horizontal-table, .vertical-table, .generic-form-table, #server_status,
.woe-table, .shop-table, .character-stats, .job-classes, .install_table {
	width: 100%; margin: 0 0 24px; font-size: 15px;
	border: 1px solid var(--line); border-radius: var(--radius-m);
	border-collapse: separate; border-spacing: 0; overflow: hidden;
}
.horizontal-table th, .horizontal-table td,
.vertical-table th, .vertical-table td,
.generic-form-table th, .generic-form-table td,
#server_status th, #server_status td,
.woe-table th, .woe-table td, .install_table th, .install_table td,
.character-stats td, .job-classes td {
	padding: 10px 14px; text-align: left; vertical-align: middle;
	border-bottom: 1px solid var(--line); color: var(--mist);
}
.horizontal-table tr:last-child td, .vertical-table tr:last-child th, .vertical-table tr:last-child td,
.generic-form-table tr:last-child th, .generic-form-table tr:last-child td { border-bottom: 0; }

.horizontal-table th, #server_status td.status:first-child, .woe-table th, .install_table th {
	background: var(--surface); color: var(--bright);
	font-weight: 600; font-size: 14px; white-space: nowrap;
}
.horizontal-table th a { color: var(--bright); }
.horizontal-table tr:hover td { background: rgba(75, 91, 240, .07); }

.vertical-table th, .generic-form-table th, .character-stats .stat-name {
	width: 1%; white-space: nowrap;
	background: rgba(17, 23, 63, .9); color: var(--ash); font-weight: 500;
}
.vertical-table td, .character-stats .stat-value { color: var(--bright); }
.generic-form-table th label, .vertical-table label { color: var(--mist); }
.generic-form-table td p { margin: 6px 0 0; font-size: 14px; color: var(--ash); }
.generic-form, .generic-form-div { margin: 0 0 24px; }
.td-checkbox, .td-action { width: 1%; white-space: nowrap; }

#server_status .server { color: var(--bright); background: var(--surface); }
#server_status .status { text-align: center; }

.top-ranked td { color: var(--warn); }
.top-ranked a { color: var(--warn); border-bottom: 1px dotted currentColor; }
.mvp { color: var(--warn); font-weight: 600; }
.item-drop-mvp td { color: var(--warn); }
.item-drop-card td { color: var(--sky); }
.equipped td { color: var(--up); }
.overslotted1 { color: #9fd2ff; } .overslotted2 { color: #7fc1ff; } .overslotted3 { color: #b39bff; } .overslotted4 { color: #ff9be0; }
.monster-mode { margin: 0; padding-left: 18px; }

.sortable { cursor: pointer; }
.sortable:hover { color: var(--sky); }

/* Pagination */
.pages {
	margin-top: 24px; padding-top: 16px; text-align: center;
	color: var(--ash); border-top: 1px solid var(--line);
}
.pages a { display: inline-block; min-width: 32px; padding: 4px 8px; border-radius: var(--radius-s); }
.pages a:hover { background: rgba(75, 91, 240, .16); text-decoration: none; }
.pages .page-num { padding: 0 2px; }
.pages .current-page { color: var(--bright); font-weight: 700; }
.pages .page-prev, .pages .page-next { color: var(--sky); }
.jump-to-page { margin-top: 10px; color: var(--ash); font-size: 14px; }
.jump-to-page input { width: 64px; }

/* Search forms (toggled by the default JS) */
.toggler { font-size: 14px; margin: 0 0 12px; }
.toggler a { color: var(--sky); }
.search-form, .search-form2 {
	display: none; margin: 0 0 20px; padding: 16px;
	background: rgba(5, 7, 26, .5); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.search-form p, .search-form2 p { max-width: none; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 10px; }
.search-form label, .search-form2 label { font-size: 14px; color: var(--ash); }

/* Shop / cart / donations */
.shop-table td { vertical-align: top; }
.shop-item-name { color: var(--bright); font-weight: 600; }
.cost, .credit-amount, .balance-amount { color: var(--warn); font-weight: 600; }
.credit-balance {
	float: right; padding: 10px 14px; margin: 0 0 16px 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.cart { background: rgba(5, 7, 26, .5); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px; }
.current-shop-category { color: var(--sky); font-weight: 600; }

/* Scripts / logs */
.script, .raw-txn-log, .script-line {
	font-family: ui-monospace, Consolas, monospace; font-size: 13px;
	background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: var(--radius-s);
}
.script-line-num { color: var(--ash); }

/* Login + register forms */
#login_form table, #register_form table { width: 100%; }
#login_form input[type=text], #login_form input[type=password],
#register_form input[type=text], #register_form input[type=password] { width: 100%; max-width: 360px; }
.security-code { border-radius: var(--radius-s); }

/* --------------------------------------------------------------------------
   News (inner news page + homepage)
   -------------------------------------------------------------------------- */
.newsDiv h4 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; margin-top: 1.6em; }
.newsDate { color: var(--ash); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.ix-footer { border-top: 1px solid var(--line); background: rgba(5, 7, 26, .6); font-size: 14px; color: var(--ash); }
.ix-footer__inner {
	max-width: var(--page-w); margin: 0 auto; padding: 28px 24px;
	display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
}
.ix-footer p { margin: 0; }
.ix-footer__prefs { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ix-footer__prefs label { color: var(--ash); display: inline-flex; gap: 8px; align-items: center; }
.ix-footer__prefs select { padding: 5px 26px 5px 8px; font-size: 14px; }
.ix-footer__render { width: 100%; font-size: 12px; opacity: .7; }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.ix-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(92vh, 860px);
	display: grid; place-items: center;
	padding: 96px 24px 72px; text-align: center;
}
.ix-hero__fog {
	position: absolute; inset: -20%; z-index: -2; pointer-events: none;
	background:
		radial-gradient(ellipse 40% 30% at 30% 60%, rgba(75, 91, 240, .22), transparent 70%),
		radial-gradient(ellipse 35% 25% at 72% 45%, rgba(93, 176, 255, .12), transparent 70%),
		radial-gradient(ellipse 60% 35% at 50% 85%, rgba(20, 26, 80, .9), transparent 75%);
	filter: blur(20px);
	animation: ix-drift 40s ease-in-out infinite alternate;
}
.ix-hero::after {
	/* floor fade into the page */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1;
	background: linear-gradient(180deg, transparent, var(--abyss));
	pointer-events: none;
}

/* The silhouette. Supply a black/near-black PNG with transparency.
   The rim light comes from the drop-shadows, so the shape reads as
   something standing in front of a light it is blocking. */
.ix-hero__beast {
	position: absolute; z-index: -1; left: 50%; top: 46%;
	width: min(1100px, 120vw); transform: translate(-50%, -50%);
	pointer-events: none; user-select: none;
	filter:
		brightness(.25)
		drop-shadow(0 0 2px rgba(150, 190, 255, .55))
		drop-shadow(0 0 28px rgba(75, 91, 240, .5));
	opacity: 0;
	animation: ix-emerge 3.2s cubic-bezier(.2, .6, .2, 1) .3s forwards;
}

/* The Descent: a faint column of light falling onto the logo, ending in a
   single point just above "PROJECT". Anchored to the logo (not the hero) so it
   stays in place at every screen size. */
.ix-hero__mark { position: relative; margin: 0; }
.ix-hero__descent {
	position: absolute; left: 50%;
	bottom: calc(73% + 14px);              /* 73% = where PROJECT starts inside logo-hero.png */
	width: clamp(80px, 10vw, 140px);
	height: clamp(110px, 20vh, 200px);
	transform: translateX(-50%) scaleY(0);
	transform-origin: top center;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(93, 176, 255, 0) 0%, rgba(120, 160, 255, .32) 88%, rgba(120, 160, 255, 0) 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
	animation: ix-descend 2.4s cubic-bezier(.3, .1, .2, 1) .4s forwards;
}
.ix-hero__point {
	position: absolute; left: 50%; bottom: calc(73% + 10px);
	width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
	background: #e4eeff;
	box-shadow: 0 0 6px 1px rgba(160, 200, 255, .9), 0 0 22px 6px rgba(75, 91, 240, .55);
	opacity: 0; pointer-events: none;
	animation: ix-land 1.6s ease-out 2.4s forwards;
}

.ix-hero__content { position: relative; max-width: 900px; }
.ix-hero__logo { width: min(820px, 92vw); height: auto; display: block; margin: 0 auto; }
.ix-hero__line {
	font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--mist);
	margin: 8px auto 36px; max-width: 44ch;
	opacity: 0; animation: ix-fade 1.2s ease-out 1.8s forwards;
}
.ix-hero__actions {
	display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
	opacity: 0; animation: ix-fade 1.2s ease-out 2.2s forwards;
}
.ix-hero__actions .ix-btn { padding: 15px 26px; font-size: 16px; }

/* Server status line (sits under the hero CTAs) */
.ix-status {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
	margin: 40px 0 0; padding: 0; list-style: none;
	font-size: 14px; color: var(--ash);
	opacity: 0; animation: ix-fade 1.2s ease-out 2.5s forwards;
}
.ix-status li { display: inline-flex; align-items: center; gap: 8px; }
.ix-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); box-shadow: 0 0 8px var(--down); }
.ix-status .is-up .dot { background: var(--up); box-shadow: 0 0 8px var(--up); }
.ix-status strong { color: var(--bright); font-weight: 600; }

/* Sections ----------------------------------------------------------------- */
.ix-section { max-width: var(--page-w); margin: 0 auto; padding: 72px 24px; }
.ix-section__head { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.ix-section__title { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .04em; margin: 0 0 10px; }
.ix-section__intro { color: var(--ash); font-size: 15px; margin: 0; }

/* News as a log of dispatches */
.ix-dispatches { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ix-dispatch {
	display: grid; grid-template-columns: 110px 1fr; gap: 24px;
	padding: 24px 0; border-bottom: 1px solid var(--line);
}
.ix-dispatch time { color: var(--ash); font-size: 14px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.ix-dispatch h3 { margin: 0 0 8px; font-size: 1.15rem; }
.ix-dispatch .body { color: var(--mist); font-size: 15px; max-width: var(--measure); }
.ix-dispatch .body p:last-child { margin-bottom: 0; }
.ix-dispatch .meta { color: var(--ash); font-size: 13px; margin-top: 10px; }
.ix-dispatches__more { margin-top: 20px; font-size: 15px; }
.ix-empty { color: var(--ash); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Feature cards: four equal cards, artwork on top fading into the text. */
.ix-features {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.ix-feature {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column;
	min-height: 400px;
	border: 1px solid var(--line); border-bottom: 2px solid var(--indigo);
	border-radius: var(--radius-m) var(--radius-m) 0 0;
	background: linear-gradient(180deg, rgba(17, 23, 63, .35) 0%, rgba(17, 23, 63, .95) 100%);
	transition: border-color .3s ease;
}
.ix-feature:hover { border-color: var(--line-strong); border-bottom-color: var(--sky); }
.ix-feature__art {
	position: relative; flex: 1; min-height: 220px;
	display: grid; place-items: center; overflow: hidden;
}
.ix-feature__art img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
	opacity: .85; transition: opacity .5s ease, transform .8s ease;
	mix-blend-mode: lighten;                       /* dark image backgrounds melt into the card */
	-webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
	        mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
}
.ix-feature__art img.is-contain {
	/* whole image visible (for wide artwork like badge sheets), edges fade out */
	inset: auto; top: 50%; left: 50%;
	width: calc(100% - 12px); height: auto; max-height: calc(100% - 16px);
	object-fit: contain; transform: translate(-50%, -50%);
	-webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 66%, transparent 100%);
	        mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 66%, transparent 100%);
}
.ix-feature:hover .ix-feature__art img.is-contain { transform: translate(-50%, -50%) scale(1.04); }
.ix-feature:hover .ix-feature__art img { opacity: 1; transform: scale(1.03); }
.ix-feature__art--empty::before {
	/* no artwork yet: a faint smudge of light where the image will go */
	content: ""; width: 60%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(75, 91, 240, .28), transparent 65%);
	filter: blur(8px);
}
.ix-feature__body { position: relative; z-index: 1; padding: 0 22px 24px; min-height: 118px; }
.ix-feature h3 { font-family: var(--font-display); font-size: .98rem; letter-spacing: .04em; margin: 0 0 10px; }
.ix-feature p { color: var(--mist); font-size: 15px; line-height: 1.5; margin: 0; }
.ix-feature__quote { margin: 0; }
.ix-feature__quote p { font-style: italic; color: var(--bright); }

/* Final call to action */
.ix-cta { text-align: center; padding-bottom: 104px; }
.ix-cta h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 14px; }
.ix-cta p { margin: 0 auto 28px; color: var(--ash); }

/* Motion ------------------------------------------------------------------- */
@keyframes ix-emerge { from { opacity: 0; } to { opacity: 1; } }
@keyframes ix-fade   { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ix-drift  { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
@keyframes ix-descend { from { transform: translateX(-50%) scaleY(0); opacity: 0; } to { transform: translateX(-50%) scaleY(1); opacity: 1; } }
@keyframes ix-land { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1.8); } 100% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
	.ix-nav__burger { display: inline-block; }
	.ix-nav__inner { flex-wrap: wrap; height: auto; min-height: 64px; padding: 12px 20px; gap: 12px; }
	.ix-nav__menu, .ix-nav__account { display: none; width: 100%; }
	.ix-nav.is-open .ix-nav__menu { display: flex; flex-direction: column; align-items: stretch; height: auto; }
	.ix-nav.is-open .ix-nav__account { display: flex; flex-wrap: wrap; padding: 12px 0 4px; border-top: 1px solid var(--line); }
	.ix-nav__group { display: block; }
	.ix-nav__toggle { width: 100%; justify-content: space-between; padding: 12px; }
	.ix-nav__dropdown { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; }

	.ix-section__head { grid-template-columns: 1fr; gap: 24px; }
	.ix-features { grid-template-columns: repeat(2, 1fr); }
	.ix-feature { min-height: 360px; }
	.ix-panel { padding: 28px 22px; }
}
@media (max-width: 560px) {
	.ix-hero { min-height: 0; padding: 120px 18px 64px; }
	.ix-hero__descent { height: 95px; }
	.ix-features { grid-template-columns: 1fr; }
	.ix-feature { min-height: 320px; }
	.ix-dispatch { grid-template-columns: 1fr; gap: 6px; }
	.ix-page { padding: 28px 14px 56px; }
	.ix-panel { padding: 22px 16px; }
	.horizontal-table, .vertical-table { font-size: 14px; }
}
