/* Analytics Flow Journal — Editorial coastal modern */
:root {
  --salt: #f7f4ef;
  --salt-deep: #efe9df;
  --dune: #d9cfc0;
  --dune-soft: #ebe4d8;
  --teal: #5b8a8a;
  --teal-deep: #3f6b6b;
  --navy: #1e3a4c;
  --navy-soft: #2a4d63;
  --coral: #e07a5f;
  --coral-deep: #c96146;
  --ink: #243038;
  --ink-muted: #5a6670;
  --paper: #fffcf8;
  --rule: rgba(30, 58, 76, 0.14);
  --shadow: 0 10px 28px rgba(30, 58, 76, 0.08);
  --radius: 18px;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --max: 72rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(91, 138, 138, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(224, 122, 95, 0.08), transparent 50%),
    linear-gradient(180deg, var(--salt) 0%, var(--dune-soft) 48%, var(--salt) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 var(--space-2); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 46rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--navy {
  background: var(--navy);
  color: var(--salt);
}

.btn--navy:hover {
  background: var(--salt);
  color: var(--navy);
  border-color: var(--navy);
}

.btn--teal {
  background: var(--teal);
  color: var(--salt);
}

.btn--teal:hover {
  background: var(--salt);
  color: var(--teal-deep);
  border-color: var(--teal);
}

.btn--coral {
  background: var(--coral);
  color: #fff;
}

.btn--coral:hover {
  background: var(--navy);
  color: var(--salt);
  border-color: var(--navy);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--salt);
}

.btn--small {
  min-height: 2.4rem;
  padding: 0.45rem 1.15rem;
  font-size: 0.92rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
body:not(.has-hero) .site-header {
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}

.site-header__inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.site-header__brand {
  justify-self: center;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.1;
}

.site-header__brand-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header__brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 0.15rem;
}

.site-header__nav {
  justify-self: start;
}

.site-header__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__list a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-header__list a:hover {
  color: var(--coral-deep);
}

.site-header__cta {
  justify-self: end;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.site-header__toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__toggle {
    display: flex;
    justify-self: start;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 244, 239, 0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .site-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header__list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-header__list a {
    font-size: 1.05rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--salt);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 58, 76, 0.25) 0%, rgba(30, 58, 76, 0.55) 45%, rgba(30, 58, 76, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dune);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--salt);
  margin-bottom: 1rem;
}

.hero__lead {
  font-size: 1.15rem;
  color: rgba(247, 244, 239, 0.92);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
}

.page-hero--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3rem;
}

.page-hero--split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.page-hero__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.page-hero__lead {
  color: var(--ink-muted);
  font-size: 1.12rem;
  max-width: 38rem;
}

@media (max-width: 800px) {
  .page-hero--split {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: var(--space-5) 0;
}

.section--tint {
  background: rgba(255, 252, 248, 0.55);
}

.section--dune {
  background: rgba(217, 207, 192, 0.35);
}

.section__header {
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

.section__header p {
  color: var(--ink-muted);
}

.section__rule {
  width: 4rem;
  height: 2px;
  background: var(--coral);
  margin: 0 0 1.25rem;
  border: 0;
}

/* Cards / paper panels */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.paper-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}

.paper-card:hover {
  transform: translateY(-3px);
}

.paper-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.paper-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paper-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--rule);
}

.paper-card__meta {
  font-size: 0.82rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.paper-card__body h3 {
  margin-bottom: 0.6rem;
}

.paper-card__body h3 a {
  text-decoration: none;
  color: inherit;
}

.paper-card__body p {
  color: var(--ink-muted);
  flex: 1;
  font-size: 0.98rem;
}

.paper-card__link {
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.paper-card__link:hover {
  color: var(--coral-deep);
}

/* Asymmetrical editorial blocks */
.editorial-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.editorial-split--reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.editorial-split--reverse .editorial-split__media {
  order: 2;
}

.editorial-split__media {
  position: relative;
}

.editorial-split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.editorial-split__media::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1rem -1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  z-index: -1;
  background: rgba(91, 138, 138, 0.08);
}

.editorial-split__text .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coral-deep);
  margin-bottom: 0.75rem;
}

@media (max-width: 800px) {
  .editorial-split,
  .editorial-split--reverse {
    grid-template-columns: 1fr;
  }
  .editorial-split--reverse .editorial-split__media {
    order: 0;
  }
}

