:root {
  color-scheme: dark;
  --ink: #f6f3ed;
  --muted: #b9bebd;
  --dim: #858c8d;
  --night: #090b0d;
  --panel: #11181a;
  --panel-2: #182123;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d8b867;
  --mint: #7fd7bd;
  --rust: #be6d4f;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-1.4%, -0.8%, 0);
  }
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(216, 184, 103, 0);
  }

  50% {
    box-shadow: 0 0 32px rgba(216, 184, 103, 0.18);
  }
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shineSweep {
  from {
    transform: translateX(-120%) skewX(-18deg);
  }

  to {
    transform: translateX(220%) skewX(-18deg);
  }
}

@keyframes lineGlide {
  from {
    opacity: 0;
    transform: translate3d(-18vw, 0, 0) scaleX(0.55);
  }

  16%,
  74% {
    opacity: 0.72;
  }

  to {
    opacity: 0;
    transform: translate3d(116vw, 0, 0) scaleX(1);
  }
}

@keyframes meterFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 13, 0.72);
  backdrop-filter: blur(18px);
  animation: fadeLift 560ms ease both;
}

.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 184, 103, 0.52);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 220ms ease, border-color 220ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(216, 184, 103, 0.78);
}

.brand-mark.image-mark {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.2);
  background: #050505;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a,
.login-dropdown > button,
.logout-button {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.login-dropdown > button:hover,
.login-dropdown > button:focus-visible,
.login-dropdown.is-open > button,
.logout-button:hover,
.logout-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.logout-button {
  color: var(--accent);
}

.login-dropdown {
  position: relative;
}

.login-dropdown > button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.login-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 19, 0.98);
  box-shadow: 0 24px 80px var(--shadow);
}

.login-dropdown.is-open .login-menu,
.login-select-panel.is-open .login-menu {
  display: grid;
  animation: drawerIn 180ms ease both;
}

.login-menu a {
  display: block;
  padding: 12px;
  border-radius: 6px;
}

.login-modal[hidden] {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(14px);
}

.login-modal-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 19, 0.98);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: drawerIn 180ms ease both;
}

.login-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.login-choice,
.login-choice-card {
  color: inherit;
  text-decoration: none;
}

