/* Gate Pass — company-info (Cautionfield Market / Ovasta Seeds)
   Laminated GATE PASS mast · punch-clock rail · hardhat stickers ·
   asphalt lane aisles · bolted steel registry · single ENTER YARD boom.
   Replaces Site Charter. Avoids passport/patchwork/comic/airtime/foundry/
   graftline/almanac/indenture/charter plaque/workshop/field/Harborline. */

.page-a99-gatepass {
  --gp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(180deg, #cfd8e0 0%, var(--cf-field) 35%, #dce4ea 100%);
}

/* —— Asphalt mast + laminated pass —— */
.page-a99-gatepass .gp-mast {
  position: relative;
  background:
    linear-gradient(180deg, #1a1f24 0%, var(--cf-asphalt) 55%, #0c0f12 100%);
  color: #fff;
  overflow: hidden;
  padding-bottom: 36px;
}
.page-a99-gatepass .gp-mast-hazard {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--cf-signal) 0 12px,
    var(--cf-asphalt) 12px 24px
  );
  border-bottom: 3px solid #000;
}
.page-a99-gatepass .gp-mast-inner {
  padding: clamp(28px, 5vw, 48px) 0 12px;
}
.page-a99-gatepass .gp-pass {
  position: relative;
  max-width: 640px;
  padding: 22px 22px 18px;
  background:
    linear-gradient(180deg, #fffef8 0%, #f4f0e4 100%);
  color: var(--cf-ink);
  border: 3px solid #000;
  box-shadow:
    0 0 0 6px rgba(255, 230, 0, 0.35),
    8px 8px 0 #000;
  opacity: 0;
  transform: translateY(14px) rotate(-0.8deg);
  animation: gpPassIn 560ms var(--gp-ease) 80ms forwards;
}
.page-a99-gatepass .gp-pass-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.page-a99-gatepass .gp-pass-badge {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--cf-cone);
  color: var(--cf-on-cone);
  border: 3px solid #000;
  font-family: var(--cf-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  box-shadow: 2px 2px 0 #000;
}
.page-a99-gatepass .gp-pass-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cf-text-cone);
}
.page-a99-gatepass .gp-pass h1 {
  margin: 0;
  font-family: var(--cf-font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 14ch;
  color: var(--cf-ink);
}
.page-a99-gatepass .gp-pass-tag {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--cf-text-tape);
  font-size: 0.95rem;
}
.page-a99-gatepass .gp-pass-mission {
  margin: 0 0 16px;
  color: #2a323a;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 48ch;
}
.page-a99-gatepass .gp-pass-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}
.page-a99-gatepass .gp-pass-fields > div {
  padding: 8px 6px;
  background: var(--cf-field);
  border: 2px solid var(--cf-asphalt);
  text-align: center;
}
.page-a99-gatepass .gp-pass-fields dt {
  margin: 0 0 2px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf-mute);
}
.page-a99-gatepass .gp-pass-fields dd {
  margin: 0;
  font-family: var(--cf-font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cf-ink);
  line-height: 1;
}
.page-a99-gatepass .gp-pass-bar {
  display: flex;
  gap: 3px;
  height: 28px;
  align-items: stretch;
  padding: 4px;
  background: #fff;
  border: 2px solid #000;
}
.page-a99-gatepass .gp-pass-bar i {
  flex: 1;
  background: #000;
}
.page-a99-gatepass .gp-pass-bar i:nth-child(3n) { flex: 0.4; background: transparent; }
.page-a99-gatepass .gp-pass-bar i:nth-child(5n) { flex: 1.6; }

/* Stage */
.page-a99-gatepass .gp-stage {
  padding: 28px 0 clamp(48px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
}
.page-a99-gatepass .gp-sec-head { margin-bottom: 16px; }
.page-a99-gatepass .gp-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cf-text-cone);
}
.page-a99-gatepass .gp-sec-head h2 {
  margin: 0 0 8px;
  font-family: var(--cf-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cf-ink);
}
.page-a99-gatepass .gp-sec-head p {
  margin: 0;
  max-width: 48ch;
  color: var(--cf-mute);
  font-weight: 500;
}

