/* =========================================================
   Philippines Golden Coconut Shell Co., Ltd.
   Heritage identity — ivory, deep palm green, antique brass
   Classic serif display, hairline rules, restrained motion
   ========================================================= */

:root {
  /* Palette — muted & natural (oat · sage · clay · forest)
     legacy --green-*/--brass-* names retained so existing rules cascade */
  --green-950: #233a31;   /* deep muted forest (darkest) */
  --green-900: #2b463b;   /* primary dark */
  --green-850: #335244;
  --green-800: #3d5e4f;
  --green-700: #517566;
  --ink: #2a3b32;         /* muted pine — headings/text */

  --paper: #f5f2e9;       /* warm oat */
  --paper-2: #ebe7da;     /* soft sand (alt sections) */
  --card: #fcfbf5;        /* natural card */
  --white: #ffffff;

  /* accent family = muted clay / terracotta */
  --brass: #b3835d;       /* clay */
  --brass-2: #cdb88a;     /* soft wheat (light) */
  --brass-deep: #936245;  /* deep terracotta */
  --burgundy: #9c5e4e;    /* muted brick */

  --sage: #8a9b80;
  --moss: #6f8a6a;
  --clay: #b3835d;
  --wheat: #cdb88a;

  --text: #3a473e;
  --text-soft: #69756a;
  --text-faint: #9aa294;
  --on-dark: #ecefe7;
  --on-dark-soft: #aabbac;

  --line: rgba(42, 59, 50, 0.12);
  --line-strong: rgba(42, 59, 50, 0.20);
  --line-dark: rgba(236, 239, 231, 0.16);
  --line-dark-strong: rgba(236, 239, 231, 0.26);

  /* soft natural gradients (used sparingly) */
  --grad-teal: linear-gradient(120deg, var(--moss), var(--sage));
  --grad-sunset: linear-gradient(120deg, var(--clay), var(--burgundy));
  --grad-sky: linear-gradient(120deg, var(--sage), var(--moss));

  /* Type */
  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Geometry & effects */
  --radius: 6px;
  --radius-sm: 3px;
  --shadow-sm: 0 1px 2px rgba(36, 39, 29, 0.05);
  --shadow: 0 14px 34px -22px rgba(20, 30, 20, 0.45);
  --ease: cubic-bezier(0.33, 1, 0.68, 1);

  --maxw: 1180px;
  --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.72;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.14; font-weight: 700; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--brass); color: var(--paper); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }

/* emphasis spans: muted clay, italic serif (natural, editorial) */
.grad, .grad-tropic, .grad-sunset {
  color: var(--clay); font-style: italic;
  -webkit-text-fill-color: currentColor; background: none;
}
.section--dark .grad, .hero .grad { color: var(--wheat); }

/* Classic divider: hairline with center diamond */
.rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto; }
.rule::before, .rule::after { content: ""; height: 1px; width: 56px; background: var(--brass); opacity: .6; }
.rule i { color: var(--brass); font-style: normal; font-size: 9px; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--brass); z-index: 200;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120; height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(28, 44, 37, 0.42), rgba(28, 44, 37, 0));
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-stuck {
  background: rgba(35, 58, 49, 0.95);
  box-shadow: 0 6px 24px -16px rgba(0, 0, 0, .5);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { display: grid; place-items: center; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; padding-left: 14px; border-left: 1px solid var(--line-dark-strong); }
.brand__text strong { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--paper); letter-spacing: .01em; }
.brand__text em { font-style: normal; font-size: 10.5px; color: var(--on-dark-soft); letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--on-dark-soft); padding: 9px 14px; border-radius: var(--radius-sm);
  transition: color .25s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--brass-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--brass-2); }
.nav__cta {
  margin-left: 8px; border: 1px solid var(--brass) !important; color: var(--brass-2) !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--brass); color: var(--green-900) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--paper); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 88svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 52px) 0 76px;
  background:
    radial-gradient(820px 480px at 14% 6%, rgba(138,155,128,.20), transparent 62%),
    radial-gradient(760px 520px at 88% 90%, rgba(205,184,138,.14), transparent 60%),
    linear-gradient(160deg, #34503f 0%, #2b463b 55%, #233a31 100%);
  color: var(--on-dark); overflow: hidden;
}
/* faint engraved hairline texture */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, rgba(243,238,225,.025) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(243,238,225,.025) 0 1px, transparent 1px 38px);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 35%, transparent 100%);
}
/* inset double-rule frame */
.hero__frame {
  position: absolute; inset: clamp(16px, 3vw, 30px); z-index: 1; pointer-events: none;
  border: 1px solid var(--line-dark-strong);
}
.hero__frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-dark); }

