/* ================================================================
   AGILVEST — Design System
   Aesthetic: editorial, warm, African-inspired sophistication
   ================================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* --- Tokens --- */
:root {
  /* Palette */
  --c-forest:        #1f3d2b;
  --c-forest-deep:   #14281c;
  --c-forest-soft:   #2e5641;
  --c-ochre:         #c18a2a;
  --c-ochre-light:   #e0b35b;
  --c-terracotta:    #a8431e;
  --c-cream:         #faf6ec;
  --c-sand:          #f2ead8;
  --c-bone:          #e8decb;
  --c-charcoal:      #1a1814;
  --c-stone:         #5d5b52;
  --c-ash:           #9a978c;

  /* Type */
  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1280px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 22px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(20, 40, 28, 0.06);
  --shadow:    0 12px 32px -12px rgba(20, 40, 28, 0.18);
  --shadow-lg: 0 30px 70px -28px rgba(20, 40, 28, 0.35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-charcoal);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grain overlay for warmth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--c-forest-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-variation-settings: "opsz" 144;
}

h1 {
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h3 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); }
h4 { font-size: 1.3rem; letter-spacing: -0.005em; }

.display-italic { font-style: italic; font-weight: 400; }

p { margin-bottom: 1em; color: var(--c-charcoal); }

.lead {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
  color: var(--c-forest-deep);
  font-weight: 300;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ochre);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--c-ochre);
  display: inline-block;
}

/* --- Container & Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section { padding: clamp(4rem, 10vw, 8rem) 0; position: relative; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 40, 28, 0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--c-forest-deep);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.logo-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--c-ochre);
  border-radius: 50%;
  transform: translateY(-2px);
}
.logo em { color: var(--c-ochre); font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--c-charcoal);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-ochre);
  transition: width .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--c-forest-deep); }

.nav-cta {
  background: var(--c-forest-deep);
  color: var(--c-cream) !important;
  padding: 0.7rem 1.25rem !important;
  border-radius: 40px;
  font-size: 0.875rem !important;
}
.nav-cta:hover { background: var(--c-forest-soft); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-forest-deep);
  position: absolute;
  left: 5px;
  transition: .3s;
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 23px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--c-cream);
    flex-direction: column;
    padding: 1rem var(--pad-x) 2rem;
    gap: 0.5rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--c-bone);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.7rem 0; width: 100%; border-bottom: 1px solid var(--c-bone); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { align-self: flex-start; margin-top: 0.5rem; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--c-forest-deep);
  color: var(--c-cream);
}
.btn-primary:hover {
  background: var(--c-ochre);
  color: var(--c-forest-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--c-forest-deep);
  border: 1px solid var(--c-forest-deep);
}
.btn-ghost:hover {
  background: var(--c-forest-deep);
  color: var(--c-cream);
}

.btn-gold {
  background: var(--c-ochre);
  color: var(--c-forest-deep);
}
.btn-gold:hover {
  background: var(--c-ochre-light);
  color: var(--c-forest-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-arrow::after {
  content: "→";
  transition: transform .3s ease;
  font-size: 1.1em;
}
.btn-arrow:hover::after { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--c-forest-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: .3s;
}
.link-arrow::after { content: "→"; transition: transform .3s; }
.link-arrow:hover { color: var(--c-ochre); border-bottom-color: var(--c-ochre); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text h1 em { font-style: italic; color: var(--c-ochre); font-weight: 400; }
.hero-text .lead { margin-bottom: 2rem; max-width: 540px; }

.hero-meta {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--c-bone);
  flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c-forest-deep);
  display: block;
}
.hero-meta-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-stone);
  margin-top: 0.4rem;
}

.hero-visual {
  position: relative;
  height: clamp(420px, 60vh, 620px);
}

.hero-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-forest);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-img-main {
  top: 0; left: 10%; right: 0; bottom: 18%;
  z-index: 2;
}
.hero-img-accent {
  top: 35%; left: 0; width: 45%; height: 55%;
  z-index: 3;
  border: 6px solid var(--c-cream);
}

.hero-badge {
  position: absolute;
  bottom: 6%;
  right: 6%;
  background: var(--c-ochre);
  color: var(--c-forest-deep);
  padding: 1rem 1.25rem;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 4;
  font-family: var(--f-display);
  font-size: 0.85rem;
  line-height: 1.15;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
  font-style: italic;
}
.hero-badge strong {
  display: block;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; }
}

/* --- Page Hero (for subpages) --- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: var(--c-forest-deep);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(193, 138, 42, 0.22), transparent 65%);
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--c-ochre-light); }
.page-hero .eyebrow::before { background: var(--c-ochre-light); }
.page-hero h1 { color: var(--c-cream); max-width: 14ch; margin: 1.25rem 0 1.25rem; }
.page-hero .lead { color: rgba(250, 246, 236, 0.85); max-width: 640px; }

.breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(250, 246, 236, 0.55);
  margin-top: 2rem;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--c-ochre-light); }
.breadcrumb .sep { margin: 0 0.6rem; opacity: 0.5; }

/* --- Section Headers --- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  align-items: end;
}
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 1.25rem; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
}

/* --- Cards / Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--c-cream);
  border: 1px solid var(--c-bone);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-forest-deep), var(--c-forest-soft));
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; transition: color .4s ease; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover .feature-num { color: var(--c-cream); }
.feature-card:hover .feature-num { color: var(--c-ochre-light); }
.feature-card:hover .link-arrow { color: var(--c-ochre-light); border-bottom-color: var(--c-ochre-light); }

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--c-cream);
  border: 1px solid var(--c-bone);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .4s ease;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--c-forest-deep), var(--c-ochre));
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(18%) contrast(1.02);
  transition: filter .4s ease, transform .6s ease;
}
.team-card:hover .team-photo img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.03);
}
.team-photo-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-forest-deep), var(--c-ochre));
}
.team-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-ochre);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.team-card h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--c-forest-deep);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.team-card p {
  color: var(--c-stone);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}
.team-location {
  font-size: 0.8rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ochre) !important;
  margin: 0 !important;
  flex-grow: 0 !important;
}

.feature-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-ochre);
  display: block;
  margin-bottom: 1.25rem;
}
.feature-card h3 { color: var(--c-forest-deep); margin-bottom: 0.9rem; }
.feature-card p { color: var(--c-stone); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* --- Image Cards --- */
.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-forest);
  color: var(--c-cream);
}
.image-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.image-card:hover img { transform: scale(1.05); }
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 40, 28, 0.85) 5%, rgba(20, 40, 28, 0.2) 45%, transparent 70%);
}
.image-card-body {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 1.75rem;
  z-index: 2;
}
.image-card-body h3 { color: var(--c-cream); margin-bottom: 0.5rem; }
.image-card-body p { color: rgba(250, 246, 236, 0.85); font-size: 0.92rem; margin: 0; }

