/* ===== Talentrift — career thermometer / staff scale ===== */
:root {
  --green:       #00780c;
  --green-mid:   #0a8f18;
  --green-deep:  #005809;
  --ink:         #041c06;
  --ink-2:       #06280a;
  --forest:      #052008;
  --paper:       #f3fbf3;
  --paper-2:     #e6f6e6;
  --white:       #ffffff;
  --line:        #c5e6c8;
  --text:        #0a2a0e;
  --muted:       #3a5c3e;
  --on-dark:     #f4fbf4;
  --on-dark-dim: #c8e6cb;
  --mercury:     #12b428;
  --mercury-hi:  #4fe05a;
  --staff-w:     92px;
  --radius:      18px;
  --maxw:        1100px;
  --ease:        cubic-bezier(.22,.61,.36,1);
  --shadow:      0 18px 40px -22px rgba(4,28,6,.28);
  --level:       0.12;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, .kicker, .industry, .card-tick, .thermo-readout {
  font-family: "Bitter", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0,120,12,.55);
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(243,251,243,.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -22px rgba(4,28,6,.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 9px; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s var(--ease); }
.nav .nav-cta {
  color: var(--ink); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Page + staff (thermometer rail) ===== */
.page {
  display: grid;
  grid-template-columns: var(--staff-w) 1fr;
  padding-top: 74px;
}

.staff {
  position: sticky;
  top: 74px;
  height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 22px;
  z-index: 5;
}
.staff-cap {
  width: 28px; height: 10px; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #d8f0da, #9fd4a4);
  border: 1px solid #8ec894;
  flex: 0 0 auto;
}
.staff-tube {
  position: relative;
  flex: 1 1 auto;
  width: 18px;
  margin: 0 auto;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(230,246,230,.35) 40%, rgba(197,230,200,.45));
  border: 1px solid #9fd4a4;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.staff-mercury {
  position: absolute; left: 2px; right: 2px; bottom: 0;
  height: calc(12% + var(--level) * 82%);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--mercury-hi) 0%, var(--green) 55%, var(--green-deep) 100%);
  box-shadow: 0 0 12px rgba(18,180,40,.45);
  transition: height .2s linear;
}
.staff-mercury .meniscus {
  position: absolute; top: -5px; left: -1px; right: -1px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #7ef08a, var(--mercury-hi) 60%, transparent 70%);
  animation: meniscus 2.4s ease-in-out infinite;
}
.staff-shine {
  position: absolute; inset: 8px auto 8px 3px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.05));
  pointer-events: none;
}
.staff-minor {
  position: absolute; inset: 0 auto 0 100%;
  width: 10px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 7px,
      #8ec894 7px 8px,
      transparent 8px 14px,
      #c5e6c8 14px 15px
    );
  opacity: .7;
}
.staff-tick {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--t);
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 9px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  z-index: 2;
}
.staff-tick i {
  display: block; width: 28px; height: 3px;
  background: var(--green-deep); border-radius: 2px;
  flex: 0 0 auto;
}
.staff-tick span {
  position: absolute; left: 50%; top: 7px;
  transform: translateX(-50%);
  font-family: "Jost", sans-serif;
  background: var(--paper);
  padding: 0 3px;
  line-height: 1;
}
.staff-tick.on,
.staff-tick:focus-visible { color: var(--green-deep); }
.staff-tick.on i { background: var(--mercury); box-shadow: 10px 0 0 0 var(--mercury); }

.staff-bulb {
  position: relative;
  width: 36px; height: 36px; border-radius: 50%;
  margin-top: -4px;
  background: radial-gradient(circle at 35% 32%, var(--mercury-hi), var(--green) 55%, var(--green-deep));
  border: 2px solid #8ec894;
  box-shadow: 0 0 18px rgba(18,180,40,.4);
  flex: 0 0 auto;
}
.bulb-glow {
  position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 60%);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes meniscus {
  0%, 100% { transform: scaleX(1) translateY(0); }
  50% { transform: scaleX(1.06) translateY(-1px); }
}
@keyframes pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.industry {
  display: inline-block;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin: 0 0 16px; font-weight: 600;
  font-family: "Jost", sans-serif;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 700; color: var(--ink);
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); margin: 20px 0 0; max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { margin: 22px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .04em; }

