/*
Theme Name: BASDU Coming Soon
Theme URI: https://www.basdu.co.uk
Author: BASDU
Author URI: https://www.basdu.co.uk
Description: Official "coming soon" theme for the British Association of Dog Users (BASDU). A single dark navy and metallic gold landing page announcing the organisation ahead of launch. Upload a logo under Appearance > Customize > Site Identity to replace the placeholder mark.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: basdu
*/

/* -------------------------------------------------
   Tokens
------------------------------------------------- */
:root {
  --navy: #0a121a;
  --navy-deep: #050809;
  --gold: #be9b5a;
  --gold-light: #e4c793;
  --white: #ffffff;
  --mist: #a9b4be;
  --hairline: rgba(190, 155, 90, 0.35);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

/* -------------------------------------------------
   Reset & base
------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* -------------------------------------------------
   Page shell
------------------------------------------------- */
.basdu-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(190, 155, 90, 0.025) 0px,
      rgba(190, 155, 90, 0.025) 1px,
      transparent 1px,
      transparent 10px
    ),
    radial-gradient(ellipse 120% 80% at 50% -10%, #101c28 0%, var(--navy) 55%),
    var(--navy-deep);
}

.basdu-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 640px;
  height: 640px;
  max-width: 140vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(190, 155, 90, 0.16) 0%, rgba(190, 155, 90, 0) 65%);
  pointer-events: none;
}

/* -------------------------------------------------
   Hero
------------------------------------------------- */
.basdu-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34rem;
}

.basdu-crest {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(190, 155, 90, 0.55);
  box-shadow: 0 0 0 6px rgba(190, 155, 90, 0.08), 0 18px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
}

.basdu-crest--logo {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.basdu-crest--logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.basdu-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.basdu-wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  letter-spacing: 0.09em;
  color: var(--gold-light);
  text-shadow: 0 2px 24px rgba(190, 155, 90, 0.25);
}

.basdu-pillars {
  margin: 1.1rem 0 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.03em;
}

.basdu-pillars span {
  color: var(--gold);
  padding: 0 0.5em;
}

.basdu-rule {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin: 2.25rem 0 1.75rem;
  animation: basdu-draw 1.1s 0.2s ease-out forwards;
}

@keyframes basdu-draw {
  to {
    width: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .basdu-rule {
    animation: none;
    width: 64px;
  }
}

.basdu-status {
  margin: 0 0 2rem;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  padding: 0.6em 1.4em;
  border: 1px solid var(--hairline);
}

.basdu-quote {
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 30rem;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--white);
}

.basdu-quote::before {
  content: "\201C";
  color: var(--gold);
  margin-right: 0.2em;
}

.basdu-quote::after {
  content: "\201D";
  color: var(--gold);
  margin-left: 0.2em;
}

.basdu-lede {
  margin: 0 0 2.5rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mist);
}

.basdu-cta {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 0.9em 2.1em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.basdu-cta:hover,
.basdu-cta:focus-visible {
  background: var(--gold);
  color: var(--navy-deep);
}

.basdu-cta:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.basdu-footer {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
  color: var(--mist);
}

.basdu-footer p {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.basdu-footer .basdu-url {
  color: var(--gold);
  margin-bottom: 0;
}

/* -------------------------------------------------
   Small screens
------------------------------------------------- */
@media (max-width: 480px) {
  .basdu-page {
    padding: 4.5rem 1.25rem 2.5rem;
  }

  .basdu-crest {
    width: 104px;
    height: 104px;
  }

  .basdu-status {
    letter-spacing: 0.18em;
    padding: 0.55em 1em;
  }
}
