/* Podi Website — tokens, components, page sections. Source: Figma "Podi Website" style guide + components. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&display=swap');

/* ---------- Tokens (Style Guide 188:25338) ---------- */
:root {
  --ivory: #FFF4DA;
  --brown: #4D1512;
  --yellow: #FFC622;
  --orange: #D35029;
  --green: #095427;
  --brown-text: #540F0F; /* used for body copy on ivory throughout the components */
  --white: #FFFFFF;
  --font: 'Outfit', 'New Atten', system-ui, sans-serif; /* ponytail: Outfit stands in for New Atten (commercial) */
  --page: 1440px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--brown-text); background: var(--ivory); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, h4 { margin: 0; }
/* Figma text boxes are cap-height trimmed; match in Chrome 133+ */
p, h1, h2, h3, h4, .btn__label, .menu__tab, .filter__label, .menu__select span, .upload span { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.btn__label { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Type roles (desktop base, mobile override at bottom) ---------- */
.h1 { font-size: 72px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; text-transform: uppercase; }
.h2 { font-size: 56px; font-weight: 400; line-height: 1.1; letter-spacing: -1.5px; }
.h3 { font-size: 36px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; }
.h4 { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
.subheading { font-size: 20px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.body-lg { font-size: 18px; font-weight: 400; line-height: 1.2; }
.body { font-size: 14px; font-weight: 400; line-height: 1.1; }
.caption { font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: 1px; text-transform: uppercase; }
.btn-text { font-size: 18px; font-weight: 400; line-height: 1; letter-spacing: 0.36px; }
.eyebrow { font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Layout ---------- */
.page { position: relative; width: 100%; max-width: var(--page); margin: 0 auto; overflow: hidden; }

/* ---------- Buttons (119:336 / 119:360 / 119:365) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 24px 36px; color: var(--ivory);
  font-size: 18px; line-height: 1; letter-spacing: 0.36px; text-transform: uppercase; white-space: nowrap;
  border: 0; transition: background-color .15s, color .15s;
}
.btn--primary { background: var(--brown); }
.btn--primary:hover { background: var(--orange); }
.btn--primary:active { background: var(--orange); text-decoration: underline; }
.btn--secondary { border: 1px solid var(--ivory); }
.btn--secondary:hover { background: var(--brown); }
.btn--secondary:active { background: var(--brown); text-decoration: underline; }
.btn--ghost:hover { color: var(--orange); }
.btn--ghost:active { color: var(--ivory); text-decoration: underline; }
/* on-ivory variant (form submit uses brown outline/text) */
.btn--secondary.btn--dark { border-color: var(--brown); color: var(--brown); }
.btn--secondary.btn--dark:hover { background: var(--brown); color: var(--ivory); }
/* icon + text (119:637 / 119:653) */
.btn--icon { padding: 18px 32px 18px 36px; }
.btn .icon { width: 24px; height: 24px; flex: 0 0 24px; }
/* icon only (119:669 / 119:678) */
.btn--icon-only { padding: 12px; border: 1px solid var(--ivory); }
.btn--icon-only.btn--primary { background: var(--brown); }
.btn--icon-only:hover { background: var(--orange); }
.btn--icon-only .icon { width: 24px; height: 24px; }
.icon--flip { transform: scaleX(-1); }

/* ---------- Logo (119:412) ---------- */
.logo { display: block; width: 170px; height: 29px; }
.logo img { width: 100%; height: 100%; }

/* ---------- Navigation Bar (119:463 desktop, 152:1223 mobile) ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 24px 36px; width: 100%; }
.nav:hover { background: var(--brown); } /* component State=Hover */
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__burger { display: none; padding: 12px; }
.nav__burger img { width: 30px; height: 16px; }
.nav__menu { display: none; }

/* ---------- Page Breaker (152:4085) ---------- */
.page-breaker { display: block; width: 100%; height: 41.46px; background: url('../assets/page-breaker.png') center / 100% 100% no-repeat; }

/* ---------- Footer (152:4050) ---------- */
.footer { background: var(--brown); color: var(--ivory); padding: 84px 70px; width: 100%; }
.footer__row { display: flex; align-items: center; justify-content: flex-end; gap: 302px; width: 100%; }
.footer__left { display: flex; align-items: center; gap: 64px; }
.footer__logo { width: 398.62px; height: 68px; }
.footer__logo img { width: 100%; height: 100%; }
.footer__rule { align-self: stretch; width: 1px; background: var(--ivory); }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; width: 202px; }
.footer__links .btn { margin-bottom: -8px; }
.footer__links .btn:last-child { margin-bottom: 0; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 105px; width: 268px; text-align: right; font-size: 14px; line-height: 1.1; }
.footer__address { width: 201px; }
.footer__phones { display: flex; justify-content: space-between; width: 100%; white-space: pre; }

/* ---------- Form (152:3952) ---------- */
.form-section { position: relative; background: var(--ivory); height: 733px; width: 100%; overflow: hidden; }
.form-section__inner { position: absolute; top: 128px; left: calc(50% - 26px); transform: translateX(-50%); display: flex; align-items: flex-start; gap: 150px; }
.form-section__intro { display: flex; flex-direction: column; gap: 16px; width: 404px; color: var(--brown-text); }
.form { display: flex; flex-direction: column; align-items: flex-start; gap: 56px; width: 644px; }
.field { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.field input, .field select {
  width: 100%; height: 16px; padding: 0; border: 0; background: transparent; outline: 0;
  font-size: 14px; line-height: 1.1; color: var(--brown-text); appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: var(--brown-text); opacity: .3; }
.field select:invalid { color: rgba(84, 15, 15, .3); }
.field__line { height: 0; border-top: 1px solid var(--brown-text); width: 100%; }
.field--select { gap: 9px; position: relative; }
.field--select .icon-chevron { position: absolute; right: 10px; top: 4px; width: 14.73px; height: 8.36px; transform: rotate(90deg); pointer-events: none; }
.upload { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border: 1px solid var(--brown); width: 644px; cursor: pointer; }
.upload span { font-size: 14px; line-height: 1.1; opacity: .3; }
.upload img { width: 24px; height: 24px; }
.upload input { display: none; }
.form-section__watermark { position: absolute; left: -3.61%; top: 71.9%; width: 32.5%; height: 21.7%; opacity: .25; }
.form-section__watermark img { width: 100%; height: 100%; }

/* ---------- Job card (Frame 50, 152:1732) ---------- */
.job-card { display: flex; flex-direction: column; align-items: center; gap: 36px; width: 216px; height: 274.82px; padding: 0 16px 24px; background: var(--ivory); border: 1px solid var(--brown); overflow: hidden; flex: 0 0 auto; }
.job-card__strip { width: calc(100% + 32px); height: 17.77px; background: url('../assets/page-breaker.png') center / cover no-repeat; }
.job-card__text { display: flex; flex-direction: column; gap: 126px; width: 182px; color: var(--brown-text); }

/* ---------- Podi Way card (Frame 88, 180:2124) ---------- */
.podi-card { position: relative; display: flex; flex-direction: column; justify-content: center; width: 460px; padding: 164px 40px 56px; background: var(--ivory) url('../assets/podi-card-bg.png') center / cover no-repeat; overflow: hidden; color: var(--brown-text); }
.podi-card__text { display: flex; flex-direction: column; gap: 30px; width: 100%; }
.podi-card--yellow { background-color: var(--yellow); }
.podi-card--orange { background-color: var(--orange); }

/* ---------- Mobile (393 frame) ---------- */
@media (max-width: 767px) {
  .h1 { font-size: 40px; line-height: 1.1; letter-spacing: -1.5px; }
  .h2 { font-size: 32px; line-height: 1.15; letter-spacing: -1px; }
  .h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.5px; }
  .h4 { font-size: 22px; letter-spacing: 0; }
  .body-lg { line-height: 1.6; }
  .body { font-size: 16px; line-height: 1.2; }
  .caption { font-size: 13px; line-height: 1.2; }
  .btn-text, .btn { font-size: 16px; letter-spacing: 0.32px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.88px; }

  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav--open { background: var(--brown); }
  .nav--open .nav__menu { display: flex; position: absolute; top: 100%; left: 0; right: 0; height: 626px; background: var(--brown); padding: 90px 96px 120px; flex-direction: column; gap: 24px; }
  .nav__menu .btn { width: 100%; border-color: var(--ivory); }

  .page-breaker { height: 42px; }

  .footer { padding: 54px 36px; }
  .footer__row { flex-direction: column; align-items: flex-start; justify-content: space-between; height: 531px; gap: 0; }
  .footer__left { flex-direction: column; justify-content: center; gap: 56px; width: 100%; }
  .footer__logo { width: 321px; height: 54.76px; }
  .footer__rule { display: none; }
  .footer__links { gap: 12px; width: 162.67px; }
  .footer__links .btn { margin: 0; width: 100%; border: 1px solid var(--ivory); padding: 19.33px 28.99px; font-size: 14.49px; letter-spacing: 0.29px; }
  .footer__contact { align-items: center; text-align: center; width: 100%; }

  .form-section { height: 819px; }
  .form-section__inner { top: auto; bottom: 0; left: 40px; transform: none; flex-direction: column; gap: 100px; padding: 96px 0 56px; }
  .form-section__intro { width: 313px; align-items: center; text-align: center; }
  .form-section__intro .body-lg { width: 253px; }
  .form { width: 313px; }
  .upload { width: 100%; }
  .form .btn { width: 100%; }
  .form-section__watermark { left: 50.38%; top: -2.73%; width: 67.2%; height: 11%; }

  .job-card { width: 340px; height: auto; min-height: 232.8px; padding: 0 0 24px; }
  .job-card__strip { width: 100%; }
  .job-card__text { gap: 96px; width: 268px; height: 153px; }

  .podi-card { width: 300px; padding: 50px 40px 56px; }
  .podi-card .body-lg { font-size: 16px; line-height: 1.2; }
}

/* =====================================================================
   PAGE SECTIONS
   ===================================================================== */

/* ---------- Hero (homepage 119:490 / careers 142:557) ---------- */
.hero { position: relative; height: 862px; width: 100%; overflow: hidden; background: var(--orange); }
.hero__plaid { position: absolute; left: -2px; top: 0; width: 1442px; height: 862px; }
.hero__plaid--mobile { display: none; }
.hero__lockup { position: absolute; top: 362px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 32px; color: var(--ivory); }
.hero__lockup .h4 { font-size: 28px; letter-spacing: -0.14px; font-weight: 800; line-height: 1.2; }
.badge { width: 143.3px; height: 137.3px; flex: 0 0 auto; }
.hero--careers { display: flex; background: var(--brown); }
.hero--careers img.hero__photo { height: 861px; object-fit: cover; flex: 0 0 auto; }
.hero--careers .hero__photo--left { width: 716px; }
.hero--careers .hero__photo--right { width: 724px; }
.hero--careers .badge { position: absolute; left: 645px; top: 394px; }
.hero--careers .hero__label { position: absolute; top: 453px; transform: translateX(-50%); white-space: nowrap; text-align: center; color: var(--ivory); }
.hero--careers .hero__label--left { left: 355.5px; }
.hero--careers .hero__label--right { left: 1075px; }
.hero--careers .hero__lockup { display: none; }
.hero__mobile-bg { display: none; }

/* ---------- Intro (119:557 / 142:596) ---------- */
.intro { position: relative; height: 733px; width: 100%; overflow: hidden; background: var(--ivory); color: var(--brown-text); }
.intro__text { position: absolute; top: 225px; left: 264px; width: 911px; display: flex; flex-direction: column; align-items: center; gap: 62px; text-align: center; }
.intro__text .body-lg { width: 646px; }
.intro__wm { position: absolute; opacity: .16; pointer-events: none; }
.intro__wm--svgl { left: -123px; top: 623px; width: 523px; height: 177.7px; }
.intro__wm--svgr { left: 1120px; top: 610px; width: 523px; height: 177.7px; }
.intro__wm--a { left: 1117px; top: 45px; width: 441px; height: 426px; }
.intro__wm--b { left: -194px; top: 21px; width: 458px; height: 376px; }
.intro__wm img { width: 100%; height: 100%; object-fit: fill; }
.intro--careers .intro__text { top: 189px; left: 307px; width: 826px; gap: 49px; }
.intro--careers .intro__text .body-lg { width: 826px; }
.intro--careers .intro__wm--a { left: 1133px; top: 561px; width: 356.1px; height: 343.9px; }
.intro--careers .h4 { letter-spacing: -0.14px; }

/* ---------- The Podi Way carousel (180:2156) ---------- */
.podi-way { position: relative; height: 940px; width: 100%; overflow: hidden; background: var(--white) url('../assets/carousel-bg.jpg') center / cover no-repeat; }
.podi-way .podi-card { position: absolute; width: 485px; height: 457px; border: 1px solid var(--brown); }
.podi-way .slot-a { left: 235.2px; top: 116.5px; transform: rotate(-5.03deg); z-index: 1; }   /* yellow slot */
.podi-way .slot-b { left: 692.7px; top: 388.1px; transform: rotate(13.29deg); z-index: 2; }  /* orange slot */
.podi-way .slot-c { left: 466px; top: 247px; z-index: 3; }                                     /* front */
.podi-way__arrows .btn { position: absolute; top: 445px; z-index: 4; }
.podi-way__arrows [data-prev] { left: 68px; }
.podi-way__arrows [data-next] { left: 1323px; }

/* ---------- Menu (Frame 66 / Frame 68) ---------- */
.menu { background: var(--ivory); padding: 64px 64px 120px; width: 100%; overflow: hidden; color: var(--brown); }
.menu__inner { display: flex; flex-direction: column; align-items: center; gap: 84px; width: 100%; }
.menu__head { display: flex; flex-direction: column; gap: 10px; padding: 10px; width: 100%; }
.menu__title { padding: 0 30px; font-size: 31.5px; font-weight: 800; line-height: 39.5px; color: var(--brown); }
.menu__tabs { display: flex; flex-direction: column; width: 100%; }
.menu__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.menu__tab { padding: 20px 36px; font-size: 18px; line-height: 1; letter-spacing: 0.36px; text-transform: uppercase; white-space: nowrap; color: rgba(77, 21, 18, .2); }
.menu__tab:hover { color: #DBC7B2; }
.menu__tab.is-active { color: var(--green); }
.menu__desktop, .menu__mobile, .menu__panel { width: 100%; }
.menu__panel[hidden] { display: none; }
.menu__mobile { display: none; }
.menu__select { display: none; }

/* ---------- Quote band (141:270 / 180:2387) ---------- */
.quote { position: relative; height: 609px; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: url('../assets/quote-bg.jpg') center / cover no-repeat; color: var(--ivory); }
.quote::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
.quote__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 45px; width: 580px; text-align: center; }
.quote__inner .h2 { font-weight: 300; line-height: 1.05; letter-spacing: 0; }

/* ---------- Vacancies (142:725 / 152:1391) ---------- */
.vacancies { background: var(--ivory); padding: 64px 95px 120px; width: 100%; overflow: hidden; color: var(--brown-text); }
.vacancies__inner { display: flex; flex-direction: column; align-items: center; gap: 112px; width: 100%; }
.vacancies__head { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 505px; text-align: center; }
.vacancies__strip { width: 148px; height: 12.3px; }
.vacancies__head .h3 { letter-spacing: -0.36px; white-space: nowrap; }
.vacancies__body { display: flex; flex-direction: column; gap: 48px; width: 100%; }
.filters { display: flex; align-items: center; gap: 30px; }
.filter { display: flex; flex-direction: column; justify-content: flex-end; height: 48px; position: relative; }
.filter__label { padding: 24px 0 7px; font-size: 18px; line-height: 1; letter-spacing: 0.36px; color: var(--brown); white-space: nowrap; }
.filter__bar { height: 5px; width: 100%; }
.filter--orange .filter__bar { background: var(--orange); }
.filter--yellow .filter__bar { background: var(--yellow); }
.filter--green .filter__bar { background: var(--green); }
.cards { display: flex; align-items: center; gap: 32px; width: 100%; }
.cards__track { display: flex; align-items: center; gap: 22px; }
.cards .btn--icon-only { border-color: var(--brown); color: var(--brown); }
.cards .btn--icon-only:hover { color: var(--ivory); }

/* ---------- Mobile page sections ---------- */
@media (max-width: 767px) {
  .hero { height: 852px; }
  .hero__plaid { display: none; }
  .hero__plaid--mobile { display: block; position: absolute; left: -106px; top: 0; width: 606px; height: 862px; }
  .hero--careers .hero__photo, .hero--careers .hero__label { display: none; }
  .hero--careers .badge { position: static; }
  .hero--careers .hero__lockup { display: flex; }
  .hero__mobile-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__mobile-bg + .hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }

  .intro { height: 747px; }
  .intro__text { top: 192px; left: 40px; width: 313px; }
  .intro__text .body-lg { width: 313px; font-size: 16px; line-height: 1.2; }
  .intro__text .subheading { font-size: 22px; line-height: 1.2; text-transform: none; }
  .intro__wm--b { left: -37px; top: 0; width: 154px; height: 126px; }
  .intro__wm--a { left: 292px; top: 86px; width: 148px; height: 143px; }
  .intro__wm--svgl { left: -61px; top: 675px; width: 175.4px; height: 55.7px; }
  .intro__wm--svgr { left: 280px; top: 675px; width: 175.4px; height: 55.7px; }
  .intro--careers { height: 799px; }
  .intro--careers .intro__text { top: 189px; left: 62px; width: 270px; }
  .intro--careers .intro__text .h4 { width: 194px; }
  .intro--careers .intro__text .body-lg { width: 270px; font-size: 14px; line-height: 1.1; }
  .intro--careers .intro__wm--a { left: 213px; top: 630px; width: 200px; height: 193px; }
  .intro--careers .intro__wm--b { left: -17px; top: 0; width: 187.7px; height: 153.9px; }

  .podi-way { height: 747px; }
  .podi-way .podi-card { width: 300px; height: 440px; border: 0; }
  .podi-way .slot-a { left: -131.9px; top: 88.8px; transform: rotate(-2.68deg); z-index: 2; }
  .podi-way .slot-b { left: 245.8px; top: 66.9px; transform: rotate(6.63deg); z-index: 1; }
  .podi-way .slot-c { left: 46px; top: 137px; }
  .podi-way .podi-card .body-lg { font-size: 18px; line-height: 1.2; }
  .podi-way .podi-card--yellow .body-lg { font-size: 16px; }
  .podi-way__arrows .btn { top: 652px; }
  .podi-way__arrows [data-prev] { left: 137px; }
  .podi-way__arrows [data-next] { left: 206px; }

  .menu { padding: 64px 36px 120px; }
  .menu__head { padding: 10px 0; align-items: center; }
  .menu__title { padding: 0; }
  .menu__row { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__tab { padding: 20px 36px; font-size: 16px; letter-spacing: 0.32px; text-align: center; }
  .menu__desktop { display: none; }
  .menu__mobile { display: block; }
  /* collapsed state (Frame 93): selected tab bar replaces the list */
  .menu.is-collapsed .menu__head { display: none; }
  .menu.is-collapsed { padding-top: 0; }
  .menu.is-collapsed .menu__inner { gap: 64px; }
  .menu.is-collapsed .menu__select { display: flex; }
  .menu__select { width: calc(100% + 72px); margin: 0 -36px; align-items: center; justify-content: center; gap: 10px; padding: 18px 32px 18px 36px; border: 1px solid var(--ivory); background: var(--ivory); color: var(--green); font-size: 18px; line-height: 1; letter-spacing: 0.36px; text-transform: uppercase; }
  .menu__select .icon { width: 24px; height: 24px; transform: rotate(90deg); }

  .quote { height: 559px; }
  .quote__inner { width: 224px; }
  .quote__inner .h2 { font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -0.13px; }

  .vacancies { padding: 64px 36px 120px; }
  .vacancies__head { width: 231px; }
  .vacancies__head .h3 { letter-spacing: -0.13px; white-space: normal; }
  .vacancies__head .body-lg { font-size: 16px; line-height: 1.2; }
  .vacancies__body { width: 340px; align-self: center; }
  .cards { flex-direction: column; }
  .cards__track { flex-direction: column; }
  .cards .btn--icon-only { display: none; }
}
