@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-ExtraBoldItalic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper';
  src: url('../assets/fonts/Cooper-BlackItalic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ── Palette ── */
:root {
  --grey-333: #333333;
  --grey-555: #555555;
  --grey-777: #777777;
  --grey-999: #999999;
  --grey-ccc: #CCCCCC;
  --grey-eee: #EEEEEE;
  --black:     #000000;
  --orange-600: #FF6600;
  --orange-533: #FF8533;
  --orange-a66: #FFAA66;
  --orange-b80: #FFB380;
  --overlay-opacity: 0.45;
}

/* ── Reset & base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Body ── */
body {
  font-family: 'Cooper', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--grey-eee);
  overflow-x: hidden;
  background-color: #0a0a0a;
}

/* ── Custom scrollbars ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-555);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-777);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--grey-555) var(--black);
}

/* ── Dark overlay ── */
.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, var(--overlay-opacity));
  z-index: 1;
}

.page-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Header / nav ── */
.site-header {
  text-align: center;
  padding: 2rem 1.5rem 0.5rem;
}

.site-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.site-header h1 {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--grey-555);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  color: var(--grey-eee);
}

/* ── Main content cards ── */
main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

section {
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border: 1px solid var(--grey-333);
}

section h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--grey-eee);
  border-bottom: 1px solid var(--grey-333);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

section p {
  color: var(--grey-ccc);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* ── Project list ── */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-item {
  flex: 1 1 260px;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--grey-333);
  border: 1px solid var(--grey-555);
  transition: background 160ms ease, transform 160ms ease;
}

.project-item:hover {
  background: var(--grey-555);
  transform: translateY(-2px);
}

.project-item h3 {
  color: var(--orange-533);
  margin-bottom: 0.5rem;
}

.project-item p {
  color: var(--grey-ccc);
}

/* ── Countdown section ── */
#countdown {
  text-align: center;
}

.countdown-number {
  font-family: 'Cooper', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--orange-600);
  line-height: 1.1;
  margin-top: 0.5rem;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  flex-wrap: wrap;
}

.minutes-unit {
  font-size: 0.35em;
  font-weight: 700;
  color: var(--grey-999);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

/* ── Contact section ── */
section#contact p {
  font-size: 1.1rem;
}

section#contact a {
  color: var(--orange-600);
  text-decoration: none;
  font-weight: 600;
}

section#contact a:hover {
  color: var(--orange-a66);
  text-decoration: underline;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.5rem 1.5rem 0.25rem;
  color: var(--grey-777);
  font-size: 0.85rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.trademark-notice {
  text-align: center;
  padding: 0 1.5rem 1.5rem;
  color: var(--grey-555);
  font-size: 0.75rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-header {
    padding: 1.25rem 0.75rem 0.25rem;
  }

  .site-header h1 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    padding: 0.5rem 1rem;
  }

  main {
    padding: 0.75rem;
    gap: 1rem;
  }

  section {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .countdown-number {
    font-size: clamp(2.25rem, 10vw, 4rem);
  }
}
