/* Prairie Works – black / white / gray theme
   Subcompany logos remain in full color.
   Font: Basier Square (local)
*/
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Basier Square';
  src: url('/fonts/BasierSquare-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --gray-900: #0d0d0d;
  --gray-800: #1a1a1a;
  --gray-700: #2d2d2d;
  --gray-600: #404040;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Basier Square', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-900);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  line-height: 1.5;
}

.landing {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.landing .logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
}

.landing h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.landing .tagline {
  color: var(--gray-300);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.landing .tagline.tagline-white {
  color: var(--white);
}

.landing .subcompany-logo {
  display: inline-block;
  margin-bottom: 2rem;
  transition: opacity 0.2s;
}

.landing .subcompany-logo:hover {
  opacity: 0.9;
}

.landing .subcompany-logo img {
  display: block;
  max-width: 200px;
  height: auto;
}

.landing .description {
  color: var(--gray-300);
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.landing .contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.landing .contact a {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.landing .contact a:hover {
  color: var(--white);
}

.landing .contact span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.landing .contact.contact-stack {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.landing .contact.contact-stack .contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.landing .contact.contact-stack .contact-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.landing .contact.contact-stack .contact-icon svg {
  display: block;
}

.landing .contact.contact-stack .contact-item {
  color: var(--white);
}

.landing .contact.contact-stack .contact-item:hover {
  color: var(--gray-200);
}

/* Contact form (Prairie Works) */
.landing .contact-form-wrapper {
  margin-top: 2rem;
  text-align: left;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.landing .contact-form-heading {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.landing .contact-form-description {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.landing .contact-form-optional {
  font-weight: 400;
  opacity: 0.85;
}

.landing .contact-form-select {
  cursor: pointer;
  appearance: auto;
}

.landing .contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.landing .contact-form-label {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
}

.landing .contact-form-input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-600);
  border-radius: 6px;
  background: var(--gray-800);
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.landing .contact-form-input::placeholder {
  color: var(--gray-500);
}

.landing .contact-form-input:focus {
  outline: none;
  border-color: var(--gray-400);
  background: var(--gray-700);
}

.landing .contact-form-textarea {
  resize: vertical;
  min-height: 100px;
}

.landing .contact-form-feedback {
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.landing .contact-form-feedback--success {
  color: var(--gray-300);
}

.landing .contact-form-feedback--error {
  color: var(--gray-400);
}

.landing .contact-form-submit {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.landing .contact-form-submit:hover:not(:disabled) {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.landing .contact-form-submit:active:not(:disabled) {
  transform: scale(0.98);
}

.landing .contact-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.site-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

@media (max-width: 480px) {
  .landing .contact:not(.contact-stack) {
    flex-direction: column;
  }
  .landing .contact:not(.contact-stack) span {
    display: none;
  }
}
