/* ==========================================================
   Єгор Селін — Portfolio
   Palette: space navy · steel · cold blue · star white
   ========================================================== */

:root {
  --bg:        #05070d;
  --bg-alt:    #0a0e1a;
  --surface:   #0f1524;
  --surface-2: #141c30;
  --border:    #1e2942;
  --border-hi: #2d3d63;

  --text:      #c5cde0;
  --text-dim:  #8592ad;
  --text-mute: #56607a;
  --cream:     #e6edfb;

  --steel:     #6b7ea3;
  --steel-hi:  #9db0d4;
  --ice:       #4a9eff;
  --ice-glow:  #6ea8ff;
  --cyan:      #4fd1ff;
  --star:      #ffffff;
  --red:       #ff5c6c;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:  'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;

  --max: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 2px;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --glow: 0 0 20px rgba(74,158,255,.25), 0 0 40px rgba(74,158,255,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul { list-style: none; }

/* Star canvas + graph — global background */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
main, section, nav, footer { position: relative; z-index: 1; }

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(74,158,255,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(79,209,255,.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: .035;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: overlay;
}

/* Typography ---------------------------------------------- */
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; }
.mono  { font-family: var(--font-mono); font-size: .82em; letter-spacing: .05em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--cream);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text); }
em { color: var(--ice-glow); font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--ice);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice));
}

/* Layout -------------------------------------------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow    { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
section    { padding: clamp(4rem, 10vh, 8rem) 0; }

/* Nav ----------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .3s var(--ease);
}
.nav.scrolled {
  background: rgba(5,7,13,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__brand::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 12px var(--ice), 0 0 24px rgba(74,158,255,.4);
  margin-right: .6rem;
  flex-shrink: 0;
}
.nav__brand > [data-i18n="brand.dot"] { margin: 0 .2em; opacity: .5; }
.nav__brand span { color: var(--ice); }
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: .25rem 0;
  transition: color .2s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--cream); }
.nav__links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
}
.nav__lang {
  display: flex;
  gap: .25rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
  margin-left: .5rem;
}
.nav__lang button {
  padding: .3rem .55rem;
  color: var(--text-mute);
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  letter-spacing: .1em;
}
.nav__lang button.active {
  color: var(--ice);
  border-color: var(--border-hi);
  background: rgba(74,158,255,.06);
}
.nav__lang button:hover { color: var(--cream); }
.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    z-index: 101;
  }
  .nav__burger span {
    width: 22px; height: 1px; background: var(--cream);
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 82vw);
    padding: 6rem 2rem 2rem;
    background: rgba(10,14,26,.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__lang { border-left: none; border-top: 1px solid var(--border); padding: 1rem 0 0; margin: 1rem 0 0; }
}

/* Hero ---------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}
#hero-graph {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .7;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 20%, rgba(5,7,13,.7) 70%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
.hero__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  transition: filter .6s var(--ease);
  --mask: radial-gradient(ellipse 62% 72% at 52% 42%, #000 40%, rgba(0,0,0,.5) 70%, transparent 96%);
  -webkit-mask-image: var(--mask);
          mask-image: var(--mask);
}
.hero__photo::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at 40% 30%, rgba(74,158,255,.15) 0%, transparent 55%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05) brightness(1.02);
  mix-blend-mode: lighten;
  transition: filter .6s var(--ease);
}
.hero:hover .hero__photo img { filter: grayscale(0) contrast(1.1) brightness(1.05); }

.hero__title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--cream);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 40px rgba(74,158,255,.15);
}
.hero__title span {
  color: var(--ice);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 0 24px rgba(74,158,255,.5);
}
.hero__subtitle {
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--steel-hi);
  margin-bottom: 2.5rem;
  border-left: 1px solid var(--ice);
  padding-left: 1.25rem;
  box-shadow: -2px 0 12px rgba(74,158,255,.2);
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero__cta { justify-content: center; }
  .hero__tag { border-left: none; border-top: 1px solid var(--ice); padding: 1rem 0 0; box-shadow: none; }
}

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  border: 1px solid var(--border-hi);
  color: var(--steel-hi);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  background: rgba(15,21,36,.4);
  backdrop-filter: blur(6px);
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--ice), var(--cyan));
  transform: translateX(-100%);
  transition: transform .4s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--ice); box-shadow: var(--glow); }
.btn:hover::before { transform: translateX(0); }
.btn--filled {
  background: linear-gradient(135deg, var(--ice), var(--cyan));
  color: var(--bg);
  border-color: transparent;
  box-shadow: var(--glow);
}
.btn--filled::before { background: var(--cream); }
.btn--filled:hover { color: var(--bg); }
.btn--ghost { border-color: var(--border); color: var(--text-dim); }

/* Section title ------------------------------------------- */
.sec-title { margin-bottom: 3rem; text-align: center; }
.sec-title--left { text-align: left; }
.sec-title h2 { margin-top: .5rem; }
.sec-title p { color: var(--text-dim); margin-top: 1rem; max-width: 640px; margin-inline: auto; }
.sec-title--left p { margin-inline: 0; }

