/* =========================================================
   WorKingS – Coming Soon  |  Clean Light Design
   ========================================================= */

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

:root {
  --yellow:    #F5C800;
  --dark:      #2D2D2D;
  --mid:       #555555;
  --light-txt: #888888;
  --bg:        #f4f4f2;
  --white:     #ffffff;
}

html, body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── Subtle background texture ── */
.bg-texture {
  position: fixed;
  inset: 0;
  z-index: 0;
  /* Very faint repeating grid */
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Page wrapper ── */
.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px;
  gap: 0;
  /* Subtle top/bottom gradient overlay */
  background:
    linear-gradient(to bottom,
      rgba(244,244,242,0.95) 0%,
      rgba(244,244,242,0.7) 40%,
      rgba(244,244,242,0.7) 60%,
      rgba(244,244,242,0.95) 100%);
}

/* ── Logo ── */
.logo-section {
  margin-bottom: 20px;
  animation: fadeDown 0.8s ease both;
}

#site-logo {
  width: 240px;
  height: auto;
  display: block;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Brand / divider line ── */
.brand-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeIn 0.9s ease 0.15s both;
  max-width: 100%;
  overflow: hidden;
}

.brand-line .line {
  flex: 0 0 60px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.brand-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--mid);
  white-space: nowrap;
  text-transform: uppercase;
}

/* ── Message ── */
.message-section {
  text-align: center;
  margin-bottom: 38px;
  animation: fadeIn 0.9s ease 0.25s both;
}

.message-section h1 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.sub {
  font-size: 1rem;
  color: var(--light-txt);
  font-weight: 400;
}

/* ── Contacts ── */
.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeIn 0.9s ease 0.35s both;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--dark);
  font-size: 0.97rem;
  font-weight: 500;
  transition: transform 0.2s ease, color 0.2s ease;
}

a.contact-row:hover {
  transform: translateX(4px);
  color: #c29e00;
}

/* Icon circles */
.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 18px;
  height: 18px;
}

.ic-yellow {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245,200,0,0.35);
}

.ic-dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* ── Footer ── */
.footer {
  margin-top: 56px;
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.04em;
  animation: fadeIn 1s ease 0.5s both;
}

/* ── Utility animation ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
  .page-wrap {
    padding: 48px 20px 36px;
  }

  #site-logo {
    width: 200px;
  }

  .brand-line {
    gap: 12px;
    margin-bottom: 36px;
  }

  .brand-line .line {
    flex-basis: 40px;
  }

  .message-section h1 {
    font-size: 1.3rem;
  }

  .contacts {
    align-items: center;
    gap: 14px;
  }

  .contact-row {
    font-size: 0.92rem;
    width: 290px;
    max-width: calc(100vw - 40px);
  }

  /* Address row — allow text to wrap */
  #cta-address span {
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
  }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  .page-wrap {
    padding: 40px 16px 30px;
  }

  #site-logo {
    width: 170px;
  }

  .brand-line {
    gap: 10px;
    margin-bottom: 30px;
  }

  .brand-line .line {
    flex-basis: 24px;
  }

  .brand-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
  }

  .message-section {
    margin-bottom: 28px;
  }

  .message-section h1 {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .sub {
    font-size: 0.88rem;
  }

  .contacts {
    align-items: center;
    gap: 12px;
  }

  .contact-row {
    font-size: 0.85rem;
    gap: 10px;
    width: 290px;
    max-width: calc(100vw - 40px);
  }

  .icon-circle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .icon-circle svg {
    width: 16px;
    height: 16px;
  }

  /* Address — wrap long text */
  #cta-address span {
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
  }

  .footer {
    margin-top: 36px;
    font-size: 0.7rem;
    text-align: center;
  }
}

/* Very small phones (≤ 360px) */
@media (max-width: 360px) {
  #site-logo {
    width: 150px;
  }

  .message-section h1 {
    font-size: 1rem;
  }

  .contact-row {
    font-size: 0.8rem;
  }

  .brand-text {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
  }
}
