:root {
  --ink: #16313a;
  --muted: #60747b;
  --paper: #fffdf8;
  --soft: #f4efe5;
  --mist: #e6f3f1;
  --teal: #14766f;
  --teal-dark: #0d514c;
  --coral: #e77667;
  --yellow: #f4c95d;
  --line: rgba(22, 49, 58, 0.14);
  --shadow: 0 22px 55px rgba(22, 49, 58, 0.16);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
  transition:
    min-height 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 34px rgba(22, 49, 58, 0.08);
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-2deg) scale(1.04);
  box-shadow: 0 10px 24px rgba(22, 49, 58, 0.14);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: clamp(0.94rem, 1vw, 1.06rem);
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #284a52;
  font-size: 0.95rem;
}

.nav a {
  padding: 8px 0;
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--teal);
}

.header-actions,
.hero-actions,
.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-switch button.active {
  color: #fff;
  background: var(--teal);
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255, 255, 255, 0.36) 45%, transparent 56% 100%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  color: #fff;
  background: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: #fff;
  font-weight: 900;
}

.button-secondary .button-icon {
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(14, 41, 45, 0.9), rgba(14, 41, 45, 0.68) 52%, rgba(14, 41, 45, 0.34)),
    linear-gradient(0deg, rgba(14, 41, 45, 0.5), rgba(14, 41, 45, 0.08));
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media img {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  padding: clamp(78px, 12vh, 136px) clamp(18px, 6vw, 72px) clamp(42px, 8vh, 84px);
  color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.hero .eyebrow {
  color: var(--yellow);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 6.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 38px 0 0;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hero-facts div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.hero-facts dd {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-block: clamp(44px, 7vw, 84px);
  background: var(--mist);
}

.image-ribbon {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: #fff;
}

.video-showcase {
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px) 0;
  background:
    linear-gradient(90deg, rgba(230, 243, 241, 0.92), rgba(255, 253, 248, 0.78)),
    var(--mist);
}

.video-showcase-track {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(320px, 1fr) minmax(220px, 0.72fr);
  gap: clamp(14px, 2vw, 22px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  align-items: center;
}

.video-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(22, 49, 58, 0.12);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(22, 49, 58, 0.12);
  transform: translateY(12px);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}

.video-tile-large {
  min-height: 380px;
  transform: translateY(-8px);
}

.video-tile:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 26px 70px rgba(22, 49, 58, 0.18);
}

.video-tile-large:hover {
  transform: translateY(-16px) scale(1.015);
}

.video-tile video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(13, 81, 76, 0.82)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 36%, rgba(244, 201, 93, 0.09));
  pointer-events: none;
}

.video-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(22, 49, 58, 0.52);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.ribbon-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding-left: 16px;
  animation: ribbonMove 34s linear infinite;
}

.image-ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-track img {
  width: clamp(190px, 21vw, 310px);
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(22, 49, 58, 0.08);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split p:last-child,
.about-copy p,
.trust-copy p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 49, 58, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--yellow), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.service-card:hover img {
  transform: scale(1.07);
}

.service-card div {
  padding: 22px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

.service-hover {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 81, 76, 0.92);
  box-shadow: 0 14px 34px rgba(22, 49, 58, 0.22);
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.service-card:hover .service-hover,
.service-card:focus-within .service-hover {
  opacity: 1;
  transform: translateY(0);
}

.moments-section {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 49, 58, 0.96), rgba(13, 81, 76, 0.94)),
    var(--ink);
}

.moments-section .eyebrow {
  color: var(--yellow);
}

.moments-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
  grid-template-areas:
    "copy video"
    "cards video";
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.moments-copy {
  grid-area: copy;
}

.moments-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.8;
}

.video-stage {
  grid-area: video;
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  isolation: isolate;
}

.video-stage::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(244, 201, 93, 0.14), transparent 38%, rgba(20, 118, 111, 0.15));
  pointer-events: none;
}

