@import url("https://use.typekit.net/ovu1frp.css");

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

body {
  font-family: 'clother', sans-serif;
  background: #fff;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── HEADER ──────────────────────────────────────────────── */

header {
  background: #5170ff;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.header-search {
  position: relative;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.header-search input[type="search"] {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 8px 18px;
  color: #fff;
  font-family: 'clother', sans-serif;
  font-size: 0.85rem;
  outline: none;
  width: 210px;
  -webkit-appearance: none;
}

.header-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.header-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

/* ─── ANNOUNCEMENT BAR ───────────────────────────────────── */

.announcement-bar {
  background: #f5f0e8;
  border-bottom: 1px solid #e0d8c8;
  color: #333;
  font-size: 0.8rem;
  text-align: center;
  padding: 10px 40px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .announcement-bar {
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .announcement-text {
    display: inline-block;
    animation: marquee 20s linear infinite;
  }
}

@keyframes marquee {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ─── MAIN ────────────────────────────────────────────────── */

main {
  flex: 1;
  width: 100%;
}

.articles-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 64px;
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 62vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 64px;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 32px;
  max-width: 760px;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── SERVICES / HOW CAN WE FUCK YOU ─────────────────────── */

.services-section {
  padding: 36px 0 32px;
}

.services-heading {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.service-item:hover {
  background: #5170ff;
  color: #fff;
  border-color: #5170ff;
}

/* ─── ARTICLES SECTION ────────────────────────────────────── */

.articles-section {
  margin-top: 40px;
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.see-more {
  font-family: 'clother', sans-serif;
  font-size: 0.85rem;
  color: #5170ff;
  text-decoration: none;
  border-bottom: 1px solid #5170ff;
  padding-bottom: 1px;
  white-space: nowrap;
}

.see-more:hover {
  opacity: 0.75;
}

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

/* ─── ARTICLE CARD ────────────────────────────────────────── */

.article-card {
  border: 1px solid #000;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.article-card:hover {
  box-shadow: 4px 4px 0 #5170ff;
  transform: translate(-1px, -1px);
}

.article-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #ebebeb;
}

.article-card-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #ddd;
}

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

.article-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.article-card-caption {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
}

/* ─── ARTICLE PAGE ────────────────────────────────────────── */

.article-page {
  max-width: 720px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-category {
  background: #5170ff;
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.72rem;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.article-subtitle {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 32px;
  border-bottom: 1px solid #eee;
  padding-bottom: 32px;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #e8e8e8;
  margin-bottom: 40px;
  border: 1px solid #eee;
}

.article-hero-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  border: 1px solid #eee;
}

.article-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a1a;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 40px 0 16px;
}

.article-body blockquote {
  border-left: 3px solid #5170ff;
  margin: 32px 0;
  padding: 8px 0 8px 20px;
  color: #444;
  font-style: italic;
}

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: #5170ff;
  text-decoration: none;
  border-bottom: 1px solid #5170ff;
  margin-bottom: 40px;
}

.back-link:hover {
  opacity: 0.7;
}

/* ─── ARTICLES INDEX ──────────────────────────────────────── */

.articles-landing-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid #eee;
  margin-bottom: 48px;
}

.articles-landing-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5170ff;
  margin-bottom: 12px;
}

.articles-landing-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.articles-landing-sub {
  font-size: 1rem;
  color: #555;
  max-width: 520px;
  line-height: 1.65;
}

.article-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */

footer {
  background: #5170ff;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 48px;
}

.footer-col-1 .company-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  opacity: 0.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.footer-col ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ─── DISCLAIMER BAR ──────────────────────────────────────── */

.disclaimer-bar {
  background: #5170ff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 40px;
  text-align: center;
}

.disclaimer-bar p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .article-grid,
  .article-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  header {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .articles-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 36px;
  }

  .disclaimer-bar {
    padding: 12px 20px;
  }
}
