:root {
  --bg: #f3f1ec;
  --bg2: #ffffff;
  --ink: #111a22;
  --mut: #5b6670;
  --line: #d9d5cb;
  --acc: #1d4e7a;
  --gold: #b8924d;
  --dk: #0d1d2b;
  --on: #f3f1ec;
  --nav-h: 70px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --scrim-light: rgba(243, 241, 236, 0.90);
  --scrim-light-2: rgba(255, 255, 255, 0.92);
  --scrim-dark: rgba(11, 22, 33, 0.84);
  box-sizing: border-box;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bot);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b141c;
    --bg2: #111e29;
    --ink: #ecebe6;
    --mut: #93a0ab;
    --line: #223240;
    --acc: #6aa6d8;
    --gold: #d2ab63;
    --dk: #060d13;
    --scrim-light: rgba(11, 20, 28, 0.90);
    --scrim-light-2: rgba(17, 30, 41, 0.92);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b141c;
  --bg2: #111e29;
  --ink: #ecebe6;
  --mut: #93a0ab;
  --line: #223240;
  --acc: #6aa6d8;
  --gold: #d2ab63;
  --dk: #060d13;
  --scrim-light: rgba(11, 20, 28, 0.90);
  --scrim-light-2: rgba(17, 30, 41, 0.92);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--safe-top) + var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 "IBM Plex Sans", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  overflow-x: clip;
  max-width: 100%;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "Newsreader", "Noto Sans SC", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.85rem, 4.4vw, 3.3rem);
}

a {
  color: inherit;
  text-decoration: none;
}

.w {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 28px);
  position: relative;
  z-index: 2;
}

/* Section Wallpapers with High-Contrast Scrim */
section {
  position: relative;
  padding: clamp(68px, 9vw, 110px) 0;
  overflow: clip;
}

.wp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: saturate(0.65) contrast(1.05);
}

section.alt-surface {
  background: var(--bg2);
}

section.alt-surface .wp-bg {
  opacity: 0.12;
}

section.lg .wp-bg,
header.hero .wp-bg {
  opacity: 0.22;
  filter: saturate(0.55) brightness(0.75);
}

.ey {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.mut {
  color: var(--mut);
}

/* Scroll Progress & Custom Pointer */
#pg {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 120;
}

#cur {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 95;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s;
  left: -99px;
  top: 0;
  mix-blend-mode: difference;
}

#cur.h {
  width: 64px;
  height: 64px;
  background: rgba(184, 146, 77, 0.25);
}

@media (pointer: coarse), (hover: none) {
  #cur {
    display: none;
  }
}