/* --- Split Section --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-forest);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }

.swiss-ke-map-wrap {
  background: var(--c-cream);
  aspect-ratio: auto;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-bone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiss-ke-map {
  width: 100%;
  height: auto;
  max-height: 640px;
  display: block;
}

.split-text h2 { margin-bottom: 1.5rem; }
.split-text .eyebrow { margin-bottom: 1.25rem; }
.split-text p { margin-bottom: 1rem; color: var(--c-stone); }
.split-text .points {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.split-text .points li {
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--c-bone);
  position: relative;
  font-size: 1rem;
}
.split-text .points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--c-ochre);
  font-weight: 700;
}

/* --- Stats Band --- */
.stats-band {
  background: var(--c-forest-deep);
  color: var(--c-cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-ochre), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
}
.stat { border-left: 1px solid rgba(250, 246, 236, 0.2); padding-left: 1.5rem; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--c-ochre-light);
  display: block;
  margin-bottom: 0.75rem;
}
.stat .label {
  font-size: 0.85rem;
  color: rgba(250, 246, 236, 0.75);
  line-height: 1.5;
}
@media (max-width: 700px) {
  .stat { border-left: none; padding-left: 0; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(250, 246, 236, 0.15); }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
}

/* --- Testimonial --- */
.quote-block {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.quote-block .mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--c-ochre);
  display: block;
  margin-bottom: 1rem;
}
.quote-block p {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.45;
  color: var(--c-forest-deep);
  font-weight: 300;
  margin-bottom: 2rem;
}
.quote-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}
.quote-author strong { font-weight: 600; color: var(--c-charcoal); font-family: var(--f-body); }
.quote-author span { color: var(--c-stone); font-size: 0.9rem; }

