/* ============================================
   BREAKPOINT MIXINS
   ============================================

   Matches the Tailwind screen config from Josh's
   previous build system. All 12 breakpoints available.

   Usage:
     .component {
       padding: 2rem;

       @mixin sm {
         padding: 1.5rem;
       }

       @mixin xs {
         padding: 1rem;
       }
     }

   Compiles to:
     .component { padding: 2rem; }
     @media (max-width: 991px) { .component { padding: 1.5rem; } }
     @media (max-width: 767px) { .component { padding: 1rem; } }

   ============================================ */

/* --- Max-width (mobile-first overrides) --- */

/* --- Min-width (desktop-first overrides) --- */

/* --- Range (min + max) --- */

/* ============================================
   SOHACKI INDUSTRIES — GLOBAL STYLESHEET
   ============================================

   Architecture:
   - section > .container > content (two levels only)
   - Sections have NO default padding — use utility classes
   - Container handles max-width + horizontal padding + centering
   - BEM naming for components, utility classes for spacing/bg
   - No base typography sizes — use .text-formatting or .t-h* utilities
   - All values in rem (borders and box-shadows in px)
   - Sass-style nesting compiled by PostCSS (postcss-nested)
   - Breakpoint mixins compiled by PostCSS (postcss-mixins)
   ============================================ */


/* ============================================
   1. RESET / BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body-text);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}


/* ============================================
   2. DESIGN TOKENS
   ============================================ */
:root {
  /* Colors */
  --color-dark-navy: #1a294d;
  --color-primary-blue: #233a6c;
  --color-accent-blue: #608ad8;
  --color-light-blue: #f2f8ff;
  --color-body-text: #70737a;
  --color-body-text-dark: #4a4d54;
  --color-white: #ffffff;
  --color-heading: #1a294d;
  --color-link: #608ad8;
  --color-link-hover: #233a6c;

  /* Colors — Light (for dark backgrounds) */
  --color-heading-light: #ffffff;
  --color-body-text-light: rgba(255,255,255,.8);
  --color-link-light: #92b4e8;
  --color-link-light-hover: #ffffff;

  /* Typography — Font Families */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Karla', sans-serif;

  /* Typography — Font Sizes */
  --text-h1: clamp(1.95rem, 4vw, 3rem);
  --text-h2: clamp(1.5rem, 3vw, 1.95rem);
  --text-h3: clamp(1.25rem, 2.5vw, 1.95rem);
  --text-h4: 1.1rem;
  --text-h5: 0.85rem;
  --text-body: 1rem;
  --text-body-lg: 1.15rem;
  --text-body-sm: 0.9rem;

  /* Layout */
  --container-max: 80rem;
  --container-padding: 5%;

  /* Spacing scale (used by utility classes) */
  --space-lg: 6rem;
  --space-md: 4rem;
  --space-sm: 2.5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}
@media (max-width: 991px) {
:root {
    --space-lg: 5rem;
    --space-md: 3.5rem;
    --space-sm: 2rem
} }
@media (max-width: 767px) {
:root {
    --space-lg: 4rem;
    --space-md: 3rem;
    --space-sm: 1.75rem
} }
@media (max-width: 400px) {
:root {
    --space-lg: 3rem;
    --space-md: 2.25rem;
    --space-sm: 1.5rem
} }


/* ============================================
   3. LAYOUT
   Sections have NO default padding.
   Use .py-lg, .pt-lg, .pb-lg etc on sections.
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}


/* ============================================
   4. BASE TYPOGRAPHY
   Minimal — only font-family and line-height.
   Sizes, weights, and colors applied via
   .text-formatting / .text-colors / .t-h* utilities.
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

p {
  line-height: 1.6;
}


/* ============================================
   5. TEXT WRAPPER CLASSES
   Wrap content blocks to apply formatting,
   spacing, and colors to children.
   ============================================ */

/* --- Text Formatting (font sizes + weights) --- */
.text-formatting {

  /* Size variants */
}
.text-formatting h1 {
    font-weight: 700;
    font-size: var(--text-h1);
  }
.text-formatting h2 {
    font-weight: 700;
    font-size: var(--text-h2);
  }
.text-formatting h3 {
    font-weight: 700;
    font-size: var(--text-h3);
  }