/* Navigation & Mobile Menu */
nav {
  position: fixed;
  top: var(--safe-top);
  left: 0;
  right: 0;
  z-index: 80;
  color: #f3f1ec;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

nav.sc {
  background: rgba(13, 29, 43, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

nav .w {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
}

.br {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

.br img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
}

nav .l {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

nav .l a {
  opacity: 0.86;
  position: relative;
  white-space: nowrap;
  padding: 6px 0;
}

nav .l a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav .l a:hover,
nav .l a:focus-visible {
  opacity: 1;
}

nav .l a:hover::after,
nav .l a:focus-visible::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

select,
input,
textarea {
  font: inherit;
  color: inherit;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 3px;
  width: 100%;
  min-height: 44px;
}

select option {
  color: #111;
  background: #fff;
}

nav select {
  width: auto;
  min-height: 38px;
  padding: 6px 10px;
  background: rgba(13, 29, 43, 0.55);
  color: #f3f1ec;
  border-color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #f3f1ec;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: calc(var(--safe-top) + var(--nav-h));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 20, 28, 0.98);
  backdrop-filter: blur(14px);
  z-index: 79;
  padding: 24px clamp(16px, 5vw, 28px) calc(32px + var(--safe-bot));
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: #f3f1ec;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer a.hi {
  color: var(--gold);
}

@media (max-width: 980px) {
  nav .l {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  nav select {
    margin-left: auto;
  }
}

/* Buttons */
.bt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #101820;
  border: 1px solid var(--gold);
  padding: 13px 24px;
  min-height: 44px;
  font: 600 0.85rem/1 "IBM Plex Sans", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
}

.bt:hover {
  box-shadow: 0 10px 28px rgba(184, 146, 77, 0.35);
  transform: translateY(-1px);
}

.bt.o {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.bt.o:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* Hero — Refined Editorial Layout Beside Globe */
.hero {
  background: radial-gradient(circle at 78% 45%, rgba(29, 78, 122, 0.38), transparent 58%), var(--dk);
  color: #f3f1ec;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 36px) 0 88px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .w {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  letter-spacing: -0.015em;
}

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.ln span {
  display: block;
  transform: translateY(110%);
  animation: up 1.05s cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
}

.ln:nth-child(2) span {
  animation-delay: 0.14s;
  color: var(--gold);
  font-style: italic;
}

.ln:nth-child(3) span {
  animation-delay: 0.28s;
}

@keyframes up {
  to {
    transform: none;
  }
}

.hero p {
  color: #c2d0dc;
  max-width: 500px;
  margin: 18px 0 24px;
  font-size: clamp(0.95rem, 1.3vw, 1.04rem);
  line-height: 1.72;
}

.hero-corridors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.corridor-tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #dbe6ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 146, 77, 0.35);
  padding: 5px 11px;
  border-radius: 99px;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.globe-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(184, 146, 77, 0.09), rgba(13, 29, 43, 0.25) 70%, transparent 100%);
}

#gl {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

.globe-caption {
  margin-top: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9bb0c1;
  text-align: center;
}

.hf {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #889cae;
  text-transform: uppercase;
  z-index: 2;
}

.hf .w {
  display: flex;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 28px) 0 92px;
  }
  .hero .w {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 100%;
  }
  #gl {
    max-width: min(340px, 78vw);
  }
  .cta .bt {
    width: 100%;
  }
  .hf {
    bottom: 12px;
    letter-spacing: 0.09em;
  }
}

/* About Sticky Word Reveal */
.sc2 {
  min-height: 210vh;
  padding: 0;
}

.stk {
  position: sticky;
  top: var(--nav-h);
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 36px 0;
  z-index: 2;
}

#ab {
  font-family: "Newsreader", "Noto Sans SC", serif;
  font-size: clamp(1.35rem, 3.1vw, 2.65rem);
  line-height: 1.32;
}

#ab span {
  opacity: 0.16;
  transition: opacity 0.35s ease;
}

#ab span.on {
  opacity: 1;
}

.fx {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(24px, 4vw, 40px);
  font-size: 0.9rem;
}

.fx > div {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
}

.fx b {
  display: block;
  font: 400 clamp(1.6rem, 3vw, 2.2rem) "Newsreader", Georgia, serif;
  color: var(--gold);
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .sc2 {
    min-height: auto;
  }
  .stk {
    position: static;
    min-height: auto;
    padding: clamp(64px, 9vw, 90px) 0;
  }
  #ab span {
    opacity: 1;
  }
  .fx {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Product Accordion Panels + Photos */
.pns {
  display: flex;
  gap: 8px;
  height: clamp(470px, 58vh, 570px);
  margin-top: 28px;
}

.pn {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  background: var(--dk);
  color: #f3f1ec;
  transition: flex 0.75s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.pn-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transition: transform 0.75s ease, opacity 0.45s ease;
}

.pn.on .pn-photo {
  opacity: 0.36;
  transform: scale(1.03);
}

.pn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, rgba(10, 22, 34, 0.35) 0%, var(--c) 55%, rgba(8, 16, 25, 0.92) 100%);
  opacity: 0.9;
}

.pn.on {
  flex: 5;
}

