* {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');

:root {
    --ttl-orange: #ef5b00;
    --ttl-orange-dark: #d94f00;
    --ttl-black: #202020;
    --ttl-text: #282828;
    --ttl-muted: #707070;
    --ttl-line: #e4e4e4;
    --ttl-bg: #f7f7f7;
    --ttl-white: #fff;
    --ttl-red: #c62828;
    --ttl-green: #159447;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Archivo", sans-serif;
    color: var(--ttl-text);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
     min-height: 100%;
      min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.career-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

@media (min-width: 1900px) {
    .container {
        width: 1630px !important;
    }
}
/* ========================================
   HEADER
======================================== */

.ttl-header {
    height: 82px;
    background: #1f1f1f;
    color: #fff;

    display: flex;
    align-items: center;

    position: relative;
    z-index: 1000;

    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ttl-header-inner {
    /*width: min(1280px, calc(100% - 54px));*/
    margin: auto;

    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    /*gap: 35px;*/
}

.ttl-logo {
    width: 136px;

    display: flex;
    flex-direction: column;

    line-height: 0.88;

    flex: 0 0 auto;
}

.ttl-logo-main {
    color: #f27424;

    font-size: 30px;
    font-weight: 700;
    font-style: italic;

    letter-spacing: -2px;
}

.ttl-logo-sub {
    color: #e7e7e7;

    font-size: 10px;
    letter-spacing: 2px;

    margin-left: 29px;
    margin-top: 4px;
}

.ttl-nav {
    display: flex;
    /*align-items: stretch;*/
    /*justify-content: flex-end;*/
    /*gap: 0;*/
    /*height: 82px;*/
    position: unset;
    padding: 0;
    margin: 0 -2rem 0 3rem;
    flex-direction: unset;
    flex-grow: 1;
    justify-content: space-evenly;
    align-items: unset;
    background-color: unset;
    opacity: unset;
    transform: unset;
}

.ttl-nav > a {
    display: flex;
    align-items: center;

    padding: 0 16px;

    color: #f5f5f5;

    font-size: 17px;
    font-weight: normal;

    white-space: nowrap;

    transition: 0.2s ease;

    border-top: 3px solid transparent;
}

.ttl-nav > a:hover {
    color: #f47721;

    border-top-color: #f47721;

    background: #282828;
}

.ttl-nav .nav-two-line {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    line-height: 1.25;
}

.ttl-nav small {
    font-size: 12px;
    color: #bdbdbd;
    font-weight: 400;

    margin-top: 2px;
}

.mobile-nav-toggle {
    display: none;

    border: 0;
    background: transparent;

    padding: 8px;

    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    background: #fff;

    margin: 5px 0;

    transition: 0.25s;
}


/* ========================================
   HERO
======================================== */

.career-hero {
    padding: 65px 0 30px;
    background: #fff;
}

.eyebrow {
    display: inline-block;

    color: var(--ttl-orange);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;

    margin-bottom: 10px;
}

.career-hero h1 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 600;

    margin: 0 0 12px;

    color: var(--ttl-orange);
}

.career-hero p {
    font-size: 15px;
    color: #595959;

    margin: 0;

    max-width: 700px;
}


/* ========================================
   JOBS
======================================== */

.jobs-section {
    padding: 10px 0 75px;
}

.jobs-list {
    display: grid;
    gap: 14px;
}

.career-card {
    border: 1px solid var(--ttl-line);
    background: #fff;
    border-radius: 4px;

    padding: 24px 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}

.career-card:hover {
    border-color: #d7d7d7;

    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.055);
}

.career-card-content {
    min-width: 0;
}

.career-card h2 {
    font-size: 17px;
    line-height: 1.3;

    color: var(--ttl-orange);

    font-weight: 600;

    margin: 0 0 7px;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 8px;

    color: #5e5e5e;
    font-size: 11px;
}

.career-meta span {
    display: inline-flex;
    align-items: center;

    gap: 6px;
}

.meta-icon {
    width: 10px;
    height: 10px;

    display: inline-block;

    position: relative;
}

.briefcase-icon {
    border: 1.5px solid #8c8c8c;
    border-radius: 1px;
}

.briefcase-icon::before {
    content: '';

    position: absolute;

    width: 5px;
    height: 2px;

    border: 1px solid #8c8c8c;
    border-bottom: 0;

    left: 1px;
    top: -4px;

    border-radius: 1px;
}

.pin-icon {
    border: 1.5px solid #8c8c8c;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    width: 9px;
    height: 9px;

    margin-right: 2px;
}

.career-card p {
    font-size: 13px;
    color: #4d4d4d;

    margin: 0;

    max-width: 720px;
}

.career-actions {
    display: flex;

    gap: 10px;

    flex: 0 0 auto;
}

.career-btn {
    min-width: 108px;
    min-height: 39px;

    border-radius: 3px;

    padding: 9px 16px;

    font-size: 14px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.2s;

    border: 1px solid var(--ttl-orange);
}

.career-btn-outline {
    background: #fff;
    color: #353535;

    border-color: #d7a480;
}

.career-btn-outline:hover {
    border-color: var(--ttl-orange);
    color: var(--ttl-orange);
}

.career-btn-primary {
    background: var(--ttl-orange);
    color: #fff;
}

.career-btn-primary:hover {
    background: var(--ttl-orange-dark);
}

.resume-note {
    margin: 26px 5px 0;

    font-size: 12px;
    color: #555;
}

.resume-note a {
    color: var(--ttl-orange);

    font-weight: 600;
}

.empty-state {
    border: 1px solid var(--ttl-line);

    padding: 30px;

    text-align: center;

    color: #666;
}


/* ========================================
   MODAL
======================================== */

.job-modal {
    position: fixed;
    inset: 0;

    z-index: 5000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.job-modal.is-open {
    display: flex;
}

.job-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.68);

    backdrop-filter: blur(2px);
}

