:root {
  --cream: #F5F0E8;
  --warm-white: #FAF7F2;
  --terracotta: #C4673A;
  --terracotta-light: #D4845C;
  --olive: #6B7B4A;
  --olive-light: #8A9B60;
  --deep: #1E1A14;
  --mid: #4A4035;
  --muted: #8C7E6E;
  --border: #DDD5C5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--deep);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  background: var(--deep);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

/* Shorter hero for inner/placeholder pages */
.hero.hero-page {
  min-height: 62vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(30, 26, 20, 0.92) 0%, rgba(30, 26, 20, 0.55) 60%, rgba(30, 26, 20, 0.3) 100%),
    linear-gradient(to bottom, rgba(30, 26, 20, 0.2) 0%, rgba(30, 26, 20, 0.5) 100%);
  z-index: 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  z-index: 0;
}

/* Greek key decorative border */
.hero-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--olive), var(--terracotta));
  z-index: 2;
}

nav {
  position: relative;
  z-index: 30;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  animation: fadeDown 0.8s ease both;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-decoration: none;
}

.logo span {
  display: block;
  font-size: 0.6rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--terracotta-light);
  margin-top: 2px;
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(245, 240, 232, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
  background: rgba(245, 240, 232, 0.10);
  color: var(--cream);
}

.nav-link.active {
  background: rgba(245, 240, 232, 0.14);
  color: var(--cream);
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  margin-left: 0.05rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  margin-top: 12px;
  background: var(--deep);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}

/* invisible hover bridge so the menu doesn't close in the gap */
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

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

.nav-sublink {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-sublink:hover {
  background: rgba(245, 240, 232, 0.10);
  color: var(--cream);
}

.nav-sublink.active {
  background: rgba(245, 240, 232, 0.14);
  color: var(--cream);
}

.nav-sublink .nav-icon {
  width: 18px;
  height: 18px;
}

/* ── PAGE CROSS-LINK BUTTONS ── */
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.page-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.page-link-btn:hover {
  transform: translateY(-2px);
}

.page-link-btn.primary {
  background: var(--terracotta);
  color: var(--cream);
}

.page-link-btn.primary:hover {
  background: var(--cream);
  color: var(--deep);
}

.page-link-btn.secondary {
  border: 1px solid rgba(245, 240, 232, 0.45);
  color: var(--cream);
}

.page-link-btn.secondary:hover {
  background: rgba(245, 240, 232, 0.10);
}

/* ── CONTENT SECTIONS (inner pages) ── */
.content-section {
  background: var(--cream);
}

.content-section.alt {
  background: var(--warm-white);
}

.content-section.dark {
  background: var(--deep);
}

.prose {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--mid);
  max-width: 720px;
}

.prose p + p {
  margin-top: 1.3rem;
}

.content-lead {
  margin-bottom: 2rem;
}

/* ── TIMELINE ── */
.timeline {
  display: grid;
  gap: 1.8rem;
  margin-top: 2.5rem;
  max-width: 760px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-variant-numeric: lining-nums;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1.1;
}

.timeline-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ── REASON LIST ── */
.reason-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 700px;
}

.reason-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mid);
}

.reason-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--terracotta);
}

/* ── PROJECT CARDS (examples) ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  padding: 2rem;
  border: 1px solid rgba(245, 240, 232, 0.14);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  border-color: rgba(245, 240, 232, 0.35);
  transform: translateY(-4px);
}

.project-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}

.project-card .project-loc {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta-light);
}

.project-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.55);
  flex: 1;
}

.project-card a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

.project-card a:hover {
  color: var(--cream);
}

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 300px;
  margin-top: 2.5rem;
  border: 2px dashed var(--border);
  border-radius: 6px;
  background: rgba(196, 103, 58, 0.04);
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

.img-placeholder svg {
  width: 46px;
  height: 46px;
  opacity: 0.45;
}

.img-placeholder span {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.img-placeholder small {
  font-size: 0.72rem;
  opacity: 0.7;
  font-family: 'Jost', sans-serif;
}

/* ── REFERENCES ── */
.ref-list {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.5rem;
  max-width: 780px;
}

.ref-item {
  padding-left: 1.3rem;
  border-left: 2px solid var(--terracotta);
}

.ref-cite {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--deep);
}

.ref-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.55;
}

.ref-item a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  text-decoration: none;
}

.ref-item a:hover {
  text-decoration: underline;
}

/* ── CTA (cross-nav at page bottom) ── */
.cta-section {
  background: var(--deep);
}

