/* Arretada — cropped.digital | tropical-bright youth editorial */

:root {
  --coral: #FF6B6B;
  --mango: #FF9F1C;
  --sun: #FFD166;
  --teal: #2EC4B6;
  --berry: #E71D36;
  --ink: #1A1A2E;
  --ink-soft: #3D3D5C;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 12px;
  --container: 1140px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 8px 32px rgba(26, 26, 46, 0.12);
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--berry);
  text-decoration: none;
  transition: color var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Split Nav Header ——— */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--coral);
}

.split-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-logo span {
  color: var(--coral);
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  font-weight: 600;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-main a {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--coral);
}

.menu-toggle {
  display: none;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Category Tags Row */
.category-tags-row {
  background: linear-gradient(90deg, var(--teal) 0%, var(--mango) 50%, var(--coral) 100%);
  padding: 0;
}

.category-tags-row .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(26, 26, 46, 0.35);
  transition: background var(--transition), transform var(--transition);
}

.tag-pill:hover {
  background: var(--ink);
  color: var(--sun);
  transform: translateY(-1px);
}

.tag-pill--coral { background: var(--berry); }
.tag-pill--teal { background: var(--ink); }
.tag-pill--sun { background: var(--mango); color: var(--ink); }

/* ——— Hero Full-Width + Overlay ——— */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
}

.hero-full img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.82) 0%, rgba(255, 107, 107, 0.45) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 48px 0 64px;
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content .tag-pill {
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 16px;
}

.hero-deck {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-accent {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-accent:hover {
  background: var(--berry);
  color: var(--white);
  transform: translateY(-2px);
}

/* ——— Bento Grid ——— */
.bento-section {
  padding: 56px 0 72px;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  color: var(--ink);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.4s ease;
}

.bento-card:hover img {
  transform: scale(1.04);
}

.bento-card--wide { grid-column: span 8; min-height: 360px; }
.bento-card--tall { grid-column: span 4; grid-row: span 2; min-height: 100%; }
.bento-card--half { grid-column: span 6; }
.bento-card--third { grid-column: span 4; }
.bento-card--feature { grid-column: span 7; min-height: 320px; }
.bento-card--side { grid-column: span 5; }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.88) 0%, rgba(26, 26, 46, 0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.card-overlay h3 a {
  color: var(--white);
}

.card-overlay h3 a:hover {
  color: var(--sun);
}

.card-overlay .meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ——— Horizontal Article Rows ——— */
.feed-section {
  padding: 48px 0 80px;
  background: var(--white);
}

.article-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
  align-items: center;
}

.article-row:first-child {
  padding-top: 0;
}

.article-row:last-child {
  border-bottom: none;
}

.article-row-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.article-row-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-row-body h3 a {
  color: var(--ink);
}

.article-row-body h3 a:hover {
  color: var(--coral);
}

.article-row-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ——— Author Card with Avatar ——— */
.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  margin: 32px 0;
  border-left: 4px solid var(--teal);
}

.author-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card-info strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.author-card-info span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ——— Article Page (Image-Heavy) ——— */
.article-hero {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

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

.article-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent);
}

.article-hero-overlay .container h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  max-width: 800px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--ink);
}

.article-body p {
  margin-bottom: 1.4em;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body .full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 40px;
  margin-bottom: 40px;
}

.article-body .full-bleed img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-family: var(--font-display);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--sun);
}

/* ——— Page Content (Legal, About) ——— */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(160deg, var(--sun) 0%, var(--cream) 60%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: -0.02em;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--ink);
}

.page-content p,
.page-content li {
  margin-bottom: 1em;
  line-height: 1.75;
}

.page-content ul {
  padding-left: 24px;
  margin-bottom: 1.5em;
}

/* ——— Contact Form ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 80px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(26, 26, 46, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 20px;
  background: var(--white);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
}

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

/* ——— Editorial Masthead Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}

.masthead {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 40px;
}

.masthead-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.masthead-logo span {
  color: var(--coral);
}

.masthead-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--teal);
  margin-bottom: 16px;
}

.masthead-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sun);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: var(--teal);
}

/* ——— Cookie Corner Popup ——— */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 48px rgba(26, 26, 46, 0.22);
  border: 2px solid var(--sun);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-popup.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cookie-popup p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn-accent {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.75rem;
}

.cookie-actions .btn-ghost {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.75rem;
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.cookie-actions .btn-ghost:hover {
  background: var(--cream);
}

/* ——— Articles Listing ——— */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0 80px;
}

.article-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.article-card-body {
  padding: 20px;
}

.article-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-card-body h3 a {
  color: var(--ink);
}

.article-card-body h3 a:hover {
  color: var(--coral);
}

/* ——— Mobile ——— */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 3px solid var(--coral);
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .nav-main.open {
    display: flex;
  }

  .split-nav {
    position: relative;
    flex-wrap: wrap;
  }

  .bento-card--wide,
  .bento-card--tall,
  .bento-card--half,
  .bento-card--third,
  .bento-card--feature,
  .bento-card--side {
    grid-column: span 12;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-row-thumb {
    max-height: 220px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-full,
  .hero-full img {
    min-height: 400px;
    height: 400px;
  }
}

@media (max-width: 600px) {
  .cookie-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