.text-formatting h4 {
    font-weight: 700;
    font-size: var(--text-h4);
  }
.text-formatting h5 {
    font-weight: 700;
    font-size: var(--text-h5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
.text-formatting p,
  .text-formatting li {
    font-size: var(--text-body);
    line-height: 1.6;
  }
.text-formatting ul li {
    position: relative;
    padding-left: 1.5em;
  }
.text-formatting ul li::before {
      content: "\2022";
      position: absolute;
      left: 0;
      top: 0;
    }
.text-formatting ol {
    list-style: decimal;
    padding-left: 1.25em;
  }
.text-formatting ol li {
      padding-left: 0.5em;
    }
.text-formatting p a,
  .text-formatting li a {
    font-weight: bold;
  }
.text-formatting .text-large p,
  .text-formatting .text-large li,
  .text-formatting.text-large p,
  .text-formatting.text-large li {
    font-size: var(--text-body-lg);
    line-height: 1.7;
  }
.text-formatting .text-small p,
  .text-formatting .text-small li,
  .text-formatting.text-small p,
  .text-formatting.text-small li {
    font-size: var(--text-body-sm);
  }


/* --- Text Margins (spacing between elements) --- */
.text-margins {

  /* Extra space when paragraph/list precedes a heading */
}
.text-margins h1,
  .text-margins h2,
  .text-margins h3,
  .text-margins h4,
  .text-margins h5 {
    margin-bottom: 1.5rem;
  }
.text-margins p {
    margin-bottom: 1.5rem;
  }
.text-margins p:last-child {
      margin-bottom: 0;
    }
.text-margins p + h2,
  .text-margins p + h3,
  .text-margins p + h4,
  .text-margins p + h5,
  .text-margins ul + h2,
  .text-margins ul + h3,
  .text-margins ul + h4,
  .text-margins ul + h5,
  .text-margins ol + h2,
  .text-margins ol + h3,
  .text-margins ol + h4,
  .text-margins ol + h5,
  .text-margins ul + p,
  .text-margins ol + p {
    margin-top: 1.5rem;
  }

/* Small margins variant */
.text-margins-sm h1,
  .text-margins-sm h2,
  .text-margins-sm h3,
  .text-margins-sm h4,
  .text-margins-sm h5 {
    margin-bottom: 0.75rem;
  }
.text-margins-sm p {
    margin-bottom: 0.75rem;
  }
.text-margins-sm p:last-child {
      margin-bottom: 0;
    }
.text-margins-sm p + h2,
  .text-margins-sm p + h3,
  .text-margins-sm p + h4,
  .text-margins-sm p + h5,
  .text-margins-sm ul + h2,
  .text-margins-sm ul + h3,
  .text-margins-sm ul + h4,
  .text-margins-sm ul + h5,
  .text-margins-sm ol + h2,
  .text-margins-sm ol + h3,
  .text-margins-sm ol + h4,
  .text-margins-sm ol + h5,
  .text-margins-sm ul + p,
  .text-margins-sm ol + p {
    margin-top: 0.75rem;
  }


/* --- Text Colors (heading/body/link colors) --- */
.text-colors {

  /* Link colors only inside prose containers — never bare <a> (buttons, nav, etc.) */
}
.text-colors h1,
  .text-colors h2,
  .text-colors h3,
  .text-colors h4,
  .text-colors h5 {
    color: var(--color-heading);
  }
.text-colors p,
  .text-colors li {
    color: var(--color-body-text);
  }
.text-colors p a,
  .text-colors li a,
  .text-colors blockquote a {
    color: var(--color-link);
  }
.text-colors p a:hover, .text-colors li a:hover, .text-colors blockquote a:hover {
      color: var(--color-link-hover);
    }

/* --- Text Colors Light (for dark backgrounds) --- */
.text-colors-light {

  /* Link colors only inside prose containers — never bare <a> (buttons, nav, etc.) */
}
.text-colors-light h1,
  .text-colors-light h2,
  .text-colors-light h3,
  .text-colors-light h4,
  .text-colors-light h5 {
    color: var(--color-heading-light);
  }
.text-colors-light p,
  .text-colors-light li {
    color: var(--color-body-text-light);
  }
.text-colors-light p a,
  .text-colors-light li a,
  .text-colors-light blockquote a {
    color: var(--color-link-light);
  }
.text-colors-light p a:hover, .text-colors-light li a:hover, .text-colors-light blockquote a:hover {
      color: var(--color-link-light-hover);
    }


/* --- Typography Utility Classes --- */
.t-h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: 1.2;
}
.t-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1.2;
}
.t-h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h3);
  line-height: 1.2;
}
.t-h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h4);
  line-height: 1.2;
}
.t-h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h5);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ============================================
   6. UTILITY — PADDING
   Applied to sections. Responsive by default.
   ============================================ */
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.pt-lg { padding-top: var(--space-lg); }
.pb-lg { padding-bottom: var(--space-lg); }

