
@import url('../styles/az-theme.css');

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  color: var(--text);
  background: var(--bg-page);
  font: 16px/1.45 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

img { max-width: 100%; border: 0; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1024px; margin: 0 auto; padding: 0 16px; }


.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { position: relative; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-logo { 
  width: 100px; 
  height: auto; 
  background: transparent;
  mix-blend-mode: normal;
}

.menu-toggle { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
.badge { display: inline-flex; width: 24px; height: 24px; border-radius: 999px; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 700; }


.menu-panel {
  position: absolute;
  top: 56px; left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 60;
}
.menu-panel[hidden] { display: none !important; }
.menu-panel a { padding: 10px 12px; white-space: nowrap; }


.hero { position: relative; }

.hero--skyline {
  
  --skyline-image: url('../images/phoenix-day.svg');

  
  background:
    linear-gradient(to top, rgba(17,24,39,0.65), rgba(17,24,39,0.18)),
    var(--skyline-image, url('../images/skyline.jpg')) center/cover no-repeat;

  color: #fff;
  position: relative;
  min-height: 340px;
  z-index: 0;
}


.hero--skyline::before { display: none; }

.hero .container { padding: 56px 16px 24px; }
.hero-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 8px; }
.muted { color: var(--muted); }
.hero .muted { color: #e5e7eb; }


.search { display: flex; gap: 8px; margin-top: 12px; }
.search input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
.search button { padding: 10px 12px; border-radius: 8px; border: none; background: var(--accent); color: #fff; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.search button:hover { background: var(--accent-hover); transform: translateY(-1px); }


.tiles { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 12px; 
  margin-top: 18px; 
}


@media (max-width: 639px) { 
  .tiles { 
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); 
  } 
}


@media (min-width: 640px) and (max-width: 959px) { 
  .tiles { 
    grid-template-columns: repeat(auto-fill, minmax(min(50%, 320px), 1fr)); 
  } 
}


@media (min-width: 960px) { 
  .tiles { 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    max-width: 1000px;
  } 
}

.tile {
  box-shadow: var(--shadow);
  display: flex; 
  flex-direction: column; 
  gap: 8px;
  text-decoration: none; 
  color: inherit;
  background: var(--tile-bg); 
  border: 1px solid var(--border); 
  border-radius: 12px;
  padding: 18px; 
  align-items: center; 
  justify-content: center; 
  min-height: 120px;
  min-width: 280px;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
  
  touch-action: manipulation;
}

.tile:hover { 
  border-color: var(--accent); 
  box-shadow: var(--shadow-lg); 
  transform: translateY(-2px); 
}

.tile:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.tile-highlight {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}

.tile-highlight:hover {
  border-color: #d97706;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.tile-donate {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  border-color: #ec4899;
}

.tile-donate:hover {
  border-color: #db2777;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25);
}


.tile-apartments {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-color: #3b82f6;
}

.tile-apartments:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.tile-halfway {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-color: #10b981;
}

.tile-halfway:hover {
  border-color: #059669;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.tile-trades {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}

.tile-trades:hover {
  border-color: #d97706;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.tile-food {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-color: #ef4444;
}

.tile-food:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}

.tile-clothes {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  border-color: #6366f1;
}

.tile-clothes:hover {
  border-color: #4f46e5;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.tile-legal {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  border-color: #a855f7;
}

.tile-legal:hover {
  border-color: #9333ea;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
}

.tile-transportation {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  border-color: #06b6d4;
}

.tile-transportation:hover {
  border-color: #0891b2;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

.tile-ada {
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  border-color: #14b8a6;
}

.tile-ada:hover {
  border-color: #0d9488;
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.tile-vouchers {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  border-color: #f97316;
}

.tile-vouchers:hover {
  border-color: #ea580c;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.tile-search {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-color: #64748b;
}

.tile-search:hover {
  border-color: #475569;
  box-shadow: 0 8px 20px rgba(100, 116, 139, 0.25);
}

.tile-veterans {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-color: #22c55e;
}

.tile-veterans:hover {
  border-color: #16a34a;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.tile-emoji { 
  font-size: 36px; 
  line-height: 1;
}

.tile-title { 
  font-weight: 600; 
  font-size: 0.95rem;
  text-align: center;
}


.stack, .home-form { display: grid; gap: 12px; max-width: 720px; }
.field { display: grid; gap: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.checks { display: flex; gap: 16px; border: 1px dashed var(--border); border-radius: 10px; padding: 10px 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions button { padding: 10px 12px; border-radius: 8px; border: none; background: var(--accent); color: #fff; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.actions button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.actions button.secondary { background: #fff; border: 1px solid var(--border); color: var(--accent); }
.actions button.secondary:hover { background: var(--card); border-color: var(--accent); }

.tool-intro { max-width: 720px; }


.result-card {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  max-width: 920px;
}
.result-header { display: flex; gap: 12px; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; border-radius: 999px; font-weight: 700; color: #fff;
}
.status-pill.ok { background: var(--ok); }
.status-pill.warn { background: var(--warn); }
.status-pill.bad { background: var(--bad); }
.result-title { margin: 8px 0 4px; }
.result-desc { margin: 0 0 12px; }

.imagery { margin: 10px 0; display: grid; gap: 6px; max-width: 640px; }
.imagery img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }


.no-imagery {
  margin: 6px 0 10px;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: #fffdf7;
  color: #7c2d12;
  display: none;
}
.no-imagery[hidden] { display: none; }
.no-imagery:not([hidden]) { display: block; }


.restriction-alert {
  margin: 12px 0;
  padding: 14px 16px;
  background: #fef2f2;
  border: 2px solid #dc2626;
  border-radius: 10px;
  color: #991b1b;
}
.restriction-alert[hidden] { display: none; }
.restriction-alert strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.restriction-alert p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}


.map { width: 100%; height: 340px; border-radius: 10px; border: 1px solid var(--border); margin: 6px 0 12px; }


.poi-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 6px;
}
.list-title { margin: 0; font-size: 1rem; color: var(--brand-2); }

.toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.toggle-button:hover {
  background: var(--card);
  border-color: var(--brand);
}
.toggle-icon {
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.toggle-button[aria-expanded="false"] .toggle-icon {
  transform: rotate(-90deg);
}

.nearby-list { margin: 0; padding-left: 0; list-style: none; transition: all 0.3s; }
.nearby-list[hidden] { display: none; }
.nearby-list li {
  margin: 4px 0; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; display: flex; gap: 6px; align-items: center;
}
.nearby-list li:hover { background: #fafafa; }
.nearby-list .poi { width: 22px; display: inline-block; text-align: center; }


.site-footer { border-top: 1px solid var(--border); margin-top: 32px; padding-bottom: 16px; }


.memos-carousel { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; margin-top: 14px; }
.memo-viewport { min-height: 52px; display: grid; place-items: center; border-radius: 10px; padding: 12px 16px; background: rgba(0,0,0,0.35); }
.memo-viewport .memo { color: #fff; font-weight: 600; text-align: center; }
.memo-prev, .memo-next {
  border: 0; width: 36px; height: 36px; border-radius: 999px;
  background: rgba(0,0,0,0.55); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .15s ease;
}
.memo-prev { grid-column: 1; }
.memo-next { grid-column: 3; }
.memo-prev:hover, .memo-next:hover { background: rgba(0,0,0,0.75); }
.memo-prev:focus-visible, .memo-next:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }


.brand-logo {
  
}


@media (max-width: 640px) {
  
  body {
    font-size: 15px;
    line-height: 1.5;
  }
  
  
  .container {
    padding: 0 12px;
  }
  
  
  .stack input,
  .stack select,
  .stack textarea,
  .stack button {
    width: 100%;
    font-size: 16px; 
    min-height: 44px; 
  }
  
  
  .hero .container {
    padding: 40px 12px 20px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  
  .search {
    flex-direction: column;
    gap: 8px;
  }
  
  .search input,
  .search button {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  
  
  .memos-carousel {
    grid-template-columns: 32px 1fr 32px;
    gap: 6px;
  }
  
  .memo-prev,
  .memo-next {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .memo-viewport {
    min-height: 48px;
    padding: 10px 12px;
  }
  
  .memo-viewport .memo {
    font-size: 0.9rem;
  }
  
  
  .tiles {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .tile {
    min-width: unset;
    padding: 16px;
    min-height: 100px;
  }
  
  
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 44px;
  }
  
  
  .checks {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  
  .site-footer {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .site-footer p {
    margin: 8px 0;
  }

  
  .restriction-alert {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .restriction-alert strong {
    font-size: 1rem;
  }

  
  .poi-list-header {
    flex-direction: row;
    gap: 8px;
  }

  .list-title {
    font-size: 0.95rem;
  }

  .toggle-button {
    padding: 6px 10px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}


@media (max-width: 375px) {
  .hero-title {
    font-size: 1.4rem;
  }
  
  .tile-emoji {
    font-size: 32px;
  }
  
  .tile-title {
    font-size: 0.875rem;
  }
}


@media (max-width: 900px) and (orientation: landscape) {
  .hero--skyline {
    min-height: 280px;
  }
  
  .hero .container {
    padding: 30px 12px 16px;
  }
} 





html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


* {
  max-width: 100%;
}


@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  
  button, a.tile, .tile, input[type="submit"], input[type="button"] {
    min-height: 44px;
    min-width: 44px;
  }
  
  
  .tiles {
    grid-template-columns: 1fr;
  }
  
  
  .brand-logo {
    width: 60px;
    background: transparent;
  }
}


@media (min-width: 481px) and (max-width: 768px) {
  .tiles {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
  .tiles {
    grid-template-columns: repeat(auto-fill, minmax(min(33%, 280px), 1fr));
  }
}


@media (min-width: 1025px) {
  .tiles {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 1200px;
  }
}


.careers-hero {
  text-align: center;
  padding: 40px 0;
}

.careers-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text, #2d1810);
  margin: 0 0 16px 0;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted, #6b7280);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.hero-description {
  font-size: 16px;
  color: var(--muted, #6b7280);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.careers-internal {
  margin: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text, #2d1810);
  margin: 0 0 8px 0;
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted, #6b7280);
  margin: 0;
}

.careers-external {
  margin: 40px 0 60px 0;
  text-align: center;
}

.external-content {
  padding: 40px;
}

.external-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text, #2d1810);
  margin: 0 0 16px 0;
}

.external-content p {
  font-size: 16px;
  color: var(--muted, #6b7280);
  max-width: 600px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.external-actions {
  margin-top: 24px;
}

.btn-large {
  font-size: 18px;
  padding: 16px 32px;
}


.job-card {
  margin-bottom: 20px;
  padding: 24px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

.job-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text, #2d1810);
  margin: 0;
  flex: 1;
}

.job-badge {
  padding: 4px 12px;
  background: var(--az-cream, #FFF8DC);
  border: 1px solid var(--az-adobe, #D2691E);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--az-adobe, #D2691E);
  white-space: nowrap;
}

.job-meta {
  font-size: 14px;
  color: var(--muted, #6b7280);
  margin-bottom: 12px;
}

.job-description {
  font-size: 15px;
  color: var(--text, #2d1810);
  line-height: 1.6;
  margin: 12px 0;
}

.job-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}


.empty-state {
  text-align: center;
  padding: 60px 40px;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text, #2d1810);
  margin: 0 0 12px 0;
}

.empty-state p {
  font-size: 16px;
  color: var(--muted, #6b7280);
  margin: 0 0 24px 0;
  line-height: 1.6;
}
