/* -----------------------------------------------------------------------
   Bowl of Data — Newsletter Website
   Palette derived from the logo: warm yellow #F5C518, orange #E8613A,
   dark charcoal header #111827, off-white content bg #FAFAF8
   ----------------------------------------------------------------------- */

/* --- Variables --------------------------------------------------------- */
:root {
  /* Brand colours */
  --yellow:        #F5C518;
  --yellow-light:  #FEF3C7;
  --yellow-dark:   #D97706;
  --orange:        #E8613A;
  --orange-light:  #FEE2D5;

  /* TL;DR / long-resume — amber palette from the publish pipeline */
  --tldr-bg:       #f9f6ee;
  --tldr-border:   #c47f00;
  --tldr-label:    #8a5a00;
  --resume-bg:     #ffffff;
  --resume-border: #e8e0d0;

  /* Neutrals */
  --dark:          #111827;
  --dark-80:       #1F2937;
  --dark-60:       #374151;
  --mid:           #6B7280;
  --light:         #E5E7EB;
  --lighter:       #F3F4F6;
  --bg:            #FAFAF8;
  --white:         #FFFFFF;

  /* Semantic */
  --text:          #111827;
  --text-muted:    #6B7280;
  --accent:        #B45309;
  --accent-hover:  #92400E;
  --border:        #E5E7EB;

  /* Layout */
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     14px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 2px 8px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg:     0 8px 24px rgba(0,0,0,.10), 0 3px 8px rgba(0,0,0,.06);
  --max-reading:   740px;
  --max-index:     960px;

  /* Fonts */
  --font-ui:       'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

/* --- Header ------------------------------------------------------------- */
.site-header {
  background: var(--dark);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.header-brand:hover { text-decoration: none; }

.header-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--dark-80);
  flex-shrink: 0;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.header-site-name {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.header-tagline {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.nav-link:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  text-decoration: none;
}
.nav-link[aria-current="page"] {
  background: rgba(255,255,255,.1);
  color: var(--white);
}

.nav-subscribe {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--yellow);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  text-decoration: none;
  margin-left: 0.5rem;
  white-space: nowrap;
}
.nav-subscribe:hover {
  background: var(--yellow-dark);
  color: var(--white);
  text-decoration: none;
}

/* --- More dropdown (tablet nav) ----------------------------------------- */
.nav-more-group { display: contents; }
.nav-more-btn   { display: none; }
.nav-more-panel { display: contents; }

.nav-more-btn {
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-more-btn:hover,
.nav-more-btn[aria-expanded="true"] {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.nav-more-chevron { transition: transform .2s ease; flex-shrink: 0; }
.nav-more-btn[aria-expanded="true"] .nav-more-chevron { transform: rotate(180deg); }

@media (max-width: 960px) and (min-width: 641px) {
  .nav-more-group {
    display: flex;
    align-items: center;
    position: relative;
  }
  .nav-more-btn { display: flex; }
  .nav-more-panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--dark-80);
    border: 1px solid rgba(245,197,24,.2);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    padding: 0.35rem 0;
    z-index: 200;
  }
  .nav-more-panel.is-open { display: flex; }
  .nav-more-panel .nav-link {
    border-radius: 0;
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    width: 100%;
  }
  .nav-more-panel .nav-link + .nav-link {
    border-top: 1px solid rgba(255,255,255,.06);
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: rgba(255,255,255,.75);
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Main content ------------------------------------------------------- */
.main-content {
  flex: 1;
}

/* --- Section wrapper ---------------------------------------------------- */
.section {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-heading {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* --- Index page --------------------------------------------------------- */
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.week-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  position: relative;
}

.week-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  opacity: 0;
  transition: opacity .18s ease;
}

.week-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--yellow);
  text-decoration: none;
  color: var(--text);
}

.week-card:hover::before {
  opacity: 1;
}

.week-card-label {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.week-card-count {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.week-card-preview {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.week-card-preview li {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 0.75rem;
  position: relative;
}

.week-card-preview li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  font-weight: 700;
}

.empty-state {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-style: italic;
  padding: 3rem 0;
  text-align: center;
}

/* --- Week page ---------------------------------------------------------- */
.week-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(245,197,24,.15);
  padding: 1.25rem 1.5rem;
}

.week-header-inner {
  max-width: var(--max-reading);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.65rem;
  transition: color .15s;
  text-decoration: none;
}
.back-link:hover { color: var(--yellow); text-decoration: none; }

.week-title {
  font-family: var(--font-ui);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.week-title-accent {
  color: var(--yellow);
}

.week-meta {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}

/* --- Article list ------------------------------------------------------- */
.article-section {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- Article card ------------------------------------------------------- */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.article-card-top {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--lighter);
}

.article-number {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 0.6rem;
}

.article-title {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}

.article-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color .15s;
}
.article-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.article-source {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white);
  background: var(--dark-60);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.55rem;
}

/* --- Article body ------------------------------------------------------- */
.article-card-body {
  padding: 1.25rem 1.75rem;
}

.article-topic {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
  padding-left: 0.75rem;
  border-left: 2px solid var(--yellow);
}

/* --- TL;DR box --------------------------------------------------------- */
.tldr-box {
  background: var(--tldr-bg);
  border-left: 3px solid var(--tldr-border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75em 1em;
  margin: 0.9em 0 0.75em;
}

.tldr-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tldr-label);
  margin-bottom: 0.3em;
}

