/* ===========================
   GARRET STREET - Design System
   =========================== */

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-bg-elevated: #f8f9fa;
  --color-bg-card: rgba(0, 0, 0, 0.02);
  --color-border: rgba(0, 0, 0, 0.08);
  --color-text: #1a1a1a;
  --color-text-muted: #52525b;
  --color-text-subtle: #71717a;
  --color-accent: #ff4d00;
  --color-accent-subtle: rgba(59, 130, 246, 0.15);

  /* Typography */
  --font-family: 'Roboto Serif', Georgia, serif;

  /* Spacing */
  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ===========================
   Reset & Base
   =========================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture overlay */
.grain-overlay {
  display: none;
}

/* ===========================
   Container
   =========================== */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===========================
   Header & Navigation
   =========================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-icon {
  color: var(--color-accent);
  font-size: 1rem;
}

.logo-text {
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-text-muted) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-item {
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
  transition: color 0.2s ease;
}

.muted {
  color: var(--color-text-subtle);
  text-decoration: line-through;
  opacity: 0.5;
}

/* ===========================
   Main Content
   =========================== */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0 var(--space-sm);
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* Announcement Badge */
.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

/* Hero Title */
h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

/* Hero Image */
.hero-image {
    max-width: 160px;
    margin: var(--space-xs) 0;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Announcement Card */
.announcement-card {
  max-width: 560px;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.announcement-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.announcement-text strong {
  color: var(--color-text);
  font-weight: 600;
}

.announcement-subtext {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-sm) auto;
}

.announcement-footer {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.muted-text {
  color: var(--color-text-subtle);
  font-size: 0.875rem;
}

.announcement-footer a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.announcement-footer a:hover {
  opacity: 0.8;
}

/* ===========================
   Legacy Section
   =========================== */

.legacy {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.legacy-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.legacy-number {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.legacy-label {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================
   Footer
   =========================== */

footer {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.footer-brand .logo-icon {
  font-size: 0.75rem;
}

.footer-logo-img {
    height: 18px;
    width: auto;
    opacity: 0.7;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.footer-divider {
  opacity: 0.3;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .legacy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .legacy-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .legacy-item:last-child {
    border-bottom: none;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-info {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-divider {
    display: none;
  }

  .announcement-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }

  .announcement-text {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }
}
