:root {
  --ink: #173b32;
  --cream: #fffaf0;
  --paper: #f2eadc;
  --orange: #b95f31;
  --yellow: #e9a45e;
  --telegram: #229ed9;
  --vk: #2678d9;
  --line: rgba(23, 59, 50, 0.16);
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: radial-gradient(circle at 14% 8%, rgba(242, 201, 76, 0.18), transparent 24rem), var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.page-shell {
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1rem, 2.6vw, 2.5rem);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
}
.hero {
  min-height: calc(100svh - clamp(5.25rem, 8vw, 7.5rem));
  display: grid;
  grid-template-columns: minmax(25rem, 0.88fr) minmax(35rem, 1.12fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: stretch;
  overflow: hidden;
}
.hero,
.hero__copy,
.hero__visual,
.photo-frame {
  min-width: 0;
  max-width: 100%;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 6vh, 5rem);
  padding: clamp(0.5rem, 1.5vw, 1.5rem) 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
}
.brand img {
  width: 8.75rem;
  height: 3.75rem;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) saturate(100%) invert(18%) sepia(25%) saturate(881%) hue-rotate(112deg) brightness(93%) contrast(91%);
}
.brand span {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.message { max-width: 49rem; }
.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7.7vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}
.lead {
  max-width: 42rem;
  margin: clamp(1.6rem, 3.5vw, 3rem) 0 0;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 48rem;
}
.action {
  min-height: 5rem;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 2.8rem 1fr auto;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid transparent;
  border-radius: 1.15rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 760;
  box-shadow: 0 0.75rem 2.5rem rgba(23, 59, 50, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.action--telegram { background: var(--telegram); }
.action--vk { background: var(--vk); }
.action[aria-disabled="true"] { opacity: 0.55; filter: saturate(0.4); cursor: not-allowed; }
.action:not([aria-disabled="true"]):hover {
  transform: translateY(-3px);
  box-shadow: 0 1.1rem 3rem rgba(23, 59, 50, 0.2);
}
.action:not([aria-disabled="true"]):active { transform: translateY(0); }
.action:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.action__icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.action__icon svg { width: 1.65rem; fill: white; }
.action__icon--vk { font-size: 0.9rem; font-weight: 900; letter-spacing: -0.04em; }
.action small {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  opacity: 0.78;
  text-transform: uppercase;
}
.action__arrow { font-size: 1.3rem; }
.note {
  max-width: 43rem;
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0.7;
}
.hero__visual {
  position: relative;
  min-height: 0;
  padding: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border: 0.65rem solid var(--ink);
  border-radius: 2.25rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.32);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.67;
}
@media (max-width: 980px) {
  .page-shell { padding: 1rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; overflow: visible; }
  .hero__copy { gap: 2.75rem; }
  .hero__visual { order: -1; }
  h1 { font-size: clamp(4rem, 14vw, 7rem); }
}
@media (max-width: 620px) {
  .page-shell {
    height: 100svh;
    min-height: 36rem;
    padding: 0.55rem;
    gap: 0;
    overflow: hidden;
  }
  .hero {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    overflow: hidden;
  }
  .hero__visual { min-height: 0; flex: 0 0 auto; }
  .photo-frame { aspect-ratio: 2 / 1; border-width: 0.3rem; border-radius: 1.2rem; box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.22); }
  .hero__copy {
    min-height: 0;
    flex: 1;
    justify-content: flex-start;
    gap: 0.72rem;
    padding: 0 0.25rem;
  }
  .brand { min-height: 2.25rem; margin: 0; padding: 0; gap: 0.55rem; }
  .brand img { width: 4.75rem; height: 2.25rem; }
  .brand span { padding-left: 0.55rem; font-size: 0.56rem; }
  .message { padding: 0; }
  .eyebrow { margin: 0 0 0.35rem; font-size: 0.67rem; letter-spacing: 0.12em; }
  h1 { max-width: 13ch; font-size: clamp(2rem, 9.5vw, 2.5rem); line-height: 0.94; }
  .lead { margin-top: 0.7rem; font-size: 0.88rem; line-height: 1.38; }
  .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .action {
    min-height: 3.55rem;
    padding: 0.55rem 0.65rem;
    grid-template-columns: 2.05rem 1fr;
    gap: 0.5rem;
    border-radius: 0.9rem;
    font-size: 0.93rem;
  }
  .action__icon { width: 2.05rem; height: 2.05rem; }
  .action__icon svg { width: 1.25rem; }
  .action small, .action__arrow { display: none; }
  .note, footer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