.pn .t {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font: 1.1rem "Newsreader", Georgia, serif;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.pn.on .t {
  opacity: 0;
  pointer-events: none;
}

.pn .in {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.45s ease;
  min-width: min(380px, 100%);
  overflow-y: auto;
}

.pn.on .in {
  opacity: 1;
  transition-delay: 0.25s;
}

.pn .nm {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font: 600 0.8rem/1 "IBM Plex Sans", sans-serif;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.pn.on .nm {
  left: clamp(20px, 3vw, 34px);
  transform: none;
}

.pn h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.pn li {
  font-size: 0.88rem;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.pn ul {
  padding: 0;
  margin: 14px 0 0;
}

.pn p {
  margin: 0;
  color: #dce6ef;
  max-width: 460px;
  font-size: 0.92rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.photo-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  background: var(--dk);
}

.photo-card figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--mut);
}

@media (max-width: 820px) {
  .pns {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  .pn {
    flex: none;
    height: 60px;
    transition: height 0.45s ease;
  }
  .pn.on {
    height: auto;
    min-height: 320px;
  }
  .pn .t {
    writing-mode: horizontal-tb;
    transform: none;
    left: 62px;
    right: 16px;
    bottom: auto;
    top: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pn .in {
    position: relative;
    min-width: 0;
    padding: 58px 20px 22px;
    display: none;
  }
  .pn.on .in {
    display: flex;
  }
  .pn .nm {
    top: 21px;
    left: 20px;
    transform: none;
  }
  .photo-strip {
    grid-template-columns: 1fr;
  }
}

/* Logistics */
.lg {
  background: var(--dk);
  color: #f3f1ec;
}

.lg .mut {
  color: #a4b7c7;
}

svg#rt {
  width: 100%;
  height: auto;
  margin: 18px 0;
}

.est {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 29, 43, 0.72);
  backdrop-filter: blur(8px);
  padding: clamp(16px, 3vw, 26px);
  border-radius: 4px;
}

.est label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.est select {
  background: rgba(11, 20, 28, 0.75);
  color: #f3f1ec;
  border-color: rgba(255, 255, 255, 0.25);
}

#res b {
  font: 400 clamp(2.1rem, 4vw, 3rem)/1 "Newsreader", Georgia, serif;
  color: var(--gold);
}

@media (max-width: 820px) {
  .est {
    grid-template-columns: 1fr;
  }
}

/* Compliance & Certificate Images */
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 26px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  background: none;
  border: 0;
  color: var(--mut);
  padding: 12px 18px;
  min-height: 44px;
  font: 500 0.9rem/1.2 "IBM Plex Sans", "Noto Sans SC", sans-serif;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tabs button.on {
  color: var(--ink);
  border-color: var(--gold);
}

.cp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
}

@media (max-width: 820px) {
  .cp {
    grid-template-columns: 1fr;
  }
}

#tc li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
  opacity: 0;
  transform: translateX(-16px);
  animation: li 0.5s forwards;
}

#tc ul {
  padding: 0;
  margin: 0;
}

#tc li b {
  display: block;
  font-weight: 600;
}

@keyframes li {
  to {
    opacity: 1;
    transform: none;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 520px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.cert {
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 4px;
  transition: transform 0.35s ease;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.cert:hover {
  transform: translateY(-2px);
}

.cert-frame {
  border: 2px solid var(--gold);
  padding: 12px;
  text-align: center;
  border-radius: 2px;
}

.cert-img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.cert h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cert small {
  letter-spacing: 0.14em;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  display: block;
}

/* Leadership */
.tm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
}

.tm .nmrow {
  font: 400 clamp(1.35rem, 3vw, 2.5rem)/1.25 "Newsreader", "Noto Sans SC", serif;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.35s ease, padding-left 0.35s ease, color 0.35s ease;
  min-height: 54px;
  display: flex;
  align-items: center;
}

.tm .nmrow.on {
  opacity: 1;
  padding-left: 16px;
  color: var(--gold);
}

#tp {
  background: var(--dk);
  color: #f3f1ec;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 4px;
  min-height: 320px;
}

.leader-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.leader-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: #162a3d;
}

