
/* ===== fonts ===== */
@font-face {
  font-family: "Cooper Black";
  src: url("assets/COOPBL.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange-main: #E8621A;
  --orange-light: #F4915A;
  --orange-pale: #FDF0E8;
  --orange-deep: #B8430C;
  --black: #111111;
  --white: #FAFAF7;
  --gray-text: #555555;
  --rule: rgba(17,17,17,0.10);
  --shadow-soft: 0 2px 12px rgba(17,17,17,0.08);
  --shadow-hover: 0 14px 30px rgba(17,17,17,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--white);
  color: var(--black);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(232,98,26,0.04) 0, transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(232,98,26,0.03) 0, transparent 42%);
}

h1, h2, h3, .display {
  font-family: "Cooper Black", "Lilita One", "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .wrap { padding: 0 1.25rem; }
}

/* ===== HEADER (shared) ===== */
.site-header {
  padding: 3.2rem 0 1.4rem;
  text-align: center;
  position: relative;
}
.site-header .photo-frame {
  position: relative;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.site-header .photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 20px rgba(17,17,17,0.18);
  background: var(--orange-light);
}
.site-header .photo-frame .scribble-ring {
  position: absolute;
  inset: -12px;
  pointer-events: none;
}
.site-header .brand {
  font-family: "Cooper Black", sans-serif;
  font-size: clamp(38px, 6.5vw, 64px);
  color: var(--black);
  line-height: 1;
  display: inline-block;
  position: relative;
  margin-top: .2rem;
}
.site-header .brand .ink-orange { color: var(--orange-main); }
.site-header .brand-underline {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: var(--orange-main);
}

.site-header .socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-size: 13px;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-social.alt {
  background: var(--white);
  color: var(--black);
}
.btn-social:hover {
  transform: translateY(-2px);
  background: var(--orange-main);
  color: var(--white);
  border-color: var(--orange-main);
  box-shadow: 0 6px 18px rgba(232,98,26,0.35);
}
.btn-social svg { width: 16px; height: 16px; }

/* main nav (below socials) */
.main-nav {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: nowrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  padding-bottom: .2rem;
  overflow-x: auto;
}
.main-nav a {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--black);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
  transition: color .2s ease;
}
.main-nav a.active { color: var(--orange-main); font-weight: 600; }
.main-nav a:hover { color: var(--orange-main); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: -4px;
  height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M0 3 Q 25 0 50 3 T 100 3' stroke='%23E8621A' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  opacity: 0;
  transition: opacity .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { opacity: 1; }

/* ===== HERO bio (only on inicio) ===== */
.hero-bio-block {
  text-align: center;
  margin-top: 1.4rem;
  padding-bottom: 0;
}
.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-main);
  font-weight: 600;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero-tagline::before, .hero-tagline::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange-main);
}
.hero-bio {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--black);
  line-height: 1.6;
}
.hero-bio strong {
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgba(244,145,90,0.4) 60%);
}
.hero-bio + .hero-bio { margin-top: .9rem; }
.hero-bio.muted { color: var(--gray-text); font-size: 16px; }

/* ===== CHALLENGE BLOCK ===== */
.challenge {
  margin: 3rem 0 2rem;
  padding: 2.4rem 2rem;
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.challenge::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: var(--orange-main);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(2px);
}
.challenge-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange-light);
  font-weight: 600;
  margin-bottom: .6rem;
}
.challenge h2 {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: .8rem;
  font-family: "Cooper Black", sans-serif;
}
.challenge h2 .num { color: var(--orange-main); }
.challenge p {
  color: rgba(250,250,247,0.78);
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.65;
}
.challenge-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--orange-main);
  color: var(--white);
  font-weight: 600;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.challenge-cta:hover {
  transform: translateY(-2px);
  background: var(--orange-light);
}
.challenge-counter {
  text-align: center;
  border-left: 1px solid rgba(250,250,247,0.15);
  padding-left: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px) {
  .challenge { grid-template-columns: 1fr; padding: 2rem 1.4rem; }
  .challenge-counter { border-left: none; border-top: 1px solid rgba(250,250,247,0.15); padding: 1.4rem 0 0; }
}

