:root {
  color-scheme: dark;
  --ink: #fff7e8;
  --muted: #d7c4a6;
  --paper: #120e0a;
  --panel: rgba(33, 25, 18, 0.86);
  --panel-solid: #211912;
  --line: rgba(225, 185, 109, 0.28);
  --gold: #e8c070;
  --gold-soft: #ffe2a0;
  --amber: #b25b35;
  --blue: #315f78;
  --charcoal: #0a0908;
  --container: 1160px;
  --page-pad: clamp(18px, 4vw, 56px);
  --section-pad: clamp(62px, 8vw, 104px);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #17100b 0%, #120e0a 42%, #0b0908 100%);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.has-lightbox {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 226, 160, 0.08), transparent 24%, transparent 76%, rgba(49, 95, 120, 0.08)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 5px);
  opacity: 0.75;
}

.energy-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
}

.energy-field::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(232, 192, 112, 0.09) 44%, transparent 45% 100%),
    linear-gradient(72deg, transparent 0 62%, rgba(49, 95, 120, 0.12) 63%, transparent 64% 100%);
  background-size: 520px 520px, 680px 680px;
  animation: gridShift 18s linear infinite;
  opacity: 0.55;
}

.energy-field__lightning {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.lightning {
  fill: none;
  stroke: rgba(255, 247, 211, 0.96);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter:
    url(#lightning-warp)
    drop-shadow(0 0 2px rgba(255, 250, 225, 0.92))
    drop-shadow(0 0 8px rgba(255, 226, 160, 0.64))
    drop-shadow(0 0 20px rgba(214, 155, 67, 0.24));
  vector-effect: non-scaling-stroke;
  animation: lightningFlash 8.8s infinite;
}

.lightning--main {
  stroke-width: 1.55;
}

.lightning--branch {
  stroke-width: 0.72;
  stroke: rgba(255, 235, 174, 0.58);
}

.lightning--thin {
  stroke-width: 0.42;
  stroke: rgba(255, 238, 188, 0.28);
}

.lightning--two {
  animation-delay: 2.7s;
}

.lightning--three {
  animation-delay: 5.2s;
}

.lightning--four {
  animation-delay: 1.4s;
}

.lightning--five {
  animation-delay: 4.2s;
}

.energy-field__pulse {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(232, 192, 112, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 192, 112, 0.16), transparent 64%);
  opacity: 0;
  animation: energyPulse 8s ease-in-out infinite;
}

.energy-field__pulse--one {
  top: 18%;
  left: 13%;
}

.energy-field__pulse--two {
  right: 10%;
  bottom: 16%;
  animation-delay: 3.2s;
}

.hero,
main {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes posterDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes goldSweep {
  0% {
    transform: translateX(-65%);
    opacity: 0;
  }
  22%,
  58% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(65%);
    opacity: 0;
  }
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow: 0 0 28px rgba(232, 192, 112, 0.2);
  }
  50% {
    box-shadow: 0 0 46px rgba(232, 192, 112, 0.36);
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  20%,
  70% {
    opacity: 0.75;
  }
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
}

@keyframes markerPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 192, 112, 0.26);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(232, 192, 112, 0);
  }
}

@keyframes cursorBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@keyframes gridShift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(160px, 110px, 0);
  }
}

@keyframes lightningFlash {
  0%,
  70%,
  100% {
    opacity: 0;
  }
  70.8% {
    opacity: 0.08;
  }
  71.4% {
    opacity: 0;
  }
  72% {
    opacity: 0.98;
  }
  72.6% {
    opacity: 0.16;
  }
  73.4% {
    opacity: 0.82;
  }
  75.2% {
    opacity: 0;
  }
}

@keyframes energyPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.74);
  }
  42% {
    opacity: 0.24;
  }
  70% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.hero {
  position: relative;
  min-height: clamp(720px, 96vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.08) brightness(0.72);
  transform: scale(1.03);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.98) 0%, rgba(10, 9, 8, 0.82) 40%, rgba(10, 9, 8, 0.38) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.98) 0%, rgba(10, 9, 8, 0.32) 52%, rgba(10, 9, 8, 0.78) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.75;
  animation: goldSweep 5.8s ease-in-out infinite;
}

.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--ink);
}

