/* =====================================================================
   Page-specific art direction. Every public page gets its own cover and
   supporting layout while still using the CMS-controlled theme variables.
   ===================================================================== */

.page-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.page-cover > .wrap { position: relative; z-index: 2; }
.page-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.page-cover h1 { color: #fff; margin-bottom: 12px; }
.page-cover p { color: rgba(255, 255, 255, .78); max-width: 720px; margin: 0; }
.page-cover .eyebrow { color: var(--gold); }
.page-cover .breadcrumb { color: rgba(255, 255, 255, .62); margin-bottom: 20px; }
.page-cover .breadcrumb a { color: var(--gold); }
.page-cover .breadcrumb a:hover { color: #fff; }
.cover-light h1, .cover-light p { color: var(--forest-dark); }
.cover-light p { color: var(--charcoal-soft); }
.cover-light .breadcrumb { color: var(--muted); }
.cover-light .breadcrumb a { color: var(--forest); }
.cover-light .eyebrow { color: var(--gold-dark); }
.cover-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cover-actions .btn-text { color: #fff; }
.anchor { display: block; position: relative; top: -100px; visibility: hidden; }
.gallery-cover-meta .icon, .contact-chip .icon { flex: none; }

/* ---------------------------------------------------------------- about */
.cover-story {
  padding: 86px 0;
  background: var(--cream) url('../img/real/office.jpg') right center / cover no-repeat;
}
.cover-story::before {
  background: linear-gradient(90deg, var(--cream) 0%, rgba(247, 245, 236, .98) 48%, rgba(247, 245, 236, .32) 100%);
}
.story-cover-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 58px;
  align-items: center;
  min-height: 360px;
}
.story-cover-copy p { max-width: 620px; }
.story-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  color: var(--forest); font-size: .78rem; font-weight: 800;
  letter-spacing: .06em; box-shadow: var(--shadow-xs);
}
.story-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.story-index a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
  color: var(--forest); font-size: .82rem; font-weight: 700;
}
.story-index a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.story-index small { color: var(--gold-dark); font-size: .72rem; }
.story-cover-visual { position: relative; padding: 0 18px 22px 0; }
.story-cover-visual::before {
  content: ''; position: absolute; inset: 20px 0 0 20px;
  border: 1px solid rgba(22, 66, 49, .22); border-radius: var(--radius-lg);
}
.story-cover-visual img {
  position: relative; width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.story-badge {
  position: absolute; left: -22px; bottom: 0; z-index: 1;
  max-width: 230px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--forest); color: #fff; box-shadow: var(--shadow-md);
}
.story-badge span { display: block; color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.story-badge strong { display: block; margin-top: 5px; font-size: .96rem; line-height: 1.45; }

.story-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.story-tile {
  position: relative; min-height: 235px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.story-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-tile:hover img { transform: scale(1.05); }
.story-tile::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 32%, rgba(8, 31, 22, .88)); }
.story-tile span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; font-weight: 700; }

/* -------------------------------------------------------- farmer services */
.cover-operations {
  padding: 88px 0;
  background: var(--forest-dark) url('../img/real/tractor.jpg') center / cover no-repeat;
}
.cover-operations::before {
  background: linear-gradient(100deg, rgba(8, 31, 22, .97), rgba(13, 42, 30, .88) 56%, rgba(13, 42, 30, .46));
}
.ops-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: 58px;
  align-items: center;
}
.ops-visual { position: relative; min-height: 370px; }
.ops-main-photo {
  position: absolute; inset: 0 58px 26px 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.ops-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.ops-tile {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--forest-dark);
  font-size: .83rem; font-weight: 800; box-shadow: var(--shadow-md);
}
.ops-tile .icon { width: 19px; height: 19px; color: var(--leaf); }
.ops-tile-1 { top: 12px; right: 0; }
.ops-tile-2 { bottom: 42px; right: -10px; }
.ops-tile-3 { left: 0; bottom: 0; }

.service-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.path-card {
  position: relative; min-height: 220px; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--radius); overflow: hidden; color: #fff;
  background-color: var(--forest); background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: #fff; }
