:root {
  --ink: #16151b;
  --panel: rgba(255, 255, 255, 0.88);
  --muted: #756f78;
  --paper: #fffaf1;
  --gold: #d8b75c;
  --coral: #ff633d;
  --teal: #13b8a6;
  --violet: #6f4bb8;
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--paper);
  background: #17161d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

body.has-lightbox {
  overflow: hidden;
}

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

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

.motion-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #17161d;
}

.motion-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.motion-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(100deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 42%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  animation: lightSweep 18s linear infinite;
}

.motion-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 52% 20%, rgba(216, 183, 92, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(12, 12, 18, 0.18), rgba(12, 12, 18, 0.34) 58%, rgba(12, 12, 18, 0.64));
  mix-blend-mode: normal;
}

.motion-bg span {
  position: absolute;
  width: 56vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 241, 0.42), transparent);
  transform: rotate(-10deg);
  animation: drift 12s ease-in-out infinite alternate;
}

.motion-bg span:nth-child(1) { top: 16%; left: -10%; }
.motion-bg span:nth-child(2) { top: 54%; right: -18%; animation-delay: -5s; }
.motion-bg span:nth-child(3) { bottom: 12%; left: 20%; animation-delay: -9s; }

@keyframes lightSweep {
  from { transform: translateX(-14%) translateY(0); }
  to { transform: translateX(14%) translateY(3%); }
}

@keyframes drift {
  from { transform: translateX(-4%) rotate(-10deg); opacity: 0.42; }
  to { transform: translateX(7%) rotate(-10deg); opacity: 0.9; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 18px;
  padding: 20px clamp(18px, 4vw, 64px) 18px;
  background: rgba(22, 21, 27, 0.54);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transform-origin: top center;
  transition:
    padding 260ms ease,
    gap 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
  will-change: padding, transform;
}

.site-header.is-scrolling {
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(22, 21, 27, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: gap 260ms ease, transform 260ms ease;
}

.brand img {
  width: 188px;
  height: auto;
  transition: width 260ms ease, transform 260ms ease;
}

.brand-tagline {
  color: rgba(255, 250, 241, 0.78);
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  transform: rotate(-3deg);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  transition: opacity 240ms ease, font-size 260ms ease, transform 260ms ease;
}

.site-header.is-scrolling .brand {
  gap: 1px;
}

.site-header.is-scrolling .brand img {
  width: 150px;
}

.site-header.is-scrolling .brand-tagline {
  opacity: 0.62;
  font-size: 15px;
  transform: rotate(-3deg) translateY(-2px);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  transition: gap 260ms ease;
}

.site-header.is-scrolling .main-nav {
  gap: 8px;
}

.mobile-bottom-nav {
  display: none;
}

.main-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 2px;
  color: rgba(255, 250, 241, 0.94);
  font-weight: 450;
  font-size: 17px;
  position: relative;
  transition: transform 180ms ease, color 180ms ease, min-height 260ms ease, padding 260ms ease, font-size 260ms ease;
}

.site-header.is-scrolling .main-nav a {
  min-height: 38px;
  padding: 0 17px;
  font-size: 15px;
}

.main-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) left top / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 2px 14px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 2px 14px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 2px 14px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 2px 14px no-repeat;
  opacity: 0.86;
  transition: opacity 180ms ease, background-size 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  transform: translateY(-1px);
}

.main-nav a:hover::before,
.main-nav a.active::before {
  opacity: 1;
  background-size:
    18px 2px,
    2px 18px,
    18px 2px,
    2px 18px,
    18px 2px,
    2px 18px,
    18px 2px,
    2px 18px;
}

.main-nav a.active::after {
  content: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
  padding: 34px 0 118px;
}

.hero > .hero-banner {
  margin-bottom: 8px;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 620;
  line-height: 0.92;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 560;
  line-height: 1.02;
}

.lead {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.camera-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  width: min(760px, 100%);
  gap: 20px;
}

