/* LOOMKA — header / top navigation layer (loads after loomka.css) */

/* Contact: form removed — single column for address + email */
.contact-section .contact-inner {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin: 0.75rem 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-legal a {
  color: rgba(200, 196, 216, 0.9);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ochre-l, #ffd040);
  text-decoration: underline;
}

.footer-legal-sep {
  color: rgba(200, 196, 216, 0.45);
  user-select: none;
}

/* Field snapshot (case-style outcome block) */
.field-snapshot-section {
  padding: 3.5rem 3rem;
  background: var(--mud, #141820);
  border-top: 1px solid rgba(255, 208, 64, 0.12);
  border-bottom: 1px solid rgba(255, 208, 64, 0.12);
}

.field-snapshot-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.field-snapshot-lead {
  text-align: center;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-dim, #c8c4d8);
  margin: 0.75rem auto 2rem;
  line-height: 1.65;
  max-width: 36rem;
}

.field-snapshot-card {
  padding: 1.5rem 1.35rem 1.6rem;
  border: 1px solid rgba(255, 208, 64, 0.28);
  border-radius: 8px;
  background: rgba(6, 8, 10, 0.55);
  box-shadow: 0 0 24px rgba(255, 107, 26, 0.06);
}

.field-snapshot-h3 {
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ochre-l, #ffd040);
  margin: 0 0 1rem;
  letter-spacing: 0.06em;
}

.field-snapshot-card p {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body, #f0eef8);
}

.field-snapshot-card p:last-child {
  margin-bottom: 0;
}

.field-snapshot-foot {
  font-size: 0.92rem !important;
  color: var(--text-dim, #c8c4d8) !important;
}

.field-snapshot-a {
  color: var(--sky, #58c8f8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-snapshot-a:hover {
  color: var(--ochre-l, #ffd040);
}

@media (max-width: 640px) {
  .field-snapshot-section {
    padding: 2.5rem 1.25rem;
  }
}

/* Project card: completed vs active */
.pstatus.pstatus-completed {
  color: var(--ochre-l, #ffd040) !important;
  background: rgba(255, 208, 64, 0.1) !important;
  border-color: rgba(255, 208, 64, 0.35) !important;
}

/* Planning / architecture phase (e.g. historical knowledge project) */
.pstatus.pstatus-architecture {
  color: #58c8f8 !important;
  background: rgba(88, 200, 248, 0.1) !important;
  border-color: rgba(88, 200, 248, 0.4) !important;
}

.pstatus-note.pstatus-note--sky {
  color: #7dd3fc !important;
  text-shadow: 0 0 14px rgba(88, 200, 248, 0.4) !important;
  border-color: rgba(88, 200, 248, 0.45) !important;
  background: linear-gradient(
    135deg,
    rgba(88, 200, 248, 0.14) 0%,
    rgba(56, 152, 200, 0.08) 100%
  ) !important;
  box-shadow: 0 0 20px rgba(88, 200, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  scrollbar-color: rgba(88, 200, 248, 0.45) transparent;
}

.pstatus-note.pstatus-note--sky::-webkit-scrollbar-thumb {
  background: rgba(88, 200, 248, 0.45);
}

/* Study / research phase (e.g. textiles & cosmetics) */
.pstatus.pstatus-studying {
  color: #ff9040 !important;
  background: rgba(255, 144, 64, 0.1) !important;
  border-color: rgba(255, 144, 64, 0.42) !important;
}

.pstatus-note.pstatus-note--ember {
  color: #ffb870 !important;
  text-shadow: 0 0 14px rgba(255, 144, 64, 0.35) !important;
  border-color: rgba(255, 144, 64, 0.45) !important;
  background: linear-gradient(
    135deg,
    rgba(255, 144, 64, 0.14) 0%,
    rgba(255, 107, 26, 0.1) 100%
  ) !important;
  box-shadow: 0 0 20px rgba(255, 144, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  scrollbar-color: rgba(255, 144, 64, 0.45) transparent;
}

.pstatus-note.pstatus-note--ember::-webkit-scrollbar-thumb {
  background: rgba(255, 144, 64, 0.45);
}

/* Active field research (e.g. ecology & land) — matches carousel slide ⑤ */
.pstatus.pstatus-active {
  color: #3ecc68 !important;
  background: rgba(62, 204, 104, 0.1) !important;
  border-color: rgba(62, 204, 104, 0.42) !important;
}

.pstatus-note.pstatus-note--jade {
  color: #7ee8a8 !important;
  text-shadow: 0 0 14px rgba(62, 204, 104, 0.35) !important;
  border-color: rgba(62, 204, 104, 0.45) !important;
  background: linear-gradient(
    135deg,
    rgba(62, 204, 104, 0.14) 0%,
    rgba(46, 168, 96, 0.08) 100%
  ) !important;
  box-shadow: 0 0 20px rgba(62, 204, 104, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  scrollbar-color: rgba(62, 204, 104, 0.45) transparent;
}

.pstatus-note.pstatus-note--jade::-webkit-scrollbar-thumb {
  background: rgba(62, 204, 104, 0.45);
}

.pstatus-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem 0.7rem;
  border: 1px solid rgba(255, 208, 64, 0.45);
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    rgba(255, 208, 64, 0.12) 0%,
    rgba(255, 107, 26, 0.08) 100%
  );
  box-shadow: 0 0 20px rgba(255, 208, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--ochre-l, #ffd040);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 208, 64, 0.35);
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 208, 64, 0.45) transparent;
}

.pstatus-note::-webkit-scrollbar {
  height: 4px;
}

.pstatus-note::-webkit-scrollbar-thumb {
  background: rgba(255, 208, 64, 0.4);
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--ochre-l, #ffd040);
  color: var(--void, #06080a);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-p, rgba(255, 208, 64, 0.3));
}

.skip-link:focus {
  left: 1rem;
  top: 0.75rem;
  outline: 2px solid var(--saffron-l, #ff9040);
  outline-offset: 2px;
}

.site-header {
  position: relative;
  z-index: 600;
}

.site-nav {
  width: 100%;
}

.site-nav .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-links a:focus-visible {
  outline: 2px solid var(--ochre-l, #ffd040);
  outline-offset: 3px;
}

/* Contact: email link matches mono row text (white), not default blue */
.contact-email,
.cdetail a.contact-email {
  color: #ffffff !important;
  text-decoration: none;
}

.contact-email:visited,
.cdetail a.contact-email:visited {
  color: #ffffff !important;
}

.contact-email:hover,
.cdetail a.contact-email:hover {
  color: var(--ochre-l, #ffd040) !important;
  text-decoration: underline;
}

.contact-email:focus-visible {
  outline: 2px solid var(--ochre-l, #ffd040);
  outline-offset: 2px;
}
