/* interDependence Agency — brand tokens sampled from the original Wix assets */
:root {
  --navy: #02304d;
  --navy-deep: #012537;
  --brand-blue: #48bee3;
  --brand-aqua: #60dfdb;
  --white: #fdfbfa;
  --accent: #e5127d;          /* thin bar at the very top of the page */
  --container: 1200px;
  --header-h: 128px;
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 12px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Seed of life mark ---------- */

.seed { display: block; height: auto; }
.seed--brand      { width: 73px;  stroke-width: 1.4; }
.seed--hero       { width: 350px; stroke-width: 2; }
.seed--statement  { width: 155px; stroke-width: 2; }

/* ---------- Top accent bar + header ---------- */

.accent-bar { height: 4px; background: var(--accent); }

.site-header {
  background: var(--navy);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
}

.brand-name-cap { font-weight: 700; }

.brand-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(253, 251, 250, 0.92);
  margin-top: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  height: calc(100vh - var(--header-h) - 4px);
  max-height: 820px;
  display: flex;
  align-items: center;
  background-color: #0b2340;
  background-image: image-set(url("/assets/hero.avif") type("image/avif"),
                              url("/assets/hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.hero-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 200;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

/* ---------- Statement section ---------- */

.statement {
  padding: 96px 0 120px;
  background-color: #1e2a33;
  background-image: image-set(url("/assets/field.avif") type("image/avif"),
                              url("/assets/field.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 60%;
}

.statement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.statement p {
  max-width: 740px;
  margin: 0;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 300;
  line-height: 1.42;
  color: #fff;
}

.statement .seed { margin-bottom: 54px; }
.statement p + p { margin-top: 2.2em; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  padding: 58px 0 44px;
}

.footer-grid {
  display: grid;
  row-gap: 48px;
}

.contact { padding-top: 6px; }
.contact p { margin: 0 0 22px; font-size: 19px; font-weight: 300; }
.contact-label { letter-spacing: 0.02em; }
.contact a { text-decoration: underline; text-underline-offset: 3px; }

.legal {
  display: flex;
  gap: 42px;
  font-size: 17px;
  font-weight: 300;
}

.legal a { text-decoration: none; opacity: 0.92; }
.legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */

.page {
  padding: 80px 0 110px;
  background: var(--navy);
}

.page h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; margin: 0 0 8px; }
.page .updated { margin: 0 0 44px; font-size: 15px; opacity: 0.7; }
.page h2 { font-size: 22px; font-weight: 500; margin: 40px 0 12px; }
.page p, .page li { font-size: 17px; font-weight: 300; line-height: 1.7; max-width: 760px; }
.page a { color: var(--brand-aqua); }
.page .back { display: inline-block; margin-top: 48px; font-size: 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  :root { --header-h: 96px; }

  .container { padding-inline: 24px; }

  .seed--brand { width: 58px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 14px; }
  .brand { gap: 16px; }

  .hero { height: auto; min-height: 460px; padding: 72px 0; }
  .hero-inner { flex-direction: column; gap: 40px; text-align: center; }
  .seed--hero { width: min(230px, 55vw); }
  .hero-title { white-space: normal; letter-spacing: 0.12em; }

  .statement { padding: 72px 0 84px; }
  .statement .seed { margin-bottom: 40px; }
  .seed--statement { width: 120px; }

  .footer-grid { row-gap: 36px; }
  .legal { gap: 28px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
