:root {
  --bg: #070809;
  --hero-under-bg: #000000;
  --panel: #0f1012;
  --panel-2: #16181b;
  --text: #f2f2f2;
  --muted: #a9adb4;
  --line: #2f3440;
  --accent: #ffffff;
  --accent-soft: #ffffff22;
  --accent-red: #ff4f66;
  --chip: #ffffff;
  --footer-bg: #050505;
  --radius: 14px;
}

@font-face {
  font-family: "LocalBrewerySans";
  src: url("../medias/Font/LocalBrewerySans.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DinNext";
  src: url("../medias/Font/din-next-lt-pro-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

html[data-theme="light"] {
  --bg: #efe9e9;
  --panel: #ffffff;
  --panel-2: #f8f3f3;
  --text: #211313;
  --muted: #6d5f5f;
  --line: #d3c1c1;
  --accent-soft: #ff355011;
  --chip: #2d2f14;
  --footer-bg: #0f0f0f;
}

html[data-theme="dark"] {
  --bg: #471515;
  --hero-under-bg: #000000;
  --panel: #1a0b10;
  --panel-2: #221016;
  --text: #f8eded;
  --muted: #bd9a9a;
  --line: #5a1d26;
  --accent-soft: #ff355022;
  --chip: #ffdede;
  --footer-bg: #000000;
}

html[data-size="x-small"] {
  font-size: 13px;
}

html[data-size="small"] {
  font-size: 14.5px;
}

html[data-size="standard"] {
  font-size: 16px;
}

html[data-size="large"] {
  font-size: 18px;
}

html[data-size="x-large"] {
  font-size: 20px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

html {
  margin: 0;
  background: #000000;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.home-page--compact {
  background: var(--bg);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
  scrollbar-gutter: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  background: transparent;
}

img,
picture,
svg {
  -webkit-user-drag: none;
  user-select: none;
}

input,
textarea,
select,
option,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

body.home-page {
  --topbar-offset: 0px;
  background-color: var(--bg);
}

body.home-page.home-page--compact {
  --topbar-offset: 0px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.home-page.home-page--compact .home-particles-layer {
  z-index: 0;
}

body.home-page,
body.history-page,
body.support-page,
body.links-page,
body.about-page,
body.mentions-page,
body.auraflow-page,
body.localapp-page,
body.armageddon-page {
  position: relative;
  isolation: isolate;
}

.home-particles-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  display: block;
}

.home-page .hero-banner,
.home-page .hero-transition,
.home-page .layout,
.home-page .footer-transition,
.home-page .footer-main {
  position: relative;
  z-index: 1;
}

.home-page.home-page--compact .hero-banner,
.home-page.home-page--compact .hero-transition {
  display: none;
}

body.history-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.layout h1,
.layout h2,
.layout h3,
.history-layout h1,
.history-layout h2,
.history-layout h3 {
  font-family: inherit;
  letter-spacing: normal;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  --header-hide-progress: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 14px 58px 14px 22px;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transform: translateY(calc(var(--header-hide-progress) * -110%));
  transition: transform 0.08s linear, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.topbar.topbar--scrolled {
  border-bottom-color: var(--line);
  background:
    linear-gradient(90deg, #060708ed 0%, #0a0b0ded 40%, #070809ed 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px #00000040;
}

.topbar.topbar--hidden {
  transform: translateY(calc(var(--header-hide-progress) * -110%));
}

.topbar.topbar--visible {
  transform: translateY(calc(var(--header-hide-progress) * -110%));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(89%) sepia(35%) saturate(491%) hue-rotate(19deg) brightness(102%)
    contrast(92%);
}

.brand-text {
  font-size: 1.1rem;
  color: var(--accent);
  font-family: "LocalBrewerySans", "Georgia", "Times New Roman", serif;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  min-width: 0;
}

.ctrl-btn,
.lang-btn {
  border: none;
  color: var(--text);
  background: transparent;
  padding: 0.45rem 0.58rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.hover-control {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.menu-trigger {
  border: 1px solid #3a3a3a;
  background: #0d0f10b8;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 16px;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  min-width: 138px;
  border: 1px solid #2a2d30;
  border-radius: 10px;
  background: #0f1113;
  padding: 0.3rem;
  display: grid;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
  pointer-events: none;
  font-size: 16px;
}

.hover-control:hover .menu-panel,
.hover-control.is-open .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.size-control .menu-panel {
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -4px);
}

.size-control:hover .menu-panel,
.size-control.is-open .menu-panel {
  transform: translate(-50%, 0);
}

.lang-control .menu-panel {
  left: auto;
  right: 0;
  min-width: auto;
  transform: translateY(-4px);
  padding: 0.35rem;
}

.lang-control:hover .menu-panel,
.lang-control.is-open .menu-panel {
  transform: translateY(0);
}

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.lang-pill {
  border: 1px solid #3a3a3a;
  background: #141618;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.83rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-pill:hover {
  border-color: #6a6a6a;
  background: #1a1d12;
}

.lang-pill:focus-visible {
  outline: none;
  border-color: #6a6a6a;
  background: #1a1d12;
}

.menu-item {
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  border-radius: 7px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.menu-item:hover {
  background: var(--accent-soft);
}

.menu-item.is-active {
  color: var(--accent);
}

.trigger-icon {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.menu-trigger:hover .trigger-icon,
.menu-trigger:focus-visible .trigger-icon {
  filter: brightness(0) saturate(100%) invert(46%) sepia(58%) saturate(1822%) hue-rotate(319deg) brightness(101%)
    contrast(102%);
}

.hover-control.is-open .menu-trigger .trigger-icon {
  filter: brightness(0) saturate(100%) invert(46%) sepia(58%) saturate(1822%) hue-rotate(319deg) brightness(101%)
    contrast(102%);
}

.ctrl-btn:hover,
.lang-btn:hover {
  border-color: var(--accent-red);
}

.menu-trigger:hover,
.menu-trigger:focus-visible {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 1px #ff4f6640;
}

.hover-control.is-open .menu-trigger {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 1px #ff4f6640;
}

.size-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 138px;
  font-size: 16px;
}

.size-step {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.size-step-icon {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) saturate(100%) invert(70%) sepia(8%) saturate(336%) hue-rotate(189deg) brightness(91%)
    contrast(88%);
}

.topbar,
.topbar .ctrl-btn,
.topbar .menu-item,
.topbar .size-readout,
.topbar .size-step {
  font-size: 16px;
}

.size-step:hover {
  background: transparent;
}

.size-step:hover .size-step-icon,
.size-step:focus-visible .size-step-icon {
  filter: brightness(0) saturate(100%) invert(46%) sepia(58%) saturate(1822%) hue-rotate(319deg) brightness(101%)
    contrast(102%);
}

.size-step:disabled {
  opacity: 0.35;
  cursor: default;
}

.size-readout {
  min-width: 48px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  user-select: none;
}

.ctrl-btn.is-active {
  background: var(--accent);
  color: #111;
}

.lang-btn.is-active {
  color: var(--accent-red);
  border-color: var(--accent-red);
  background: #ff4f661a;
}

.layout {
  width: min(1220px, calc(100% - 2rem));
  margin: calc(var(--topbar-offset, 84px) + 1.2rem) auto 3.2rem;
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 1.7rem;
  align-items: start;
}

.hero-banner {
  margin-top: var(--topbar-offset, 84px);
  width: 100%;
  height: calc(100vh + 110px);
  height: calc(100svh + 110px);
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--hero-under-bg);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--hero-under-bg);
  opacity: 0;
  transition: opacity 0.75s ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  pointer-events: none;
  transform: translateY(calc(-18vh - var(--hero-scroll, 0px)));
  opacity: 0;
  transition: transform 0.06s linear, opacity 0.6s ease;
}

.hero-content.is-visible {
  opacity: 1;
}

.hero-content h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1.03;
  text-shadow: 0 10px 36px #00000085;
  font-family: "LocalBrewerySans", "Georgia", "Times New Roman", serif;
}

.hero-content p {
  margin: 0.95rem 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.35;
  text-shadow: 0 6px 24px #00000085;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000000 0%, #00000000 62%, #0000004d 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-transition {
  width: 100%;
  background: var(--hero-under-bg);
  line-height: 0;
  margin-top: -88px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-transition::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--bg);
}

.hero-wave {
  display: block;
  width: 100%;
  height: 88px;
  margin: 0;
  transform: none;
}

.hero-wave path {
  fill: #000000;
}

.home-page .layout {
  margin-top: 0;
  padding-top: 1.35rem;
}

.home-page.home-page--compact .layout {
  flex: 1;
  margin: 4.5rem auto 0;
  padding-bottom: 0;
  padding-top: 0;
}

.home-page.home-page--compact .footer-transition {
  margin-top: auto;
}

.home-page .hero-banner {
  margin-top: 0 !important;
}

.home-page .hero-transition {
  background: transparent;
  margin-top: -2px;
}

.home-page .hero-transition::after {
  background: transparent;
}

.home-page .hero-wave {
  height: 78px;
  transform: translateY(1px) scaleY(-1);
  transform-origin: center;
}

.home-page .topbar,
.home-page .topbar.topbar--scrolled,
.home-page .topbar.topbar--visible {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.home-page.home-page--compact .topbar,
.home-page.home-page--compact .topbar.topbar--scrolled,
.home-page.home-page--compact .topbar.topbar--visible,
.home-page.home-page--compact .topbar.topbar--hidden {
  position: fixed !important;
  width: auto !important;
  left: 1rem !important;
  right: 1rem !important;
  top: 14px !important;
  z-index: 1000 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  visibility: visible !important;
}

.home-page.home-page--compact .topbar.topbar--visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.home-page.home-page--compact .topbar.topbar--hidden {
  transform: translateY(-150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-page.home-page--compact .topbar::before,
.home-page.home-page--compact .topbar::after {
  display: none !important;
}

.home-page .topbar::before,
.home-page .topbar::after {
  display: none !important;
}

.home-page .topbar {
  position: fixed !important;
  width: auto !important;
  left: 1rem !important;
  right: 1rem !important;
  top: 14px !important;
  z-index: 1000 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transform: translateY(-150%) !important;
  transition: transform 0.24s ease, opacity 0.24s ease !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.home-page.home-page--compact .topbar {
  transform: translateY(-150%) !important;
  transition: transform 0.24s ease, opacity 0.24s ease !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #3a3a3a;
  background: #0d0f10b8;
  height: 44px;
  padding: 0 0.95rem 0 0.55rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.2s ease;
  min-width: 0;
}

.home-brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}

.home-brand-text {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 769px) {
  .home-brand-logo {
    transform: translate(1px, -1px);
  }

  .home-brand-text {
    transform: translateY(-1px);
  }
}

.home-brand-link:hover,
.home-brand-link:focus-visible {
  border-color: var(--accent-red);
}

.home-page .topbar-actions {
  display: flex !important;
  width: auto !important;
  justify-content: flex-end !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 0 !important;
}

.home-page.home-page--compact .topbar-actions {
  width: auto !important;
  justify-content: flex-end !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 0 !important;
}

.home-page.home-page--compact .home-brand-link {
  margin-right: auto;
}

.home-page .topbar.topbar--hidden {
  transform: translateY(-150%) !important;
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.home-page .topbar.topbar--visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .home-page .topbar {
    left: 1rem !important;
    right: 1rem !important;
    top: 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .home-page .topbar-actions {
    gap: 7px !important;
  }

  .home-page.home-page--compact .topbar {
    left: 1rem !important;
    right: 1rem !important;
    top: 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .home-brand-link {
    height: 36px;
    padding: 0 0.72rem 0 0.45rem;
    gap: 0.4rem;
  }

  .home-brand-logo {
    width: 20px;
    height: 20px;
  }

  .home-brand-text {
    font-size: 0.82rem;
    font-weight: 600;
  }

  .home-page .menu-trigger {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .home-page .trigger-icon {
    width: 17px;
    height: 17px;
  }

  .home-page .size-control .menu-panel {
    left: auto !important;
    right: -50px !important;
    max-width: min(92vw, 260px);
    transform: translateY(-4px) !important;
  }

  .home-page .lang-control .menu-panel {
    left: auto !important;
    right: 0 !important;
    max-width: min(calc(100vw - 2rem), 260px);
    transform: translateY(-4px) !important;
  }

  .home-page .size-control:hover .menu-panel,
  .home-page .size-control.is-open .menu-panel,
  .home-page .lang-control:hover .menu-panel,
  .home-page .lang-control.is-open .menu-panel {
    transform: translateY(0) !important;
  }

  .home-page .size-stepper {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .home-page .topbar {
    left: 1rem !important;
    right: 1rem !important;
    top: 14px !important;
  }

  .home-page .topbar-actions {
    gap: 6px !important;
  }

  .home-brand-link {
    height: 34px;
    width: auto;
    padding: 0 0.62rem 0 0.42rem;
    gap: 0.35rem;
    justify-content: flex-start;
  }

  .home-brand-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .home-brand-text {
    display: inline-flex;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .home-page .menu-trigger {
    width: 34px;
    height: 34px;
  }

  .home-page .trigger-icon {
    width: 16px;
    height: 16px;
  }
}

.section-title {
  font-size: 2rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  font-style: italic;
}

.project-section {
  margin-bottom: 2.25rem;
}

.project-group + .project-group {
  margin-top: 1.5rem;
}

.project-group-title {
  grid-column: 1 / -1;
  margin: 0 0 0.8rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 600;
}

.project-grid-divider {
  grid-column: 1 / -1;
  margin: 0.8rem 0 0.35rem;
  padding: 0.72rem 0.25rem 0.5rem;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-red) 35%, var(--line) 65%);
  color: color-mix(in srgb, var(--text) 88%, var(--accent-red) 12%);
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 700;
}

.project-grid-divider--active {
  display: none;
}

.cards-grid-large > .project-card.project-card--hero {
  grid-column: 1 / -1;
}

.cards-grid-large > .project-card.project-card--hero .project-media {
  height: auto;
  aspect-ratio: 16 / 7;
}

.cards-grid-large > .project-card.project-card--hero .status-chip {
  left: 0.7rem;
  top: 0.7rem;
  font-size: 0.9rem;
  padding: 0.44rem 0.86rem 0.48rem;
  border-radius: 12px;
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.cards-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid-medium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: auto;
}

.project-card--button {
  width: 100%;
  text-align: left;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line) 50%);
  box-shadow: 0 12px 22px #00000040;
}

.project-card:focus,
.project-card:focus-visible,
.project-card:active {
  outline: none;
}

.project-media {
  position: relative;
  height: 128px;
  overflow: hidden;
}

.project-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-media-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.is-archived-media {
  filter: grayscale(1);
}

.status-chip {
  position: absolute;
  z-index: 1;
  left: 0.55rem;
  top: 0.55rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  background: #00000080;
  color: #ffffff;
  padding: 0.3rem 0.62rem 0.34rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 10px #0000004d;
}

.project-body {
  padding: 0.8rem 0.85rem 1rem;
}

.project-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.5rem;
}

.project-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.project-body p:empty {
  display: none;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.archive-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.archive-title {
  font-weight: 600;
}

.archive-year {
  color: var(--muted);
  font-size: 0.95rem;
}

.right-col {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-height: 0;
}

.profile-card {
  border: none;
  border-radius: var(--radius);
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.profile-photo {
  position: relative;
  min-height: 360px;
  background-color: #0f1418;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-photo.has-image {
  background-image: url("../medias/Photo%20Profil.webp");
}

.profile-meta {
  padding: 0.8rem 0.85rem 1rem;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.35rem;
}

.profile-meta h3 {
  margin: 0;
  font-size: 2rem;
}

.profile-kicker,
.profile-role {
  margin: 0;
  color: var(--accent-red);
}

.profile-kicker {
  font-weight: 700;
}

.profile-role {
  font-weight: 500;
}

.profile-separator {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 0.35rem 0 0.5rem;
}

.profile-description {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
  text-align: left;
  align-self: flex-start;
  max-width: 62ch;
}

.profile-description + .profile-description {
  margin-top: 0.55rem;
}

.contact-cta-card {
  border: none;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: none;
  padding: 1rem;
}

.contact-cta-title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.3;
}

.contact-cta-text {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.contact-cta-btn {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--accent-red) 60%, var(--line) 40%);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: color-mix(in srgb, var(--accent-red) 18%, var(--panel) 82%);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-red) 28%, transparent);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-cta-btn:hover {
  background: color-mix(in srgb, var(--accent-red) 30%, var(--panel) 70%);
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent-red) 80%, var(--line) 20%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-red) 60%, transparent);
}

.contact-cta-btn:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

.news-panel {
  border: none;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: none;
  padding: 1rem 0.95rem;
}

.news-title {
  margin: 0 0 0.9rem;
  font-size: 2rem;
  font-style: normal;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.news-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.6rem;
  background: var(--panel-2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-ticket:hover,
.news-ticket:focus-within {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line) 55%);
  box-shadow: 0 10px 20px #00000042;
}

.ticket-body {
  display: block;
  min-width: 0;
  container-type: inline-size;
}

.ticket-head {
  display: block;
  min-width: 0;
}

.ticket-head--with-link {
  position: relative;
  display: block;
  min-width: 0;
  padding-right: 2.4rem;
}

.news-ticket-link-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  background: #0d0f10b8;
  color: #f4f7ff;
  text-decoration: none;
  box-shadow: 0 8px 18px #0000002e;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.news-ticket-link-button:hover,
.news-ticket-link-button:focus-visible {
  border-color: var(--accent-red);
  background: #111725;
  box-shadow: 0 0 0 1px #ff4f6640, 0 8px 18px #0000002e;
  color: var(--accent-red);
}

.news-ticket-link-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ticket-thumb {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 0;
  border: 1px solid #313545;
  background-color: #090b10;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #090b10;
}

.ticket-thumb--fallback {
  border-color: transparent;
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.45rem;
  row-gap: 0.12rem;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ticket-tag {
  color: var(--accent-red);
  font-weight: 700;
}

.ticket-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.ticket-date::before {
  content: "•";
  color: currentColor;
  opacity: 0.85;
}

.ticket-title {
  margin: 0.24rem 0 0.2rem;
  font-size: 1rem;
}

.ticket-excerpt {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.92rem;
}

@container (max-width: 240px) {
  .ticket-date {
    flex-basis: 100%;
    gap: 0;
  }

  .ticket-date::before {
    content: none;
  }
}

.history-link {
  display: block;
  width: fit-content;
  margin-top: 0.65rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0;
  border: none;
  text-decoration: none;
}

.history-link:hover {
  color: var(--accent-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-transition {
  width: 100%;
  background: transparent;
  line-height: 0;
  margin-top: 1.4rem;
  position: relative;
  overflow: hidden;
}

.footer-wave-cut {
  fill: var(--footer-bg);
}

.footer-wave {
  display: block;
  width: 100%;
  height: 78px;
  margin: 0;
}

.socials {
  display: flex;
  gap: 0.45rem;
}

.socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: transparent;
}

.social-icon {
  width: 26px;
  height: 26px;
  display: block;
  filter: brightness(0) invert(1);
}

.socials a:hover {
  border-color: transparent;
}

.socials a:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(46%) sepia(58%) saturate(1822%) hue-rotate(319deg) brightness(101%)
    contrast(102%);
}

.contact-btn {
  border: 1px solid #ffffff90;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  color: var(--accent);
  background: #0f1113;
}

.contact-btn:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.footer-main {
  background: var(--footer-bg);
  position: relative;
  min-height: 240px;
  margin-top: -1px;
}

.footer-main::before {
  display: none;
}

.footer-top {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 96px;
  padding: 1.1rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #1f2225;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, #090909 100%);
  opacity: 0.35;
}

.footer-inner {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  color: #c8b6b6;
}

.footer-inner a {
  color: #c8b6b6;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent-red);
}

.footer-inner a:focus,
.footer-inner a:focus-visible,
.footer-inner a:active {
  outline: none;
}

.footer-inner a + a::before {
  content: "-";
  margin-right: 1.5rem;
  color: #6f6464;
}

.history-layout {
  width: min(920px, calc(100% - 2rem));
  margin: calc(var(--topbar-offset, 0px) + 4.5rem) auto 3rem;
  flex: 1;
}

body.history-page .footer-transition {
  margin-top: auto;
}

.history-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.history-header h1 {
  margin: 0;
  padding-bottom: 0.25rem;
  color: var(--text);
  font-size: 2.1rem;
  font-weight: 700;
}

.back-link {
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent-red) 58%, var(--line) 42%);
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--accent-red) 16%, var(--panel) 84%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-red) 28%, transparent);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: color-mix(in srgb, var(--accent-red) 82%, var(--line) 18%);
  background: color-mix(in srgb, var(--accent-red) 28%, var(--panel) 72%);
  color: var(--text);
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  margin-bottom: 1rem;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-item input,
.filter-item select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  background: var(--panel-2);
  color: var(--text);
}