.brand,
.topbar__link {
  text-decoration: none;
}

.brand {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.topbar__link {
  border: 1px solid rgba(232, 192, 112, 0.58);
  border-radius: 999px;
  padding: 9px 18px;
  background: rgba(10, 9, 8, 0.42);
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  margin: 0 auto clamp(58px, 9vh, 90px);
  color: var(--ink);
}

.hero__copy {
  max-width: 720px;
  animation: heroReveal 800ms ease-out both;
}

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

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

p {
  margin-bottom: 1rem;
}

h1 {
  max-width: 780px;
  min-height: 1.82em;
  margin-bottom: 20px;
  color: #fffaf0;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(89, 43, 21, 0.7),
    0 0 30px rgba(232, 192, 112, 0.38),
    0 12px 36px rgba(0, 0, 0, 0.7);
}

h1.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  background: var(--gold-soft);
  box-shadow: 0 0 18px rgba(255, 226, 160, 0.85);
  transform: translateY(0.08em);
  animation: cursorBlink 720ms steps(1) infinite;
}

h2 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fff4dc;
  font-size: clamp(2rem, 3.3vw, 3.45rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #f0ddbd;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.52;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: linear-gradient(180deg, #ffe0a0, #d69b43);
  color: #1a1109;
  box-shadow: 0 12px 34px rgba(214, 155, 67, 0.22);
}

.button--primary:hover {
  box-shadow: 0 16px 42px rgba(214, 155, 67, 0.34);
}

.button--secondary {
  border: 1px solid rgba(232, 192, 112, 0.58);
  background: rgba(10, 9, 8, 0.36);
  color: var(--gold-soft);
}

.button--secondary:hover {
  border-color: rgba(255, 226, 160, 0.82);
}

.hero__poster {
  position: relative;
  min-height: 520px;
  animation: heroReveal 900ms 120ms ease-out both;
}

.hero__dog {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(232, 192, 112, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(1.08) contrast(1.08);
}

.hero__dog--main {
  right: 8%;
  bottom: 0;
  width: min(58vw, 390px);
  height: 520px;
  animation: posterDrift 7s ease-in-out infinite;
}

.hero__dog--side {
  right: 0;
  bottom: 56px;
  width: min(35vw, 220px);
  height: 290px;
  transform: translateX(18%);
  opacity: 0.9;
  transition: transform 220ms ease, opacity 220ms ease;
}

.hero__poster:hover .hero__dog--side {
  transform: translateX(14%) translateY(-4px);
  opacity: 1;
}

.hero__badge {
  position: absolute;
  right: min(24vw, 260px);
  top: 72px;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 226, 160, 0.72);
  border-radius: 50%;
  background: rgba(18, 14, 10, 0.82);
  box-shadow: 0 0 34px rgba(232, 192, 112, 0.24);
  text-align: center;
  text-transform: uppercase;
  animation: badgeGlow 4.5s ease-in-out infinite;
}

.hero__badge span,
.hero__badge strong {
  display: block;
}

.hero__badge span {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
}

.hero__badge strong {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

main {
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
}

.summary {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(232, 192, 112, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(232, 192, 112, 0.52), rgba(232, 192, 112, 0.2)),
    rgba(232, 192, 112, 0.28);
  box-shadow: var(--shadow);
  animation: heroReveal 700ms 180ms ease-out both;
}

.summary__heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  background:
    linear-gradient(90deg, rgba(232, 192, 112, 0.2), rgba(232, 192, 112, 0.04)),
    rgba(10, 9, 8, 0.76);
}

.summary__heading span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary__item {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(232, 192, 112, 0.13), transparent 42%),
    rgba(24, 17, 12, 0.94);
}

.summary__value {
  color: #fff4dc;
  font-size: clamp(1.25rem, 2vw, 1.78rem);
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.summary__label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.35;
}

.section,
.contact,
.notice {
  padding: var(--section-pad) 0;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.section__body {
  max-width: 690px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.04rem;
  line-height: 1.76;
}

.section__body p:last-child,
.contact p:last-child,
.notice p:last-child,
.card p:last-child,
.relation p:last-child {
  margin-bottom: 0;
}

.section__header {
  max-width: 780px;
  margin-bottom: 32px;
}

.photos {
  border-bottom: 1px solid var(--line);
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(3, minmax(0, 0.86fr));
  grid-auto-rows: clamp(210px, 20vw, 286px);
  gap: 16px;
}

.photo-grid--compact {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.9fr));
  grid-auto-rows: clamp(220px, 22vw, 310px);
}

