/* ============================================================
   Upcyx — brand styles
   Palette and type per the official Upcyx BrandBoard:
   #397027 green · #3B9CC8 blue · #F89E00 orange · #5F3400 brown · #DCDFE4 grey
   Headlines: Comfortaa (the logo wordmark) · Body: Esteban
   ============================================================ */

:root {
  --blue: #3b9cc8;
  --blue-deep: #2b7ba0;
  --green: #397027;
  --green-mid: #1f4d3a;
  --green-deep: #0f3d2e;
  --orange: #f89e00;
  --orange-deep: #e09900;
  --brown: #5f3400;
  --grey: #dcdfe4;
  --ink: #2e463c;
  --ink-soft: #5a6f64;
  --paper: #ffffff;
  --paper-tint: #f3f8f5;
  --line: #e2ebe6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 61, 46, 0.10);
  --shadow-soft: 0 4px 14px rgba(15, 61, 46, 0.07);
  --grad: linear-gradient(90deg, var(--blue), var(--green));
  --font-head: "Comfortaa", "Trebuchet MS", sans-serif;
  --font-body: "Esteban", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; }

.container { width: min(1140px, 92%); margin-inline: auto; }

.section { padding: 88px 0; }
.section-tint { background: var(--paper-tint); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 18px; }

.section-title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 0;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(248, 158, 0, 0.35);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

/* Logo paints larger than the bar: negative margins let it fill the header
   without adding to its height (matches the upcyx.com header look) */
.logo-link img { height: 78px; width: auto; margin: -12px 0; }

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

.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover { color: var(--blue-deep); }
.main-nav a.active { color: var(--green); border-color: var(--green); }

.main-nav .btn { padding: 11px 24px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--green-mid);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: url("../img/hero-forest.webp") center 65% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 42, 32, 0.78) 8%, rgba(15, 61, 46, 0.45) 55%, rgba(59, 156, 200, 0.25));
}

.hero-inner { position: relative; padding: 110px 0; max-width: 720px; }

.hero .eyebrow { color: #bfe3f5; }

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(10, 42, 32, 0.45);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 54ch;
  margin-bottom: 34px;
  color: #eef7f2;
  text-shadow: 0 1px 10px rgba(10, 42, 32, 0.45);
}

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

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  color: #fff;
  background: url("../img/bg-leaves.jpg") center / cover no-repeat;
  text-align: center;
}

.page-hero.sky { background: url("../img/bg-sky.webp") center / cover no-repeat; }

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 61, 46, 0.82), rgba(31, 77, 58, 0.55) 55%, rgba(59, 156, 200, 0.45));
}

.page-hero-inner { position: relative; padding: 96px 0 88px; }

.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: 16px; }

.page-hero p { font-size: 1.15rem; max-width: 64ch; margin-inline: auto; color: #ebf5ef; }

/* ---------- story / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split .visual { position: relative; }

.split .visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.emblem-float {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 120px;
  padding: 18px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split p + p { margin-top: 16px; }
.split p + .btn { margin-top: 28px; }
.split .lede + p, .split h2 + p { margin-top: 16px; }

.pronounce {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--paper-tint);
  border: 1px dashed var(--blue);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 0.95rem;
}

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

a.card { text-decoration: none; color: inherit; }

.card-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--blue-deep);
}

a.card:hover .card-more { text-decoration: underline; }

.card img { height: 210px; width: 100%; object-fit: cover; }

.card-body { padding: 26px 26px 30px; flex: 1; }

.card-body h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--green-mid); }

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

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

/* ---------- vision / mission band ---------- */

.vm-band { display: grid; grid-template-columns: 1fr 1fr; position: relative; }

/* Cells are equal-height grid tracks; centring inside each one keeps the two
   text blocks optically aligned even though the mission runs to two lines,
   and the extra inner padding clears the emblem straddling the seam */
.vm-cell {
  padding: 76px 9%;
  color: #fff;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vm-cell.vision { padding-right: 12%; }
.vm-cell.mission { padding-left: 12%; }

/* Flat logo colours instead of gradients (white text: 4.8:1 and 6.0:1) */
.vm-cell.vision { background: var(--blue-deep); }
.vm-cell.mission { background: var(--green); }

.vm-cell .eyebrow { color: rgba(255, 255, 255, 0.85); }

/* No max-width: Comfortaa is wide, and capping it broke "A World Without
   Waste" across three lines. Let the cell padding do the constraining. */
.vm-cell h3 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); text-wrap: balance; }

