:root {
  color-scheme: light;
  --ink: #1d272b;
  --muted: #66757a;
  --paper: #fffdf8;
  --surface: #f5f7f3;
  --line: #dce5df;
  --teal: #167c73;
  --teal-dark: #0e5d56;
  --coral: #f36f4b;
  --amber: #f2a43a;
  --graphite: #26373d;
  --shadow: 0 20px 44px rgba(29, 39, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(220, 229, 223, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 7px;
  background: var(--graphite);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 1.7rem);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  min-height: calc(78vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 3.5rem);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.95) 0%, rgba(255, 253, 248, 0.76) 42%, rgba(255, 253, 248, 0.1) 100%),
    linear-gradient(0deg, rgba(29, 39, 43, 0.08), rgba(29, 39, 43, 0.08)),
    url("assets/hero-marketing-brief.png");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  width: min(720px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.hero-summary {
  max-width: 590px;
  margin: 1.35rem 0 0;
  color: #34444a;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 253, 248, 0.7);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.section {
  padding: clamp(3.2rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem);
}

.section-heading,
.post-layout,
.split-section,
.briefing-band,
.site-footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.latest-section {
  background: var(--surface);
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
}

.featured-post,
.post-card,
.topic-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.featured-post {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background:
    linear-gradient(135deg, rgba(38, 55, 61, 0.94), rgba(14, 93, 86, 0.83)),
    url("assets/hero-marketing-brief.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.featured-post p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
}

.featured-post .post-meta {
  color: rgba(255, 255, 255, 0.84);
}

.post-grid {
  display: grid;
  gap: 1rem;
}

.post-card {
  min-height: 192px;
  padding: 1.35rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-meta span {
  color: var(--coral);
}

.post-card p,
.section-intro {
  color: var(--muted);
}

.post-card a,
.featured-post a,
.topic-card {
  text-decoration: none;
}

.post-card a:hover,
.featured-post a:hover,
.text-link:hover,
.topic-card:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.text-link {
  width: fit-content;
  margin-top: 0.4rem;
  color: inherit;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.topic-grid {
  display: grid;
  gap: 1rem;
}

.topic-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.8rem 1rem;
  padding: 1.15rem;
}

.topic-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 7px;
  background: #ffe0d4;
  color: #9d3b20;
  font-weight: 900;
}

.topic-card strong {
  font-size: 1.08rem;
}

.topic-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.brief-list {
  display: grid;
  gap: 1rem;
}

.brief-list article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.brief-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.brief-list span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 7px;
  background: var(--graphite);
  color: #fff;
  font-weight: 900;
}

.brief-list h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.brief-list p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.evergreen-section {
  background: var(--surface);
}

.evergreen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.resource-section {
  background: var(--paper);
}

.resource-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  box-shadow: var(--shadow);
}

.resource-band p {
  margin-top: 0;
  color: var(--muted);
}

.resource-band .button {
  margin-top: 0.45rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 1rem auto 0;
}

.resource-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.resource-card span {
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  background: #e6f5f2;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-card h3 {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.resource-card p {
  color: var(--muted);
}

.resource-card .text-link {
  margin-top: auto;
  color: var(--teal-dark);
}

.briefing-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-block: 3px solid var(--graphite);
}

.briefing-band p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  color: var(--muted);
}

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

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.article-main {
  background: var(--paper);
}

.article-hero {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.article-hero-inner,
.article-body {
  width: min(780px, 100%);
  margin-inline: auto;
}

.article-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.article-standfirst {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.article-body {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  font-size: 1.08rem;
}

.article-body h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.article-body p,
.article-body li {
  color: #3e4f54;
}

.article-body ul {
  padding-left: 1.2rem;
}

.source-list a {
  color: var(--teal-dark);
  font-weight: 760;
}

.note-box {
  margin: 2rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 5px solid var(--coral);
  background: #fff4ee;
}

.cta-box {
  margin: 2.25rem 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
}

.cta-box h2 {
  margin-top: 0;
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.78);
}

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.article-footer-nav a {
  color: var(--teal-dark);
  font-weight: 850;
}

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 68vh;
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.78)),
      url("assets/hero-marketing-brief.png");
    background-position: 58% center;
  }

  .post-layout,
  .split-section,
  .briefing-band,
  .evergreen-grid,
  .resource-band,
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .featured-post {
    min-height: 340px;
  }
}