/* --- CTA Band --- */
.cta-band {
  background: var(--c-sand);
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(193, 138, 42, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-inner h2 { max-width: 14ch; }
.cta-inner .btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-inner .btn-group { justify-content: flex-start; }
}

/* --- Services list (About-style detail page) --- */
.list-rows { border-top: 1px solid var(--c-bone); }
.list-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-bone);
  transition: background .3s ease;
}
.list-row:hover { background: rgba(193, 138, 42, 0.05); padding-left: 1rem; padding-right: 1rem; }
.list-row .row-num {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-ochre);
  font-size: 1.1rem;
}
.list-row h3 { margin: 0; }
.list-row p { margin: 0; color: var(--c-stone); font-size: 0.97rem; }
.list-row .row-cta { color: var(--c-forest-deep); font-weight: 600; white-space: nowrap; }
.list-row .row-cta::after { content: " →"; transition: .3s; display: inline-block; }
.list-row:hover .row-cta::after { transform: translateX(4px); }
@media (max-width: 800px) {
  .list-row { grid-template-columns: auto 1fr; grid-template-areas: "n t" ". d" ". c"; gap: 0.5rem 1.5rem; }
  .list-row .row-num { grid-area: n; }
  .list-row h3 { grid-area: t; }
  .list-row p { grid-area: d; margin-top: 0.5rem; }
  .list-row .row-cta { grid-area: c; margin-top: 0.75rem; }
}

/* --- Form --- */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 680px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-stone);
  margin-bottom: 0.65rem;
  font-weight: 600;
}
.form input,
.form textarea,
.form select {
  font-family: inherit;
  font-size: 1rem;
  padding: 1rem 1.15rem;
  background: var(--c-cream);
  border: 1px solid var(--c-bone);
  border-radius: var(--radius);
  color: var(--c-charcoal);
  transition: .25s;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--c-forest-deep);
  background: #fff;
}
.form textarea { min-height: 160px; resize: vertical; }

/* --- Contact cards --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.info-card {
  padding: 1.75rem;
  background: var(--c-cream);
  border: 1px solid var(--c-bone);
  border-radius: var(--radius);
}
.info-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-ochre);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.info-card h4 { margin-bottom: 0.25rem; font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; color: var(--c-forest-deep); }
.info-card p, .info-card a { color: var(--c-stone); font-size: 0.95rem; line-height: 1.55; }
.info-card a:hover { color: var(--c-forest-deep); }

/* --- Marquee --- */
.marquee {
  background: var(--c-forest-deep);
  color: var(--c-cream);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--c-ochre);
  border-bottom: 1px solid var(--c-ochre);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after {
  content: "✦";
  color: var(--c-ochre);
  font-size: 1rem;
  font-style: normal;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Footer --- */
.footer {
  background: var(--c-forest-deep);
  color: rgba(250, 246, 236, 0.75);
  padding: 5rem 0 2rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .logo { color: var(--c-cream); margin-bottom: 1.25rem; }
.footer-brand p { max-width: 320px; color: rgba(250, 246, 236, 0.7); font-size: 0.95rem; }
.footer h5 {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ochre-light);
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 0.65rem; font-size: 0.95rem; }
.footer a { color: rgba(250, 246, 236, 0.8); }
.footer a:hover { color: var(--c-ochre-light); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 236, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 246, 236, 0.55);
}
.social { display: flex; gap: 1rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 236, 0.25);
  transition: .3s;
}
.social a:hover { background: var(--c-ochre); border-color: var(--c-ochre); color: var(--c-forest-deep); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal .8s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .reveal-1 { animation-delay: .05s; }
  .reveal-2 { animation-delay: .2s; }
  .reveal-3 { animation-delay: .35s; }
  .reveal-4 { animation-delay: .5s; }
  .reveal-5 { animation-delay: .65s; }
  @keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- Utilities --- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.divider {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-ochre);
  margin: 2rem 0;
}
.bg-sand { background: var(--c-sand); }
.bg-cream { background: var(--c-cream); }
.bg-forest { background: var(--c-forest-deep); color: var(--c-cream); }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: var(--c-cream); }

/* Page content generic rich text */
.prose h2 { margin: 3rem 0 1rem; }
.prose h3 { margin: 2.5rem 0 1rem; }
.prose p { color: var(--c-stone); font-size: 1.05rem; line-height: 1.75; }
.prose p + p { margin-top: 0; }
.prose ul { margin: 1rem 0 1rem 1.5rem; }
.prose li { color: var(--c-stone); margin-bottom: 0.5rem; }