.hero__content { position: relative; z-index: 3; max-width: 880px; margin-inline: auto; padding-inline: clamp(24px, 5vw, 48px); text-align: center; }

.hero__crest { width: clamp(96px, 12vw, 128px); height: auto; margin: 0 auto 28px; display: block; }

.hero__eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--wheat); margin-bottom: 22px;
}
.hero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.2rem); color: var(--white); letter-spacing: -0.005em; line-height: 1.16; }
.hero__title .grad { font-weight: 800; }
.hero__lede { max-width: 620px; margin: 24px auto 0; font-size: clamp(1rem, 1.45vw, 1.16rem); color: rgba(255,255,255,.9); line-height: 1.75; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius-sm); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn--brass { background: var(--clay); color: #fff; border: 1px solid var(--clay); }
.btn--brass:hover { background: var(--brass-deep); border-color: var(--brass-deep); transform: translateY(-2px); }
.btn--outline { color: var(--on-dark); border: 1px solid var(--line-dark-strong); }
.btn--outline:hover { border-color: var(--brass-2); color: var(--brass-2); transform: translateY(-2px); }

/* Ledger stats */
.hero__stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  max-width: 740px; margin: 44px auto 0; border-top: 1px solid var(--line-dark); padding-top: 30px;
}
.hero__stat { flex: 1 1 150px; padding: 0 18px; position: relative; }
.hero__stat + .hero__stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line-dark); }
.hero__stat .num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--white); }
.hero__stat .lbl { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--on-dark-soft);
  display: grid; justify-items: center; gap: 8px;
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--brass-2), transparent); }

/* engraved palm line art (subtle) */
.engrave { position: absolute; z-index: 1; pointer-events: none; color: var(--brass-2); opacity: .1; }
.hero .engrave--l { left: -30px; bottom: 4%; width: 230px; transform: rotate(6deg); }
.hero .engrave--r { right: -30px; top: 8%; width: 250px; transform: rotate(190deg) scaleX(-1); }

/* =========================================================
   CAPABILITIES RIBBON
   ========================================================= */
.ribbon {
  background: var(--green-950); color: var(--on-dark);
  border-block: 1px solid var(--green-800);
  padding: 18px 0;
}
.ribbon__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px);
}
.ribbon span {
  font-family: var(--serif); font-style: italic; font-size: clamp(.95rem, 1.6vw, 1.18rem);
  color: var(--on-dark); white-space: nowrap;
}
.ribbon i { color: var(--brass); font-style: normal; font-size: 8px; }

/* =========================================================
   SECTIONS (generic)
   ========================================================= */
.section { position: relative; padding: clamp(58px, 7.5vw, 110px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(760px 420px at 88% 4%, rgba(169,126,60,.12), transparent 55%),
    linear-gradient(180deg, var(--green-900), var(--green-950));
}

.section__head { max-width: 760px; margin-bottom: clamp(34px, 4.6vw, 58px); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--brass); }
.kicker--light { color: var(--brass-2); }
.kicker--light::before { background: var(--brass-2); }
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.16; }
.section__title--light { color: var(--white); }
.section__lede { margin-top: 18px; font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--text-soft); }
.section__lede--light { color: var(--on-dark-soft); }
.section__lede strong, .section__head strong { font-weight: 700; color: var(--ink); }
.section--dark .section__lede strong { color: var(--on-dark); }

/* shared card baseline */
.entity-card, .feature, .split__item, .app, .partner, .step__card, .contact__card, .spec-row {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.entity-card:hover, .feature:hover, .split__item:hover, .app:hover,
.partner:hover, .step__card:hover, .contact__card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brass);
}

/* shared line-icon medallion (soft natural) */
.entity-card__icon, .feature__icon, .split__item-icon, .app__icon, .step__icon, .synergy__icon {
  display: grid; place-items: center; color: var(--brass-deep);
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(179, 131, 93, 0.08);
}

/* =========================================================
   OVERVIEW — entities + synergy
   ========================================================= */
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.entity-card { position: relative; padding: 38px; overflow: hidden; }
.entity-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brass); opacity: .55; }
.entity-card--accent::before { opacity: 1; }
.entity-card__icon { width: 56px; height: 56px; margin-bottom: 22px; }
.entity-card h3 { font-size: 1.42rem; margin-bottom: 12px; }
.entity-card__tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 14px; }
.entity-card p { color: var(--text-soft); font-size: 15.5px; }