.hero-actions .btn {
  width: min(340px, 100%);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 26px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.hero-actions .btn::after {
  content: ">";
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  opacity: 0.72;
  background: none;
  box-shadow: none;
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-actions .btn::before {
  content: none;
}

.hero-actions .btn:hover::after {
  opacity: 1;
  transform: translateX(3px);
}


.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  font: inherit;
  font-weight: 520;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  color: #17161d;
  background: var(--gold);
}

.btn.ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.btn.dark {
  color: var(--paper);
  background: #17161d;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero-board,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hero-board {
  margin: -38px 0 0;
  padding: 92px 0 108px;
  transition: gap 320ms ease, padding 320ms ease;
}

body.is-visual-scrolling .hero-board {
  gap: 28px;
}

.hero-visuals {
  display: grid;
  gap: 18px;
  align-self: center;
  width: min(1080px, 100%);
  justify-self: center;
  transition: width 320ms ease;
}

body.is-visual-scrolling .hero-visuals {
  width: min(1140px, 100%);
}

.hero-banner {
  justify-self: center;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid rgba(216, 183, 92, 0.46);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(22, 21, 27, 0.42);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-tile,
.gallery-item {
  position: relative;
  min-height: 455px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform-origin: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.gallery-item {
  overflow: hidden;
}

.photo-tile {
  overflow: visible;
}

body.is-visual-scrolling .photo-tile {
  transform: scale(1.045);
}

.photo-tile:nth-child(2),
.photo-tile:nth-child(4) {
  transform: translateY(54px);
}

body.is-visual-scrolling .photo-tile:nth-child(2),
body.is-visual-scrolling .photo-tile:nth-child(4) {
  transform: translateY(54px) scale(1.045);
}

.photo-tile:nth-child(2):hover,
.photo-tile:nth-child(4):hover {
  transform: translateY(46px);
}

.photo-tile img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 420ms ease, filter 420ms ease;
}

.photo-tile:hover,
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.photo-tile:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.photo-tile::after,
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 42%, rgba(0, 0, 0, 0.36));
}

.photo-tile .tile-label,
.gallery-item div {
  position: absolute;
  z-index: 1;
  font-weight: 540;
}

.photo-tile .tile-label {
  left: 12px;
  right: 12px;
  top: auto;
  bottom: -76px;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 9px 14px;
  border: 2px solid rgba(255, 250, 241, 0.82);
  color: var(--paper);
  background: linear-gradient(135deg, rgba(216, 183, 92, 0.78), rgba(19, 184, 166, 0.56));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  font-size: 14px;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.photo-tile .tile-label::before,
.photo-tile .tile-label::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.photo-tile .tile-label::before {
  top: -17px;
  right: 18px;
  width: 15px;
  height: 33px;
  border: 2px solid rgba(255, 250, 241, 0.86);
  border-left-color: rgba(255, 250, 241, 0.48);
  border-bottom-color: rgba(255, 250, 241, 0.5);
  border-radius: 999px;
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.24);
  transform: rotate(13deg);
}

.photo-tile .tile-label::after {
  top: -9px;
  right: 23px;
  width: 8px;
  height: 22px;
  border: 2px solid rgba(255, 250, 241, 0.72);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 999px;
  transform: rotate(13deg);
}

.photo-tile:nth-child(2) .tile-label {
  top: -76px;
  bottom: auto;
  background: linear-gradient(135deg, rgba(19, 184, 166, 0.7), rgba(216, 183, 92, 0.56));
}

.photo-tile:nth-child(3) .tile-label {
  background: linear-gradient(135deg, rgba(111, 75, 184, 0.72), rgba(216, 183, 92, 0.6));
}

.photo-tile:nth-child(4) .tile-label {
  top: -76px;
  bottom: auto;
  background: linear-gradient(135deg, rgba(255, 99, 61, 0.72), rgba(111, 75, 184, 0.54));
}

.section {
  margin: 74px 0;
}

.intro-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  color: #17161d;
  background: var(--paper);
  border-radius: 8px;
}

.intro-band h2 {
  max-width: 850px;
  margin-bottom: 0;
}

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

.service-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 8px;
  color: #17161d;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card p {
  font-weight: 560;
}

.service-card h3 {
  font-size: 21px;
  font-weight: 480;
  line-height: 1.32;
}

.service-card a {
  font-weight: 560;
}

.service-card.gold { border-top: 6px solid var(--gold); }
.service-card.coral { border-top: 6px solid var(--coral); }
.service-card.teal { border-top: 6px solid var(--teal); }
.service-card.violet { border-top: 6px solid var(--violet); }

.split-feature,
.page-hero,
.contact-page,
.order-layout,
.biometric-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.split-feature {
  color: #17161d;
  background: rgba(255, 250, 241, 0.92);
  padding: clamp(20px, 4vw, 46px);
  border-radius: 8px;
}

.split-feature img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-hero {
  min-height: 54vh;
  padding: 72px 0 44px;
}

.page-hero.compact {
  display: block;
  min-height: auto;
}

.page-hero.compact h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 80px);
}

.page-hero.compact p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 19px;
  line-height: 1.6;
}

.brand-hero img {
  width: min(260px, 60vw);
  justify-self: center;
}

.fotosan-hero {
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: 58px 0 28px;
}

.fotosan-copy {
  max-width: 850px;
}

.fotosan-copy img {
  width: min(230px, 62vw);
  margin-bottom: 24px;
}

.fotosan-copy h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 82px);
}

.fotosan-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 19px;
  line-height: 1.6;
}

