/*
Theme Name: Sonome Sounds - Coming Soon
Theme URI: https://sonomesounds.com
Description: A minimal coming soon page for Sonome Sounds with footer links to Terms & Conditions and Privacy Policy.
Version: 1.0
Author: Sonome Sounds
Author URI: https://sonomesounds.com
Text Domain: sonome-coming-soon
*/

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

:root {
  --color-bg: #eedb3a;
  --color-black: #0d0d0d;
  --color-text: #0d0d0d;
  --color-yellow: #eedb3a;
  --color-yellow-dark: #d9c72e;
  --color-yellow-light: #f3e45c;
  --color-text-muted: rgba(13, 13, 13, 0.5);
  --color-link-hover: rgba(13, 13, 13, 0.7);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Serif Display', 'Times New Roman', serif;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 150ms ease;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Animated Grain Overlay ── */
body::before,
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 10000;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
  background-size: 600px 600px;
  animation: grain 8s steps(10) infinite;
}

body::before {
  opacity: 0.14;
  mix-blend-mode: multiply;
}

body::after {
  opacity: 0.13;
  mix-blend-mode: screen;
  animation-duration: 10s;
  animation-direction: reverse;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -2%); }
  20% { transform: translate(-2%, 1%); }
  30% { transform: translate(1%, -3%); }
  40% { transform: translate(-1%, 3%); }
  50% { transform: translate(-2%, 2%); }
  60% { transform: translate(2%, -1%); }
  70% { transform: translate(-1%, 2%); }
  80% { transform: translate(1%, 3%); }
  90% { transform: translate(-2%, 1%); }
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── Coming Soon Hero ── */
.coming-soon-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.coming-soon-hero .site-logo img {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}

.coming-soon-hero .tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* ── Page Content (Terms, Privacy, etc.) ── */
.page-content {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.page-content h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.page-content ul, .page-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-content a {
  color: var(--color-text);
  text-decoration: underline;
}

/* ── Footer — Default (dark bg, yellow text) ── */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-yellow);
  border-top: 1px solid rgba(238, 219, 58, 0.35);
  padding: 4rem 0 2rem;
  flex-shrink: 0;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(238, 219, 58, 0.24);
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-logo__image {
  height: 32px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social__link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 219, 58, 0.4);
  border-radius: var(--radius-md);
  color: rgba(238, 219, 58, 0.86);
  background-color: rgba(238, 219, 58, 0.04);
  transition: all var(--transition-fast);
}

.footer-social__link:hover {
  border-color: var(--color-yellow);
  color: var(--color-black);
  background-color: var(--color-yellow);
}

.footer-social__link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(238, 219, 58, 0.76);
}

.footer-copyright {
  color: inherit;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(238, 219, 58, 0.76);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-yellow-light);
}

/* ── Footer — Inverted (yellow bg, black text) ── */
.site-footer--inverted {
  background-color: var(--color-yellow);
  color: var(--color-black);
  border-top: none;
}

.site-footer--inverted .footer-main {
  border-bottom: 1px solid rgba(13, 13, 13, 0.15);
}

.site-footer--inverted .footer-social__link {
  border: 1px solid rgba(13, 13, 13, 0.3);
  color: rgba(13, 13, 13, 0.7);
  background-color: rgba(13, 13, 13, 0.04);
}

.site-footer--inverted .footer-social__link:hover {
  border-color: var(--color-black);
  color: var(--color-yellow);
  background-color: var(--color-black);
}

.site-footer--inverted .footer-bottom {
  color: rgba(13, 13, 13, 0.5);
}

.site-footer--inverted .footer-links a {
  color: rgba(13, 13, 13, 0.5);
}

.site-footer--inverted .footer-links a:hover {
  color: var(--color-black);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .coming-soon-hero .site-logo img {
    max-width: 260px;
  }

  .coming-soon-hero .tagline {
    font-size: 1.1rem;
  }

  .page-content {
    padding: 3rem 1.5rem;
  }

  .page-content h1 {
    font-size: 1.5rem;
  }
}
