/* ============================================================
   Andy Seely Portfolio — Global Styles
   Design: Refined editorial, navy & slate palette
   Fonts: DM Serif Display (headings) + DM Sans (body)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap");

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

:root {
  --navy: #615c68;
  --navy-mid: #4a4752;
  --slate: #8b8793;
  --slate-light: #a9a0b0;
  --cream: #1a1a1f;
  --white: #dddddd;
  --border: #3e3d42;
  --border-dark: #4a4752;
  --accent: #24849d;
  --accent-light: #d4e9f0;
  --amber: #c9956f;
  --amber-light: #e8d5c4;
  --success: #4caf7f;
  --font-head: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 24px 42px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 24px 42px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
  --max-width: 1100px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #e8e6eb;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #d4e9f0;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  font-weight: 400;
}

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  display: grid;
  padding: 80px 0 72px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--sm {
  padding: 48px 0;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: #262629;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

/* Logo slot — left-most, reserved for future logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  text-decoration: none;
}

.navbar__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-mark span {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-style: italic;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__logo-name {
  font-family: var(--font-head);
  font-size: 16px;
  color: #e8e6eb;
}

.navbar__logo-role {
  font-size: 11px;
  color: #7fcbdf;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
}

.navbar__nav li {
  position: relative;
}

.navbar__nav > li > a,
.navbar__nav > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 500;
  color: #c5c2ca;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    color 0.15s,
    background 0.15s;
  white-space: nowrap;
  font-family: var(--font-body);
  line-height: 1;
}

.navbar__nav > li > a:hover,
.navbar__nav > li > button:hover {
  color: #d4e9f0;
  background: #3e3d42;
}
.navbar__nav > li > a.active,
.navbar__nav > li > button.active {
  color: var(--accent);
}

/* Dropdown arrow */
.navbar__nav button .arrow {
  font-size: 10px;
  transition: transform 0.2s;
  display: inline-block;
}
.navbar__nav li.open button .arrow {
  transform: rotate(180deg);
}

/* Dropdown menus */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #2a2a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 200;
}

.navbar__nav li.open .dropdown {
  display: block;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #c5c2ca;
  border-radius: var(--radius);
  transition:
    background 0.12s,
    color 0.12s;
}
.dropdown a:hover {
  background: #3e3d42;
  color: #d4e9f0;
}

.dropdown__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fcbdf;
  padding: 10px 12px 4px;
}

.dropdown__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  margin-left: auto;
  font-size: 18px;
  color: #e8e6eb;
}

/* ── Page Header ── */
.page-header {
  background: #262629;
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}

.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #24849d;
  margin-bottom: 12px;
}

.page-header__eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #24849d;
  border-radius: 1px;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: #e8e6eb;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 17px;
  color: #c5c2ca;
  max-width: 600px;
  line-height: 1.7;
}

.hero__layout {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end; /* vertical alignment */
  justify-content: space-between;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #a09aa8;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: #a09aa8;
}
.breadcrumb a:hover {
  color: #24849d;
}
.breadcrumb__sep {
  font-size: 10px;
}

/* ── Cards ── */
.card {
  background: #2a2a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.card:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(255, 255, 255, 0.2);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.grid-3 .card:hover {
  box-shadow: none;
  transform: translateX(-8px);
}

