:root {
  color-scheme: dark;
  --night: #050b0e;
  --paper: #f5f6ef;
  --mist: #c0d6d7;
  --aqua: #86f8e9;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--paper); font: 1rem/1.55 "Trebuchet MS", sans-serif; }
.hero { position: relative; isolation: isolate; display: grid; min-height: min(800px, 100svh); align-items: end; justify-items: center; padding: 0 20px 48px; overflow: hidden; }
.portrait {
  --edge-mask: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  position: absolute; z-index: -1; inset: 0 0 auto; margin-inline: auto; width: min(100%, 840px);
  aspect-ratio: 1.13; overflow: hidden; mask-image: var(--edge-mask), linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent); mask-composite: intersect;
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.smoke { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.smoke::before, .smoke::after {
  content: ""; position: absolute; inset: 0;
  background: url('/assets/denis.webp') center 28% / cover no-repeat;
  mask-image: radial-gradient(ellipse 16% 14% at 89% 15%, #000 12%, transparent 100%);
  opacity: 0; animation: drift 8s ease-in-out infinite;
}
.smoke::after { mask-image: radial-gradient(ellipse 13% 12% at 13% 13%, #000 10%, transparent 100%); animation-delay: -4s; animation-direction: alternate-reverse; }
@keyframes drift {
  0%, 100% { transform: translate3d(-1%, 3%, 0) scale(1.02); opacity: .06; }
  50% { transform: translate3d(2%, -6%, 0) scale(1.12); opacity: .72; }
}
.intro { width: min(100%, 32rem); text-align: center; padding-top: clamp(320px, 55vh, 590px); }
h1, h2, p { margin: 0; }
h1 { font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .99; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.eyebrow { color: var(--aqua); margin-top: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.values { margin: 21px 0 20px; color: var(--mist); font-size: clamp(.67rem, 2.75vw, .83rem); letter-spacing: .055em; text-wrap: balance; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; width: 100%; padding: 12px 15px 12px 23px; border-radius: 15px; text-decoration: none; font-size: clamp(1rem, 4vw, 1.13rem); font-weight: 800; color: #062524; background: linear-gradient(109deg,#b6ffe7 0%,#6aefdd 52%,#42c8d1 100%); box-shadow: 0 14px 36px #33ddd437; transition: box-shadow .22s, transform .22s; text-align: left; }
.cta span { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 50%; background: #073c3530; font-size: 1.25rem; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 17px 40px #33ddd466; }
.cta:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
.access { width: min(32rem, calc(100% - 40px)); margin: 0 auto; padding: 39px 0 64px; border-top: 1px solid #a2ded232; }
h2 { font: 700 clamp(1.65rem, 5vw, 2.5rem)/1.12 Georgia, serif; margin-bottom: 23px; }
details { border-bottom: 1px solid #a2ded232; }
summary { position: relative; cursor: pointer; min-height: 53px; padding: 15px 35px 15px 0; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 21px; width: 8px; height: 8px; border: solid var(--aqua); border-width: 0 2px 2px 0; transform: rotate(45deg); }
details[open] summary::after { transform: rotate(225deg); top: 25px; }
details p { color: var(--mist); margin-bottom: 16px; }
.secondary { margin-top: 25px; background: #15292d; color: var(--aqua); box-shadow: none; }
.secondary span { background: #86f8e922; }
@media (max-width: 600px) {
  .hero { min-height: 0; padding-bottom: 35px; }
  .portrait { aspect-ratio: .93; mask-image: var(--edge-mask); }
  .intro { padding-top: clamp(255px, 77vw, 410px); }
}
@media (prefers-reduced-motion: reduce) {
  .smoke { display: none; }
  .cta { transition: none; }
}
