:root {
  --bg: #101412;
  --panel: #191e1b;
  --panel2: #222824;
  --ink: #f4f5ef;
  --muted: #a3ada5;
  --line: #ffffff17;
  --orange: #ff781e;
  --green: #b9d5a3;
  --radius: 24px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(52px, 6.65vw, 106px);
  font-weight: 650;
  line-height: 1.05;
}
h2 {
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 600;
  line-height: 1.13;
}
h3 {
  font-size: 25px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button svg {
  pointer-events: none;
}
button {
  color: inherit;
}
.wrap {
  max-width: 1480px;
  margin: auto;
  padding: 0 5.3%;
}
.muted {
  color: var(--muted);
}
.orange {
  color: var(--orange);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 650;
  text-transform: uppercase;
  display: flex;
  gap: 11px;
  align-items: center;
}
.eyebrow:before {
  content: none;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 52px;
  padding: 15px 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel2);
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  background: #303730;
}
.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #11170f;
}
.btn.primary:hover {
  background: #ff933d;
}
.btn.light {
  background: #f2f3e9;
  color: #141914;
  border-color: #f2f3e9;
}
.btn.ghost {
  background: transparent;
}
.btn.small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 12px;
  gap: 12px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: transparent;
  border: 1px solid var(--line);
}
.site-nav {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: block;
  width: 157px;
}
.brand img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 32px;
  color: #c7cdc7;
  font-size: 12px;
}
.nav-links a:hover {
  color: white;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-actions > a:first-child {
  font-size: 12px;
}
.mobile-menu {
  display: none;
}
.hero {
  position: relative;
  margin: 0 20px;
  border-radius: 28px;
  min-height: 690px;
  height: calc(100svh - 130px);
  max-height: 920px;
  overflow: hidden;
  background: #303c33;
}
.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}
.hero-media video {
  opacity: 0;
  transition: opacity 1.8s;
  filter: saturate(0.65);
}
.hero-media video.active {
  opacity: 1;
}
.hero-media img {
  filter: saturate(0.6);
  opacity: 0.6;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.85), rgba(8, 18, 12, 0.28) 70%),
    linear-gradient(0deg, rgba(7, 17, 13, 0.75), transparent 50%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1440px;
  padding: 70px 6% 100px;
  margin: auto;
}
.hero .eyebrow {
  color: #e3e8df;
  margin-bottom: 32px;
}
.hero h1 {
  max-width: 880px;
}
.hero h1 em {
  font-style: normal;
  color: #efb17d;
}
.hero-copy {
  max-width: 390px;
  margin: 27px 0 32px;
  font-size: 14px;
  color: #d0d8d0;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-foot {
  position: absolute;
  z-index: 2;
  left: 6%;
  right: 6%;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff35;
  padding-top: 22px;
  font-size: 11px;
  color: #dae2d9;
  letter-spacing: 0.035em;
}
.hero-foot span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.film-dots {
  display: flex;
  gap: 6px;
}
.film-dots button {
  width: 24px;
  height: 3px;
  padding: 0;
  background: #ffffff55;
  border: 0;
  border-radius: 5px;
}
.film-dots button.active {
  background: var(--orange);
  width: 44px;
}
.intro {
  padding: 110px 0 95px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.intro .eyebrow {
  align-self: start;
  margin-top: 14px;
}
.intro h2 {
  max-width: 900px;
}
.intro-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-top: 36px;
}
.intro-bottom p {
  max-width: 470px;
  color: var(--muted);
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 12px 0;
  border-bottom: 1px solid #626a60;
  font-size: 13px;
  white-space: nowrap;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.section-head .eyebrow {
  margin-bottom: 20px;
}
.section-head > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
}
.services {
  padding-bottom: 110px;
}
.service-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}
.service-card {
  border-radius: var(--radius);
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card.big {
  background: #4c594b;
}
.service-card.big:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #101b11ed, transparent);
}
.service-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.service-card > *:not(img) {
  position: relative;
  z-index: 1;
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.number {
  font-size: 11px;
  font-weight: 500;
  color: #b6c0b5;
}
.service-card h3 {
  font-size: 29px;
  max-width: 200px;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 13px;
  max-width: 280px;
  color: #b9c2b8;
}
.service-card:nth-child(3) {
  background: #d8dfce;
  color: #172318;
}
.service-card:nth-child(3) p,
.service-card:nth-child(3) .number {
  color: #58614f;
}
.service-symbol {
  margin: 24px auto;
  opacity: 0.25;
}
.service-symbol svg {
  width: 95px;
  height: 95px;
  stroke-width: 0.65;
}
.experience {
  border-top: 1px solid var(--line);
  padding: 55px 0 100px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}
.experience strong {
  font-family: Manrope;
  font-size: 65px;
  letter-spacing: -0.06em;
  font-weight: 500;
}
.experience p {
  font-size: 13px;
  color: var(--muted);
  max-width: 230px;
  margin-top: 13px;
}
.experience h3 {
  margin-top: 15px;
}
.join-section {
  margin: 0 20px;
  border-radius: 28px;
  background: #e7e9de;
  color: #18221b;
  padding: 75px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.join-section .eyebrow {
  margin-bottom: 25px;
}
.join-section p {
  margin: 24px 0 30px;
  color: #586455;
  font-size: 14px;
  max-width: 450px;
}
.join-form {
  background: white;
  border-radius: 22px;
  padding: 30px;
  color: #172017;
}
.join-form h3 {
  margin-bottom: 18px;
}
.segments {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #00000008;
  border-radius: 13px;
  margin-bottom: 20px;
}
.segments button {
  flex: 1;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 11px 9px;
  font-size: 12px;
  min-height: 42px;
  color: inherit;
}
.segments button.active {
  background: var(--orange);
  color: #151c12;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
  min-width: 0;
}
.field label {
  font-size: 12px;
  font-weight: 550;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: #ffffff06;
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 47px;
  width: 100%;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
}
.field select option {
  background: var(--panel);
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field small {
  font-size: 11px;
  color: var(--muted);
}
.join-form input,
.join-form textarea,
.join-form select {
  color: #172017;
  border-color: #dce0d8;
  background: #f8f9f5;
}
.join-form select option {
  background: white;
  color: #172017;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.span2 {
  grid-column: 1/-1;
}
.fineprint {
  font-size: 11px !important;
  color: #808a7b !important;
  line-height: 1.6 !important;
  margin: 16px 0 0 !important;
}
.check-line {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
}
.check-line input {
  accent-color: var(--orange);
  margin-top: 3px;
}
.site-footer {
  padding: 65px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 60px;
}
.footer-top p {
  max-width: 280px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.footer-links {
  display: flex;
  gap: 80px;
  font-size: 13px;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links span {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.app-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100svh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  background: #111713;
}
.sidebar .brand {
  width: 145px;
  margin: 0 20px 30px;
}
.workspace-label {
  font-size: 10px;
  color: #748070;
  letter-spacing: 0.16em;
  padding: 0 16px;
  margin-bottom: 15px;
}
.side-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-links button {
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 13px;
  padding: 14px 15px;
  color: var(--muted);
  font-size: 13px;
}
.side-links button.active {
  background: #ff781e15;
  color: var(--orange);
}
.side-links button:hover {
  background: #ffffff08;
}
.sidebar-bottom {
  margin-top: auto;
}
.profile {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 7px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.avatar {
  width: 39px;
  height: 39px;
  background: #d6dfc8;
  color: #1f2a1b;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 650;
}
.profile b {
  font-size: 12px;
  display: block;
}
.profile small {
  font-size: 10px;
  color: var(--muted);
}
.app-main {
  min-width: 0;
  padding: 32px 42px 70px;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
  font-size: 12px;
  color: var(--muted);
}
.app-top-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
.app-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.app-heading h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.app-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  background: #ffffff0b;
  color: #c6cfc3;
  padding: 6px 9px;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}
.badge.green {
  background: #b6d89a16;
  color: #b6d89a;
}
.badge.orange {
  background: #ff781e19;
  color: #ff984d;
}
.badge.red {
  background: #ff747419;
  color: #ff9494;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stat {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.stat-label {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat strong {
  display: block;
  font: 500 38px Manrope;
  margin-top: 15px;
  letter-spacing: -0.05em;
}
.stat small {
  color: #7d8979;
  font-size: 10px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  min-width: 0;
}
.panel h3 {
  font-size: 19px;
  letter-spacing: -0.035em;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
  font-size: 13px;
}
.empty svg {
  width: 33px;
  height: 33px;
  margin: 0 auto 16px;
  opacity: 0.5;
}
.empty h3 {
  font-size: 17px;
  color: #d1d8cc;
  margin-bottom: 8px;
}
.empty p {
  max-width: 320px;
  margin: auto;
}
.empty .btn {
  margin-top: 20px;
}
.list {
  display: flex;
  flex-direction: column;
}
.list-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border-bottom: 0;
}
.row-info {
  flex: 1;
  min-width: 0;
}
.row-info b {
  font-size: 13px;
  font-weight: 550;
}
.row-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.date-block {
  background: #ffffff07;
  border-radius: 12px;
  padding: 10px 13px;
  text-align: center;
  min-width: 55px;
}
.date-block strong {
  display: block;
  font-size: 21px;
}
.date-block small {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.toolbar .segments {
  margin: 0;
  background: var(--panel);
}
.search {
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  color: var(--ink);
  width: 250px;
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}
td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.calendar-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.calendar-nav h3 {
  min-width: 160px;
  text-transform: capitalize;
  text-align: center;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.week-label {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding: 12px;
}
.cal-day {
  min-height: 100px;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px;
  text-align: left;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
}
.cal-day.blank {
  background: none;
  border-color: transparent;
}
.cal-day.today {
  border-color: #ff781e80;
}
.cal-day.selected {
  background: #ff781e20;
  border-color: var(--orange);
}
.cal-day.available {
  background: #b6d89a12;
}
.cal-day.unavailable {
  background: #ee808009;
}
.cal-day .badge {
  font-size: 8px;
  white-space: normal;
  padding: 4px 5px;
}
.availability-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}
.availability-actions {
  position: sticky;
  top: 20px;
}
.availability-actions p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 20px;
}
.availability-actions .btn {
  width: 100%;
  margin-top: 9px;
  gap: 12px;
}
.legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 7px;
  height: 7px;
  background: #b6d89a;
  border-radius: 50%;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.knowledge-card {
  overflow: hidden;
  padding: 0;
}
.knowledge-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
}
.knowledge-body {
  padding: 22px;
}
.knowledge-body h3 {
  font-size: 18px;
  margin: 12px 0;
}
.knowledge-body p {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-body .row-actions {
  margin-top: 18px;
}
.login-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  gap: 20px;
}
.login-visual {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #33422c, #152319);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px;
}
.login-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #102014, transparent);
}
.login-visual > img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.login-visual > *:not(.bg) {
  position: relative;
  z-index: 1;
}
.login-visual h2 {
  max-width: 500px;
}
.login-visual p {
  margin-top: 23px;
  color: #b6c5b0;
  font-size: 13px;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form {
  width: 100%;
  max-width: 360px;
}
.login-form h1 {
  font-size: 37px;
  margin: 22px 0 10px;
}
.login-form > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.login-form .btn {
  width: 100%;
  margin-top: 8px;
}
.login-form .fineprint {
  text-align: center;
}
.back-link {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 50px;
}
.error-box {
  background: #f4858512;
  color: #ffb6a4;
  border: 1px solid #e88b8b40;
  border-radius: 12px;
  padding: 13px;
  font-size: 12px;
  margin-bottom: 15px;
}
.success-box {
  background: #b6d89a12;
  color: #bed8af;
  border: 1px solid #b6d89a30;
  border-radius: 12px;
  padding: 13px;
  font-size: 12px;
  margin-bottom: 15px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #030803b8;
  backdrop-filter: blur(9px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: #1c231e;
  border: 1px solid #ffffff20;
  border-radius: 24px;
  padding: 28px;
  width: 100%;
  max-width: 600px;
  max-height: 90svh;
  overflow: auto;
  box-shadow: 0 25px 100px #0007;
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.modal-top h2 {
  font-size: 25px;
}
.modal .btn[type="submit"] {
  width: 100%;
}
.modal p.body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-wrap;
  margin-bottom: 20px;
}
.modal img.content-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 25px);
  background: #edf2e8;
  color: #172117;
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 10px 35px #0005;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  font-size: 13px;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--muted);
  gap: 12px;
  font-size: 13px;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff20;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.chat-layout {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 24px;
  height: calc(100svh - 220px);
  min-height: 530px;
}
.chantal-stage {
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 50%, #67755a3d, transparent 65%), #191f1a;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.chantal-stage img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 91%;
  object-fit: contain;
  object-position: bottom;
}
.chantal-caption {
  position: absolute;
  top: 26px;
  left: 26px;
  right: 20px;
  z-index: 1;
}
.chantal-caption h3 {
  font-size: 30px;
}
.chantal-caption p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.chat-box {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.chat-messages {
  padding: 26px;
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bubble-wrap {
  max-width: 88%;
  align-self: start;
}
.bubble-wrap.user {
  align-self: end;
}
.bubble-label {
  font-size: 9px;
  color: #83917d;
  margin: 0 0 7px 4px;
  letter-spacing: 0.06em;
}
.bubble {
  padding: 17px 20px;
  background: #ffffff08;
  border-radius: 3px 18px 18px 18px;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.user .bubble {
  background: #dce6d1;
  color: #172017;
  border-radius: 18px 3px 18px 18px;
}
.bubble img {
  max-height: 220px;
  border-radius: 12px;
  margin-top: 12px;
}
.chat-form {
  border-top: 1px solid var(--line);
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-form textarea {
  flex: 1;
  resize: none;
  height: 47px;
  min-width: 0;
  background: #ffffff05;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  color: var(--ink);
  font-size: 12px;
}
.chat-form button.send {
  background: var(--orange);
  color: #12190f;
}
.chat-note {
  font-size: 9px;
  color: #74816e;
  text-align: center;
  padding: 0 16px 12px;
}
.safety-options {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.thinking {
  font-size: 11px;
  color: var(--muted);
  animation: pulse 1.3s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
.photo-preview {
  padding: 0 18px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
.photo-preview img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 9px;
}
.notice {
  font-size: 12px;
  line-height: 1.7;
  color: #b8c7af;
  padding: 18px 20px;
  border: 1px solid #b7ce9825;
  background: #b7ce9808;
  border-radius: 15px;
  margin-bottom: 22px;
}
.install-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.install-box button {
  margin-top: 10px;
  width: 100%;
}
.checkbox-list {
  display: grid;
  gap: 10px;
  max-height: 220px;
  overflow: auto;
  margin-bottom: 20px;
}
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff04;
  padding: 12px;
  border-radius: 10px;
  font-size: 12px;
}
.checkbox-list input {
  accent-color: var(--orange);
}
.inline-error {
  color: #ffb3a1;
  font-size: 12px;
  margin-bottom: 15px;
}
.hidden {
  display: none !important;
}
.mobile-brand {
  display: none;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.detail-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-grid dd {
  font-size: 13px;
  margin: 0;
}
.onboarding {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  background: linear-gradient(100deg, #424f33, #242e20);
  padding: 24px;
  margin-bottom: 26px;
}
.onboarding p {
  font-size: 12px;
  color: #b7c9ab;
  margin-top: 8px;
}
.onboarding > div {
  flex: 1;
}
.onboarding h3 {
  font-size: 20px;
}
.privacy-content {
  max-width: 800px;
  padding: 80px 0;
}
.privacy-content h1 {
  font-size: 44px;
  margin-bottom: 35px;
}
.privacy-content h3 {
  margin: 30px 0 15px;
}
.privacy-content p {
  font-size: 14px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .hero-inner {
    padding-left: 4%;
  }
}
@media (max-width: 1150px) {
  .nav-links {
    gap: 20px;
  }
  .app-shell {
    grid-template-columns: 200px 1fr;
  }
  .app-main {
    padding: 25px;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .sidebar .brand {
    margin-left: 12px;
    width: 130px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .availability-layout {
    grid-template-columns: 1fr;
  }
  .availability-actions {
    position: static;
  }
  .chat-layout {
    grid-template-columns: 30% 1fr;
  }
  .intro {
    gap: 40px;
  }
  .service-card {
    padding: 24px;
  }
  .hero {
    min-height: 650px;
  }
  .join-section {
    gap: 40px;
  }
  .app-heading h1 {
    font-size: 33px;
  }
}
@media (max-width: 800px) {
  .site-nav {
    height: 83px;
  }
  .brand {
    width: 125px;
  }
  .brand img {
    height: 60px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions > a:first-child {
    display: none;
  }
  .nav-actions .btn {
    min-height: 43px;
    padding: 11px 16px;
    font-size: 11px;
    gap: 12px;
  }
  .hero {
    margin: 0 12px;
    min-height: 680px;
    height: calc(100svh - 100px);
    max-height: 850px;
    border-radius: 22px;
  }
  .hero-inner {
    padding: 65px 6% 110px;
    justify-content: center;
  }
  .hero h1 {
    font-size: clamp(48px, 10vw, 76px);
    max-width: 650px;
  }
  .hero-copy {
    max-width: 330px;
  }
  .hero-foot {
    font-size: 9px;
    bottom: 25px;
  }
  .hero-foot > span:nth-child(2) {
    display: none;
  }
  .intro {
    padding: 75px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro-bottom {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card.big {
    grid-column: 1/-1;
    min-height: 420px;
  }
  .service-card {
    min-height: 330px;
  }
  .services {
    padding-bottom: 65px;
  }
  .experience {
    padding: 40px 0 65px;
    gap: 25px;
  }
  .experience strong {
    font-size: 50px;
  }
  .experience h3 {
    font-size: 20px;
  }
  .join-section {
    grid-template-columns: 1fr;
    padding: 45px 6%;
    margin: 0 12px;
    gap: 30px;
  }
  .footer-links {
    gap: 35px;
  }
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    z-index: 40;
    height: auto;
    width: 100%;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid var(--line);
    background: #111713ed;
    backdrop-filter: blur(20px);
  }
  .sidebar .brand,
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .side-links {
    flex-direction: row;
    justify-content: space-around;
    gap: 2px;
    overflow-x: auto;
  }
  .side-links button {
    font-size: 9px;
    padding: 9px 6px;
    min-width: 51px;
    gap: 7px;
    flex-direction: column;
    border-radius: 11px;
    flex: 1;
  }
  .side-links svg {
    width: 20px;
    height: 20px;
  }
  .app-main {
    padding: 20px 18px 110px;
  }
  .app-top {
    margin-bottom: 25px;
  }
  .mobile-brand {
    display: block;
    width: 100px;
  }
  .mobile-brand img {
    height: 45px;
    object-fit: contain;
  }
  .app-date {
    display: none;
  }
  .app-heading h1 {
    font-size: 30px;
  }
  .app-heading p {
    font-size: 12px;
    max-width: 260px;
  }
  .app-heading .btn {
    font-size: 11px;
    padding: 12px 14px;
    min-height: 45px;
    gap: 8px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat strong {
    font-size: 31px;
  }
  .panel {
    padding: 20px;
    border-radius: 18px;
  }
  .cal-day {
    min-height: 78px;
    padding: 7px 4px;
    font-size: 10px;
  }
  .calendar-grid {
    gap: 3px;
  }
  .cal-day .badge {
    font-size: 7px;
    padding: 3px;
  }
  .calendar-nav {
    gap: 6px;
  }
  .calendar-nav h3 {
    font-size: 17px;
    min-width: 130px;
  }
  .calendar-nav .icon-btn {
    width: 34px;
    height: 34px;
  }
  .calendar-panel {
    padding: 13px;
  }
  .toolbar {
    align-items: stretch;
  }
  .search {
    width: 100%;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .knowledge-body {
    padding: 17px;
  }
  .knowledge-body h3 {
    font-size: 16px;
  }
  .login-page {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .login-visual {
    display: none;
  }
  .login-form-wrap {
    padding: 30px;
    min-height: 100svh;
  }
  .login-form {
    max-width: 400px;
  }
  .chat-layout {
    height: calc(100svh - 240px);
    min-height: 530px;
    grid-template-columns: 100px 1fr;
    gap: 10px;
  }
  .chantal-stage {
    border-radius: 18px;
  }
  .chantal-caption {
    top: 20px;
    left: 10px;
    right: 10px;
  }
  .chantal-caption h3 {
    font-size: 20px;
  }
  .chantal-caption p {
    font-size: 9px;
  }
  .chantal-stage img {
    height: 80%;
    width: 180%;
    max-width: none;
    left: -40%;
    object-fit: contain;
    object-position: bottom;
  }
  .chat-box {
    border-radius: 18px;
  }
  .chat-messages {
    padding: 16px 12px;
    gap: 15px;
  }
  .bubble-wrap {
    max-width: 100%;
  }
  .bubble {
    font-size: 12px;
    padding: 13px;
  }
  .chat-form {
    gap: 6px;
    padding: 10px;
  }
  .chat-form .icon-btn {
    width: 35px;
    height: 40px;
  }
  .chat-form textarea {
    font-size: 11px;
    padding: 12px 9px;
  }
  .chat-note {
    font-size: 8px;
  }
  .safety-options {
    flex-direction: column;
  }
  .safety-options .btn {
    font-size: 10px;
    min-height: 40px;
    padding: 10px;
    gap: 5px;
  }
  .onboarding {
    padding: 20px;
    flex-wrap: wrap;
  }
  .onboarding .btn {
    width: 100%;
  }
  .row-actions .btn {
    font-size: 10px;
  }
  .footer-top {
    flex-direction: column;
    gap: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .modal-backdrop {
    padding: 14px;
    align-items: end;
  }
  .modal {
    border-radius: 22px;
    max-height: 92svh;
    padding: 23px;
  }
  .detail-grid {
    gap: 15px;
  }
  .list-row {
    gap: 10px;
  }
  .row-info b {
    font-size: 12px;
  }
  .row-info p {
    font-size: 10px;
  }
  .availability-actions .btn {
    width: auto;
  }
  .app-top-right .btn {
    min-height: 35px;
    font-size: 10px;
    padding: 8px 12px;
  }
  .app-top-right .badge {
    display: none;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 6%;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.11em;
  }
  .hero-buttons {
    gap: 10px;
  }
  .hero-buttons .btn {
    font-size: 11px;
    padding: 14px 17px;
    gap: 14px;
  }
  .hero-copy {
    font-size: 12px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card.big {
    min-height: 360px;
  }
  .service-card {
    min-height: 280px;
  }
  .experience {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .experience > div:first-child {
    grid-column: 1/-1;
    display: flex;
    gap: 30px;
    align-items: center;
  }
  .experience > div:first-child p {
    margin: 0;
  }
  .join-form {
    padding: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: auto;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .chat-layout {
    grid-template-columns: 82px 1fr;
    gap: 8px;
  }
  .app-main:has(.chat-layout) {
    padding-left: 10px;
    padding-right: 10px;
  }
  .chantal-caption h3 {
    font-size: 17px;
  }
  .chantal-caption p {
    font-size: 8px;
  }
  .chat-messages {
    padding: 12px 9px;
  }
  .chat-form {
    flex-wrap: wrap;
  }
  .chat-form textarea {
    order: -1;
    flex-basis: 100%;
  }
  .chat-form .send {
    margin-left: auto;
  }
  .chat-layout {
    height: calc(100svh - 220px);
    min-height: 520px;
  }
  .bubble {
    padding: 11px;
    font-size: 11px;
  }
  .hero-foot {
    left: 6%;
    right: 6%;
  }
  .site-footer {
    padding-top: 45px;
  }
  .app-heading {
    align-items: start;
  }
  .app-heading h1 {
    font-size: 27px;
  }
  .stat-label {
    font-size: 10px;
  }
  .panel-head {
    align-items: start;
  }
  .availability-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media video {
    display: none;
  }
}
:root {
  --bg: #101313;
  --panel: #1a1e1e;
  --panel2: #242929;
  --orange: #ff6a00;
}
.hero {
  min-height: 560px;
  max-height: 850px;
}
.hero-inner {
  padding-top: 45px;
  padding-bottom: 95px;
}
.hero h1 {
  font-size: clamp(54px, 5.9vw, 92px);
  max-width: 1100px;
}
.hero h1 em {
  color: #ff791c;
}
.hero .eyebrow {
  margin-bottom: 23px;
}
.hero-copy {
  margin: 23px 0 26px;
}
.calendar-shift {
  padding: 7px;
  border: 0;
  border-radius: 8px;
  background: #ff781e18;
  color: #f0c7a8;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9px;
  min-height: 58px;
}
.calendar-shift b {
  font-size: 10px;
  font-weight: 500;
}
.calendar-shift small {
  font-size: 8px;
  color: #b6bdb5;
}
.roster-link {
  border: 0;
  background: transparent;
  color: #a1b69b;
  padding: 6px 0;
  text-align: left;
  font-size: 9px;
  margin-top: auto;
}
.roster-link:hover {
  color: var(--orange);
}
@media (max-width: 800px) {
  .hero {
    min-height: 640px;
  }
  .hero h1 {
    font-size: clamp(48px, 8.5vw, 72px);
  }
  .field input,
  .field select,
  .field textarea,
  .search,
  .chat-form textarea {
    font-size: 16px;
  }
  .chat-layout {
    grid-template-columns: 110px 1fr;
  }
  .bubble {
    font-size: 14px;
  }
  .calendar-shift {
    padding: 5px;
    font-size: 8px;
  }
  .calendar-shift b {
    font-size: 9px;
  }
  .calendar-shift small {
    display: none;
  }
  .roster-link {
    font-size: 8px;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 620px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .chat-layout {
    grid-template-columns: 95px 1fr;
  }
  .bubble {
    font-size: 14px;
    line-height: 1.65;
  }
  .chantal-caption h3 {
    font-size: 18px;
  }
  .chat-messages {
    padding: 12px 8px;
  }
  .app-main:has(.chat-layout) {
    padding-left: 8px;
    padding-right: 8px;
  }
  .calendar-shift b {
    font-size: 8px;
    overflow-wrap: anywhere;
  }
  .roster-link {
    font-size: 7px;
  }
}
@media (max-width: 800px) {
  .chantal-stage img {
    width: 100%;
    height: 400px;
    max-width: 100%;
    left: 0;
    top: 100px;
    bottom: auto;
    object-fit: cover;
    object-position: 50% 0%;
  }
  .chat-box {
    min-width: 0;
  }
  .chat-layout {
    overflow: hidden;
  }
  .bubble-wrap {
    min-width: 0;
  }
  .chat-form {
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .chantal-stage img {
    height: 350px;
    top: 90px;
  }
  .chantal-caption p {
    line-height: 1.5;
  }
  .chat-note {
    font-size: 9px;
  }
}

/* Native controls match the dark app shell. */
.app-shell {
  color-scheme: dark;
}
.chat-form textarea {
  min-height: 54px;
  height: 54px;
  resize: none;
  line-height: 1.4;
  scrollbar-width: thin;
}

/* The chat is one complete workspace. Only the conversation scrolls. */
.app-main:has(.chat-layout) {
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 28px;
}
.app-main:has(.chat-layout) .app-top {
  flex: none;
  margin-bottom: 24px;
}
.app-main:has(.chat-layout) #view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.app-main:has(.chat-layout) .app-heading {
  flex: none;
  margin-bottom: 22px;
}
.chat-layout {
  flex: 1;
  min-height: 0;
  height: auto;
  padding: 22px;
  gap: 26px;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(8, 15, 16, 0.34), rgba(8, 15, 16, 0.58)),
    url("/assets/chantal-background.png") center/cover;
  border: 1px solid #ffffff19;
  border-radius: 26px;
  overflow: hidden;
}
.chantal-stage {
  background: none;
  border: 0;
  border-radius: 0;
  min-height: 0;
  overflow: visible;
}
.chantal-caption {
  top: 0;
  left: 8px;
  right: 4px;
  text-shadow: 0 2px 12px #0008;
}
.chantal-caption p {
  color: #d2d8d4;
}
.chantal-stage img {
  position: absolute;
  width: 100%;
  height: calc(100% - 83px);
  max-width: 100%;
  left: 0;
  top: 83px;
  bottom: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 10px 15px #0003);
}
.chat-box {
  background: #121a1bcc;
  backdrop-filter: blur(18px);
  min-width: 0;
  min-height: 0;
  box-shadow: 0 8px 30px #0002;
}
.chat-messages {
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #5a655e transparent;
}
.chat-form,
.chat-note,
#photo-preview {
  flex-shrink: 0;
}
.chat-form textarea {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #5a655e transparent;
}
.chat-form textarea:disabled {
  opacity: 0.6;
  overflow: hidden;
}
.chat-form button {
  flex-shrink: 0;
}
@media (min-width: 801px) and (max-height: 800px) {
  .hero {
    height: calc(100svh - 124px);
    min-height: 540px;
  }
  .hero-inner {
    padding-top: 32px;
    padding-bottom: 88px;
  }
  .hero h1 {
    font-size: clamp(58px, 5.6vw, 82px);
    line-height: 1.02;
  }
  .hero .eyebrow {
    margin-bottom: 20px;
  }
  .hero-copy {
    margin: 20px 0 23px;
    line-height: 1.65;
  }
  .hero-foot {
    bottom: 22px;
    padding-top: 18px;
  }
}
@media (max-width: 800px) {
  .app-main:has(.chat-layout) {
    padding: 14px 12px calc(86px + env(safe-area-inset-bottom));
    height: 100dvh;
  }
  .app-main:has(.chat-layout) .app-top {
    margin-bottom: 14px;
  }
  .app-main:has(.chat-layout) .app-heading {
    display: none;
  }
  .chat-layout {
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
    padding: 12px 8px;
    gap: 8px;
    border-radius: 22px;
  }
  .chantal-caption {
    left: 2px;
    top: 8px;
  }
  .chantal-caption h3 {
    font-size: 24px;
  }
  .chantal-caption p {
    font-size: 10px;
    max-width: 100px;
    line-height: 1.5;
  }
  .chantal-stage img {
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100% - 95px);
    max-width: 100%;
    object-fit: contain;
    object-position: center 22%;
  }
  .chat-box {
    border-radius: 17px;
  }
  .chat-messages {
    padding: 15px 10px;
    gap: 16px;
  }
  .bubble {
    font-size: 14px;
    line-height: 1.65;
    padding: 12px;
  }
  .bubble-wrap {
    max-width: 100%;
  }
  .bubble-label {
    font-size: 9px;
  }
  .chat-form {
    padding: 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .chat-form textarea {
    order: -1;
    flex-basis: 100%;
    height: 45px;
    font-size: 16px;
    line-height: 20px;
  }
  .chat-form .icon-btn {
    width: 37px;
    height: 37px;
  }
  .chat-form .send {
    margin-left: auto;
  }
  .chat-note {
    font-size: 9px;
    padding: 0 10px 10px;
    line-height: 1.4;
  }
  .safety-options .btn {
    font-size: 12px;
    min-height: 44px;
    padding: 10px;
  }
  .cal-day {
    min-height: 78px;
  }
  .calendar-panel {
    overflow: visible;
  }
}
@media (max-width: 480px) {
  .app-main:has(.chat-layout) {
    padding-left: 8px;
    padding-right: 8px;
  }
  .chat-layout {
    padding: 10px 6px;
    gap: 6px;
  }
  .chantal-caption h3 {
    font-size: 22px;
  }
  .chantal-caption p {
    font-size: 9px;
  }
  .chantal-stage img {
    top: 84px;
    height: calc(100% - 88px);
  }
  .chat-messages {
    padding: 13px 8px;
  }
  .bubble {
    font-size: 14px;
    padding: 11px;
  }
  .hero {
    height: calc(100svh - 99px);
    min-height: 620px;
  }
  .hero-inner {
    padding-top: 32px;
    padding-bottom: 100px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero .eyebrow {
    margin-bottom: 22px;
  }
  .hero-copy {
    margin: 22px 0 26px;
  }
  .hero-buttons {
    gap: 10px;
  }
  .hero-buttons .btn {
    min-height: 49px;
  }
  .hero-foot {
    bottom: 24px;
  }
}
@media (max-height: 650px) and (max-width: 800px) {
  .hero {
    height: auto;
    min-height: 610px;
  }
  .app-main:has(.chat-layout) {
    padding-bottom: 78px;
  }
  .chat-layout {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .chantal-stage img {
    top: 62px;
    height: calc(100% - 62px);
  }
  .chantal-caption p {
    display: none;
  }
  .chat-form textarea {
    height: 40px;
  }
  .chat-note {
    display: none;
  }
}
/* Public identity: strong typography and the visual rhythm of the track. */
.hero-media video {
  filter: none;
}
.hero-media img {
  filter: none;
  opacity: 1;
}
.hero:after {
  background:
    linear-gradient(
      90deg,
      rgba(5, 13, 15, 0.86) 0%,
      rgba(5, 13, 15, 0.68) 30%,
      rgba(5, 13, 15, 0.12) 67%,
      rgba(5, 13, 15, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(5, 13, 15, 0.74), transparent 28%);
}
.public-site .hero h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 600;
  font-size: clamp(90px, 9.5vw, 150px);
  line-height: 0.91;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 850px;
}
.public-site .hero h1 em {
  color: #ff7014;
  font-style: normal;
}
.public-site .hero .eyebrow {
  font-size: 10px;
  letter-spacing: 0.19em;
  margin-bottom: 25px;
}
.public-site .hero-copy {
  max-width: 370px;
  font-size: 14px;
  margin-top: 28px;
  margin-bottom: 28px;
  line-height: 1.65;
  color: #eef0eb;
}
.public-site .hero-inner {
  padding-top: 36px;
  padding-bottom: 100px;
}
.hero-foot {
  letter-spacing: 0.08em;
}
.hero-foot > span:nth-child(2) {
  font: 9px monospace;
  letter-spacing: 0.1em;
}
.film-dots {
  gap: 7px;
}
.film-dots button {
  font: 10px monospace;
  width: 30px;
  height: 23px;
  border-radius: 0;
  background: none;
  border-top: 2px solid #ffffff60;
  color: #d5d9d3;
  padding-top: 7px;
  text-align: left;
}
.film-dots button.active {
  width: 44px;
  background: none;
  color: #ff791c;
  border-top-color: #ff791c;
}
.public-site .intro {
  position: relative;
  border-bottom: 1px solid var(--line);
  margin-bottom: 75px;
  padding-bottom: 85px;
}
.public-site .intro > .eyebrow {
  align-items: flex-start;
  position: relative;
  padding-bottom: 100px;
}
.public-site .intro > .eyebrow:after {
  content: "JOR — 00";
  position: absolute;
  left: 0;
  bottom: 0;
  font: 11px monospace;
  letter-spacing: 0.15em;
  color: #727d79;
  border-top: 1px solid #ffffff25;
  padding-top: 15px;
  width: 120px;
}
.public-site .intro h2 {
  letter-spacing: -0.055em;
  font-size: clamp(42px, 4.7vw, 72px);
}
.public-site .service-grid {
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.public-site .service-card.big {
  grid-row: span 2;
  min-height: 680px;
  padding: 36px;
}
.public-site .service-card:not(.big) {
  min-height: 330px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.public-site .service-card:not(.big) .service-top {
  grid-column: 1/-1;
}
.public-site .service-card:not(.big) > div:last-child {
  grid-column: 1/-1;
}
.public-site .service-card.big > img {
  opacity: 0.9;
  object-position: 58% center;
}
.public-site .service-card.big h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 400px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.public-site .service-card.big p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 330px;
  color: #e1e7dd;
}
.public-site .service-card .number {
  font: 10px monospace;
  letter-spacing: 0.07em;
  color: #a9b3ad;
}
.public-site .service-card:nth-child(2) {
  background: #1c2426;
  border: 1px solid #ffffff12;
}
.public-site .service-card:nth-child(3) {
  background: #ff6a00;
  color: #1a1d1b;
}
.public-site .service-card:nth-child(3) .number,
.public-site .service-card:nth-child(3) p {
  color: #3e2e21;
}
.public-site .service-card:not(.big) h3 {
  font-size: 30px;
  letter-spacing: -0.04em;
  max-width: 330px;
}
.public-site .service-card:not(.big) p {
  max-width: 420px;
}
.rail-connection {
  display: flex;
  align-items: center;
  gap: 15px;
  grid-column: 1/-1;
  color: #e08038;
  margin: 0 0 10px;
}
.rail-connection span {
  font: 8px monospace;
  letter-spacing: 0.08em;
  max-width: 70px;
  line-height: 1.7;
}
.rail-connection svg {
  flex: 1;
  width: 100%;
  height: 60px;
  stroke-width: 1.2;
  stroke: #ff761c;
  opacity: 0.8;
}
.safety-wordmark {
  font-family: "Barlow Condensed", Impact, sans-serif;
  grid-column: 1/-1;
  font-size: 57px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #1e271e;
  opacity: 0.22;
  position: absolute !important;
  right: 26px;
  top: 60px;
  text-align: right;
  pointer-events: none;
}
.public-site .service-card:nth-child(3) > div:last-child {
  margin-top: 75px;
  position: relative;
}
.public-site .experience {
  border-top: 0;
  padding-top: 10px;
  grid-template-columns: 1.3fr 1fr 1fr;
}
.public-site .experience strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 130px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.public-site .join-section {
  background: #eae9e1;
  color: #171e1e;
}
.public-site .join-section h2 {
  font-size: clamp(42px, 4.8vw, 72px);
  letter-spacing: -0.065em;
}
.public-site .join-form {
  box-shadow: 0 10px 40px #151a1210;
}
.public-site .join-section .eyebrow {
  font: 10px monospace;
  letter-spacing: 0.13em;
}
@media (min-width: 801px) and (max-height: 800px) {
  .public-site .hero h1 {
    font-size: clamp(86px, 8.4vw, 118px);
  }
  .public-site .hero .eyebrow {
    margin-bottom: 20px;
  }
  .public-site .hero-copy {
    margin-top: 22px;
    margin-bottom: 23px;
  }
  .public-site .hero-inner {
    padding-top: 28px;
    padding-bottom: 95px;
  }
}
@media (max-width: 1000px) {
  .public-site .service-card.big {
    min-height: 670px;
    padding: 28px;
  }
  .public-site .service-card.big h3 {
    font-size: 53px;
  }
  .public-site .service-card:not(.big) {
    padding: 25px;
  }
  .public-site .service-card:not(.big) h3 {
    font-size: 26px;
  }
}
@media (max-width: 800px) {
  .public-site .hero h1 {
    font-size: clamp(78px, 11vw, 108px);
  }
  .public-site .hero-copy {
    font-size: 14px;
    max-width: 330px;
  }
  .public-site .service-grid {
    grid-template-columns: 1fr;
  }
  .public-site .service-card.big {
    grid-row: auto;
    grid-column: auto;
    min-height: 480px;
  }
  .public-site .service-card:not(.big) {
    min-height: 310px;
  }
  .public-site .intro {
    margin-bottom: 55px;
    padding-bottom: 60px;
  }
  .public-site .intro > .eyebrow {
    padding-bottom: 0;
  }
  .public-site .intro > .eyebrow:after {
    display: none;
  }
  .public-site .experience {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .public-site .experience > div:first-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 35px;
  }
  .public-site .experience > div:first-child p {
    margin: 0;
  }
  .public-site .experience strong {
    font-size: 110px;
  }
  .public-site .hero-inner {
    padding-top: 32px;
    padding-bottom: 105px;
  }
  .hero:after {
    background:
      linear-gradient(
        90deg,
        rgba(5, 13, 15, 0.81),
        rgba(5, 13, 15, 0.4) 70%,
        rgba(5, 13, 15, 0.14)
      ),
      linear-gradient(0deg, rgba(5, 13, 15, 0.68), transparent 40%);
  }
}
@media (max-width: 480px) {
  .public-site .hero h1 {
    font-size: 72px;
    line-height: 0.97;
  }
  .public-site .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .public-site .hero-copy {
    font-size: 13px;
    max-width: 300px;
    line-height: 1.7;
    margin: 25px 0;
  }
  .public-site .hero-buttons .btn {
    font-size: 11px;
    padding: 14px 15px;
    gap: 12px;
  }
  .public-site .hero-inner {
    padding-left: 6%;
    padding-right: 6%;
  }
  .public-site .service-card.big {
    min-height: 430px;
  }
  .public-site .service-card.big h3 {
    font-size: 54px;
  }
  .public-site .service-card:not(.big) {
    min-height: 320px;
  }
  .public-site .experience strong {
    font-size: 100px;
  }
  .public-site .hero-foot {
    font-size: 8px;
  }
  .film-dots button {
    width: 22px;
    font-size: 9px;
  }
  .film-dots button.active {
    width: 30px;
  }
}
/* Official railway films remain native, fully credited and unobscured. */
.public-site .hero.official-video {
  background: #111819;
  min-height: 600px;
}
.hero.official-video:after {
  display: none;
}
.hero.official-video:before {
  content: "";
  position: absolute;
  left: 41%;
  top: -15%;
  width: 80px;
  height: 140%;
  border-left: 1px solid #ff781e24;
  border-right: 1px solid #ff781e24;
  transform: rotate(22deg);
  pointer-events: none;
}
.public-site .official-video .hero-inner {
  width: 48%;
  margin: 0;
  padding-left: 5.5%;
  padding-right: 2%;
  padding-top: 40px;
  padding-bottom: 100px;
  justify-content: center;
}
.public-site .official-video h1 {
  font-size: clamp(78px, 7.5vw, 118px);
  line-height: 0.98;
  white-space: nowrap;
}
.public-site .official-video .hero-copy {
  font-size: 13px;
  max-width: 340px;
  margin-top: 25px;
  margin-bottom: 28px;
}
.official-footage {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-55%);
  width: 47%;
  z-index: 2;
}
.footage-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px monospace;
  letter-spacing: 0.12em;
  color: #b5c0bb;
  margin-bottom: 15px;
}
.footage-label span:first-child:before {
  content: "";
  display: inline-block;
  background: #ff6a00;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 10px;
}
.official-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: #050707;
  border: 1px solid #ffffff1c;
  box-shadow: 0 30px 60px #0004;
}
.official-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.footage-credit {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}
.footage-credit strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.footage-credit small {
  display: block;
  font-size: 10px;
  color: #87958e;
  margin-top: 6px;
}
.footage-credit a {
  font-size: 10px;
  color: #f08336;
  white-space: nowrap;
}
.footage-disclosure {
  font-size: 9px;
  color: #748179;
  margin-top: 10px;
}
.public-site .official-video .hero-foot {
  left: 5.5%;
  right: 4%;
}
@media (min-width: 801px) and (max-height: 800px) {
  .public-site .hero.official-video {
    min-height: 580px;
  }
  .public-site .official-video h1 {
    font-size: clamp(78px, 7.1vw, 108px);
  }
  .public-site .official-video .hero-inner {
    padding-top: 28px;
    padding-bottom: 90px;
  }
  .official-footage {
    transform: translateY(-56%);
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .public-site .official-video h1 {
    font-size: 79px;
  }
  .public-site .official-video .hero-inner {
    padding-left: 5%;
    width: 49%;
  }
  .official-footage {
    width: 46%;
    right: 3%;
  }
  .public-site .official-video .hero-buttons {
    gap: 8px;
  }
  .public-site .official-video .hero-buttons .btn {
    padding: 13px 14px;
    font-size: 11px;
    gap: 10px;
  }
  .footage-credit {
    gap: 10px;
  }
  .footage-credit strong {
    font-size: 10px;
  }
  .footage-credit a {
    font-size: 9px;
  }
}
@media (max-width: 800px) {
  .public-site .hero.official-video {
    height: auto;
    max-height: none;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }
  .public-site .official-video .hero-inner {
    width: 100%;
    height: auto;
    padding: 35px 6% 28px;
  }
  .public-site .official-video h1 {
    font-size: clamp(70px, 11vw, 100px);
    line-height: 0.96;
    max-width: none;
  }
  .public-site .official-video .hero-copy {
    max-width: 480px;
    font-size: 13px;
    margin: 22px 0 24px;
  }
  .public-site .official-video .hero .eyebrow {
    margin-bottom: 18px;
  }
  .official-footage {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    margin: 0 6% 22px;
  }
  .official-frame {
    border-radius: 15px;
  }
  .footage-label {
    font-size: 8px;
    margin-bottom: 11px;
  }
  .footage-credit {
    margin-top: 12px;
  }
  .footage-credit strong {
    font-size: 11px;
  }
  .footage-credit small {
    font-size: 9px;
  }
  .footage-disclosure {
    font-size: 8px;
  }
  .public-site .official-video .hero-foot {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 6%;
    padding: 18px 0 23px;
  }
  .hero.official-video:before {
    left: 76%;
    top: -20%;
    opacity: 0.5;
  }
  .footage-credit a {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .public-site .official-video .hero-inner {
    padding-top: 28px;
    padding-bottom: 23px;
  }
  .public-site .official-video h1 {
    font-size: 68px;
  }
  .public-site .official-video .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .public-site .official-video .hero-copy {
    font-size: 12px;
    line-height: 1.7;
    max-width: 295px;
    margin-top: 20px;
    margin-bottom: 22px;
  }
  .public-site .official-video .hero-buttons .btn {
    padding: 13px 14px;
    min-height: 46px;
    font-size: 10px;
    gap: 10px;
  }
  .public-site .official-video .hero-foot {
    font-size: 8px;
    padding-top: 15px;
    padding-bottom: 19px;
  }
  .footage-disclosure {
    line-height: 1.5;
  }
  .official-footage {
    margin-bottom: 18px;
  }
  .footage-credit {
    gap: 10px;
  }
  .footage-credit strong {
    font-size: 10px;
  }
  .footage-credit a {
    font-size: 9px;
  }
}
/* Anchor the host into the worksite, directly beside the conversation. */
.chat-layout {
  padding: 0;
  gap: 0;
  isolation: isolate;
}
.chantal-stage {
  margin: 0;
  overflow: visible;
  z-index: 1;
}
.chantal-caption {
  top: 24px;
  left: 24px;
  right: 8px;
}
.chantal-stage img {
  top: auto;
  bottom: 0;
  left: auto;
  right: -8px;
  width: calc(100% + 8px);
  height: calc(100% - 85px);
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
.chat-box {
  margin: 20px 20px 20px 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 800px) {
  .chat-layout {
    padding: 0;
    gap: 0;
  }
  .chantal-caption {
    top: 18px;
    left: 10px;
    right: 2px;
  }
  .chantal-stage img {
    top: auto;
    bottom: 0;
    left: -30%;
    right: auto;
    width: 170%;
    height: calc(100% - 78px);
    max-width: none;
    object-fit: contain;
    object-position: left bottom;
  }
  .chat-box {
    margin: 10px 8px 10px 0;
  }
  .chantal-caption h3 {
    font-size: 22px;
  }
  .chantal-caption p {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .chat-layout {
    padding: 0;
    gap: 0;
  }
  .chantal-stage img {
    top: auto;
    bottom: 0;
    height: calc(100% - 75px);
  }
  .chat-box {
    margin: 8px 6px 8px 0;
  }
  .chantal-caption {
    top: 16px;
    left: 8px;
  }
}
/* Clear follow-up workflow for knowledge gaps and compact mobile navigation. */
.side-links .more-nav,
.public-menu {
  display: none;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-links > a {
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.mobile-menu-links .btn {
  justify-content: space-between;
}
.unanswered-notice {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  border: 1px solid #ff781e32;
  background: #ff781e0c;
  border-radius: 18px;
  padding: 21px 24px;
  text-align: left;
  margin-bottom: 26px;
}
.unanswered-count {
  font:
    500 38px "Barlow Condensed",
    sans-serif;
  color: var(--orange);
  min-width: 32px;
}
.unanswered-notice > span:nth-child(2) {
  flex: 1;
}
.unanswered-notice b {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.unanswered-notice small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 6px;
}
.question-original {
  font-size: 16px;
  line-height: 1.65;
  background: #ffffff05;
  border-left: 2px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 18px;
  margin-bottom: 12px;
}
.chat-feedback {
  font-size: 10px;
  color: #a5b3a7;
  border: 0;
  background: transparent;
  padding: 9px 2px;
  text-align: left;
  line-height: 1.5;
}
.chat-feedback:hover {
  color: #ff9b50;
}
.chat-feedback:disabled {
  opacity: 0.7;
}
@media (max-width: 800px) {
  .side-links:has([data-tab="questions"]) > [data-tab]:nth-child(n + 5) {
    display: none;
  }
  .side-links .more-nav {
    display: flex;
  }
  .public-menu {
    display: inline-flex;
  }
  .site-nav {
    gap: 12px;
  }
  .site-nav .brand {
    width: 115px;
  }
  .nav-actions {
    gap: 10px;
  }
  .nav-actions .public-menu {
    padding: 10px;
    font-size: 11px;
  }
  .nav-actions .btn.primary {
    padding: 11px 13px;
    font-size: 10px;
    gap: 8px;
  }
  .unanswered-notice {
    padding: 17px;
    gap: 14px;
  }
  .unanswered-notice b {
    font-size: 12px;
  }
  .unanswered-notice small {
    font-size: 10px;
  }
  .chantal-stage img {
    left: 50%;
    right: auto;
    bottom: 0;
    top: auto;
    width: auto;
    height: calc(100% - 74px);
    max-width: none;
    transform: translateX(-46%);
    object-fit: unset;
    object-position: unset;
  }
  .chantal-stage {
    overflow: visible;
  }
}
@media (max-width: 480px) {
  .chantal-stage img {
    height: calc(100% - 74px);
    width: auto;
    left: 50%;
    right: auto;
    bottom: 0;
    top: auto;
    transform: translateX(-46%);
  }
  .chat-feedback {
    font-size: 10px;
  }
  .unanswered-notice > svg {
    display: none;
  }
}
/* Cinematic full-bleed railwork. The hero is the deliberate square-edge exception. */
.public-site .hero {
  margin: 0;
  border-radius: 0;
  height: calc(100svh - 104px);
  min-height: 600px;
  max-height: 1000px;
  background: #182022;
}
.public-site .hero:after {
  background:
    linear-gradient(
      90deg,
      rgba(5, 12, 14, 0.76),
      rgba(5, 12, 14, 0.48) 35%,
      rgba(5, 12, 14, 0.08) 70%,
      transparent
    ),
    linear-gradient(0deg, rgba(5, 12, 14, 0.6), transparent 25%);
}
.public-site .hero-media video,
.public-site .hero-media img {
  filter: none;
}
.public-site .hero-inner {
  padding-left: 5.3%;
  padding-right: 5.3%;
  padding-top: 36px;
  padding-bottom: 110px;
  max-width: 1480px;
}
.public-site .hero h1 {
  font-size: clamp(90px, 9vw, 142px);
  line-height: 0.94;
  max-width: 850px;
  text-shadow: 0 2px 25px #0002;
}
.public-site .hero-copy {
  max-width: 380px;
  color: #f0f1ed;
}
.public-site .hero-foot {
  left: 5.3%;
  right: 5.3%;
  bottom: 28px;
}
@media (min-width: 801px) and (max-height: 800px) {
  .public-site .hero {
    min-height: 560px;
  }
  .public-site .hero h1 {
    font-size: clamp(88px, 8.4vw, 118px);
  }
  .public-site .hero-inner {
    padding-top: 28px;
    padding-bottom: 100px;
  }
}
@media (max-width: 800px) {
  .public-site .hero {
    height: calc(100svh - 83px);
    min-height: 650px;
    max-height: 950px;
  }
  .public-site .hero-inner {
    padding-left: 6%;
    padding-right: 6%;
    padding-bottom: 110px;
  }
  .public-site .hero h1 {
    font-size: clamp(76px, 12vw, 110px);
  }
  .public-site .hero:after {
    background:
      linear-gradient(
        90deg,
        rgba(5, 12, 14, 0.75),
        rgba(5, 12, 14, 0.37) 80%,
        rgba(5, 12, 14, 0.1)
      ),
      linear-gradient(0deg, rgba(5, 12, 14, 0.65), transparent 30%);
  }
  .public-site .hero-foot {
    left: 6%;
    right: 6%;
    bottom: 28px;
  }
}
@media (max-width: 480px) {
  .public-site .hero {
    height: calc(100svh - 83px);
    min-height: 620px;
    max-height: none;
  }
  .public-site .hero h1 {
    font-size: 72px;
  }
  .public-site .hero-inner {
    padding-top: 32px;
    padding-bottom: 108px;
  }
  .public-site .hero-copy {
    font-size: 13px;
    max-width: 295px;
  }
  .public-site .hero-foot {
    font-size: 8px;
  }
  .public-site .hero-buttons .btn {
    font-size: 11px;
    padding: 14px 15px;
    gap: 12px;
  }
}
/* Editorial hierarchy: one clear promise, factual services and room for the work. */
.public-site .hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(62px, 6.3vw, 96px);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -0.055em;
  text-transform: none;
  max-width: 1000px;
}
.public-site .hero .eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.045em;
  text-transform: none;
  font-weight: 500;
  margin-bottom: 26px;
}
.public-site .hero-copy {
  font-size: 14px;
  line-height: 1.8;
  max-width: 410px;
  margin: 26px 0 32px;
}
.public-site .hero-foot > span:nth-child(2) {
  display: none;
}
.public-site .intro > .eyebrow:after {
  display: none;
}
.public-site .intro > .eyebrow {
  padding: 0;
  font-family: "DM Sans", sans-serif;
  text-transform: none;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.public-site .intro h2 {
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.14;
}
.public-site .eyebrow {
  text-transform: none;
  letter-spacing: 0.025em;
  font-size: 12px;
}
.public-site .eyebrow:before {
  content: none;
}
.public-site .service-grid {
  grid-template-columns: 1.25fr 1fr;
  column-gap: 60px;
  row-gap: 0;
}
.public-site .service-card.big {
  min-height: 630px;
  padding: 34px;
}
.public-site .service-card.big h3 {
  font-family: Manrope, sans-serif;
  font-size: 35px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-transform: none;
  max-width: 100%;
}
.public-site .service-card:not(.big) {
  background: transparent !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 28px 0;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
}
.public-site .service-card:not(.big) h3 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.04em;
  max-width: 100%;
  margin-bottom: 16px;
}
.public-site .service-card:not(.big) .number {
  font:
    11px "DM Sans",
    sans-serif;
  letter-spacing: 0.015em;
  color: #929f98;
}
.public-site .service-card:nth-child(3) .number {
  color: #929f98;
}
.public-site .service-card:nth-child(3) p {
  color: var(--muted);
}
.public-site .service-card:nth-child(3) > div:last-child {
  margin-top: 0;
}
.rail-connection {
  max-width: 290px;
  margin: 0;
  opacity: 0.5;
}
.rail-connection svg {
  height: 40px;
}
.rail-connection span {
  font-size: 7px;
}
.public-site .experience strong {
  font-family: Manrope, sans-serif;
  font-size: 92px;
  letter-spacing: -0.075em;
  font-weight: 500;
}
.public-site .experience .eyebrow {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.public-site .join-section .eyebrow {
  font-family: "DM Sans", sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
}
.public-site .join-section h2 {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.15;
}
.public-site .join-section .employment-note {
  font-size: 13px;
  font-weight: 550;
  color: #34422e;
  margin: 0 0 20px;
}
.ui-symbol {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
  margin-left: 5px;
  stroke: currentColor;
  fill: none;
}
@media (min-width: 801px) and (max-height: 800px) {
  .public-site .hero h1 {
    font-size: clamp(62px, 6.1vw, 86px);
  }
  .public-site .hero-copy {
    margin-top: 23px;
    margin-bottom: 27px;
    font-size: 13px;
  }
}
@media (max-width: 1000px) {
  .public-site .service-grid {
    column-gap: 35px;
  }
  .public-site .service-card.big h3 {
    font-size: 29px;
  }
  .public-site .service-card:not(.big) h3 {
    font-size: 25px;
  }
}
@media (max-width: 800px) {
  .public-site .hero h1 {
    font-size: clamp(48px, 7.6vw, 68px);
    line-height: 1.12;
  }
  .public-site .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.025em;
  }
  .public-site .hero-copy {
    font-size: 14px;
    max-width: 370px;
  }
  .public-site .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .public-site .service-card.big {
    min-height: 420px;
  }
  .public-site .service-card:not(.big) {
    min-height: 250px;
    padding: 26px 0;
  }
  .public-site .service-card.big h3 {
    font-size: 30px;
  }
  .public-site .intro {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .public-site .experience strong {
    font-size: 82px;
  }
}
@media (max-width: 480px) {
  .public-site .hero h1 {
    font-size: 43px;
    letter-spacing: -0.055em;
    line-height: 1.15;
    max-width: 100%;
  }
  .public-site .hero-copy {
    font-size: 13px;
    line-height: 1.8;
    max-width: 310px;
    margin-top: 25px;
    margin-bottom: 30px;
  }
  .public-site .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 22px;
  }
  .public-site .intro h2 {
    font-size: 38px;
  }
  .public-site .service-card.big {
    min-height: 400px;
    padding: 27px;
  }
  .public-site .join-section h2 {
    font-size: 38px;
  }
  .public-site .service-card:not(.big) h3 {
    font-size: 27px;
  }
  .public-site .service-card.big h3 {
    font-size: 29px;
  }
}
@media (max-width: 800px) {
  .site-nav .nav-actions > a[data-nav] {
    display: none;
  }
}
/* A complete month stays visible; the list and day dialog carry the detail. */
.app-main:has(.planning-calendar) .app-top {
  margin-bottom: 20px;
}
.app-main:has(.planning-calendar) .app-heading {
  margin-bottom: 18px;
}
.app-main:has(.planning-calendar) .toolbar {
  margin-bottom: 14px;
}
.planning-calendar {
  padding: 16px;
}
.planning-calendar .calendar-grid {
  gap: 4px;
}
.planning-calendar .week-label {
  padding: 6px;
  font-size: 10px;
}
.planning-calendar .cal-day {
  height: clamp(70px, calc((100dvh - 390px) / 6), 90px);
  min-height: 0;
  padding: 6px 8px;
  gap: 4px;
  overflow: hidden;
}
.calendar-day-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 13px;
  font-size: 10px;
}
.calendar-more {
  min-height: 18px;
  padding: 0 5px;
  border: 0;
  border-radius: 5px;
  background: #ffffff0c;
  color: #d2dcd0;
  font-size: 9px;
  line-height: 18px;
}
.planning-calendar .calendar-shift {
  min-height: 22px;
  height: 22px;
  flex: none;
  padding: 4px 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 6px;
}
.planning-calendar .calendar-shift > span {
  font-size: 9px;
  flex-shrink: 0;
}
.planning-calendar .calendar-shift > b {
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}
.planning-calendar .roster-link {
  font-size: 9px;
  line-height: 12px;
  padding: 0;
  min-height: 12px;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roster-mobile {
  display: none;
}
.planning-calendar > .fineprint {
  margin-top: 10px !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}
@media (max-width: 800px) {
  .app-main:has(.planning-calendar) .app-top {
    margin-bottom: 16px;
  }
  .app-main:has(.planning-calendar) .app-heading {
    margin-bottom: 16px;
  }
  .planning-calendar {
    padding: 10px;
  }
  .planning-calendar .calendar-grid {
    gap: 3px;
  }
  .planning-calendar .cal-day {
    height: clamp(58px, calc((100dvh - 470px) / 6), 62px);
    min-height: 0;
    padding: 4px 3px;
    gap: 3px;
  }
  .planning-calendar .calendar-shift {
    padding: 3px;
    min-height: 18px;
    height: 18px;
    gap: 0;
    justify-content: center;
  }
  .planning-calendar .calendar-shift > b {
    display: none;
  }
  .planning-calendar .calendar-shift > span {
    font-size: 9px;
    line-height: 12px;
  }
  .planning-calendar .calendar-day-top {
    font-size: 10px;
    min-height: 12px;
  }
  .calendar-more {
    font-size: 8px;
    min-height: 14px;
    line-height: 14px;
    padding: 0 3px;
  }
  .planning-calendar .roster-link {
    font-size: 9px;
    min-height: 10px;
    line-height: 10px;
    text-align: center;
  }
  .roster-label {
    display: none;
  }
  .roster-mobile {
    display: inline;
  }
  .planning-calendar > .fineprint {
    font-size: 9px !important;
    line-height: 1.4 !important;
    margin-top: 9px !important;
  }
  .planning-calendar .week-label {
    padding: 5px;
    font-size: 9px;
  }
}
.employee-shift-tabs {
  max-width: 440px;
  background: var(--panel);
  margin-bottom: 20px;
}
.employee-shift-tabs button {
  font-size: 12px;
  min-height: 43px;
}
.open-shift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.open-shift-card {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.open-shift-card .panel-head {
  margin-bottom: 0;
}
.open-shift-card h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.open-shift-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.open-shift-facts > span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: #c5cec8;
}
.open-shift-facts svg {
  width: 17px;
  height: 17px;
  color: #dd874d;
}
.open-shift-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.open-shift-card > .btn {
  margin-top: auto;
  width: 100%;
}
.app-main:has(.employee-shift-tabs) .planning-calendar .cal-day {
  height: clamp(50px, calc((100dvh - 440px) / 6), 82px);
}
@media (max-width: 800px) {
  .open-shift-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .employee-shift-tabs {
    margin-bottom: 16px;
    max-width: none;
  }
  .open-shift-card {
    padding: 20px;
    gap: 17px;
  }
  .open-shift-card h3 {
    font-size: 22px;
  }
  .open-shift-facts > span {
    font-size: 13px;
  }
  .open-shift-card > p {
    font-size: 13px;
  }
  .app-main:has(.employee-shift-tabs) .planning-calendar .cal-day {
    height: clamp(45px, calc((100dvh - 520px) / 6), 58px);
  }
}
.assignment-label {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
  margin: 18px 0 10px;
  color: #d7dfd7;
}
.assignment-note {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}
#current-roster .checkbox-list {
  border-left: 2px solid #7a8a73;
  padding-left: 10px;
}
#selection-review .checkbox-list {
  border-left: 2px solid #dd894e;
  padding-left: 10px;
}
#assignment-selector .checkbox-list label {
  align-items: flex-start;
}
#assignment-selector .checkbox-list input {
  margin-top: 3px;
  flex-shrink: 0;
}
.notifications-button {
  position: relative;
}
.notifications-count {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 17px;
  height: 17px;
  border-radius: 6px;
  background: var(--orange);
  color: #111815;
  display: grid;
  place-items: center;
  font:
    600 9px "DM Sans",
    sans-serif;
  padding: 0 4px;
  border: 2px solid var(--bg);
}
.notification-setup {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff03;
  margin-bottom: 25px;
}
.notification-setup h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.notification-setup p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 15px;
}
.notification-setup .btn {
  margin-top: 2px;
}
.notification-list-head {
  margin-bottom: 12px;
}
.notification-list-head h3 {
  font-size: 18px;
}
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notification-item {
  width: 100%;
  display: flex;
  gap: 15px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: transparent;
  padding: 17px 15px;
}
.notification-item > span {
  flex: 1;
  min-width: 0;
}
.notification-item b {
  font-size: 13px;
  font-weight: 550;
}
.notification-item p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 6px;
  color: #b0bdb2;
}
.notification-item small {
  font-size: 10px;
  color: #849183;
  display: block;
  margin-top: 10px;
}
.notification-item.unread {
  background: #ff781e09;
  border-color: #ff781e26;
}
.notification-item:hover {
  background: #ffffff06;
}
.top-install {
  gap: 8px !important;
}
.top-install svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 480px) {
  .app-top-right .top-install {
    width: 39px;
    min-width: 39px;
    height: 39px;
    min-height: 39px;
    padding: 0;
    gap: 0 !important;
  }
  .top-install span {
    display: none;
  }
  .app-top-right {
    gap: 8px;
  }
  .app-top-right .notifications-button {
    width: 39px;
    height: 39px;
  }
  .notification-setup {
    padding: 16px;
  }
  .notification-setup p,
  .notification-item p {
    font-size: 13px;
  }
  .notification-list-head .btn {
    font-size: 10px;
    min-height: 36px;
    padding: 8px 10px;
  }
  .notification-list-head h3 {
    font-size: 17px;
  }
  .notification-item {
    padding: 15px 12px;
  }
  .planning-calendar .roster-link {
    font-size: 8px;
  }
}
/* The landing navigation lives on the rail footage, without an opaque header strip. */
.landing-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  max-width: none;
  background: transparent;
}
.landing-header:before {
  content: "";
  position: absolute;
  inset: 0 0 -70px;
  background: linear-gradient(180deg, #060b0ee8, #060b0e88 46%, #060b0e00);
  pointer-events: none;
  z-index: -1;
}
.landing-header .site-nav {
  max-width: 1320px;
  margin: auto;
}
.landing-header .brand img {
  filter: drop-shadow(0 3px 12px #0008);
}
.landing-header .nav-links {
  color: #fff;
  text-shadow: 0 2px 9px #000b;
}
.landing-header .nav-actions > a[data-nav],
.landing-header .public-menu {
  background: #10171d66;
  border: 1px solid #ffffff3b;
  border-radius: 12px;
  padding: 12px 15px;
  color: white;
  box-shadow: 0 4px 20px #0002;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.landing-header .btn.primary,
.public-site .hero-buttons .btn {
  box-shadow: 0 7px 24px #0003;
}
.landing-header a:focus-visible,
.landing-header button:focus-visible {
  outline: 2px solid white;
  outline-offset: 5px;
}
.landing-header + .public-site .hero {
  height: 100svh;
  min-height: 660px;
  max-height: none;
}
.landing-header + .public-site .hero-inner {
  padding-top: 142px;
  padding-bottom: 118px;
}
@media (max-width: 800px) {
  .landing-header .site-nav {
    height: 83px;
    gap: 10px;
  }
  .landing-header .brand {
    flex-shrink: 0;
  }
  .landing-header .nav-actions {
    gap: 8px;
  }
  .landing-header .public-menu {
    padding: 10px;
    min-height: 40px;
  }
  .landing-header + .public-site .hero {
    min-height: 650px;
  }
  .landing-header + .public-site .hero-inner {
    padding-top: 112px;
    padding-bottom: 110px;
  }
}
@media (max-width: 360px) {
  .landing-header .site-nav .brand {
    width: 96px;
  }
  .landing-header .nav-actions .btn.primary {
    padding: 10px;
    gap: 5px;
    font-size: 9px;
  }
  .landing-header .nav-actions .public-menu {
    padding: 9px;
    font-size: 10px;
  }
}
/* Short, readable chapters alternate warm paper and the charcoal rail palette. */
.public-site .intro {
  background: #eeeae3;
  box-shadow: 0 0 0 100vmax #eeeae3;
  clip-path: inset(0 -100vmax);
  color: #1a2429;
  padding: 68px 0;
  margin-bottom: 64px;
  border: 0;
}
.public-site .intro .muted {
  color: #697274;
}
.public-site .intro .eyebrow,
.public-site .intro p {
  color: #4e5b60;
}
.public-site .intro .text-link {
  color: #a34312;
}
.public-site .intro h2 {
  font-size: clamp(36px, 4.1vw, 58px);
}
.public-site .intro-bottom {
  margin-top: 26px;
}
.public-site .services {
  padding-bottom: 40px;
}
.public-site .services .section-head {
  margin-bottom: 30px;
}
.public-site .section-head h2 {
  font-size: clamp(34px, 3.6vw, 51px);
  line-height: 1.12;
}
.public-site .service-card.big {
  min-height: 430px;
}
.public-site .service-card:not(.big) {
  min-height: 205px;
  padding: 20px 0;
  gap: 14px;
}
.public-site .service-card:not(.big) h3 {
  font-size: 25px;
  margin-bottom: 10px;
}
.public-site .service-card p {
  font-size: 13px;
}
.public-site .experience {
  padding: 24px 0 60px;
}
.public-site .experience strong {
  font-size: 76px;
}
.work-story {
  background: #d7dedc;
  color: #14232b;
  padding: 60px 0 42px;
}
.work-story-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.work-story-heading h2 {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 550;
}
.work-story .eyebrow {
  color: #5c696c;
  margin-bottom: 15px;
}
.story-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.story-controls > span {
  font:
    12px "DM Sans",
    sans-serif;
  margin-right: 10px;
  color: #536064;
}
.story-controls .icon-btn {
  border: 1px solid #1d333b33;
  background: #ffffff66;
  color: #14232b;
  width: 44px;
  height: 44px;
}
.story-controls .icon-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.work-story-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px;
  scrollbar-width: thin;
  scrollbar-color: #7e908f transparent;
  overscroll-behavior-x: contain;
}
.work-story-track:focus-visible {
  outline: 2px solid #b9551b;
  outline-offset: 6px;
  border-radius: 20px;
}
.work-story-card {
  flex: 0 0 calc(50% - 11px);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: #f6f3ed;
  position: relative;
}
.work-story-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.story-card-content {
  padding: 25px 28px 28px;
}
.story-step {
  font-size: 11px;
  font-weight: 550;
  color: #7a4a2c;
  margin-bottom: 16px;
}
.story-card-content h3 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin-bottom: 15px;
}
.story-card-content > p:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: #586365;
}
.story-text-card {
  background: #1c2d34;
  color: #fff;
}
.story-text-card .story-step {
  color: #ffaa76;
}
.story-text-card .story-card-content > p:last-child {
  color: #c0cdcf;
}
.story-wordmark {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px;
  font:
    650 80px Manrope,
    sans-serif;
  letter-spacing: -0.075em;
  color: #ff6a00;
  border-bottom: 1px solid #ffffff20;
}
.story-wordmark span {
  font:
    14px/1.6 "DM Sans",
    sans-serif;
  letter-spacing: 0;
  color: #d4dddd;
}
.story-hint {
  margin-top: 14px;
  font-size: 11px;
  color: #607074;
}
.conversation-panel {
  padding: 24px;
}
.conversation-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 150px 150px;
  gap: 16px;
  align-items: end;
}
.conversation-filters > button {
  grid-column: 1 / -1;
  justify-self: start;
}
.conversation-filters .field {
  margin: 0;
  min-width: 0;
}
.conversation-filters .field > span {
  display: block;
  font-size: 12px;
  margin-bottom: 9px;
}
.conversation-panel > .fineprint {
  margin: 20px 0;
}
.conversation-messages {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.conversation-message {
  border: 1px solid #ffffff16;
  padding: 20px;
  border-radius: 18px;
  background: #ffffff03;
  max-width: 880px;
}
.conversation-message.from-employee {
  border-color: #ff6a0038;
  background: #ff6a0007;
}
.conversation-message header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.conversation-message header strong {
  font-size: 13px;
}
.conversation-message time {
  font-size: 11px;
  color: var(--muted);
}
.conversation-message > p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.75;
}
.conversation-message img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 14px;
  margin-top: 16px;
}
.conversation-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.conversation-sources small {
  width: 100%;
  color: var(--muted);
}
#conversation-older > .fineprint {
  margin-top: 12px;
}
@media (max-width: 1100px) {
  .conversation-filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .public-site .intro {
    padding: 48px 0;
    margin-bottom: 46px;
  }
  .public-site .intro h2 {
    font-size: 37px;
  }
  .public-site .intro-bottom {
    margin-top: 23px;
  }
  .public-site .intro-bottom p {
    font-size: 14px;
  }
  .public-site .services .section-head {
    gap: 20px;
    margin-bottom: 25px;
  }
  .public-site .service-card.big {
    min-height: 370px;
    padding: 26px;
  }
  .public-site .service-card:not(.big) {
    min-height: 210px;
  }
  .public-site .experience {
    gap: 25px;
    padding-bottom: 45px;
  }
  .work-story {
    padding: 43px 0 32px;
  }
  .work-story-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 23px;
  }
  .work-story-heading h2 {
    font-size: 36px;
  }
  .story-controls {
    align-self: flex-end;
  }
  .work-story-card {
    flex-basis: 87%;
    border-radius: 22px;
  }
  .work-story-track {
    gap: 14px;
  }
  .work-story-card > img,
  .story-wordmark {
    height: 160px;
  }
  .story-wordmark {
    padding: 22px;
    font-size: 65px;
  }
  .story-wordmark span {
    font-size: 11px;
  }
  .story-card-content {
    padding: 23px;
  }
  .story-card-content h3 {
    font-size: 25px;
  }
  .story-card-content > p:last-child {
    font-size: 13px;
  }
  .conversation-panel {
    padding: 18px;
  }
  .conversation-filters {
    gap: 14px;
  }
  .conversation-filters > .field:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }
  .conversation-message {
    padding: 16px;
  }
}
@media (max-width: 360px) {
  .work-story-card {
    flex-basis: 94%;
  }
  .work-story-heading h2 {
    font-size: 31px;
  }
  .story-card-content {
    padding: 20px;
  }
  .story-card-content h3 {
    font-size: 23px;
  }
  .conversation-filters {
    grid-template-columns: 1fr;
  }
}
/* Scroll choreography belongs only to the public story; the work app stays still. */
.principles {display:flex;align-items:center;gap:34px;padding:30px max(24px,calc((100vw - 1320px)/2));background:#171d1b;border-block:1px solid #ffffff10;overflow:hidden}
.principles-heading {flex:0 0 190px;position:relative;z-index:1}
.principles-heading>span {display:block;color:#aeb8b3;font-size:10px;letter-spacing:2px;margin-bottom:9px}
.principles-heading>strong {font-size:18px;font-weight:550;line-height:1.35;display:block}
.principles-window {min-width:0;flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);touch-action:pan-y;user-select:none}
.principles-motion {width:max-content;display:flex;animation:principles-flow 46s linear infinite;will-change:transform}
.principles-group {display:flex;align-items:center;gap:50px;padding-right:50px}
.principle {display:flex;align-items:center;gap:16px;min-width:225px;white-space:nowrap}
.principle svg {width:42px;height:42px;fill:none;stroke:#f5f8f5;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px #edfff53a);flex-shrink:0}
.principle strong {display:block;font-size:15px;font-weight:550;letter-spacing:-.2px;color:#f6f8f5}
.principle span {display:block;font-size:11px;color:#a9b5ae;margin-top:5px}
.principles-window.is-held .principles-motion,.principles-window:focus-visible .principles-motion {animation-play-state:paused}
.principles-window:focus-visible {outline:2px solid #ff8200;outline-offset:5px}
@keyframes principles-flow {to {transform:translateX(-50%)}}
@media(max-width:800px) {.principles {display:block;padding:23px 0}.principles-heading {padding:0 24px;margin-bottom:24px;display:flex;align-items:center;gap:18px}.principles-heading>span {margin:0;font-size:9px}.principles-heading>strong {font-size:14px}.principles-group {gap:32px;padding-right:32px}.principle {min-width:215px}.principle svg {width:36px;height:36px}.principles-motion {animation-duration:50s}}
@media(prefers-reduced-motion:reduce) {.principles-motion {animation:none;will-change:auto}.principles-window {overflow-x:auto;mask-image:none}.principles-group[aria-hidden=true] {display:none}.principles-window {padding-bottom:10px}}
.lead-upload {margin:22px 0;padding:18px;border:1px solid #71806650;border-radius:16px;min-width:0}
.lead-upload input[type=file] {width:100%;min-width:0;padding:10px 0;font-size:13px;border:0;background:transparent}
.lead-upload .file-picker {position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#172017;color:white;padding:13px 14px;border-radius:10px;font-size:13px;cursor:pointer;margin-top:10px}
.lead-upload .file-picker input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.lead-upload .file-picker:focus-within {outline:2px solid #ff7800;outline-offset:3px}
.lead-upload input::file-selector-button {border:0;border-radius:9px;padding:10px 12px;background:#172017;color:white;margin-right:10px;cursor:pointer;font:inherit}
.lead-file-row {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px}
.lead-file-row>span,.lead-document>strong {min-width:0;overflow-wrap:anywhere}
.lead-file-row small,.lead-document small {display:block;opacity:.7}
.lead-file-row .icon-btn {flex-shrink:0;color:inherit}
.lead-documents {margin:22px 0}
.lead-document {padding:16px;border:1px solid var(--line);border-radius:14px;margin:10px 0}
.lead-document>div {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-ready.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
.public-site .service-card.big.reveal-ready img {
  clip-path: inset(8% 0 8% 0 round 22px);
  transform: scale(1.055);
  transition:
    clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.public-site .service-card.big.reveal-ready.is-in img {
  clip-path: inset(0 round 22px);
  transform: scale(1);
}
.public-site .service-card.reveal-ready .rail-connection path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.public-site .service-card.reveal-ready.is-in .rail-connection path {
  stroke-dashoffset: 0;
}
.public-site .intro:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #ff6a00aa, #ffffff12);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.public-site .intro:has(.is-in):after {
  transform: scaleX(1);
}
@media (max-width: 800px) {
  .reveal-ready {
    transform: translate3d(0, 28px, 0);
    transition-duration: 0.7s, 0.9s;
  }
  .public-site .service-card.big.reveal-ready img {
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .public-site .service-card.big.reveal-ready img {
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }
  .public-site .service-card.reveal-ready .rail-connection path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .public-site .intro:after {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}