.synergy {
  margin-top: 24px; display: flex; align-items: center; gap: 30px;
  background: var(--green-900); color: var(--on-dark);
  border: 1px solid var(--green-800); border-radius: var(--radius);
  padding: 36px clamp(28px, 4vw, 50px); position: relative; overflow: hidden;
}
.synergy__icon { flex-shrink: 0; width: 72px; height: 72px; color: var(--wheat); border-color: var(--line-dark-strong); background: rgba(236,239,231,.06); }
.synergy__body h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.synergy__body p { color: var(--on-dark-soft); max-width: 820px; }
.synergy__body strong { color: var(--brass-2); }

/* =========================================================
   FEATURE GRID
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 32px; }
.feature__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.feature h3 { font-size: 1.26rem; margin-bottom: 10px; }
.feature p { color: var(--text-soft); font-size: 15px; }

/* =========================================================
   SPLIT (manufacturing)
   ========================================================= */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.split__media {
  position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10,42,32,.25), rgba(10,42,32,.78)),
    repeating-linear-gradient(135deg, #1d3a30 0 18px, #173027 18px 36px);
  background-size: cover; background-position: center;
  border: 1px solid var(--brass-deep); box-shadow: var(--shadow); display: grid; place-items: center;
}
.split__media-fallback { text-align: center; color: var(--on-dark-soft); display: grid; gap: 8px; justify-items: center; padding: 24px; }
.split__media-fallback svg { color: var(--brass-2); opacity: .85; }
.split__media-fallback span { font-family: var(--serif); font-style: italic; color: var(--on-dark); font-size: 1.1rem; }
.split__media-fallback small { font-size: 12px; opacity: .7; letter-spacing: .04em; }
.split__media-fallback code { background: rgba(243,238,225,.1); padding: 2px 6px; border-radius: 4px; }
.split__media.has-img .split__media-fallback { display: none; }

.split__list { display: grid; gap: 16px; }
.split__item { display: flex; gap: 20px; padding: 26px 28px; }
.split__item:hover { transform: translateX(5px); }
.split__item-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--radius-sm); }
.split__item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.split__item p { color: var(--text-soft); font-size: 14.5px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.pillar { padding: 32px 28px; border-right: 1px solid var(--line); transition: background .3s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--paper); }
.pillar__num { display: block; font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--brass); margin-bottom: 10px; }
.pillar__num::after { content: ""; display: block; width: 26px; height: 1px; background: var(--brass); margin-top: 9px; opacity: .6; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 7px; }
.pillar p { color: var(--text-soft); font-size: 13.5px; }

/* =========================================================
   SPECS — certificate ledger
   ========================================================= */
.spec-sheet {
  border: 1px solid var(--line-dark-strong); border-radius: var(--radius);
  background: rgba(240,253,249,.05); overflow: hidden;
}
.spec-sheet__caption {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 16px 28px; border-bottom: 1px solid var(--line-dark);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft);
}
.spec-sheet__caption b { color: var(--brass-2); font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.spec {
  padding: 42px 32px; text-align: center; border-right: 1px solid var(--line-dark);
  transition: background .3s;
}
.spec:last-child { border-right: 0; }
.spec:hover { background: rgba(240,253,249,.08); }
.spec__label { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); }
.spec__value { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--white); line-height: 1; margin: 12px 0; }
.spec__value .num { font-family: var(--serif); }
.spec p { color: var(--on-dark-soft); font-size: 13.5px; max-width: 280px; margin-inline: auto; }

/* =========================================================
   APPLICATIONS
   ========================================================= */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app { position: relative; padding: 32px; overflow: hidden; }
.app::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.app:hover::before { transform: scaleY(1); }
.app--lg { background: var(--paper); }
.app__icon { width: 56px; height: 56px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.app h3 { font-size: 1.3rem; margin-bottom: 10px; }
.app p { color: var(--text-soft); font-size: 15px; }

/* =========================================================
   PROCESS — timeline
   ========================================================= */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 16px; }
.step__rail { position: relative; height: 40px; margin-bottom: 8px; }
.step__rail::before { content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 1px; background: var(--brass); opacity: .45; }
.step:first-child .step__rail::before { left: 50%; }
.step:last-child .step__rail::before { right: 50%; }
.step__dot { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brass); z-index: 2; }
.step__card { padding: 28px 24px; height: 100%; }
.step__num { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); }
.step__icon { width: 50px; height: 50px; border-radius: var(--radius-sm); margin: 16px 0; }
.step__card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step__card p { color: var(--text-soft); font-size: 14.5px; }

