:root {
  --color-ink: #17302a;
  --color-cream: #e7f0ea;
  --color-paper: #f4faf6;
  --color-foam: #dceae1;
  --color-teal: #1f6b5a;
  --color-teal-deep: #143f36;
  --color-brass: #b08d57;
  --color-sand: #c9ddd0;
  --color-muted: #5a6e64;
}

.announce {
  background: #143f36;
}

.site-head {
  position: sticky;
  top: 14px;
  margin-top: 12px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  background: transparent;
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(1100px, 100%);
  min-height: 64px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(36, 28, 22, 0.08);
  border-radius: 999px;
  background: rgba(244, 250, 246, 0.92);
  box-shadow: 0 14px 40px rgba(20, 63, 54, 0.14);
  backdrop-filter: blur(16px);
  animation: island-float 4.6s ease-in-out infinite;
}

.nav-island:hover {
  animation-play-state: paused;
}

.nav-island > nav {
  margin-left: 8px;
}

.nav-link::after {
  background: #b08d57;
}

.map-dot {
  background: #1f6b5a;
  animation: map-dot 2.6s ease-in-out infinite;
}

@keyframes map-dot {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.18);
  }
}

.map-title {
  line-height: 1.05;
}

.map-dot.is-on {
  animation: none;
  transform: translate(-50%, -50%) scale(1.35);
}

.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;
}

.size-pick input:checked + span {
  background: #1f6b5a;
  color: #fff;
  border-color: #1f6b5a;
}

#coverflow {
  --cf-card: clamp(168px, 22vw, 250px);
}

.cf-frame {
  overflow: hidden;
  padding: 28px 0 8px;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
  perspective: calc(var(--cf-card) * 3);
}

.cf-frame:active {
  cursor: grabbing;
}

.cf-caption {
  min-height: 1.4rem;
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  transition: opacity 0.3s ease;
}

#cover-board {
  position: relative;
  height: calc(var(--cf-card) * 1.46);
  transform-style: preserve-3d;
}

.rail-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--cf-card);
  height: calc(var(--cf-card) * 1.46);
  margin: 0;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  will-change: transform;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, #1d4f44 0%, #17302a 58%);
  padding: 18px 18px 20px;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

button.rail-card {
  cursor: pointer;
  font: inherit;
}

.rail-card article {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
}

.rail-art {
  display: grid;
  height: 42%;
  width: 100%;
  flex: 0 0 42%;
  place-items: center;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 42%, rgba(159, 208, 255, 0.34), rgba(255, 255, 255, 0.04) 68%);
}

.rail-tag {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fd0ff;
}

.rail-card h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.05;
}

.rail-card h3 span {
  display: block;
  margin-top: 4px;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-desc {
  max-width: 230px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.rail-cta {
  margin-top: auto;
  border-radius: 999px;
  background: #1f6b5a;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.rail-card.is-side .rail-desc,
.rail-card.is-side .rail-cta {
  display: none;
}

.rail-card.is-side .rail-art {
  height: 58%;
  flex-basis: 58%;
}

.map-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: map-line 0.7s ease forwards;
}

@keyframes map-line {
  to {
    stroke-dashoffset: 0;
  }
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-shift 32s linear infinite;
}

.ticker-set {
  display: flex;
  flex: none;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.admin-skin {
  background: #e7f0ea;
  color: #17302a;
}

.panel-rise {
  animation: panel-rise 0.55s ease both;
}

.panel-card {
  animation: panel-rise 0.6s ease both;
  border: 1px solid #d4e4f4;
  border-radius: 28px;
  background: #fff;
  padding: 1.25rem 1.4rem;
}

.panel-link {
  display: block;
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  color: rgba(244, 248, 252, 0.82);
  transition: background 0.2s ease, transform 0.2s ease;
}

.panel-link:hover,
.panel-link.is-on {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateX(4px);
}

.scan-frame {
  position: absolute;
  inset: 12% 16%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(7, 30, 61, 0.28);
}

.scan-line {
  position: absolute;
  left: 18%;
  width: 64%;
  height: 2px;
  background: #9fd0ff;
  box-shadow: 0 0 16px #9fd0ff;
  animation: scan-line 2.1s ease-in-out infinite;
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scan-line {
  0%,
  100% {
    top: 16%;
  }
  50% {
    top: 80%;
  }
}

.cf-stage {
  background: #17302a;
}

.cf-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.cf-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 58, 0.42), rgba(8, 24, 48, 0.62)),
    radial-gradient(ellipse at 50% 45%, rgba(12, 40, 80, 0.05), rgba(8, 22, 48, 0.45));
}

.cf-copy {
  position: relative;
  z-index: 2;
}

.portal {
  height: calc(100vh * var(--portal-steps, 4));
  background: #10241e;
}

.portal-pin {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  place-items: center;
  overflow: hidden;
  background: #10241e center / cover no-repeat;
}

.portal-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 36, 30, 0.38);
}