.fotosan-album {
  position: relative;
  display: grid;
  gap: 20px;
  margin: 72px 0 82px;
}

.album-stage {
  position: relative;
  --album-media-height: clamp(380px, 52vh, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(12, 12, 16, 0.74);
  box-shadow: var(--shadow);
}

.album-brand {
  position: absolute;
  top: 0;
  left: calc(100% + 24px);
  z-index: 3;
  width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
  background: rgba(12, 12, 16, 0.48);
  backdrop-filter: blur(12px);
}

.album-brand img {
  width: 100%;
  height: auto;
}

.album-media {
  position: relative;
  width: 100%;
  height: var(--album-media-height);
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #111119 0%, #0d0d12 100%);
}

.album-media img,
.album-media video {
  object-fit: contain;
  object-position: center center;
  background: #0d0d12;
  animation: albumIn 420ms ease;
}

.album-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(clamp(380px, 52vh, 520px) - 48px);
}

.album-media video {
  position: absolute;
  inset: 24px;
  display: block;
  width: calc(100% - 48px) !important;
  height: calc(100% - 48px) !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  background: #0d0d12;
}

@keyframes albumIn {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

.album-caption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 250, 241, 0.16);
  color: var(--paper);
  background: rgba(12, 12, 16, 0.66);
}

.album-caption span {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.album-caption strong {
  justify-self: end;
  text-align: right;
  font-size: 20px;
  font-weight: 500;
}

.album-fullscreen {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 50%;
  padding: 0;
  color: var(--paper);
  background:
    linear-gradient(currentColor, currentColor) left 10px top 10px / 9px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) left 10px top 10px / 1.5px 9px no-repeat,
    linear-gradient(currentColor, currentColor) right 10px top 10px / 9px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) right 10px top 10px / 1.5px 9px no-repeat,
    linear-gradient(currentColor, currentColor) left 10px bottom 10px / 9px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) left 10px bottom 10px / 1.5px 9px no-repeat,
    linear-gradient(currentColor, currentColor) right 10px bottom 10px / 9px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) right 10px bottom 10px / 1.5px 9px no-repeat,
    rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.album-fullscreen:hover {
  color: #17161d;
  border-color: var(--gold);
  background-color: var(--gold);
  transform: translateY(-2px);
}

.album-arrow {
  position: absolute;
  top: calc(var(--album-media-height) / 2);
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(12, 12, 16, 0.58);
  padding: 0;
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.album-arrow::before {
  display: block;
  color: currentColor;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

.album-arrow.prev::before {
  content: "‹";
  transform: translate(-1px, -1px);
}

.album-arrow.next::before {
  content: "›";
  transform: translate(1px, -1px);
}

.album-arrow:hover {
  color: #17161d;
  background: var(--gold);
  transform: translateY(-50%) scale(1.06);
}

.album-arrow.prev {
  left: 18px;
}

.album-arrow.next {
  right: 18px;
}

.album-thumbs {
  display: grid;
  grid-template-columns: repeat(10, minmax(72px, 1fr));
  gap: 10px;
}

.album-thumbs button {
  position: relative;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 6px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.album-thumbs button:hover,
.album-thumbs button.active {
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.album-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-thumbs span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 7px;
  border-radius: 4px;
  color: #17161d;
  background: var(--gold);
  font-size: 11px;
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(5, 5, 9, 0.9);
  backdrop-filter: blur(18px);
}

.media-lightbox__panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: 92vh;
  display: grid;
  gap: 12px;
}

.media-lightbox__stage {
  min-height: 220px;
  max-height: calc(92vh - 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(10, 10, 14, 0.78);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.44);
}

.media-lightbox__stage img,
.media-lightbox__stage video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 72px);
  object-fit: contain;
}

.media-lightbox__stage video {
  width: 100%;
}

.media-lightbox p {
  margin: 0;
  color: rgba(255, 250, 241, 0.88);
  text-align: center;
  font-size: 15px;
}

.media-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 50%;
  padding: 0;
  background: rgba(12, 12, 16, 0.84);
  cursor: pointer;
}

.media-lightbox__close::before,
.media-lightbox__close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--paper);
}

.media-lightbox__close::before {
  transform: rotate(45deg);
}

.media-lightbox__close::after {
  transform: rotate(-45deg);
}

.biometric-workspace,
.order-layout,
.contact-page {
  margin: 34px 0 74px;
}

.camera-panel,
.checklist-panel,
.contact-card,
.contact-form,
.order-form,
.summary-card,
.table-wrap {
  padding: clamp(18px, 3vw, 34px);
  color: #17161d;
  background: rgba(255, 250, 241, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.camera-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #22202a;
}

.camera-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-preview {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  background: #22202a;
}

.camera-preview-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(22, 21, 27, 0.1);
  border-radius: 8px;
  color: #17161d;
  background: rgba(255, 250, 241, 0.92);
}