.path-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 31, 22, .18), rgba(8, 31, 22, .9)); }
.path-card > * { position: relative; z-index: 1; }
.path-card small { color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.path-card strong { margin-top: 4px; font-size: 1.06rem; line-height: 1.4; }
.path-card:nth-child(1) { background-image: url('../img/real/seeds.jpg'); }
.path-card:nth-child(2) { background-image: url('../img/real/wheat.jpg'); }
.path-card:nth-child(3) { background-image: url('../img/real/office.jpg'); }
.path-card:nth-child(4) { background-image: url('../img/real/training.jpg'); }

/* ----------------------------------------------------------- market rates */
.cover-market {
  padding: 82px 0;
  background: var(--forest-dark) url('../img/real/wheat.jpg') center / cover no-repeat;
}
.cover-market::before {
  background: linear-gradient(100deg, rgba(8, 31, 22, .97), rgba(13, 42, 30, .9) 62%, rgba(13, 42, 30, .46));
}
.market-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 54px;
  align-items: end;
}
.market-brief {
  padding: 28px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .96); color: var(--charcoal);
  box-shadow: var(--shadow-lg);
}
.market-brief-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--forest); }
.market-brief-head .icon { width: 20px; height: 20px; color: var(--leaf); }
.market-brief-head strong { font-size: .9rem; letter-spacing: .06em; }
.market-brief-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: .86rem;
}
.market-brief-row span { color: var(--muted); }
.market-brief-row strong { color: var(--forest-dark); text-align: right; }
.market-brief-note { margin-top: 14px !important; color: var(--muted); font-size: .8rem; line-height: 1.7; }

/* --------------------------------------------------------- board / people */
.cover-governance {
  padding: 84px 0;
  background: var(--cream) url('../img/real/meeting.jpg') right center / cover no-repeat;
}
.cover-governance::before {
  background: linear-gradient(90deg, var(--cream) 0%, rgba(247, 245, 236, .98) 52%, rgba(247, 245, 236, .28) 100%);
}
.gov-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 54px; align-items: center; min-height: 340px;
}
.gov-visual { position: relative; padding: 0 0 24px 22px; }
.gov-photo { position: relative; height: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.gov-photo img { width: 100%; height: 100%; object-fit: cover; }
.gov-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 31, 22, .62)); }
.gov-term {
  position: absolute; top: -20px; right: -14px; z-index: 2;
  padding: 16px 20px; border-radius: var(--radius); background: var(--forest); color: #fff; box-shadow: var(--shadow-md);
}
.gov-term span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.gov-term strong { display: block; font-size: 1.45rem; line-height: 1.2; margin-top: 4px; }
.gov-count {
  position: absolute; left: -20px; bottom: 0; z-index: 2;
  padding: 14px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md);
}
.gov-count strong { display: block; color: var(--forest); font-size: 1.5rem; line-height: 1; }
.gov-count span { font-size: .74rem; color: var(--muted); font-weight: 700; }

.board-intro {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--forest-pale); border: 1px solid var(--line);
}
.board-intro p { margin: 0; max-width: 720px; color: var(--charcoal-soft); font-size: .92rem; }
.board-term-pill {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 9px 16px; border-radius: var(--radius-pill); background: var(--forest); color: #fff;
  font-size: .82rem; font-weight: 800;
}
.board-term-pill .icon { width: 16px; height: 16px; color: var(--gold); }

