/* ============================================================
   UNDER CONSTRUCTION — styles.css
   Modify the :root variables to retheme without touching layout.
   ============================================================ */

/* --- Design tokens ----------------------------------------- */
:root {
  --color-bg:        #0a1628;   /* deep navy */
  --color-surface:   #0f1e38;   /* slightly lighter card surface */
  --color-border:    #1e3254;   /* subtle border */
  --color-text:      #e8eaf0;   /* soft off-white */
  --color-muted:     #9aa3b5;   /* secondary text */
  --color-accent:    #d4a843;   /* muted gold */
  --color-accent-dim:#a07c2e;   /* darker gold for divider */

  --font-serif:      Georgia, "Times New Roman", serif;
  --font-sans:       system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius:          4px;
  --max-width:       520px;
}

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

/* --- Page shell -------------------------------------------- */
html, body {
  height: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  /* center the card both axes */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.25rem;
}

/* --- Card / content block ---------------------------------- */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  width: 100%;
  max-width: var(--max-width);
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
}

/* --- Company name ------------------------------------------ */
.company {
  font-family: var(--font-serif);
  font-size: 0.8125rem;     /* 13 px */
  font-weight: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

/* --- Gold divider line ------------------------------------- */
.divider {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent-dim);
  margin: 0 auto 2rem;
}

/* --- Headline ---------------------------------------------- */
.headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: normal;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

/* --- Body message ------------------------------------------ */
.message {
  font-size: 0.9375rem;   /* 15 px */
  color: var(--color-muted);
  max-width: 380px;
  margin: 0 auto 1.75rem;
}

/* --- Contact email ----------------------------------------- */
.contact {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.contact a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.contact a:hover {
  border-bottom-color: var(--color-accent);
}

/* --- Footer ------------------------------------------------- */
footer {
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  color: #4e5a6e;   /* intentionally dimmer than --color-muted */
  letter-spacing: 0.03em;
}

/* --- Responsive -------------------------------------------- */

/* Very small phones (< 360px) */
@media (max-width: 359px) {
  body {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .company {
    font-size: 0.6875rem;
    margin-bottom: 1.5rem;
  }

  .divider {
    margin-bottom: 1.5rem;
  }
}

/* Small phones (360px – 480px) */
@media (min-width: 360px) and (max-width: 480px) {
  .card {
    padding: 2.25rem 1.5rem 2rem;
  }
}

/* Tablets and medium screens (768px+) */
@media (min-width: 768px) {
  :root {
    --max-width: 560px;
  }

  .card {
    padding: 3.5rem 3rem 3rem;
  }

  .message {
    max-width: 420px;
  }
}

/* Large screens and desktops (1024px+) */
@media (min-width: 1024px) {
  :root {
    --max-width: 600px;
  }

  body {
    font-size: 17px;
  }

  .card {
    padding: 4rem 3.5rem 3.5rem;
  }
}

/* Widescreens (1440px+) */
@media (min-width: 1440px) {
  body {
    font-size: 18px;
  }

  footer {
    font-size: 0.875rem;
  }
}