.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.pt-md { padding-top: var(--space-md); }
.pb-md { padding-bottom: var(--space-md); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.pt-sm { padding-top: var(--space-sm); }
.pb-sm { padding-bottom: var(--space-sm); }


/* ============================================
   7. UTILITY — MARGINS
   ============================================ */
.my-lg { margin-top: var(--space-lg); margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.my-md { margin-top: var(--space-md); margin-bottom: var(--space-md); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }

.my-sm { margin-top: var(--space-sm); margin-bottom: var(--space-sm); }
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }


/* ============================================
   8. UTILITY — BACKGROUNDS
   ============================================ */
.bg-light { background-color: var(--color-light-blue); }
.bg-dark { background-color: var(--color-dark-navy); }
.bg-accent { background-color: var(--color-accent-blue); }
.bg-white { background-color: var(--color-white); }


/* ============================================
   9. BUTTONS (BEM)
   ============================================ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding: 1em 2em;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.button::after {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height: 0.75rem;
    background-image: url('/svg/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-fast);
  }
.button:hover::after {
    transform: translateX(0.25rem);
  }
@media (max-width: 400px) {
.button {
    padding: 0.85em 1.5em;
    font-size: 0.85em;
    width: 100%;
    justify-content: center;
  } }

.button--primary {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
}

.button--primary:hover {
    background-color: #1d3059;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

.button--primary::after {
    filter: brightness(0) invert(1);
  }

.button--white {
  background-color: var(--color-white);
  color: var(--color-accent-blue);
}

.button--white:hover {
    color: var(--color-primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

.button--white::after {
    filter: invert(45%) sepia(60%) saturate(500%) hue-rotate(190deg);
  }

.button--outline {
  background: none;
  border: 2px solid var(--color-primary-blue);
  color: var(--color-primary-blue);
  box-shadow: none;
}

.button--outline:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
  }


/* ============================================
   10. BUTTON GROUP
   Flex container for one or more buttons.
   Integrates with .text-margins / .text-margins-sm
   so button groups inherit the same spacing rhythm
   as headings and paragraphs.
   ============================================ */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--button-group-gap, 1rem);
}

.button-group--center {
  justify-content: center;
}
.button-group--right {
  justify-content: flex-end;
}

/* Text-margins integration */
.text-margins .button-group {
  margin-top: 1.5rem;
}
.text-margins-sm .button-group {
  margin-top: 0.75rem;
}


/* ============================================
   11. CTA SECTION (shared across all pages)
   ============================================ */
.section_cta {
  background-color: var(--color-accent-blue);
  text-align: center;
}

.cta_text {
  color: var(--color-heading-light);
  max-width: 36rem;
  margin: 0 auto;
  font-size: var(--text-body-lg);
}


/* ============================================
   12. FADE-IN ANIMATION
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }


/* ============================================
   13. LOCKED COMPONENTS
   ============================================ */

/* --- Hiring Banner --- */
.section_hiring-banner {
  background-color: var(--color-dark-navy);
  border-bottom: 4px solid var(--color-primary-blue);
  padding: 0.75rem 0;
  position: relative;
  z-index: 999;
}

.hiring-banner_text {
  text-align: center;
  color: var(--color-white);
  font-size: var(--text-body);
  line-height: 1.5;
}

.hiring-banner_link {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 700;
  transition: opacity var(--transition-fast);
}

.hiring-banner_link:hover {
    opacity: 0.85;
  }