/* --------------------------------------------------------------- notices */
.cover-notice {
  padding: 82px 0;
  background: var(--forest-deep) url('../img/real/office.jpg') center / cover no-repeat;
}
.cover-notice::before {
  background: linear-gradient(100deg, rgba(8, 31, 22, .97), rgba(13, 42, 30, .84) 58%, rgba(13, 42, 30, .44));
}
.notice-cover-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 54px; align-items: center;
}
.notice-board-visual { position: relative; min-height: 330px; }
.notice-paper {
  position: absolute; inset: 12px 22px 26px 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; border-radius: var(--radius);
  background: var(--cream); color: var(--forest-dark);
  transform: rotate(-1.4deg); box-shadow: var(--shadow-lg);
}
.notice-paper::before {
  content: ''; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 5px; background: rgba(201, 162, 39, .78);
}
.notice-paper span { color: var(--gold-dark); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.notice-paper strong { display: block; margin-top: 6px; font-size: 1.5rem; }
.notice-paper .icon { width: 46px; height: 46px; color: var(--leaf); }
.notice-badge {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  padding: 16px 20px; border-radius: var(--radius); background: var(--forest); color: #fff; box-shadow: var(--shadow-md);
}
.notice-badge strong { display: block; font-size: 1.35rem; color: var(--gold); line-height: 1; }
.notice-badge span { font-size: .72rem; font-weight: 700; }

/* ---------------------------------------------------------------- gallery */
.cover-gallery { min-height: 430px; padding: 0; background: var(--forest-dark); }
.gallery-cover-strip { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.gallery-cover-strip img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cover-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 31, 22, .96), rgba(8, 31, 22, .76) 56%, rgba(8, 31, 22, .34));
}
.gallery-cover-inner { position: relative; z-index: 2; padding: 94px 0 100px; }
.gallery-cover-inner p { max-width: 680px; }
.gallery-cover-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.gallery-cover-meta span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  font-size: .8rem; font-weight: 700;
}
.gallery-cover-meta strong { color: var(--gold); }

.gallery-category {
  position: relative; min-height: 215px; padding: 24px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background-color: var(--forest);
  background-size: cover; background-position: center; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-category:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: #fff; }
.gallery-category::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 31, 22, .08), rgba(8, 31, 22, .88)); }
.gallery-category > * { position: relative; z-index: 1; }
.gallery-category span { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gallery-category h3 { color: #fff; margin-top: 5px; }
.gallery-category p { color: rgba(255, 255, 255, .78); font-size: .82rem; margin-top: 4px; }
.gallery-category:nth-child(5n+1) { background-image: url('../img/real/farmer-field.jpg'); }
.gallery-category:nth-child(5n+2) { background-image: url('../img/real/seeds.jpg'); }
.gallery-category:nth-child(5n+3) { background-image: url('../img/real/tractor.jpg'); }
.gallery-category:nth-child(5n+4) { background-image: url('../img/real/meeting.jpg'); }
.gallery-category:nth-child(5n+5) { background-image: url('../img/real/training.jpg'); }

/* -------------------------------------------------------------- grievance */
.cover-assistance {
  padding: 82px 0;
  background: var(--forest-dark) url('../img/real/training.jpg') center / cover no-repeat;
}
.cover-assistance::before {
  background: linear-gradient(100deg, rgba(8, 31, 22, .97), rgba(13, 42, 30, .9) 58%, rgba(13, 42, 30, .5));
}
.assist-cover-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  gap: 54px; align-items: center;
}
.assist-steps {
  padding: 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .96); color: var(--forest-dark); box-shadow: var(--shadow-lg);
}
.assist-steps > strong { display: block; margin-bottom: 10px; font-size: .92rem; }
.assist-step { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.assist-step:last-child { border-bottom: 0; padding-bottom: 0; }
.assist-step > span {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest-soft); color: var(--forest);
  font-size: .76rem; font-weight: 800;
}
.assist-step p { margin: 0; font-size: .84rem; color: var(--charcoal-soft); line-height: 1.6; }
.assist-step strong { display: block; color: var(--forest-dark); font-size: .88rem; }
.assist-step-note { margin-top: 12px !important; color: var(--muted); font-size: .78rem; }