.camera-preview-panel[hidden] {
  display: none;
}

.camera-preview-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 560;
}

.face-guide {
  position: absolute;
  z-index: 2;
  inset: 13% 24%;
  border: 3px solid rgba(216, 183, 92, 0.86);
  border-radius: 50% / 58%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.22);
}

.camera-state {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--paper);
  background: rgba(22, 21, 27, 0.82);
  font-weight: 500;
}

.camera-actions {
  margin-top: 16px;
}

.camera-actions .btn[hidden] {
  display: none;
}

.live-checks {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.camera-checks {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  pointer-events: none;
}

.live-checks li {
  padding: 14px 14px 14px 42px;
  border: 1px solid rgba(22, 21, 27, 0.1);
  border-radius: 6px;
  background: #fff;
  position: relative;
}

.live-checks li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #c7c2b7;
}

.live-checks li.ok::before {
  background: var(--teal);
}

.camera-checks li {
  min-height: 28px;
  padding: 6px 9px 6px 25px;
  border-color: rgba(255, 250, 241, 0.22);
  color: rgba(255, 250, 241, 0.78);
  background: rgba(22, 21, 27, 0.62);
  backdrop-filter: blur(10px);
  font-size: 11px;
  line-height: 1;
}

.camera-checks li::before {
  left: 9px;
  width: 8px;
  height: 8px;
  background: rgba(255, 250, 241, 0.42);
}

.camera-checks li.ok {
  color: #f8fff9;
  border-color: rgba(19, 184, 166, 0.42);
  background: rgba(12, 107, 88, 0.72);
}

.note {
  color: var(--muted);
  line-height: 1.55;
}

.biometric-guide-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  margin: -34px 0 74px;
  padding: clamp(22px, 4vw, 42px);
  color: #17161d;
  background: rgba(255, 250, 241, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.biometric-guide-card h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 48px);
}

.biometric-example {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(22, 21, 27, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.95), rgba(232, 237, 244, 0.95)),
    #eef2f7;
}

.example-frame {
  position: absolute;
  inset: 42px 56px 52px;
  border: 3px solid rgba(216, 183, 92, 0.82);
  border-radius: 50% / 58%;
}

.example-head {
  position: absolute;
  left: 50%;
  top: 78px;
  width: 128px;
  height: 172px;
  transform: translateX(-50%);
  border-radius: 48% 48% 46% 46%;
  background: linear-gradient(180deg, #d8a37d, #c58a66);
  box-shadow: inset 0 -14px 24px rgba(84, 43, 29, 0.12);
}

.example-hair {
  position: absolute;
  left: 8px;
  right: 8px;
  top: -10px;
  height: 56px;
  border-radius: 58px 58px 26px 26px;
  background: #33241f;
}

.example-eye {
  position: absolute;
  top: 76px;
  width: 26px;
  height: 12px;
  border: 2px solid #3b2b27;
  border-top-width: 3px;
  border-radius: 50%;
  background: #fff7ef;
}

.example-eye::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #221917;
}

.example-eye.left {
  left: 28px;
}

.example-eye.right {
  right: 28px;
}

.example-nose {
  position: absolute;
  left: 50%;
  top: 94px;
  width: 14px;
  height: 34px;
  transform: translateX(-50%);
  border-right: 2px solid rgba(80, 48, 38, 0.35);
  border-bottom: 2px solid rgba(80, 48, 38, 0.35);
  border-radius: 0 0 10px 0;
}

.example-mouth {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 38px;
  height: 10px;
  transform: translateX(-50%);
  border-bottom: 3px solid rgba(80, 35, 38, 0.58);
  border-radius: 50%;
}

.example-shoulders {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 230px;
  height: 104px;
  transform: translateX(-50%);
  border-radius: 90px 90px 0 0;
  background: linear-gradient(180deg, #262c38, #171b24);
}

.biometric-guide-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.biometric-guide-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(23, 22, 29, 0.76);
  line-height: 1.5;
}

.biometric-guide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

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

.process article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process strong {
  color: var(--gold);
  font-size: 34px;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 80px;
}

.gallery-albums {
  position: relative;
  display: grid;
  gap: 118px;
  margin: 74px 0 88px;
}

.gallery-album {
  position: relative;
  display: grid;
  gap: 24px;
}

.album-heading {
  max-width: 820px;
  margin: 0 auto 4px;
  text-align: center;
}

.album-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 540;
  line-height: 0.96;
}

.album-heading p:not(.eyebrow) {
  color: rgba(255, 250, 241, 0.82);
  font-size: 19px;
  line-height: 1.55;
}

