/* ===== Trovanta Ltd — Site Styles ===== */

:root {
  --green-deep: #0e3b2e;
  --green-dark: #123f33;
  --green-mid: #1d5c49;
  --gold: #d9a441;
  --gold-soft: #e7c27d;
  --gold-text: #a87a22;
  --cream: #faf7f1;
  --ink: #1c2420;
  --ink-soft: #4c5a53;
  --line: #e4ddd0;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 59, 46, 0.08);
  --shadow-hover: 0 16px 40px rgba(14, 59, 46, 0.14);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--green-deep); }

.section { padding: 96px 0; scroll-margin-top: 72px; }

.section-head { max-width: 720px; margin-bottom: 56px; }

.section-sub { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--gold-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-ghost {
  border: 1.5px solid var(--green-deep);
  color: var(--green-deep);
}

.btn-ghost:hover { background: var(--green-deep); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.text-link {
  color: var(--green-mid);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover { color: var(--gold); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-deep);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--green-deep);
}

.logo-ltd {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 6px;
  vertical-align: super;
}

.site-nav { display: flex; align-items: center; gap: 30px; }

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--green-mid); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--white) !important;
}

.nav-cta:hover { background: var(--green-mid); }

.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(--green-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s 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;
  padding: 120px 0 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217, 164, 65, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(29, 92, 73, 0.10), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.hero-inner { max-width: 820px; padding-bottom: 110px; }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: #b8862e;
}

.hero-lead {
  margin-top: 28px;
  max-width: 620px;
  font-size: 1.13rem;
  color: var(--ink-soft);
}

.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Scrolling division strip */
.hero-strip {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.strip-track {
  display: inline-flex;
  gap: 32px;
  animation: strip-scroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--green-mid);
}

.strip-track span:nth-child(even) { color: var(--gold); }

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-lead { font-size: 1.13rem; color: var(--ink-soft); }

.about-cards { display: grid; gap: 20px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.info-card h3 { color: var(--green-deep); font-size: 1.2rem; margin-bottom: 10px; }

.info-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== Dark sections ===== */
.section-dark {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(217, 164, 65, 0.12), transparent 55%),
    var(--green-deep);
  color: var(--cream);
}

.section-dark h2 { color: var(--white); }

.section-dark .section-sub { color: rgba(250, 247, 241, 0.75); }

/* ===== Philosophy ===== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.philosophy-step {
  border: 1px solid rgba(250, 247, 241, 0.16);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, background 0.25s ease;
}

.philosophy-step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); }

.step-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
}

.philosophy-step h3 { font-size: 1.6rem; margin: 12px 0 10px; color: var(--white); }

.philosophy-step p { color: rgba(250, 247, 241, 0.78); font-size: 0.98rem; }

/* ===== Divisions ===== */
.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.division-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.division-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(29, 92, 73, 0.09);
  color: var(--green-mid);
  margin-bottom: 20px;
}

.division-icon svg { width: 26px; height: 26px; }

.division-card h3 { color: var(--green-deep); font-size: 1.22rem; margin-bottom: 10px; }

.division-card > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; }

.division-card ul { list-style: none; }

.division-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 7px;
}

.division-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.division-card-cta {
  background: linear-gradient(150deg, var(--green-deep), var(--green-mid));
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.division-card-cta h3 { color: var(--white); }

.division-card-cta > p { color: rgba(250, 247, 241, 0.8); }

.division-card-cta .text-link { color: var(--gold-soft); margin-top: 4px; }

.division-card-cta .text-link:hover { color: var(--white); }

/* ===== Approach ===== */
.section-tint { background: #f2ede2; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.approach-item h3 { font-size: 1.08rem; color: var(--green-deep); margin-bottom: 10px; }

.approach-item p { font-size: 0.92rem; color: var(--ink-soft); }

.serve-block { margin-top: 64px; }

.serve-title {
  font-size: 1.25rem;
  color: var(--green-deep);
  margin-bottom: 20px;
}

.serve-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.serve-chips li {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green-mid);
}

/* ===== Strategic Initiatives ===== */
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.initiative-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.status-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(29, 92, 73, 0.10);
  color: var(--green-mid);
  margin-bottom: 14px;
}

.status-chip.chip-dev {
  background: rgba(217, 164, 65, 0.16);
  color: #a87a22;
}

.initiative-card h3 { color: var(--green-deep); font-size: 1.18rem; margin-bottom: 10px; }

.initiative-card p { color: var(--ink-soft); font-size: 0.95rem; }

.company-facts {
  margin-top: 44px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ===== Leadership ===== */
.founder-card {
  display: flex;
  align-items: center;
  gap: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
  max-width: 840px;
  margin: 0 auto;
}

.founder-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: 50% 20%;
  background: linear-gradient(150deg, var(--green-deep), var(--green-mid));
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
}

.founder-info h3 { font-size: 1.5rem; color: var(--green-deep); }

.founder-role {
  color: var(--gold-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 4px 0 14px;
}

.founder-bio { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 22px; }

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-linkedin svg { width: 18px; height: 18px; }

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  border-top: 3px solid var(--gold);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.value-card h3 { color: var(--green-deep); font-size: 1.15rem; margin-bottom: 8px; }

.value-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* ===== Vision band ===== */
.vision-band { text-align: center; padding: 110px 0; }

.vision-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 880px;
  margin: 0 auto;
  color: var(--white);
}

/* ===== Contact ===== */
.contact-inner { text-align: center; max-width: 640px; }

.contact-inner .section-sub { margin-bottom: 36px; }

.contact-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-deep);
  color: rgba(250, 247, 241, 0.8);
  padding: 64px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.logo-footer .logo-text { color: var(--white); }

.logo-footer .logo-mark { background: var(--gold); color: var(--green-deep); }

.footer-brand p { margin-top: 16px; font-size: 0.92rem; max-width: 320px; }

.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }

.footer-nav a {
  color: rgba(250, 247, 241, 0.8);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover { color: var(--gold-soft); }

.footer-legal {
  border-top: 1px solid rgba(250, 247, 241, 0.15);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 0.85rem;
  color: rgba(250, 247, 241, 0.55);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .about-grid,
  .philosophy-grid,
  .values-grid { grid-template-columns: 1fr; }

  .division-grid { grid-template-columns: repeat(2, 1fr); }

  .approach-grid { grid-template-columns: repeat(2, 1fr); }

  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  .division-grid,
  .approach-grid,
  .initiative-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 80px; }

  .hero-inner { padding-bottom: 72px; }

  .hero h1 { font-size: 2.3rem; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 10px 0; font-size: 1rem; }

  .nav-cta { margin-top: 8px; }

  .footer-inner { flex-direction: column; }
}
