/* =========================================================
   Hope Food Complex
   Palette taken from the logo: field green, harvest gold,
   ribbon red, on a warm flour-paper background.
   ========================================================= */

:root {
  --paper: #f5efe2;
  --paper-2: #ebe2cc;
  --paper-3: #e2d6ba;
  --ink: #16251a;
  --ink-soft: #4a5a4c;
  --green: #1e4d2b;
  --green-deep: #0f2817;
  --green-line: rgba(245, 239, 226, 0.16);
  --gold: #e9a516;
  --gold-soft: #f4c862;
  --red: #b4232b;
  --line: rgba(22, 37, 26, 0.16);

  --f-display: "Gloock", "Georgia", serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-am: "Noto Sans Ethiopic", var(--f-body);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  z-index: 200;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

[lang="am"] { font-family: var(--f-am); }

/* ---------- shared type ---------- */

.display {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.mark::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--gold);
  z-index: -1;
  transform: skewX(-8deg) rotate(-1deg);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-stretch: 80%;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.kicker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.section { padding: clamp(80px, 11vw, 150px) 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(36px, 5vw, 64px);
  font-stretch: 80%;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-no { color: var(--red); }
.section-label { color: var(--ink-soft); }
.section-head.on-dark { border-color: var(--green-line); }
.section-head.on-dark .section-no { color: var(--gold); }
.section-head.on-dark .section-label { color: rgba(245, 239, 226, .7); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-block { width: 100%; }

.btn-text {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.btn-text span { display: inline-block; transition: transform .25s var(--ease); }
.btn-text:hover span { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 226, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 19px;
}
.brand-text span { font-size: 12px; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap;
  position: relative;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink);
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav .nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  transition: background .25s;
}
.nav .nav-cta:hover { background: var(--green); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  background: none;
  border: 0;
  font: 600 14px var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn-lines,
.menu-btn-lines::before {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-btn-lines { position: relative; transform: translateY(-3px); }
.menu-btn-lines::before { content: ""; position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn-lines { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(22, 37, 26, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 16px 0;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav .nav-cta {
    margin: 18px 0 0;
    padding: 15px;
    text-align: center;
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 600;
  }
}

@media (max-width: 420px) {
  .brand-text span { display: none; }
  .brand-text strong { font-size: 17px; }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--paper);
  overflow: hidden;
}
.hero::before {
  /* soft gold glow behind the headline */
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  left: -300px;
  top: -380px;
  background: radial-gradient(circle, rgba(233, 165, 22, .16), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: min(calc(100vh - 76px), 900px);
  max-width: 1440px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 72px) clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
@media (min-width: 1441px) {
  .hero-copy { padding-left: calc((1440px - var(--wrap)) / 2 + var(--gutter)); }
}

.hero .kicker { color: rgba(245, 239, 226, .7); }
.hero .kicker .dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(233, 165, 22, .18); }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  line-height: .95;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}
.hero .mark { color: var(--green-deep); }
.hero .mark::after { height: 0.78em; bottom: 0.02em; }

.lede {
  max-width: 31em;
  font-size: clamp(17px, 1.4vw, 19.5px);
  color: rgba(245, 239, 226, .74);
  margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.hero .btn-text { color: var(--paper); }

.hero-founder {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  margin-top: clamp(40px, 6vw, 72px);
  padding: 10px 22px 10px 10px;
  border: 1px solid rgba(245, 239, 226, .18);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .3s, background .3s;
}
img.hero-founder-mark { object-fit: cover; object-position: 50% 25%; border: 2px solid var(--gold); padding: 0; background: var(--paper); }
.hero-founder:hover { border-color: var(--gold); background: rgba(233, 165, 22, .08); }
.hero-founder > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.hero-founder-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--f-display);
  font-size: 14px;
}
.hero-founder-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 239, 226, .55);
}
.hero-founder-name { font-family: var(--f-display); font-size: 20px; }

.hero-media { position: relative; margin: 0; min-height: 520px; }
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--green-deep) 0%, rgba(15, 40, 23, 0) 22%),
              linear-gradient(0deg, rgba(15, 40, 23, .55) 0%, rgba(15, 40, 23, 0) 30%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(1.08) contrast(1.05);
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }


.hero-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 239, 226, .85);
}