.photo-card {
  position: relative;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 192, 112, 0.34);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 226, 160, 0.62);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36);
}

.photo-card__button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.photo-card__button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: -5px;
}

.photo-card__button span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 226, 160, 0.55);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(10, 9, 8, 0.58);
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.photo-card:hover .photo-card__button span,
.photo-card__button:focus-visible span {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 226, 160, 0.86);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.45), transparent 42%);
  pointer-events: none;
}

.photo-card--large {
  grid-row: span 2;
  grid-column: span 2;
}

.photo-card img,
.photo-card__button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
  transition: transform 420ms ease, filter 420ms ease;
}

.photo-card:hover img,
.photo-card__button:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.14) contrast(1.12);
}

.scan {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.scan__visual {
  position: relative;
  min-height: 560px;
}

.scan__frame {
  position: absolute;
  inset: 0 8% 0 0;
  overflow: hidden;
  border: 1px solid rgba(232, 192, 112, 0.42);
  border-radius: 42% 42% 8px 8px;
  background: rgba(10, 9, 8, 0.84);
  box-shadow: var(--shadow);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.scan__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(232, 192, 112, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(232, 192, 112, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mix-blend-mode: screen;
  opacity: 0.36;
  pointer-events: none;
}

.scan__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 34%;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.88), transparent);
  pointer-events: none;
}

.scan__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% 30%;
  filter: saturate(1.12) contrast(1.1);
  transform: scale(1.02);
}

.scan__line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  box-shadow: 0 0 18px rgba(255, 226, 160, 0.72);
  animation: scanLine 4.8s ease-in-out infinite;
}

.scan__line--one {
  top: 30%;
}

.scan__line--two {
  top: 64%;
  animation-delay: 1.6s;
}

.scan__marker {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255, 226, 160, 0.55);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(10, 9, 8, 0.74);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: markerPulse 3.4s ease-in-out infinite;
}

.scan__marker::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(232, 192, 112, 0.9);
}

.scan__marker--eyes {
  top: 22%;
  right: 2%;
}

.scan__marker--energy {
  left: 0;
  bottom: 22%;
}

.scan__marker--home {
  right: 7%;
  bottom: 9%;
}

.scan__content p {
  max-width: 660px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.76;
}

.scan__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.scan__stats span {
  border: 1px solid rgba(232, 192, 112, 0.3);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(232, 192, 112, 0.08);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature {
  display: grid;
  grid-template-columns: minmax(290px, 0.62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.feature--right {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.62fr);
}

.feature__content {
  min-width: 0;
}

.feature__content .section__header {
  margin-bottom: 28px;
}

.feature__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(232, 192, 112, 0.4);
  border-radius: 42% 42% 8px 8px;
  background: rgba(10, 9, 8, 0.76);
  box-shadow: var(--shadow);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.feature--right .feature__media {
  clip-path: polygon(0 0, 93% 0, 100% 100%, 7% 100%);
}

.feature__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(232, 192, 112, 0.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(232, 192, 112, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.34;
  pointer-events: none;
}

.feature__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 38%;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.86), transparent);
  pointer-events: none;
}

.feature__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.08);
  transition: transform 500ms ease, filter 500ms ease;
}

.feature__media:hover img {
  transform: scale(1.035);
  filter: saturate(1.16) contrast(1.12);
}

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