/* News horizontal layout (blog page) ---------------------- */
.grid--rows {
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
  max-width: 940px !important;
}
.grid--rows .card { padding: 0; overflow: hidden; }
.grid--rows .card--with-cover { flex-direction: row; align-items: stretch; }
.grid--rows .card__cover {
  aspect-ratio: unset;
  width: 42%;
  min-width: 320px;
  max-width: 440px;
  flex-shrink: 0;
  height: auto;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.grid--rows .card__cover img { object-fit: contain; max-height: 100%; }
.grid--rows .card__cover::after { display: none; }
.grid--rows .card__body { flex: 1; padding: 1.75rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.grid--rows .card__body p { flex: 1; }
.grid--rows .card:not(.card--with-cover) { padding: 1.5rem 1.75rem; }
@media (max-width: 640px) {
  .grid--rows .card--with-cover { flex-direction: column; }
  .grid--rows .card__cover { width: 100%; max-width: none; padding: 1rem; aspect-ratio: 16/9; }
}

/* Card cover ---------------------------------------------- */
.card--with-cover { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.card__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,21,36,.5) 100%);
  pointer-events: none;
}
.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card--with-cover:hover .card__cover img { transform: scale(1.03); }
.card__body { padding: 1.75rem 2rem 2rem; }

/* Cards --------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  max-width: 1140px;
  margin: 0 auto;
}
@media (min-width: 900px)  { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .grid { grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; } }
.card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(15,21,36,.6) 100%);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, var(--ice), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5,7,13,.5), var(--glow);
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ice);
  margin-bottom: 1rem;
  display: inline-block;
  padding: .25rem .6rem;
  border: 1px solid var(--border-hi);
  background: rgba(74,158,255,.05);
}
.card__date {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-mute);
  margin-bottom: .5rem;
}
.card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--cream); }
.card p { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.5rem; }
.card__link {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ice);
  border-bottom: 1px solid var(--border-hi);
  padding-bottom: 2px;
  transition: all .2s var(--ease);
}
.card__link:hover { color: var(--cream); border-color: var(--cream); }

/* Stats strip --------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 3rem var(--gutter);
  background:
    linear-gradient(180deg, rgba(10,14,26,.6), rgba(10,14,26,.9)),
    radial-gradient(ellipse at 50% 100%, rgba(74,158,255,.08), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--ice);
  line-height: 1;
  margin-bottom: .5rem;
  text-shadow: 0 0 20px rgba(74,158,255,.3);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-dim);
}

/* Article prose ------------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.prose h2 { margin: 3rem 0 1.25rem; font-size: 2rem; }
.prose h3 { margin: 2.5rem 0 1rem; font-size: 1.4rem; color: var(--ice); }
.prose p  { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
/* Drop cap disabled — was leaking into blockquotes and emojis */
.prose ul, .prose ol { margin: 0 0 1.5rem 1.5rem; }
.prose li { margin-bottom: .5rem; color: var(--text); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: .95rem;
}
.prose thead { background: rgba(74,158,255,.06); }
.prose th {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ice);
  text-align: left;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.prose td {
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(30,41,66,.5);
  color: var(--text);
  vertical-align: top;
}
.prose td:first-child { color: var(--cream); font-weight: 500; width: 30%; }
.prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 1px solid var(--border);
  background: #05070d;
  transition: transform .35s var(--ease-out), border-color .3s var(--ease);
  cursor: zoom-in;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.prose img:hover {
  transform: scale(1.02);
  border-color: var(--border-hi);
  box-shadow: 0 18px 40px rgba(0,0,0,.65), 0 0 30px rgba(74,158,255,.15);
}
.prose p:has(> img:only-child) { text-align: center; margin: 2rem 0; }
.prose blockquote {
  border-left: 2px solid var(--ice);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--steel-hi);
  box-shadow: -2px 0 20px rgba(74,158,255,.15);
}
.prose hr { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--border-hi), transparent); margin: 3rem 0; }
.prose code { font-family: var(--font-mono); background: var(--surface); padding: .1em .4em; font-size: .9em; color: var(--cyan); border: 1px solid var(--border); }
.prose .disclaimer {
  border: 1px solid var(--border);
  border-left: 2px solid var(--ice);
  padding: 1.25rem 1.5rem;
  background: rgba(15,21,36,.6);
  font-size: .9rem;
  color: var(--text-dim);
  margin: 2rem 0;
}
.article-meta {
  text-align: center;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.prose__hero {
  margin: -1rem calc(-1 * var(--gutter)) 3rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.prose__hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 560px;
}
.prose__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(5,7,13,.4) 100%);
}
@media (min-width: 900px) {
  .prose__hero { margin: -1rem -6rem 3rem; }
}
.article-meta h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 1rem 0; }
.article-meta .mono { color: var(--text-mute); }
.article-utils {
  display: inline-flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-mute);
}
.article-utils__time { display: inline-flex; align-items: center; gap: .35rem; }
.article-utils__copy {
  border: 1px solid var(--border);
  padding: .35rem .75rem;
  color: var(--text-dim);
  background: rgba(15,21,36,.4);
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
  font-size: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}
