@import url("https://fonts.googleapis.com/css2?family=Gravitas+One&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #0b0b0c;
  --panel: #0f0f10;
  --muted: #9aa6b2;
  --accent: #ff7f2a;
  --accent-2: #33898f;
  --white: #f6f7f8;
  --radius: 12px;
  --container: 1200px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
/*body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: linear-gradient(180deg, #070708 0%, #0f0f10 100%);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}*/
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-image: linear-gradient(180deg, #070708 0%, #0f0f10 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
/* Utility container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-size: 0.95rem;
  margin-left: 1%;
  font-family:
    "Gravitas One",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  text-transform: uppercase;
}

.primary-nav ul {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.18s ease;
}
.primary-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--white);
}
.nav-toggle .hamburger::before {
  top: -7px;
}
.nav-toggle .hamburger::after {
  top: 7px;
}

/* Hero */
.hero {
  padding: 4rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(1.875rem, 4vw, 3.5rem);
  margin: 0 0 0.75rem;
  color: var(--white);
  line-height: 1.02;
  font-weight: 700;
  font-family:
    "Gravitas One",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.02em;
}
.hero-sub {
  color: var(--muted);
  max-width: 55ch;
  font-size: 1rem;
  font-weight: 400;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #111;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 700;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Make canvas scale to its container while keeping a crisp drawing buffer */
.hero-media canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Projects grid */
.projects-hero {
  padding: 3.5rem 0 1rem;
}
.projects-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.eyebrow {
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  margin: 0;
}
.projects-section {
  padding: 3.4rem 0;
}

/* Game engine about page styling */
.cta-panel {
  margin: 2rem 0 1.4rem;
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 2fr 1.25fr;
  gap: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(135deg, rgba(255, 127, 42, 0.12), rgba(0, 0, 0, 0.35)),
    radial-gradient(circle at 80% 20%, rgba(51, 137, 143, 0.18), transparent 50%),
    rgba(0, 0, 0, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48);
}

.cta-panel h3 {
  margin: 0.1rem 0 0.4rem;
}

.cta-panel p {
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.cta-highlight {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.35);
}

.cta-highlight h4 {
  margin: 0.2rem 0 0.4rem;
}

.cta-highlight ul {
  margin: 0.35rem 0 0.4rem;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.3rem;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  color: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.card {
  background: radial-gradient(circle at 20% 20%, rgba(255, 127, 42, 0.07), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(51, 137, 143, 0.07), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  height: 100%;
}

.card h3 {
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.card p,
.card ul {
  color: var(--muted);
  margin: 0.35rem 0;
}

.card ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.4rem 0 1.4rem;
}

.split h3 {
  margin-bottom: 0.35rem;
}

.split h4 {
  margin: 0.4rem 0 0.2rem;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.split ul {
  margin: 0 0 0.6rem;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.split table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.split th,
.split td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}

.split thead {
  background: rgba(255, 127, 42, 0.12);
  color: var(--white);
  letter-spacing: 0.02em;
}

.split tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.split tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.split ol {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.split strong {
  color: var(--white);
}

.projects-section section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.6rem;
  margin-top: 1.4rem;
}

.projects-section a.btn,
.projects-section a.btn.ghost {
  margin-right: 0.5rem;
  margin-top: 0.35rem;
}

.projects-section ul li::marker {
  color: var(--accent);
}

.projects-section ul li {
  line-height: 1.5;
}

/* Responsive tweaks for about page */
@media (max-width: 640px) {
  .projects-section {
    padding: 2.5rem 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    margin: 1.6rem 0 1.1rem;
  }

  .split table {
    font-size: 0.9rem;
  }
}

/* Phone optimizations */
@media (max-width: 560px) {
  .projects-section {
    padding: 2.2rem 0;
  }

  .projects-section h2 {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .cta-panel {
    padding: 1rem 1rem;
    gap: 1rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn,
  .cta-actions .btn.ghost {
    width: 100%;
    text-align: center;
  }

  .card-grid {
    gap: 1rem;
  }

  .card {
    padding: 1.05rem 1rem;
  }

  .split {
    gap: 1.1rem;
    margin: 1.8rem 0 1rem;
    grid-template-columns: 1fr;
  }

  .split table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 0.9rem;
  }

  .split th,
  .split td {
    padding: 0.55rem 0.65rem;
    white-space: nowrap;
  }
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-meta span {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.project-card a:hover .card-cta {
  transform: translateX(4px);
}
/* Very small phones: single column */
@media (max-width: 360px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
.project-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.project-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.card-media {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.card-media-renderer {
  background: linear-gradient(160deg, #121419 0%, #1c1f26 55%, #0c0e12 115%);
  position: relative;
  overflow: hidden;
}
.card-media-renderer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(210deg, rgba(0, 0, 0, 0.35), transparent 50%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.card-body {
  padding: 1rem;
}
.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-family:
    "Gravitas One",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.02em;
}
.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
  font-weight: 400;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* Headings global */
h1,
.hero-title {
  font-family:
    "Gravitas One",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
h2 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
h3 {
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.about-cta {
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2rem 0;
  margin-top: 4rem;
  background: radial-gradient(
      circle at 15% 30%,
      rgba(255, 255, 255, 0.03),
      transparent 35%
    ),
    radial-gradient(circle at 85% 20%, rgba(255, 127, 42, 0.05), transparent 45%);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-brand {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}
.footer-links a:hover {
  color: var(--white);
}

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

@media (max-width: 1000px) {
  .hero-inner {
    display: flex; /* Switch from grid to flex */
    flex-direction: column; /* Stack items vertically */
    gap: 2rem;
    text-align: center; /* Optional: centers text on mobile */
  }

  .hero-content {
    order: 1; /* Explicitly set title area to top */
  }

  .hero-media {
    order: 2; /* Explicitly set canvas area to bottom */
    width: 100%;
    height: 400px; /* Give the canvas a fixed height on mobile */
  }

  .hero-media canvas {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the shader fills the area */
  }

  /* Two columns for projects on small tablets and large phones */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .primary-nav ul {
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.6)
    );
    padding: 1rem;
    display: none;
  }
  header.nav-open .primary-nav ul {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-inner {
    position: relative;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
  }
}

/* Project page tweaks */
.project-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
}
.project-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--white);
}
.hero-sub {
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 70ch;
}
/*.project-aside .meta-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
}*/
.project-aside .meta-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
  background-repeat: no-repeat;
  background-attachment: scroll;
}
.meta-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.prose {
  margin-top: 1.5rem;
  color: var(--muted);
  max-width: 70ch;
}
.prose h3 {
  color: var(--white);
  margin-top: 1.25rem;
}
.prose ol {
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .project-hero {
    grid-template-columns: 1fr;
  }
  .project-aside {
    order: 2;
    margin-top: 1rem;
  }
}

/* small polish */
a {
  transition: color 0.15s ease;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==============================
   Project Page Visual Enhancements
   ============================== */

/* Project hero presence */
.project-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Optional eyebrow label */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* Improve hero subtitle tone */
.hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ==============================
   Prose / Article Readability
   ============================== */

.prose {
  position: relative;
  margin-top: 2rem;
}

/* Decorative divider */
/*.prose::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}*/
.prose::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  background-repeat: no-repeat;
  background-attachment: scroll;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* Paragraph rhythm */
.prose p {
  margin-bottom: 1.1rem;
}

/* Headings spacing */
.prose h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

article.prose > h3:first-of-type {
  margin-top: 0;
}

/* Lists spacing */
.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
}

/* Accent list markers */
.prose ul li::marker,
.prose ol li::marker {
  color: var(--accent);
  font-weight: 700;
}

.prose li {
  padding-left: 0.25rem;
}

/* ==============================
   Code Block Styling
   ============================== */

.prose code {
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.9em;
}

.code-block {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 8, 0.75);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  overflow-x: auto;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.6;
}

.code-block code {
  padding: 0;
  background: transparent;
  font-family: "SFMono-Regular", ui-monospace, "DejaVu Sans Mono",
    "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

/* ==============================
   Meta Card Emphasis
   ============================== */

.meta-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.meta-card h4 {
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-card p {
  font-size: 0.9rem;
  margin: 0.35rem 0;
}

.meta-card strong {
  color: var(--white);
}

/* ==============================
   Update Timeline Section
   ============================== */

.updates {
  margin: 3rem 0 2rem;
  padding: 2.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.updates-header h2 {
  margin: 0.35rem 0 0.25rem;
}

.updates-header p {
  color: var(--muted);
  max-width: 720px;
}

.update-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}

.update-feature h3 {
  margin: 0.25rem 0 0.4rem;
}

.update-feature p {
  margin: 0.35rem 0;
}

.update-meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.update-archive h3 {
  margin-bottom: 0.5rem;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.update-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.18);
}

.update-date {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.update-body a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.update-body a:hover,
.update-body a:focus-visible {
  color: var(--accent);
}

.update-body p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

@media (max-width: 768px) {
  .updates {
    padding: 1.5rem;
  }

  .update-feature {
    grid-template-columns: 1fr;
  }

  .update-row {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   Contact Page Enhancements
   ============================== */

#contact-form {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025),
    rgba(255, 255, 255, 0.015)
  );
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

#contact-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 127, 42, 0.15);
}

#contact-form p {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