.login-choice {
  display: grid;
  gap: 9px;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.login-choice:hover,
.login-choice:focus-visible,
.login-choice-card:hover,
.login-choice-card:focus-visible {
  border-color: rgba(127, 215, 189, 0.42);
  background: rgba(127, 215, 189, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.login-choice span {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.login-choice strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.login-choice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

body.login-modal-open {
  overflow: hidden;
}

.header-notification {
  position: relative;
  order: 3;
  flex: 0 0 auto;
}

.header-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-bell:hover,
.header-bell:focus-visible,
.header-bell[aria-expanded="true"] {
  border-color: rgba(127, 215, 189, 0.45);
  background: rgba(127, 215, 189, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.header-bell span {
  position: relative;
  width: 15px;
  height: 17px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 4px 4px;
}

.header-bell span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.header-bell span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.header-bell strong {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid rgba(9, 11, 13, 0.96);
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.header-bell strong.is-clear {
  background: rgba(255, 255, 255, 0.16);
  color: var(--muted);
}

.notification-modal {
  position: fixed;
  top: 86px;
  right: clamp(18px, 4vw, 56px);
  z-index: 80;
  width: min(430px, calc(100vw - 36px));
  max-height: calc(100svh - 110px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 19, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  overflow: hidden;
  animation: drawerIn 180ms ease both;
}

.modal-heading,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.modal-heading strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.modal-heading .eyebrow {
  margin-bottom: 5px;
}

.modal-heading button,
.modal-actions button,
.modal-actions a {
  border: 0;
  background: transparent;
  color: var(--mint);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.modal-actions {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.nav-toggle {
  order: 4;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  animation: heroImageDrift 18s ease-in-out alternate infinite;
  transform-origin: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 11, 13, 0.92) 0%, rgba(9, 11, 13, 0.64) 42%, rgba(9, 11, 13, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 11, 13, 0.98) 0%, rgba(9, 11, 13, 0.1) 40%);
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-motion span {
  position: absolute;
  left: 0;
  width: 34vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 215, 189, 0.72), rgba(216, 184, 103, 0.42), transparent);
  filter: drop-shadow(0 0 8px rgba(127, 215, 189, 0.38));
  transform-origin: left center;
  animation: lineGlide 8.6s ease-in-out infinite;
}

.hero-motion span:nth-child(1) {
  top: 24%;
  animation-delay: 900ms;
}

.hero-motion span:nth-child(2) {
  top: 52%;
  width: 24vw;
  animation-delay: 3.1s;
}

.hero-motion span:nth-child(3) {
  top: 70%;
  width: 42vw;
  animation-delay: 5.4s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: 150px 0 11vh clamp(18px, 4vw, 56px);
  animation: fadeLift 780ms 140ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 30px;
  color: #d9d8d2;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  outline: none;
}

.button.primary {
  background: var(--gold);
  color: #15110a;
  animation: softPulse 4.8s ease-in-out infinite;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  position: relative;
  overflow: hidden;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #0c1113;
}

.trust-strip div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.07) 48%, transparent 64%);
  transform: translateX(-120%) skewX(-18deg);
}

.trust-strip.is-visible div::after {
  animation: shineSweep 1.4s ease both;
}

.trust-strip.is-visible div:nth-child(2)::after {
  animation-delay: 160ms;
}

.trust-strip.is-visible div:nth-child(3)::after {
  animation-delay: 320ms;
}

.trust-meter {
  display: block;
  width: min(92px, 38%);
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
}

.trust-strip.is-visible .trust-meter {
  animation: meterFill 740ms ease forwards;
}

.trust-strip.is-visible div:nth-child(2) .trust-meter {
  animation-delay: 140ms;
}

.trust-strip.is-visible div:nth-child(3) .trust-meter {
  animation-delay: 280ms;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2,
.results-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro > p,
.contact-copy p,
.results-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-page-shell {
  width: min(1180px, calc(100% - 36px));
}

.site-page-hero {
  min-height: auto;
  padding: 18px 0 34px;
}

.site-page-hero h1,
.booking-page h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5.8vw, 4.2rem);
  line-height: 1;
}

.home-booking-cta {
  align-items: center;
}

.booking-cta-panel {
  align-content: center;
}

.booking-cta-panel strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.booking-cta-panel p {
  color: var(--muted);
}

.booking-page {
  width: min(1120px, 100%);
  padding-top: 10px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.package-card,
.booking-form,
.portal-card,
.portal-login,
.portal-dashboard,
.metric-card,
.vehicle-card,
.crew-grid article,
.checkout-sheet {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 80px var(--shadow);
}

.service-card {
  min-height: 260px;
  padding: 24px;
}

.service-card,
.package-card,
.portal-card,
.metric-card,
.vehicle-card,
.crew-grid article,
.result-list div,
.booking-form,
.portal-login,
.checkout-sheet {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card:hover,
.package-card:hover,
.portal-card:hover,
.metric-card:hover,
.vehicle-card:hover,
.crew-grid article:hover,
.result-list div:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 215, 189, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.service-card,
.package-card {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.package-card::before,
.booking-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--motion-x, 50%) 0%, rgba(127, 215, 189, 0.12), transparent 36%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.service-card:hover::before,
.package-card:hover::before,
.booking-form:focus-within::before {
  opacity: 1;
}

.services.is-visible .service-card,
.packages.is-visible .package-card {
  animation: fadeLift 560ms ease both;
}

.services.is-visible .service-card:nth-child(2),
.packages.is-visible .package-card:nth-child(2) {
  animation-delay: 90ms;
}

.services.is-visible .service-card:nth-child(3),
.packages.is-visible .package-card:nth-child(3) {
  animation-delay: 180ms;
}

.services.is-visible .service-card:nth-child(4) {
  animation-delay: 270ms;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  border: 1px solid rgba(127, 215, 189, 0.34);
  border-radius: 8px;
  color: var(--mint);
  font-weight: 800;
  font-size: 0.78rem;
}

.service-card h3,
.package-card h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.service-card p,
.package-card p,
.package-card li {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px;
}

.package-card.featured {
  background:
    linear-gradient(180deg, rgba(216, 184, 103, 0.16), rgba(255, 255, 255, 0.035)),
    var(--panel);
  border-color: rgba(216, 184, 103, 0.48);
}

.badge {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(216, 184, 103, 0.18);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-card strong {
  margin: auto 0 18px;
  color: var(--ink);
  font-size: 2.1rem;
  line-height: 1;
}

.package-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.results {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding: 92px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(127, 215, 189, 0.16), transparent 35%),
    linear-gradient(300deg, rgba(190, 109, 79, 0.14), transparent 45%),
    #101719;
  border-block: 1px solid var(--line);
}

.result-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.result-list div {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.result-list strong,
.result-list span {
  display: block;
}

.result-list strong {
  margin-bottom: 70px;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
}

.result-list span {
  color: var(--muted);
}

.portal-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
}

.portal-card.admin-card {
  background:
    linear-gradient(150deg, rgba(190, 109, 79, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.portal-card p {
  max-width: 560px;
  color: var(--muted);
}

.portal-card strong {
  margin-top: auto;
  color: var(--gold);
}

.portal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(127, 215, 189, 0.14), transparent 36rem),
    radial-gradient(circle at left 18rem, rgba(216, 184, 103, 0.1), transparent 32rem),
    var(--night);
}

.admin-mode {
  background:
    radial-gradient(circle at top right, rgba(190, 109, 79, 0.15), transparent 36rem),
    radial-gradient(circle at left 18rem, rgba(216, 184, 103, 0.1), transparent 32rem),
    var(--night);
}

.portal-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 72px;
}

.portal-hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 24px;
}

.portal-hero-unlocked {
  grid-template-columns: minmax(0, 840px);
}

.portal-login[hidden] {
  display: none;
}

.portal-hero h1 {
  max-width: 780px;
  font-size: clamp(2.05rem, 5vw, 3.7rem);
  line-height: 1;
}

.portal-hero p:not(.eyebrow),
.portal-login .form-note {
  color: var(--muted);
}

.portal-login {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.text-button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.login-hero {
  grid-template-columns: 1fr;
}

.auth-shell {
  width: min(1080px, calc(100% - 32px));
  padding-top: max(112px, calc(92px + env(safe-area-inset-top)));
}

.auth-shell .login-hero {
  align-items: center;
  justify-items: center;
  text-align: center;
}

.auth-intro {
  display: grid;
  justify-items: center;
  max-width: 720px;
  margin-inline: auto;
}

.auth-intro.compact {
  margin-top: 28px;
}

.auth-app-icon {
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.auth-intro .eyebrow {
  color: var(--mint);
}

.auth-intro h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 7.4vw, 3.8rem);
  line-height: 1;
}

.auth-intro p:not(.eyebrow) {
  max-width: 560px;
}

.auth-shell .hero-actions {
  justify-content: center;
}

.login-actions {
  position: relative;
  width: fit-content;
  margin-top: 24px;
}

.login-actions .login-menu {
  left: 0;
  right: auto;
  min-width: 0;
  width: min(250px, calc(100vw - 36px));
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin-inline: auto;
}

.login-card {
  align-content: start;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.auth-shell .portal-login {
  border-color: rgba(127, 215, 189, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 13, 15, 0.92);
}

.auth-shell .portal-login::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--gold), var(--rust));
}

.auth-card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(127, 215, 189, 0.26);
  border-radius: 14px;
  background: rgba(127, 215, 189, 0.12);
  color: var(--mint);
  font-size: 1.05rem;
  font-weight: 900;
}

.auth-card-icon.admin {
  border-color: rgba(216, 184, 103, 0.32);
  background: rgba(216, 184, 103, 0.13);
  color: var(--gold);
}

.auth-card-icon.profile {
  border-color: rgba(190, 109, 79, 0.34);
  background: rgba(190, 109, 79, 0.14);
  color: #efaa8d;
}

.login-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1;
}