.portal-card {
  position: absolute;
  width: min(920px, calc(100% - 40px));
  height: min(560px, 70vh);
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  will-change: transform, opacity;
}

.portal-card img,
.flow-card > img,
.flow-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-shade,
.flow-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 16, 0.15) 10%, rgba(8, 20, 16, 0.28) 40%, rgba(8, 20, 16, 0.88) 100%);
}

.portal-copy {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 44px 36px;
  color: #f4faf6;
}

.portal-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d7c4a3;
}

.portal-copy h1,
.portal-copy h2 {
  max-width: 14ch;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.portal-copy h1 + p,
.portal-copy h2 + p {
  max-width: 36rem;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244, 250, 246, 0.88);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.portal-actions a {
  border-radius: 999px;
  background: #f4faf6;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #143f36;
}

.portal-actions a:last-child {
  background: transparent;
  border: 1px solid rgba(244, 250, 246, 0.45);
  color: #f4faf6;
}

.portal-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(244, 250, 246, 0.8);
}

.portal-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #f4faf6;
}

.portal-hint {
  position: absolute;
  bottom: 28px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d7c4a3;
  transition: opacity 0.3s ease;
}

.portal-hint.is-gone {
  opacity: 0;
}

.flow {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #10241e;
  color: #fff;
}

.flow-bg {
  filter: none;
  transform: none;
  opacity: 1;
}

.flow-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 36, 30, 0.42), rgba(16, 36, 30, 0.55)),
    radial-gradient(circle at center, rgba(16, 36, 30, 0.05), rgba(16, 36, 30, 0.45));
}

.flow-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 760px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 36px;
}

.flow-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d7c4a3;
}

.flow-label span {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d7c4a3);
}