.calendar-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
}

.calendar-box h2 {
  margin: 0;
}

.calendar-box p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.calendar-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-day {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--panel-2);
  font-size: 0.86rem;
  color: var(--muted);
}

.calendar-day.has-news {
  border-color: color-mix(in srgb, var(--accent) 65%, var(--line) 35%);
  color: var(--text);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--panel-2) 30%);
}

.calendar-count {
  font-size: 0.67rem;
  color: var(--accent-red);
  margin-top: 0.08rem;
}

.history-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.history-page .news-ticket {
  background: rgba(16, 23, 38, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 79, 102, 0.24);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 79, 102, 0.06) inset;
}

.history-page .news-ticket:hover,
.history-page .news-ticket:focus-within {
  background: rgba(16, 23, 38, 0.58);
  border-color: rgba(255, 79, 102, 0.42);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 79, 102, 0.12) inset;
}

.history-day {
  border: 1px solid rgba(255, 79, 102, 0.26);
  border-radius: 16px;
  background: rgba(16, 23, 38, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 79, 102, 0.08) inset;
  overflow: hidden;
}

.history-day-head {
  background: rgba(10, 14, 22, 0.58);
  border-bottom: 1px solid rgba(255, 79, 102, 0.2);
  padding: 0.7rem 0.8rem;
  font-weight: 700;
}