.login-card p:not(.eyebrow):not(.form-note) {
  margin: 0 0 8px;
  color: var(--muted);
}

.auth-shell .portal-login label {
  text-align: left;
}

.auth-shell input,
.auth-shell textarea {
  min-height: 52px;
  background: rgba(0, 0, 0, 0.32);
}

.notification-center {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.home-notification-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 18px clamp(18px, 4vw, 56px) 0;
  background: #0c1113;
}

.home-notification-wrap .notification-center {
  width: min(1180px, 100%);
  margin: 0;
}

.notification-bell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 9px 10px 9px 14px;
  cursor: pointer;
}

.notification-bell strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-size: 0.78rem;
}

.notification-bell strong.is-clear {
  background: rgba(255, 255, 255, 0.14);
  color: var(--muted);
}

.notification-drawer {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 15;
  width: min(390px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 19, 0.98);
  box-shadow: 0 24px 80px var(--shadow);
  overflow: hidden;
  transform-origin: top right;
  animation: drawerIn 180ms ease both;
}

.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.drawer-heading button {
  border: 0;
  background: transparent;
  color: var(--mint);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.notification-list {
  display: grid;
  max-height: 410px;
  overflow: auto;
}

.notification-list article {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px 15px 15px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-list article::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: transparent;
}

.notification-list article[data-unread="true"]::before {
  background: var(--mint);
}

.notification-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.notification-list time {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 800;
}

.notification-hero {
  align-items: stretch;
}

.notification-summary {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(216, 184, 103, 0.16), transparent 46%),
    rgba(255, 255, 255, 0.05);
}