.stamp {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  z-index: 2;
}
.stamp svg {
  position: absolute;
  inset: 0;
  animation: spin 60s linear infinite;
}
.stamp text {
  font-family: var(--f-body);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 13.4px;
  letter-spacing: .16em;
  fill: var(--ink);
}
.stamp img {
  position: absolute;
  inset: 32px;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .stamp svg, .hero-photo img { animation: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px var(--gutter) 48px; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 4.4; }
  .hero-photo::after { background: linear-gradient(180deg, var(--green-deep) 0%, rgba(15, 40, 23, 0) 18%); }
  .stamp { width: 108px; height: 108px; right: var(--gutter); top: auto; bottom: 22px; }
  .stamp img { inset: 25px; width: calc(100% - 50px); height: calc(100% - 50px); }
  .hero-media figcaption { display: none; }
}

/* ---------- gold button ---------- */
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-gold span { transition: transform .25s var(--ease); }
.btn-gold:hover span { transform: translateX(3px); }

/* =========================================================
   FOUNDER
   ========================================================= */

.founder-section { background: var(--paper); }

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.portrait { margin: 0; position: relative; }
.portrait::before {
  /* offset gold frame behind the portrait */
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(233, 165, 22, .22), transparent 55%),
    var(--green);
  box-shadow: 0 40px 70px -30px rgba(15, 40, 23, .6);
}
.portrait-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244, 200, 98, .35);
  border-radius: 2px;
  pointer-events: none;
}
.portrait-mono {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 14%;
  font-family: var(--f-display);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: .82;
  color: var(--gold-soft);
}
.portrait-mono span:nth-child(2) { padding-left: .45em; color: transparent; -webkit-text-stroke: 1.5px var(--gold-soft); }
.portrait-mono span:nth-child(3) { padding-left: .9em; }
.portrait-tag {
  position: absolute;
  right: 30px;
  top: 30px;
  padding: 6px 12px;
  background: var(--paper);
  color: var(--green-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.portrait figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.founder-title {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: .9;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.founder-role {
  display: inline-block;
  padding: 6px 14px;
  background: var(--red);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.founder-lead {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink);
}
.founder-copy > p:not(.founder-lead):not(.founder-role) { color: var(--ink-soft); max-width: 34em; }

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 0;
  border-top: 1.5px solid var(--ink);
}
.founder-stats div { padding: 18px 18px 0 0; }
.founder-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.founder-stats dt {
  font-stretch: 80%;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.founder-stats dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; margin-right: 26px; }
}

/* ---------- the "Next" chapter: animated blueprint ---------- */
.chapter-img-future { background: #0a1d11; }
.chapter-img-future svg { display: block; width: 100%; height: 100%; }
.bp-text {
  font-family: var(--f-body);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  fill: #f4c862;
}
.bp-text-dim { fill-opacity: .6; font-size: 9px; }
.bp-draw { animation: bpDash 1.6s linear infinite; }
.bp-gear { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
.bp-gear-rev { animation-direction: reverse; animation-duration: 6s; }
.bp-scan { animation: bpScan 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.bp-ping { transform-box: fill-box; transform-origin: center; animation: bpPing 2s ease-out infinite; }
.chapter-next:hover .bp-draw { animation-duration: .6s; }
@keyframes bpDash { to { stroke-dashoffset: -20; } }
@keyframes bpScan { from { transform: translateY(0); } to { transform: translateY(290px); } }
@keyframes bpPing { from { transform: scale(1); opacity: .8; } to { transform: scale(4.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .bp-draw, .bp-gear, .bp-scan, .bp-ping { animation: none; }
}
.chapters .chapter-next { background: var(--green-deep); color: var(--paper); }
.chapters .chapter-next h3 { color: var(--paper); }
.chapters .chapter-next p { color: rgba(245, 239, 226, .7); }
.chapters .chapter-next .chapter-year { background: none; border: 1.5px dashed var(--gold-soft); color: var(--gold-soft); }

/* =========================================================
   PROCESS
   ========================================================= */

.process {
  background: var(--green-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.process::after {
  /* oversized wheat ear, cropped by the section edge */
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 520px;
  height: 680px;
  opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260' fill='none' stroke='%23f5efe2' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M100 250V70'/%3E%3Cpath d='M100 70c-14-10-16-30 0-48 16 18 14 38 0 48z'/%3E%3Cpath d='M100 108c-22-2-36-18-36-40 22 2 36 18 36 40zM100 108c22-2 36-18 36-40-22 2-36 18-36 40zM100 146c-22-2-36-18-36-40 22 2 36 18 36 40zM100 146c22-2 36-18 36-40-22 2-36 18-36 40zM100 184c-22-2-36-18-36-40 22 2 36 18 36 40zM100 184c22-2 36-18 36-40-22 2-36 18-36 40z'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.process-intro p { color: rgba(245, 239, 226, .75); margin: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--green-line);
}
.step {
  padding: 28px 24px 8px 0;
  position: relative;
}
.step + .step { padding-left: 24px; border-left: 1px solid var(--green-line); }
.step-no {
  display: block;
  font-family: var(--f-display);
  font-size: 46px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 22px;
}
.step h3 {
  font-weight: 650;
  font-size: 18px;
  margin-bottom: 8px;
}
.step p { font-size: 15px; color: rgba(245, 239, 226, .7); margin: 0; }

@media (max-width: 980px) {
  .process-intro { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding: 26px 20px 26px 0; border-left: 0; border-bottom: 1px solid var(--green-line); }
  .step:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--green-line); }
  .step:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(2n) {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 12px;
    padding: 22px 0;
    border-left: 0;
  }
  .step-no { grid-row: span 2; font-size: 38px; margin: 0; }
}

/* =========================================================
   STORY  (chapters: deliberately unlike the founder layout)
   ========================================================= */

.story-section {
  background: var(--paper-2);
  position: relative;
}

.story-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.story-top .display { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.story-top { align-items: start; }
.story-top .display { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.story-text { padding-top: 46px; font-size: 18px; }
.story-text p { color: var(--ink-soft); }
.story-text p:first-child { color: var(--ink); }
.chapters-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}
.chapters-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  position: relative;
}
.chapter {
  --chapter-img: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 50px -44px rgba(15, 40, 23, .6);
}
.chapters { --chapter-img: 220px; }
.chapter-img {
  height: var(--chapter-img);
  overflow: hidden;
  background: var(--green);
}
.chapter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 1s var(--ease);
}
.chapter:hover .chapter-img img { transform: scale(1.05); }
.chapter-img-empty {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(244, 200, 98, .12) 14px 15px),
    var(--green-deep);
}
.chapter-img-empty span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1.5px dashed var(--gold-soft);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-size: 34px;
}
.chapter-body { padding: 22px 22px 26px; flex: 1; }
.chapter-year {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 14px;
  background: var(--gold);
  color: var(--green-deep);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chapter:first-child .chapter-year { background: var(--red); color: var(--paper); }
.chapter-next .chapter-year { background: none; border: 1.5px dashed var(--ink-soft); color: var(--ink-soft); }
.chapter h3 { font-family: var(--f-display); font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.chapter p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .story-top { grid-template-columns: 1fr; }
  .story-text { padding-top: 0; }
  .chapters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .chapters { grid-template-columns: 1fr; }
  .chapter { flex-direction: row; }
  .chapter-img { width: 112px; height: auto; flex-shrink: 0; }
  .chapter-body { padding: 18px; }
  .chapter h3 { font-size: 21px; }
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.products-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 15em;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ---------- detailed rows ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.product-flip .product-media { order: 2; }

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 1.2s var(--ease);
}
.product:hover .product-media img { transform: scale(1.03); }
.product-num {
  position: absolute;
  left: 22px;
  bottom: 10px;
  font-family: var(--f-display);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
  pointer-events: none;
}

.product-index {
  display: block;
  font-stretch: 80%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.product h3 {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 12px;
}
.product-sub {
  font-size: 19px;
  font-weight: 550;
  margin-bottom: 18px;
}
.product-copy > p:not(.product-sub) { color: var(--ink-soft); max-width: 32em; }

/* how it's made */
.how {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.how-label {
  display: block;
  font-stretch: 80%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  top: 14px;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--ink-soft) 0 4px, transparent 4px 8px);
  opacity: .4;
}
.how-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}
.how-steps b {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 14px;
}
.how-steps li:last-child b { background: var(--gold); color: var(--green-deep); }

.spec {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.spec div { padding: 14px 22px 0 0; }
.spec div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.spec dt {
  font-stretch: 80%;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spec dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }

@media (max-width: 1100px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec div, .spec div + div { padding: 12px 12px 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .spec div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product-flip .product-media { order: 0; }
  .product-media { aspect-ratio: 4 / 3; }
  .br-wide { display: none; }
}
@media (max-width: 480px) {
  .how { padding: 16px; }
  .how-steps li { font-size: 13px; }
}

/* =========================================================
   FACTORY GALLERY  (dark, staggered columns)
   ========================================================= */

.factory {
  background: var(--green-deep);
  color: var(--paper);
}

.factory-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.factory-head .display { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.factory-head p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(245, 239, 226, .65);
  font-size: 15px;
}
.factory-count {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--gold);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  padding-bottom: 90px;
}
/* middle column sits lower: an editorial, staggered rhythm */
.gallery .g-item:nth-child(3n+2) { transform: translateY(90px); }
.js .gallery .g-item.reveal:nth-child(3n+2) { transform: translateY(108px); }
.js .gallery .g-item.reveal.is-in:nth-child(3n+2) { transform: translateY(90px); }

.g-item { margin: 0; }
.g-item button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green);
  cursor: zoom-in;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 1s var(--ease), filter .6s;
}
.g-item button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 40, 23, .45), transparent 40%);
  opacity: 0;
  transition: opacity .5s;
}
.g-item:hover img { transform: scale(1.05); }
.g-item:hover button::after { opacity: 1; }
.g-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .35s, transform .35s var(--ease);
}
.g-item:hover .g-zoom,
.g-item button:focus-visible .g-zoom { opacity: 1; transform: none; }