.job-modal-dialog {
    position: relative;

    width: min(680px, 100%);
    max-height: 85vh;

    overflow: auto;

    background: #fff;

    padding: 37px 40px 34px;

    border-radius: 4px;

    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);

    animation: modalIn 0.22s ease;
}

.job-modal-accent {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 5px;

    background: var(--ttl-orange);
}

.job-modal-close {
    position: absolute;

    right: 20px;
    top: 15px;

    width: 34px;
    height: 34px;

    border: 0;
    background: transparent;

    color: #5a5a5a;

    font-size: 29px;
    line-height: 1;

    cursor: pointer;
}

.job-modal-label {
    font-size: 10px;
    color: var(--ttl-orange);

    font-weight: 700;
    letter-spacing: 2px;
}

.job-modal h2 {
    margin: 8px 45px 10px 0;

    color: #252525;

    font-size: 25px;
    font-weight: 600;
}

.job-modal-meta {
    display: flex;

    gap: 18px;

    color: #6f6f6f;

    font-size: 11px;
}

.job-modal-rule {
    height: 1px;

    background: #ececec;

    margin: 21px 0;
}

.job-modal-description {
    white-space: pre-line;

    color: #4c4c4c;

    font-size: 13px;
    line-height: 1.75;
}

.job-modal-footer {
    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 28px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/* ========================================
   FORM SHARED
======================================== */

.panel {
    border: 1px solid var(--ttl-line);
    border-radius: 5px;

    padding: 28px;

    background: #fff;
}

.form-page {
    padding: 48px 0 75px;

    background: #fafafa;

    min-height: 70vh;
}

.form-page > .container,
.container {
    width: min(1120px, 92%);
    margin: auto;
}

.form-page h1 {
    color: var(--ttl-orange);

    font-size: 28px;
    font-weight: 600;
     font-family: "Archivo", sans-serif;
}

.selected-job {
    background: #fff8f3;

    border: 1px solid #ffd7be;
    border-radius: 4px;

    padding: 14px;

    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    display: block;

    font-weight: 600;
    font-size: 12px;

    margin-bottom: 6px;
}

.req {
    color: var(--ttl-red);
}

input,
select,
textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid #ccc;
    border-radius: 3px;

    font-size: 13px;

    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ffd1b5;

    border-color: var(--ttl-orange);
}

textarea {
    min-height: 130px;

    resize: vertical;
}

.help {
    font-size: 10px;
    color: #777;

    margin-top: 5px;
}

.error {
    font-size: 10px;
    color: var(--ttl-red);

    margin-top: 5px;
}