.notification-summary span,
.notification-card span,
.action-tile span {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-summary strong {
  color: var(--gold);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 0.9;
}

.notification-summary p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
}

.notification-hub {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.notification-hub-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 4vw, 30px);
  border-bottom: 1px solid var(--line);
}

.notification-hub-toolbar h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  line-height: 1;
}

.notification-board {
  display: grid;
}

.notification-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 22px clamp(18px, 4vw, 30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-card:last-child {
  border-bottom: 0;
}

.notification-card strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 1.15rem;
}

.notification-card p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.notification-card time {
  color: var(--dim);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.notification-card[data-unread="true"] {
  background: linear-gradient(90deg, rgba(127, 215, 189, 0.12), transparent 42%);
}

.notification-card.priority {
  border-left: 4px solid var(--gold);
}

.notification-card[data-unread="false"] {
  opacity: 0.72;
}

.notification-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.action-tile {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.action-tile strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.05;
}

.action-tile:hover,
.action-tile:focus-visible {
  border-color: rgba(127, 215, 189, 0.45);
  transform: translateY(-2px);
  outline: none;
}

.settings-stack {
  display: grid;
  gap: 14px;
}

.settings-accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.settings-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
}

.settings-accordion summary span {
  display: grid;
  gap: 5px;
}

.settings-accordion summary small {
  color: var(--muted);
  font-weight: 600;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 20px 20px;
}

.settings-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.settings-form label:nth-of-type(3),
.settings-callout,
.settings-form .button,
.settings-form .form-note {
  grid-column: 1 / -1;
}

.settings-callout {
  padding: 16px;
  border: 1px solid rgba(127, 215, 189, 0.24);
  border-radius: 8px;
  background: rgba(127, 215, 189, 0.08);
}

.settings-callout p {
  margin: 6px 0 0;
  color: var(--muted);
}

.settings-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 20px;
}

.settings-link-list a,
.legal-links a {
  color: var(--mint);
  font-weight: 800;
}

.portal-login label,
.message-form label {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.portal-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.portal-sidebar {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 184, 103, 0.95), rgba(127, 215, 189, 0.78));
  color: #101313;
  font-weight: 800;
}

.portal-sidebar strong,
.portal-sidebar small {
  display: block;
}

.portal-sidebar small {
  color: var(--muted);
}

.portal-tabs {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.portal-tabs button,
.compact {
  min-height: 42px;
}

.portal-tabs button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 11px 12px;
  cursor: pointer;
}

.portal-tabs button:hover,
.portal-tabs button:focus-visible,
.portal-tabs button.active {
  border-color: rgba(127, 215, 189, 0.3);
  background: rgba(127, 215, 189, 0.1);
  color: var(--ink);
  outline: none;
}

.portal-panels {
  min-width: 0;
  padding: 24px;
}

.portal-panel {
  display: none;
}

.portal-panel.active {
  display: block;
  animation: fadeLift 260ms ease both;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.05;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(127, 215, 189, 0.14);
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card {
  min-height: 145px;
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1;
}

.metric-card small {
  display: block;
  margin-top: 7px;
  color: var(--mint);
  font-weight: 800;
}

.metric-card span,
.vehicle-card span,
.crew-grid span {
  color: var(--muted);
}

.analytics-metrics .metric-card {
  min-height: 170px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 20px;
}

.wide-analytics {
  grid-column: 1 / -1;
}

.analytics-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.analytics-heading strong,
.analytics-heading span {
  display: block;
}

.analytics-heading span {
  color: var(--muted);
  font-size: 0.88rem;
}

.bar-list {
  display: grid;
  gap: 12px;
}

.bar-list div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.bar-list div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: linear-gradient(90deg, rgba(127, 215, 189, 0.24), rgba(216, 184, 103, 0.16));
}