.article-utils__copy:hover { color: var(--ice); border-color: var(--ice); }
.article-utils__copy.done { color: var(--bg); background: var(--ice); border-color: var(--ice); }

/* Footer -------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem var(--gutter) 2rem;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  color: var(--text-dim);
  font-size: .9rem;
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ice);
  margin-bottom: 1rem;
}
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: var(--cream); }
.footer__col ul li { margin-bottom: .5rem; }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-mute);
  letter-spacing: .05em;
}
.footer__brand-tag {
  color: var(--steel-hi);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

/* Reveal on scroll ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* Contact form -------------------------------------------- */
.form { display: grid; gap: 1.25rem; max-width: 560px; }
.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-dim);
  margin-bottom: .5rem;
}
.form input, .form textarea {
  width: 100%;
  padding: .95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all .2s var(--ease);
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgba(74,158,255,.15);
}
.form textarea { min-height: 140px; resize: vertical; }

/* Skills -------------------------------------------------- */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.skill {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15,21,36,.4));
  transition: all .3s var(--ease);
  position: relative;
}
.skill::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ice), var(--cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.skill:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.skill:hover::before { transform: scaleY(1); }
.skill h4 {
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: .75rem;
}
.skill p { font-size: .9rem; color: var(--text-dim); }

/* Timeline ------------------------------------------------ */
.timeline { max-width: 780px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--ice), var(--border), var(--border));
}
.tl-item { position: relative; padding-left: 3rem; margin-bottom: 3rem; }
.tl-item::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 17px; height: 17px;
  background: var(--bg);
  border: 2px solid var(--ice);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(74,158,255,.5);
}
.tl-item__date {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ice);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: .5rem;
}
.tl-item h3 { font-size: 1.35rem; margin-bottom: .25rem; color: var(--cream); }
.tl-item .role-org { color: var(--text-dim); font-size: .95rem; margin-bottom: 1rem; }
.tl-item ul { margin-left: 1.25rem; list-style: none; }
.tl-item ul li { position: relative; color: var(--text); margin-bottom: .4rem; padding-left: 1rem; }
.tl-item ul li::before {
  content: '';
  position: absolute; left: 0; top: .7em;
  width: 6px; height: 1px;
  background: var(--ice);
}