.alert {
    padding: 12px 14px;

    border-radius: 4px;

    margin-bottom: 18px;
}

.alert-error {
    background: #fff0f0;
    color: #9a1d1d;

    border: 1px solid #f3b9b9;
}


/* ========================================
   SUCCESS PAGE
======================================== */

.success-wrap {
    min-height: 70vh;

    display: grid;
    place-items: center;

    padding: 40px;
}

.success-card {
    text-align: center;
font-family: "Archivo", sans-serif;
    max-width: 560px;
}

.check {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: #e4f7df;
    color: #169447;

    display: grid;
    place-items: center;

    font-size: 52px;

    margin: 0 auto 18px;
}


/* ========================================
   FOOTER
======================================== */

/* ========================================
   SITE FOOTER STYLES
======================================== */

.site-footer {
  background-color: #171717;
  color: #a3a3a3;
  font-family: 'Archivo', sans-serif;
  padding-top: 50px;
  border-top: 1px solid #262626;
}

.footer-container {
  max-width: 1320px;
  width: 90%;
  margin: 0 auto;
  font-size: 16px;
}

/* Top Section: Logo & Search */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-search-form {
  position: relative;
  width: 100%;
  max-width: 780px;
}

.footer-search-form input {
  width: 100%;
  height: 44px;
  background: transparent;
  border: 1px solid #404040;
  border-radius: 0;
  padding: 0 45px 0 16px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-search-form input::placeholder {
  color: #737373;
}

.footer-search-form input:focus {
  border-color: #f27424;
}

.footer-search-form button {
  position: absolute;
  right: 0;
  top: 0;
  height: 44px;
  width: 44px;
  background: transparent !important;
  border: none;
  color: #f27424;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer Grid Section */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  padding-bottom: 50px;
}

.footer-col h4 {
  font-family: "Merriweather", sans-serif;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #f27424;
}

/* Multi-line link (REFURB) */
.footer-col .nav-two-line {
  display: inline-flex;
  flex-direction: column;
}

.footer-col .nav-two-line small {
  font-size: 17px;
  color: #a3a3a3;
}

/* Social Buttons */
.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: #262626;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #f27424;
}
.social-links a svg{height: 25px;}
/* Feedback Button */
.feedback-btn {
  display: inline-block;
  background-color: #f27424;
  color: #ffffff;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.feedback-btn:hover {
  opacity: 0.9;
}

/* Footer Bottom Section */
.footer-bottom {
  background-color: #121212;
  border-top: 1px solid #262626;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #f27424;
}

.break{display: none;}
/* ========================================
   RESPONSIVE BREAKPOINTS
======================================== */

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-search-form {
    max-width: 500px;
  }
}

/* Small Tablet / Large Mobile (768px and down) */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-search-form {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  .break{display: block;}
}

