/* ============================================================
   Organic Trading Company — public pages (Sole Agents / Government / About)
   Reuses the design tokens defined in /styles.css.
   ============================================================ */

/* ---- Shared page hero (navy gradient, same family as .cat-hero) ---- */
.pagehero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -20%, rgba(30, 58, 102, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 75%);
  border-bottom: 1px solid var(--navy-700);
  padding-block: 60px 76px;
}
.pagehero__inner { position: relative; }
.pagehero__title {
  margin-top: 14px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.08; color: #fff;
}
.pagehero__sub {
  margin-top: 18px; max-width: 620px;
  font-size: 17px; line-height: 1.6; color: var(--on-navy-body);
}

/* ============================================================
   Sole Agents (/sole-agents) — @client island
   ============================================================ */
.sa-section { padding-block: 56px 80px; }
.sa-list { display: flex; flex-direction: column; gap: 22px; }

.sa-row {
  display: flex; align-items: center; gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-300);
  border-top: 2px solid var(--gold-500);
  border-radius: var(--r-card);
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.sa-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }

.sa-row__main { display: flex; align-items: flex-start; gap: 22px; flex: 1; min-width: 0; }

.sa-row__logo {
  flex: 0 0 auto;
  width: 78px; height: 78px;
  display: grid; place-items: center;
  background: var(--navy-900);
  border-radius: var(--r-card);
  overflow: hidden;
}
.sa-row__logo-img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.sa-row__logo-initial { font-family: var(--font-serif); font-weight: 700; font-size: 30px; color: #fff; }

.sa-row__info { min-width: 0; }
.sa-row__heading {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.sa-row__name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--ink-900); }
.sa-row__since,
.sa-row__country {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-400);
}
.sa-row__desc {
  margin-top: 10px; max-width: 540px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-700);
}

.sa-row__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.sa-row__website,
.sa-row__products { padding: 9px 15px; font-size: 13.5px; }
.sa-row__products { border: none; }

/* ---- Authorisation note card ---- */
.sa-note {
  display: flex; align-items: flex-start; gap: 18px;
  margin-top: 18px; padding: 28px;
  background: #fff;
  border: 1px solid var(--line-300);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-2);
}
.sa-note__icon { width: 26px; height: 26px; flex: 0 0 auto; color: var(--gold-600); margin-top: 2px; }
.sa-note__text { min-width: 0; }
.sa-note__title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ink-900); }
.sa-note__body { margin-top: 8px; max-width: 760px; font-size: 14.5px; line-height: 1.65; color: var(--ink-700); }

/* ============================================================
   Government (/government) — static
   ============================================================ */
.gov-stats-section { padding-block: 64px 0; }
.gov-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-300);
  border: 1px solid var(--line-300);
  border-radius: var(--r-card);
  overflow: hidden;
}
.gov-stat {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 22px;
  background: #fff;
}
.gov-stat__figure { font-family: var(--font-serif); font-weight: 600; font-size: 32px; line-height: 1.1; color: var(--navy-800); }
.gov-stat__label { font-size: 13px; line-height: 1.4; color: var(--ink-500); }

.gov-steps__head { gap: 14px; margin-bottom: 40px; }
.gov-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gov-step {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-300);
  border-radius: var(--r-card);
}
.gov-step__num { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 40px; line-height: 1; color: var(--line-300); }
.gov-step__title { margin-top: 14px; font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ink-900); }
.gov-step__body { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-500); }

.gov-roster-section { padding-block: 72px; }
.gov-roster-section .container { position: relative; }
.gov-roster__head { gap: 14px; margin-bottom: 36px; }
.gov-roster {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
}
.gov-roster__row {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14.5px; line-height: 1.4; color: var(--on-navy-strong);
}
.gov-roster__icon { color: rgba(255, 255, 255, 0.45); }

/* ============================================================
   About (/about) — static
   ============================================================ */
.about-story {
  display: grid; grid-template-columns: 105fr 95fr;
  gap: 56px; align-items: center;
}
.about-story__title { margin-top: 14px; }
.about-story__p { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--ink-700); }

.about-story__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border: 1px solid var(--line-300);
  border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--navy-600), var(--navy-900));
  overflow: hidden;
}
.about-story__visual-icon { display: grid; place-items: center; }
.about-story__glyph { width: 64px; height: 64px; color: rgba(255, 255, 255, 0.2); }
.about-story__caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  background: rgba(20, 42, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.about-story__year { font-family: var(--font-serif); font-weight: 600; font-size: 30px; color: #fff; line-height: 1.1; }
.about-story__year-sub { font-size: 13px; line-height: 1.5; color: var(--on-navy-body); }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.about-value { display: flex; flex-direction: column; }
.about-value__num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--gold-600); }
.about-value__title { margin-top: 10px; font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink-900); }
.about-value__body { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ink-500); }

.about-tl { max-width: 820px; margin-inline: auto; }
.about-tl__row { display: flex; align-items: flex-start; gap: 28px; padding-bottom: 28px; }
.about-tl__year {
  flex: 0 0 auto; width: 120px; text-align: right;
  font-family: var(--font-serif); font-weight: 700; font-size: 26px; line-height: 1.1;
  color: var(--gold-500);
}
.about-tl__content {
  position: relative; flex: 1; min-width: 0;
  padding-left: 28px; padding-bottom: 4px;
  border-left: 1px solid var(--line-300);
}
.about-tl__dot {
  position: absolute; left: -6.5px; top: 4px;
  width: 12px; height: 12px;
  background: #fff;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
}
.about-tl__title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ink-900); }
.about-tl__body { margin-top: 6px; max-width: 520px; font-size: 14.5px; line-height: 1.65; color: var(--ink-700); }

/* ============================================================
   Responsive — single 900px breakpoint (matches /styles.css)
   ============================================================ */
@media (max-width: 900px) {
  .sa-row { flex-direction: column; align-items: stretch; }
  .sa-row__actions { justify-content: flex-start; }

  .gov-stats { grid-template-columns: 1fr 1fr; }
  .gov-steps { grid-template-columns: 1fr; }
  .gov-roster { grid-template-columns: 1fr; }

  .about-story { grid-template-columns: 1fr; gap: 36px; }
  .about-values { grid-template-columns: 1fr; gap: 32px; }
  .about-tl__year { width: 64px; font-size: 20px; }
}

@media (max-width: 560px) {
  .gov-stats { grid-template-columns: 1fr; }
  .sa-row__main { flex-direction: column; }
}