.gallery-brand {
  top: 0;
  left: calc(100% + 24px);
  width: 190px;
}

.gallery-brand-sticky {
  position: absolute;
  z-index: 4;
  justify-self: end;
  margin-bottom: -190px;
  transform: none;
  transition: top 120ms ease;
}

.gallery-brand-sticky.is-fixed,
.fotosan-brand-sticky.is-fixed {
  position: fixed;
  transform: none;
}

.gallery-item.tall {
  min-height: 520px;
}

.gallery-item a {
  color: var(--gold);
}

.contact-links a {
  padding: 12px 14px;
  border-radius: 6px;
  color: #17161d;
  background: #fff;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.contact-links {
  display: grid;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-link::before {
  content: "";
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.76;
  mask: var(--icon) center / contain no-repeat;
}

.contact-title {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 520;
}

.contact-title span:last-child {
  color: var(--gold);
  font-size: 0.54em;
  font-weight: 420;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.map-section {
  overflow: hidden;
  margin: -34px 0 78px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.12);
  box-shadow: var(--shadow);
}

.map-section iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.92) contrast(0.98);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 520;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(22, 21, 27, 0.15);
  border-radius: 6px;
  padding: 14px 15px;
  color: #17161d;
  background: #fff;
  font: inherit;
}

.status-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.status-list li.done {
  color: #0a756d;
  font-weight: 560;
}

.admin-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.stat {
  padding: 26px;
  border-radius: 8px;
  color: #17161d;
  background: var(--paper);
}

.stat span {
  display: block;
  color: var(--coral);
  font-size: 48px;
  font-weight: 620;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid rgba(22, 21, 27, 0.1);
  text-align: left;
}

.is-admin-route {
  color: #18202f;
  background: #eef2f7;
}

.is-admin-route .motion-bg,
.is-admin-route .site-header,
.is-admin-route .site-footer,
.is-admin-route .mobile-bottom-nav {
  display: none;
}

.is-admin-route main {
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #eef2f7;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 28px 20px;
  color: #f8fafc;
  background: #151b28;
}

.admin-brand {
  display: grid;
  gap: 10px;
}

.admin-brand img {
  width: 148px;
  height: auto;
}

.admin-brand span,
.admin-user span,
.admin-topbar p,
.panel-head span {
  color: #8491a7;
  font-size: 13px;
}

.admin-sidebar nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-sidebar nav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #dbe3ef;
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  color: #151b28;
  background: #d8b75c;
}