/* Punch-clock rail */
.page-a99-gatepass .gp-punch-rail {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.page-a99-gatepass .gp-punch-rail::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 8px;
  height: 6px;
  background: var(--cf-asphalt);
  border-radius: 2px;
  z-index: 0;
}
.page-a99-gatepass .gp-punch {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  justify-items: center;
  opacity: 0;
  transform: translateY(-10px);
  animation: gpPunchIn 460ms var(--gp-ease) forwards;
  animation-delay: calc(160ms + var(--gp-i, 0) * 70ms);
}
.page-a99-gatepass .gp-punch-hook {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cf-signal);
  border: 3px solid #000;
  box-shadow: 0 2px 0 #000;
}
.page-a99-gatepass .gp-punch-card {
  width: 100%;
  padding: 12px 12px 14px;
  background: var(--cf-field-warm);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 var(--cf-asphalt);
  text-align: left;
}
.page-a99-gatepass .gp-punch--cone .gp-punch-card { border-top: 5px solid var(--cf-cone); }
.page-a99-gatepass .gp-punch--signal .gp-punch-card { border-top: 5px solid var(--cf-signal); }
.page-a99-gatepass .gp-punch--tape .gp-punch-card { border-top: 5px solid var(--cf-tape); }
.page-a99-gatepass .gp-punch--ok .gp-punch-card { border-top: 5px solid var(--cf-ok); }
.page-a99-gatepass .gp-punch-card em {
  display: inline-block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cf-text-cone);
}
.page-a99-gatepass .gp-punch-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--cf-ink);
  margin-bottom: 4px;
}
.page-a99-gatepass .gp-punch-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--cf-mute);
  font-weight: 500;
  line-height: 1.4;
}

/* Hardhat stickers */
.page-a99-gatepass .gp-hat-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.page-a99-gatepass .gp-hat {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 14px 10px;
  background: var(--cf-surface);
  border: 2px solid var(--cf-asphalt);
  box-shadow: 3px 3px 0 var(--cf-asphalt);
  opacity: 0;
  transform: rotate(-3deg) scale(0.96);
  animation: gpHatIn 440ms var(--gp-ease) forwards;
  animation-delay: calc(200ms + var(--gp-hi, 0) * 60ms);
}
.page-a99-gatepass .gp-hat:nth-child(even) { transform: rotate(2deg) scale(0.96); }
.page-a99-gatepass .gp-hat-shell {
  width: 56px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--cf-signal);
  color: var(--cf-signal-ink);
  border: 2px solid #000;
  border-radius: 50% 50% 8px 8px / 70% 70% 20% 20%;
  box-shadow: 2px 2px 0 #000;
  font-family: var(--cf-font-display);
  font-size: 0.85rem;
}
.page-a99-gatepass .gp-hat:nth-child(2) .gp-hat-shell { background: var(--cf-cone); color: var(--cf-on-cone); }
.page-a99-gatepass .gp-hat:nth-child(3) .gp-hat-shell { background: var(--cf-tape); color: var(--cf-on-tape); }
.page-a99-gatepass .gp-hat:nth-child(4) .gp-hat-shell { background: var(--cf-asphalt); color: var(--cf-signal); }
.page-a99-gatepass .gp-hat strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cf-ink);
  line-height: 1.3;
}