/* =========================================================
   ADVANTAGES
   ========================================================= */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 26px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.adv:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brass); }
.adv__idx { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--brass); margin-bottom: 14px; }
.adv h3 { font-size: 1.12rem; margin-bottom: 10px; }
.adv p { color: var(--text-soft); font-size: 14.5px; }

.adv-tagline { text-align: center; margin-top: 52px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--ink); }
.adv-tagline .grad { font-style: italic; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner { padding: 34px; }
.partner__bar { width: 40px; height: 2px; background: var(--brass); margin-bottom: 16px; transition: width .35s var(--ease); }
.partner:hover .partner__bar { width: 64px; }
.partner h3 { font-size: 1.16rem; margin-bottom: 9px; }
.partner__region { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 2px; margin-bottom: 12px; }
.partner p { color: var(--text-soft); font-size: 14px; }

/* =========================================================
   OUTLOOK
   ========================================================= */
.outlook { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.outlook__card { padding: 36px; border: 1px solid var(--line-dark-strong); border-radius: var(--radius); background: rgba(236,239,231,.05); transition: background .3s, border-color .3s; }
.outlook__card:hover { background: rgba(236,239,231,.1); border-color: var(--brass); }
.outlook__card h3 { color: var(--white); font-size: 1.22rem; margin-bottom: 9px; display: flex; align-items: baseline; gap: 11px; }
.outlook__card h3::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; transform: rotate(45deg); background: var(--brass-2); }
.outlook__card p { color: var(--on-dark-soft); font-size: 14px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact__card { position: relative; padding: 40px; overflow: hidden; }
.contact__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brass); opacity: .55; }
.contact__card--accent::before { opacity: 1; }
.contact__flag { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 12px; }
.contact__card h3 { font-size: 1.42rem; margin-bottom: 22px; }
.contact__card ul { list-style: none; display: grid; gap: 16px; }
.contact__card li { display: grid; grid-template-columns: 86px 1fr; gap: 18px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact__card li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__card li span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); padding-top: 3px; }
.contact__card li p { color: var(--text); font-size: 15.5px; }
.contact__card li a { color: var(--brass-deep); font-weight: 600; transition: color .2s; }
.contact__card li a:hover { color: var(--brass); text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--green-950); color: var(--on-dark-soft); padding-top: 56px; border-top: 1px solid var(--green-800); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 38px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.footer__brand strong { font-family: var(--serif); color: var(--paper); font-size: 1.15rem; font-weight: 700; }
.footer__brand p { font-size: 14.5px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: start; }
.footer__nav a { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.footer__nav a:hover { color: var(--brass-2); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 32px; font-size: 13px; }
.footer__bottom a { color: var(--brass-2); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 95;
  width: 46px; height: 46px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--green-900); color: var(--brass-2); border: 1px solid var(--brass);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s, color .25s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brass); color: var(--green-950); }

/* =========================================================
   REVEAL ANIMATIONS (restrained)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .06s; }
.reveal[data-reveal-delay="2"] { transition-delay: .12s; }
.reveal[data-reveal-delay="3"] { transition-delay: .18s; }
.reveal[data-reveal-delay="4"] { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .feature-grid, .apps { grid-template-columns: repeat(3, 1fr); }
  .pillars, .adv-grid, .outlook { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .step:nth-child(odd) .step__rail::before, .step:nth-child(even) .step__rail::before { left: 0; right: 0; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .spec:last-child { border-bottom: 0; }
}

@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--green-900); border-bottom: 1px solid var(--brass-deep);
    padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .4s var(--ease);
    box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 14px; }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 8px 0 0; text-align: center; }
  .nav__toggle { display: flex; }
  .entities, .split, .contact { grid-template-columns: 1fr; }
  .split__media { min-height: 280px; }
  .synergy { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .feature-grid, .apps, .pillars, .adv-grid, .partners, .process, .outlook { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .adv { border-bottom: 1px solid var(--line); }
  .entity-card, .contact__card, .app, .partner { padding: 30px 26px; }
  .footer__inner { flex-direction: column; }
  .hero__stat { flex-basis: 50%; margin-bottom: 18px; }
  .hero__stat:nth-child(odd)::before { display: none; }
  .brand__text em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
