*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --card: #ffffff;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --ink: #26251e;
  --body: #5a5852;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --primary: #f54e00;
  --primary-active: #d04200;
  --on-primary: #ffffff;
  --success: #1f8a65;
  --error: #cf2d56;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background-color: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  padding: 80px 0 80px;
  background: var(--canvas);
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--hairline);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.4px;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.55;
}

.hero-image-wrap {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-caption {
  padding: 12px 16px;
  background: var(--card);
  font-size: 13px;
  color: var(--muted);
}

/* SECTIONS */
section { padding: 80px 0; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--body);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ARTICLE CARDS */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--hairline-strong); }

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
}

.article-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 16px;
}

.article-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.article-link:hover { border-color: var(--ink); color: var(--ink); }

/* FEATURE STRIP */
.feature-strip {
  background: var(--card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-strip-item {
  padding: 40px 32px;
  border-right: 1px solid var(--hairline);
}

.feature-strip-item:last-child { border-right: none; }

.feature-strip-item h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-strip-item p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
}

/* TOPIC IMAGE SECTION */
.topic-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.topic-split-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.topic-split-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.topic-split-content h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
}

.topic-split-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 16px;
}

.topic-split-content a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 1px;
}

.topic-split-content a:hover { border-color: var(--ink); }

/* CONTACT FORM */
.contact-section {
  background: var(--card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-detail {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-soft); }

.btn-submit {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
  height: 44px;
}

.btn-submit:hover { background: var(--primary-active); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: none;
}

.form-message.success {
  background: #edf7f3;
  color: var(--success);
  border: 1px solid #b6e8d5;
  display: block;
}

.form-message.error {
  background: #fdf0f3;
  color: var(--error);
  border: 1px solid #f4b8c6;
  display: block;
}

/* ARTICLE PAGE */
.article-header { padding: 64px 0 48px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.article-meta .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
}

.article-meta .date {
  font-size: 13px;
  color: var(--muted);
}

.article-header h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.2px;
  color: var(--ink);
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 20px;
}

.article-header .lead {
  font-size: 20px;
  color: var(--body);
  max-width: 680px;
  line-height: 1.55;
}

.article-hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  margin-bottom: 8px;
}

.article-img-caption {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 56px;
}

.article-body {
  max-width: 720px;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}

.article-body p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-box {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}

.info-box p {
  margin-bottom: 0;
  font-size: 15px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  padding: 0 0 80px;
}

.article-sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.sidebar-card ul { list-style: none; padding: 0; }

.sidebar-card li {
  border-bottom: 1px solid var(--hairline-soft);
  padding: 10px 0;
}

.sidebar-card li:last-child { border-bottom: none; }

.sidebar-card a {
  font-size: 14px;
  color: var(--body);
  line-height: 1.4;
}

.sidebar-card a:hover { color: var(--ink); }

/* PAGE */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 64px;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--body);
  max-width: 600px;
}

.page-content {
  max-width: 760px;
  padding-bottom: 80px;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: 40px 0 14px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}

.page-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}

.page-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 6px;
}

.page-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-soft);
}

.footer-brand { max-width: 300px; }

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; padding: 0; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--canvas);
  padding: 20px 24px;
  z-index: 1000;
  display: none;
}

.cookie-banner.visible { display: block; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 14px;
  color: #e6e5e0;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-inner a { color: #e6e5e0; text-decoration: underline; text-underline-offset: 2px; }

.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  height: 40px;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--canvas);
  border: 1px solid rgba(230,229,224,0.4);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  height: 40px;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-split { grid-template-columns: 1fr; gap: 40px; }
  .topic-split-img { order: -1; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px 24px;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav li {
    width: 100%;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .hero h1 { font-size: 36px; letter-spacing: -0.7px; }
  .section-title { font-size: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none; border-bottom: 1px solid var(--hairline); }
  .feature-strip-item:last-child { border-bottom: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .article-header h1 { font-size: 32px; letter-spacing: -0.5px; }
  .page-header h1 { font-size: 32px; }
  .hero-image-wrap img { height: 240px; }
  .article-hero-img { height: 280px; }
  .topic-split-img img { height: 240px; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0; }
  section { padding: 56px 0; }
  .hero h1 { font-size: 30px; }
}
