/* ============================================================
   ESSACK ENTERPRISE — 2026 Redesign
   Palette: forest green / sand / cream — bold corporate legacy
   ============================================================ */

:root {
  --green-950: #0c241e;
  --green-900: #123128;
  --green-800: #1b4a3e;   /* brand green */
  --green-700: #23594b;
  --green-600: #2e6d5c;
  --sand-600: #a8996f;
  --sand-500: #c9bc9c;    /* brand sand */
  --sand-300: #ddd5c1;
  --cream: #efede5;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #101816;
  --ink-soft: #3d4a45;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, "Helvetica Neue", sans-serif;

  --container: 1240px;
  --radius: 20px;
  --shadow-lg: 0 30px 60px -20px rgba(12, 36, 30, 0.35);
  --shadow-sm: 0 10px 30px -12px rgba(12, 36, 30, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sand-600);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sand-500);
}
.on-dark .kicker { color: var(--sand-500); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.h-xl { font-size: clamp(3rem, 7.5vw, 6.2rem); }
.h-lg { font-size: clamp(2.4rem, 5vw, 4rem); }
.h-md { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 58ch;
}
.on-dark .lede { color: rgba(239, 237, 229, 0.78); }

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--sand-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn-solid {
  background: var(--green-800);
  color: var(--cream);
}
.btn-solid:hover {
  background: var(--green-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-sand {
  background: var(--sand-500);
  color: var(--green-950);
}
.btn-sand:hover {
  background: var(--sand-300);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.45);
}

.btn-ghost {
  border-color: rgba(239, 237, 229, 0.35);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--sand-500);
  color: var(--sand-500);
  transform: translateY(-3px);
}

.btn-outline-dark {
  border-color: rgba(16, 24, 22, 0.25);
  color: var(--ink);
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: var(--green-800);
  color: var(--green-800);
  transform: translateY(-3px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(16, 24, 22, 0.08);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand img { height: 42px; }

/* header on dark hero: swap logo treatment */
.header-dark:not(.scrolled) .nav-links a { color: var(--cream); }
.header-dark:not(.scrolled) .nav-links a::after { background: var(--sand-500); }
.header-dark:not(.scrolled) .nav-cta {
  border-color: rgba(239, 237, 229, 0.4);
  color: var(--cream);
}
.header-dark:not(.scrolled) .brand .logo-light { display: block; }
.header-dark:not(.scrolled) .brand .logo-dark { display: none; }
.brand .logo-light { display: none; filter: brightness(0) invert(0.95); }
.site-header.scrolled .brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--green-800);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--green-800);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
  transition: all 0.35s var(--ease);
}
.nav-cta:hover { background: var(--green-800); color: var(--cream); }
.header-dark:not(.scrolled) .nav-cta:hover {
  background: var(--sand-500);
  border-color: var(--sand-500);
  color: var(--green-950);
}

/* mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}
.nav-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.35s;
}
.header-dark:not(.scrolled) .nav-toggle span { background: var(--cream); }
.nav-open .nav-toggle span { background: var(--cream) !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: var(--green-950);
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.5s var(--ease), visibility 0s 0.5s;
    z-index: 110;
  }
  .nav-open .nav-links {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.5s var(--ease);
  }
  .nav-links a {
    color: var(--cream) !important;
    font-size: 20px;
    font-family: var(--font-display);
    text-transform: none;
    letter-spacing: 0;
  }
  .nav-cta { display: inline-flex; border-color: var(--sand-500); color: var(--sand-500) !important; }
}

/* ---------- Hero (dark) ---------- */
.hero-dark {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(46, 109, 92, 0.5), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(201, 188, 156, 0.14), transparent 55%),
    linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 55%, var(--green-800) 130%);
  color: var(--cream);
  overflow: hidden;
}
.hero-dark::after {
  /* subtle grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-crest {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: min(52vw, 680px);
  opacity: 0.07;
  filter: invert(0.92) sepia(0.2);
  pointer-events: none;
}
.hero-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 120px;
}
.hero-home .container { position: relative; z-index: 2; }
.hero-home h1 { max-width: 12ch; margin: 26px 0 28px; }
.hero-home h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sand-500);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero-motto {
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 237, 229, 0.55);
}
.hero-motto img { height: 44px; opacity: 0.8; filter: brightness(2.4) sepia(0.3); }

/* inner-page hero */
.hero-inner {
  padding: 210px 0 110px;
  position: relative;
}
.hero-inner h1 { max-width: 16ch; margin-top: 26px; }
.hero-inner .lede { margin-top: 26px; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--green-950);
  border-top: 1px solid rgba(201, 188, 156, 0.15);
  color: var(--cream);
  position: relative;
  z-index: 3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 0;
}
.stat {
  padding: 10px 34px;
  border-left: 1px solid rgba(201, 188, 156, 0.18);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 500;
  color: var(--sand-500);
  line-height: 1;
}
.stat .num sup { font-size: 0.5em; }
.stat .label {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 237, 229, 0.6);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--sand-500);
  color: var(--green-950);
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(12, 36, 30, 0.12);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 64px; }
.marquee-track .dot { font-size: 12px; opacity: 0.5; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { margin-top: 22px; }
.section-head .lede { margin-top: 20px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }

.bg-cream { background: var(--cream); }
.bg-dark {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(46, 109, 92, 0.45), transparent 60%),
    linear-gradient(150deg, var(--green-950), var(--green-900));
  color: var(--cream);
}