.assist-panel {
  position: relative; overflow: hidden; padding: 28px;
  border-radius: var(--radius-lg); background: var(--forest-pale); border: 1px solid var(--line);
}
.assist-panel::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: url('../img/real/office.jpg') center / cover; opacity: .1;
}
.assist-panel > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- contact */
.cover-contact {
  padding: 82px 0;
  background: var(--forest-dark) url('../img/real/office.jpg') right center / cover no-repeat;
}
.cover-contact::before {
  background: linear-gradient(100deg, rgba(8, 31, 22, .97), rgba(13, 42, 30, .88) 58%, rgba(13, 42, 30, .42));
}
.contact-cover-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 54px; align-items: center;
}
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; font-size: .82rem; font-weight: 600;
}
.contact-chip .icon { width: 16px; height: 16px; color: var(--gold); }
.contact-cover-visual { position: relative; padding: 0 18px 22px 0; }
.contact-cover-visual img {
  position: relative; width: 100%; height: 335px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.contact-pin {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius);
  background: #fff; color: var(--forest-dark); box-shadow: var(--shadow-md);
  font-size: .84rem; font-weight: 700;
}
.contact-pin .icon { width: 18px; height: 18px; color: var(--leaf); }

.location-card {
  position: relative; overflow: hidden;
  border-left: 4px solid var(--leaf);
}
.location-card::after {
  content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px;
  border-radius: 50%; background: url('../img/real/office.jpg') center / cover; opacity: .07;
}

/* ------------------------------------------------------- utility / system */
.cover-document {
  padding: 66px 0 54px;
  background: var(--cream); border-bottom-color: var(--line);
}
.cover-document::before { background: linear-gradient(90deg, rgba(247, 245, 236, .98), rgba(247, 245, 236, .86)); }
.cover-document::after {
  content: ''; position: absolute; z-index: 0; right: -70px; top: -90px;
  width: 380px; height: 380px; border-radius: 50%;
  background: url('../img/real/seeds.jpg') center / cover; opacity: .12;
}
.cover-document .wrap { z-index: 2; }
.cover-document h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
.cover-document p { max-width: 680px; }