.g-item figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 2px 0;
  font-size: 15px;
  font-weight: 550;
  color: rgba(245, 239, 226, .9);
}
.g-item figcaption b {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--gold);
  font-size: 15px;
}

@media (max-width: 860px) {
  .factory-head { flex-direction: column; align-items: start; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 56px; }
  .gallery .g-item:nth-child(3n+2),
  .js .gallery .g-item.reveal:nth-child(3n+2),
  .js .gallery .g-item.reveal.is-in:nth-child(3n+2) { transform: none; }
  .gallery .g-item:nth-child(2n),
  .js .gallery .g-item.reveal.is-in:nth-child(2n) { transform: translateY(56px); }
  .g-item figcaption { font-size: 13.5px; gap: 8px; }
  .g-zoom { opacity: 1; transform: none; width: 32px; height: 32px; font-size: 18px; right: 10px; bottom: 10px; }
}

/* =========================================================
   RECOGNITION
   ========================================================= */

.awards { background: var(--paper-2); }

.awards-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 24px clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.awards-head .display { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.awards-head p { margin: 0; color: var(--ink-soft); }

.awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  counter-reset: award;
}
.award {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 30px 50px -40px rgba(15, 40, 23, .55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.award:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 40px 60px -36px rgba(15, 40, 23, .6); }

.award-photo {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 24px);
  border: 0;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
  overflow: hidden;
  cursor: zoom-in;
}
/* the certificate sits on the card like a scanned sheet of paper */
.award-photo img {
  position: absolute;
  inset: clamp(16px, 2vw, 24px);
  width: calc(100% - 2 * clamp(16px, 2vw, 24px));
  height: calc(100% - 2 * clamp(16px, 2vw, 24px));
  object-fit: contain;
  /* drop-shadow follows the certificate itself, not the empty letterbox */
  filter: drop-shadow(0 1px 1.5px rgba(15, 40, 23, .25)) drop-shadow(0 10px 14px rgba(15, 40, 23, .22));
  transition: transform .6s var(--ease);
}
.award:hover .award-photo img { transform: scale(1.03); }
.award-photo::after {
  counter-increment: award;
  content: "0" counter(award);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--f-display);
  font-size: 15px;
}