.tldr-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--dark);
  margin: 0;
}

/* --- Long resume ------------------------------------------------------- */
.long-resume {
  border-top: 1px solid var(--resume-border);
  margin-top: 1em;
  padding-top: 0.9em;
}

.long-resume p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--dark-60);
  margin-bottom: 0.75em;
}
.long-resume p:last-child { margin-bottom: 0; }

/* --- Model Releases section -------------------------------------------- */

/* Full-width band — sits between week-header and article-section */
.releases-section { display: block; }

/* Light header — orange top-border serves as the accent transition from the
   dark week-header above; flipping to white breaks the dark mass */
.releases-header {
  background: var(--white);
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--border);
}

.releases-header-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.releases-header-text { flex: 1; min-width: 0; }

.releases-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.releases-sub {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

.releases-badge {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--orange);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
}

/* Off-white body housing the card grid */
.releases-body {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.releases-body-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 1.5rem;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Individual release card */
.release-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}

.release-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Top section: provider tag + date + model name */
.release-card-top {
  padding: 1.1rem 1.35rem 0.85rem;
  border-bottom: 1px solid var(--lighter);
}

.release-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.release-provider-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9A3412;
  background: var(--orange-light);
  border: 1px solid rgba(232, 97, 58, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}

.release-date-pill {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--lighter);
  border-radius: var(--radius-sm);
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.release-name {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.release-name a {
  color: var(--dark);
  text-decoration: none;
  transition: color .15s;
}
.release-name a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* Body: summary + feature list */
.release-card-body {
  padding: 0.9rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.release-summary {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--dark-60);
  margin: 0;
}

.release-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid var(--lighter);
  padding-top: 0.7rem;
}

.release-features li {
  font-family: var(--font-ui);
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 1.2rem;
  position: relative;
}

.release-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  top: 0.05rem;
}

/* Footer: read-more link */
.release-card-footer {
  padding: 0.65rem 1.35rem;
  background: var(--lighter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.release-read-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: color .15s, gap .15s;
}
.release-read-link:hover {
  color: #9A3412;
  gap: 0.4rem;
  text-decoration: none;
}

/* --- News section title ------------------------------------------------- */
.news-section-header {
  padding: 1.5rem 0 0.5rem;
  border-bottom: 2px solid var(--yellow);
  margin-bottom: 1.5rem;
}

.news-section-title {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.news-section-sub {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Week prev/next navigation ----------------------------------------- */
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.week-nav-bottom-bar {
  margin-top: 2rem;
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.week-nav-btn {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.4em 0.9em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.week-nav-btn:hover {
  background: var(--yellow-light);
  border-color: var(--yellow-dark);
  color: var(--accent-hover);
  text-decoration: none;
}

.week-nav-archive {
  color: var(--text-muted);
  border-color: var(--border);
}
.week-nav-archive:hover {
  color: var(--accent-hover);
}

/* --- Latest issue section (index) -------------------------------------- */
.latest-section {
  padding-bottom: 0;
}

.latest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.latest-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.75rem 1rem;
  flex-wrap: wrap;
}

.latest-week-label {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.15rem;
}

.latest-article-count {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.latest-read-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.5em 1.1em;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s;
  flex-shrink: 0;
}
.latest-read-btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  text-decoration: none;
}

.latest-article-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding: 0;
  margin: 0;
}

.latest-article-item {
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--lighter);
}
.latest-article-item:last-child { border-bottom: none; }

.latest-article-title {
  font-family: var(--font-ui);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.latest-article-summary {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.latest-more {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.75rem 1.75rem;
  border-top: 1px solid var(--lighter);
  font-style: italic;
}

/* --- Article footer ----------------------------------------------------- */
.article-card-footer {
  padding: 0.9rem 1.75rem;
  background: var(--lighter);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  border: 1px solid rgba(217,119,6,.15);
}

.read-more {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color .15s, gap .15s;
  text-decoration: none;
}
.read-more:hover {
  color: var(--accent-hover);
  gap: 0.45rem;
  text-decoration: none;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  opacity: 0.85;
  flex-shrink: 0;
}

.footer-text {
  flex: 1;
}

.footer-name {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-sub {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,.4);
  line-height: 1.3;
}


.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-link {
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.footer-social-link:hover {
  color: var(--yellow);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

.footer-credit {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,.3);
}

.footer-credit a {
  color: var(--yellow);
  text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }

/* --- Archive page header ----------------------------------------------- */
.archive-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(245,197,24,.15);
  padding: 2.75rem 1.5rem 2.5rem;
}

.archive-header-inner {
  max-width: var(--max-index);
  margin: 0 auto;
}

.archive-title {
  font-family: var(--font-ui);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.archive-sub {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,.45);
}

/* Latest badge on the first archive card */
.week-card-latest {
  border-color: rgba(245,197,24,.4);
}

.week-card-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-light);
  border: 1px solid rgba(217,119,6,.2);
  border-radius: 99px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.6rem;
}

/* --- Archive header stat ------------------------------------------------ */
.archive-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.archive-header-text { flex: 1; min-width: 0; }

.archive-header-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  padding-bottom: 0.1rem;
}