/* Hero thermometer */
.hero-scale { display: grid; place-items: center; }
.thermo {
  width: 180px;
  display: flex; flex-direction: column; align-items: center;
}
.thermo-cap {
  width: 42px; height: 14px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #eef8ee, #b7ddba);
  border: 1px solid #8ec894;
}
.thermo-tube {
  position: relative;
  width: 44px; height: 280px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(230,246,230,.4) 42%, rgba(197,230,200,.5));
  border: 1.5px solid #8ec894;
  overflow: hidden;
  box-shadow: inset 4px 0 0 rgba(255,255,255,.45);
}
.thermo-mercury {
  position: absolute; left: 6px; right: 6px; bottom: 0;
  height: 0;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, var(--mercury-hi), var(--green) 50%, var(--green-deep));
  animation: mercuryRise 2.6s var(--ease) .2s forwards;
  transform-origin: bottom center;
}
.thermo-meniscus {
  position: absolute; top: -6px; left: -2px; right: -2px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #9af0a4, var(--mercury-hi) 55%, transparent 70%);
  animation: meniscus 2.2s ease-in-out infinite;
}
.thermo-glass {
  position: absolute; inset: 10px auto 10px 8px; width: 6px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.05));
  pointer-events: none;
}
.thermo-ticks {
  list-style: none; margin: 0; padding: 0;
  position: absolute; inset: 0 0 0 100%;
}
.thermo-ticks li {
  position: absolute; top: var(--p); left: 8px;
  display: flex; align-items: center; gap: 8px;
  transform: translateY(-50%);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-family: "Jost", sans-serif;
  white-space: nowrap;
}
.thermo-ticks b {
  width: 16px; height: 2px; background: var(--green-deep); display: block;
}
.thermo-bulb {
  position: relative;
  width: 72px; height: 72px; border-radius: 50%;
  margin-top: -8px;
  background: radial-gradient(circle at 32% 30%, var(--mercury-hi), var(--green) 52%, var(--green-deep));
  border: 3px solid #8ec894;
  box-shadow: 0 10px 28px -10px rgba(0,120,12,.55);
}
.thermo-pulse {
  position: absolute; inset: 10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  animation: pulse 2.4s ease-in-out infinite;
}
.bubble {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  left: 40%;
  animation: bubble 3.6s ease-in-out infinite;
}
.b1 { left: 28%; animation-delay: 0s; }
.b2 { left: 52%; width: 5px; height: 5px; animation-delay: 1.1s; }
.b3 { left: 40%; width: 4px; height: 4px; animation-delay: 2s; }

@keyframes mercuryRise {
  from { height: 8%; }
  to { height: 68%; }
}
@keyframes bubble {
  0% { bottom: 8%; opacity: 0; }
  15% { opacity: .8; }
  100% { bottom: 92%; opacity: 0; }
}

.thermo-readout {
  margin: 16px 0 0;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep); font-weight: 600;
}

/* ===== Section bands + tick headers ===== */
.band { padding: 88px 0; position: relative; }
.band-paper { background: var(--paper-2); }
.band-dark {
  background: var(--forest);
  color: var(--on-dark);
}
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark .kicker { color: var(--mercury-hi); }
.band-dark p { color: var(--on-dark-dim); }

.tick-head { margin: 0 0 32px; }
.tick-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); max-width: 22ch; }
.kicker {
  font-family: "Jost", sans-serif;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); font-weight: 600; margin: 8px 0 12px;
}
.tick-mark {
  display: flex; align-items: center; gap: 0;
  width: 72px; height: 14px;
}
.tick-mark i {
  display: block; width: 28px; height: 4px; background: var(--green);
  border-radius: 2px;
  box-shadow: 12px 0 0 2px var(--green), 28px 0 0 0 var(--green);
}
.tick-mark.light i {
  background: var(--mercury-hi);
  box-shadow: 12px 0 0 2px var(--mercury-hi), 28px 0 0 0 var(--mercury-hi);
}

.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px;
}
.lead { font-size: 1.14rem; margin: 0; color: var(--text); max-width: 52ch; }
.lead-2 { font-size: 1.05rem; margin: 0; color: var(--muted); max-width: 44ch; }

/* Align cards */
.scale-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.scale-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card-tick {
  display: inline-block;
  font-size: 13px; letter-spacing: .14em; color: var(--green);
  margin-bottom: 14px;
}
.scale-card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.scale-card p { margin: 0; color: var(--muted); }

/* Grow rungs */
.rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rung {
  display: grid; grid-template-columns: 28px 1fr; gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(197,230,200,.22);
}
.rung:last-child { border-bottom: 1px solid rgba(197,230,200,.22); }
.rung-tick {
  width: 14px; height: 14px; border-radius: 50%;
  margin-top: 6px;
  background: var(--mercury-hi);
  box-shadow: 0 0 0 6px rgba(79,224,90,.18);
}
.rung h3 { font-size: 1.35rem; margin-bottom: 8px; }
.rung p { margin: 0; max-width: 56ch; }
.rung {
  transition: transform .25s var(--ease), background .25s var(--ease);
  border-radius: 12px;
}

/* Quote */
.band-quote { padding-top: 72px; padding-bottom: 88px; }
.pull { margin: 8px 0 0; max-width: 22ch; }
.pull p {
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.22;
  color: var(--on-dark);
  font-weight: 500;
  font-style: italic;
  margin: 0;
}
.pull cite {
  display: block; margin-top: 22px;
  font-style: normal; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-dark-dim); font-weight: 600;
}

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-head { margin: 0; position: sticky; top: 100px; }
.faq-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item.open { border-color: var(--green); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--text);
  font-family: "Bitter", Georgia, serif; font-size: 1.08rem; font-weight: 600; padding: 22px 24px;
}
.faq-ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--green); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 24px 24px; font-size: .98rem; }

