@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --ink: #26251e;
  --primary: #f54e00;
  --primary-active: #d04200;
  --on-primary: #ffffff;
  --body: #5a5852;
  --body-strong: #26251e;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --surface-card: #ffffff;
  --surface-strong: #e6e5e0;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --success: #1f8a65;
  --error: #cf2d56;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--body);
  line-height: 1.5;
  font-weight: 400;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOP NAV */
.site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; font-weight: 500; color: var(--body); padding: 6px 0; border-bottom: 1px solid var(--hairline-soft); }
.nav-mobile a:last-child { border-bottom: none; }

/* HERO */
.hero {
  padding: 80px 0;
  border-bottom: 1px solid var(--hairline);
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-strong);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-meta {
  font-size: 13px;
  color: var(--muted);
}

/* SECTION */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--hairline); }

.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-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.card:hover { border-color: var(--hairline-strong); }

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface-strong);
}

.card-body { padding: 24px; }

.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-title a { color: inherit; }
.card-title a:hover { color: var(--primary); }

.card-text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-date {
  font-size: 13px;
  color: var(--muted);
}

/* ARTICLE */
.article-header { padding: 80px 0 48px; border-bottom: 1px solid var(--hairline); }

.article-header .hero-label { margin-bottom: 20px; }

.article-header h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.2px;
  color: var(--ink);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 20px;
}

.article-header .article-meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-img-full {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  margin: 48px 0;
  border: 1px solid var(--hairline);
}

.article-content { padding: 0 0 80px; }

.article-body {
  max-width: 720px;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
  line-height: 1.3;
}

.article-body p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 20px;
  letter-spacing: 0.08px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
  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); border-bottom: 1px solid var(--hairline-strong); }
.article-body a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.article-body .highlight-box {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
}

.article-body .highlight-box p { margin-bottom: 0; }

.article-body figure {
  margin: 32px 0;
}

.article-body figure img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--hairline);
}

.article-body figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* RELATED */
.related-section { padding: 48px 0 80px; border-top: 1px solid var(--hairline); }
.related-section .section-label { margin-bottom: 24px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* FEATURE STRIP */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}

.feature-item {
  background: var(--surface-card);
  padding: 32px 28px;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

/* IMAGE BAND */
.image-band {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0;
}

.image-band img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.image-band-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(38,37,30,0.7));
  padding: 48px 32px 28px;
  color: var(--canvas);
}

.image-band-caption h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.image-band-caption p {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 6px;
}

/* STATS / INFO ROW */
.info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.info-item {}
.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.info-value {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  color: var(--ink);
  line-height: 1.3;
}
.info-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* CONTACT FORM */
.form-section { padding: 80px 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-intro h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.form-intro p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: 12px 16px;
  height: 44px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
  outline: none;
}

.form-group textarea {
  height: auto;
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.field-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.field-error.visible { display: block; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  padding: 10px 20px;
  height: 44px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  padding: 10px 20px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: var(--ink); }

.form-success {
  display: none;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--success);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--success);
  margin-top: 16px;
}

.form-success.visible { display: block; }

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal a:hover { color: var(--ink); }

/* BREADCRUMB */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li::after {
  content: '/';
  color: var(--muted-soft);
}

.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a { color: var(--muted); }
.breadcrumb-list a:hover { color: var(--ink); }
.breadcrumb-list li:last-child { color: var(--ink); }

/* PAGE HEADER */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
}

.page-header h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.6;
}

/* CONTENT PAGE */
.content-page { padding: 48px 0 80px; }

.content-page h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 40px 0 14px;
}

.content-page h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}

.content-page p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 18px;
}

.content-page ul, .content-page ol {
  margin: 0 0 18px 20px;
  list-style: disc;
}

.content-page ol { list-style: decimal; }

.content-page li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 6px;
}

.content-updated {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  margin-top: 48px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--canvas);
  padding: 16px 24px;
  z-index: 999;
  display: none;
}

#cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: rgba(247,247,244,0.8);
  flex: 1;
  min-width: 200px;
}

.cookie-text a { color: var(--canvas); border-bottom: 1px solid rgba(247,247,244,0.4); }

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: rgba(247,247,244,0.7);
  border: 1px solid rgba(247,247,244,0.3);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

/* ABOUT PAGE */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
}

.about-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--hairline);
}

/* TWO-COL TEXT */
.text-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--hairline);
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 52px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip .feature-item { border-bottom: 1px solid var(--hairline); }
  .info-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-desc { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .text-two-col { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .article-header h1 { font-size: 32px; }
  .page-header h1 { font-size: 32px; }
  .info-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .image-band img { height: 260px; }
}
