/* ==========================================================================
   RIFT LLC — Stylesheet
   Design tokens: logo black + logo purple, no secondary accent color
   ========================================================================== */

:root{
  --ink:          #0B0B0D;
  --ink-soft:     #17171B;
  --purple:       #3D1B52;   /* primary brand purple, from the logo mark */
  --purple-deep:  #26102F;   /* pressed / hover-on-white state */
  --purple-light: #8C63AA;   /* legible tint for use on dark backgrounds */
  --purple-pale:  #F1ECF4;   /* light tint for badges on white */
  --paper:        #FAFAF9;
  --paper-dim:    #F1F0EC;
  --white:        #FFFFFF;
  --steel:        #52525A;
  --steel-lt:     #94939B;
  --line:         #E4E2DD;
  --line-dark:    #2A2A30;

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(11,11,13,.05), 0 1px 3px rgba(11,11,13,.06);
  --shadow-md: 0 4px 14px rgba(11,11,13,.08);
  --shadow-lg: 0 18px 44px rgba(11,11,13,.14);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p{ margin:0 0 1em; color: var(--steel); }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }

:focus-visible{ outline: 3px solid var(--purple-light); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ── Eyebrow label ───────────────────────────────────────────────── */
.tag{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--purple);
}
.tag::before{
  content:'';
  width:18px; height:2px;
  background: var(--purple);
  flex-shrink:0;
}
.tag.tag-dark{ color: var(--purple-light); }
.tag.tag-dark::before{ background: var(--purple-light); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-purple{ background: var(--purple); color: var(--white); }
.btn-purple:hover{ background: var(--purple-deep); box-shadow: var(--shadow-md); }
.btn-ink{ background: var(--ink); color: var(--white); }
.btn-ink:hover{ background: #000; box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-ink{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline-ink:hover{ border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; }

/* ── Navbar ──────────────────────────────────────────────────────── */
#navbar{
  position: sticky; top:0; z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height: 82px; }
.nav-logo img{ height: 55px; width:auto;  }
.nav-links{ display:flex; align-items:center; gap: 30px; }
.nav-links a{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing:.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--white); border-color: var(--purple-light); }
.nav-links a.nav-cta{ border:none; }
.nav-cta.btn{ padding: 10px 18px; font-size:13px; }
.hamburger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; background:none; border:none; cursor:pointer; padding:0; }
.hamburger span{ width:100%; height:2px; background: var(--white); transition: all .25s ease; }
.mobile-menu{
  display:none; flex-direction:column; gap:2px;
  background: var(--ink); border-top:1px solid var(--line-dark);
  max-height:0; overflow:hidden; transition: max-height .3s ease;
}
.mobile-menu.open{ max-height: 480px; }
.mobile-menu a{
  padding: 15px 28px; color: rgba(255,255,255,.8);
  font-family: var(--font-mono); font-size:13px; letter-spacing:.05em; text-transform:uppercase;
  border-bottom: 1px solid var(--line-dark);
}

