@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --text: #f5f6ef;
  --muted: #a9b0aa;
  --lime: #e5fb55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: #0d0e10;
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 85%, rgba(197, 229, 63, .11), transparent 35%),
    radial-gradient(circle at 84% 15%, rgba(91, 207, 198, .08), transparent 32%);
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(500px, 53%) minmax(0, 47%);
  grid-template-rows: 1fr auto auto;
  max-width: 1800px;
  min-height: 100svh;
  margin: auto;
  overflow: hidden;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
.profile {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding: 50px clamp(32px, 5vw, 84px) 35px;
  animation: rise .7s both;
}
.avatar-frame { display: none; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lime);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  margin: 0 0 23px;
}
.kicker::before { content: ""; width: 27px; height: 2px; background: currentColor; }
h1 {
  margin: 0 0 36px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(6.5rem, 10vw, 11rem);
  font-weight: 800;
  line-height: .74;
  letter-spacing: -.055em;
}
h1 span { color: var(--lime); }
h1 .period { color: var(--text); }
.tagline {
  max-width: 640px;
  margin: 0;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 1.02;
  text-transform: uppercase;
}
.showcase {
  position: relative;
  isolation: isolate;
  grid-column: 2;
  grid-row: 1 / 4;
  min-height: 100svh;
  overflow: hidden;
  background: #333536;
}
.showcase > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(1) contrast(1.12);
  animation: photoReveal 1.1s both;
}
.showcase::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 14, 16, .18), transparent 35%),
              linear-gradient(0deg, rgba(13, 14, 16, .75), transparent 28%);
}
.showcase::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  pointer-events: none;
}
.showcase-top, .showcase-bottom { position: absolute; z-index: 3; }
.showcase-top {
  top: 45px;
  left: 46px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
}
.showcase-top span { color: var(--lime); }
.showcase-top small {
  display: block;
  margin-top: 6px;
  font-family: Manrope, Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .19em;
}
.showcase-bottom {
  bottom: 43px;
  left: 46px;
  right: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  white-space: nowrap;
}
.showcase-bottom i { width: 15px; height: 1px; background: var(--lime); }
.links {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 11px;
  padding: 0 clamp(32px, 5vw, 84px) 24px;
}
.links::before {
  content: "";
  position: absolute;
  inset: -40px 7% -20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(121, 135, 102, .12), transparent 70%);
}
.float-wrap { animation: bob 5.5s ease-in-out infinite; }
.float-wrap:nth-child(2) { animation-delay: -1.7s; }
.float-wrap:nth-child(3) { animation-delay: -3.4s; }
.float-wrap:hover, .float-wrap:focus-within { animation-play-state: paused; }
.link-card {
  --accent: #e5fb55;
  --glow: rgba(229, 251, 85, .18);
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 91px;
  width: 100%;
  padding: 9px 18px 9px 11px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, #24272a);
  border-radius: 17px;
  background: linear-gradient(113deg, color-mix(in srgb, var(--accent) 14%, #1a1c1f), #191c1e 70%);
  box-shadow: 0 16px 25px rgba(0, 0, 0, .34), 0 7px 34px var(--glow);
  transform: perspective(1000px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.card-whatsapp { --accent: #68dcd1; --glow: rgba(104, 220, 209, .17); }
.card-quote { --accent: #ffb870; --glow: rgba(255, 184, 112, .17); }
.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  background: radial-gradient(300px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 24%, transparent), transparent 68%);
  transition: opacity .25s ease;
}
.link-card::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .75;
}
.link-card:hover, .link-card:focus-visible {
  --lift: -8px;
  border-color: var(--accent);
  box-shadow: 0 26px 42px rgba(0, 0, 0, .42), 0 13px 45px var(--glow);
}
.link-card:hover::before, .link-card:focus-visible::before { opacity: 1; }
.link-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.link-card:active { --lift: -2px; }
.card-photo {
  position: relative;
  width: 72px;
  height: 72px;
  flex: none;
  overflow: hidden;
  border-radius: 11px;
  background: #393f40;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 65%, transparent);
}
.card-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -16px 21px rgba(0, 0, 0, .18); }
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.1);
  transition: transform .4s ease;
}
.card-courses .card-photo img { filter: grayscale(1) contrast(1.1); }
.link-card:hover .card-photo img, .link-card:focus-visible .card-photo img { transform: scale(1.22); }
.card-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-index { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.card-copy strong {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.card-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--accent) 75%, transparent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform .25s ease, color .25s ease, background .25s ease;
}
.link-card:hover .card-arrow, .link-card:focus-visible .card-arrow {
  transform: rotate(45deg);
  color: #111415;
  background: var(--accent);
}
.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .34;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple .65s ease-out forwards;
}
.footer-note {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  padding: 0 clamp(32px, 5vw, 84px) 28px;
  color: #9da39c;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.footer-note span { color: var(--lime); margin: 0 6px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10;
  width: min(calc(100% - 32px), 420px);
  padding: 14px 18px;
  border: 1px solid rgba(229, 251, 85, .5);
  border-radius: 12px;
  background: #242725;
  color: var(--text);
  text-align: center;
  font-size: .92rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photoReveal { from { opacity: .25; transform: scale(1.1); } to { opacity: 1; transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(27); } }

@media (max-width: 1100px) and (min-width: 761px) {
  .page { grid-template-columns: minmax(450px, 56%) minmax(0, 44%); }
  h1 { font-size: clamp(6.3rem, 10vw, 8.5rem); }
}
@media (max-width: 760px) {
  .page { display: flex; flex-direction: column; width: 100%; min-height: 100svh; padding: 0 17px; }
  .showcase { order: 0; flex: none; min-height: 0; height: clamp(260px, 33svh, 325px); margin: 0 -17px; }
  .showcase > img { object-position: 50% 14%; }
  .showcase::before { background: linear-gradient(0deg, #0d0e10 0%, rgba(13, 14, 16, .74) 14%, transparent 56%); }
  .showcase::after { inset: 14px 17px; border-bottom: 0; }
  .showcase-top { top: 27px; left: 33px; font-size: 1.85rem; }
  .showcase-bottom { display: none; }
  .profile { order: 1; z-index: 2; align-self: auto; margin-top: -77px; padding: 0 0 20px; }
  .kicker { margin-bottom: 10px; font-size: .75rem; }
  .kicker::before { width: 20px; }
  h1 { margin-bottom: 21px; font-size: clamp(4.45rem, 18vw, 7rem); }
  .tagline { font-size: clamp(1.7rem, 7vw, 2.5rem); }
  .links { order: 2; gap: 9px; padding: 0 0 20px; }
  .link-card { min-height: 82px; padding: 7px 12px 7px 8px; gap: 12px; border-radius: 15px; }
  .card-photo { width: 64px; height: 64px; border-radius: 9px; }
  .card-copy strong { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .card-arrow { width: 33px; height: 33px; }
  .footer-note { order: 3; padding: 0 0 18px; font-size: .75rem; }
}
@media (max-width: 390px) {
  .page { padding: 0 13px; }
  .showcase { margin: 0 -13px; height: 240px; }
  .profile { margin-top: -67px; }
  .link-card { min-height: 74px; gap: 9px; }
  .card-photo { width: 58px; height: 58px; }
  .card-copy strong { font-size: 1.55rem; }
  .card-arrow { width: 29px; height: 29px; }
}
@media (max-height: 730px) and (max-width: 760px) {
  .showcase { height: 218px; }
  .profile { margin-top: -59px; padding-bottom: 14px; }
  .links { gap: 7px; }
  .link-card { min-height: 69px; }
  .card-photo { width: 53px; height: 53px; }
  .footer-note { padding-bottom: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .link-card { transform: none !important; }
}