.cover-result {
  padding: 70px 0 58px;
  background: var(--forest-deep) url('../img/real/office.jpg') center / cover no-repeat;
}
.cover-result::before { background: linear-gradient(100deg, rgba(8, 31, 22, .96), rgba(13, 42, 30, .86)); }
.cover-result h1 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .story-cover-inner, .ops-cover-grid, .market-cover-grid, .gov-cover-grid,
  .notice-cover-grid, .assist-cover-grid, .contact-cover-grid { gap: 34px; }
  .ops-visual { min-height: 330px; }
  .ops-main-photo { inset: 0 42px 24px 0; }
  .service-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-band { grid-template-columns: 1fr 1fr; }
  .story-band .story-tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .cover-story, .cover-operations, .cover-market, .cover-governance,
  .cover-notice, .cover-assistance, .cover-contact { padding: 64px 0; }
  .story-cover-inner, .ops-cover-grid, .market-cover-grid, .gov-cover-grid,
  .notice-cover-grid, .assist-cover-grid, .contact-cover-grid { grid-template-columns: 1fr; gap: 38px; }
  .story-cover-visual, .gov-visual, .contact-cover-visual { max-width: 560px; }
  .story-cover-visual img, .gov-photo, .contact-cover-visual img { height: 290px; }
  .ops-visual { max-width: 560px; min-height: 310px; }
  .ops-main-photo { inset: 0 34px 20px 0; }
  .ops-tile-2 { right: 0; }
  .notice-board-visual { max-width: 520px; min-height: 290px; }
  .gallery-cover-inner { padding: 72px 0 78px; }
  .gallery-cover-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-brief, .assist-steps { max-width: 560px; }
  .gov-term, .gov-count, .story-badge, .contact-pin { position: static; margin-top: 14px; }
  .story-cover-visual::before { display: none; }
}
@media (max-width: 560px) {
  .page-cover h1 { font-size: 2rem; }
  .cover-actions .btn { width: 100%; }
  .story-band, .service-path, .gallery-cover-strip { grid-template-columns: 1fr; }
  .story-band .story-tile:last-child { grid-column: auto; }
  .story-tile { min-height: 210px; }
  .ops-visual { min-height: 280px; }
  .ops-main-photo { inset: 0 20px 20px 0; }
  .ops-tile { font-size: .74rem; padding: 10px 12px; }
  .ops-tile-3 { left: -6px; }
  .market-brief-row { flex-direction: column; gap: 3px; }
  .market-brief-row strong { text-align: left; }
  .gallery-cover-inner { padding: 62px 0 68px; }
  .gallery-cover-meta span { width: 100%; }
  .contact-chip { width: 100%; }
}
@media print {
  .page-cover { background: #fff !important; padding: 0 0 18px !important; }
  .page-cover::before, .page-cover::after, .gallery-cover-strip, .gallery-cover-shade { display: none !important; }
  .page-cover h1, .page-cover p, .cover-light h1, .cover-light p { color: #000 !important; }
}

/* =====================================================================
   Shell refinements — logo-only branding, sharper header, compact footer.
   ===================================================================== */
.brand-text { display: none !important; }
.site-header .brand { gap: 14px; }
.site-header .brand-mark {
  width: 58px; height: 58px; border-radius: 17px;
  border-color: rgba(22, 66, 49, .14); background: #fff;
  transition: width .2s ease, height .2s ease, transform .2s ease;
}
.site-header .brand-mark:hover { transform: translateY(-2px); border-color: var(--gold); }
.site-header.is-stuck .brand-mark { width: 50px; height: 50px; border-radius: 14px; }
.header-divider { width: 1px; height: 30px; flex: none; background: var(--line); margin-left: 2px; }
.site-header.is-stuck .header-divider { height: 26px; }
.topbar { height: 36px; }
.topbar-left, .topbar-links { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar-hours { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .6); }
.topbar-hours::before { content: ''; width: 1px; height: 12px; background: rgba(255, 255, 255, .2); margin-right: 5px; }
.topbar-links .topbar-status { color: var(--gold); font-weight: 700; }
.header-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); background: #fff; color: var(--forest);
  transition: all .18s ease;
}
.header-icon .icon { width: 17px; height: 17px; }
.header-icon:hover { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateY(-2px); }
.nav-item.is-active .nav-link { position: relative; }
.nav-item.is-active .nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 5px;
  width: 16px; height: 2px; border-radius: 2px; background: var(--gold);
  transform: translateX(-50%);
}
.header-cta { padding: 10px 20px; }