.history-day-news {
  padding: 0.6rem 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.history-empty {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.history-simple {
  display: block;
}

.history-feed {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.history-list-frame {
  height: clamp(460px, 68vh, 620px);
  min-height: 460px;
  overflow: visible;
  padding: 4px 0;
}

.history-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.history-page-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  padding: 0.44rem 0.72rem;
  cursor: pointer;
  font-weight: 600;
}

.history-page-btn:hover,
.history-page-btn:focus-visible {
  border-color: var(--accent-red);
}

.history-page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.history-page-info {
  color: var(--muted);
  font-size: 0.9rem;
  min-width: 90px;
  text-align: center;
}

.history-side {
  border: 1px solid rgba(255, 79, 102, 0.3);
  border-radius: 16px;
  background: rgba(16, 23, 38, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 79, 102, 0.1) inset;
  padding: 0.8rem;
  position: sticky;
  top: 1rem;
}

.history-side-title {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
}

.history-project-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.history-project-icons-inline {
  justify-content: flex-start;
  margin-left: 0.35rem;
  max-width: none;
}

.history-project-icon-btn {
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  text-align: center;
  padding: 0.12rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.history-project-icon-btn:hover,
.history-project-icon-btn:focus-visible {
  transform: translateY(-1px);
}

.history-project-icon-btn.is-muted {
  filter: grayscale(1);
  opacity: 0.46;
}

.history-project-icon-image,
.history-project-icon-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
  background-color: #090b10;
  border: 1px solid #313545;
  box-sizing: border-box;
}

.history-project-icon-label {
  display: none;
}

.history-side-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.history-side-btn {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.history-side-btn:hover,
.history-side-btn:focus-visible {
  border-color: var(--accent-red);
}

.project-link-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
  max-width: min(92vw, 680px);
  border: 1px solid color-mix(in srgb, var(--accent-red) 55%, var(--line) 45%);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 88%, #000 12%);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  box-shadow: 0 10px 24px #0000005c;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.project-link-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1024px) {
  .layout {
    width: min(1220px, calc(100% - 2rem));
    grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) and (min-width: 501px) {
  .layout {
    width: calc(100% - 2rem);
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    gap: 0.75rem;
  }

  .cards-grid-large,
  .cards-grid-medium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .cards-grid-large > .project-card.project-card--hero {
    grid-column: auto;
  }

  .project-card {
    display: block;
  }

  .project-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #000;
  }

  .cards-grid-large > .project-card.project-card--hero .project-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-body {
    padding: 0.45rem 0.5rem 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
  }

  .project-body h3 {
    margin: 0;
    font-size: clamp(0.78rem, 1.65vw, 0.92rem);
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.2em * 2);
    max-height: calc(1.2em * 2);
  }

  .project-body p,
  .status-chip {
    display: none;
  }
}

@media (max-width: 768px) and (min-width: 501px) {
  .project-grid-divider--active {
    display: block;
    margin-top: -0.45rem;
    padding-top: 0;
    padding-bottom: 0.35rem;
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 600px) and (min-width: 501px) {
  .news-ticket {
    grid-template-columns: 1fr;
  }

  .news-ticket > .ticket-thumb {
    display: none;
  }

  .history-page .news-ticket {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .history-page .news-ticket > .ticket-thumb {
    display: inline-flex;
  }

  .history-page .ticket-meta {
    flex-wrap: wrap;
  }
}

@media (pointer: coarse) and (orientation: portrait) {
  .project-card {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: auto;
  }

  .project-card:hover,
  .project-card:focus,
  .project-card:focus-visible,
  .project-card:active {
    border-color: var(--line);
    transform: none;
    box-shadow: none;
  }

  .footer-inner a,
  .footer-inner a:link,
  .footer-inner a:visited,
  .footer-inner a:hover,
  .footer-inner a:focus,
  .footer-inner a:focus-visible,
  .footer-inner a:active {
    color: #c8b6b6 !important;
    text-decoration: none !important;
    -webkit-touch-callout: none;
  }
}

@media (min-width: 901px) {
  .home-page .layout {
    padding-top: 2.25rem;
  }

  .home-page.home-page--compact .layout {
    padding-top: 0;
  }

  .footer-transition {
    margin-top: 2.4rem;
  }

  .home-page.home-page--compact .footer-transition {
    margin-top: auto;
  }
}

@media (max-width: 760px) {
  .home-page.home-page--compact .layout {
    margin-top: 4.5rem;
  }
}

@media (max-width: 500px) {
  .layout {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .right-col {
    display: contents;
    order: -1;
  }

  .cards-grid-large,
  .cards-grid-medium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .cards-grid-large > .project-card.project-card--hero {
    grid-column: 1 / -1;
  }

  .project-grid-divider--active {
    display: block;
    margin-top: 0.8rem;
    padding-top: 0;
    padding-bottom: 0.35rem;
    margin-bottom: 0.2rem;
  }

  .project-card.project-card--active:not(.project-card--active-first),
  .project-card.project-card--paused,
  .project-card.project-card--archived {
    display: block;
  }

  .project-card.project-card--active:not(.project-card--active-first) .project-media,
  .project-card.project-card--paused .project-media,
  .project-card.project-card--archived .project-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #000;
  }

  .project-card.project-card--active:not(.project-card--active-first) .project-body,
  .project-card.project-card--paused .project-body,
  .project-card.project-card--archived .project-body {
    padding: 0.45rem 0.5rem 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
  }

  .project-card.project-card--active:not(.project-card--active-first) .project-body h3,
  .project-card.project-card--paused .project-body h3,
  .project-card.project-card--archived .project-body h3 {
    margin: 0;
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.2em * 2);
    max-height: calc(1.2em * 2);
  }

  .project-card.project-card--active:not(.project-card--active-first) .project-body p,
  .project-card.project-card--paused .project-body p,
  .project-card.project-card--archived .project-body p,
  .project-card.project-card--active:not(.project-card--active-first) .status-chip,
  .project-card.project-card--paused .status-chip,
  .project-card.project-card--archived .status-chip {
    display: none;
  }

  .contact-cta-card {
    order: 99;
  }

  .profile-card {
    order: -3;
  }

  .news-panel {
    order: -2;
  }

  .left-col {
    order: 0;
  }
}

@media (max-width: 760px) {
  .history-layout {
    margin-top: calc(var(--topbar-offset, 0px) + 4.5rem);
  }
}

@media (max-width: 740px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .topbar {
    padding: 12px 22px 12px 12px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .history-simple {
    grid-template-columns: 1fr;
  }

  .history-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-project-icons-inline {
    max-width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero-banner {
    height: calc(100vh + 90px);
    height: calc(100svh + 90px);
  }

  .calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-photo {
    min-height: 240px;
  }

  .profile-meta h3 {
    font-size: 1.65rem;
  }

  .footer-top {
    min-height: 82px;
    padding-top: 0.9rem;
    padding-bottom: 0.75rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .footer-inner {
    padding: 0.9rem 0 2rem;
    gap: 0.55rem 1rem;
    font-size: 0.9rem;
    justify-content: center;
    text-align: center;
  }

  .footer-inner a {
    font-size: 0.9rem;
  }

  .footer-inner a + a::before {
    content: "";
    margin-right: 0;
  }
}


