:root {
  --bg-primary: #FDFBF7;
  --bg-surface: #FFFFFF;
  --bg-alt: #F4EFE6;
  --bg-dark: #1A1A18;
  --bg-dark-accent: #252420;
  
  --text-main: #1C1B18;
  --text-muted: #625E56;
  --text-light: #F7F5F0;
  --text-light-muted: #B8B3A8;

  --accent-ochre: #D95D39;
  --accent-ochre-hover: #BF4C2A;
  --accent-olive: #3B4D31;
  --accent-olive-light: #526845;
  --accent-clay: #E29578;
  --accent-sand: #EAE1D2;
  
  --border-subtle: #E5DED2;
  --border-strong: #1C1B18;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(28, 27, 24, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 27, 24, 0.08);
  --shadow-solid: 4px 4px 0px #1C1B18;
  --max-width: 1240px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Slim Non-Sticky Header */
.site-header {
  position: static;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-icon {
  width: 28px;
  height: 28px;
  background-color: var(--accent-ochre);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-ochre);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-slim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-slim-primary {
  background-color: var(--accent-ochre);
  color: #FFF;
  border-color: var(--accent-ochre);
}

.btn-slim-primary:hover {
  background-color: var(--accent-ochre-hover);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-main);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 0.4rem 0;
}

/* Common Layout Elements */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spacing {
  padding: 4.5rem 0;
}

.section-title-wrap {
  margin-bottom: 2.75rem;
}

.tag-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-olive);
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.tag-badge.ochre {
  color: var(--accent-ochre);
  background-color: rgba(217, 93, 57, 0.1);
  border-color: rgba(217, 93, 57, 0.2);
}

.h1-hero {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.h2-section {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.lead-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-solid-dark {
  background-color: var(--text-main);
  color: #FFF;
  border: 1px solid var(--text-main);
}

.btn-solid-dark:hover {
  background-color: var(--accent-ochre);
  border-color: var(--accent-ochre);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--text-main);
}

.btn-outline-dark:hover {
  background-color: var(--text-main);
  color: #FFF;
}

/* Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.creative-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.creative-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-main);
  box-shadow: var(--shadow-solid);
}

.card-img-wrap {
  width: 100%;
  height: 210px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-alt);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.card-excerpt {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

/* Deep Detail Article Styling */
.article-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-alt);
}

.article-hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
}

.article-body {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 1.075rem;
  line-height: 1.8;
  color: #2F2E2A;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-main);
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-main);
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body ul, 
.article-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.65rem;
}

.callout-box {
  background-color: var(--bg-alt);
  border-left: 4px solid var(--accent-ochre);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.callout-box p {
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
}

.toolkit-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.toolkit-spec-table th,
.toolkit-spec-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.toolkit-spec-table th {
  background-color: var(--bg-alt);
  font-weight: 700;
}

/* Contact Page Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 3.5rem 0 5rem;
}

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-main);
  transition: border-color 0.2s ease, outline 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-ochre);
  background-color: #FFF;
}

.form-feedback {
  display: none;
  padding: 1rem;
  background-color: #EBF5E9;
  border: 1px solid #75B76E;
  color: #24571E;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* Universal Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4.5rem 0 2.5rem;
  border-top: 2px solid var(--accent-ochre);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #FFF;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

.footer-col-title {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-clay);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #FFF;
  transform: translateX(2px);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-light-muted);
}

.footer-legal-bar {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-bar a {
  color: var(--text-light-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-bar a:hover {
  color: #FFF;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 520px;
  background-color: var(--bg-surface);
  border: 2px solid var(--text-main);
  box-shadow: 6px 6px 0px rgba(28, 27, 24, 0.9);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn-primary {
  background-color: var(--text-main);
  color: #FFF;
  border: none;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.cookie-btn-primary:hover {
  background-color: var(--accent-ochre);
}

.cookie-btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.cookie-link {
  font-size: 0.8rem;
  text-decoration: underline;
  color: var(--text-muted);
  margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .grid-cards-2 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}