.flow-label span:last-child {
  background: linear-gradient(90deg, #d7c4a3, transparent);
}

.flow-stage {
  position: relative;
  width: min(1100px, 100%);
  height: 540px;
  perspective: 1400px;
}

.flow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(330px, 72vw);
  height: min(500px, 64vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #171311;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, filter 0.8s ease;
  cursor: pointer;
}

.flow-card.is-center {
  z-index: 30;
  opacity: 1;
  filter: none;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(176, 141, 87, 0.25);
  cursor: default;
}

.flow-card.is-right {
  z-index: 20;
  opacity: 0.7;
  filter: brightness(0.75);
  transform: translate(calc(-50% + 270px), -50%) scale(0.84) rotateY(-24deg);
}

.flow-card.is-left {
  z-index: 20;
  opacity: 0.7;
  filter: brightness(0.75);
  transform: translate(calc(-50% - 270px), -50%) scale(0.84) rotateY(24deg);
}

.flow-card.is-far-right {
  z-index: 10;
  opacity: 0.4;
  filter: brightness(0.55);
  transform: translate(calc(-50% + 480px), -50%) scale(0.68) rotateY(-38deg);
}

.flow-card.is-far-left {
  z-index: 10;
  opacity: 0.4;
  filter: brightness(0.55);
  transform: translate(calc(-50% - 480px), -50%) scale(0.68) rotateY(38deg);
}

.flow-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 18px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.flow-card.is-center .flow-copy {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.flow-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.flow-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.flow-card h3 span {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.flow-copy i {
  width: 34px;
  height: 2px;
  margin: 10px auto;
  border-radius: 2px;
  background: #d7c4a3;
  box-shadow: 0 0 8px rgba(215, 196, 163, 0.7);
}

.flow-copy p {
  max-width: 260px;
  margin-bottom: 12px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.flow-copy a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #e4d3b0, #b08d57);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #17302a;
}

.flow-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.flow-nav.is-prev { left: 18px; }
.flow-nav.is-next { right: 18px; }

.flow-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.flow-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.3s ease, background 0.3s ease;
}

.flow-dots button.is-on {
  width: 28px;
  background: #d7c4a3;
  box-shadow: 0 0 10px rgba(215, 196, 163, 0.7);
}

@media (max-width: 800px) {
  .flow-card.is-far-left,
  .flow-card.is-far-right {
    opacity: 0;
  }

  .flow-card.is-right {
    transform: translate(calc(-50% + 34%), -50%) scale(0.78) rotateY(-18deg);
  }

  .flow-card.is-left {
    transform: translate(calc(-50% - 34%), -50%) scale(0.78) rotateY(18deg);
  }

  .portal-copy {
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal {
    height: auto;
  }

  .portal-pin {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
  }

  .portal-card {
    position: relative;
    width: min(920px, calc(100% - 32px));
    opacity: 1 !important;
    transform: none !important;
  }

  .portal-hint {
    display: none;
  }
}

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

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 28px 16px;
  color: #e7f0ea;
  background:
    linear-gradient(180deg, rgba(7, 28, 58, 0.78), rgba(8, 32, 64, 0.88)),
    url("panel-studio.jpg") center / cover;
}

.admin-brand {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.05;
  color: #fff;
}

.admin-kicker {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c5dff6;
}

.admin-nav {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  font-size: 14px;
}

.admin-nav-gap {
  margin-top: 22px;
}

.admin-nav form {
  margin: 0;
}

.admin-nav button.panel-link {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.admin-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid #d7e6f4;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.admin-body {
  padding: 24px 28px 40px;
}

.panel-banner {
  position: relative;
  overflow: hidden;
  height: 220px;
  margin-bottom: 16px;
  border-radius: 28px;
}

.panel-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.panel-banner-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px 26px 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 28, 58, 0.82));
}

.panel-banner-copy p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d7ecff;
}

.panel-banner-copy h1 {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 500;
}

.panel-banner-copy span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 14px 16px;
}

.stat-icon {
  display: grid;
  width: 58px;
  height: 68px;
  flex: none;
  place-items: center;
  border-radius: 18px;
  background: #e7f3fb;
  color: #1f6b5a;
}

.stat-mark {
  width: 36px;
  height: 48px;
}

.stat-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5d7590;
}

.stat-num {
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.stock-sheet {
  margin-top: 18px;
  overflow: auto;
  border: 1px solid #d7e6f4;
  border-radius: 28px;
  background: #fff;
}

.stock-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.stock-table th {
  padding: 12px 14px;
  background: #eef6fb;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5d7590;
}

.stock-table td {
  padding: 10px 14px;
  border-top: 1px solid #e4eef6;
  vertical-align: middle;
}

.stock-art {
  width: 64px;
}

.stock-mark {
  width: 34px;
  height: 46px;
  color: #1f6b5a;
}

.stock-cat {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5d7590;
}

.stock-add {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-qty {
  width: 64px;
  border: 1px solid #d7e6f4;
  border-radius: 12px;
  padding: 8px;
}

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

  .admin-side {
    position: relative;
    height: auto;
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .admin-nav-gap {
    margin-top: 0;
  }

  .stat-grid,
  .panel-split {
    grid-template-columns: 1fr;
  }

  .admin-body,
  .admin-top {
    padding-right: 16px;
    padding-left: 16px;
  }
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #e7f0ea;
}

body > main {
  flex: 1 0 auto;
  padding-bottom: 2.5rem;
}

.site-foot {
  margin-top: auto;
  background: #143f36;
  color: #e7f0ea;
}

.site-foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.75rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.7rem;
}

.foot-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.foot-note,
.foot-links,
.foot-legal {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(244, 248, 252, 0.72);
}

.foot-note {
  max-width: 16rem;
  margin-top: 0.35rem;
}

.foot-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d7b56d;
}