/* ===== SECTION (article page) ===== */
.section {
  padding: 3.5rem 0 4rem;
  position: relative;
}
.section-head {
  margin-bottom: 2.6rem;
  max-width: 760px;
}
.section h1 {
  font-family: "Cooper Black", sans-serif;
  font-size: clamp(44px, 7vw, 76px);
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1;
  text-wrap: balance;
}
.section h1 .ink-orange { color: var(--orange-main); }
.section-intro {
  color: var(--gray-text);
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
}

/* ===== HORIZONTAL OUTLINE ARTICLE CARDS ===== */
.articles {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* The card uses an SVG 9-slice via border-image so the irregular outline
   stretches to any content height without distortion. */
.acard {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(220px, 1.6fr) minmax(180px, 1.4fr) auto auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.6rem 2rem;
  background: transparent;
  transition: transform .25s ease;
}
.acard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 22px solid transparent;
  border-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M 24 13 Q 62 7 100 12 Q 138 17 176 12 C 190 12 191 24 190 24 Q 194 62 189 100 Q 184 138 190 176 C 190 190 178 191 178 190 Q 140 194 100 189 Q 60 184 22 190 C 10 190 9 178 10 178 Q 6 140 11 100 Q 16 62 10 24 C 9 11 24 13 24 13 Z' stroke='%23111111' stroke-width='3.6' fill='%23FAFAF7' stroke-linejoin='round' stroke-linecap='round'/></svg>") 50 fill / 22px / 0 stretch;
}
.acard:hover { transform: translateY(-3px); }

.acard > * { position: relative; z-index: 1; }

.acard-media {
  width: 200px;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--orange-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(17,17,17,0.08);
}
.acard-media.has-thumb { background: #111; }
.acard-media.has-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity .2s ease;
}
.acard:hover .acard-media.has-thumb img { opacity: 1; }
.acard-media .thumb-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: background .2s ease;
}
.acard:hover .acard-media .thumb-play { background: rgba(0,0,0,0.08); }
.acard-media .thumb-play .play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--orange-main);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
}
.acard-media .thumb-play .play svg { width: 14px; height: 14px; margin-left: 2px; }

.acard-media .ph {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-family: "JetBrains Mono", "Menlo", monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.55);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 12px,
      rgba(17,17,17,0.05) 12px 13px
    );
}
.acard-media .ph .play {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-main);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(17,17,17,0.18);
}
.acard-media .ph .play svg { width: 13px; height: 13px; margin-left: 2px; }

