/* ============================================================
   SKUNKWORK — static one-pager  |  style.css
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'OctinStencil';
  src: url('assets/fonts/OctinStencil.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --orange:       #FF3D00;
  --white:        #ffffff;
  --yellow:       #C8FF00;
  --stripe-w:     90px;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}


/* ============================================================
   STRIPE BORDERS  (SVG with viewBox + preserveAspectRatio="none"
   so the pattern stretches freely to fill width × 100vh)
   ============================================================ */
.stripe-panel {
  position: fixed;
  top: 0;
  height: 100vh;
  width: var(--stripe-w);
  z-index: 300;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.stripe-left  { left: 0; }
.stripe-right { right: 0; }

/* ============================================================
   SCENE (full-screen background)
   ============================================================ */
.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url('assets/bg.png') center center / cover no-repeat;
  overflow: hidden;
}

/* Dark-to-black gradient overlay */
.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.00)  0%,
    rgba(0, 0, 0, 0.10) 35%,
    rgba(0, 0, 0, 0.45) 65%,
    rgba(0, 0, 0, 0.78) 100%
  );
  z-index: 1;
}

/* ============================================================
   CONTENT COLUMN  — centered in the lower half of the screen
   ============================================================ */
.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Push the centering axis into the lower half */
  padding-top: 48vh;
  padding-left:  calc(var(--stripe-w) + 40px);
  padding-right: calc(var(--stripe-w) + 40px);
  padding-bottom: 4vh;
  gap: clamp(14px, 2.2vh, 30px);
}


/* ============================================================
   LOGO  — centered horizontally, upper third of the screen
   ============================================================ */
.logo-wrap {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  animation: logoReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.90) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.logo {
  display: block;
  width: clamp(280px, 36vw, 540px);
  height: auto;
  animation: logoPulse 5s ease-in-out 1.4s infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 90, 10, 0.10)); }
  50%       { filter: drop-shadow(0 0 48px rgba(255, 90, 10, 0.50)); }
}

/* ============================================================
   TAGLINE
   ============================================================ */
.tagline {
  font-family: 'OctinStencil', 'Courier New', monospace;
  font-size: clamp(10px, 1.2vw, 15px);
  color: rgba(255, 255, 255, 0.80);
  text-align: center;
  letter-spacing: 0.07em;
  line-height: 1.85;
}

/* ============================================================
   INTRO BLOCK — radio tower icon + headline
   ============================================================ */
.intro-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.8vh, 24px);
}

/* ── Radio tower icon ──────────────────────────────────────── */
.tower-icon {
  flex-shrink: 0;
  width: clamp(52px, 6vw, 80px);
  height: auto;
  /* SVG paths are black — invert to white for dark background */
  filter: invert(1);
}

.contact-headline {
  font-family: 'OctinStencil', 'Courier New', monospace;
  font-size: clamp(15px, 2.3vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.07em;
  line-height: 1.85;
  text-align: center;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.85),
    0 1px  4px rgba(0, 0, 0, 0.70);
}

/* ============================================================
   CONTACT / HOURS TABLE
   ============================================================ */
.contact-block {
  width: 100%;
  max-width: clamp(480px, 62vw, 800px);
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  background: #000;
  border: 1px solid rgba(200, 255, 0, 0.55);
}

.contact-table th {
  font-family: 'OctinStencil', monospace;
  font-size: clamp(10px, 1.15vw, 15px);
  letter-spacing: 0.14em;
  color: #fff;
  padding: 9px 16px;
  text-align: center;
  border: 1px solid rgba(200, 255, 0, 0.45);
}

.contact-table td {
  font-family: 'OctinStencil', monospace;
  font-size: clamp(10px, 1.15vw, 15px);
  letter-spacing: 0.07em;
  color: var(--yellow);
  padding: 7px 16px;
  text-align: center;
  border: 1px solid rgba(200, 255, 0, 0.30);
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease;
}

/* Wipe-in highlight on hover */
.contact-table td::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 61, 0, 0.18), transparent);
  transform: translateX(-110%);
  transition: transform 0.4s ease;
  pointer-events: none;
}

.contact-table td:hover {
  color: #fff;
  border-color: rgba(255, 61, 0, 0.6);
}

.contact-table td:hover::after {
  transform: translateX(110%);
}

.contact-table td.lbl {
  text-align: right;
  font-weight: bold;
}

/* Label cells get an orange tint on hover instead */
.contact-table td.lbl:hover {
  color: var(--orange);
}

/* ── Season sub-headers ─────────────────────────────────────── */
.season-header {
  font-family: 'OctinStencil', monospace;
  font-size: clamp(9px, 1.05vw, 13px);
  letter-spacing: 0.12em;
  padding: 5px 10px;
  text-align: center;
  border: 1px solid rgba(200, 255, 0, 0.30);
}

.season-header.summer {
  color: #FF9500;
  border-bottom-color: rgba(255, 149, 0, 0.50);
}

.season-header.winter {
  color: #7EC8E3;
  border-bottom-color: rgba(126, 200, 227, 0.50);
}

/* ── Two-table wrapper (side-by-side on desktop) ─────────── */
.contact-tables {
  display: flex;
  gap: 2px;
  width: 100%;
}

.contact-tables .contact-table {
  flex: 1;
}

/* ============================================================
   MOBILE  ≤ 640 px
   ============================================================ */
@media (max-width: 640px) {

  :root {
    --stripe-w: 44px;
  }

  .content {
    padding-top: 45vh;
    padding-left:  calc(var(--stripe-w) + 16px);
    padding-right: calc(var(--stripe-w) + 16px);
    padding-bottom: 3vh;
    gap: clamp(12px, 2.5vh, 22px);
  }

  .contact-headline {
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.7;
  }

  /* Logo sits higher on small screens */
  .logo-wrap { top: 6%; }

  /* Tower icon slightly smaller */
  .tower-icon {
    width: clamp(40px, 10vw, 60px);
  }

  /* Stack the two tables vertically */
  .contact-tables {
    flex-direction: column;
    gap: 2px;
  }

  /* Let the block stretch to available width */
  .contact-block {
    max-width: 100%;
  }

  /* Slightly larger font for readability on small screens */
  .contact-table th,
  .contact-table td {
    font-size: clamp(9px, 2.6vw, 13px);
    padding: 7px 10px;
  }
}