/* Small Mobile (480px and down) */
@media (max-width: 480px) {
  .site-footer {
    padding-top: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-bottom {
    font-size: 12px;
    padding: 14px 0;
  }
}

/* ========================================
   ADMIN
======================================== */

.admin-shell {
    background: #f4f5f7;

    min-height: 100vh;
}

.admin-header {
    background: #1f1f1f;
    color: #fff;

    padding: 14px 0;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-main {
    padding: 30px 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-bottom: 24px;
}

.stat {
    background: #fff;

    border: 1px solid var(--ttl-line);
    border-radius: 5px;

    padding: 18px;
}

.stat strong {
    display: block;

    font-size: 28px;

    color: var(--ttl-orange);
}

.table-wrap {
    overflow: auto;

    background: #fff;

    border: 1px solid var(--ttl-line);
    border-radius: 5px;
}

table {
    width: 100%;

    border-collapse: collapse;

    min-width: 860px;
}

th,
td {
    padding: 12px;

    border-bottom: 1px solid #eee;

    text-align: left;

    font-size: 12px;
}

th {
    background: #fafafa;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 16px;
}

.toolbar input,
.toolbar select {
    width: auto;

    min-width: 180px;
}

.login-box {
    max-width: 420px;

    margin: 70px auto;
}

.muted {
    color: #777;
}


/* ========================================
   RESPONSIVE - 1120px
======================================== */

@media (max-width: 1120px) {

    .ttl-nav > a {
        padding: 0 9px;

        font-size: 10px;
    }

    .ttl-header-inner {
        width: calc(100% - 34px);

        gap: 18px;
    }
}


/* ========================================
   RESPONSIVE - 900px
======================================== */

@media (max-width: 900px) {

/* ========================================
   MOBILE NAVIGATION (Right to Left Slide-in)
======================================== */

.ttl-header {
    height: 72px;
}

.ttl-header-inner {
    height: 72px;
    justify-content: space-between;
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
    display: block;
    position: relative;
    z-index: 1002; /* Ensures hamburger button sits above full screen menu */
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: transform 0.3s ease-in-out, opacity 0.25s ease-in-out;
}

/* Hamburger Animation to 'X' (Close Icon) when open */
.mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen Off-Canvas Navigation Drawer */
.ttl-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen to the right */
    width: 100%; /* Full screen width (use '80%' if you want to leave a small backdrop) */
    height: 100vh; /* Full screen height */

    background: #181818;
    padding: 90px 24px 40px; /* Top padding leaves room for header/close button */
    
    z-index: 1001;
    overflow-y: auto; /* Allows scroll if content exceeds screen height */
    
    /* Smooth Right-to-Left slide transition */
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Open state: Slides in from right to left */
.ttl-nav.is-open {
    right: 0;
}

/* Mobile Menu Links Styling */
.ttl-nav > a {
    width: 100%;
    height: auto;
    padding: 16px 8px;
    display: flex;
    justify-content: flex-end;
    border-top: 0;
   text-align: end;

    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.ttl-nav > a:last-child {
    border-bottom: none;
}

.ttl-nav > a:hover {
    border-top: 0;
    background: transparent;
    color: #f47721;
}

.ttl-nav .nav-two-line {
    align-items: flex-end;
}

    .career-container {
        width: min(100% - 40px, 1180px);
    }

    .career-card {
        align-items: flex-start;
    }

    .career-actions {
        align-self: center;
    }
}


/* ========================================
   RESPONSIVE - 700px
======================================== */

@media (max-width: 700px) {

    .career-hero {
        padding: 42px 0 22px;
    }

    .career-hero h1 {
        font-size: 30px;
    }

    .career-card {
        padding: 20px;

        flex-direction: column;

        gap: 19px;
    }

    .career-actions {
        width: 100%;

        align-self: auto;
    }

    .career-btn {
        flex: 1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .job-modal-dialog {
        padding: 34px 24px 26px;
    }

    .job-modal h2 {
        font-size: 21px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }
}


/* ========================================
   RESPONSIVE - 430px
======================================== */

@media (max-width: 430px) {

    .ttl-logo-main {
        font-size: 26px;
    }

    .career-container {
        width: calc(100% - 28px);
    }

    .career-actions {
        flex-direction: column;
    }

    .career-btn {
        width: 100%;
    }

    .job-modal {
        padding: 14px;
    }

    .job-modal-footer {
        flex-direction: column;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}


/* Submit button */
button[type="submit"],
input[type="submit"],
.submit-btn {
    min-width: 150px;
    height: 42px;

    padding: 0 24px;

    border: 0;
    border-radius: 4px;

    background: var(--ttl-orange);
    color: #ffffff;

    font-family: "Archivo", Arial, sans-serif!important;
    font-size: 14px;
    font-weight: 400;

    display: inline-flex;
    align-items: center;
    justify-content: center;
text-transform: uppercase;
    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.submit-btn:hover {
    background: var(--ttl-orange-dark);
}

button[type="submit"]:active,
input[type="submit"]:active,
.submit-btn:active {
    transform: translateY(1px);
}


/* =========================================
   APPLY PAGE - BACK BUTTON
========================================= */

.back-careers-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: auto;
    margin-bottom: 20px;
    padding: 8px 14px;

    background: #ffffff;
    color: #ef5b00;

    border: 1px solid #ef5b00;
    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.back-careers-btn:hover {
    background: #ef5b00;
    color: #ffffff;
    transform: translateX(-2px);
}

.back-arrow {
    font-size: 17px;
    line-height: 1;
}


/* Hide honeypot properly */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Mobile */
@media (max-width: 767px) {

    .back-careers-btn {
        margin-bottom: 16px;
        padding: 8px 12px;
        font-size: 12px;
    }

}