.award-body {
  flex: 1;
  padding: 22px 24px 26px;
  border-top: 4px solid var(--gold);
}
.award-meta {
  display: block;
  font-stretch: 80%;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.award-ec { color: var(--ink-soft); font-weight: 600; letter-spacing: .06em; }
.award h3 { font-family: var(--f-display); font-size: 25px; line-height: 1.15; margin-bottom: 10px; }
.award p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .awards-head { grid-template-columns: 1fr; }
  .awards-list { grid-template-columns: 1fr; max-width: 560px; }
}

/* =========================================================
   FUTURE
   ========================================================= */

.future {
  background: var(--green);
  color: var(--paper);
}
.future-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.future-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.future .mark::after { background: var(--red); }
.future-body p { color: rgba(245, 239, 226, .8); }

.future-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--green-line);
}
.future-points li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--green-line);
  font-weight: 550;
}
.future-points span {
  font-family: var(--f-display);
  color: var(--gold);
  font-size: 18px;
  min-width: 16px;
}

@media (max-width: 860px) {
  .future-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.contact .display { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 24px; }
.contact-text { color: var(--ink-soft); max-width: 30em; margin: 0; }

.contact-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper-2);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
}
.contact-card dl { margin: 0; }
.contact-card dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card dl > div:first-child { padding-top: 0; }
.contact-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card dt {
  font-stretch: 80%;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 3px;
}
.contact-card dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.contact-card dd a { text-decoration: none; border-bottom: 1.5px solid var(--gold); transition: color .2s, border-color .2s; }
.contact-card dd a:hover { color: var(--green); border-color: var(--red); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--green-deep);
  color: var(--paper);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 40px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 72px; height: 72px; }