/* Filter pills ------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.filter-pill {
  padding: .55rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-dim);
  background: rgba(15,21,36,.4);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s var(--ease);
  backdrop-filter: blur(4px);
}
.filter-pill:hover {
  color: var(--cream);
  border-color: var(--border-hi);
}
.filter-pill.active {
  color: var(--ice);
  border-color: var(--ice);
  background: rgba(74,158,255,.08);
  box-shadow: 0 0 20px rgba(74,158,255,.15);
}
.filter-count {
  margin-left: .4rem;
  color: var(--text-mute);
  font-size: .85em;
}
.filter-pill.active .filter-count { color: var(--ice-glow); opacity: .7; }

.category-header {
  margin-bottom: 2rem;
  text-align: center;
}
.category-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: .35rem;
  color: var(--cream);
}
.category-header p {
  color: var(--text-dim);
  font-size: .95rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Book card ----------------------------------------------- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
@media (min-width: 720px)  { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .book-grid { grid-template-columns: repeat(4, minmax(0, 240px)); justify-content: center; } }
.book { display: flex; flex-direction: column; gap: 1.25rem; }
.book__cover {
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #0a1024 0%, #050a18 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .3s var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
}
.book__cover:has(img) { padding: 0; }
.book__cover:not(:has(img)) { padding: 2rem; }
.book:hover .book__cover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.7);
}
.book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book__cover h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}
.book__meta { color: var(--text-mute); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; }
.book h4 { margin-bottom: .5rem; }
.book p  { color: var(--text-dim); font-size: .95rem; }

/* Contact list -------------------------------------------- */
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all .25s var(--ease);
}
.contact-item:hover { border-color: var(--ice); color: var(--cream); box-shadow: var(--glow); }
.contact-item__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-hi);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: .85rem;
}
.contact-item__label {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-mute);
  margin-bottom: .1rem;
}
.contact-item__value { font-size: .92rem; color: var(--cream); }

/* Certificates -------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 940px;
  margin: 0 auto;
}
.cert {
  display: flex;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15,21,36,.6));
  transition: all .3s var(--ease);
  overflow: hidden;
}
.cert:hover { border-color: var(--border-hi); box-shadow: 0 12px 30px rgba(0,0,0,.4), var(--glow); }
.cert__img {
  width: 300px;
  flex-shrink: 0;
  background: #05070d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cert__img img { width: 100%; height: auto; max-height: 220px; object-fit: contain; }
.cert__body { flex: 1; padding: 1.75rem 2rem; display: flex; flex-direction: column; }
.cert__body h3 { font-size: 1.3rem; margin: .5rem 0 1rem; color: var(--cream); }
.cert__body p { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.25rem; }
.cert__meta {
  display: grid;
  gap: .5rem;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
}
.cert__meta-row { display: flex; gap: .75rem; align-items: baseline; color: var(--text-dim); }
.cert__meta-row span:first-child {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-mute);
  min-width: 90px;
  flex-shrink: 0;
}
.cert__meta-row code {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--cyan);
  word-break: break-all;
}
@media (max-width: 700px) {
  .cert { flex-direction: column; }
  .cert__img { width: 100%; padding: 1rem 1rem 0; }
  .cert__body { padding: 1.5rem; }
}

/* Awards -------------------------------------------------- */
.award__img {
  width: 260px;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(74,158,255,.08), transparent 70%),
    linear-gradient(180deg, #060a15 0%, #05070d 100%);
  position: relative;
}
.award__img::before {
  content: '';
  position: absolute;
  inset: .75rem;
  border: 1px solid rgba(157, 176, 212, .12);
  pointer-events: none;
}
.award__img img {
  max-height: 320px;
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
  transition: transform .4s var(--ease-out);
}
.award:hover .award__img img { transform: translateY(-3px); }
.award em { color: var(--steel-hi); font-style: italic; font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 700px) {
  .award__img { width: 100%; }
  .award__img img { max-height: 380px; }
}