/* ---------- Venture cards (home preview) ---------- */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.venture-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(16, 24, 22, 0.07);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 340px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  overflow: hidden;
}
.venture-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-800), var(--sand-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.venture-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.venture-card:hover::before { transform: scaleX(1); }
.venture-card .logo-box {
  height: 84px;
  display: flex;
  align-items: center;
}
.venture-card .logo-box img {
  max-height: 76px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}
.venture-card .logo-box.chip-dark {
  background: var(--green-900);
  border-radius: 14px;
  padding: 12px 20px;
  height: auto;
}
.venture-card .logo-box.chip-dark img { max-height: 46px; }
.venture-card h3 { font-size: 1.5rem; }
.venture-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.venture-card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
  background: rgba(27, 74, 62, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
}
.venture-card.card-featured {
  background: var(--green-800);
  color: var(--cream);
  border-color: transparent;
}
.venture-card.card-featured p { color: rgba(239, 237, 229, 0.75); }
.venture-card.card-featured .tag {
  color: var(--sand-500);
  background: rgba(201, 188, 156, 0.14);
}
@media (max-width: 1000px) { .ventures-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ventures-grid { grid-template-columns: 1fr; } }

/* ---------- Enterprise page: portfolio rows ---------- */
.portfolio-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid rgba(16, 24, 22, 0.1);
}
.portfolio-row:first-of-type { border-top: 0; }
.portfolio-row.flip .visual { order: 2; }
.portfolio-row .visual {
  position: relative;
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--white);
  border: 1px solid rgba(16, 24, 22, 0.07);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.portfolio-row .visual::after {
  content: attr(data-index);
  position: absolute;
  right: 22px;
  bottom: 4px;
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 500;
  color: rgba(27, 74, 62, 0.07);
  line-height: 1;
}
.portfolio-row .visual img {
  max-height: 190px;
  max-width: 65%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.portfolio-row .visual.visual-dark { background: var(--green-900); border-color: transparent; }
.portfolio-row .visual.visual-dark::after { color: rgba(201, 188, 156, 0.1); }
.portfolio-row .visual.visual-sand { background: var(--sand-300); border-color: transparent; }
.portfolio-row .visual.visual-sand::after { color: rgba(12, 36, 30, 0.07); }

.portfolio-row .num-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sand-600);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.portfolio-row h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 14px 0 18px; }
.portfolio-row p { color: var(--ink-soft); max-width: 54ch; }
.portfolio-row p + p { margin-top: 14px; }
.portfolio-row .tag-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.row-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
  border-bottom: 2px solid var(--sand-500);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.row-link:hover { gap: 14px; color: var(--green-950); }
@media (max-width: 860px) {
  .portfolio-row { grid-template-columns: 1fr; padding: 64px 0; }
  .portfolio-row.flip .visual { order: 0; }
}