#tp small {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
}

#tp .ck {
  font: 400 clamp(1.55rem, 3.2vw, 2.15rem)/1.15 "Newsreader", Georgia, serif;
  margin: 12px 0 6px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
  .tm {
    grid-template-columns: 1fr;
  }
  .tm .nmrow.on {
    padding-left: 10px;
  }
}

/* Careers */
.tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0;
}

.tools input {
  max-width: 300px;
  flex: 1 1 200px;
}

#cf {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--ink);
  padding: 9px 16px;
  min-height: 40px;
  border-radius: 99px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chip.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.job {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  cursor: pointer;
}

.job:last-of-type {
  border-bottom: 1px solid var(--line);
}

.job .hd {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.job h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  margin: 0;
}

.job .bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  color: var(--mut);
}

.job.on .bd {
  max-height: 280px;
  padding-top: 10px;
}

.job .pl {
  font-size: 1.5rem;
  transition: transform 0.35s ease;
  color: var(--gold);
  flex-shrink: 0;
}

.job.on .pl {
  transform: rotate(45deg);
}

.job:hover h3 {
  color: var(--gold);
}

/* Portals & Quote */
.pt,
.qg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 60px);
}

.rl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg2);
}

.rl button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 12px 6px;
  min-height: 44px;
  cursor: pointer;
  color: var(--mut);
  font: inherit;
  font-size: 0.84rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.rl button:last-child {
  border-right: 0;
}

.rl button.on {
  background: var(--ink);
  color: var(--bg);
}

#lf {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

#lf p {
  margin: 0;
}

.qs {
  height: 3px;
  background: var(--line);
  margin: 20px 0 24px;
  border-radius: 2px;
  overflow: hidden;
}

.qs i {
  display: block;
  height: 100%;
  width: 33.3%;
  background: var(--gold);
  transition: width 0.45s ease;
}

.stp {
  display: none;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stp.on {
  display: grid;
  animation: li 0.45s forwards;
}

.stp .f {
  grid-column: 1 / -1;
}

#qc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stp label.chip {
  cursor: pointer;
}

@media (max-width: 820px) {
  .pt,
  .qg {
    grid-template-columns: 1fr;
  }
  .stp {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .rl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rl button:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .rl button:nth-child(even) {
    border-right: 0;
  }
  .rl button:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

/* Modal & Footer & Toast */
.mo {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 16, 0.72);
  display: none;
  place-items: center;
  z-index: 140;
  padding: 16px;
}

.mo.on {
  display: grid;
}

.mo > form,
.mo > div {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(20px, 4vw, 34px);
  max-width: 460px;
  width: 100%;
  border-radius: 4px;
  display: grid;
  gap: 12px;
  max-height: 90svh;
  overflow-y: auto;
}

footer {
  background: var(--dk);
  color: #9db0c0;
  padding: clamp(48px, 7vw, 72px) 0 28px;
  font-size: 0.88rem;
}

footer .c {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: 28px;
}

footer h4 {
  color: #fff;
  margin: 0 0 10px;
  font-weight: 500;
}

footer a {
  display: inline-block;
  padding: 5px 0;
  overflow-wrap: anywhere;
}

footer a:hover {
  color: var(--gold);
}

.lgl {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  footer .c {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  footer .c {
    grid-template-columns: 1fr;
  }
}

#ts {
  position: fixed;
  bottom: calc(var(--safe-bot) + 18px);
  left: 50%;
  transform: translate(-50%, 160px);
  background: var(--gold);
  color: #101820;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.35s ease;
  z-index: 220;
  max-width: min(92vw, 480px);
  text-align: center;
}

#ts.s {
  transform: translate(-50%, 0);
}

.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .rv,
  #ab span {
    opacity: 1 !important;
    transform: none !important;
  }
  .ln span {
    transform: none !important;
  }
}