:root {
  --ink: #07111f;
  --deep: #0a2d63;
  --blue: #0d63ce;
  --blue-soft: #d9ecff;
  --blue-pale: #f3f9ff;
  --white: #ffffff;
  --silver: #8d9aac;
  --muted: #52657d;
  --line: rgba(13, 99, 206, 0.18);
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(9, 61, 134, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 46%, #d9ecff 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.intro-playing {
  overflow: hidden;
}

body.intro-playing main,
body.intro-playing .site-footer {
  opacity: 0;
  pointer-events: none;
}

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, transparent 0 34%, rgba(0, 0, 0, 0.45) 72%, #000 100%);
}

.intro-skip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  min-width: 120px;
  height: 40px;
  color: var(--white);
  background: rgba(3, 14, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

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

.brand-text,
.hero-copy h1,
.site-footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.brand-text {
  font-size: 1.22rem;
  color: var(--deep);
}

.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.nav-menu a {
  padding: 10px 0;
}

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

.menu-toggle,
.cart-button,
.cart-head button,
.quantity-control button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.cart-button {
  min-width: 112px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
}

.cart-icon svg,
.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button strong {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.72rem;
}

.cart-panel {
  position: fixed;
  top: 86px;
  right: max(18px, calc((100vw - 1180px) / 2));
  z-index: 70;
  width: min(390px, calc(100vw - 32px));
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: 220ms ease;
}

.cart-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cart-head,
.cart-total,
.cart-row,
.price-row,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-head h2 {
  margin: 0;
  font-size: 1rem;
}

.cart-head button {
  width: 34px;
  height: 34px;
  border-radius: 4px;
}

.cart-items {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  max-height: 340px;
  overflow: auto;
}

.cart-row {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-row h3,
.cart-row p {
  margin: 0;
}

.cart-row h3 {
  font-size: 0.9rem;
}

.cart-row p,
.empty-cart {
  color: var(--muted);
  font-size: 0.82rem;
}

.remove-item {
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-total {
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.brand-banner {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-bottom: 1px solid var(--line);
}

.brand-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-section {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 72% 10%, rgba(13, 99, 206, 0.22), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f1f8ff 45%, #d8ecff 100%);
}

.hero-section::before,
.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 12%, rgba(13, 99, 206, 0.1) 13%, transparent 32%),
    radial-gradient(circle at 46% 58%, rgba(13, 99, 206, 0.12), transparent 1px);
  background-size: auto, 82px 82px;
  opacity: 0.5;
}

.ambient-beam {
  position: absolute;
  width: 42vw;
  height: 100vh;
  top: -18vh;
  background: linear-gradient(110deg, rgba(13, 99, 206, 0.2), transparent 58%);
  filter: blur(22px);
  opacity: 0.7;
  transform: rotate(16deg);
}

.beam-left {
  left: -18vw;
}

.beam-right {
  right: -24vw;
  transform: rotate(-21deg);
}

.hero-grid,
.product-layout,
.about-grid,
.story-grid,
.contact-grid,
.purchase-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  margin: 0;
  color: var(--deep);
  font-size: 5.6rem;
  line-height: 0.94;
  font-weight: 500;
  text-shadow: 0 18px 48px rgba(13, 99, 206, 0.18);
}

.hero-copy h2,
.section-heading h2,
.about-grid h2,
.story-content h2,
.contact-grid h2,
.purchase-copy h2,
.legal-hero h1 {
  margin: 0;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 500;
}

.hero-copy p,
.section-heading p,
.lead,
.story-content p,
.purchase-copy p,
.contact-grid p,
.notes-grid p,
.feature-grid p,
.product-card p,
.site-footer p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy > p:last-of-type {
  max-width: 520px;
}

.hero-actions,
.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #0b326c, #0d63ce 52%, #64aaf5);
  box-shadow: 0 18px 48px rgba(13, 99, 206, 0.24);
}

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

.full {
  width: 100%;
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.hero-visual img {
  width: min(560px, 100%);
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 46px rgba(13, 69, 138, 0.24));
  animation: productFloat 7s ease-in-out infinite;
}

@keyframes productFloat {
  0%, 100% { transform: translateY(0) rotateY(-2deg); }
  50% { transform: translateY(-16px) rotateY(3deg); }
}