/* Compact, premium footer */
.footer-cta-inner { padding: 18px 0; gap: 24px; }
.footer-cta h2 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); margin: 4px 0; }
.footer-cta p { font-size: .8rem; line-height: 1.5; }
.footer-cta .eyebrow { font-size: .64rem; }
.footer-cta-actions .btn { padding: 9px 18px; font-size: .78rem; }
.footer-top {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .82fr) minmax(0, .9fr) minmax(0, .82fr);
  gap: 26px; padding: 28px 0 18px; align-items: start;
}
.footer-brand { margin-bottom: 8px; }
.footer-brand .brand-mark {
  width: 56px; height: 56px; border-radius: 16px; padding: 8px;
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}
.footer-brand .brand-mark img { padding: 0; }
.footer-tagline { font-size: .78rem; line-height: 1.45; margin-bottom: 10px; max-width: 360px; }
.footer-contact-card {
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08);
}
.footer-mini-heading {
  display: block; margin-bottom: 6px; color: var(--gold);
  font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.footer-contact { gap: 5px; }
.footer-contact li { font-size: .74rem; line-height: 1.35; }
.footer-contact .icon { width: 13px; height: 13px; margin-top: 2px; }
.footer-col h3 { margin-bottom: 9px; font-size: .7rem; }
.footer-links { gap: 4px; }
.footer-links a { font-size: .75rem; line-height: 1.3; display: block; }
.footer-links .icon { width: 12px; height: 12px; color: var(--gold); vertical-align: -1px; }
.footer-office-col .footer-links .icon { color: var(--gold); }
.footer-hours {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 10px; padding: 8px 10px; border-radius: var(--radius-sm);
  background: rgba(201, 162, 39, .1); border: 1px solid rgba(201, 162, 39, .18);
  color: rgba(255, 255, 255, .76); font-size: .72rem; line-height: 1.4;
}
.footer-hours .icon { width: 13px; height: 13px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-bottom { padding: 10px 0; font-size: .72rem; }
.footer-bottom-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-seal { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 700; }
.footer-seal .icon { width: 14px; height: 14px; }
.footer-legal { gap: 18px; }

@media (max-width: 1120px) {
  .topbar-hours { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-contact-card { max-width: 620px; }
}
@media (max-width: 860px) {
  .footer-cta-inner { padding: 20px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px 0 16px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-header .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
  .site-header.is-stuck .brand-mark { width: 44px; height: 44px; }
  .header-divider { display: none; }
  .header-icon { display: none; }
  .footer-cta-inner { padding: 14px 0; align-items: flex-start; }
  .footer-cta h2 { font-size: 1.15rem; }
  .footer-cta p { display: none; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1; justify-content: center; padding: 8px 10px; font-size: .72rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0 14px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-brand .brand-mark { width: 52px; height: 52px; }
  .footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }
  .footer-contact li:nth-child(2) { grid-column: 1 / -1; }
  .footer-hours { padding: 7px 9px; font-size: .68rem; }
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-legal { gap: 10px 14px; }
}
@media print {
  .header-divider, .header-icon, .footer-cta, .back-to-top { display: none !important; }
}

/* =====================================================================
   Document pages — a complete editorial layout instead of a text column.
   ===================================================================== */
.cover-document.doc-hero {
  --doc-photo: url('../img/real/seeds.jpg');
  padding: 58px 0 64px;
  background-color: var(--cream);
  background-image: var(--doc-photo);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cover-document.doc-hero::before {
  background: linear-gradient(90deg, var(--cream) 0%, rgba(247, 245, 236, .98) 44%, rgba(247, 245, 236, .48) 100%);
}
.cover-document.doc-hero::after { display: none; }
.doc-cover-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr);
  gap: 40px;
  align-items: center;
  min-height: 255px;
}
.doc-cover-inner h1 { max-width: 720px; }
.doc-cover-visual { position: relative; padding: 0 16px 18px 0; }
.doc-cover-visual::before {
  content: ''; position: absolute; inset: 16px 0 0 16px;
  border: 1px solid rgba(22, 66, 49, .2); border-radius: var(--radius-lg);
}
.doc-cover-photo {
  position: relative; height: 225px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.doc-cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-cover-badge {
  position: absolute; left: -18px; bottom: 0; z-index: 2;
  padding: 12px 16px; border-radius: var(--radius);
  background: var(--forest); color: #fff; box-shadow: var(--shadow-md);
}
.doc-cover-badge span {
  display: block; color: var(--gold); font-size: .63rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.doc-cover-badge strong { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.35; }

.doc-section { padding-top: 54px; }
.doc-layout { grid-template-columns: minmax(0, 1fr) 318px; gap: 30px; }
.doc-sheet {
  position: relative; overflow: hidden; padding: 34px;
  border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.doc-sheet::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--leaf) 55%, var(--gold));
}
.doc-sheet-top {
  display: grid; grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px; align-items: center;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-soft);
}
.doc-sheet-top h2 {
  margin: 6px 0 8px; font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--forest-dark); line-height: 1.25;
}
.doc-lead { margin: 0; color: var(--charcoal-soft); font-size: .95rem; line-height: 1.7; }
.doc-sheet-image {
  position: relative; height: 150px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs);
}
.doc-sheet-image img { width: 100%; height: 100%; object-fit: cover; }
.doc-sheet-stamp {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px; border-radius: 10px;
  background: rgba(8, 31, 22, .86); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .05em;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.doc-sheet-stamp .icon { width: 15px; height: 15px; color: var(--gold); }
.doc-prose { margin-top: 24px; }
.doc-prose h2, .doc-prose h3 { scroll-margin-top: 110px; color: var(--forest-dark); }
.doc-prose h2 { padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); font-size: 1.35rem; }
.doc-prose h3 { font-size: 1.08rem; }
.doc-prose li { margin-bottom: .65rem; }
.doc-prose li::marker { color: var(--gold-dark); }
.doc-footnote {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 28px; padding: 15px 17px; border-radius: var(--radius-sm);
  background: var(--forest-pale); border: 1px solid var(--line);
  font-size: .84rem; font-weight: 600; color: var(--charcoal-soft);
}
.doc-footnote .icon { width: 18px; height: 18px; flex: none; color: var(--leaf); margin-top: 1px; }