.foot-links {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.4rem;
}

.foot-links a:hover {
  color: #fff;
}

.foot-legal {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.55rem 1.25rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 28px auto 8px;
  padding: 0 20px;
}

.account-side {
  position: sticky;
  top: 88px;
  height: fit-content;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px 14px;
  color: #e7f0ea;
  background:
    linear-gradient(180deg, rgba(7, 28, 58, 0.78), rgba(8, 32, 64, 0.9)),
    url("panel-studio.jpg") center / cover;
}

.account-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.account-kicker {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c5dff6;
}

.account-nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.account-nav form {
  margin: 0;
}

.account-nav-gap {
  margin-top: 16px;
}

.account-link {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 0.65rem 0.75rem;
  color: rgba(244, 248, 252, 0.84);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.account-link:hover,
.account-link.is-on {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.account-banner {
  position: relative;
  overflow: hidden;
  height: 168px;
  margin-bottom: 16px;
  border-radius: 28px;
}

.account-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.account-banner-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 28, 58, 0.82));
}

.account-banner-copy p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.account-banner-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.account-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.account-card {
  border: 1px solid #d7e6f4;
  border-radius: 22px;
  background: #fff;
  padding: 16px 18px;
}

.account-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-pill {
  border-radius: 999px;
  background: #e7f3fb;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #143f36;
}

.account-empty {
  margin-top: 14px;
  border: 1px solid #d7e6f4;
  border-radius: 22px;
  background: #fff;
  padding: 16px 18px;
  font-size: 14px;
  color: #5d7590;
}

.account-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid #d7e6f4;
  border-radius: 24px;
  background: #fff;
  padding: 16px;
}

.account-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.account-form input,
.account-form textarea {
  width: 100%;
  border: 1px solid #d7e6f4;
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
}

.account-form input:focus,
.account-form textarea:focus {
  border-color: #1f6b5a;
}

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

.account-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1f6b5a;
}

.account-actions form {
  margin: 0;
}

.account-actions button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.order-tabs a {
  border-radius: 999px;
  border: 1px solid #d7e6f4;
  background: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #143f36;
}

.order-tabs a.is-on {
  background: #1f6b5a;
  border-color: #1f6b5a;
  color: #fff;
}

.order-form,
.return-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
}

.order-form label {
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.order-form input,
.order-form select,
.return-note {
  border: 1px solid #d7e6f4;
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
  font-size: 14px;
}

.label-sheet {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.label-card {
  width: 240px;
  border: 1px dashed #9bb6cc;
  border-radius: 16px;
  background: #fff;
  padding: 12px 12px 10px;
  text-align: center;
}

.label-name {
  font-size: 13px;
  font-weight: 700;
}

.code-svg {
  width: 100%;
  height: 54px;
  margin-top: 8px;
}

.label-code {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.label-qty {
  font-size: 11px;
  color: #5d7590;
}

@media print {
  .admin-side,
  .admin-top,
  .no-print {
    display: none !important;
  }

  .admin-shell,
  .admin-body,
  body {
    display: block;
    background: #fff;
    min-height: 0;
  }

  .label-card {
    break-inside: avoid;
  }
}

@media (max-width: 800px) {
  .site-foot-grid,
  .account-shell,
  .account-form {
    grid-template-columns: 1fr;
  }

  .account-side {
    position: relative;
    top: 0;
  }

  .account-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .account-nav-gap {
    margin-top: 0;
  }
}

.about-hero {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: end;
  overflow: hidden;
}

.about-hero img,
.about-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero img {
  object-position: center 42%;
  animation: about-drift 18s ease-in-out infinite alternate;
}

.about-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 58, 0.18), rgba(8, 24, 48, 0.78)),
    radial-gradient(ellipse at 70% 30%, rgba(21, 112, 199, 0.18), transparent 55%);
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 88px 20px 96px;
  color: #fff;
}

.about-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d7ecff;
}

.about-kicker-ink {
  color: #1f6b5a;
}

