:root {
  /* Colors */
  --color-background: rgba(252, 252, 249, 1);
  --color-surface: rgba(255, 255, 253, 1);
  --color-text: rgba(19, 52, 59, 1);
  --color-text-secondary: rgba(98, 108, 113, 1);
  --color-primary: rgba(33, 128, 141, 1);
  --color-primary-hover: rgba(29, 116, 128, 1);
  --color-primary-active: rgba(26, 104, 115, 1);
  --color-secondary: rgba(94, 82, 64, 0.12);
  --color-secondary-hover: rgba(94, 82, 64, 0.2);
  --color-secondary-active: rgba(94, 82, 64, 0.25);
  --color-border: rgba(94, 82, 64, 0.2);
  --color-btn-primary-text: rgba(252, 252, 249, 1);
  --color-card-border: rgba(94, 82, 64, 0.12);
  --color-card-border-inner: rgba(94, 82, 64, 0.12);
  --color-error: rgba(192, 21, 47, 1);
  --color-success: rgba(33, 128, 141, 1);
  --color-warning: rgba(168, 75, 47, 1);
  --color-info: rgba(98, 108, 113, 1);
  --color-focus-ring: rgba(33, 128, 141, 0.4);
  --color-select-caret: rgba(19, 52, 59, 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Theme transition */
  --theme-transition: background-color var(--duration-normal) var(--ease-standard),
                     color var(--duration-normal) var(--ease-standard),
                     border-color var(--duration-normal) var(--ease-standard);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors - only apply when no manual theme is set */
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) {
    --color-background: rgba(31, 33, 33, 1);
    --color-surface: rgba(38, 40, 40, 1);
    --color-text: rgba(245, 245, 245, 1);
    --color-text-secondary: rgba(167, 169, 169, 0.7);
    --color-primary: rgba(50, 184, 198, 1);
    --color-primary-hover: rgba(45, 166, 178, 1);
    --color-primary-active: rgba(41, 150, 161, 1);
    --color-secondary: rgba(119, 124, 124, 0.15);
    --color-secondary-hover: rgba(119, 124, 124, 0.25);
    --color-secondary-active: rgba(119, 124, 124, 0.3);
    --color-border: rgba(119, 124, 124, 0.3);
    --color-error: rgba(255, 84, 89, 1);
    --color-success: rgba(50, 184, 198, 1);
    --color-warning: rgba(230, 129, 97, 1);
    --color-info: rgba(167, 169, 169, 1);
    --color-focus-ring: rgba(50, 184, 198, 0.4);
    --color-btn-primary-text: rgba(19, 52, 59, 1);
    --color-card-border: rgba(119, 124, 124, 0.2);
    --color-card-border-inner: rgba(119, 124, 124, 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(119, 124, 124, 0.2);
    --color-border-secondary: rgba(119, 124, 124, 0.2);
    --color-select-caret: rgba(245, 245, 245, 0.8);

    /* Brand Colors for Auto Dark Mode */
    --brand-turquoise: #17e1e6;
    --brand-navy: #f5f5f5;
    --brand-white: #1f2121;
    --brand-light-gray: #2a2c2c;

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: 50, 184, 198;
    --color-error-rgb: 255, 84, 89;
    --color-warning-rgb: 230, 129, 97;
    --color-info-rgb: 167, 169, 169;
  }
}

/* Data attribute for manual theme switching */
:root[data-color-scheme="dark"] {
  --color-background: rgba(31, 33, 33, 1);
  --color-surface: rgba(38, 40, 40, 1);
  --color-text: rgba(245, 245, 245, 1);
  --color-text-secondary: rgba(167, 169, 169, 0.7);
  --color-primary: rgba(50, 184, 198, 1);
  --color-primary-hover: rgba(45, 166, 178, 1);
  --color-primary-active: rgba(41, 150, 161, 1);
  --color-secondary: rgba(119, 124, 124, 0.15);
  --color-secondary-hover: rgba(119, 124, 124, 0.25);
  --color-secondary-active: rgba(119, 124, 124, 0.3);
  --color-border: rgba(119, 124, 124, 0.3);
  --color-error: rgba(255, 84, 89, 1);
  --color-success: rgba(50, 184, 198, 1);
  --color-warning: rgba(230, 129, 97, 1);
  --color-info: rgba(167, 169, 169, 1);
  --color-focus-ring: rgba(50, 184, 198, 0.4);
  --color-btn-primary-text: rgba(19, 52, 59, 1);
  --color-card-border: rgba(119, 124, 124, 0.15);
  --color-card-border-inner: rgba(119, 124, 124, 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(119, 124, 124, 0.2);
  --color-select-caret: rgba(245, 245, 245, 0.8);

  /* Brand Colors for Dark Mode */
  --brand-turquoise: #17e1e6;
  --brand-navy: #f5f5f5;
  --brand-white: #1f2121;
  --brand-light-gray: #2a2c2c;

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: 50, 184, 198;
  --color-error-rgb: 255, 84, 89;
  --color-warning-rgb: 230, 129, 97;
  --color-info-rgb: 167, 169, 169;
}

:root[data-color-scheme="light"] {
  --color-background: rgba(252, 252, 249, 1);
  --color-surface: rgba(255, 255, 253, 1);
  --color-text: rgba(19, 52, 59, 1);
  --color-text-secondary: rgba(98, 108, 113, 1);
  --color-primary: rgba(33, 128, 141, 1);
  --color-primary-hover: rgba(29, 116, 128, 1);
  --color-primary-active: rgba(26, 104, 115, 1);
  --color-secondary: rgba(94, 82, 64, 0.12);
  --color-secondary-hover: rgba(94, 82, 64, 0.2);
  --color-secondary-active: rgba(94, 82, 64, 0.25);
  --color-border: rgba(94, 82, 64, 0.2);
  --color-btn-primary-text: rgba(252, 252, 249, 1);
  --color-card-border: rgba(94, 82, 64, 0.12);
  --color-card-border-inner: rgba(94, 82, 64, 0.12);
  --color-error: rgba(192, 21, 47, 1);
  --color-success: rgba(33, 128, 141, 1);
  --color-warning: rgba(168, 75, 47, 1);
  --color-info: rgba(98, 108, 113, 1);
  --color-focus-ring: rgba(33, 128, 141, 0.4);

  /* Brand Colors for Light Mode */
  --brand-turquoise: #17e1e6;
  --brand-navy: #0a2342;
  --brand-white: #ffffff;
  --brand-light-gray: #f8f9fa;

  /* RGB versions for light mode */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  transition: var(--theme-transition);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  transition: var(--theme-transition);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard),
              var(--theme-transition);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

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

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: #17e1e6 !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
}

.btn--secondary:hover {
  background: #15c9ce !important;
  color: white !important;
}

.btn--secondary:active {
  background: #13b3b8 !important;
  color: white !important;
}

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

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    var(--theme-transition);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret - only apply when no manual theme is set */
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
:root[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

:root[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard),
              var(--theme-transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
:root[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* Import Google Fonts for bold, block-style typography */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* Override design system colors with brand colors */
:root {
  /* Brand Colors */
  --brand-turquoise: #17e1e6;
  --brand-navy: #0a2342;
  --brand-white: #ffffff;
  --brand-light-gray: #f8f9fa;
  
  /* Override design system colors */
  --color-primary: var(--brand-turquoise);
  --color-primary-hover: #15c9ce;
  --color-primary-active: #13b1b6;
  --color-text: var(--brand-navy);
  --color-background: var(--brand-white);
  --color-surface: var(--brand-white);
  
  /* Typography */
  --font-family-heading: 'Oswald', 'Impact', sans-serif;
  --font-family-body: 'Inter', var(--font-family-base);
}

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

body {
  font-family: var(--font-family-body);
  line-height: 1.6;
  color: var(--brand-navy);
  background-color: var(--brand-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__title {
  font-size: 2.5rem;
  color: var(--brand-navy);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--brand-turquoise);
}

/* Header */
.header {
  background: var(--brand-navy);
  color: var(--brand-white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo__text {
  font-family: var(--font-family-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-turquoise);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo__tagline {
  font-size: 0.9rem;
  color: var(--brand-white);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--brand-turquoise);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-turquoise);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: var(--space-8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    transition: all var(--duration-normal) var(--ease-standard);
    margin-left: var(--space-16);
}

.theme-toggle:hover {
    border-color: var(--color-primary);
    background: var(--color-secondary);
}

.theme-toggle:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.theme-toggle__icon {
    position: absolute;
    font-size: 16px;
    transition: all var(--duration-normal) var(--ease-standard);
    transform-origin: center;
}

/* Light mode - show sun, hide moon */
.theme-toggle[data-theme="light"] .theme-toggle__icon--sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle[data-theme="light"] .theme-toggle__icon--moon {
    opacity: 0;
    transform: rotate(180deg) scale(0.8);
}

/* Dark mode - show moon, hide sun */
.theme-toggle[data-theme="dark"] .theme-toggle__icon--sun {
    opacity: 0;
    transform: rotate(-180deg) scale(0.8);
}

.theme-toggle[data-theme="dark"] .theme-toggle__icon--moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-left: var(--space-12);
    }
    
    .theme-toggle__icon {
        font-size: 14px;
    }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--brand-turquoise) 0%, #15c9ce 100%);
  color: var(--brand-white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero__subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__geometric {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.geometric-box {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  animation: float 6s ease-in-out infinite;
}

.geometric-box--large {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.geometric-box--medium {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 15%;
  animation-delay: 2s;
}

.geometric-box--small {
  width: 80px;
  height: 80px;
  top: 30%;
  left: 70%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Button Overrides for Better Contrast */
.hero .btn--primary {
  background: var(--brand-white);
  color: var(--brand-turquoise);
  border: 2px solid var(--brand-white);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn--primary:hover {
  background: var(--brand-turquoise);
  color: var(--brand-white);
  border-color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero .btn--secondary {
  background: var(--brand-white) !important;
  color: var(--brand-turquoise) !important;
  border: 2px solid var(--brand-white) !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn--secondary:hover {
  background: var(--brand-turquoise) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-family-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 3rem;
}

.btn--primary {
  background: var(--brand-turquoise);
  color: var(--brand-white);
  border: 2px solid var(--brand-turquoise);
}

.btn--primary:hover {
  background: var(--brand-white);
  color: var(--brand-turquoise);
}

.btn--secondary {
  background: transparent;
  color: var(--brand-white);
  border: 2px solid var(--brand-white);
}

.btn--secondary:hover {
  background: var(--brand-white);
  color: var(--brand-turquoise);
}

.btn--full-width {
  width: 100%;
}

/* Featured Finds Section */
.finds {
  padding: 80px 0;
  background: var(--brand-white);
}

.finds__subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--brand-navy);
}

.finds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  min-height: 200px; /* Ensure grid has height */
}

.find-item {
  background: var(--brand-white);
  padding: 0;
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1 !important; /* Ensure dynamically added items are visible */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
}

.find-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.find-item__box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--brand-turquoise);
  margin: 0 0 1.5rem 0;
  border: 3px solid var(--brand-navy);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.find-item__content {
  padding: 1.5rem;
}

.find-item:hover .find-item__box {
  border-color: var(--brand-turquoise);
  transform: scale(1.02);
}

.find-item__title {
  font-size: 1.1rem;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  height: 2.6rem; /* Consistent height for alignment */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.find-item__description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  height: 3.4rem; /* Consistent height for alignment */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.find-item__price {
  font-size: 1.3rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.find-item__status {
  font-size: 0.8rem;
  color: var(--brand-turquoise);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.find-item__status--sold {
  color: #888;
}

.find-item__status--available {
  color: var(--brand-turquoise);
}

.find-item__link {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--brand-turquoise);
  color: var(--brand-white);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-align: center;
}

.find-item__link:hover {
  background-color: var(--brand-navy);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.finds__cta {
  text-align: center;
  margin-top: 3rem;
}

/* The Hunt Section */
.hunt {
  padding: 80px 0;
  background: var(--brand-light-gray);
}

.hunt__subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--brand-navy);
}

.hunt__stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.story-card {
  background: var(--brand-white);
  padding: 2rem;
  border-top: 4px solid var(--brand-turquoise);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.story-card__title {
  font-size: 1.3rem;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.story-card__date {
  font-size: 0.85rem;
  color: var(--brand-turquoise);
  font-weight: 600;
  text-transform: uppercase;
}

.story-card__excerpt {
  color: var(--brand-navy);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.story-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--brand-turquoise);
  color: var(--brand-white);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--brand-navy);
  color: var(--brand-white);
}

.contact .section__title {
  color: var(--brand-white);
}

.contact .section__title::after {
  background: var(--brand-turquoise);
}

.contact__subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.contact__tabs {
  max-width: 1200px;
  margin: 0 auto;
}

/* Tab Navigation */
.tabs__nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px;
}

.tab__btn {
  flex: 1;
  max-width: 250px;
  background: transparent;
  border: none;
  padding: 0.8rem 1.5rem;
  color: var(--brand-white);
  font-family: var(--font-family-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.tab__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tab__btn--active {
  background: var(--brand-turquoise);
  color: var(--brand-white);
}

.tab__btn--active:hover {
  background: var(--brand-turquoise);
}

.tab__icon {
  font-size: 1.1rem;
}

.tab__text {
  font-size: 0.8rem;
}

/* Tab Content */
.tabs__content {
  position: relative;
}

.tab__panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab__panel--active {
  display: block;
  opacity: 1;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h3 {
  color: var(--brand-turquoise);
  margin-bottom: 1rem;
}

.contact__info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature__icon {
  font-size: 2rem;
  min-width: 50px;
}

.feature__text strong {
  color: var(--brand-turquoise);
  display: block;
  margin-bottom: 0.5rem;
}

.feature__text p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--brand-white);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--brand-white);
  border-radius: 0;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-turquoise);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Contact section form styles - override for story submission form */
.contact .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact .form-checkbox input[type="checkbox"] {
  display: none;
}

.contact .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-turquoise);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.contact .form-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--brand-turquoise);
  border-color: var(--brand-turquoise);
}

.contact .form-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.contact select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Responsive tabs */
@media (max-width: 768px) {
  .tabs__nav {
    flex-direction: column;
    gap: 4px;
    padding: 4px;
  }
  
  .tab__btn {
    max-width: none;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }
  
  .tab__icon {
    font-size: 1rem;
  }
  
  .tab__text {
    font-size: 0.75rem;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .tab__btn {
    padding: 0.6rem 0.8rem;
    gap: 0.3rem;
  }
  
  .tab__icon {
    font-size: 0.9rem;
  }
  
  .tab__text {
    font-size: 0.7rem;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: var(--brand-white);
}

.testimonials__subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--brand-navy);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  padding: 2rem;
  background: var(--brand-light-gray);
  border-left: 4px solid var(--brand-turquoise);
  position: relative;
}

.testimonial__rating {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial__quote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}

.testimonial__author {
  font-weight: 600;
  color: var(--brand-turquoise);
  text-align: right;
}

/* Social Media Section */
.social {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(23, 225, 230, 0.1) 0%, rgba(10, 35, 66, 0.1) 100%);
}

.social__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social__link {
    display: flex;
    align-items: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social__link:hover::before {
    left: 100%;
}

.social__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social__icon svg {
    width: 24px;
    height: 24px;
}

.social__content {
    flex: 1;
}

.social__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0a2342;
}

.social__description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Platform-specific styling */
.social__link--ebay {
    border-color: #e53e3e;
}

.social__link--ebay .social__icon {
    background: linear-gradient(135deg, #e53e3e, #ffd700);
}

.social__link--ebay:hover {
    border-color: #e53e3e;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.02), rgba(255, 215, 0, 0.02));
}

.social__link--facebook {
    border-color: #1877f2;
}

.social__link--facebook .social__icon {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social__link--facebook:hover {
    border-color: #1877f2;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.02), rgba(66, 165, 245, 0.02));
}

.social__link--instagram {
    border-color: #e4405f;
}

.social__link--instagram .social__icon {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social__link--instagram:hover {
    border-color: #e4405f;
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.02), rgba(252, 176, 69, 0.02));
}

.social__link--youtube {
    border-color: #ff0000;
}

.social__link--youtube .social__icon {
    background: linear-gradient(135deg, #ff0000, #ff4444);
}

.social__link--youtube:hover {
    border-color: #ff0000;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.02), rgba(255, 68, 68, 0.02));
}

.social__link--twitter {
    border-color: #000000;
}

.social__link--twitter .social__icon {
    background: linear-gradient(135deg, #000000, #333333);
}

.social__link--twitter:hover {
    border-color: #000000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(51, 51, 51, 0.02));
}

.social__link--tiktok {
    border-color: #ff0050;
}

.social__link--tiktok .social__icon {
    background: linear-gradient(135deg, #ff0050, #000000);
}

.social__link--tiktok:hover {
    border-color: #ff0050;
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.02), rgba(0, 0, 0, 0.02));
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social__link {
        padding: 20px;
    }
    
    .social__icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .social__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .social__name {
        font-size: 18px;
    }
    
    .social__description {
        font-size: 13px;
    }
}

/* Footer */
.footer {
  background: #061a2f;
  color: var(--brand-white);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer__logo {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-turquoise);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__tagline {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__link {
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--brand-turquoise);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .finds__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header__content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    gap: 1rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer__links {
    justify-content: center;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .geometric-box {
    display: none;
  }
  
  .finds__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hunt__stories {
    grid-template-columns: 1fr;
  }
  
  .social__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Hunt Stories Page Styles */
.nav__link--active {
  color: var(--brand-turquoise);
}

.nav__link--active::after {
  width: 100%;
  background: var(--brand-turquoise);
}

.story-card--clickable {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.story-card--clickable:hover {
  color: inherit;
  text-decoration: none;
}

.hunt__cta {
  text-align: center;
  margin-top: 3rem;
}

.hunt-hero {
  background: var(--brand-navy);
  color: var(--brand-white);
  padding: 120px 0 80px;
  text-align: center;
}

.hunt-hero__title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--brand-white);
}

.hunt-hero__subtitle {
  font-size: 1.3rem;
  color: var(--brand-white);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.hunt-stories {
  padding: 80px 0;
  background: var(--brand-white);
}

.hunt-stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.story-card--featured {
  border-left: 6px solid var(--brand-turquoise);
}

.story-card__label {
  background: var(--brand-turquoise);
  color: var(--brand-white);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0 0 4px 4px;
  position: absolute;
  top: 0;
  right: 20px;
}

.story-card__full-content {
  display: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--brand-light-gray);
}

.hunt-stories .story-card__full-content {
  display: block;
}

.story-card__full-content h3 {
  color: var(--brand-navy);
  margin-bottom: 1rem;
}

.story-card__full-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--brand-navy);
}

.story-card__full-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.story-card__full-content li {
  margin-bottom: 0.5rem;
  color: var(--brand-navy);
}

.story-card__full-content strong {
  color: var(--brand-turquoise);
}

.hunt-cta {
  background: var(--brand-light-gray);
  padding: 80px 0;
  text-align: center;
}

.hunt-cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.hunt-cta__title {
  font-size: 2.5rem;
  color: var(--brand-navy);
  margin-bottom: 1rem;
}

.hunt-cta__subtitle {
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hunt-hero__title {
    font-size: 2.5rem;
  }
  
  .hunt-hero__subtitle {
    font-size: 1.1rem;
  }
  
  .hunt-cta__title {
    font-size: 2rem;
  }
  
  .story-card {
    padding: 1.5rem;
  }
  
  .story-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .story-card__date {
    margin-top: 0.5rem;
  }
}



/* Story Submission Modal for Hunt Stories Page */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: block;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 35, 66, 0.8);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.modal__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--brand-navy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background: var(--brand-navy);
    color: white;
}

.modal__body {
    padding: 2rem;
}

.form-help {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Modal-specific form styles - override contact section styles */
.modal .form-control {
    background: var(--brand-white);
    color: var(--brand-navy);
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal .form-control:focus {
    border-color: var(--brand-turquoise);
    background: var(--brand-white);
    color: var(--brand-navy);
    outline: none;
}

.modal .form-control::placeholder {
    color: #999;
}

.modal .form-label {
    color: var(--brand-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.modal .form-checkbox input[type="checkbox"] {
    display: none;
}

.modal .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--brand-turquoise);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.modal .form-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--brand-turquoise);
    border-color: var(--brand-turquoise);
}

.modal .form-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.modal select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modal input[type="file"] {
    border: 2px dashed #e0e0e0;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    color: var(--brand-navy);
}

.modal input[type="file"]:focus {
    border-color: var(--brand-turquoise);
    background: var(--brand-white);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal__content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal__header {
        padding: 1rem 1.5rem;
    }
    
    .modal__title {
        font-size: 1.25rem;
    }
    
    .modal__body {
        padding: 1.5rem;
    }
}

