/*
Theme Name: Barrister Under Construction
Theme URI: https://barristeronthego.com
Author: Barrister on the Go
Description: Temporary under-construction theme with Jerry's contact number.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: barrister-under-construction
*/

:root {
  --ink: #101820;
  --charcoal: #1a1f24;
  --brass: #9a7b45;
  --brass-bright: #c4a15d;
  --paper: #f4f6f7;
  --font-display: "Newsreader", "Palatino Linotype", Palatino, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
}

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

html {
  height: 100%;
}

body.botg-coming-soon {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

.botg-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding:
    clamp(1.75rem, 5vw, 4rem)
    clamp(1.25rem, 5vw, 4rem)
    clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  background-color: var(--charcoal);
  background-image: var(--botg-hero);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.botg-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(16, 20, 24, 0.94) 0%,
      rgba(16, 20, 24, 0.88) 28%,
      rgba(16, 20, 24, 0.62) 48%,
      rgba(16, 20, 24, 0.22) 68%,
      rgba(16, 20, 24, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(16, 20, 24, 0.35) 0%,
      transparent 22%,
      transparent 78%,
      rgba(16, 20, 24, 0.45) 100%
    );
}

.botg-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 20, 24, 0.28));
  animation: botg-veil 12s ease-in-out infinite alternate;
}

@keyframes botg-veil {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes botg-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.botg-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  text-align: left;
}

.botg-brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  animation: botg-rise 0.85s ease both;
}

.botg-brand span {
  display: block;
  font-style: italic;
  color: var(--brass-bright);
}

.botg-status {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 246, 247, 0.58);
  animation: botg-rise 0.85s ease 0.08s both;
}

.botg-slogan {
  margin: 0 0 1.15rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 3.15rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: var(--brass-bright);
  animation: botg-rise 0.85s ease 0.14s both;
}

.botg-copy,
.botg-package,
.botg-invite {
  margin: 0 0 0.95rem;
  max-width: 38ch;
  font-size: clamp(0.98rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(244, 246, 247, 0.82);
}

.botg-copy {
  animation: botg-rise 0.85s ease 0.2s both;
}

.botg-package {
  margin-bottom: 1.35rem;
  color: rgba(244, 246, 247, 0.74);
  animation: botg-rise 0.85s ease 0.26s both;
}

.botg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  animation: botg-rise 0.85s ease 0.32s both;
}

.botg-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.botg-actions a:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.botg-call {
  background: var(--brass-bright);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.35);
}

.botg-call:hover {
  transform: translateY(-2px);
  background: #d3b36f;
}

.botg-text {
  border: 1px solid rgba(244, 246, 247, 0.35);
  color: var(--paper);
  background: rgba(16, 20, 24, 0.28);
  backdrop-filter: blur(6px);
}

.botg-text:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 161, 93, 0.7);
  color: var(--brass-bright);
}

.botg-invite {
  margin-bottom: 1.35rem;
  animation: botg-rise 0.85s ease 0.38s both;
}

.botg-service {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 0.88rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(244, 246, 247, 0.72);
  animation: botg-rise 0.85s ease 0.44s both;
}

@media (max-width: 720px) {
  .botg-shell {
    align-items: flex-end;
    background-position: 72% center;
  }

  .botg-shell::before {
    background:
      linear-gradient(
        180deg,
        rgba(16, 20, 24, 0.35) 0%,
        rgba(16, 20, 24, 0.72) 38%,
        rgba(16, 20, 24, 0.94) 62%,
        rgba(16, 20, 24, 0.97) 100%
      );
  }

  .botg-stage {
    width: 100%;
  }

  .botg-slogan {
    max-width: 16ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .botg-shell::after,
  .botg-brand,
  .botg-status,
  .botg-slogan,
  .botg-copy,
  .botg-package,
  .botg-actions,
  .botg-invite,
  .botg-service {
    animation: none !important;
  }
}