/* ---------- Quote / motto band ---------- */
.motto-band {
  position: relative;
  text-align: center;
  padding: 130px 0;
  overflow: hidden;
}
.motto-band .crest-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  opacity: 0.06;
  filter: invert(0.92) sepia(0.2);
  pointer-events: none;
}
.motto-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto 22px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.motto-band .attribution {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-500);
}

/* ---------- Founder teaser (home) ---------- */
.founder-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.founder-visual {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 400px at 70% 20%, rgba(46, 109, 92, 0.55), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-visual img.crest {
  width: 46%;
  opacity: 0.9;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.4));
}
.founder-visual .badge-float {
  position: absolute;
  background: rgba(247, 245, 239, 0.96);
  color: var(--ink);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.founder-visual .badge-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--green-800);
}
.badge-float.b1 { top: 40px; left: 34px; }
.badge-float.b2 { bottom: 44px; right: 34px; }
@media (max-width: 900px) {
  .founder-teaser { grid-template-columns: 1fr; }
  .founder-visual { min-height: 380px; }
}

/* accolade chips */
.accolades { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.accolade {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(201, 188, 156, 0.5);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.accolade svg { flex: none; }
.on-dark .accolade { border-color: rgba(201, 188, 156, 0.35); color: var(--sand-300); }

/* ---------- Founder page ---------- */
.founder-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .founder-hero-grid { grid-template-columns: 1fr; } }

.timeline { position: relative; max-width: 780px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--sand-500), rgba(201, 188, 156, 0.1));
}
.timeline-item {
  position: relative;
  padding: 0 0 52px 56px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-950);
  border: 2px solid var(--sand-500);
  transform: rotate(45deg);
  border-radius: 4px;
}
.timeline-item .t-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-500);
}
.timeline-item h3 { font-size: 1.6rem; margin: 8px 0 10px; }
.timeline-item p { color: rgba(239, 237, 229, 0.72); max-width: 60ch; }

/* principle cards */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.principle {
  background: var(--white);
  border: 1px solid rgba(16, 24, 22, 0.07);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.principle:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.principle .p-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--sand-600);
}
.principle h3 { font-size: 1.45rem; margin: 12px 0 12px; }
.principle p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 900px) { .principles-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 130px 0;
  overflow: hidden;
}
.cta-band h2 { max-width: 18ch; margin: 22px auto 20px; }
.cta-band .lede { margin: 0 auto 40px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--green-950);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 48px 42px;
  position: relative;
  overflow: hidden;
}
.contact-info-card .crest-bg {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  opacity: 0.07;
  filter: invert(0.92) sepia(0.2);
}
.contact-info-card h3 { font-size: 1.8rem; margin-bottom: 12px; }
.contact-info-card > p { color: rgba(239, 237, 229, 0.7); margin-bottom: 36px; }
.info-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(201, 188, 156, 0.16);
  position: relative;
  z-index: 1;
}
.info-line .ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 188, 156, 0.12);
  display: grid;
  place-items: center;
  color: var(--sand-500);
}
.info-line .label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 237, 229, 0.5);
}
.info-line .value { font-weight: 700; font-size: 16.5px; color: var(--cream); }
.info-line a.value:hover { color: var(--sand-500); }

.contact-form {
  background: var(--white);
  border: 1px solid rgba(16, 24, 22, 0.08);
  border-radius: var(--radius);
  padding: 48px 42px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(16, 24, 22, 0.12);
  border-radius: 12px;
  padding: 15px 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-800);
  box-shadow: 0 0 0 4px rgba(27, 74, 62, 0.1);
}
.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(27, 74, 62, 0.08);
  color: var(--green-800);
  font-weight: 700;
  font-size: 14.5px;
}
.form-status.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(239, 237, 229, 0.7);
  padding: 80px 0 36px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201, 188, 156, 0.14);
}
.footer-brand img { height: 56px; margin-bottom: 20px; filter: brightness(0) invert(0.92); }
.footer-brand p { font-size: 14.5px; max-width: 32ch; }
.footer-brand .latin {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sand-500);
  font-size: 15px;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-500);
  margin-bottom: 20px;
}
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a {
  font-size: 14.5px;
  transition: color 0.3s;
  color: rgba(239, 237, 229, 0.7);
}
.site-footer ul a:hover { color: var(--sand-500); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(239, 237, 229, 0.45);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