/* Home page grid-3 colored cards with color-matched shadows */
.grid-3 .card--blue:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(43, 108, 176, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.grid-3 .card--teal:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(44, 122, 123, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.grid-3 .card--amber:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(201, 149, 111, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

/* Home page grid-2 consulting cards with amber shadows */
.section--light .grid-2 .card--amber:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(201, 149, 111, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

/* Card color-matched glows */
.card--blue:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(43, 108, 176, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.card--teal:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(44, 122, 123, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.card--amber:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(201, 149, 111, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.card--purple:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(90, 77, 176, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

.card--green:hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(39, 103, 73, 0.85);
  border-color: var(--border-dark);
  transform: translateY(-2px) scale(2.02);
}

/* Professional Affiliations color-matched shadows */
#affiliations .card:nth-child(-n + 2):hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(90, 77, 176, 0.85);
}

#affiliations .card:nth-child(3):hover {
  box-shadow:
    0 1px 11px 1px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(201, 149, 111, 0.85);
}

.card--link {
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: #e8e6eb;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: #c5c2ca;
  line-height: 1.6;
}

.card__arrow {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #4db8d4;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Grid layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Section heading ── */
.section-heading {
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #e8e6eb;
  margin-bottom: 8px;
}
.section-heading p {
  color: #c5c2ca;
  font-size: 16px;
}

.section--light .section-heading h2 {
  color: #1a1a1f;
}

.section--light .section-heading p {
  color: #615c68;
}

.section-heading--line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.section-heading--line h2 {
  font-size: 20px;
  white-space: nowrap;
}
.section-heading--line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Tags / Badges ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

.tag--blue {
  background: #1a5570;
  color: #d4e9f0;
  border-color: #24849d;
}
.tag--amber {
  background: #5a4835;
  color: #e8d5c4;
  border-color: #7a6245;
}
.tag--green {
  background: #f0fff4;
  color: var(--success);
  border-color: #9ae6b4;
}
.tag--slate {
  background: #f7fafc;
  color: var(--slate);
  border-color: var(--border);
}
.tag--navy {
  background: var(--navy);
  color: var(--white);
}

/* ── Sub-nav (within a school page) ── */
.sub-nav {
  background: #262629;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}

.sub-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 0;
  position: relative;
  list-style: none;
  margin: 0;
}

.sub-nav a {
  white-space: nowrap;
  padding: 6px 16px;
  font-size: 13.5px;
  color: #c5c2ca;
  border-radius: 100px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 0.15s;
}

.sub-nav a:hover {
  color: #d4e9f0;
  background: #3e3d42;
}
.sub-nav a.active {
  color: #e8e6eb;
  background: #24849d;
  border-color: #24849d;
}

.sub-nav button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #c5c2ca;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: var(--font-body);
  line-height: 1;
}

.sub-nav button:hover {
  color: #d4e9f0;
  background: #3e3d42;
}

.sub-nav button .arrow {
  font-size: 10px;
  transition: transform 0.2s;
  display: inline-block;
}

.sub-nav li.open button .arrow {
  transform: rotate(180deg);
}

.sub-nav li {
  position: relative;
}

.sub-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #2a2a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 200;
}

.sub-nav li.open .dropdown {
  display: block;
}

.sub-nav .dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #c5c2ca;
  border-radius: var(--radius);
  transition:
    background 0.12s,
    color 0.12s;
  text-decoration: none;
}

.sub-nav .dropdown a:hover {
  background: #3e3d42;
  color: #d4e9f0;
}

.sub-nav .dropdown a.active {
  color: #e8e6eb;
  background: #24849d;
}

/* ── Content blocks ── */
.content-block {
  margin-bottom: 48px;
}
.content-block h3 {
  font-size: 22px;
  color: #e8e6eb;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ── Highlight box ── */
.highlight-box {
  background: #1a5570;
  border-left: 3px solid #24849d;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 15px;
  color: #d4e9f0;
}

.highlight-box--amber {
  background: #5a4835;
  border-left-color: #c9956f;
}

/* ── List styles ── */
.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #c5c2ca;
}

.clean-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24849d;
  flex-shrink: 0;
  margin-top: 9px;
}

/* ── Timeline ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item__year {
  font-size: 13px;
  font-weight: 600;
  color: #24849d;
  padding-top: 2px;
  text-align: right;
}

.timeline-item__content {
  padding-left: 20px;
  position: relative;
}

.timeline-item__content::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #262629;
  border: 2px solid #24849d;
  position: absolute;
  left: -5px;
  top: 5px;
}

.timeline-item__content h4 {
  font-family: var(--font-head);
  font-size: 18px;
  color: #e8e6eb;
  margin-bottom: 4px;
}
.timeline-item__content p {
  font-size: 14px;
  color: #c5c2ca;
}

/* ── Partnership / Logo strip ── */
.partner-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #2a2a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: #c5c2ca;
}

.partner-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ── Footer ── */
.footer {
  background: #1a1a1f;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
  margin-top: auto;
  border-top: 2px solid #24849d;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand h3 {
  font-family: var(--font-head);
  font-style: italic;
  color: #e8e6eb;
  font-size: 22px;
  margin-bottom: 8px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7fcbdf;
  margin-bottom: 14px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s;
}
.footer__col a:hover {
  color: #d4e9f0;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__contact-info strong {
  color: #e8e6eb;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ── Hero (homepage only) ── */
.hero {
  background: #1a1a1f;
  padding: 96px 0 140px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-slide-in {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image {
  width: 60%;
  height: 60%;
  margin-bottom: 5rem;
  animation: hero-fade-in 1.2s ease forwards;
}

.hero__eyebrow {
  animation: hero-slide-in 0.6s ease both;
  animation-delay: 0.1s;
}

.hero h1 {
  animation: hero-slide-in 0.6s ease both;
  animation-delay: 0.25s;
}

.hero__role {
  animation: hero-slide-in 0.6s ease both;
  animation-delay: 0.4s;
}

.hero__lead {
  animation: hero-slide-in 0.6s ease both;
  animation-delay: 0.55s;
}

.hero__cta {
  animation: hero-slide-in 0.6s ease both;
  animation-delay: 0.7s;
}

.hero__social {
  animation: hero-fade-in 0.6s ease both;
  animation-delay: 1.1s;
}
/* Colored border for first section after hero */
.hero + .section {
  border-top: 2px solid #24849d;
  padding-top: 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 41px
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fcbdf;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: #e8e6eb;
  margin-bottom: 6px;
}

.hero h1 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.hero__role {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero__lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: flex-start;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.social-icon--facebook {
  background-color: #1877f2;
  border-color: #1877f2;
}

.social-icon--facebook:hover {
  background-color: transparent;
  color: #1877f2;
  transform: translateY(-2px);
}

.social-icon--linkedin {
  background-color: #0a66c2;
  border-color: #0a66c2;
}

.social-icon--linkedin:hover {
  background-color: transparent;
  color: #0a66c2;
  transform: translateY(-2px);
}

.social-icon--instagram {
  background-color: #e1306c;
  border-color: #e1306c;
}

.social-icon--instagram:hover {
  background-color: transparent;
  color: #e1306c;
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn--primary {
  background: #e8e6eb;
  color: #1a1a1f;
}
.btn--primary:hover {
  background: #d4e9f0;
  color: #1a1a1f;
  transform: translateY(-4px);
}

.btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
}

.btn--accent {
  background: #24849d;
  color: var(--white);
}
.btn--accent:hover {
  background: #1a6278;
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Color accent strips for section categories ── */
.accent--blue {
  color: #24849d;
}
.accent--amber {
  color: #c9956f;
}
.accent--purple {
  color: #8b7ba8;
}
.accent--teal {
  color: #24849d;
}
.accent--green {
  color: #4caf7f;
}

.border--blue {
  border-color: #24849d !important;
}
.border--amber {
  border-color: #c9956f !important;
}
.border--purple {
  border-color: #8b7ba8 !important;
}
.border--teal {
  border-color: #24849d !important;
}
.border--green {
  border-color: #4caf7f !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 48px 0;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0 100px;
  }

  .navbar__nav {
    display: none;
  }
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: #262629;
    padding: 16px;
    overflow-y: auto;
    gap: 2px;
    border-top: 1px solid var(--border);
  }
  .navbar__nav li {
    width: 100%;
  }
  .navbar__nav > li > a,
  .navbar__nav > li > button {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
  }
  .navbar__nav li.open .dropdown {
    display: flex;
    flex-direction: column;
  }
  .navbar__toggle {
    display: flex;
    align-items: center;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero__layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__image-wrap {
    order: -1; /* forces image ABOVE text */
  }

  .hero-image {
    width: 90%;
    max-width: 280px;
    margin-bottom: 0;
  }
}
