/* ════════════════════════════════════════════════════════════
   AWAKEN CHURCH WORSHIP — TEAM SITE
   Mockup stylesheet · v0.1
   ════════════════════════════════════════════════════════════ */

/* ── @font-face declarations ─────────────────────────────────
   Brand fonts (Quarto serif + Circular XX sans) shipped from
   /public/fonts/. Originals live in /assets/fonts/.
   ──────────────────────────────────────────────────────────── */

/* ── CIRCULAR XX (sans · UI + body) ── */
@font-face {
  font-family: "Circular XX";
  src: url("../public/fonts/CircularXXWeb-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Circular XX";
  src: url("../public/fonts/CircularXXWeb-Bold.woff2") format("woff2"),
       url("../public/fonts/CircularXXWeb-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── QUARTO (serif · editorial / display) ── */
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-Light_Web.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-LightItalic_Web.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-Medium_Web.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-MediumItalic_Web.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-Semibold_Web.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-Bold_Web.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quarto";
  src: url("../public/fonts/Quarto-Black_Web.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Colors derived from the W mark gradient */
  --ink-0: #000000;
  --ink-1: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1f1f1f;
  --ink-4: #2c2c2c;

  --paper-0: #ffffff;
  --paper-1: #f4f4f4;
  --paper-2: #b8b8b8;
  --paper-3: #7a7a7a;
  --paper-4: #4a4a4a;

  --brand-pink: #e91e5a;
  --brand-red:  #ef3b3b;
  --brand-orange-1: #f55b27;
  --brand-orange-2: #f78422;
  --brand-orange-3: #ffaa3a;

  --brush-gradient: linear-gradient(
    95deg,
    #e91e5a 0%,
    #ef3b3b 30%,
    #f55b27 55%,
    #f78422 78%,
    #ffaa3a 100%
  );

  /* Typography */
  --font-sans: "Circular XX", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Quarto", "Georgia", "Times New Roman", serif;

  /* Layout */
  --container: 1500px;
  --gutter: 4vw;
  --gutter-mobile: 6vw;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-1);
  color: var(--paper-1);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection {
  background: var(--brand-orange-1);
  color: var(--ink-0);
}

/* ── Reveal-on-scroll utility ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 100%);
  backdrop-filter: blur(0);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(14px);
  padding: 12px var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(247, 132, 34, 0.35));
}
.logo-wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo-light { font-weight: 300; }
.logo-bold  { font-weight: 700; }
.logo-brush {
  margin-left: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15em;
  background: var(--brush-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  transform: translateY(0.05em);
}

.primary-nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.primary-nav a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease-out);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brush-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}
.primary-nav a:hover { opacity: 1; }
.primary-nav a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-photo .photo-placeholder { height: 100%; }
.photo-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(10,10,10,0.85) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.9) 100%);
}
.hero-text {
  position: relative;
  z-index: 2;
  grid-column: 2 / 3;
  padding: 0 var(--gutter) 0 0;
}
.hero-statement {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(38px, 5.2vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero-ellipsis {
  background: var(--brush-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-style: normal;
  margin-left: 0.05em;
}
.hero-scroll-hint {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.scroll-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--paper-2), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: var(--brush-gradient);
  animation: scroll-trail 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-trail {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(220%); }
  100% { transform: translateX(220%); }
}

/* ════════════════════════════════════════════════════════════
   VALUE PILLARS
   ════════════════════════════════════════════════════════════ */
.pillars { position: relative; }

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  align-items: stretch;
}
.pillar-photo { position: relative; overflow: hidden; }
.pillar-photo .photo-placeholder { height: 100%; }
.pillar-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15), rgba(10,10,10,0.45));
}
.pillar-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(40px, 6vw, 110px);
  text-align: center;
  background: var(--ink-1);
  position: relative;
}
.pillar-text p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.55;
  color: var(--paper-1);
  max-width: 28ch;
  margin: 28px auto 0;
}
.pillar-text p em {
  font-style: normal;
  font-weight: 600;
}

/* Brush-style heading word.
   Stand-in: Quarto Black Italic with the brand gradient applied
   to its glyphs. When you have the hand-painted PNG/SVG brush
   artwork, replace these <h2> tags with <img> tags and drop the
   .brush-word styling. */
.brush-word {
  font-family: var(--font-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(52px, 7vw, 110px);
  letter-spacing: 0.005em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  background: var(--brush-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(239, 59, 59, 0.18));
}

/* ════════════════════════════════════════════════════════════
   WELCOME
   ════════════════════════════════════════════════════════════ */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(80px, 10vw, 160px) var(--gutter);
  align-items: center;
  background: var(--ink-1);
}
.welcome-text {
  max-width: 52ch;
  justify-self: end;
}
.welcome-text p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.75;
  color: var(--paper-1);
  margin: 0 0 1.4em;
}
.signature {
  font-style: normal !important;
  margin-top: 2.5em !important;
  text-align: right;
}
.signature-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1em;
}
.signature-title {
  font-family: var(--font-sans);
  font-size: 0.7em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--paper-2);
}