/* Media coverage ------------------------------------------ */
.media-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 940px;
  margin: 0 auto;
}
.media-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-left: 2px solid var(--ice);
  background: linear-gradient(90deg, rgba(74,158,255,.04), transparent 60%);
  transition: all .25s var(--ease);
}
.media-card:hover { border-color: var(--border-hi); border-left-color: var(--cyan); transform: translateX(2px); }
.media-card__meta {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: .6rem;
}
.media-card__source { color: var(--ice); }
.media-card__date { color: var(--text-mute); }
.media-card h3 { font-size: 1.15rem; margin-bottom: .6rem; line-height: 1.35; }
.media-card h3 a { color: var(--cream); transition: color .2s var(--ease); }
.media-card h3 a:hover { color: var(--ice); }
.media-card p { color: var(--text-dim); font-size: .93rem; margin-bottom: 1rem; }
.media-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.media-card__domain {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-mute);
  letter-spacing: .05em;
}

/* Projects (OSS) ------------------------------------------ */
.proj-list { display: flex; flex-direction: column; gap: 5rem; max-width: 1100px; margin: 0 auto; }
.proj {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15,21,36,.55));
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.proj:hover { border-color: var(--border-hi); }
.proj__hero {
  aspect-ratio: 21/9;
  background: #05070d;
  overflow: hidden;
  position: relative;
}
.proj__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj__hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,21,36,.6) 100%);
  pointer-events: none;
}
.proj__body { padding: 2.5rem 2.5rem 3rem; }
.proj__head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.proj__name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--cream);
  margin: .5rem 0 .35rem;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.proj__sub { color: var(--steel-hi); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
.proj__meta { display: flex; flex-direction: column; gap: .5rem; font-size: .82rem; min-width: 220px; }
.proj__meta-row { display: flex; gap: .75rem; align-items: baseline; color: var(--text-dim); }
.proj__meta-row span:first-child {
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-mute);
  min-width: 70px;
}
.proj__desc { color: var(--text); font-size: 1rem; line-height: 1.75; margin-bottom: 2rem; }
.proj__desc strong { color: var(--ice); font-weight: 500; }
.proj__features { margin-bottom: 2rem; }
.proj__features h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ice);
  margin-bottom: .75rem;
}
.proj__features ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.proj__features li { position: relative; padding-left: 1.25rem; color: var(--text); font-size: .92rem; line-height: 1.5; }
.proj__features li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ice); }
.proj__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.proj__shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.proj__shot { overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; transition: border-color .2s var(--ease); }
.proj__shot:hover { border-color: var(--ice); }
.proj__shot img { width: 100%; height: auto; display: block; transition: transform .35s var(--ease); }
.proj__shot:hover img { transform: scale(1.02); }
@media (max-width: 720px) {
  .proj__body { padding: 1.75rem 1.5rem 2rem; }
  .proj__head { grid-template-columns: 1fr; gap: 1rem; }
  .proj__features ul { grid-template-columns: 1fr; }
}

/* Tools stack --------------------------------------------- */
.stack__meta {
  display: grid;
  gap: 1.5rem;
  margin: 0 auto 4rem;
  max-width: 1140px;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15,21,36,.6));
}
.stack__counts {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-dim);
}
.stack__counts strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ice);
  font-weight: 500;
  margin-right: .35rem;
  text-shadow: 0 0 15px rgba(74,158,255,.35);
}
.stack__search input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-hi);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all .2s var(--ease);
}
.stack__search input:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgba(74,158,255,.15);
}
.stack__group { max-width: 1240px; margin: 0 auto 4rem; }
.stack__group-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--cream);
  padding-bottom: .75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.stack__group-title::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--ice), transparent);
}
.stack__cats { display: flex; flex-direction: column; gap: 2rem; }
.stack__cat {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15,21,36,.55));
  overflow: hidden;
}
.stack__cat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(74,158,255,.03);
}
.stack__cat-head h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--cream);
  margin: 0;
  line-height: 1.2;
}
.stack__count {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ice);
  background: rgba(74,158,255,.08);
  padding: .15rem .6rem;
  border: 1px solid var(--border-hi);
  flex-shrink: 0;
  letter-spacing: .05em;
}