.cta-section .section-inner {
  text-align: center;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 2rem;
}

.cta-section .page-links {
  justify-content: center;
}

/* ── NAV ACTIONS (Social + Hamburger) ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  color: #1877F2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #145dbf;
  transform: translateY(-2px);
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.12);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.25s ease;
}

.hamburger:hover {
  background: rgba(245, 240, 232, 0.20);
}

.hamburger .nav-icon {
  width: 22px;
  height: 22px;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem 2rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-variant-numeric: lining-nums;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.65);
  max-width: 520px;
  animation: fadeUp 1s 0.4s ease both;
}

.hero-footer {
  position: relative;
  z-index: 10;
  padding: 2rem 3rem 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: fadeUp 1s 0.5s ease both;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(245, 240, 232, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--terracotta-light);
  animation: scrollAnim 2s 1.5s ease infinite;
}

/* ── SECTION BASE ── */
section {
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

/* ── PROBLEM / MISSION ── */
.mission-section {
  background: var(--cream);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.mission-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--deep);
}

.mission-headline strong {
  font-weight: 600;
  color: var(--terracotta);
}

.mission-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mid);
}

.mission-body p+p {
  margin-top: 1.2rem;
}

.mission-quote {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 2px solid var(--terracotta);
  background: rgba(196, 103, 58, 0.06);
  border-radius: 0 4px 4px 0;
}

.mission-quote p {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
  color: var(--deep);
}

/* ── SERVICES ── */
.services-section {
  background: var(--deep);
}

.services-section .section-label {
  color: var(--terracotta-light);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.services-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  max-width: 500px;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.service-card {
  background: var(--deep);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--terracotta);
  transition: height 0.4s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  background: rgba(245, 240, 232, 0.03);
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196, 103, 58, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-variant-numeric: lining-nums;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.5);
}

/* ── ADVANTAGES ── */
.advantages-section {
  background: var(--warm-white);
}

.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.adv-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30, 26, 20, 0.08);
}

.adv-number {
  font-family: 'Cormorant Garamond', serif;
  font-variant-numeric: lining-nums;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(196, 103, 58, 0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.adv-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.adv-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── VISION ── */
.vision-section {
  background: var(--olive);
  overflow: hidden;
}

.vision-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.vision-label {
  color: rgba(245, 240, 232, 0.6);
}

.vision-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
}

.vision-title em {
  font-style: italic;
  opacity: 0.7;
}

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

.vision-pillar {
  padding: 1.5rem;
  background: rgba(245, 240, 232, 0.08);
  border-radius: 2px;
  border-left: 2px solid rgba(245, 240, 232, 0.3);
}

.vision-pillar-title {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 0.4rem;
}

.vision-pillar-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.5;
}

/* ── FORM ── */
.form-section {
  background: var(--cream);
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.form-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.9rem 1rem;
  color: var(--deep);
  transition: border-color 0.3s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--terracotta);
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.submit-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: var(--cream);
  border: none;
  padding: 1.1rem 3rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  align-self: stretch;
}

.submit-btn:hover {
  background: var(--deep);
  transform: translateY(-2px);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 3rem;
  background: rgba(107, 123, 74, 0.1);
  border: 1px solid var(--olive-light);
  border-radius: 4px;
}

.success-msg h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.success-msg p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--cream);
  font-weight: 600;
}

.footer-logo span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: rgba(245, 240, 232, 0.4);
  margin-top: 2px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.05em;
}

/* ── ORNAMENT ── */
.ornament {
  text-align: center;
  padding: 2rem 0;
  color: var(--terracotta);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  opacity: 0.6;
}

/* ── DIVIDER ── */
.greek-divider {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.greek-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--terracotta);
  animation: scrollAnim 2s ease infinite;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollAnim {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */

/* Collapse nav links into hamburger dropdown */
@media (max-width: 1024px) {
  .nav-links {
    position: absolute;
    top: calc(100% - 0.5rem);
    right: 1.5rem;
    left: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--deep);
    border: 1px solid rgba(245, 240, 232, 0.12);
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 60;
  }

  nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  /* Dropdown becomes an always-open indented list on mobile */
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown > .nav-link {
    width: 100%;
  }

  .nav-chevron {
    display: none;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0.15rem 0 0.35rem 1.4rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-sublink {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 768px) {

  nav,
  .hero-content,
  .hero-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mission-grid,
  .adv-grid,
  .vision-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-inner {
    padding: 4rem 1.5rem;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    right: 1rem;
    left: 1rem;
  }
}