.welcome-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.welcome-photo .photo-placeholder { height: 100%; }
.watermark-w {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 45%;
  height: auto;
  opacity: 0.72;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   SMART TILES
   ════════════════════════════════════════════════════════════ */
.smart-tiles {
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 110px);
  background: var(--ink-1);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.smart-tiles-header {
  text-align: center;
  margin-bottom: 64px;
}
.smart-tiles-header h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 64px);
  margin: 0 0 12px;
}
.smart-tiles-header p {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin: 0;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-2);
  padding: 32px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  border: 1px solid rgba(255,255,255,0.05);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(247,132,34,0.18);
}
.tile--wide { grid-column: span 4; }
.tile:not(.tile--wide) { grid-column: span 2; }

.tile-bg {
  position: absolute;
  inset: 0;
  background: var(--ink-3);
  opacity: 0.6;
  transition: opacity 0.5s var(--ease-out);
}
.tile:hover .tile-bg { opacity: 0.9; }
.tile-content { position: relative; z-index: 2; }

.tile-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.tile h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 32px);
  margin: 0 0 18px;
  color: var(--paper-0);
}
.tile p {
  font-size: 14px;
  color: var(--paper-2);
  line-height: 1.55;
  margin: 0;
}

/* ── LIVE: Setlist tile ── */
.tile--live {
  background:
    radial-gradient(circle at 0% 0%, rgba(247,132,34,0.18), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(233,30,90,0.12), transparent 55%),
    var(--ink-2);
  border: 1px solid rgba(247,132,34,0.25);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange-1);
  box-shadow: 0 0 0 0 rgba(247,132,34,0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(247,132,34,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(247,132,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,132,34,0); }
}
.setlist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.setlist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
}
.setlist li:last-child { border-bottom: 0; }
.setlist .song {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--paper-0);
  font-size: 17px;
}
.setlist .key {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--brand-orange-2);
  padding: 4px 10px;
  border: 1px solid rgba(247,132,34,0.4);
  border-radius: 3px;
}
.tile-footer {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-2);
}

/* ── Calendar tile ── */
.mini-events {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mini-events li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--paper-1);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mini-events li:last-child { border-bottom: 0; }
.mini-events .date {
  display: inline-block;
  min-width: 48px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand-orange-2);
}

/* ── Songs tile ── */
.tile-search {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--paper-3);
}
.search-icon { font-size: 16px; color: var(--brand-orange-2); }

/* ── Join tile ── */
.tile--join {
  background:
    radial-gradient(circle at 100% 0%, rgba(233,30,90,0.18), transparent 50%),
    var(--ink-2);
}
.cta-pill {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 20px;
  background: var(--brush-gradient);
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink-0);
  padding: 70px var(--gutter) 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto 50px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-orange-2);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { padding: 5px 0; }
.footer-col a {
  font-size: 14px;
  color: var(--paper-2);
  transition: color 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--paper-0); }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-mark { height: 40px; width: auto; }
.footer-logo {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--paper-4);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ════════════════════════════════════════════════════════════
   PHOTO PLACEHOLDERS
   These mimic the look of the dark B&W worship photography from
   the live site. Replace each with an actual <img> tag pointing
   to /public/images/<name>.webp when photos are ready.
   ════════════════════════════════════════════════════════════ */
.photo-placeholder {
  position: relative;
  background: var(--ink-3);
  overflow: hidden;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(247,132,34,0.08), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(233,30,90,0.06), transparent 55%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0 2px,
      transparent 2px 6px
    );
  filter: blur(0.5px);
}
.photo-placeholder::after {
  content: "PHOTOGRAPHY";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
}

/* Per-photo flavor (just slightly different gradient origins so
   each section reads as a different shot). */
.photo-hero::before {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(247,132,34,0.10), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(233,30,90,0.06), transparent 60%);
}
.photo-excellence::before {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(245,91,39,0.08), transparent 55%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.photo-authenticity::before {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(233,30,90,0.08), transparent 55%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.photo-courageous::before {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255,170,58,0.08), transparent 55%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.photo-crowd::before {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(247,132,34,0.10), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(233,30,90,0.08), transparent 55%);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--paper-0);
  }

  .hero { grid-template-columns: 1fr; }
  .hero-text { grid-column: 1 / 2; padding: 0 var(--gutter-mobile); }
  .hero-statement { font-size: 44px; }

  .pillar { grid-template-columns: 1fr; min-height: auto; }
  .pillar-photo { min-height: 50vh; }
  .pillar--right > .pillar-text { order: 2; }
  .pillar--right > .pillar-photo { order: 1; }
  .pillar-text { padding: 60px 30px; }

  .welcome { grid-template-columns: 1fr; padding: 80px var(--gutter-mobile); }
  .welcome-text { justify-self: start; }
  .welcome-photo { aspect-ratio: 4 / 3; }

  .tiles-grid { grid-template-columns: 1fr; }
  .tile--wide, .tile:not(.tile--wide) { grid-column: span 1; }

  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { align-items: flex-start; }
}
