/* ============================================================
   Jesse Boudreau — main.css
   Design system: Syne (headings) + DM Sans (body)
   Accent: #D85A30 · Dark: #1A1A18 · Light: #FAFAF7
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --accent:      #D85A30;
  --accent-dark: #B84820;
  --bg-dark:     #1A1A18;
  --bg-light:    #FAFAF7;
  --bg-warm:     #F1EFE8;
  --surface:     #ffffff;
  --muted:       #888780;
  --border:      #E8E6DF;
  --text-dark:   #1A1A18;
  --text-light:  #FAFAF7;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 2px 16px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 32px rgba(0,0,0,0.12);
  --transition:  0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

/* --- Layout & Container ----------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(216,90,48,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn--ghost-dark:hover {
  border-color: var(--text-dark);
  background: rgba(26,26,24,0.05);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.nav__brand span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: rgba(250,250,247,0.72);
  font-size: 0.925rem;
  font-weight: 400;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text-light); }
.nav__links .btn { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ------------------------------------------------- */
.hero {
  background: var(--bg-dark);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow { color: var(--accent); }

.hero__title {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.hero__sub {
  color: rgba(250,250,247,0.65);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Status card */
.status-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}

.status-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-card__name {
  color: var(--text-light);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
}

.status-card__title {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.status-card__badges { display: flex; flex-direction: column; gap: 0.6rem; }

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  color: rgba(250,250,247,0.8);
  font-size: 0.85rem;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- Mantra Band ------------------------------------------ */
.mantra-band {
  background: var(--accent);
  padding: 1rem 0;
  overflow: hidden;
}

.mantra-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.mantra-track span {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.mantra-sep {
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Projects Section ------------------------------------- */
.projects { background: var(--bg-light); }

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.project-card--featured {
  border-top: 3px solid var(--accent);
  border-color: var(--accent);
  border-width: 2px;
  border-top-width: 3px;
}

.project-card__tag {
  display: inline-block;
  background: rgba(216,90,48,0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.project-card--standard .project-card__tag {
  background: rgba(26,26,24,0.06);
  color: var(--muted);
}

.project-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.project-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.pill {
  background: var(--bg-warm);
  color: var(--text-dark);
  font-size: 0.775rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.project-card__cta {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  transition: gap var(--transition);
}
.project-card__cta:hover { gap: 0.5rem; }

/* --- About / Philosophy Section --------------------------- */
.about {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

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

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

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

.philosophy-icon {
  width: 44px;
  height: 44px;
  background: rgba(216,90,48,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.philosophy-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.philosophy-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.quote-block {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.quote-block blockquote {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.45;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.stats-row {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
}

.stat { flex: 1; }

.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-light);
}

.stat__label {
  font-size: 0.775rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* --- Leadership Articles Section -------------------------- */
.leadership-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-card__thumb {
  background: var(--bg-dark);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.article-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.article-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.article-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.article-card__link:hover { gap: 0.5rem; }

/* --- CTA Section ------------------------------------------ */
.cta-section {
  background: var(--bg-dark);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 { color: var(--text-light); margin-bottom: 1rem; }

.contact-chips {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: rgba(250,250,247,0.75);
  font-size: 0.875rem;
  transition: background var(--transition), border-color var(--transition);
}
.contact-chip:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: var(--text-light);
}

/* --- Footer ----------------------------------------------- */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 1.5rem;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-light);
}
.footer__brand span { color: var(--accent); }

.footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__links a {
  color: rgba(250,250,247,0.55);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text-light); }

.footer__copy {
  color: rgba(250,250,247,0.35);
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Contact Page ----------------------------------------- */
.contact-page {
  background: var(--bg-light);
  padding: 4rem 0 6rem;
}

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

.contact-info h1 { margin-bottom: 1rem; }

.contact-info p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-detail a { color: var(--accent); }
.contact-detail a:hover { text-decoration: underline; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216,90,48,0.12);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-success {
  background: rgba(216,90,48,0.08);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* --- Work / Projects Page --------------------------------- */
.work-page { padding: 4rem 0 6rem; background: var(--bg-light); }

.work-hero {
  background: var(--bg-dark);
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.work-hero h1 { color: var(--text-light); margin-bottom: 0.75rem; }
.work-hero p { color: rgba(250,250,247,0.6); max-width: 560px; }

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

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.work-card--featured {
  border-top: 3px solid var(--accent);
}

.work-card__tag {
  display: inline-block;
  background: rgba(216,90,48,0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  width: fit-content;
}

.work-card h3 { font-size: 1.3rem; }

.work-card p {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.65;
  flex: 1;
}

.work-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.work-card__features li {
  font-size: 0.875rem;
  color: var(--text-dark);
  padding-left: 1rem;
  position: relative;
}
.work-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.work-card__links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.work-card__links a {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.work-card__links a:hover { gap: 0.5rem; }

/* --- Leadership Page -------------------------------------- */
.leadership-page { background: var(--bg-light); }

.leadership-hero {
  background: var(--bg-dark);
  padding: 4rem 0;
}
.leadership-hero h1 { color: var(--text-light); margin-bottom: 0.75rem; }
.leadership-hero p  { color: rgba(250,250,247,0.6); max-width: 600px; }

.leadership-content { padding: 4rem 0 6rem; }

.leadership-intro {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.leadership-intro__bar {
  width: 4px;
  height: auto;
  min-height: 100%;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.leadership-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.articles-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-card-lg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card-lg:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.article-card-lg__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.3;
}
.article-card-lg h3 { font-size: 1.1rem; line-height: 1.4; }
.article-card-lg p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}
.article-card-lg a {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.article-card-lg a:hover { gap: 0.5rem; }

.built-list {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
}
.built-list h2 { margin-bottom: 1.25rem; font-size: 1.3rem; }
.built-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.built-list li:last-child { border-bottom: none; }
.built-list li strong { color: var(--text-dark); }
.built-list li span { color: var(--muted); }

/* --- Hound Survey ----------------------------------------- */
.survey-page {
  background: var(--bg-light);
  padding: 4rem 0 6rem;
}

.survey-header {
  background: var(--bg-dark);
  padding: 4rem 0;
  margin-bottom: 0;
}
.survey-header h1 { color: var(--text-light); margin-bottom: 0.75rem; }
.survey-header p  { color: rgba(250,250,247,0.6); max-width: 580px; }

.survey-body { padding: 3rem 0 5rem; }

.survey-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.survey-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 3rem;
}
.survey-images img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition);
}
.survey-images img:hover { transform: scale(1.03); }

.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--text-dark);
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* --- Resources Page --------------------------------------- */
.resources-page { padding: 4rem 0 6rem; background: var(--bg-light); }

.resources-hero {
  background: var(--bg-dark);
  padding: 4rem 0;
  margin-bottom: 3rem;
}
.resources-hero h1 { color: var(--text-light); margin-bottom: 0.75rem; }
.resources-hero p  { color: rgba(250,250,247,0.6); }

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 600px;
  box-shadow: var(--shadow);
}
.resource-card img {
  width: 120px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.resource-card h3 { margin-bottom: 0.4rem; }
.resource-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.resource-card a { color: var(--accent); font-weight: 500; }

/* --- Claim Page ------------------------------------------- */
.claim-page {
  background: var(--bg-light);
  padding: 4rem 0 6rem;
}

.claim-hero {
  background: var(--bg-dark);
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 0;
}
.claim-hero h1 { color: var(--text-light); margin-bottom: 0.5rem; }
.claim-hero p  { color: rgba(250,250,247,0.65); }

.claim-form-wrap {
  max-width: 520px;
  margin: 3rem auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.flash-message {
  background: rgba(216,90,48,0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.flash-message.success {
  background: rgba(34,197,94,0.08);
  border-color: #22c55e;
  color: #16a34a;
}

/* --- Terms / Privacy / Support (PackMate standalone) ------ */
.legal-page {
  font-family: var(--font-body);
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  color: var(--text-dark);
  background: var(--bg-light);
  min-height: 100vh;
}
.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.legal-page__back:hover { color: var(--accent); }
.legal-page__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.legal-page__logo span { color: var(--accent); }
.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}
.legal-page .updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
  color: var(--text-dark);
}
.legal-page p, .legal-page li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
}
.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-page ul li { margin-bottom: 0.3rem; }
.legal-page a { color: var(--accent); }

/* --- Dream Vacation (Terminal Aesthetic) ------------------ */
.vacation-page {
  background: #000;
  color: #00ff00;
  min-height: 100vh;
}

.vacation-nav {
  background: #000;
  border-bottom: 1px solid #00ff00;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vacation-nav__brand {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: #00ff00;
  font-weight: bold;
}
.vacation-nav a {
  color: rgba(0,255,0,0.6);
  font-family: monospace;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.vacation-nav a:hover { color: #00ff00; }

.terminal-container {
  padding: 2rem;
  background: #000;
  max-width: 960px;
  margin: 0 auto;
}

.terminal-header h1 {
  font-size: 1.6rem;
  color: #00ff00;
  border-bottom: 1px solid #00ff00;
  padding-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
}

.login-bar {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #00ff00;
  font-family: monospace;
}

.destination-notice {
  text-align: center;
  color: #00ff00;
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.destination-paragraph {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  justify-content: center;
  text-align: center;
}

.destination-box {
  padding: 4px 10px;
  background-color: #000;
  color: #00ff00;
  border: 1px solid #00ff00;
  border-radius: 4px;
  white-space: nowrap;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.25s;
}
.destination-box:hover {
  background: #00ff00;
  color: #000;
  cursor: pointer;
}

.flicker-blink {
  animation: blink 1s step-end infinite;
  display: inline-block;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes fizzle {
  0%, 100% { opacity: 1; }
  45%  { opacity: 0; transform: scale(0.95); }
  55%  { opacity: 0; transform: scale(0.95); }
}
.destination-box.fizzle { animation: fizzle 1s ease-in-out; }

.terminal-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #00ff00;
  font-family: monospace;
}
.cursor {
  display: inline-block;
  margin-left: 5px;
  animation: blink 1s step-end infinite;
  color: #00ff00;
}

.vacation-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}
.vacation-images img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid #00ff00;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vacation-images img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 12px #00ff00;
}

/* --- Cookie Consent --------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 9999;
  font-size: 0.875rem;
  color: rgba(250,250,247,0.7);
}
.cookie-banner a { color: var(--accent); }
.cookie-banner--hidden { display: none; }

/* --- Flash / Alert Messages ------------------------------- */
.flash-strip {
  background: rgba(216,90,48,0.1);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Utilities -------------------------------------------- */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
.text-light  { color: var(--text-light); }
.text-center { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }

/* --- Mobile Responsive ------------------------------------ */
@media (max-width: 900px) {
  .hero__inner            { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__inner           { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-page__inner    { grid-template-columns: 1fr; gap: 2rem; }
  .work-grid              { grid-template-columns: 1fr; }
  .articles-full-grid     { grid-template-columns: 1fr; }
  .projects__grid         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav__toggle { display: flex; }

  .nav__links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 1rem;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links .btn  { width: 100%; justify-content: center; }

  .articles-grid     { grid-template-columns: 1fr; }
  .stats-row         { flex-wrap: wrap; gap: 1rem; }
  .hero__ctas        { flex-direction: column; align-items: flex-start; }
  .vacation-images   { grid-template-columns: 1fr; }
  .survey-images     { grid-template-columns: 1fr; }
  .resource-card     { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .claim-form-wrap,
  .survey-form,
  .contact-form { padding: 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