@media (max-width: 940px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .mobile-menu{ display:flex; }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero{
  position:relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  color: var(--ink);
  overflow:hidden;
  padding: 100px 0 78px;
  border-bottom: 1px solid var(--line);
}
.hero-grain{
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(11,11,13,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity:.6; pointer-events:none;
}
.hero-inner{ position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; max-width:760px; margin:0 auto; }
.hero-copy .tag{ margin-bottom: 22px; }
.hero-copy h1{
  font-size: clamp(38px, 5vw, 62px);
  color: var(--ink);
}
.hero-copy h1 mark{ background:none; color: var(--purple); }
.hero-copy p.lead{
  font-size: 18px; color: var(--steel); max-width: 520px; margin: 0 auto 28px;
}
.hero-btns{ display:flex; gap: 14px; flex-wrap:wrap; justify-content:center; margin-bottom: 40px; }
.hero-meta{ display:flex; gap: 28px; flex-wrap:wrap; justify-content:center; font-family: var(--font-mono); font-size:12.5px; color: var(--steel); letter-spacing:.03em; }
.hero-meta strong{ color: var(--ink); }

/* Repair vignettes */
.hero-fixes{ display:flex; gap: 18px; justify-content:center; flex-wrap:wrap; margin-top: 48px; }
.fix-card{
  width:132px; display:flex; flex-direction:column; align-items:center; gap:10px;
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 16px 10px 14px; box-shadow: var(--shadow-sm);
}
.fix-svg{ width:76px; height:76px; }
.fix-label{ font-family: var(--font-mono); font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color: var(--steel); }

.fix-handle{ transform: translate(20px,58px) rotate(-22deg); animation: fix-handle-turn 2.6s ease-in-out infinite; }
@keyframes fix-handle-turn{
  0%,35%{ transform: translate(20px,58px) rotate(-22deg); }
  50%,80%{ transform: translate(20px,58px) rotate(22deg); }
  100%{ transform: translate(20px,58px) rotate(-22deg); }
}
.fix-water{ opacity:0; animation: fix-water-flow 2.6s ease-in-out infinite; }
@keyframes fix-water-flow{
  0%,40%{ opacity:0; }
  50%,80%{ opacity:1; }
  95%,100%{ opacity:0; }
}

.fix-spark{ transform-origin: 50px 50px; animation: fix-spark-flash 2.4s ease-in-out infinite; }
.fix-glow{ transform-origin: 50px 50px; animation: fix-glow-pulse 2.4s ease-in-out infinite; }
@keyframes fix-spark-flash{
  0%,40%{ opacity:0; transform: scale(.55); }
  55%{ opacity:1; transform: scale(1.05); }
  70%{ opacity:1; transform: scale(1); }
  90%,100%{ opacity:0; transform: scale(.7); }
}
@keyframes fix-glow-pulse{
  0%,45%{ opacity:0; transform: scale(.6); }
  60%{ opacity:.25; transform: scale(1.3); }
  80%{ opacity:0; transform: scale(1.6); }
  100%{ opacity:0; }
}

.fix-fan{ animation: fix-fan-spin 2.2s linear infinite; }
@keyframes fix-fan-spin{ to{ transform: translate(50px,50px) rotate(360deg); } }
.fix-air line{ opacity:0; animation: fix-air-flow 1.8s ease-out infinite; }
.fix-air line:nth-child(2){ animation-delay:.25s; }
.fix-air line:nth-child(3){ animation-delay:.5s; }
@keyframes fix-air-flow{
  0%{ opacity:0; transform: translateX(-4px); }
  25%{ opacity:.8; transform: translateX(0); }
  75%{ opacity:.2; transform: translateX(9px); }
  100%{ opacity:0; transform: translateX(12px); }
}

@media (prefers-reduced-motion: reduce){
  .fix-handle, .fix-water, .fix-spark, .fix-glow, .fix-fan, .fix-air line{ animation: none !important; }
}

@media (max-width: 560px){
  .fix-card{ width:104px; padding:12px 8px 10px; }
  .fix-svg{ width:60px; height:60px; }
}

/* ── Logos / certifications strip ───────────────────────────────── */
.logos{ background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos-label{
  text-align:center; font-family: var(--font-body); font-weight:600;
  font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--steel-lt); margin: 0 0 24px;
}
.logos-row{ display:flex; align-items:center; justify-content:center; gap:44px; flex-wrap:wrap; }
.logo-item{ height:34px; width:auto; filter: grayscale(1); opacity:.55; transition: opacity .2s ease, filter .2s ease; }
.logo-item:hover{ filter:none; opacity:1; }

@media (max-width: 620px){
  .logos-row{ gap:28px; }
  .logo-item{ height:28px; }
}


/* ── Trust strip ─────────────────────────────────────────────────── */
.trust-strip{ background: var(--ink-soft); border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); }
.trust-strip .container{ display:flex; flex-wrap:wrap; gap: 10px 40px; padding: 20px 28px; justify-content: space-between; }
.trust-item{ display:flex; align-items:baseline; gap:8px; font-family: var(--font-mono); font-size:12.5px; color: rgba(255,255,255,.55); letter-spacing:.04em; text-transform:uppercase; }
.trust-item strong{ font-family: var(--font-display); font-size: 20px; color: var(--white); letter-spacing:0; text-transform:none; }

/* ── Sections generic ───────────────────────────────────────────── */
section{ padding: 96px 0; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head .tag{ margin-bottom: 16px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); }
.section-head p{ font-size: 17px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ── Pillars / process cards ───────────────────────────────────── */
.pillars{ background: var(--paper); }
.pillars-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; position:relative; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.pillar-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar-card .tag{ margin-bottom: 20px; }
.pillar-card h3{ font-size: 22px; margin-bottom: 12px; }
.pillar-card p{ font-size: 15px; margin-bottom:0; }
.pillar-icon{ width:44px; height:44px; color: var(--purple); margin-bottom:16px; }
.pillar-icon svg{ width:100%; height:100%; }

@media (max-width: 900px){ .pillars-grid{ grid-template-columns: 1fr; } }

/* ── Services ────────────────────────────────────────────────────── */
.services{ background: var(--paper-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ticket{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display:flex; flex-direction:column; gap:14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ticket:hover{ border-color: rgba(61,27,82,.25); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ticket-icon{ width:38px; height:38px; color: var(--purple); }
.ticket-icon svg{ width:100%; height:100%; }
.ticket h3{ font-size: 19px; margin-bottom: 2px; }
.ticket p{ font-size: 14.5px; margin-bottom:0; flex:1; }
.ticket-link{ font-family: var(--font-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color: var(--purple); display:inline-flex; align-items:center; gap:6px; }

@media (max-width: 940px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .services-grid{ grid-template-columns: 1fr; } }

/* ── Service wheel (solid pie-ring, multi-color, rotating) ──────────── */
.service-wheel-wrap{ display:flex; justify-content:center; padding: 12px 0 8px; }
.service-wheel{
  position:relative;
  --wheel-size: 620px;
  width: var(--wheel-size); height: var(--wheel-size); max-width:100%;
}
.wheel-ring-svg{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.wheel-spin-group{
  transform-box: fill-box;
  transform-origin: center;
  animation: wheel-rotate 90s linear infinite;
}
.service-wheel:hover .wheel-spin-group,
.service-wheel:focus-within .wheel-spin-group{
  animation-play-state: paused;
}
@keyframes wheel-rotate{ to{ transform: rotate(360deg); } }

.wedge{
  cursor:pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .2s ease, filter .2s ease;
}
.wedge:hover,
.wedge:focus{
  transform: scale(1.025);
  filter: brightness(1.06);
  outline: none;
}
.wedge:focus-visible{ filter: brightness(1.12); }
.wedge-shape{ transition: fill .2s ease; }
.wedge-icon{ pointer-events:none; }

.wheel-center{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  width:228px; height:228px; border-radius:50%;
  background: var(--white);
  border:1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding: 22px;
  z-index:2;
}
.wheel-center-face{
  position:absolute; inset:22px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; transition: opacity .25s ease;
}
.wheel-center-face.is-active{ opacity:1; }
.wheel-center-default img{ width:46px; height:110px; object-fit: contain; }

.wheel-info-pic{
  width:60px; height:60px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:12px; box-shadow: var(--shadow-sm);
  background: var(--purple);
}

/* Image preview inside center hub on hover */
.wheel-info-photo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: block;
}

@media (max-width: 900px) {
  .wheel-info-photo {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 10px;
  }
}

@media (max-width: 620px) {
  .wheel-info-photo {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    border-radius: 8px;
  }
}
.wheel-info-pic svg{ width:30px; height:30px; }
.wheel-center-info h3{ font-size:15px; margin-bottom:6px; color: var(--ink); }
.wheel-center-info p{ font-size:12px; line-height:1.5; margin-bottom:0; color: var(--steel); }

.wheel-hint{ text-align:center; font-size:13px; color: var(--steel-lt); margin: 22px 0 0; }

@media (prefers-reduced-motion: reduce){
  .wedge{ transition: none; }
  .wheel-spin-group{ animation: none !important; }
}

@media (max-width: 900px){
  .service-wheel{ --wheel-size: 460px; }
  .wheel-center{ width:172px; height:172px; padding:18px; }
  .wheel-center-face{ inset:18px; }
  .wheel-center-default img{ width:38px; height:90px; }
  .wheel-info-pic{ width:50px; height:50px; border-radius:12px; margin-bottom:10px; }
  .wheel-info-pic svg{ width:24px; height:24px; }
}
@media (max-width: 620px){
  .service-wheel{ --wheel-size: 340px; }
  .wheel-center{ width:132px; height:132px; padding:14px; }
  .wheel-center-face{ inset:14px; }
  .wheel-center-default img{ width:32px; height:76px; }
  .wheel-info-pic{ width:40px; height:40px; border-radius:10px; margin-bottom:8px; }
  .wheel-info-pic svg{ width:20px; height:20px; }
  .wheel-center-info h3{ font-size:13px; }
  .wheel-center-info p{ font-size:10.5px; }
}
@media (max-width: 420px){
  .service-wheel{ --wheel-size: 280px; }
  .wheel-center{ width:104px; height:104px; padding:10px; }
  .wheel-info-pic{ width:34px; height:34px; margin-bottom:6px; }
  .wheel-info-pic svg{ width:17px; height:17px; }
  .wheel-center-info p{ display:none; }
}

/* ── Industries strip ───────────────────────────────────────────── */
.industries{ background: var(--paper); }
.industries-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.industry-cell{ background: var(--white); padding: 28px 18px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; transition: background .15s ease; }
.industry-cell:hover{ background: var(--purple-pale); }
.industry-cell .ico{ width:28px; height:28px; color: var(--purple); }
.industry-cell .ico svg{ width:100%; height:100%; }
.industry-cell span{ font-family: var(--font-body); font-weight:600; font-size: 14px; letter-spacing:.01em; color: var(--ink); }

@media (max-width: 820px){ .industries-grid{ grid-template-columns: repeat(2,1fr); } }

/* ── Values band (dark) ─────────────────────────────────────────── */
.values-band{ background: var(--ink); color: var(--white); }
.values-band .section-head h2{ color: var(--white); }
.values-band .section-head p{ color: rgba(255,255,255,.6); }
.values-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card{ border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px 24px; background: var(--ink-soft); transition: border-color .15s ease; }
.value-card:hover{ border-color: rgba(140,99,170,.5); }
.value-card .num{ font-family: var(--font-mono); font-size:12px; color: var(--purple-light); letter-spacing:.08em; margin-bottom:14px; }
.value-card h4{ color:var(--white); font-size:18px; margin-bottom:8px; }
.value-card p{ color: rgba(255,255,255,.58); font-size:14px; margin-bottom:0; }

@media (max-width: 940px){ .values-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .values-grid{ grid-template-columns: 1fr; } }

/* ── About page specific ────────────────────────────────────────── */
.page-header{ background: var(--ink); color: var(--white); padding: 60px 0 48px; }
.breadcrumb{ font-family: var(--font-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color: rgba(255,255,255,.45); display:flex; gap:8px; align-items:center; margin-bottom: 18px; }
.breadcrumb a{ color: rgba(255,255,255,.7); }
.breadcrumb a:hover{ color:var(--purple-light); }
.page-header h1{ color: var(--white); font-size: clamp(30px,4vw,46px); margin-bottom:10px; }
.page-header p{ color: rgba(255,255,255,.62); font-size:16px; max-width:600px; margin-bottom:0; }

.about-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items:start; }
.about-text .tag{ margin-bottom:16px; }
.about-text h2{ font-size: clamp(26px,3vw,34px); }
.about-stats{ display:grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.a-stat{ background: var(--white); padding: 28px 22px; }
.a-stat .num{ font-family: var(--font-display); font-size: 26px; color: var(--purple); }
.a-stat .lbl{ font-family: var(--font-mono); font-size:11.5px; letter-spacing:.05em; text-transform:uppercase; color: var(--steel); margin-top:6px; }

@media (max-width: 900px){ .about-grid{ grid-template-columns: 1fr; } }

.locations-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.loc-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding:26px; box-shadow: var(--shadow-sm); }
.loc-card .tag{ margin-bottom:14px; }
.loc-card address{ font-style:normal; font-size:15px; color:var(--ink); line-height:1.7; }
@media (max-width: 820px){ .locations-grid{ grid-template-columns:1fr; } }

/* ── CTA band ────────────────────────────────────────────────────── */
.cta-band{ background: var(--purple); color: var(--white); text-align:center; }
.cta-band h2{ color: var(--white); font-size: clamp(26px,3.6vw,38px); }
.cta-band p{ color: rgba(255,255,255,.75); max-width:560px; margin:0 auto 30px; }
.cta-btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── Contact page ────────────────────────────────────────────────── */
.contact-layout{ display:grid; grid-template-columns: .95fr 1.15fr; gap: 50px; align-items:start; }
.contact-info .tag{ margin-bottom:18px; }
.info-row{ display:flex; gap:14px; padding: 18px 0; border-bottom:1px solid var(--line); }
.info-row:first-of-type{ border-top:1px solid var(--line); }
.info-row .ico{ width:22px; height:22px; color:var(--purple); flex-shrink:0; margin-top:2px; }
.info-row .ico svg{ width:100%; height:100%; }
.info-row h4{ font-size:14px; margin-bottom:4px; font-family: var(--font-mono); letter-spacing:.04em; text-transform:uppercase; color:var(--steel); }
.info-row p, .info-row a{ font-size:15.5px; color:var(--ink); margin-bottom:0; }
.info-row a:hover{ color: var(--purple); }

.form-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-family: var(--font-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color: var(--steel); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 14px; border:1px solid var(--line); border-radius: 2px;
  font-family: var(--font-body); font-size:15px; color:var(--ink); background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--purple); background: var(--white); }
.field textarea{ min-height:120px; resize:vertical; }
.check-row{ display:flex; align-items:flex-start; gap:10px; margin-bottom:22px; }
.check-row input{ margin-top:4px; width:16px; height:16px; accent-color: var(--purple); flex-shrink:0; }
.check-row label{ font-size:13px; color: var(--steel); line-height:1.55; text-transform:none; font-family: var(--font-body); letter-spacing:0; }
.check-row a{ color: var(--purple); text-decoration:underline; }
.honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-status{ display:none; padding: 14px 18px; border-radius: 2px; font-size:14.5px; margin-top:16px; font-family: var(--font-body); }
.form-status.success{ display:block; background:#E7F5EA; color:#1E7A38; border:1px solid #BEE4C6; }
.form-status.error{ display:block; background:#FBE9E7; color:#B23A2E; border:1px solid #F2C3BC; }

@media (max-width: 900px){ .contact-layout{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-body{ padding: 72px 0 100px; }
.legal-layout{ display:grid; grid-template-columns: 260px 1fr; gap: 56px; align-items:start; }
.legal-toc{ position:sticky; top: 104px; border-left:2px solid var(--line); padding-left:20px; }
.legal-toc h4{ font-family: var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color: var(--steel); margin-bottom:14px; }
.legal-toc a{ display:block; font-size:14px; color: var(--steel); padding: 7px 0; border-left:2px solid transparent; margin-left:-22px; padding-left:20px; }
.legal-toc a:hover{ color: var(--ink); }
.legal-toc a.active{ color: var(--purple); border-color: var(--purple); font-weight:600; }
.legal-content{ max-width: 720px; }
.legal-section{ padding-bottom:38px; margin-bottom:38px; border-bottom:1px solid var(--line); }
.legal-section:last-child{ border-bottom:none; }
.legal-section h2{ font-size:23px; margin-bottom:14px; }
.legal-section p{ font-size:15.5px; }
.legal-section ul{ margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.legal-section li{ font-size:15.5px; color:var(--steel); margin-bottom:6px; }
.legal-updated{ font-family: var(--font-mono); font-size:12.5px; color: var(--steel-lt); margin-bottom: 8px; }

@media (max-width: 900px){ .legal-layout{ grid-template-columns:1fr; } .legal-toc{ position:static; display:flex; flex-wrap:wrap; gap: 4px 18px; border-left:none; border-bottom:1px solid var(--line); padding: 0 0 20px; margin-bottom: 30px; } .legal-toc a{ margin-left:0; border-left:none; padding-left:0; } }

/* ── Footer ──────────────────────────────────────────────────────── */
footer{
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding-top: 76px;
  position: relative;
}
footer::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(140,99,170,.55) 50%, transparent);
}
.footer-grid{ display:grid; grid-template-columns: 1.3fr .9fr .9fr 1.1fr; gap: 48px; padding-bottom: 52px; }
.footer-brand .footer-logo{ height:28px; margin-bottom:20px; filter: brightness(0) invert(1); }
.footer-brand p{ font-size:14.5px; line-height:1.7; color: rgba(255,255,255,.5); max-width:280px; margin-bottom:24px; }
.footer-cta{ padding:11px 22px; font-size:13.5px; }

.footer-col h4{ font-family: var(--font-display); font-weight:700; font-size:15px; color:#fff; margin-bottom:20px; letter-spacing:0; }
.footer-col a{ display:block; font-size:14.5px; color: rgba(255,255,255,.55); padding:6px 0; transition: color .15s ease; }
.footer-col a:hover{ color: var(--purple-light); }

.footer-contact-list{ display:flex; flex-direction:column; gap:16px; }
.footer-contact-list .row{ display:flex; gap:11px; align-items:flex-start; }
.footer-contact-list .ico{ width:17px; height:17px; margin-top:2px; color: var(--purple-light); flex-shrink:0; }
.footer-contact-list a, .footer-contact-list .text{ font-size:14.5px; color: rgba(255,255,255,.68); line-height:1.6; }
.footer-contact-list a:hover{ color:#fff; }

.footer-bottom{
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  font-size:13px; color: rgba(255,255,255,.4);
}
.footer-legal{ display:flex; gap:24px; flex-wrap:wrap; }
.footer-legal a{ color: rgba(255,255,255,.55); font-size:13px; }
.footer-legal a:hover{ color: var(--purple-light); }
.footer-top-link{ font-size:13px; color: rgba(255,255,255,.45); display:inline-flex; align-items:center; gap:6px; transition: color .15s ease; }
.footer-top-link:hover{ color: var(--purple-light); }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ── Utility icons (from icons.js) ──────────────────────────────── */
.tqf-icon svg{ width:1em; height:1em; }
/* ── HOW IT WORKS ANIMATED SECTION ───────────────────────────────── */
.process-section {
  background: var(--paper);
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(61, 27, 82, 0.2);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-badge {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--purple);
}

.card-top h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.anim-viewport {
  width: 100%;
  height: 200px;
  background: radial-gradient(circle at center, #faf7fc 0%, #f3edf8 100%);
  border-radius: 8px;
  border: 1px solid #f0eaf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.anim-svg {
  width: 100%;
  height: 100%;
}

.card-body h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card-body p {
  font-size: 14.5px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}

/* ── SVG Animations ──────────────────────────────────────────────── */

/* Card 01: Dispatch */
.phone-wiggle {
  transform-origin: 90px 105px;
  animation: phoneRing 3.5s ease-in-out infinite;
}
@keyframes phoneRing {
  0%, 65%, 100% { transform: rotate(0deg) scale(1); }
  70% { transform: rotate(-8deg) scale(1.03); }
  74% { transform: rotate(8deg) scale(1.03); }
  78% { transform: rotate(-6deg) scale(1.03); }
  82% { transform: rotate(6deg) scale(1.03); }
  86% { transform: rotate(-3deg); }
  90% { transform: rotate(0deg); }
}

.pulse-wave-1 {
  transform-origin: 90px 85px;
  animation: waveExpand 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.pulse-wave-2 {
  transform-origin: 90px 85px;
  animation: waveExpand 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s infinite;
}
@keyframes waveExpand {
  0% { opacity: 0; transform: scale(0.6); }
  30% { opacity: 0.9; }
  80%, 100% { opacity: 0; transform: scale(1.35); }
}

.dispatch-pin {
  transform-origin: 185px 55px;
  animation: pinDrop 3s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
@keyframes pinDrop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.radar-ring {
  stroke-dasharray: 6 6;
  animation: rotateRing 16s linear infinite;
  transform-origin: 135px 100px;
}
@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

.signal-dot {
  animation: blinkDot 1.8s ease-in-out infinite alternate;
}
.signal-dot:nth-child(2) { animation-delay: 0.3s; }
.signal-dot:nth-child(3) { animation-delay: 0.6s; }
.signal-dot:nth-child(4) { animation-delay: 0.9s; }
@keyframes blinkDot {
  0% { opacity: 0.15; transform: scale(0.8); }
  100% { opacity: 0.95; transform: scale(1.2); }
}

/* Card 02: Technician & Van */
.van-drive {
  animation: vanBounce 1.6s ease-in-out infinite;
}
@keyframes vanBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.wrench-action {
  transform-origin: 75px 100px;
  animation: wrenchTurn 2.8s ease-in-out infinite;
}
@keyframes wrenchTurn {
  0%, 100% { transform: rotate(0deg); }
  35% { transform: rotate(-22deg); }
  65% { transform: rotate(18deg); }
}

.tech-walk {
  animation: techBob 1.4s ease-in-out infinite;
}
@keyframes techBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.route-dash {
  stroke-dasharray: 6 6;
  animation: routeFlow 1s linear infinite;
}
@keyframes routeFlow {
  to { stroke-dashoffset: -12; }
}

/* Card 03: Tablet & Seal */
.sig-line {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: signDoc 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes signDoc {
  0%, 15% { stroke-dashoffset: 220; opacity: 0; }
  20% { opacity: 1; }
  55%, 85% { stroke-dashoffset: 0; opacity: 1; }
  95%, 100% { stroke-dashoffset: 220; opacity: 0; }
}

.check-mark {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkAnim 4.5s ease-out infinite;
}
.check-1 { animation-delay: 0.4s; }
.check-2 { animation-delay: 0.8s; }
.check-3 { animation-delay: 1.2s; }
@keyframes checkAnim {
  0%, 15% { stroke-dashoffset: 40; }
  40%, 85% { stroke-dashoffset: 0; }
  95%, 100% { stroke-dashoffset: 40; }
}

.badge-pop {
  transform-origin: 200px 145px;
  animation: sealPulse 3s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08) rotate(3deg); }
}

.float-paid {
  animation: floatBadge 3.2s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 940px) {
  .process-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}/* Layout & Background */
.trades-section {
  background-color: #f1efe9; /* Warm off-white background */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  padding: 100px 24px;
  min-height: 100vh;
  box-sizing: border-box;
}

.trades-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Header */
.trades-header {
  max-width: 620px;
  margin-bottom: 56px;
}

.trades-header .subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2b1f4d;
  margin-bottom: 20px;
}

.trades-header .subtitle .dash {
  width: 18px;
  height: 2px;
  background-color: #2b1f4d;
  display: inline-block;
}

.trades-header h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
  color: #0b0f19;
}

.trades-header p {
  color: #555e6d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Grid Layout */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card Container */
.trade-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

/* Card Upper Content */
.card-top {
  display: flex;
  flex-direction: column;
}

.trade-icon {
  width: 24px;
  height: 24px;
  color: #2b1f4d;
  margin-bottom: 28px;
}

.trade-icon svg {
  width: 100%;
  height: 100%;
}

.trade-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b0f19;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.trade-desc {
  color: #555e6d;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 28px 0;
}

/* Card Footer (Salary & CTA) */
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #f1efe9;
}

.salary {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b1f4d;
}

.apply-btn {
  color: #0b0f19;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.apply-btn:hover {
  color: #4f46e5;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .trades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .trades-grid {
    grid-template-columns: 1fr;
  }
  .trades-header h2 {
    font-size: 2.25rem;
  }
}
/* Layout & Global Colors */
.positions-section {
  background-color: #f1efe9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  padding: 100px 24px;
  min-height: 100vh;
  box-sizing: border-box;
}

.positions-container {
  max-width: 1060px;
  margin: 0 auto;
}

/* Header */
.positions-header {
  max-width: 620px;
  margin-bottom: 50px;
}

.positions-header .subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2b1f4d;
  margin-bottom: 16px;
}

.positions-header .subtitle .dash {
  width: 18px;
  height: 2px;
  background-color: #2b1f4d;
  display: inline-block;
}

.positions-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px 0;
  color: #0b0f19;
}

.positions-header p {
  color: #555e6d;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* List Layout */
.positions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Row Styling */
.position-row {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.position-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(43, 31, 77, 0.1);
}

/* Left Section: Icon + Text */
.col-main {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background-color: #f7f6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b1f4d;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.role-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b0f19;
  margin: 0 0 6px 0;
}

.role-desc {
  color: #555e6d;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Right Section: Metadata & CTA */
.col-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.meta-tag {
  background-color: #f1efe9;
  color: #555e6d;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
}

.salary {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b1f4d;
  min-width: 110px;
  text-align: right;
}

.apply-action {
  background-color: #0b0f19;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.apply-action:hover {
  background-color: #2b1f4d;
  transform: translateX(2px);
}

/* Responsive Behavior */
@media (max-width: 860px) {
  .position-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .col-meta {
    width: 100%;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1efe9;
  }

  .salary {
    text-align: left;
  }
}