/* Table */
.stack__table-wrap { overflow-x: auto; }
.stack__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.stack__table thead {
  background: rgba(10,14,26,.5);
}
.stack__table th {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-mute);
  text-align: left;
  padding: .8rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.stack__th-name { width: 26%; }
.stack__th-desc { width: 54%; }
.stack__th-link { width: 20%; text-align: right; }

.stack__row { transition: background .15s var(--ease); border-bottom: 1px solid rgba(30,41,66,.5); }
.stack__row:last-child { border-bottom: none; }
.stack__row:hover { background: rgba(74,158,255,.04); }

.stack__table td {
  padding: .9rem 1.25rem;
  vertical-align: top;
  line-height: 1.45;
}
.stack__name {
  color: var(--cream);
  font-weight: 500;
}
.stack__desc {
  color: var(--text-dim);
  font-size: .88rem;
}
.stack__desc:empty::before {
  content: '—';
  color: var(--text-mute);
  opacity: .4;
}
.stack__link { text-align: right; white-space: nowrap; }
.stack__link a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ice);
  border: 1px solid var(--border-hi);
  background: rgba(74,158,255,.04);
  transition: all .2s var(--ease);
}
.stack__link a:hover {
  color: var(--bg);
  background: var(--ice);
  border-color: var(--ice);
  box-shadow: 0 0 12px rgba(74,158,255,.35);
}
.stack__link-arrow { font-size: .9em; }

@media (max-width: 720px) {
  .stack__th-desc, .stack__desc { display: none; }
  .stack__th-name { width: 60%; }
  .stack__th-link { width: 40%; }
  .stack__table td, .stack__table th { padding: .7rem .9rem; font-size: .85rem; }
}

/* Recommendations ----------------------------------------- */
.rec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.rec {
  position: relative;
  padding: 3rem 2.5rem 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15,21,36,.4));
  transition: all .3s var(--ease);
}
.rec:hover { border-color: var(--border-hi); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.rec__quote {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--ice);
  opacity: .35;
  font-weight: 500;
  pointer-events: none;
  user-select: none;
}
.rec__body { margin-bottom: 2rem; }
.rec__body p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.rec__body p:last-child { margin-bottom: 0; }
.rec__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.rec__avatar {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ice), var(--cyan));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .05em;
  border: 1px solid var(--border-hi);
}
.rec__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rec__meta { flex: 1; min-width: 0; }
.rec__name {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: .1rem;
}
.rec__name a { color: var(--cream); transition: color .2s var(--ease); }
.rec__name a:hover { color: var(--ice); }
.rec__role {
  color: var(--text-dim);
  font-size: .85rem;
  line-height: 1.4;
  margin-bottom: .35rem;
}
.rec__badge {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--ice);
}
@media (max-width: 640px) {
  .rec { padding: 2.5rem 1.5rem 1.5rem; }
  .rec__quote { font-size: 4.5rem; top: -.5rem; left: 1rem; }
  .rec__body p { font-size: 1.05rem; }
}

/* Lightbox ------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2, 4, 10, .92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 60px rgba(74,158,255,.2);
  transform: scale(.9);
  transition: transform .35s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border: 1px solid var(--border-hi);
  color: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
  background: rgba(15,21,36,.6);
  backdrop-filter: blur(4px);
  transition: all .2s var(--ease);
}
.lightbox__close:hover { border-color: var(--ice); color: var(--ice); }
.cert__img, .prose__hero img, .card__cover img { cursor: zoom-in; transition: opacity .2s var(--ease); }
.cert__img:hover, .prose__hero img:hover, .card__cover img:hover { opacity: .9; }

/* Utility ------------------------------------------------- */
.center { text-align: center; }
[hidden] { display: none !important; }