.footer-name { font-family: var(--f-display); font-size: 26px; margin: 0; line-height: 1.1; }
.footer-am { margin: 4px 0 0; color: rgba(245, 239, 226, .65); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px 26px; }
.footer-nav a { text-decoration: none; font-weight: 550; font-size: 15px; color: rgba(245, 239, 226, .85); }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-meta {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--green-line);
  font-size: 13.5px;
  color: rgba(245, 239, 226, .55);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: start; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 22, 15, .96);
  color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12, 22, 15, .6); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
}
.lightbox figcaption { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.lb-close {
  position: absolute;
  top: 18px; right: 18px;
  padding: 8px 14px;
  background: none;
  border: 1px solid rgba(245, 239, 226, .3);
  border-radius: var(--radius);
  color: var(--paper);
  font: 600 14px var(--f-body);
  cursor: pointer;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 226, .3);
  background: rgba(12, 22, 15, .5);
  color: var(--paper);
  font-size: 20px;
  cursor: pointer;
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================================
   REVEAL ON SCROLL (only when JS is running)
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-left: 6px;
  flex-shrink: 0;
}
.lang button {
  min-width: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font: 650 12.5px var(--f-body);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.lang button[lang="am"] { font-family: var(--f-am); letter-spacing: 0; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

@media (max-width: 1120px) {
  .lang { margin-left: auto; }
  .header-inner { gap: 12px; }
}
@media (max-width: 560px) {
  .menu-btn-label { display: none; }
  .lang button { min-width: 34px; padding: 6px 8px; font-size: 12px; }
}
@media (max-width: 440px) {
  /* phones: logo carries the name, leaving room for language + menu */
  .brand-text { display: none; }
}

/* ---------- Amharic: Ethiopic fonts and calmer spacing ---------- */

:root[lang="am"] {
  --f-display: "Noto Serif Ethiopic", "Gloock", serif;
  --f-body: "Noto Sans Ethiopic", "Archivo", sans-serif;
}
:root[lang="am"] .hero-title,
:root[lang="am"] .founder-title,
:root[lang="am"] .future-title,
:root[lang="am"] .display {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
:root[lang="am"] .hero-title { font-size: clamp(2.4rem, 5vw, 4.6rem); }
:root[lang="am"] .founder-title { font-size: clamp(2.8rem, 6vw, 5.4rem); }
:root[lang="am"] .future-title { font-size: clamp(2rem, 4.4vw, 3.8rem); }
:root[lang="am"] .display { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
/* highlight that can wrap across lines (Ethiopic phrases are longer) */
:root[lang="am"] .mark {
  white-space: normal;
  background: var(--gold);
  padding: 0 .14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
:root[lang="am"] .future .mark { background: var(--red); }
:root[lang="am"] .mark::after { display: none; }

/* Somali sentences run longer: ease the biggest headings down a little */
:root[lang="so"] .hero-title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
:root[lang="so"] .future-title { font-size: clamp(2.2rem, 4.8vw, 4.2rem); }