.feature-video,
.video-fallback {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.feature-video {
  position: relative;
  z-index: 0;
}

.video-fallback {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
}

.fallback-grid {
  position: absolute;
  inset: 18px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.fallback-grid img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(1.05);
}

.fallback-grid img:first-child {
  grid-row: 1 / -1;
  animation: floatImage 6s ease-in-out infinite;
}

.fallback-grid img:nth-child(2) {
  animation: floatImage 7s ease-in-out infinite reverse;
}

.fallback-grid img:nth-child(3) {
  animation: floatImage 8s ease-in-out infinite;
}

.play-orbit {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.play-orbit span {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-block: 18px solid transparent;
  border-left: 27px solid #fff;
}

.moment-cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.moment-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.moment-card.tall {
  transform: translateY(22px);
}

.moment-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.moment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.moment-card.tall:hover {
  transform: translateY(12px);
}

.moment-card:hover img {
  transform: scale(1.08);
}

.moment-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 81, 76, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  transform: translateY(4px);
  transition: transform 180ms ease;
}

.moment-card:hover span {
  transform: translateY(0);
}

.soft-band {
  background: var(--soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 54%, #fff 55%),
    var(--teal);
}

.quote-panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  color: #fff;
  background: var(--teal-dark);
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.quote-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(22, 49, 58, 0.2);
}

.quote-panel p {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.24;
}

.quote-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.trust-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 500ms ease;
}

.trust-image:hover {
  transform: scale(1.02) rotate(-0.4deg);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-list div {
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.trust-list div:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 118, 111, 0.34);
  box-shadow: 0 18px 36px rgba(22, 49, 58, 0.1);
}

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

.trust-list span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-section {
  color: #fff;
  background: var(--ink);
}

.contact-section .eyebrow {
  color: var(--yellow);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.contact-row:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.13);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--yellow);
  font-weight: 900;
}

.contact-row strong,
.contact-row small {
  display: block;
}

.contact-row small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fff;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

.admin-body {
  min-height: 100vh;
  background: var(--soft);
}

.admin-shell {
  min-height: 100vh;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(480px, 100%);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-brand {
  margin-bottom: 28px;
}

.login-panel h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.login-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.login-form,
.admin-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 92px;
  padding: 13px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 118, 111, 0.13);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-error {
  margin: 0;
  color: #b63a2e;
  font-weight: 800;
}

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.dashboard-nav {
  display: grid;
  gap: 6px;
}

.dashboard-nav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-nav a:hover {
  color: var(--ink);
  background: var(--mist);
}

.dashboard-sidebar .button {
  margin-top: auto;
}

.dashboard-main {
  min-width: 0;
  padding: clamp(20px, 4vw, 46px);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-header h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.admin-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.admin-section-heading h2 {
  margin: 0;
  font-size: 1.5rem;
}

.admin-section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

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

.upload-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(230, 243, 241, 0.58), rgba(255, 255, 255, 0)),
    #fff;
  box-shadow: 0 10px 28px rgba(22, 49, 58, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.upload-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 118, 111, 0.3);
  box-shadow: 0 18px 46px rgba(22, 49, 58, 0.1);
}

.upload-card-wide {
  grid-column: span 2;
}

.upload-preview {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border: 1px dashed rgba(20, 118, 111, 0.34);
  border-radius: 8px;
  background: var(--mist);
}

.upload-preview img,
.upload-preview video {
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
}

.video-preview {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.video-preview video {
  min-height: 260px;
}

.video-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 260px;
  color: var(--muted);
  font-weight: 800;
}

.upload-card-copy h3 {
  margin-bottom: 4px;
}

.upload-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
}

.upload-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.path-field {
  color: var(--muted);
  font-size: 0.86rem;
}

.link-button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--coral);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

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

.save-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.save-bar p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .nav-open .nav,
  .nav-open .header-actions {
    position: fixed;
    left: 18px;
    right: 18px;
    display: flex;
    z-index: 55;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-open .nav {
    top: 86px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
  }

  .nav-open .nav a {
    padding: 14px;
  }

  .nav-open .header-actions {
    top: 352px;
    justify-content: space-between;
    padding: 12px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-showcase-track {
    grid-template-columns: 1fr;
  }

  .video-tile,
  .video-tile-large,
  .video-tile:hover,
  .video-tile-large:hover {
    min-height: 300px;
    transform: none;
  }

  .moments-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "video"
      "cards";
  }

  .upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 82px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(14, 41, 45, 0.84), rgba(14, 41, 45, 0.64));
  }

  .hero-actions,
  .dashboard-actions,
  .dashboard-header,
  .admin-section-heading,
  .save-bar,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-facts,
  .split,
  .about-layout,
  .trust-layout,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .moment-cards,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-card-wide {
    grid-column: span 1;
  }

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

  .service-card {
    grid-template-rows: 230px 1fr;
    min-height: auto;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .video-stage,
  .feature-video,
  .video-fallback {
    min-height: 410px;
  }

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

  .dashboard-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding-inline: 16px;
  }

  .contact-row {
    align-items: flex-start;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes ribbonMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 201, 93, 0.32);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(244, 201, 93, 0);
  }
}