.doc-rail {
  position: sticky; top: calc(var(--header-h) + 18px);
  display: flex; flex-direction: column; gap: 14px;
}
.doc-rail-card {
  padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.doc-rail-card h3 {
  margin: 0 0 12px; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--forest);
}
.doc-toc a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 9px;
  color: var(--charcoal-soft); font-size: .82rem; font-weight: 600; line-height: 1.35;
}
.doc-toc a:first-of-type { background: var(--forest-pale); color: var(--forest-dark); }
.doc-toc a:hover { background: var(--forest-soft); color: var(--forest); }
.doc-toc a.is-sub { padding-left: 22px; font-size: .79rem; }
.doc-toc a span {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest);
  color: #fff; font-size: .64rem; font-weight: 800;
}
.doc-help { position: relative; overflow: hidden; }
.doc-help::after {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--gold); opacity: .1;
}
.doc-rail-icon {
  display: grid; place-items: center; width: 34px; height: 34px;
  margin-bottom: 10px; border-radius: 10px;
  background: var(--forest-soft); color: var(--forest);
}
.doc-rail-icon .icon { width: 17px; height: 17px; }
.doc-help p { margin: 0 0 12px; font-size: .8rem; line-height: 1.6; color: var(--muted); }
.doc-help-line {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: .8rem; font-weight: 700; color: var(--forest-dark);
}
.doc-help-line .icon { width: 14px; height: 14px; color: var(--leaf); flex: none; }
.doc-help-btn { width: 100%; margin-top: 12px; justify-content: center; padding: 9px 14px; font-size: .8rem; }
.doc-useful a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 14px;
  gap: 11px; align-items: center; padding: 9px 0;
  border-top: 1px solid var(--line-soft); color: var(--charcoal);
}
.doc-useful a:first-of-type { border-top: 0; }
.doc-useful img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.doc-useful span { font-size: .8rem; font-weight: 700; line-height: 1.35; }
.doc-useful .icon { width: 14px; height: 14px; color: var(--leaf); }
.doc-useful a:hover span { color: var(--forest); }
.doc-back {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px; background: var(--forest); color: #fff;
  font-size: .8rem; font-weight: 800;
}
.doc-back .icon { width: 15px; height: 15px; color: var(--gold); }
.doc-back:hover { color: #fff; background: var(--forest-dark); }

@media (max-width: 1120px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .doc-sheet { padding: 28px; }
  .doc-cover-inner { gap: 28px; }
}
@media (max-width: 860px) {
  .doc-hero { padding: 54px 0; }
  .doc-cover-inner { grid-template-columns: 1fr; gap: 28px; }
  .doc-cover-visual { max-width: 520px; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-rail { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .doc-rail-card.doc-back { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .doc-hero { padding: 42px 0 48px; }
  .doc-cover-photo { height: 190px; }
  .doc-cover-badge { position: static; margin-top: 12px; }
  .doc-cover-visual::before { display: none; }
  .doc-cover-visual { padding: 0; }
  .doc-sheet { padding: 22px 18px; }
  .doc-sheet-top { grid-template-columns: 1fr; gap: 18px; }
  .doc-sheet-image { height: 130px; }
  .doc-rail { grid-template-columns: 1fr; }
  .doc-footnote { flex-direction: column; }
}
@media print {
  .doc-rail, .doc-cover-visual, .doc-sheet-image, .doc-footnote { display: none !important; }
  .doc-sheet { box-shadow: none; border: 0; padding: 0; }
}
