﻿/*
 * Maintainer note: Shared OkieLab launch-page and restricted-directory styles; keep responsive title bar and tool-card styles here.
 * See docs/OkieLab_Site_Maintenance_Guide.docx for deployment, dependency, and testing guidance.
 */
ï»¿/* OkieLab stylesheet: Public landing page and restricted tool directory styling. */
:root {
  --ink: #17231d;
  --muted: #58665c;
  --green: #245b3b;
  --green-dark: #173f2b;
  --gold: #d8a63f;
  --blue: #315f7d;
  --paper: #f6f3ec;
  --surface: #ffffff;
  --line: #d8d0be;
  --shadow: 0 16px 42px rgba(32, 44, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

code {
  background: rgba(36, 91, 59, 0.1);
  border-radius: 5px;
  color: var(--green-dark);
  padding: 2px 5px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.titlebar-header {
  display: block;
  min-height: 0;
  padding: 0;
  position: relative;
  top: auto;
  z-index: 10;
}

.titlebar-link {
  background: #ffffff;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.titlebar-image {
  height: auto;
  max-width: 1280px;
  width: min(100%, 1280px);
}

.titlebar-header .site-nav {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 208, 190, 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 35, 29, 0.12);
  position: absolute;
  right: clamp(14px, 3vw, 42px);
  top: 14px;
}

.brand {
  align-items: center;
  color: var(--green-dark);
  display: inline-flex;
  font-weight: 800;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  height: 46px;
  max-width: min(52vw, 310px);
  width: auto;
}

.brand-context {
  color: var(--blue);
  font-size: 1.02rem;
  font-weight: 850;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.85rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a {
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(36, 91, 59, 0.1);
  outline: none;
}

.hero {
  min-height: 0;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 72px) 22px;
}

.hero-copy {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--green-dark);
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 20px;
}

h2 {
  color: var(--green-dark);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

h3 {
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 680px;
}

.hero-panel {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 230px;
  padding: 28px;
}

.panel-label,
.status-text {
  color: var(--blue);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-panel strong {
  color: var(--green-dark);
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section {
  padding: 46px clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 22px;
}

.directory-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.directory-heading h2 {
  margin-bottom: 0;
}

.directory-heading .button {
  margin-top: 0;
}

.tool-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32, 44, 35, 0.08);
  min-height: 220px;
  padding: 22px;
}

.tool-card-featured {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.tool-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tool-copy .button {
  margin-top: auto;
}

.logo-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  height: 170px;
  justify-content: center;
  min-height: 150px;
  padding: 18px;
  text-decoration: none;
}

.logo-link:hover,
.logo-link:focus-visible {
  border-color: var(--gold);
  outline: 3px solid rgba(216, 166, 63, 0.25);
  outline-offset: 2px;
}

.logo-link img {
  max-height: 132px;
  object-fit: contain;
  width: auto;
}

.acre-logo-link {
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  padding: 8px 16px;
}

.acre-logo-art {
  background: #ffffff url("/assets/acre-logo.png") center 48% / 420px auto no-repeat;
  display: block;
  height: 124px;
  max-width: 100%;
  width: 360px;
}

.acre-logo-expansion {
  color: var(--green-dark);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 750;
  line-height: 1.2;
  max-width: 100%;
  text-align: center;
}

.acre-logo-expansion strong {
  color: var(--blue);
  font-weight: 900;
}

.text-logo-link {
  justify-content: center;
}

.tool-logo-wide {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 150px;
}

.tool-logo-wide img {
  max-height: 92px;
  object-fit: contain;
  width: min(100%, 540px);
}

.tool-initials {
  align-items: center;
  background: var(--gold);
  border-radius: 8px;
  color: #2f2610;
  display: inline-flex;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900;
  height: 112px;
  justify-content: center;
  width: 100%;
}

.tool-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.status-badge {
  background: rgba(36, 91, 59, 0.12);
  border: 1px solid rgba(36, 91, 59, 0.24);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
  white-space: nowrap;
}

.button {
  background: var(--green);
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  margin-top: 4px;
  padding: 10px 16px;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  outline: 3px solid rgba(36, 91, 59, 0.24);
  outline-offset: 2px;
}

.muted-card {
  background: #fbfaf7;
}

.site-disclaimer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  margin: 26px 0 0;
  max-width: 980px;
  padding-top: 18px;
}

.access-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32, 44, 35, 0.08);
  margin-top: 24px;
  max-width: 560px;
  padding: 22px;
}

.access-form label {
  color: var(--green-dark);
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.access-row {
  display: flex;
  gap: 10px;
}

.access-row input {
  border: 1px solid var(--line);
  border-radius: 7px;
  flex: 1 1 auto;
  font: inherit;
  min-width: 0;
  padding: 10px 12px;
}

.access-message {
  color: #9a1f17;
  font-weight: 700;
  margin: 12px 0 0;
  min-height: 1.4em;
}

.gate-return {
  margin-top: 18px;
}

.gate-return a {
  color: var(--green-dark);
  font-weight: 800;
}


.text-section {
  max-width: 980px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-grid,
  .tool-card,
  .tool-card-featured > *,
  .logo-link {
    min-width: 0;
  }

  .tool-grid,
  .tool-card,
  .logo-link {
    width: 100%;
  }

  .tool-card-featured {
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .directory-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 28px 12px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .tool-grid {
    gap: 14px;
  }

  .tool-card {
    min-height: 0;
    padding: 16px;
  }

  .tool-card-featured {
    gap: 16px;
  }

  .logo-link {
    height: 140px;
    min-height: 120px;
    padding: 14px;
  }

  .acre-logo-link {
    padding: 8px 10px;
  }

  .acre-logo-art {
    width: 100%;
    background-size: 310px auto;
  }

  .status-badge {
    white-space: normal;
  }

  .tool-copy .button {
    justify-content: center;
    width: 100%;
  }
}