.bar-list span,
.bar-list strong {
  position: relative;
  z-index: 1;
}

.bar-list span,
.legend-list {
  color: var(--muted);
}

.donut-wrap {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}

.donut-chart {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 0 38%, var(--gold) 38% 69%, var(--rust) 69% 88%, rgba(255, 255, 255, 0.16) 88% 100%);
  box-shadow: inset 0 0 0 28px #101719;
}

.legend-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
}

.legend-dot.mint {
  background: var(--mint);
}

.legend-dot.gold {
  background: var(--gold);
}

.legend-dot.rust {
  background: var(--rust);
}

.legend-dot.dim {
  background: rgba(255, 255, 255, 0.28);
}

.trend-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 230px;
  padding-top: 20px;
}

.trend-chart span {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: var(--height);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(216, 184, 103, 0.82), rgba(127, 215, 189, 0.55));
}

.trend-chart em {
  position: absolute;
  bottom: -28px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.portal-list,
.admin-timeline,
.message-thread {
  display: grid;
  gap: 10px;
}

.portal-list article,
.admin-timeline article,
.message-thread p,
.message-thread article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.portal-list p,
.admin-timeline span,
.vehicle-card p,
.crew-grid p,
.message-thread p,
.message-thread article {
  color: var(--muted);
}

.message-thread article {
  grid-template-columns: 1fr;
  animation: fadeLift 240ms ease both;
}

.message-thread article strong {
  color: var(--ink);
}

.message-thread article time {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 800;
}

.list-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--mint);
}

.list-dot.gold {
  background: var(--gold);
}

.list-dot.rust {
  background: var(--rust);
}

.vehicle-grid,
.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.vehicle-card,
.crew-grid article {
  min-height: 190px;
  padding: 22px;
}

.vehicle-card strong,
.vehicle-card span,
.crew-grid strong,
.crew-grid span {
  display: block;
}

.vehicle-card strong,
.crew-grid strong {
  margin-bottom: 6px;
}

.message-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.checkout-sheet {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
}

.checkout-sheet h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.checkout-sheet p:not(.eyebrow) {
  color: var(--muted);
}

.checkout-options {
  display: grid;
  gap: 10px;
}

.admin-timeline article {
  grid-template-columns: 84px 1fr;
}

.admin-timeline time {
  color: var(--gold);
  font-weight: 800;
}

.admin-timeline strong,
.admin-timeline span {
  display: block;
}

.record-manager {
  display: grid;
  gap: 16px;
}

.booking-editor {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-editor .wide {
  grid-column: 1 / -1;
}

.booking-records {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.record-card,
.empty-record {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.record-card strong,
.record-card span,
.record-card small {
  display: block;
}

.record-card span,
.record-card small,
.record-card p,
.empty-record {
  color: var(--muted);
}

.record-card p {
  margin: 8px 0 0;
}

.booking-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.7fr;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}

.booking-table > div:first-child {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

.booking-table > div:last-child {
  border-bottom: 0;
}

.booking-table span {
  color: var(--muted);
}

.booking-table .record-card {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.booking-table .record-card:last-child {
  border-bottom: 0;
}

.service-manager {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: start;
}

.service-editor,
.service-admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.service-editor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px;
}

.service-editor label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-editor .wide {
  grid-column: 1 / -1;
}

.service-admin-list {
  display: grid;
  gap: 12px;
}

.service-admin-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
}

.service-admin-card h3 {
  margin-bottom: 6px;
}

.service-admin-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-actions {
  display: flex;
  gap: 8px;
  align-items: start;
}

.icon-action {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.icon-action.danger {
  color: #ffb3a7;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 6vw, 86px);
}

.booking-form {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.booking-form > * {
  position: relative;
  z-index: 1;
}

.contact.is-visible .booking-form {
  animation: fadeLift 620ms 120ms ease both;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
}

.booking-form .wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(127, 215, 189, 0.55);
  outline-offset: 2px;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--mint);
  font-weight: 700;
}

.site-footer {
  padding: 54px clamp(18px, 4vw, 56px) 24px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(127, 215, 189, 0.08), transparent 36%),
    #07090a;
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto 34px;
}

.footer-brand p {
  max-width: 390px;
  margin: 18px 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
  font-style: normal;
}

.footer-column strong {
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-column a,
.footer-column span {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--mint);
  outline: none;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--ink);
  font-weight: 800;
}

.legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .service-grid,
  .package-grid,
  .result-list,
  .portal-teaser-grid,
  .metric-grid,
  .vehicle-grid,
  .crew-grid,
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .results,
  .contact,
  .portal-hero,
  .portal-dashboard {
    grid-template-columns: 1fr;
  }

  .site-page-hero,
  .home-booking-cta {
    text-align: left;
  }

  .portal-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portal-tabs {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-list div {
    min-height: 180px;
  }

  .result-list strong {
    margin-bottom: 44px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .nav-toggle {
    display: block;
    margin-left: 0;
  }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 0;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 11, 13, 0.98);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .login-dropdown > button,
  .logout-button {
    width: 100%;
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
  }

  .login-menu {
    position: static;
    min-width: 0;
    margin: 8px 0 12px;
    box-shadow: none;
  }

  .login-choice-grid {
    grid-template-columns: 1fr;
  }

  .login-choice {
    min-height: 0;
  }

  .settings-form {
    grid-template-columns: 1fr;
  }

  .header-notification {
    margin-left: auto;
  }

  .header-bell {
    width: 42px;
    height: 42px;
  }

  .notification-modal {
    top: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100svh - 88px);
  }

  .hero {
    min-height: 92svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 11, 13, 0.93) 0%, rgba(9, 11, 13, 0.55) 74%, rgba(9, 11, 13, 0.32) 100%),
      linear-gradient(0deg, rgba(9, 11, 13, 0.98) 0%, rgba(9, 11, 13, 0.12) 48%);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 130px 0 72px 16px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .trust-strip,
  .service-grid,
  .package-grid,
  .result-list,
  .booking-form,
  .portal-teaser-grid,
  .metric-grid,
  .vehicle-grid,
  .crew-grid,
  .analytics-grid,
  .service-manager,
  .checkout-sheet {
    grid-template-columns: 1fr;
  }

  .login-grid {
    grid-template-columns: 1fr;
  }

  .notification-card,
  .notification-actions {
    grid-template-columns: 1fr;
  }

  .notification-hub-toolbar {
    display: grid;
  }

  .service-editor,
  .service-admin-card,
  .booking-editor,
  .record-card {
    grid-template-columns: 1fr;
  }

  .donut-wrap {
    grid-template-columns: 1fr;
  }

  .portal-shell {
    width: calc(100% - 28px);
    padding-top: 104px;
  }

  .auth-shell {
    width: calc(100% - 24px);
    padding-top: max(94px, calc(78px + env(safe-area-inset-top)));
    padding-bottom: max(44px, calc(34px + env(safe-area-inset-bottom)));
  }

  .auth-app-icon {
    width: 88px;
    height: 88px;
    border-radius: 21px;
  }

  .auth-intro h1 {
    font-size: clamp(1.95rem, 9vw, 2.65rem);
    line-height: 1;
  }

  .auth-intro p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .auth-shell .hero-actions,
  .auth-shell .hero-actions .button {
    width: 100%;
  }

  .auth-shell .portal-login {
    padding: 20px;
  }

  .auth-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .login-card h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .portal-tabs {
    grid-template-columns: 1fr;
  }

  .portal-panels,
  .portal-sidebar,
  .portal-login {
    padding: 18px;
  }

  .notification-center {
    justify-content: stretch;
  }

  .home-notification-wrap {
    padding-inline: 14px;
  }

  .notification-bell {
    width: 100%;
    justify-content: space-between;
  }

  .panel-heading {
    display: grid;
  }

  .admin-timeline article,
  .portal-list article,
  .booking-table > div {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 34px;
  }

  .package-card {
    min-height: 320px;
  }

  .booking-form .wide {
    grid-column: auto;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Homepage hero headline sizing fix */
.hero-content h1 {
  max-width: 660px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 0.96;
}

@media (max-width: 720px) {
  .hero-content h1 {
    font-size: clamp(2.1rem, 9.5vw, 3.05rem);
    line-height: 1;
  }
}