.about-hero h1,
.about-split h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
}

.about-hero h1 {
  max-width: 12ch;
  margin-top: 10px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.about-hero-copy p:last-child {
  max-width: 36rem;
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.about-years {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 72rem;
  margin: -48px auto 0;
  padding: 0 20px;
}

.about-year {
  border-radius: 24px;
  background: #fff;
  padding: 22px 20px;
  box-shadow: 0 18px 40px rgba(12, 35, 64, 0.1);
  animation: panel-rise 0.7s ease both;
}

.about-year p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  color: #1f6b5a;
}

.about-year span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #5d7590;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 40px;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 72px 20px;
}

.about-portrait {
  margin: 0;
  height: 560px;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 24px 50px rgba(12, 35, 64, 0.16);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-split h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-split p {
  margin-top: 14px;
  max-width: 38rem;
  font-size: 15px;
  line-height: 1.75;
  color: #5d7590;
}

.about-cta {
  display: inline-block;
  margin-top: 22px;
  border-radius: 999px;
  background: #1f6b5a;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 20px 28px;
}

.about-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 100%;
}

.about-shot {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  border-radius: 28px;
}

.about-shot-tall {
  min-height: 460px;
}

.about-shot figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 20px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 28, 58, 0.78));
}

.about-shot strong,
.about-shot span {
  display: block;
}

.about-shot span {
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
}

@keyframes about-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (max-width: 860px) {
  .about-years,
  .about-split,
  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 460px;
  }

  .about-portrait,
  .about-shot-tall {
    height: 420px;
    min-height: 420px;
  }
}

.story-open {
  max-width: 72rem;
  margin: 0 auto;
  padding: 48px 8vw 8px;
}

.story-open p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1f6b5a;
}

.story-open h1 {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.92;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(0, 680px);
  gap: 32px;
  align-items: center;
  min-height: 260px;
  padding: 40px 8vw;
}

.story-band.is-ink {
  background: #143f36;
  color: #e7f0ea;
}

.story-year {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.85;
  color: #1f6b5a;
}

.story-band.is-ink .story-year {
  color: #d7efe4;
}

.story-photo {
  width: 148px;
  height: 100px;
  border-radius: 18px;
  object-fit: cover;
}

.story-thumb {
  width: 168px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
}

.story-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
}

.story-band h2 + p {
  max-width: 38rem;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.7;
  color: #5a6e64;
}

.story-band.is-ink h2 + p {
  color: rgba(231, 240, 234, 0.84);
}

.story-close {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 52px 8vw 20px;
}

.story-close img {
  width: 156px;
  height: 156px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: 0 16px 36px rgba(20, 63, 54, 0.16);
}

.story-close p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.story-close a {
  display: inline-block;
  margin-top: 16px;
  border-radius: 999px;
  background: #1f6b5a;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #f4faf6;
}

@keyframes island-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 800px) {
  .story-band {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
  }

  .nav-island {
    border-radius: 28px;
  }
}

.reel {
  height: calc(100vh * var(--reel-steps, 3));
}

.reel-pin {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  height: 100vh;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 108px 16px 28px;
  background: #e7f0ea;
}

.reel-kicker,
.reel-hint {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1f6b5a;
}

.reel-stage {
  position: relative;
  width: min(880px, 100%);
  height: min(440px, 62vh);
}

.reel-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 42px 44px;
  border-radius: 36px;
  background: #f4faf6;
  color: #17302a;
  box-shadow: 0 28px 70px rgba(20, 63, 54, 0.16);
  opacity: 0;
  transform: translateY(72px) scale(0.96);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.reel-card.is-on {
  z-index: 2;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reel-card.is-before {
  z-index: 1;
  opacity: 0;
  transform: translateY(-64px) scale(0.92);
}

.reel-card.is-ink {
  background: #143f36;
  color: #e7f0ea;
}

.reel-year {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.85;
  color: #1f6b5a;
}

.reel-card.is-ink .reel-year {
  color: #d7efe4;
}

.reel-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.reel-card h2 + p {
  max-width: 34rem;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.7;
  color: #5a6e64;
}

.reel-card.is-ink h2 + p {
  color: rgba(231, 240, 234, 0.84);
}

.reel-meter {
  display: flex;
  gap: 8px;
}

.reel-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #c9ddd0;
  transition: width 0.35s ease, background 0.35s ease;
}