.admin-user {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-main {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 28px;
}

.admin-topbar,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-topbar h1,
.panel-head h2 {
  margin: 0;
  color: #18202f;
  font-size: 28px;
  font-weight: 620;
  line-height: 1.1;
}

.panel-head h2 {
  font-size: 20px;
}

.admin-actions,
.review-actions {
  display: flex;
  gap: 10px;
}

.admin-actions button,
.panel-head button,
.review-actions button {
  min-height: 40px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 0 14px;
  color: #263245;
  background: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.admin-actions .primary,
.review-actions .primary {
  border-color: #151b28;
  color: #fff;
  background: #151b28;
}

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

.admin-stats article,
.admin-panel {
  border: 1px solid #dce2ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21, 27, 40, 0.08);
}

.admin-stats article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.admin-stats span {
  color: #66758b;
  font-size: 13px;
}

.admin-stats strong {
  color: #18202f;
  font-size: 34px;
  line-height: 1;
}

.admin-stats small {
  color: #7a8799;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.admin-grid.lower {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-grid.single {
  grid-template-columns: 1fr;
}

.admin-panel {
  min-width: 0;
  padding: 18px;
}

.admin-table {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.admin-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  color: #334155;
  background: #f8fafc;
  font-size: 14px;
}

.admin-row.head {
  color: #718096;
  background: transparent;
  font-size: 12px;
  text-transform: uppercase;
}

.status {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  font-style: normal;
  font-size: 12px;
}

.status.warning { color: #8a5a00; background: #fff3c4; }
.status.success { color: #0b6b43; background: #d9fbe8; }
.status.neutral { color: #315172; background: #e4eefb; }

.review-photo {
  margin: 16px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #edf1f7;
}

.review-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}

.package-list,
.content-list,
.settings-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.package-list div,
.content-list label,
.settings-list p {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.package-list div {
  grid-template-columns: 1fr auto;
}

.package-list strong,
.settings-list strong {
  color: #18202f;
}

.package-list span,
.settings-list span {
  color: #64748b;
  font-size: 13px;
}

.package-list b {
  grid-row: span 2;
  align-self: center;
  color: #151b28;
}

.content-list label {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #263245;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.media-strip.large {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.package-list.wide,
.settings-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-admin-layout {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.package-panel-wide {
  min-width: min(720px, 100%);
}

.package-table {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.package-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.25fr) minmax(108px, 0.65fr) 86px 78px auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #f8fafc;
}

.package-main-cell {
  display: grid;
  gap: 3px;
}

.package-main-cell strong {
  color: #18202f;
  font-size: 14px;
}

.package-main-cell span,
.package-id {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.package-table-row b {
  color: #151b28;
  font-size: 15px;
  white-space: nowrap;
}

.package-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.package-actions form {
  margin: 0;
}

.mini-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  padding: 0 12px;
  color: #263245;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 560;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mini-button:hover {
  transform: translateY(-1px);
  border-color: #151b28;
}

.mini-button.edit {
  color: #151b28;
  background: #f4e4ad;
  border-color: #e7c96a;
}

.mini-button.danger {
  color: #a73722;
  border-color: rgba(255, 99, 61, 0.28);
  background: rgba(255, 99, 61, 0.08);
}

.mini-button.danger:hover {
  color: #fff;
  background: #c2412c;
  border-color: #c2412c;
}

.media-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #edf1f7;
}

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

.admin-login-card,
.public-alert {
  color: #17161d;
  background: rgba(255, 250, 241, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 32px;
}

.admin-login-card img {
  width: 170px;
  justify-self: center;
}

.admin-login-card h1 {
  margin: 0;
  text-align: center;
  font-size: 34px;
  line-height: 1;
}

.admin-login-card label,
.admin-form label,
.order-form label {
  display: grid;
  gap: 7px;
  color: #263245;
  font-size: 13px;
  font-weight: 560;
}

.admin-login-card input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(22, 21, 27, 0.12);
  border-radius: 6px;
  padding: 10px 12px;
  color: #17161d;
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.admin-flash,
.public-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
}

.admin-flash {
  border-radius: 6px;
  color: #17161d;
  background: rgba(216, 183, 92, 0.9);
}

.admin-flash.error {
  background: rgba(255, 99, 61, 0.22);
}

.admin-user a,
.admin-preview-link,
.admin-panel a {
  color: inherit;
  font-weight: 560;
}

.admin-form {
  display: grid;
  gap: 14px;
}

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

.admin-form.grid-2 .btn,
.admin-form.grid-2 label:has(textarea) {
  grid-column: 1 / -1;
}

.admin-form.compact {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.inline-check {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

.inline-check input {
  width: auto;
  min-height: auto;
}

.admin-empty,
.empty-state {
  padding: 18px;
  color: rgba(23, 22, 29, 0.68);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 6px;
}

.admin-row small {
  display: block;
  margin-top: 4px;
  color: rgba(23, 22, 29, 0.52);
  font-size: 11px;
}

.order-detail {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.order-photo {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f2f5;
}

.order-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.media-admin-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(22, 21, 27, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.media-admin-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.media-admin-item strong,
.media-admin-item span {
  font-size: 12px;
}

.settings-delete-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.settings-delete-list form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(22, 21, 27, 0.06);
}

.hero-tile-admin {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-tile-admin-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #f8fafc;
}

.hero-tile-admin-item img,
.logo-preview img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  border-radius: 6px;
  background: #eef2f7;
}

.logo-preview {
  width: min(260px, 100%);
}

.event-toggle-list {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #f8fafc;
}

.event-toggle-list strong {
  color: #18202f;
}

.footer-query {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
}

.footer-query label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-query div {
  display: flex;
  gap: 8px;
}

.footer-query input {
  min-width: 0;
  flex: 1;
  min-height: 38px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.footer-query button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #17161d;
  background: var(--gold);
  font: inherit;
  font-size: 13px;
  font-weight: 560;
}

.query-result {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.query-result p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  margin: 0;
}

.query-result strong {
  color: #17161d;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 36px clamp(18px, 4vw, 64px);
  color: rgba(255, 250, 241, 0.84);
  text-align: center;
  background: rgba(10, 10, 14, 0.64);
  border-top: 1px solid var(--line);
}

.footer-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.footer-social:hover {
  color: #17161d;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.footer-social::before {
  content: "";
  width: 21px;
  height: 21px;
  background: currentColor;
  opacity: 0.92;
  mask: var(--icon) center / contain no-repeat;
}

.icon-location { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.2 7-12a7 7 0 1 0-14 0c0 6.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E"); }
.icon-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7A2 2 0 0 1 22 16.9Z'/%3E%3C/svg%3E"); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.icon-message { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.45' viewBox='0 0 24 24'%3E%3Cpath d='M20 11.7a7.9 7.9 0 0 1-11.7 6.9L4 20l1.4-4.1A7.9 7.9 0 1 1 20 11.7Z'/%3E%3Cpath d='M9.4 8.1c.2-.3.3-.4.6-.4h.3c.2 0 .3.1.4.3l.6 1.4c.1.2.1.4-.1.6l-.4.5c.6 1.1 1.5 2 2.7 2.6l.5-.4c.2-.1.4-.2.6-.1l1.3.6c.2.1.3.3.3.5v.3c0 .3-.2.6-.5.8-.4.2-.9.4-1.5.3-2.4-.3-5.6-3.5-5.9-5.9-.1-.5.1-1 .4-1.4Z'/%3E%3C/svg%3E"); }
.icon-instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E"); }
.icon-facebook { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h2V4h-2c-3 0-5 2-5 5v3H6v4h3v6h4v-6h3l1-4h-4V9c0-.6.4-1 1-1Z'/%3E%3C/svg%3E"); }

.footer-info {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: 620px;
}

.footer-info strong {
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 19px;
  font-weight: 520;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-info p,
.footer-info a {
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

.footer-info a {
  transition: color 180ms ease;
}

.footer-info a:hover {
  color: var(--gold);
}

.footer-copy {
  margin-top: 6px !important;
  color: rgba(255, 250, 241, 0.58) !important;
  font-size: 13px !important;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 250, 241, 0.1);
}

.footer-logos img {
  max-width: 132px;
  max-height: 62px;
  object-fit: contain;
  opacity: 0.86;
}

.footer-logos img:nth-child(2) {
  max-width: 104px;
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
    grid-template-rows: auto;
    gap: 16px;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-admin-layout,
  .package-table-row {
    grid-template-columns: 1fr;
  }

  .package-panel-wide {
    min-width: 0;
  }

  .package-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-tile-admin,
  .admin-form.grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-user {
    display: none;
  }

  .admin-stats,
  .admin-grid,
  .admin-grid.lower,
  .media-strip.large,
  .package-list.wide,
  .settings-list.wide {
    grid-template-columns: 1fr;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 250, 241, 0.16);
    border-radius: 10px;
    background: rgba(14, 14, 20, 0.9);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 6px;
    color: rgba(255, 250, 241, 0.82);
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    position: relative;
  }

  .mobile-bottom-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(currentColor, currentColor) left top / 9px 1px no-repeat,
      linear-gradient(currentColor, currentColor) left top / 1px 9px no-repeat,
      linear-gradient(currentColor, currentColor) right top / 9px 1px no-repeat,
      linear-gradient(currentColor, currentColor) right top / 1px 9px no-repeat,
      linear-gradient(currentColor, currentColor) left bottom / 9px 1px no-repeat,
      linear-gradient(currentColor, currentColor) left bottom / 1px 9px no-repeat,
      linear-gradient(currentColor, currentColor) right bottom / 9px 1px no-repeat,
      linear-gradient(currentColor, currentColor) right bottom / 1px 9px no-repeat;
    opacity: 0.62;
  }

  .mobile-bottom-nav a.active {
    color: var(--gold);
  }

  .mobile-bottom-nav a.active::before {
    opacity: 1;
    background-size:
      12px 1px,
      1px 12px,
      12px 1px,
      1px 12px,
      12px 1px,
      1px 12px,
      12px 1px,
      1px 12px;
  }

  body {
    padding-bottom: 82px;
  }

  .hero,
  .split-feature,
  .page-hero,
  .contact-page,
  .order-layout,
  .biometric-workspace,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 12px;
    padding: 32px 0 28px;
  }

  .hero-copy {
    margin-top: 4px;
  }

  .hero-actions {
    display: grid;
    width: min(270px, 100%);
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 40px;
    padding: 0 16px 0 18px;
    font-size: 12px;
  }

  .hero-banner {
    padding: 9px 16px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .hero-board,
  .service-grid,
  .gallery-grid,
  .process,
  .admin-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .biometric-guide-card {
    grid-template-columns: 1fr;
    margin: -16px 0 48px;
  }

  .biometric-example {
    min-height: 320px;
  }

  .album-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .album-thumbs::-webkit-scrollbar {
    display: none;
  }

  .album-thumbs button {
    flex: 0 0 82px;
    height: 78px;
    scroll-snap-align: start;
  }

  .album-stage,
  .album-media {
    --album-media-height: 480px;
    height: 480px;
  }

  .album-media img {
    max-height: 432px;
  }

  .album-stage {
    height: auto;
  }

  .album-brand {
    top: -72px;
    left: auto;
    right: 0;
    width: 160px;
  }

  .gallery-brand {
    top: -64px;
  }

  .gallery-brand-sticky {
    position: absolute;
    margin-bottom: 0;
    transform: none;
  }

  .gallery-brand-sticky,
  .fotosan-brand-sticky {
    display: none;
  }
}

@media (max-width: 620px) {
  .admin-main {
    padding: 18px;
  }

  .admin-sidebar {
    padding: 18px;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }

  .admin-topbar,
  .panel-head,
  .admin-actions,
  .review-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-topbar h1 {
    font-size: 24px;
  }

  .site-header.is-scrolling {
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-tagline {
    font-size: 16px;
    margin-top: -1px;
  }

  .brand img {
    width: 154px;
  }

  .site-header.is-scrolling .brand img {
    width: 132px;
  }

  .site-header.is-scrolling .brand-tagline {
    font-size: 13px;
  }

  .site-footer {
    gap: 12px;
    padding: 28px 18px;
  }

  .footer-socials {
    gap: 9px;
  }

  .footer-social {
    width: 38px;
    height: 38px;
  }

  .footer-social::before {
    width: 18px;
    height: 18px;
  }

  .footer-info strong {
    font-size: 16px;
  }

  .footer-info p,
  .footer-info a {
    font-size: 13px;
  }

  .footer-logos {
    gap: 14px;
    padding-top: 10px;
  }

  .footer-logos img {
    max-width: 104px;
    max-height: 48px;
  }

  .footer-logos img:nth-child(2) {
    max-width: 82px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-board,
  .service-grid,
  .gallery-grid,
  .process,
  .admin-board {
    grid-template-columns: 1fr;
  }

  .album-stage,
  .album-media {
    --album-media-height: 360px;
    height: 360px;
  }

  .album-media img {
    max-height: 312px;
  }

  .album-stage {
    height: auto;
  }

  .album-brand {
    top: -62px;
    right: 0;
    left: auto;
    width: 128px;
    padding: 10px;
  }

  .gallery-brand {
    top: -54px;
  }

  .gallery-brand-sticky {
    position: absolute;
  }

  .album-caption {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 14px;
  }

  .album-fullscreen {
    width: 34px;
    height: 34px;
    background:
      linear-gradient(currentColor, currentColor) left 9px top 9px / 8px 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) left 9px top 9px / 1.5px 8px no-repeat,
      linear-gradient(currentColor, currentColor) right 9px top 9px / 8px 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) right 9px top 9px / 1.5px 8px no-repeat,
      linear-gradient(currentColor, currentColor) left 9px bottom 9px / 8px 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) left 9px bottom 9px / 1.5px 8px no-repeat,
      linear-gradient(currentColor, currentColor) right 9px bottom 9px / 8px 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) right 9px bottom 9px / 1.5px 8px no-repeat,
      rgba(255, 255, 255, 0.06);
  }

  .album-arrow {
    display: none;
  }

  .album-thumbs button {
    flex-basis: 74px;
    height: 70px;
  }

  .photo-tile:nth-child(2),
  .photo-tile:nth-child(4) {
    transform: translateY(22px);
  }

  .photo-tile:nth-child(2):hover,
  .photo-tile:nth-child(4):hover {
    transform: translateY(16px);
  }

  .photo-tile,
  .gallery-item,
  .gallery-item.tall {
    min-height: 360px;
  }

  .hero-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    margin: -20px -16px -12px;
    padding: 70px 16px 74px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  body.is-visual-scrolling .hero-board {
    gap: 18px;
  }

  .hero-board::-webkit-scrollbar {
    display: none;
  }

  .hero-board .photo-tile {
    flex: 0 0 132px;
    width: 132px;
    min-height: 278px;
    scroll-snap-align: start;
  }

  body.is-visual-scrolling .hero-board .photo-tile {
    flex-basis: 142px;
    width: 142px;
    transform: scale(1.035);
  }

  body.is-visual-scrolling .hero-board .photo-tile:nth-child(2),
  body.is-visual-scrolling .hero-board .photo-tile:nth-child(4) {
    transform: translateY(22px) scale(1.035);
  }

  .hero-board .photo-tile .tile-label {
    left: 5px;
    right: 5px;
    top: auto;
    bottom: -42px;
    min-height: 30px;
    padding: 5px 6px;
    font-size: 10px;
    line-height: 1.15;
  }

  .hero-board .photo-tile .tile-label::before {
    top: -12px;
    right: 8px;
    width: 10px;
    height: 23px;
    border-width: 1.5px;
  }

  .hero-board .photo-tile .tile-label::after {
    top: -6px;
    right: 11px;
    width: 5px;
    height: 14px;
    border-width: 1.5px;
  }

  .hero-board .photo-tile:nth-child(2) .tile-label,
  .hero-board .photo-tile:nth-child(4) .tile-label {
    top: -46px;
    bottom: auto;
  }

  .intro-band {
    display: grid;
  }

  th,
  td {
    padding: 12px 8px;
    font-size: 14px;
  }
}