/* Quotes */
.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.quote-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.quote-card--wide {
  grid-column: 1 / -1;
}

.quote-card blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--navy);
}

.quote-card cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.quote-card cite strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

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

/* Story blocks */
.story-block {
  background: rgba(91, 138, 138, 0.1);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: 2rem;
  margin-top: 1.5rem;
}

.story-block h3 {
  margin-bottom: 0.5rem;
}

.story-meta {
  font-size: 0.88rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Pricing */
.rate-list {
  display: grid;
  gap: 1.25rem;
}

.rate-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
}

.rate-row__price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  text-align: right;
}

.rate-row p {
  color: var(--ink-muted);
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .rate-row {
    grid-template-columns: 1fr;
  }
  .rate-row__price { text-align: left; }
}

.factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.factor {
  padding: 1.25rem;
  border-top: 2px solid var(--teal);
  background: rgba(255, 252, 248, 0.7);
}

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

/* Process steps */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--coral);
  line-height: 1;
}

.step:last-child {
  border-bottom: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form__field {
  display: grid;
  gap: 0.35rem;
}

.form__field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(30, 58, 76, 0.22);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}

.form__field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.form__error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  margin: 0;
}

.form__status {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.form__status.is-success {
  background: rgba(91, 138, 138, 0.18);
  color: var(--teal-deep);
}

.form__status.is-error {
  background: rgba(224, 122, 95, 0.15);
  color: var(--coral-deep);
}

.newsletter-form {
  display: grid;
  gap: 0.75rem;
}

.newsletter-form .form__field input {
  background: rgba(255, 252, 248, 0.9);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-aside {
  background: rgba(30, 58, 76, 0.06);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: 1.75rem;
}

.contact-aside dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: 1rem;
}

.contact-aside dt:first-child {
  margin-top: 0;
}

.contact-aside dd {
  margin: 0.25rem 0 0;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Legal prose */
.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--rule);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(91, 138, 138, 0.12);
  font-weight: 600;
}

/* Blog article */
.article-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
}

.article-hero__meta {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.article-cover {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 21/9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  width: min(100% - 2.5rem, 42rem);
  margin: 0 auto 4rem;
}

.article-body p {
  font-size: 1.08rem;
}

/* Service detail */
.detail-hero {
  padding: calc(var(--header-h) + 3rem) 0 0;
}

.detail-cover {
  width: min(100% - 2.5rem, var(--max));
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21/9;
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.checklist--muted li::before {
  background: var(--dune);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  margin-top: var(--space-5);
}

.site-footer__wash {
  background:
    linear-gradient(180deg, rgba(30, 58, 76, 0.06), rgba(30, 58, 76, 0.12)),
    var(--dune-soft);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--rule);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
}

.site-footer__wordmark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.site-footer__lead {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.site-footer__contact {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.site-footer__contact a {
  text-decoration: none;
  color: var(--navy);
}

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-footer__links li + li {
  margin-top: 0.45rem;
}

.site-footer__nl-text {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.site-footer__bottom {
  margin-top: 2.5rem;
}

.site-footer__rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 1rem;
}

.site-footer__copy {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}

@media (max-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand-col,
  .site-footer__newsletter {
    grid-column: 1 / -1;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 200;
  max-width: 40rem;
  margin-inline: auto;
  left: 1rem;
  right: 1rem;
}

.cookie-banner__inner {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(30, 58, 76, 0.16);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cookie-banner__copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--navy);
  color: var(--salt);
  border-radius: var(--radius);
}

.cta-band h2 {
  color: var(--salt);
  margin: 0 0 0.4rem;
}

.cta-band p {
  margin: 0;
  color: rgba(247, 244, 239, 0.85);
  max-width: 28rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(91, 138, 138, 0.15);
  color: var(--teal-deep);
}

.home-flagship {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.home-flagship__panel {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-flagship__panel .price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 1rem 0;
}

.home-flagship img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .home-flagship {
    grid-template-columns: 1fr;
  }
}

.issue-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.issue-tile {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.issue-tile img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}

.issue-tile__body {
  padding: 1rem;
  border-top: 1px solid var(--rule);
}

.issue-tile__body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.issue-tile__body p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .issue-rail { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .issue-rail { grid-template-columns: 1fr; }
}
