/* Agent F Brand Design Tokens V1.2 */
/* Google Fonts loaded via <link> in HTML   skip @import to avoid duplicate */

/* @font-face for BIGGER defined in global.css */

:root {
  /* Accent Colors   ONE per layout */
  --agf-coral: #fe805c;
  --agf-mint: #daf6d4;
  --agf-baby-blue: #badbee;

  /* Neutral Tones */
  --agf-tan: #9d937c;
  --agf-sand: #ccc5a3;
  --agf-cream: #efecca;
  --agf-off-white: #f9f9f0;

  /* Dark Tones */
  --agf-off-black: #0f0e0b;
  --agf-dark-grey: #171612;
  --agf-dark-brown: #21201c;
  --agf-graphite: #2f2d28;

  /* Semantic */
  --agf-bg: #f9f9f0;
  --agf-text: #0f0e0b;
  --agf-text-secondary: #9d937c;
  --agf-card-dark: #21201c;
  --agf-card-light: #efecca;

  /* Typography */
  --font-headline: "BIGGER", "Anton", "Impact", "Arial Black", sans-serif;
  --font-body: "Inter", "Helvetica Neue", "Arial", sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Layout */
  --max-width: 1200px;
  --container-padding: 24px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Motion */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --easing: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

/* body background/color set in global.css   skip here to avoid conflicts */

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}

/* ── Typography ── */
/* Heading defaults set via page-level CSS to avoid conflicts */

.text-lead {
  font-size: 18px;
  line-height: 1.6;
}
.text-body {
  font-size: 16px;
  line-height: 1.6;
}
.text-small {
  font-size: 14px;
  line-height: 1.5;
}
.text-caption {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--agf-tan);
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-xl) 0;
}

.section-dark {
  background: var(--agf-dark-brown);
  color: var(--agf-off-white);
}

.section-darkest {
  background: var(--agf-dark-grey);
  color: var(--agf-off-white);
}

.section-cream {
  background: var(--agf-cream);
}

.section-sand {
  background: var(--agf-sand);
}

.section-alt {
  background: var(--agf-off-white);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--agf-coral);
  color: var(--agf-off-white);
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-dark {
  background: var(--agf-off-black);
  color: var(--agf-off-white);
}
.btn-dark:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: transparent;
  color: var(--agf-dark-grey);
  border: 1px solid var(--agf-dark-grey);
}
.btn-secondary:hover {
  background: var(--agf-off-white);
}

.btn-ghost {
  background: transparent;
  color: var(--agf-tan);
  padding: 14px 0;
}
.btn-ghost:hover {
  color: var(--agf-dark-grey);
}

.btn-light {
  background: transparent;
  color: var(--agf-cream);
  border: 1px solid var(--agf-cream);
}
.btn-light:hover {
  background: rgba(249, 249, 240, 0.1);
}

/* ── Cards ── */
.card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-light {
  background: var(--agf-cream);
  color: var(--agf-text);
}

.card-sand {
  background: var(--agf-sand);
  color: var(--agf-text);
}

.card-dark {
  background: var(--agf-card-dark);
  color: var(--agf-cream);
}

.card-graphite {
  background: var(--agf-graphite);
  color: var(--agf-cream);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--duration-normal) var(--easing);
}

.nav.scrolled {
  background: var(--agf-off-white);
  box-shadow: 0 1px 0 rgba(157, 147, 125, 0.2);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--agf-text);
  cursor: pointer;
  position: relative;
  transition: color var(--duration-fast);
}

.nav-link:hover {
  color: var(--agf-tan);
}

.nav-link.active {
  font-weight: 500;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--agf-off-white);
  border: 1px solid var(--agf-tan);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-fast) var(--easing);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 24px;
  font-size: 15px;
  color: var(--agf-text);
  transition: background var(--duration-fast);
}

.nav-dropdown-item:hover {
  background: var(--agf-cream);
}

.nav-cta {
  margin-left: 16px;
}

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--agf-text);
  transition: all var(--duration-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--agf-dark-brown);
  z-index: 999;
  padding: 80px 24px 40px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--agf-cream);
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu a {
  display: block;
  color: var(--agf-cream);
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--agf-graphite);
}

.mobile-menu .btn-primary {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* ── Footer   styles set in page-level CSS ── */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  color: var(--agf-cream);
}

.footer-col a {
  display: block;
  color: var(--agf-tan);
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--duration-fast);
}

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

.footer-newsletter {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--agf-graphite);
  border-bottom: 1px solid var(--agf-graphite);
  margin-bottom: var(--space-lg);
}

.footer-newsletter h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.footer-newsletter-form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  max-width: 480px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--agf-graphite);
  border: 1px solid var(--agf-graphite);
  border-radius: var(--radius-md);
  color: var(--agf-cream);
  font-family: var(--font-body);
  font-size: 14px;
}

.footer-newsletter-form input::placeholder {
  color: var(--agf-tan);
}
.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--agf-tan);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-social a {
  color: var(--agf-tan);
  transition: color var(--duration-fast);
}
.footer-social a:hover {
  color: var(--agf-cream);
}

/* .footer-bottom   styles set in page-level CSS */

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--agf-dark-brown);
  border-top: 1px solid var(--agf-graphite);
  z-index: 9999;
  /* Slide-up entrance — starts off-screen */
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--agf-tan);
  margin: 0 0 6px;
}
.cookie-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--agf-sand);
  margin: 0;
}
.cookie-desc a {
  color: var(--agf-cream);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s;
}
.cookie-desc a:hover {
  opacity: 0.75;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  line-height: 1;
}
.cookie-btn--accept {
  background: var(--agf-coral);
  color: var(--agf-off-white);
  border: 1.5px solid var(--agf-coral);
}
.cookie-btn--accept:hover {
  opacity: 0.88;
}
.cookie-btn--essential {
  background: transparent;
  color: var(--agf-sand);
  border: 1.5px solid var(--agf-graphite);
}
.cookie-btn--essential:hover {
  color: var(--agf-cream);
  border-color: rgba(239, 236, 202, 0.35);
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 20px 28px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
}

/* ── Grid Utilities ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-cta.desktop {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .section {
    padding: var(--space-lg) 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Utility Classes ── */
.text-center {
  text-align: center;
}
.text-tan {
  color: var(--agf-tan);
}
.text-cream {
  color: var(--agf-cream);
}
.max-w-600 {
  max-width: 600px;
}
.max-w-720 {
  max-width: 720px;
}
.max-w-800 {
  max-width: 800px;
}
.max-w-900 {
  max-width: 900px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-xs {
  margin-bottom: var(--space-xs);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}
.gap-lg {
  gap: var(--space-lg);
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