.vm-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  padding: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- brands ---------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 38px 34px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

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

.brand-visit {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-deep);
}

a.brand-card:hover .brand-visit { text-decoration: underline; }

.brand-card img { height: 130px; width: auto; margin: 0 auto 20px; object-fit: contain; }

.brand-card h3 { font-size: 1.2rem; color: var(--green-mid); margin-bottom: 8px; }

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

/* ---------- projects ---------- */

.project-list { display: grid; gap: 28px; }

/* One row per project so the list stays readable as more are added */
.project {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Top-aligned: cards vary a lot in copy length, and centring left the image
   marooned in the middle of a tall empty panel. This lines it up with the title. */
.project-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 34px 34px;
  min-height: 240px;
}

.project-media.light { background: var(--paper-tint); }

/* Tall enough that a portrait book cover still reads at card size */
.project-media img { max-height: 280px; max-width: 100%; width: auto; object-fit: contain; }

/* Stands in where a project has no cover image yet */
.project-wordmark {
  display: block;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--green-mid);
}

.project-wordmark small {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.project-body { padding: 36px 38px 38px; }

.project-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--green-mid); margin-bottom: 10px; }

.project-body .lede { font-size: 1.06rem; margin-bottom: 14px; }

.project-body p { color: var(--ink-soft); }

.impact-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.impact-list li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--green-mid);
  background: var(--paper-tint);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 999px;
}

.project-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.more-projects {
  margin-top: 34px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- beliefs, culture + values (about) ---------- */

.belief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 46px;
  text-align: left;
}

.belief {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 30px 32px 30px 88px;
}

.belief-num {
  position: absolute;
  left: 30px;
  top: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--grey);
}

.belief:nth-child(1) .belief-num { color: #b9d3ae; }
.belief:nth-child(2) .belief-num { color: #a8cfe4; }
.belief:nth-child(3) .belief-num { color: #f6cd85; }
.belief:nth-child(4) .belief-num { color: #c2a173; }

.belief h3 { font-size: 1.18rem; color: var(--green-mid); margin-bottom: 8px; }

.belief p { font-size: 0.97rem; color: var(--ink-soft); }

/* Culture block reverses the split so the photo sits left of the copy */
.split.reverse .visual { order: -1; }

.split.reverse p + p { margin-top: 16px; }

.culture-close {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--green-mid);
}

/* Flex rather than grid: there are seven values, and a 4-column grid stranded
   the last three against a ragged gap. Centred wrapping makes it 4-over-3. */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 46px;
}

.value {
  flex: 0 1 245px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 30px 24px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.value h3 { font-size: 1.12rem; color: var(--green-mid); }

/* Short brand-coloured rule instead of a heavy top border */
.value h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin: 11px auto 13px;
  border-radius: 2px;
  background: var(--green);
}

.value:nth-child(2) h3::after { background: var(--blue); }
.value:nth-child(3) h3::after { background: var(--orange); }
.value:nth-child(4) h3::after { background: var(--brown); }
.value:nth-child(5) h3::after { background: var(--blue); }
.value:nth-child(6) h3::after { background: var(--orange); }
.value:nth-child(7) h3::after { background: var(--brown); }

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

/* ---------- hemp heritage page ---------- */

.page-hero.paper { background: url("../img/hh-hero.webp") center 60% / cover no-repeat; }

/* The paper shot is very light — the default overlay leaves text muddy, so this
   variant runs deeper and lets the sheet read as texture rather than washout */
.page-hero.paper::before,
.page-hero.convergence::before {
  background: linear-gradient(115deg, rgba(12, 50, 38, 0.92), rgba(31, 77, 58, 0.78) 52%, rgba(43, 123, 160, 0.66));
}

/* Convergence Composites page: same hero as the Hemp Heritage page (product
   photo under the deep overlay, brand mark above the title) */
.page-hero.convergence { background: url("../img/bio-spools.jpg") center 58% / cover no-repeat; }

.hero-seal {
  width: 132px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 6px 18px rgba(6, 30, 22, 0.55));
}

.tick-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }

.tick-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tick-list strong { color: var(--ink); }

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

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px 22px 30px;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num small { font-size: 1.1rem; font-weight: 600; }

.stat h3 { font-size: 1.02rem; color: var(--green-mid); margin-bottom: 8px; }

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

.stat-note {
  margin: 30px auto 0;
  max-width: 68ch;
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-style: italic;
}

.spec-wrap { margin-top: 44px; overflow-x: auto; }

.weights-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.weights-table thead th {
  background: var(--green-deep);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 15px 22px;
}

.weights-table td { padding: 15px 22px; color: var(--ink-soft); font-size: 0.98rem; }

.weights-table tbody td:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-mid);
}

.weights-table tbody tr + tr td { border-top: 1px solid var(--line); }

.weights-table tbody tr:nth-child(even) { background: var(--paper-tint); }

.spec-cta { margin-top: 30px; }

.shop-line {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.sample-shot {
  margin-top: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.trademark-note {
  display: block;
  padding-bottom: 56px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- biocomposites page ---------- */

.page-hero .badge { margin-bottom: 16px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 28px;
}

.why-icon { font-size: 2.2rem; margin-bottom: 14px; }

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

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  text-align: left;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-card img { height: 260px; width: 100%; object-fit: cover; background: #f6f4ef; }

.product-body { padding: 26px 28px 30px; }

.product-body h3 { font-size: 1.3rem; color: var(--green-mid); margin-bottom: 14px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }

.spec-table th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue-deep);
  padding: 9px 14px 9px 0;
  width: 34%;
  vertical-align: top;
}

.spec-table td { padding: 9px 0; color: var(--ink-soft); }

.spec-table tr + tr th,
.spec-table tr + tr td { border-top: 1px solid var(--line); }

.bio-video {
  display: block;
  width: min(420px, 100%);
  margin: 44px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 44px;
  margin-top: 48px;
}

.team-card { text-align: center; }

.team-card img {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top; /* portrait PNGs have the name captioned below the circle — crop it, the h3 carries the name */
}

.team-card h3 { font-size: 1.35rem; margin-top: 18px; color: var(--green-mid); }

.team-card .role { font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); }

.team-card p.bio { margin-top: 12px; color: var(--ink-soft); font-size: 0.97rem; text-align: left; }

/* ---------- quote ---------- */

.quote-band {
  background: var(--green-deep);
  color: #fff;
  text-align: center;
  padding: 74px 0;
}

.quote-band blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 600;
  max-width: 30ch;
  margin: 0 auto 14px;
}

.quote-band .attribution { color: #a3d0e5; font-size: 1rem; }

/* ---------- CTA band ---------- */

/* Flat brand green — no photo, no gradient (white on #397027 = 6.0:1) */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  background: var(--green);
}

.cta-inner { position: relative; padding: 84px 0; }

.cta-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }

.cta-inner p { max-width: 58ch; margin: 0 auto 30px; color: #e8f4ee; font-size: 1.1rem; }

/* ---------- contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { font-size: 1.6rem; margin-bottom: 14px; }

.contact-info p { color: var(--ink-soft); }

.contact-channels { margin-top: 28px; display: grid; gap: 18px; }

.channel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.channel .icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad);
}

.channel h3 { font-size: 1.05rem; margin-bottom: 2px; }

.channel a { font-family: var(--font-head); color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.channel a:hover { text-decoration: underline; }

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

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--green-mid);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-tint);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.field textarea { min-height: 140px; resize: vertical; }

.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--ink-soft); }
.form-note a { font-family: var(--font-head); color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #e7f4e4;
  border: 1px solid #b5d9ab;
  color: var(--green-mid);
  font-weight: 700;
}

/* ---------- footer ---------- */

/* Same light tint as the "What We Do" band, with dark ink (8.9:1). The green
   rule is what separates it from a white section above, so keep it. */
.site-footer {
  background: var(--paper-tint);
  color: var(--ink);
  border-top: 5px solid var(--green);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding: 64px 0 48px;
}

.footer-brand img { height: 84px; width: auto; }

.footer-brand p { margin-top: 16px; font-size: 0.95rem; max-width: 34ch; }

.site-footer h4 {
  color: var(--green-deep);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer a { color: var(--ink); text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(46, 70, 60, 0.18);
  padding: 20px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .split, .contact-layout { grid-template-columns: 1fr; }

  /* Stacked, every split reads copy-then-image like the rest of the site */
  .split.reverse .visual { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: minmax(0, 480px); }
  .belief-grid { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; }
  .project-media { min-height: 200px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: minmax(0, 520px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .emblem-float { width: 92px; right: 10px; }
}

/* Nav collapses well before the other breakpoints: seven links (News was added in
   the WordPress theme) plus the CTA need roughly 1100px of container, so below
   that it becomes the drawer. */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open { max-height: 600px; }

  .main-nav a { padding: 16px 6%; border-bottom: 1px solid var(--line); }

  .main-nav .btn { margin: 16px 6%; text-align: center; }
}

@media (max-width: 720px) {
  .logo-link img { height: 60px; margin: -8px 0; }

  .card-grid, .brand-grid, .team-grid { grid-template-columns: 1fr; }

  .vm-band { grid-template-columns: 1fr; }

  .vm-cell { padding: 54px 8%; min-height: 0; }
  .vm-cell.vision, .vm-cell.mission { padding-inline: 8%; }

  .vm-emblem { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 64px 0; }
}

/* ============================================================
   WordPress additions (theme-only rules, not in the static site)
   ============================================================ */

/* Keep the sticky header below the WordPress admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Honeypot field: off-screen for people, present for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CASL consent checkbox (unticked by default, never pre-checked) */
.field-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

/* Form status rendered by the server after a no-JavaScript submit */
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdeeee; border-color: #efb9b9; color: #8a2b2b; }

/* Readable column for pages written in the normal editor (page.php) */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; color: var(--green-mid); }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; color: var(--green-mid); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--blue-deep); }
.prose img { border-radius: var(--radius); }

/* Footer menu output by WordPress carries extra classes; keep it plain */
.site-footer ul.menu, .site-footer ul { margin: 0; }

/* Four-up card row (Hemp Heritage page: three product lines plus Sazzy Cards) */
.card-grid.four { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid.four .card img { height: 180px; }
.card-grid.four .card-body { padding: 22px 20px 26px; }
@media (max-width: 1040px) { .card-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .card-grid.four { grid-template-columns: 1fr; } }

/* ---------- news (blog): listing, single post, pagination ---------- */

.news-grid { margin-top: 0; }

.post-card .card-body { display: flex; flex-direction: column; text-align: left; }

.post-date {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.post-card h3 { font-size: 1.16rem; }

.post-card .card-more { margin-top: auto; padding-top: 14px; }

.news-empty {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink-soft);
}

.pagination { margin-top: 44px; }

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
}

.pagination .page-numbers {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-mid);
  text-decoration: none;
}

.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }

.pagination a.page-numbers:hover { border-color: var(--green); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.post-wrap { max-width: 760px; margin-inline: auto; }

.post-featured {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.post-wrap .prose { max-width: none; }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.post-nav a { color: var(--blue-deep); text-decoration: none; }

.post-nav a:hover { text-decoration: underline; }

.post-nav-next { margin-left: auto; text-align: right; }

.post-back { margin-top: 34px; text-align: center; }

/* Seven menu items, one of them long ("Convergence Composites"): slightly
   smaller links and tighter gaps keep the row inside the container. */
@media (min-width: 1201px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 0.94rem; white-space: nowrap; }
  .main-nav .btn { padding: 10px 20px; font-size: 0.92rem; }
}
@media (max-width: 1320px) and (min-width: 1201px) {
  .main-nav { gap: 18px; }
}