.archive-stat-num {
  font-family: var(--font-ui);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.04em;
  line-height: 1;
}

.archive-stat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* --- Archive year jump nav --------------------------------------------- */
.archive-year-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.archive-year-nav-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.archive-year-nav-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 0.25rem;
}

.archive-year-pill {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.28rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--bg);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.archive-year-pill:hover {
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border-color: rgba(217,119,6,.35);
  text-decoration: none;
}

/* --- Archive year section ----------------------------------------------- */
.archive-body {
  padding-bottom: 3rem;
}

.archive-year-section {
  margin-bottom: 0;
}

.archive-year-band {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  border-bottom: 1px solid rgba(245,197,24,.1);
}

.archive-year-band-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.archive-year-label {
  font-family: var(--font-ui);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.05em;
  line-height: 1;
}

.archive-year-count {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.35);
}

/* --- Archive month section ---------------------------------------------- */
.archive-month-section {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
}

.archive-month-section + .archive-month-section {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}

.archive-month-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.archive-month-name {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.015em;
}

.archive-month-count {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--lighter);
  border-radius: 99px;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--border);
}

/* --- Landing page ------------------------------------------------------- */

/* Brand image strip — bg matches bowl.png's own background */
.landing-image-strip {
  background: #d9d9d9;
  line-height: 0;   /* collapse whitespace below img */
}

.landing-bowl-img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

/* Copy section */
.landing-copy {
  background: var(--dark);
  padding: 4rem 1.5rem;
  text-align: center;
}

.landing-copy-inner {
  max-width: 680px;
  margin: 0 auto;
}

