/* ==========================================================================
   Attic Energy Resources Ltd — Coming Soon
   Brand palette: navy #003B50 · orange #F36B21 · white #FFFFFF · grey #F4F7F8
   ========================================================================== */

:root {
  --navy: #003B50;
  --orange: #F36B21;
  --white: #FFFFFF;
  --grey: #F4F7F8;

  --navy-muted: rgba(0, 59, 80, 0.74);
  --navy-soft: rgba(0, 59, 80, 0.7);
  --navy-line: rgba(0, 59, 80, 0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

h1,
p {
  margin: 0;
}

::selection {
  background-color: rgba(243, 107, 33, 0.18);
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  display: flex;
  justify-content: center;
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.logo {
  width: min(56vw, 360px, 40vh);
  height: auto;
  aspect-ratio: 1675 / 939;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Main content
   -------------------------------------------------------------------------- */

.main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vh, 3.5rem) 0;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* Icon -------------------------------------------------------------------- */

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.6rem;
  border-radius: 12px;
  background-color: var(--grey);
  color: var(--navy-soft);
}

.icon svg {
  width: 21px;
  height: 21px;
}

/* Eyebrow ----------------------------------------------------------------- */

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Headline ---------------------------------------------------------------- */

.headline {
  margin-bottom: 1.35rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 7.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
}

.headline-accent {
  color: var(--orange);
}

/* Supporting copy --------------------------------------------------------- */

.lead {
  max-width: 31rem;
  margin-bottom: 2.25rem;
  color: var(--navy-muted);
  font-size: clamp(0.95rem, 2.4vw, 1.0625rem);
  line-height: 1.75;
}

/* Status pill ------------------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(0, 59, 80, 0.08);
  border-radius: 999px;
  background-color: var(--grey);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--orange);
  animation: pulse 2.6s ease-out infinite;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.copyright {
  max-width: 900px;
  margin-inline: auto;
  padding-top: clamp(1.25rem, 3vh, 1.75rem);
  border-top: 1px solid var(--navy-line);
  color: var(--navy-soft);
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

.fade {
  animation: fade-up 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.fade-1 { animation-delay: 0.08s; }
.fade-2 { animation-delay: 0.16s; }
.fade-3 { animation-delay: 0.24s; }
.fade-4 { animation-delay: 0.34s; }
.fade-5 { animation-delay: 0.44s; }
.fade-6 { animation-delay: 0.58s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 107, 33, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(243, 107, 33, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 107, 33, 0);
  }
}

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

@media (max-width: 600px) {
  .lead {
    margin-bottom: 2rem;
  }
}

/* Short viewports (small phones, landscape devices) */
@media (max-height: 640px) {
  .site-header {
    padding-top: 1.25rem;
  }

  .logo {
    width: clamp(170px, 26vw, 300px);
  }

  .main {
    padding: 1.25rem 0;
  }

  .icon {
    margin-bottom: 1rem;
  }

  .headline {
    margin-bottom: 1rem;
  }

  .lead {
    margin-bottom: 1.5rem;
  }

  .site-footer {
    padding-bottom: 1rem;
  }

  .copyright {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade,
  .status-dot {
    animation: none;
  }
}