/* Painted lanes */
.page-a99-gatepass .gp-lane-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background: var(--cf-asphalt);
  border: 3px solid #000;
  box-shadow: 4px 4px 0 var(--cf-signal);
}
.page-a99-gatepass .gp-lane {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--cf-ink);
  background: var(--cf-signal);
  border: 2px solid #000;
  opacity: 0;
  transform: translateX(-8px);
  animation: gpLaneIn 380ms var(--gp-ease) forwards;
  animation-delay: calc(120ms + var(--gp-li, 0) * 35ms);
  transition: background 160ms ease, transform 160ms ease;
}
.page-a99-gatepass .gp-lane:nth-child(3n) { background: var(--cf-tape); }
.page-a99-gatepass .gp-lane:nth-child(4n) { background: #fff; }
.page-a99-gatepass .gp-lane:hover {
  background: var(--cf-cone);
  color: var(--cf-on-cone);
  transform: translateX(2px);
}
.page-a99-gatepass .gp-lane-chev {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.page-a99-gatepass .gp-lane em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.page-a99-gatepass .gp-lane strong {
  font-size: 0.92rem;
  font-weight: 800;
}

/* Bolted steel plate */
.page-a99-gatepass .gp-plate {
  position: relative;
  padding: 22px 20px 18px;
  background:
    linear-gradient(180deg, #3a424a 0%, #2a323a 40%, #1e242a 100%);
  color: #e8eef2;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 var(--cf-asphalt);
}
.page-a99-gatepass .gp-rivet {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d0d4d8, #6a7078 60%, #3a4048);
  border: 1px solid #000;
}
.page-a99-gatepass .gp-rivet--tl { top: 10px; left: 10px; }
.page-a99-gatepass .gp-rivet--tr { top: 10px; right: 10px; }
.page-a99-gatepass .gp-rivet--bl { bottom: 10px; left: 10px; }
.page-a99-gatepass .gp-rivet--br { bottom: 10px; right: 10px; }
.page-a99-gatepass .gp-plate-rows {
  margin: 0;
  display: grid;
  gap: 0;
}
.page-a99-gatepass .gp-plate-rows > div {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(232, 238, 242, 0.14);
}
.page-a99-gatepass .gp-plate-rows > div:last-child { border-bottom: 0; }
.page-a99-gatepass .gp-plate-rows dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cf-tape);
}
.page-a99-gatepass .gp-plate-rows dd {
  margin: 0;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

/* Radio channels */
.page-a99-gatepass .gp-radio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.page-a99-gatepass .gp-radio-ch {
  padding: 14px 16px;
  background: var(--cf-surface);
  border: 2px solid var(--cf-asphalt);
  border-left: 5px solid var(--cf-cone);
  box-shadow: 3px 3px 0 var(--cf-asphalt);
}
.page-a99-gatepass .gp-radio-ch:nth-child(2) { border-left-color: var(--cf-signal); }
.page-a99-gatepass .gp-radio-ch:nth-child(3) { border-left-color: var(--cf-tape); }
.page-a99-gatepass .gp-radio-ch em {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cf-mute);
}
.page-a99-gatepass .gp-radio-ch strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cf-ink);
  margin-bottom: 4px;
}
.page-a99-gatepass .gp-radio-ch p {
  margin: 0;
  font-weight: 600;
  color: var(--cf-mute);
}
.page-a99-gatepass .gp-radio-ch a {
  color: var(--cf-text-tape);
  font-weight: 700;
  text-decoration: none;
}
.page-a99-gatepass .gp-radio-ch a:hover { color: var(--cf-text-cone); }

/* Single boom + text exits */
.page-a99-gatepass .gp-exit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-a99-gatepass .gp-boom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  border: 3px solid #000;
  background: var(--cf-cone);
  color: var(--cf-on-cone);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 4px 4px 0 var(--cf-signal);
  transition: transform 180ms var(--gp-ease), box-shadow 180ms ease;
}
.page-a99-gatepass .gp-boom:hover,
.page-a99-gatepass .gp-boom:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--cf-signal);
  outline: none;
}
.page-a99-gatepass .gp-boom-arm {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 230, 0, 0.5) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  z-index: 0;
}
.page-a99-gatepass .gp-boom:hover .gp-boom-arm { transform: translateX(120%); }
.page-a99-gatepass .gp-boom-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.page-a99-gatepass .gp-boom-copy em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.page-a99-gatepass .gp-boom-copy strong {
  font-family: var(--cf-font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.1;
}
.page-a99-gatepass .gp-boom-chev {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 800;
}
.page-a99-gatepass .gp-exit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
}
.page-a99-gatepass .gp-exit-links a {
  color: var(--cf-text-tape);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.page-a99-gatepass .gp-exit-links a:hover {
  color: var(--cf-text-cone);
  border-bottom-color: var(--cf-cone);
}

@keyframes gpPassIn {
  to { opacity: 1; transform: translateY(0) rotate(-0.8deg); }
}
@keyframes gpPunchIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gpHatIn {
  to { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes gpLaneIn {
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
  .page-a99-gatepass .gp-punch-rail,
  .page-a99-gatepass .gp-hat-row,
  .page-a99-gatepass .gp-radio {
    grid-template-columns: 1fr 1fr;
  }
  .page-a99-gatepass .gp-punch-rail::before { display: none; }
}
@media (max-width: 560px) {
  .page-a99-gatepass .gp-pass-fields {
    grid-template-columns: 1fr 1fr;
  }
  .page-a99-gatepass .gp-punch-rail,
  .page-a99-gatepass .gp-hat-row,
  .page-a99-gatepass .gp-radio,
  .page-a99-gatepass .gp-plate-rows > div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-a99-gatepass .gp-pass,
  .page-a99-gatepass .gp-punch,
  .page-a99-gatepass .gp-hat,
  .page-a99-gatepass .gp-lane,
  .page-a99-gatepass .gp-boom {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .page-a99-gatepass .gp-pass { transform: rotate(-0.8deg) !important; }
}