/* --- Navbar --- */
.section_navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: 3.25rem; /* offset for hiring banner */
}

.navbar_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  position: relative;
}

.navbar_logo {
  width: 12.5rem;
  height: 4.375rem;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
}

.navbar_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.navbar_menu {
  display: flex;
  align-items: center;
  gap: 0;
  background-color: var(--color-dark-navy);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

@media (max-width: 991px) {

.navbar_menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    box-shadow: none
}

    .navbar_menu.is-open {
      display: flex;
    } }

.navbar_link {
  display: inline-block;
  padding: 2rem;
  color: var(--color-accent-blue);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.navbar_link:hover {
    color: var(--color-white);
  }

.navbar_link.is-active {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
  }

@media (max-width: 991px) {

.navbar_link {
    color: var(--color-primary-blue);
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    text-align: center;
  }

    .navbar_link:hover {
      color: var(--color-dark-navy);
    }

    .navbar_link.is-active {
      background: transparent;
      color: var(--color-dark-navy);
      font-weight: 700;
    } }

.navbar_hamburger {
  display: none;
  background: var(--color-dark-navy);
  border: none;
  padding: 0.5em;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
  z-index: 101;
}

.navbar_hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin: 0.3125rem 0;
    transition: all var(--transition-medium);
  }

.navbar_hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
  }

.navbar_hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

.navbar_hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(0.3125rem, -0.3125rem);
  }

@media (max-width: 991px) {

.navbar_hamburger {
    display: block;
  } }


/* --- Interior Hero --- */
.section_hero-interior {
  position: relative;
  padding-top: calc(3.25rem + 4.375rem);
  padding-bottom: 0;
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.section_hero-interior::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
    z-index: 1;
  }
@media (max-width: 767px) {
.section_hero-interior {
    min-height: 15.625rem;
    text-align: center;
  } }

.hero-interior_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-interior_bg picture {
    display: block;
    width: 100%;
    height: 100%;
  }

.hero-interior_bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-interior_content {
  position: relative;
  z-index: 2;
  background-color: var(--color-dark-navy);
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  margin-bottom: -3.75rem;
}

@media (max-width: 767px) {

.hero-interior_content {
    text-align: center
} }

.hero-interior_heading {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.25em;
}

.hero-interior_paragraph {
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin: 0;
}


/* --- Footer --- */
.section_footer {
  background-color: var(--color-dark-navy);
  padding: 0;
}

.footer_content {
  text-align: center;
  padding: 3rem 0;
}

.footer_logo {
  width: 12.5rem;
  height: 4.375rem;
  margin: 0 auto 1.5rem;
}

.footer_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.footer_nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {

.footer_nav {
    flex-direction: column;
    gap: 1rem
} }

.footer_link {
  color: var(--color-accent-blue);
  font-weight: 700;
  transition: color var(--transition-fast);
}

.footer_link:hover {
    color: var(--color-white);
  }

.footer_social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer_social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
}

.footer_social-link:hover {
    color: var(--color-white);
  }

.footer_social-link svg {
    width: 1.25em;
    height: 1.25em;
    fill: currentColor;
  }

.footer_bottom {
  background-color: var(--color-primary-blue);
  padding: 1rem 0;
}

.footer_bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-size: var(--text-body-sm);
}

@media (max-width: 767px) {

.footer_bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem
} }

.footer_credit a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer_credit a:hover {
    opacity: 0.7;
  }


/* ============================================
   14. 404 PAGE
   ============================================ */
.error-page {
  text-align: center;
  max-width: 37.5rem;
  margin: 0 auto;
}
.error-page .button-group {
    justify-content: center;
  }
.error-page .button--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
  }
.error-page .button--outline:hover {
      background-color: var(--color-white);
      color: var(--color-primary-blue);
      border-color: var(--color-white);
    }
.error-page .button--outline::after {
      filter: brightness(0) invert(1);
    }
.error-page .button--outline:hover::after {
      filter: invert(45%) sepia(60%) saturate(500%) hue-rotate(190deg);
    }

.error-page_code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.error-page_heading {
  font-weight: 700;
  font-size: var(--text-h2);
  margin-bottom: 1rem;
}

.error-page_text {
  font-size: var(--text-body-lg);
  margin-bottom: 2rem;
}