.landing-headline {
  font-family: var(--font-ui);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.landing-headline span {
  color: var(--yellow);
}

.landing-sub {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.landing-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  border-radius: var(--radius-sm);
  padding: 0.7em 1.6em;
  text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.cta-primary:hover {
  background: var(--yellow-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-secondary {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  padding: 0.7em 1.6em;
  text-decoration: none;
  transition: border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.cta-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Topics section */
.landing-topics {
  background: var(--bg);
  padding: 3rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.landing-topics-inner {
  max-width: var(--max-index);
  margin: 0 auto;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border-top-width: 3px;
  box-shadow: var(--shadow-sm);
}

.topic-ai       { border-top-color: var(--yellow); }
.topic-security { border-top-color: var(--orange); }
.topic-blockchain { border-top-color: var(--yellow-dark); }
.topic-engineering { border-top-color: var(--dark-60); }

.topic-name {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.topic-desc {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Contact page ------------------------------------------------------- */
.contact-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(245,197,24,.15);
  padding: 2.75rem 1.5rem 2.5rem;
}

.contact-header-inner {
  max-width: var(--max-index);
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-ui);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.contact-sub {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,.45);
}

.contact-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-left: 3px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  margin-bottom: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: #7f1d1d;
  line-height: 1.55;
}

.contact-error a {
  color: #b91c1c;
  font-weight: 600;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-60);
  letter-spacing: 0.01em;
}

.form-input {
  font-family: var(--font-ui);
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6em 0.85em;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(217,119,6,.12);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85em center;
  padding-right: 2.25em;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-submit {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75em 1.75em;
  cursor: pointer;
  transition: background .15s, transform .15s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--yellow-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Thank-you state */
.contact-thankyou {
  text-align: center;
  padding: 3rem 1rem;
}

.thankyou-icon {
  font-size: 2.5rem;
  color: var(--yellow-dark);
  margin-bottom: 0.75rem;
}

.thankyou-title {
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.thankyou-sub {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.thankyou-home {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.thankyou-home:hover { color: var(--accent-hover); text-decoration: underline; }

/* Info panel */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.info-title {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.info-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.3rem;
}

.info-dot-yellow     { background: var(--yellow); }
.info-dot-orange     { background: var(--orange); }
.info-dot-amber      { background: var(--yellow-dark); }
.info-dot-dark       { background: var(--dark-60); }

.info-item-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.info-item-text {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.info-email {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.info-email:hover { color: var(--accent-hover); text-decoration: underline; }

/* --- Team page ---------------------------------------------------------- */
.team-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(245,197,24,.15);
  padding: 2.75rem 1.5rem 2.5rem;
}

.team-header-inner {
  max-width: var(--max-index);
  margin: 0 auto;
}

.team-title {
  font-family: var(--font-ui);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.team-sub {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,.45);
  max-width: 560px;
}

.team-body {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.75rem 2rem;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  opacity: 0;
  transition: opacity .2s ease;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(245,197,24,.35);
}

.team-card:hover::before {
  opacity: 1;
}

.team-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  background: var(--lighter);
  transition: border-color .2s ease;
}

.team-card:hover .team-avatar-wrap {
  border-color: var(--yellow);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-avatar-bot {
  object-fit: contain;
  padding: 8px;
  background: var(--dark);
}

.team-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.team-role-badge {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
  border: 1px solid transparent;
}

.team-role-creator {
  color: var(--yellow-dark);
  background: var(--yellow-light);
  border-color: rgba(217,119,6,.2);
}

.team-role-ideas {
  color: #9A3412;
  background: var(--orange-light);
  border-color: rgba(232,97,58,.2);
}

.team-role-agent {
  color: var(--white);
  background: var(--dark-60);
  border-color: transparent;
}

.team-name {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0;
}

.team-desc {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.team-social-icons {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.team-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.team-social-icon:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff;
}

.team-social-icon--github:hover {
  background: #24292f;
  border-color: #24292f;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  .article-card-top,
  .article-card-body,
  .article-card-footer { padding-left: 1.35rem; padding-right: 1.35rem; }

  .week-nav { flex-wrap: wrap; gap: 0.5rem; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }

  /* Archive grouped layout */
  .archive-header-stat { display: none; }
  .archive-year-nav { position: static; }
  .archive-year-label { font-size: 1.75rem; }
  .archive-month-section { padding: 1.5rem 1.1rem 1rem; }
  .archive-month-section + .archive-month-section { padding-top: 1.25rem; }

  /* Hamburger menu */
  .menu-toggle { display: flex; }

  .header-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--dark-80);
    flex-direction: column;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
    z-index: 99;
  }

  .header-nav.is-open { display: flex; }

  .nav-link {
    padding: 0.85rem 1.5rem;
    border-radius: 0;
    font-size: 0.95rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  /* Page titles */
  .header-tagline { display: none; }
  .week-title { font-size: 1.5rem; }
  .archive-title { font-size: 1.5rem; }
  .contact-title { font-size: 1.5rem; }
  .team-title { font-size: 1.5rem; }

  /* Article cards */
  .article-card-top,
  .article-card-body,
  .article-card-footer { padding-left: 1.1rem; padding-right: 1.1rem; }

  .article-card-footer { flex-direction: column; align-items: flex-start; }
  .read-more { margin-left: 0; }

  /* Week nav buttons */
  .week-nav-btn { flex: 1; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; }

  /* Subscribe button in mobile menu */
  .nav-subscribe {
    margin-left: 0;
    border-radius: 0;
    padding: 0.85rem 1.5rem;
    min-height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  /* Landing */
  .landing-headline { font-size: clamp(1.5rem, 5.5vw, 1.75rem); }
  .landing-sub { font-size: 0.95rem; }
  .landing-copy { padding: 2.75rem 1.25rem; }
  .landing-bowl-img { max-height: 220px; }
  .cta-primary, .cta-secondary { width: 100%; text-align: center; }

  /* Latest card */
  .latest-card-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .latest-read-btn { align-self: stretch; text-align: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem 1.1rem; }
  .form-submit { width: 100%; text-align: center; align-self: auto; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-body { padding: 2rem 1.25rem 3rem; }

  /* Model Releases */
  .releases-header-inner { padding: 1rem 1.1rem; }
  .releases-badge { display: none; }
  .releases-body-inner { padding: 1rem; }
  .releases-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .release-card-top,
  .release-card-body,
  .release-card-footer { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* --- About page --------------------------------------------------------- */
.about-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(245,197,24,.15);
  padding: 2.75rem 1.5rem 2.5rem;
}

.about-header-inner {
  max-width: var(--max-index);
  margin: 0 auto;
}

.about-title {
  font-family: var(--font-ui);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.about-sub {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,.45);
  max-width: 580px;
}

.about-body {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section-title {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
}

.about-text {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--dark-60);
  margin-bottom: 0.85rem;
}
.about-text:last-child { margin-bottom: 0; }

.about-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.about-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.about-step-num {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow-dark);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.about-step-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.about-step-text {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.about-note {
  background: var(--yellow-light);
  border: 1px solid rgba(217,119,6,.2);
  border-left: 3px solid var(--yellow-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.75rem;
}

.about-note-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 0.6rem;
}

.about-note-text {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--dark-60);
  margin: 0;
}

.about-note-text + .about-note-text { margin-top: 0.6rem; }

.about-note-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.about-note-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.about-cta-section {
  text-align: center;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.about-cta-title {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-cta-sub {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .about-title  { font-size: 1.5rem; }
  .about-step   { flex-direction: column; gap: 0.6rem; padding: 1.25rem 1.1rem; }
  .about-step-num { font-size: 1.2rem; }
  .about-cta-section { padding: 2rem 1.25rem; }
  .about-cta-title { font-size: 1.25rem; }
}

/* --- Cookie consent banner ---------------------------------------------- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-80);
  border-top: 3px solid var(--yellow);
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}

.cookie-banner.is-visible { display: block; }

.cookie-banner-inner {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
  margin: 0;
}

.cookie-banner-link {
  color: var(--yellow);
  text-decoration: underline;
}
.cookie-banner-link:hover { color: var(--yellow-dark); }

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--yellow);
  color: var(--dark);
}
.cookie-btn-accept:hover {
  background: var(--yellow-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.18);
}
.cookie-btn-decline:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* --- Services page -------------------------------------------------------- */
.nav-link--services {
  color: var(--yellow);
}
.nav-link--services:hover {
  color: var(--white);
  background: rgba(245,197,24,.12);
}
.nav-link--services[aria-current="page"] {
  color: var(--yellow);
  background: rgba(245,197,24,.12);
}

.services-hero {
  background: var(--dark);
  border-bottom: 3px solid var(--yellow);
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
}

.services-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.services-hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--yellow);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.5rem;
}

.services-hero-title {
  font-family: var(--font-ui);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.services-hero-title span {
  color: var(--yellow);
}

.services-hero-sub {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.services-hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.services-body {
  max-width: var(--max-index);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.services-section {
  margin-bottom: 3.5rem;
}

.services-section-title {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
}

.services-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.services-prop {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top-width: 3px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}

.services-prop:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.services-prop--yellow { border-top-color: var(--yellow); }
.services-prop--orange { border-top-color: var(--orange); }
.services-prop--amber  { border-top-color: var(--yellow-dark); }

.services-prop-icon {
  color: var(--yellow-dark);
  margin-bottom: 1rem;
}

.services-prop--orange .services-prop-icon { color: var(--orange); }
.services-prop--amber  .services-prop-icon { color: var(--yellow-dark); }

.services-prop-title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.services-prop-text {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.services-proof {
  background: var(--yellow-light);
  border: 1px solid rgba(217,119,6,.2);
  border-left: 4px solid var(--yellow-dark);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-proof-text { flex: 1; min-width: 0; }

.services-proof-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 0.5rem;
}

.services-proof-body {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--dark-60);
  margin: 0;
}

.services-proof-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .15s;
}
.services-proof-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.services-cta-section {
  text-align: center;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  margin-top: 3.5rem;
}

.services-cta-title {
  font-family: var(--font-ui);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.services-cta-sub {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .services-props { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-hero { padding: 2.75rem 1.25rem 3rem; }
  .services-hero-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .services-hero-sub { font-size: 0.95rem; }
  .services-hero-ctas .cta-primary,
  .services-hero-ctas .cta-secondary { width: 100%; text-align: center; }
  .services-body { padding: 2rem 1.25rem 3rem; }
  .services-proof { flex-direction: column; gap: 1rem; }
  .services-cta-section { padding: 2.25rem 1.25rem; }
  .services-cta-title { font-size: 1.35rem; }
}
