:root {
  color-scheme: light;
  --navy: #0b2f47;
  --deep-navy: #062436;
  --teal: #086168;
  --soft-teal: #d8f4f1;
  --aqua: #aee3dd;
  --ink: #15313d;
  --muted: #304b57;
  --cream: #fffaf0;
  --paper: #fffdf7;
  --line: rgba(11, 47, 71, 0.16);
  --shadow: 0 18px 48px rgba(6, 36, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 4%, rgba(174, 227, 221, 0.9), transparent 28rem),
    radial-gradient(circle at 90% 14%, rgba(13, 127, 132, 0.16), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #fffaf0 60%, #eef8f6 100%);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(13, 127, 132, 0.64);
  box-shadow: 0 8px 22px rgba(6, 36, 54, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.8rem, 3vw, 2rem);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: stretch;
  padding: clamp(3rem, 7vw, 6.25rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.88) 46%, rgba(255, 253, 247, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 36, 54, 0) 78%, rgba(6, 36, 54, 0.72) 100%),
    url("./assets/seasoned-facebook-cover.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 0.85rem solid var(--deep-navy);
}

.hero-copy {
  width: 100%;
  max-width: 70rem;
  align-self: center;
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 1px solid rgba(11, 47, 71, 0.24);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 1.3rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.8vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  font-weight: 700;
  line-height: 1.06;
}

h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.lead {
  max-width: 43rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.72;
}

.wallpaper-quote {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  color: var(--navy);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-style: italic;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.35;
  font-weight: 750;
}

.quote-attribution {
  display: block;
  margin-top: 0.65rem;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  padding: 0.8rem 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 28px rgba(23, 123, 130, 0.22);
}

.secondary {
  border: 2px solid var(--navy);
  background: #ffffff;
  color: var(--navy);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
}

.pillars article {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.pillars article + article {
  border-left: 1px solid var(--line);
}

.pillars span {
  color: var(--teal);
  font-weight: 900;
}

.pillars h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.pillars p,
.split p,
.merch p,
footer p {
  color: var(--muted);
}

.split,
.merch {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(9, 37, 52, 0.96), rgba(18, 56, 74, 0.92)),
    radial-gradient(circle at top right, rgba(183, 226, 222, 0.4), transparent 18rem);
  color: white;
  box-shadow: var(--shadow);
}

.guide-card h3,
.guide-card p,
.guide-card a {
  color: white;
}

.text-link {
  font-weight: 850;
}

.merch {
  background:
    radial-gradient(circle at 80% 12%, rgba(183, 226, 222, 0.72), transparent 25rem),
    linear-gradient(180deg, rgba(216, 240, 238, 0.48), rgba(255, 253, 248, 0.95));
}

.merch figure {
  margin: 0;
}

.merch img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.merch-collection {
  display: block;
}

.merch-collection .merch-copy {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.merch-collection .collection-note {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.merch-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: white;
}

.merch-card img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #edf3f5;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.merch-card figcaption {
  margin: 0;
  padding: clamp(1.15rem, 3vw, 1.8rem);
  font-size: 1rem;
}

.merch-card .eyebrow {
  color: var(--teal);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.merch-card h3 {
  margin-bottom: 0.75rem;
}

.merch-card figcaption > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }
}

.softer {
  background: var(--paper);
}

.signature-line {
  margin: 0;
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--deep-navy);
}

footer p {
  margin: 0;
  color: var(--cream);
}

footer p:first-child {
  color: var(--cream);
  font-weight: 900;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .merch,
  .pillars {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.88) 55%, rgba(255, 253, 247, 0.5) 100%),
      url("./assets/seasoned-facebook-cover.jpg");
    background-position: center top;
    background-size: cover;
  }

  h1 {
    max-width: 100%;
  }

  .pillars article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions .button {
    width: 100%;
  }
}

.hero-tagline {
  font-size: clamp(0.875rem, 1.6vw, 1.1rem);
  letter-spacing: 0.09em;
  margin-bottom: 1.25rem;
}

.resources {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.resources p:last-child {
  max-width: 45rem;
  color: var(--muted);
  margin-bottom: 0;
}

section[id] {
  scroll-margin-top: 9rem;
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

@media (max-width: 520px) {
  nav {
    justify-content: flex-start;
    column-gap: 1rem;
    row-gap: 0.4rem;
    font-size: 0.875rem;
  }
}
