/*
Theme Name: Windward Portal Front Desk
Theme URI: https://windwardsystems.com/
Author: Windward Systems
Description: Professional operations front end for the Windward Portal sandbox.
Version: 0.2.0
Text Domain: windward-portal-frontdesk
*/

:root {
  --ink: #17202a;
  --muted: #66717f;
  --line: #d9e0e7;
  --paper: #f6f8fa;
  --white: #ffffff;
  --navy: #12324a;
  --teal: #0f766e;
  --green: #2f855a;
  --gold: #b7791f;
  --red: #b8322b;
  --shadow: 0 14px 32px rgba(18, 50, 74, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  margin: 0 auto;
  width: min(1180px, calc(100% - 32px));
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.brand strong {
  font-size: 18px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.nav-links a {
  color: #405061;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.button {
  align-items: center;
  background: var(--teal);
  border-radius: 7px;
  color: var(--white) !important;
  display: inline-flex;
  font-weight: 840;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  text-decoration: none;
}

.button.secondary {
  background: var(--navy);
}

.status-bar {
  background: #102331;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  padding: 8px 0;
}

.status-bar .wrap {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.hero {
  background: linear-gradient(120deg, #12324a 0%, #0f766e 68%, #245c4d 100%);
  color: var(--white);
  padding: 44px 0 38px;
}

.hero-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
}

.eyebrow {
  color: #f5d276;
  font-size: 13px;
  font-weight: 860;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 780px;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  font-size: 19px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  margin: 16px 0 0;
  max-width: 720px;
}

.ops-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 18px;
}

.ops-panel h2 {
  font-size: 22px;
}

.ops-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ops-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 11px;
}

.dot {
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

.dot.green {
  background: var(--green);
}

.dot.gold {
  background: var(--gold);
}

.dot.teal {
  background: var(--teal);
}

.ops-row strong,
.ops-row span {
  display: block;
}

.ops-row span {
  color: var(--muted);
  font-size: 13px;
}

.ops-row a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 720px;
}

.metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 18px;
}

.metric-card small,
.intake-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
}

.metric-card span,
.intake-row p {
  color: var(--muted);
}

.intake-section {
  padding-top: 0;
}

.intake-list {
  display: grid;
  gap: 10px;
}

.intake-row,
.empty-state {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(210px, auto);
  padding: 16px;
}

.intake-row h3 {
  margin-top: 5px;
}

.intake-row p {
  margin: 6px 0 0;
}

.contact-block,
.handoff-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-block {
  flex-direction: column;
}

.contact-block a,
.handoff-block a {
  color: var(--teal);
  font-weight: 820;
  text-decoration: none;
}

.handoff-block {
  justify-content: flex-end;
}

.pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 860;
  min-height: 30px;
  padding: 6px 10px;
}

.pill.good {
  background: #e7f6ef;
  color: #236342;
}

.pill.warn {
  background: #fff6df;
  color: #7b5611;
}

.empty-state {
  display: block;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 0;
}

.lane-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lane-card,
.brief-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.lane-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
}

.lane-card small {
  color: var(--muted);
  font-weight: 820;
  text-transform: uppercase;
}

.lane-card p {
  color: var(--muted);
  margin: 0;
}

.lane-card a {
  color: var(--teal);
  font-weight: 850;
  margin-top: auto;
  text-decoration: none;
}

.workflow {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.step-list {
  counter-reset: steps;
  display: grid;
  gap: 12px;
}

.step {
  border-left: 4px solid var(--teal);
  padding: 4px 0 4px 14px;
}

.step strong {
  display: block;
}

.step span {
  color: var(--muted);
}

.site-footer {
  background: #0d1820;
  color: rgba(255, 255, 255, 0.76);
  padding: 28px 0;
}

.site-footer .wrap {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .hero-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .lane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .handoff-block {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .status-bar .wrap,
  .site-footer .wrap,
  .section-head {
    flex-direction: column;
  }

  .lane-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .ops-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .ops-row a {
    grid-column: 2;
  }
}