.reel-dot.is-on {
  width: 28px;
  background: #1f6b5a;
}

.reel-hint {
  transition: opacity 0.35s ease;
}

.reel-hint.is-gone {
  opacity: 0;
}

.reel-shelf {
  position: relative;
  z-index: 2;
}

.story-fields {
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .story-fields {
    grid-template-columns: 140px 1fr 160px;
  }
}

@media (max-width: 800px) {
  .reel-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    padding: 28px 22px;
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel {
    height: auto;
  }

  .reel-pin {
    position: static;
    height: auto;
  }

  .reel-stage {
    height: auto;
  }

  .reel-card,
  .reel-card.is-before,
  .reel-card.is-after {
    position: relative;
    margin-bottom: 16px;
    opacity: 1;
    transform: none;
  }

  .reel-shelf,
  .reel-hint {
    display: none;
  }
}

.pay-sheet {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid #e4d3b4;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(176, 141, 87, 0.18), transparent 60%),
    #fffaf3;
  box-shadow: 0 16px 40px rgba(176, 141, 87, 0.12);
}

.pay-stage {
  perspective: 1200px;
  min-height: 188px;
}

.pay-plastic {
  position: relative;
  min-height: 188px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pay-plastic.is-back {
  transform: rotateY(180deg);
}

.pay-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    radial-gradient(280px 140px at 90% 0%, rgba(232, 208, 160, 0.45), transparent 55%),
    linear-gradient(145deg, #2a7d68 0%, #143f36 58%, #1b2a22 100%);
  color: #f7f1e6;
  box-shadow: 0 18px 36px rgba(20, 63, 54, 0.28);
  backface-visibility: hidden;
}

.pay-face-back {
  transform: rotateY(180deg);
  justify-content: flex-start;
  gap: 16px;
  padding: 0 0 18px;
  background: linear-gradient(160deg, #1a4f44 0%, #10241e 70%);
}

.pay-stripe {
  display: block;
  height: 42px;
  margin-top: 22px;
  background: repeating-linear-gradient(90deg, #1a1a1a 0 8px, #2c2c2c 8px 12px);
}

.pay-sign {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px;
}

.pay-sign-line {
  height: 36px;
  flex: 1;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #efe6d4 0 10px, #e2d3b4 10px 12px);
}

.pay-cvv-box {
  display: grid;
  min-width: 64px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: #fffaf3;
  color: #17302a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.pay-back-note {
  margin: 0 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.72);
}

.pay-plastic-top,
.pay-plastic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pay-plastic-top {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.pay-chip {
  width: 42px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3e2bc, #b08d57 45%, #efe0bf);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pay-plastic-num {
  margin: 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  letter-spacing: 0.12em;
}

.pay-plastic-foot {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pay-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6b5840;
}

.pay-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #3d4f47;
}

.pay-field input,
.pay-field select {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  border: 1px solid #e4d3b4;
  border-radius: 16px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  color: #17302a;
}

.pay-field input:focus,
.pay-field select:focus {
  border-color: #1f6b5a;
  outline: none;
}

.pay-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.9fr;
  gap: 12px;
  align-items: end;
}

.pay-go {
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a7d68, #1f6b5a);
  color: #fffaf3;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(31, 107, 90, 0.28);
}

.pay-go:hover {
  background: #143f36;
}

@media (prefers-reduced-motion: reduce) {
  .pay-plastic {
    transition: none;
  }
}

@media (max-width: 640px) {
  .pay-row {
    grid-template-columns: 1fr 1fr;
  }

  .pay-row .pay-field:last-child {
    grid-column: 1 / -1;
  }
}

@keyframes ticker-shift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--ticker-shift, 50%)));
  }
}

.product-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 12rem;
  overflow: hidden;
}

.product-photo-frame.is-large {
  height: 22rem;
}

.product-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-photo-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f4f7f5;
}

.product-photo-thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
