/* ── CLANCY SONGWORKS — SHARED STYLES ── */
:root {
  --teal:        #1D9E75;
  --teal-light:  #5DCAA5;
  --teal-faint:  #E4F5EE;
  --amber:       #E8943A;
  --amber-faint: #FDF3E7;
  --coral:       #e87c5a;
  --dark:        #111111;
  --warm-dark:   #1C1510;
  --warm-mid:    #2E2218;
  --warm:        #FAF7F2;
  --cream:       #F3EDE3;
  --gray1:       #2a2a2a;
  --gray2:       #666;
  --gray3:       #999;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--warm); color: var(--gray1); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 3rem; display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,247,242,0.93); backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(29,158,117,0.12); transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }
.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 1px; }
.nav-logo-word { font-family: var(--serif); font-size: 1.3rem; color: var(--dark); line-height: 1; }
.nav-logo-sub  { font-size: 0.5rem; font-weight: 300; letter-spacing: 0.22em; color: var(--gray3); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.8rem; font-weight: 400; color: var(--gray2);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s; position: relative;
}
.nav-link:hover { color: var(--teal); }
.nav-link.active { color: var(--teal); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--teal); border-radius: 1px;
}
.nav-cta {
  font-size: 0.78rem; font-weight: 500; color: var(--teal);
  border: 1px solid var(--teal); padding: 0.45rem 1.1rem; border-radius: 2px;
  text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--teal); color: #fff; }
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-link { font-size: 0.72rem; }
}
@media (max-width: 560px) {
  .nav-links .nav-link:not(.nav-cta) { display: none; }
}

/* FOOTER */
footer {
  background: var(--warm-dark); padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem; position: relative; z-index: 1;
}
@media (max-width: 700px) { footer { grid-template-columns: 1fr; } }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--teal));
}
.footer-brand .footer-logo-word { font-family: var(--serif); font-size: 1.2rem; color: #fff; display: block; }
.footer-brand .footer-logo-tag  { font-family: var(--serif); font-style: italic; font-size: 0.78rem; color: var(--teal-light); display: block; margin-top: 4px; }
.footer-brand .footer-copy { font-size: 0.68rem; color: #aaa; margin-top: 1rem; line-height: 1.6; font-size: 0.75rem; }
.footer-links h4 { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #999; margin-bottom: 0.8rem; }
.footer-links a { display: block; font-size: 0.82rem; color: #ccc; text-decoration: none; margin-bottom: 0.4rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-contact h4 { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #999; margin-bottom: 0.8rem; }
.footer-contact p { font-size: 0.82rem; color: #ccc; margin-bottom: 0.3rem; }
.footer-contact a { color: var(--teal-light); text-decoration: none; }

/* SHARED COMPONENTS */
section { position: relative; z-index: 1; }
.section-eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.section-eyebrow.teal  { color: var(--teal); }
.section-eyebrow.amber { color: var(--amber); }
.section-headline { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--dark); margin-bottom: 1.4rem; }
.section-headline em { font-style: italic; color: var(--teal); }
.section-headline .amber-em { font-style: italic; color: var(--amber); }
.section-body { font-size: 0.98rem; font-weight: 300; line-height: 1.85; color: var(--gray2); margin-bottom: 1.4rem; }
.btn-primary {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  background: var(--teal); color: #fff; padding: 0.85rem 2rem;
  border-radius: 2px; text-decoration: none; letter-spacing: 0.04em;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: #168c66; transform: translateY(-1px); }
.btn-outline {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 400;
  background: transparent; color: var(--teal); padding: 0.85rem 2rem;
  border-radius: 2px; text-decoration: none; letter-spacing: 0.04em;
  border: 1px solid var(--teal); cursor: pointer; transition: background 0.2s, color 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--teal); color: #fff; }

/* PAGE HERO */
.page-hero {
  min-height: 50vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 9rem 3rem 4rem;
  background: var(--warm-dark); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,158,117,0.08) 0%, transparent 60%);
}
.page-hero-eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1rem; position: relative; }
.page-hero-title { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; color: #fff; line-height: 1.05; position: relative; }
.page-hero-title em { font-style: italic; color: var(--teal-light); }
.page-hero-sub { font-size: 1.05rem; font-weight: 300; color: #ddd; max-width: 540px; margin-top: 1rem; line-height: 1.75; position: relative; }

/* WAVE BG */
.wave-bg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; opacity: 0.03; }
.wave-bg svg { width: 100%; height: 100%; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink  { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes barPulse { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
