:root {
  --bg: #071018;
  --bg-2: #0c1a28;
  --ink: #e8f0f7;
  --muted: #7d90a3;
  --line: #1e3144;
  --accent: #3ecfc0;
  --accent-soft: rgba(62, 207, 192, 0.22);
  --hazel-gold: #d4a94d;
  --hazel-bg: #0a0a0b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(62, 207, 192, 0.12), transparent 45%),
    radial-gradient(90% 60% at 100% 20%, rgba(56, 120, 200, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, #050b12 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 5;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.hero,
.block {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh 0 8vh;
  overflow: hidden;
}

.glow {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 207, 192, 0.34), transparent 68%);
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite;
  pointer-events: none;
}

.hero h1,
.hero .deck {
  position: relative;
  z-index: 1;
}

.line-mask {
  display: block;
  overflow: hidden;
}

.line-mask span {
  display: block;
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.line-mask:nth-child(2) span {
  animation-delay: 0.12s;
}

.line-mask:nth-child(3) span {
  animation-delay: 0.24s;
}

.front {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.8s ease 0.55s both;
}

.hero .mail {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.hero .deck {
  animation: fade-up 0.8s ease 0.55s both;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(45vw, 18vh, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

h1,
h2,
.line {
  font-family: Syne, sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: none;
  margin: 0 0 28px;
  font-size: clamp(76px, 13vw, 168px);
  font-weight: 800;
  line-height: 0.86;
}

.deck,
.note {
  max-width: 46em;
  margin: 0 0 32px;
  font-size: 24px;
}

.copy p + p,
.note + .note {
  margin-top: 12px;
}

.mail {
  display: inline-block;
  padding: 16px 22px;
  font-size: 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #071018;
  font-weight: 600;
  text-decoration: none;
}

.mail:hover,
.mail:focus-visible {
  background: var(--accent);
  outline: none;
}

.hero .mail {
  padding: 14px 12px 14px 18px;
}

.block {
  padding: 28px 0 12px;
}

.label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case {
  padding: 28px;
  border-radius: 20px;
}

.case + .case {
  margin-top: 18px;
}

.case.hazelink {
  border: 1px solid rgba(212, 169, 77, 0.4);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(212, 169, 77, 0.14), transparent 50%),
    var(--hazel-bg);
  color: #f7f4ee;
}

.case.hazelink .copy p {
  color: #cfc9bd;
}

.case.hazelink .site {
  color: var(--hazel-gold);
}

.case.hazelink .proof img {
  border: 1px solid rgba(212, 169, 77, 0.28);
}

.case.darboha {
  --navy: #0a1e3d;
  --navy-soft: #122a4d;
  --glacier: #7eb8c9;
  --glacier-light: #9fcfdd;
  --mist: #f4f8fb;
  --foam: #e8f4f7;
  --stone: #6a7a8c;
  border: 1px solid color-mix(in srgb, var(--glacier) 55%, transparent);
  background:
    radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--glacier) 22%, transparent), transparent 55%),
    linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 55%, #050e1c 100%);
  color: var(--mist);
  font-family: Figtree, "Outfit", sans-serif;
}

.case.darboha .copy p {
  color: color-mix(in srgb, var(--foam) 78%, var(--glacier));
}

.case.darboha .site {
  color: var(--glacier);
}

.case.darboha .site:hover,
.case.darboha .site:focus-visible {
  color: var(--glacier-light);
}

.case.darboha .proof img {
  border: 1px solid color-mix(in srgb, var(--glacier) 35%, transparent);
}

.case.darboha .eyebrow {
  margin: 0 0 8px;
  color: var(--glacier);
  font-family: Figtree, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.case.darboha .brand {
  margin: 0 0 12px;
  font-family: Syne, sans-serif;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--foam);
}

.case.darboha .tag {
  margin: 0 0 8px;
  color: var(--glacier-light);
  font-size: 20px;
  font-weight: 500;
}

h2 {
  margin: 0 0 16px;
  line-height: 0;
}

.wordmark {
  display: block;
  height: 72px;
  width: auto;
}

.wordmark.inline {
  display: inline-block;
  height: 34px;
  vertical-align: -6px;
}

.copy p {
  max-width: 48em;
  margin: 0;
  font-size: 22px;
}

.site {
  display: inline-block;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 600;
  text-decoration: none;
}

.proof {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr;
  gap: 12px;
  margin-top: 22px;
}

.proof img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
}

.desk {
  object-position: left center;
}

.line {
  margin: 0 0 16px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
}

.photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.photos figure {
  margin: 0;
}

.photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.photos figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.end {
  padding-bottom: 96px;
}

.big {
  font-size: 26px;
}

.also {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
}

.social {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  background: rgba(8, 20, 32, 0.45);
}

.social svg {
  width: 30px;
  height: 30px;
}

.social:hover,
.social:focus-visible {
  color: #071018;
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.also a {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .line-mask span,
  .hero .deck,
  .front {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 18px;
  }

  .hero,
  .block {
    width: min(1240px, calc(100% - 40px));
  }

  .hero {
    min-height: 100svh;
    padding: 64px 0 48px;
    justify-content: flex-start;
  }

  .glow {
    width: 90vw;
    height: 90vw;
    top: -5%;
    left: -20%;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 12.6vw, 80px);
    line-height: 0.9;
  }

  .deck,
  .note {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .wordmark {
    height: 48px;
  }

  .wordmark.inline {
    height: 24px;
    vertical-align: -4px;
  }

  .front {
    width: 100% !important;
    max-width: 100%;
    gap: 8px;
  }

  .mail {
    padding: 14px 16px;
    font-size: 15px;
  }

  .hero .mail {
    padding: 14px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .social {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
  }

  .social svg {
    width: 24px;
    height: 24px;
  }

  .label {
    font-size: 14px;
  }

  .line {
    font-size: clamp(28px, 8vw, 40px);
  }

  .case {
    padding: 18px;
  }

  .copy p {
    font-size: 17px;
  }

  .site {
    font-size: 20px;
  }

  .proof,
  .photos {
    grid-template-columns: 1fr;
  }

  .proof img {
    height: 220px;
  }

  .photos img {
    border-radius: 12px;
  }

  .photos figcaption {
    font-size: 14px;
  }

  .end {
    padding-bottom: 72px;
  }

  .big {
    width: 100%;
    text-align: center;
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .hero,
  .block {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(36px, 11.8vw, 56px);
  }

  .front {
    flex-wrap: wrap;
  }

  .hero .mail {
    flex: 1 1 100%;
  }
}