.product-section,
.notes-section,
.contact-section,
.legal-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(13, 99, 206, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #edf7ff 100%);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.product-card,
.feature-grid article,
.notes-grid article,
.contact-form,
.purchase-panel,
.policy-links a,
.legal-content {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.product-card.large {
  min-height: 590px;
  padding: 24px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #ffffff, #dcefff);
}

.product-card.large img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  opacity: 1;
  transition: transform 600ms ease;
}

.product-card.large:hover img {
  transform: scale(1.03);
}

.product-card.large div {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 2;
  width: min(76%, 420px);
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  transform: translateX(-50%);
}

.product-card.large div::before {
  content: "";
  position: absolute;
  inset: -10px -16px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  filter: blur(10px);
}

.product-card.large div p {
  max-width: 100%;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-card.large div h3 {
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.25;
}

.feature-grid,
.notes-grid {
  display: grid;
  gap: 18px;
}

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

.feature-grid article,
.notes-grid article {
  padding: 24px;
}

.feature-grid h3,
.notes-grid h3,
.product-card h3 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 1.05rem;
}

.about-section {
  background: linear-gradient(135deg, #ffffff 0%, #ecf7ff 50%, #d9ecff 100%);
}

.about-visual,
.story-product,
.purchase-image {
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-visual img,
.story-product img {
  width: 100%;
  height: 560px;
  object-fit: contain;
}

.lead {
  margin: 18px 0 0;
  font-size: 1.13rem;
}

.story-section {
  background:
    radial-gradient(circle at 70% 18%, rgba(13, 99, 206, 0.15), transparent 34%),
    linear-gradient(180deg, #f9fdff, #e6f4ff);
}

.story-grid {
  align-items: center;
}

.story-content {
  max-width: 620px;
}

.story-product img {
  max-height: 620px;
}

.notes-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-section {
  background: linear-gradient(180deg, #eaf6ff 0%, #ffffff 100%);
}

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

.gallery-item {
  margin: 0;
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  color: var(--deep);
  font-size: 0.82rem;
}

.purchase-section {
  background:
    radial-gradient(circle at 78% 34%, rgba(13, 99, 206, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #dff0ff);
}

.purchase-panel {
  padding: 30px;
}

.purchase-image img {
  width: 100%;
  height: 560px;
  object-fit: contain;
}

.sidka-word {
  font-family: Sidka, "Times New Roman", serif;
  font-weight: 500;
}

.price-row {
  align-items: baseline;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-row strong {
  color: var(--deep);
  font-size: 2rem;
}

.price-row span,
.quantity-label {
  color: var(--muted);
}

.quantity-control {
  width: 156px;
  height: 46px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  margin-top: 8px;
  border: 1px solid var(--line);
}

.quantity-control button,
.quantity-control input {
  width: 100%;
  height: 44px;
  border: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.quantity-control input {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.contact-grid {
  align-items: start;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  transition: 160ms ease;
}

.social-links a:hover {
  color: var(--white);
  background: var(--blue);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.contact-form label {
  color: var(--deep);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(13, 99, 206, 0.72);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
}

.policies-section {
  background: linear-gradient(180deg, #eef8ff, #ffffff);
}

.policy-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.policy-links a {
  min-height: 94px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--deep);
  text-align: center;
  text-transform: uppercase;
}

.policy-links a:hover {
  color: var(--white);
  background: linear-gradient(135deg, #0b326c, #0d63ce);
}

.site-footer {
  padding: 34px 0;
  background: #f7fbff;
  border-top: 1px solid var(--line);
}

.footer-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.site-footer p {
  margin: 6px 0 0;
}

.legal-page {
  min-height: 100vh;
}

.legal-nav {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.legal-back {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.legal-hero,
.legal-content {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-hero {
  padding: 42px 0 26px;
}

.legal-content {
  padding: 34px;
}

.legal-content h2 {
  color: var(--deep);
  margin-top: 0;
}

.legal-content ul {
  padding-left: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 980px) {
  .nav-shell {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    transition: 200ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .product-layout,
  .about-grid,
  .story-grid,
  .contact-grid,
  .purchase-panel {
    grid-template-columns: 1fr;
  }

  .story-product {
    order: -1;
  }

  .hero-copy h1 {
    font-size: 4.2rem;
  }

  .hero-copy h2,
  .section-heading h2,
  .about-grid h2,
  .story-content h2,
  .contact-grid h2,
  .purchase-copy h2,
  .legal-hero h1 {
    font-size: 2.5rem;
  }

  .gallery-grid,
  .policy-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .section {
    padding: 78px 0;
  }

  .nav-shell {
    width: calc(100% - 22px);
    gap: 10px;
  }

  .brand-lockup {
    min-width: 126px;
  }

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

  .cart-button {
    min-width: 84px;
    gap: 6px;
  }

  .cart-button span:not(.cart-icon) {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-copy h1 {
    font-size: 3.25rem;
  }

  .hero-copy h2,
  .section-heading h2,
  .about-grid h2,
  .story-content h2,
  .contact-grid h2,
  .purchase-copy h2,
  .legal-hero h1 {
    font-size: 2rem;
  }

  .hero-visual {
    min-height: 380px;
  }

  .feature-grid,
  .notes-grid,
  .gallery-grid,
  .policy-links {
    grid-template-columns: 1fr;
  }

  .product-card.large {
    min-height: 560px;
    aspect-ratio: 9 / 16;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 12px;
  }

  .product-card.large img {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
  }

  .product-card.large div {
    bottom: 42px;
    width: min(68%, 260px);
  }

  .product-card.large div h3 {
    font-size: 0.76rem;
    line-height: 1.16;
  }

  .product-card.large div p {
    margin-top: 6px;
    font-size: 0.58rem;
    line-height: 1.22;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 340px;
  }

  .about-visual img,
  .story-product img,
  .purchase-image img {
    height: 380px;
  }

  .purchase-panel {
    padding: 18px;
  }

  .footer-grid,
  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

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