/* =========================================================
   ANCHORED WORD STUDIO
   Main Stylesheet
   ========================================================= */


/* =========================================================
   1. ROOT / THEME VARIABLES
   ========================================================= */

:root {
  --forest: #31473a;
  --forest-deep: #233228;
  --sage: #7f9684;
  --cream: #f7f3ea;
  --warm-white: #fcfaf6;
  --hero-tint: #eae5df;
  --ink: #2c2b29;
  --muted: #6b6a66;
  --gold: #c7b894;
  --line: #e5ddd0;

  --shadow: 0 12px 30px rgba(49, 71, 58, 0.08);

  --font-serif: "Playfair Display", serif;
  --font-sans: "Lato", sans-serif;

  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --radius-button: 6px;

  --container: 1120px;
  --narrow: 760px;
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--warm-white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--forest);
  text-decoration: none;
}

a:hover {
  opacity: 0.92;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

li + li {
  margin-top: 0.5rem;
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--forest-deep);
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.meta,
.eyebrow,
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}


/* =========================================================
   4. LAYOUT / CONTAINERS
   ========================================================= */

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(var(--narrow), calc(100% - 2rem));
  margin-inline: auto;
}

.center {
  text-align: center;
}

.section {
  padding: 5rem 0;
}

.soft-section {
  background: var(--cream);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  background: linear-gradient(180deg, #fbf8f2 0%, #fff 100%);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--forest);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

/* Thank-you page button variant */
.btn.primary {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius-button);
  padding: 14px 28px;
}

.btn.primary:hover {
  background: #1f2a25;
}

.btn.secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
  border-radius: var(--radius-button);
  padding: 14px 28px;
}

.btn.secondary:hover {
  background: var(--forest);
  color: #fff;
}

.cta-buttons {
  margin: 24px 0;
  text-align: center;
}

.small-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--sage);
}


/* =========================================================
   6. NAVIGATION
   ========================================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--forest-deep);
  text-decoration: none;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #d9d1c4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 2px;
}


/* =========================================================
   7. HOMEPAGE HERO
   ========================================================= */

.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(circle at top left, rgba(199, 184, 148, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f7f3ea 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 1rem;
}

.hero-copy .lead {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-card,
.hero-image-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}


/* =========================================================
   8. FULL-WIDTH HERO (THANK YOU / LANDING PAGES)
   ========================================================= */

.hero-full {
  width: 100%;
  padding: 100px 20px;
  background: linear-gradient(
    to bottom,
    var(--hero-tint) 0%,
    var(--hero-tint) 80%,
    var(--warm-white) 100%
  );
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.hero-inner h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.08;
  color: var(--forest);
}

.hero-inner p {
  max-width: 700px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #5c6b63;
}


/* =========================================================
   9. CARDS / FEATURED / ARTICLE GRID
   ========================================================= */

.cards.three-up,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card,
.article-card,
.featured-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card,
.article-card {
  padding: 1.6rem;
}

.featured-band {
  background: linear-gradient(180deg, #f6f0e5 0%, #fcfaf6 100%);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.featured-box {
  padding: 1.5rem;
}

.featured-link {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.featured-link:first-of-type {
  padding-top: 0.25rem;
  border-top: 0;
}

.featured-link strong,
.featured-link span {
  display: block;
}

.featured-link span {
  margin-top: 0.4rem;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
}


/* =========================================================
   10. CTA SECTION
   ========================================================= */

.cta-section {
  text-align: center;
}

.cta-section .narrow {
  max-width: 760px;
}


/* =========================================================
   11. ARTICLE PAGE
   ========================================================= */

.article-page {
  padding: 2.5rem 0 5rem;
}

.article-hero {
  margin-bottom: 2.5rem;
}

.article-hero h1 {
  margin-bottom: 1rem;
}

.article-hero .lead {
  max-width: 720px;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.article-hero-image-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.article-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.article-page .content-flow {
  margin-top: 2rem;
}


/* =========================================================
   12. ARTICLE CONTENT
   ========================================================= */

.content-flow > * + * {
  margin-top: 1.25rem;
}

.content-flow h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.content-flow h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.content-flow ul,
.content-flow ol {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--forest-deep);
}


/* =========================================================
   13. ARTICLE CTA
   ========================================================= */

.article-cta {
  margin-top: 3rem;
  padding: 1.75rem;
  background: linear-gradient(180deg, #fbf8f2 0%, #f7f3ea 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-cta p {
  margin-bottom: 1rem;
  color: var(--ink);
}


/* =========================================================
   14. FOUNDER SECTION
   ========================================================= */

.founder-section {
  padding: 5rem 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.founder-photo img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.founder-content p {
  max-width: 560px;
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.site-footer {
  padding: 4rem 0 1.5rem;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.site-footer h3,
.site-footer h4,
.site-footer a {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}


/* =========================================================
   16. UTILITIES
   ========================================================= */

.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}


/* =========================================================
   17. RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .hero-grid,
  .featured-grid,
  .cards.three-up,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-card img {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .hero-full {
    padding: 72px 24px;
  }

  .hero-inner h1 {
    font-size: 44px;
    line-height: 1.1;
  }

  .hero-inner p {
    max-width: 100%;
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(49, 71, 58, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.2rem 0;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-full {
    padding: 56px 20px;
  }

  .hero-inner h1 {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-inner p {
    font-size: 16px;
    line-height: 1.55;
  }
}

@media (max-width: 420px) {
  .hero-full {
    padding: 48px 18px;
  }

  .hero-inner h1 {
    font-size: 30px;
    line-height: 1.14;
  }

  .hero-inner p {
    font-size: 15px;
    line-height: 1.5;
  }
}

.article-share-card {
  margin: 2rem 0 0;
}

.article-share-card__inner {
  background: #f7f9fc;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.article-share-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6b7a;
}

.article-share-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.article-share-card__text {
  margin: 0;
  color: #52606d;
}

.article-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.share-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
  background: #f8fafc;
}

.share-btn--native {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.share-btn--native:hover {
  background: #1e40af;
  border-color: #1e40af;
}

.article-share-feedback {
  margin: 0.85rem 0 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: #475569;
}

.article-audio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--stand-muted);
}

.powered-by {
  margin-top: 36px;
  font-size: 12px;
   color: rgba(255,255,255,0.6);
  text-align: center;
  letter-spacing: 0.02em;
   margin-bottom: 14px;
}

.powered-by a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.powered-by a:hover {
  text-decoration: underline;
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  background: #f7f8f6;
  border: 1px solid #e3e6e1;
  border-radius: 12px;
  text-align: center;
}

.article-cta h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.article-cta p {
  margin-bottom: 16px;
  color: #5b6470;
  font-size: 14px;
}

.cta-button {
  display: inline-block;
  padding: 12px 20px;
  background: #6F8A7A;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.cta-button:hover {
  background: #5E7567;
}