/* placeholder tones */
.tone-1 { background: linear-gradient(135deg, #E8621A 0%, #B8430C 100%); }
.tone-2 { background: linear-gradient(135deg, #F4915A 0%, #E8621A 100%); }
.tone-3 { background: linear-gradient(135deg, #FFB78A 0%, #F4915A 100%); }
.tone-4 { background: linear-gradient(135deg, #E8621A 0%, #F4915A 60%, #FDF0E8 100%); }
.tone-5 { background: linear-gradient(160deg, #2A1810 0%, #B8430C 60%, #E8621A 100%); }
.tone-6 { background: linear-gradient(135deg, #B8430C 0%, #2A1810 100%); }

.acard-title {
  min-width: 0;
}
.acard-title .cat {
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--orange-main);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.acard-title h3 {
  font-family: "Cooper Black", sans-serif;
  font-size: 22px;
  line-height: 1.15;
  color: var(--black);
  text-wrap: pretty;
  position: relative;
  display: inline-block;
  max-width: 100%;
}


.acard-desc {
  font-size: 14.5px;
  color: var(--gray-text);
  line-height: 1.55;
  text-wrap: pretty;
  min-width: 0;
}

.acard-meta {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  color: var(--gray-text);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.acard-meta .sep { margin: 0 .35em; opacity: 0.6; }

.acard-go {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-main);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  flex-shrink: 0;
  background: var(--white);
}
.acard:hover .acard-go {
  background: var(--orange-main);
  color: var(--white);
  border-color: var(--orange-main);
  transform: translateX(3px);
}
.acard-go svg { width: 18px; height: 18px; }

/* PINNED variant — bigger media, more text, orange outline */
.acard.pinned {
  grid-template-columns: 240px minmax(240px, 1.6fr) minmax(200px, 1.5fr) auto auto;
  padding: 2rem 2.2rem;
}
.acard.pinned::before {
  border-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M 24 13 Q 62 7 100 12 Q 138 17 176 12 C 190 12 191 24 190 24 Q 194 62 189 100 Q 184 138 190 176 C 190 190 178 191 178 190 Q 140 194 100 189 Q 60 184 22 190 C 10 190 9 178 10 178 Q 6 140 11 100 Q 16 62 10 24 C 9 11 24 13 24 13 Z' stroke='%23111111' stroke-width='3.6' fill='%23FAFAF7' stroke-linejoin='round' stroke-linecap='round'/></svg>") 50 fill / 22px / 0 stretch;
}
.acard.pinned .acard-media {
  width: 240px;
  height: 170px;
}
.acard.pinned .acard-title h3 { font-size: 26px; }
.acard.pinned .acard-desc { font-size: 15px; }

.pin-badge {
  position: absolute;
  top: -12px;
  left: 36px;
  background: var(--orange-main);
  color: var(--white);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(232,98,26,0.4);
}

@media (max-width: 980px) {
  .acard, .acard.pinned {
    grid-template-columns: 160px 1fr auto;
    grid-template-areas:
      "media title go"
      "media desc  go"
      "media meta  go";
    column-gap: 1.2rem;
    row-gap: .5rem;
    padding: 1.4rem 1.6rem;
  }
  .acard-media { grid-area: media; width: 160px; height: 110px; align-self: start; }
  .acard.pinned .acard-media { width: 160px; height: 140px; }
  .acard-title { grid-area: title; }
  .acard-desc { grid-area: desc; }
  .acard-meta { grid-area: meta; margin-top: .3rem; }
  .acard-go { grid-area: go; align-self: center; }
  .acard-title h3 { font-size: 20px; }
  .acard.pinned .acard-title h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .acard, .acard.pinned {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "media media"
      "title go"
      "desc  desc"
      "meta  meta";
    padding: 1.4rem 1.4rem;
    row-gap: .8rem;
  }
  .acard-media, .acard.pinned .acard-media { width: 100%; height: 180px; }

  .pin-badge { left: 24px; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'><path d='M0 12 Q 25 0 50 12 T 100 12 T 150 12 T 200 12 L 200 0 L 0 0 Z' fill='%23FAFAF7'/></svg>") repeat-x top center / 200px 24px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-top: 1.5rem;
}
.foot-brand {
  font-family: "Cooper Black", sans-serif;
  font-size: 36px;
  color: var(--white);
}
.foot-brand .ink-orange { color: var(--orange-main); }
.foot-tag {
  font-size: 13px;
  color: rgba(250,250,247,0.55);
  margin-top: .3rem;
}
.foot-socials { display: flex; gap: 12px; }
.foot-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,247,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.foot-icon:hover {
  background: var(--orange-main);
  border-color: var(--orange-main);
  transform: translateY(-2px);
}
.foot-icon svg { width: 18px; height: 18px; }
.foot-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,247,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
  color: rgba(250,250,247,0.45);
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-brand { font-size: 30px; }
}

/* floaters */
.floater {
  position: absolute;
  pointer-events: none;
  color: var(--orange-main);
  opacity: 0.45;
}
.floater.f-wave-1 { top: 80px; right: -40px; width: 130px; transform: rotate(-8deg); }
.floater.f-spiral-1 { top: 30px; left: 30px; width: 80px; opacity: 0.4; }
.floater.f-arrow-curve { top: 50%; right: -30px; width: 120px; transform: translateY(-50%) rotate(20deg); opacity: 0.4; }
@media (max-width: 880px) { .floater { display: none; } }


/* acard as link */
a.acard { display: grid; text-decoration: none; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

::selection { background: var(--orange-main); color: var(--white); }


@media (min-width: 768px) {
  .acard::before,
  .acard.pinned::before {
    border-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M 24 13 Q 62 7 100 12 Q 138 17 176 12 C 190 12 191 24 190 24 Q 194 62 189 100 Q 184 138 190 176 C 190 190 178 191 178 190 Q 140 194 100 189 Q 60 184 22 190 C 10 190 9 178 10 178 Q 6 140 11 100 Q 16 62 10 24 C 9 11 24 13 24 13 Z' stroke='%23111111' stroke-width='5.8' fill='%23FAFAF7' stroke-linejoin='round' stroke-linecap='round'/></svg>") 50 fill / 22px / 0 stretch;
  }
}

/* ===== acard AS LINK ===== */
a.acard { display: grid; text-decoration: none; }

/* ===== ARTICLE PAGE ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  margin: 2.2rem 0 2rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(17,17,17,0.2);
  transition: color .2s, border-color .2s, background .2s;
  text-decoration: none;
}
.back-link:hover { color: var(--white); background: var(--orange-main); border-color: var(--orange-main); }
.back-link svg { width: 16px; height: 16px; }
.article-section { padding: 1rem 0 5rem; }
.article-title {
  font-family: "Cooper Black", sans-serif;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.08;
  color: var(--black);
  margin: 0 0 2rem;
  max-width: 760px;
  text-wrap: balance;
}
.article-title .ink-orange { color: var(--orange-main); }
.article-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0 2.5rem;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.article-video iframe { width: 100%; height: 100%; border: none; }
.article-video .video-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(250,250,247,0.5);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-video .video-ph .play-big {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(250,250,247,0.1);
  border: 1.5px solid rgba(250,250,247,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.article-video .video-ph .play-big svg { width: 22px; height: 22px; margin-left: 3px; }
.article-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0 2.5rem;
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-text { max-width: 680px; }
.article-text p { font-size: 17px; line-height: 1.75; color: var(--gray-text); margin: 0 0 1.4rem; }
.article-text p strong { color: var(--black); font-weight: 600; }
.article-text h2 { font-family: "Cooper Black", sans-serif; font-size: clamp(20px, 3vw, 26px); color: var(--black); margin: 2.5rem 0 .9rem; }
.article-text h3 { font-family: "Cooper Black", sans-serif; font-size: 20px; color: var(--black); margin: 2rem 0 .7rem; }
.article-text ul, .article-text ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.article-text li { font-size: 17px; line-height: 1.7; color: var(--gray-text); margin-bottom: .5rem; }
.article-text li strong { color: var(--black); font-weight: 600; }
.article-text blockquote {
  border-left: 3px solid var(--orange-main);
  margin: 1.5rem 0;
  padding: .6rem 0 .6rem 1.2rem;
  color: var(--gray-text);
  font-size: 17px;
  line-height: 1.7;
}

/* ===== GENERATED-PAGE CONTAINERS ===== */

/* All inner wrappers: max-width + responsive padding */
.header-inner,
.section-hero-inner,
.cards-inner,
.footer-inner,
.article-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Generous desktop margins */
@media (min-width: 900px) {
  .header-inner,
  .section-hero-inner,
  .cards-inner,
  .footer-inner,
  .article-inner {
    padding: 0 4.5rem;
  }
}

/* Tighter mobile padding */
@media (max-width: 640px) {
  .header-inner,
  .section-hero-inner,
  .cards-inner,
  .footer-inner,
  .article-inner {
    padding: 0 1.25rem;
  }
}

/* ── Header ── */
header {
  padding: 2rem 0 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0;
}

.header-social {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Brand logo (in generated pages — not inside .site-header) */
.brand {
  font-family: "Cooper Black", "Lilita One", sans-serif;
  font-size: clamp(20px, 2.8vw, 30px);
  color: var(--black);
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
}
.brand .ink-orange { color: var(--orange-main); }
.brand-wave {
  display: block;
  width: 100%;
  margin-top: 3px;
  color: var(--orange-main);
  line-height: 0;
}
.brand-wave svg {
  width: 100%;
  height: 10px;
  display: block;
}

/* ── Section hero (h1 + intro) ── */
.section-hero {
  padding: 3rem 0 2rem;
}

.section-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  margin-bottom: 1rem;
}

/* ── Cards section ── */
.cards-section {
  padding: 0 0 5rem;
}

/* ── Footer inner ── */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
}

.foot-icons {
  display: flex;
  gap: 12px;
}

/* ── Article inner ── */
.article-inner {
  padding-top: 0;
}
