/*
Theme Name: Christopher Gully
Author: Christopher Gully
Description: Minimalist single-frame switchboard theme.
Version: 1.2.0
*/

:root {
  --bg-base: #151210;
  --bg-wash: radial-gradient(
    circle at center,
    rgba(23, 19, 16, 0.82) 0%,
    rgba(23, 19, 16, 0.65) 100%
  );
  --text-primary: #f5f0e6;
  --text-secondary: rgba(245, 240, 230, 0.88);
  --text-muted: rgba(245, 240, 230, 0.8);
  --text-shadow: 0 1px 10px rgba(12, 9, 7, 0.7);

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --circle-size: 124px;
  --circle-bg: rgba(245, 238, 226, 0.08);
  --circle-bg-hover: rgba(245, 238, 226, 0.14);
  --circle-border: rgba(245, 238, 226, 0.28);
  --circle-border-hover: rgba(222, 190, 126, 0.85);
}

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

html,
body {
  min-height: 100dvh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full-screen static B&W backdrop with warm limestone tone */
.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) sepia(16%) contrast(1.04);
}

.site-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-wash);
}

/* Single-frame centered layout */
.switchboard {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* Header / Intro */
.intro {
  max-width: 620px;
  margin-bottom: 3.5rem;
  text-shadow: var(--text-shadow);
}

.intro__headline {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(2.25rem, 4.5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.intro__kicker {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.075rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.005em;
  line-height: 1.55;
}

/* Destination Circles */
.destinations {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.75rem, 5vw, 3.75rem);
  width: 100%;
  max-width: 680px;
}

.destination-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  max-width: 180px;
  text-decoration: none;
  color: inherit;
}

.destination-card:focus-visible {
  outline: none;
}

.destination-card__circle {
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  background-color: var(--circle-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--circle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.1rem;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.destination-card:hover .destination-card__circle,
.destination-card:focus-visible .destination-card__circle {
  transform: translateY(-4px);
  border-color: var(--circle-border-hover);
  background-color: var(--circle-bg-hover);
  box-shadow: 0 12px 28px rgba(12, 9, 7, 0.45);
}

/* Default logo sizing & muted warmth at rest */
.destination-card__circle img {
  width: 56%;
  height: 56%;
  object-fit: contain;
  display: block;
  transition:
    filter 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Full-bleed framing for portrait headshot */
.destination-card__circle--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Full color & subtle zoom on hover/focus */
.destination-card:hover .destination-card__circle img,
.destination-card:focus-visible .destination-card__circle img {
  filter: brightness(1.05) saturate(1.08);
  transform: scale(1.04);
}

.destination-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  text-shadow: var(--text-shadow);
}

.destination-card__desc {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.005em;
  line-height: 1.45;
  text-shadow: var(--text-shadow);
}

/* Mobile single-frame fit */
@media (max-width: 600px) {
  :root {
    --circle-size: 82px;
  }

  .intro {
    margin-bottom: 2.25rem;
  }

  .destinations {
    gap: 0.85rem;
  }

  .destination-card__title {
    font-size: 0.92rem;
  }

  .destination-card__desc {
    font-size: 0.78rem;
  }
}