.card,
.relation,
.contact__panel {
  border: 1px solid rgba(232, 192, 112, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(48, 35, 23, 0.94), rgba(20, 15, 11, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.relation:hover,
.contact__panel:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 226, 160, 0.5);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.card {
  min-height: 210px;
  padding: 28px;
}

.card p {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.66;
}

.relations {
  border-top: 1px solid var(--line);
}

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

.relation {
  min-height: 238px;
  padding: 28px;
}

.relation p {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.72;
}

.notice {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 66px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.notice p {
  max-width: 660px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.76;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(30px, 5vw, 66px);
  align-items: start;
}

.contact > div:first-child p {
  max-width: 690px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.04rem;
  line-height: 1.76;
}

.contact__panel {
  padding: 30px;
}

.contact__name {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__link {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(232, 192, 112, 0.28);
  padding: 0 0 16px;
  color: #fff4dc;
  font-size: clamp(1.2rem, 2vw, 1.38rem);
  font-weight: 950;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact__hint {
  margin-top: 18px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.96rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

.lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(232, 192, 112, 0.18), transparent 34%),
    rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox__dialog {
  position: relative;
  width: min(1120px, 100%);
  height: min(780px, calc(100vh - 52px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(232, 192, 112, 0.46);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(30, 22, 15, 0.72), rgba(8, 7, 6, 0.9));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.72);
  transform: translateY(16px) scale(0.985);
  transition: transform 260ms ease;
}

.lightbox.is-open .lightbox__dialog {
  transform: translateY(0) scale(1);
}

.lightbox__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 226, 160, 0.09), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 6px);
  pointer-events: none;
}

.lightbox__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 130px);
  padding: clamp(18px, 3vw, 34px);
  object-fit: contain;
  filter: saturate(1.08) contrast(1.08);
}

.lightbox__caption {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(232, 192, 112, 0.24);
  padding: 16px 24px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.96rem;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(232, 192, 112, 0.48);
  background: rgba(10, 9, 8, 0.66);
  color: var(--gold-soft);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 226, 160, 0.86);
  background: rgba(35, 24, 14, 0.82);
}

.lightbox__close {
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox__nav {
  top: 50%;
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 2.6rem;
  line-height: 1;
}

.lightbox__nav--prev {
  left: 18px;
}

.lightbox__nav--next {
  right: 18px;
}

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

  .hero__content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__poster {
    min-height: 310px;
    order: -1;
    margin-top: 70px;
  }

  .hero__dog--main {
    left: 0;
    right: auto;
    width: min(58vw, 330px);
    height: 310px;
  }

  .hero__dog--side {
    right: 0;
    bottom: 28px;
    width: min(40vw, 210px);
    height: 240px;
    transform: none;
  }

  .hero__badge {
    right: 42%;
    top: 6px;
    width: 104px;
    height: 104px;
  }

  .summary,
  .cards,
  .photo-grid,
  .scan,
  .feature,
  .feature--right,
  .relation-grid,
  .section--split,
  .notice,
  .contact {
    grid-template-columns: 1fr;
  }

  .summary {
    margin-top: 26px;
  }

  .photo-grid {
    grid-auto-rows: minmax(260px, 62vw);
  }

  .photo-card--large {
    grid-row: span 1;
    grid-column: span 1;
  }

  .scan__visual {
    min-height: 520px;
  }

  .scan__frame {
    inset: 0;
  }

  .feature__media {
    min-height: 420px;
    order: -1;
  }
}

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

  .topbar {
    width: calc(100% - 36px);
    padding: 18px 0;
  }

  .brand {
    max-width: 170px;
    line-height: 1.2;
  }

  .hero__content {
    width: calc(100% - 36px);
    margin-bottom: 40px;
  }

  .hero__poster {
    min-height: 260px;
  }

  .hero__dog--main {
    width: 62vw;
    height: 260px;
  }

  .hero__dog--side {
    width: 42vw;
    height: 190px;
  }

  .hero__badge {
    right: 36%;
    width: 88px;
    height: 88px;
  }

  .hero__badge span {
    font-size: 1.25rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.25rem);
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .summary__item,
  .card,
  .relation,
  .contact__panel {
    padding: 22px;
  }

  .scan__visual {
    min-height: 430px;
  }

  .feature__media {
    min-height: 360px;
  }

  .scan__marker {
    font-size: 0.64rem;
    padding: 8px 10px;
  }

  .scan__marker--eyes {
    right: 0;
  }

  .scan__marker--energy {
    left: 0;
    bottom: 18%;
  }

  .photo-card__button span {
    opacity: 1;
    transform: none;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__dialog {
    height: min(720px, calc(100vh - 24px));
  }

  .lightbox__image {
    max-height: calc(100vh - 124px);
    padding: 14px;
  }

  .lightbox__nav {
    width: 42px;
    height: 52px;
    font-size: 2.1rem;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }
}

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