/* ===== Contact ===== */
.band-contact {
  background: var(--ink);
  color: var(--on-dark);
  padding: 88px 0 96px;
}
.band-contact h2 { color: var(--on-dark); }
.band-contact .kicker { color: var(--mercury-hi); }
.band-contact p { color: var(--on-dark-dim); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.contact-copy p { margin: 0 0 22px; }
.contact-email {
  display: inline-block;
  font-family: "Bitter", Georgia, serif;
  font-size: 1.35rem; color: var(--on-dark);
  border-bottom: 1px solid rgba(244,251,244,.35);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.contact-where { margin-top: 18px; font-size: 14px; }
.contact-form {
  background: #0a2e0e;
  border: 1px solid rgba(197,230,200,.22);
  border-radius: var(--radius);
  padding: 30px;
  display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--on-dark-dim); font-weight: 500; }
.field input, .field textarea {
  background: #06240a; border: 1px solid rgba(197,230,200,.28); border-radius: 10px;
  color: var(--on-dark); padding: 12px 14px; font: inherit; font-size: 15px;
  width: 100%; resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mercury-hi); }
.contact-form .btn { margin-top: 4px; justify-self: start; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #0a3310;
  background: #031406;
  color: var(--on-dark);
  padding: 54px 0 28px;
}
.site-footer .brand-name { color: var(--on-dark); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid #0a3310;
}
.footer-tag { color: var(--on-dark-dim); margin: 12px 0 0; font-size: .95rem; max-width: 36ch; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--on-dark-dim); font-size: 15px; transition: color .2s; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--on-dark-dim); font-size: 14px; padding-top: 20px;
}

/* ===== Reveal (must sit before hover transforms) ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .thermo-mercury { animation: none; height: 68%; }
  .staff-mercury .meniscus, .thermo-meniscus, .bulb-glow, .thermo-pulse, .bubble { animation: none; }
}

/* Hover AFTER .reveal.in so lift is not overwritten */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); background: var(--green-deep); box-shadow: 0 16px 32px -12px rgba(0,120,12,.6); }
  .btn-ghost:hover { transform: translateY(-2px); border-color: var(--green); color: var(--green-deep); }
  .nav a:hover { color: var(--ink); }
  .nav .nav-cta:hover { border-color: var(--green); color: var(--green-deep); }
  .scale-card:hover {
    transform: translateY(-6px);
    border-color: var(--green);
    box-shadow: 0 22px 40px -20px rgba(0,120,12,.45);
  }
  .rung:hover { transform: translateX(6px); }
  .faq-q:hover { color: var(--green-deep); }
  .faq-item:hover { box-shadow: var(--shadow); }
  .contact-email:hover { border-bottom-color: var(--mercury-hi); color: var(--mercury-hi); }
  .footer-nav a:hover { color: #fff; }
  .contact-form .btn-primary:hover { transform: translateY(-2px); }
  .staff-tick:hover { color: var(--green); }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .page { grid-template-columns: 56px 1fr; --staff-w: 56px; }
  .staff-tick span { display: none; }
  .staff { padding: 14px 0 18px; }
  .staff-tube { width: 14px; }
  .staff-bulb { width: 28px; height: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-scale { order: -1; }
  .thermo { width: 160px; }
  .thermo-tube { height: 220px; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; }
  .scale-cards { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(243,251,243,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--green); color: var(--green-deep); }
  .page { grid-template-columns: 1fr; }
  .staff {
    position: fixed; left: 6px; top: 86px; bottom: 18px; height: auto; width: 22px;
    padding: 0; z-index: 8; pointer-events: none;
  }
  .staff-tick { pointer-events: auto; }
  .staff-tick i { width: 12px; box-shadow: none; }
  .staff-tick span { display: none; }
  .hero { padding: 28px 0 48px; }
  .band { padding: 68px 0; }
  .band-contact { padding: 68px 0 80px; }
  .scale-cards { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
  .header-inner { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .contact-form { padding: 20px; }
  .page { padding-top: 68px; }
  .staff { top: 80px; }
}

@media (max-width: 390px) {
  .container { padding: 0 16px; }
  .hero { padding: 20px 0 40px; }
  .hero h1 { font-size: 1.95rem; }
  .band { padding: 56px 0; }
  .band-contact { padding: 56px 0 68px; }
  .thermo { width: 140px; }
  .thermo-tube { height: 190px; width: 36px; }
  .thermo-bulb { width: 58px; height: 58px; }
  .thermo-ticks li { font-size: 11px; }
  .scale-card { padding: 20px 18px; }
  .faq-q { padding: 18px 16px; font-size: 1rem; }
  .staff { left: 4px; width: 16px; }
  .staff-tube { width: 10px; }
  .staff-bulb { width: 20px; height: 20px; }
  .staff-cap { width: 16px; height: 7px; }
}
