.shero { padding-bottom: clamp(64px, 8vw, 104px); }
.shero__wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.shero .phero__title { font-size: clamp(2.6rem, 4.9vw, 4.5rem); }
.shero__handle { color: var(--muted); }
.shero__handle > span { position: relative; }
.shero__handle > span::after {
  content: "";
  position: absolute;
  left: .04em; right: .02em; bottom: .02em;
  height: .07em;
  background: currentColor;
  opacity: .35;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease) .5s;
}
.reveal.in .shero__handle > span::after { transform: scaleX(1); }

.shero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 32px;
}

.pcard {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.pcard__cover {
  position: relative;
  height: 118px;
  background: var(--band);
  overflow: hidden;
}
.pcard__bars {
  position: absolute;
  left: 0; top: 50%;
  width: 78%;
  --bars-h: 56px;
  transform: translateY(-50%);
  color: var(--band-ink);
  opacity: .9;
  transition: width .9s var(--ease);
}
.pcard:hover .pcard__bars { width: 92%; }
.pcard__body { position: relative; padding: 0 24px 24px; }
.pcard__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -36px;
}
.pcard__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  padding: 14px;
  border: 4px solid var(--surface);
  border-radius: var(--r);
  background: #292929;
  box-shadow: var(--sh-2);
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard__avatar { transform: rotate(-5deg); }
.pcard__avatar img { width: 100%; height: 100%; object-fit: contain; }
.pcard__copy { height: 38px; font-family: var(--font); font-size: .82rem; font-weight: 600; }
.pcard__name {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.pcard__handle {
  display: block;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--faint);
}
.pcard__bio {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.45;
  color: var(--ink-2);
}
.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
}
.pcard__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--muted);
}
.pcard__brands {
  display: flex;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pcard__brands img {
  width: 30px; height: 30px;
  border: 2px solid var(--surface);
  border-radius: 7px;
  transition: transform .45s var(--ease);
}
.pcard__brands img + img { margin-left: -8px; }
.pcard:hover .pcard__brands img:nth-child(1) { transform: translateX(-3px) rotate(-6deg); }
.pcard:hover .pcard__brands img:nth-child(3) { transform: translateX(3px) rotate(6deg); }
.pcard__brands span {
  margin-left: 12px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

.dock {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.dock__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transform-origin: 50% 100%;
  transition: scale .35s var(--ease), translate .35s var(--ease), background-color .25s var(--ease-2), color .25s var(--ease-2);
}
.dock__item:hover,
.dock__item:focus-visible { scale: 1.26; translate: 0 -6px; background: var(--ink); color: var(--bg); }
.dock__item:hover + .dock__item,
.dock__item:has(+ .dock__item:hover) { scale: 1.1; translate: 0 -2px; }
.dock__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 4px 9px;
  border-radius: var(--r-xs);
  background: var(--ink);
  color: var(--bg);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .2s var(--ease-2), transform .25s var(--ease);
}
.dock__item:hover .dock__tip,
.dock__item:focus-visible .dock__tip { opacity: 1; transform: translate(-50%, 0); }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
}
.bento__cell { display: flex; }
.bento__cell--discord { grid-column: span 2; grid-row: span 2; }
.bento__cell--wide { grid-column: 1 / -1; }

.tile {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .7s var(--ease);
}
a.tile:hover::before,
a.tile:focus-visible::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
a.tile:hover,
a.tile:focus-visible { color: var(--bg); border-color: var(--ink); box-shadow: var(--sh-3); }

.tile__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .6s var(--ease);
}
a.tile:hover .tile__ico { background: var(--bg); color: var(--ink); border-color: var(--bg); transform: rotate(-6deg) scale(1.06); }
.tile__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .55s var(--ease), border-color .45s var(--ease);
}
a.tile:hover .tile__go { transform: rotate(45deg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }

.tile__main { display: flex; flex-direction: column; align-items: flex-start; }
.tile__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.tile__handle {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--faint);
  transition: color .45s var(--ease);
}
.tile__desc {
  margin-top: 12px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--muted);
  transition: color .45s var(--ease);
}
.tile__act {
  position: relative;
  margin-top: 16px;
  font-size: .84rem;
  font-weight: 600;
}
.tile__act::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(.3);
  transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
a.tile:hover .tile__act::after { transform: scaleX(1); }
a.tile:hover .tile__handle { color: color-mix(in srgb, var(--bg) 62%, transparent); }
a.tile:hover .tile__desc { color: color-mix(in srgb, var(--bg) 80%, transparent); }

.tile--wide {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.tile--wide .tile__top { flex-direction: column; justify-content: center; align-self: stretch; }
.tile--wide .tile__go { display: none; }
.tile--wide .tile__desc { margin-top: 8px; }
.tile__code {
  align-self: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: .82rem;
  white-space: nowrap;
  color: var(--ink-2);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.tile__code b { color: var(--faint); font-weight: 500; margin-right: 6px; }
a.tile:hover .tile__code { background: color-mix(in srgb, var(--bg) 8%, transparent); border-color: color-mix(in srgb, var(--bg) 20%, transparent); color: var(--bg); }
a.tile:hover .tile__code b { color: color-mix(in srgb, var(--bg) 55%, transparent); }

.tile--discord {
  padding: clamp(24px, 3vw, 36px);
  background: var(--band);
  border-color: var(--band);
  color: var(--band-ink);
}
.tile--discord::before { background: #4a55e0; }
.tile--discord:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.tile--discord:hover { box-shadow: var(--sh-3); }
.tile--discord .eyebrow { color: var(--band-muted); transition: color .45s var(--ease); }
.tile--discord .eyebrow::before { background: var(--band-line); }
.tile--discord:hover .eyebrow { color: rgba(255, 255, 255, .9); }
.tile--discord .tile__top { justify-content: flex-start; gap: 16px; }
.tile--discord .tile__ico { width: 56px; height: 56px; background: rgba(228, 226, 221, .08); border-color: var(--band-line); color: var(--band-ink); }
.tile--discord:hover .tile__ico { background: #fff; border-color: #fff; color: #4a55e0; transform: rotate(-6deg) scale(1.06); }
.tile__motif {
  position: absolute;
  z-index: -1;
  right: -6%; top: 22%;
  width: 62%;
  --bars-h: clamp(100px, 12vw, 160px);
  color: var(--band-ink);
  opacity: .06;
  pointer-events: none;
  transition: opacity .5s var(--ease-2), width .9s var(--ease);
}
.tile--discord:hover .tile__motif { opacity: .14; width: 72%; color: #fff; }
.tile__title {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -.042em;
  line-height: 1.04;
  text-wrap: balance;
}
.tile--discord .tile__desc { max-width: 46ch; margin-top: 14px; font-size: .95rem; color: var(--band-muted); }
.tile--discord:hover .tile__desc { color: rgba(255, 255, 255, .92); }
.tile__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 22px;
}
.tile__stats div {
  padding: 14px 16px;
  border: 1px solid var(--band-line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .14);
  transition: border-color .45s var(--ease);
}
.tile--discord:hover .tile__stats div { border-color: rgba(255, 255, 255, .28); }
.tile__stats b { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.tile__stats span { display: block; margin-top: 3px; font-size: .78rem; line-height: 1.5; color: var(--band-muted); transition: color .45s var(--ease); }
.tile--discord:hover .tile__stats span { color: rgba(255, 255, 255, .88); }
.tile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  margin-top: 24px;
}
.tile__cta { height: 48px; padding: 0 22px; background: var(--band-ink); color: var(--band); font-weight: 600; }
.tile__cta:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.tile--discord:hover .tile__cta { background: #fff; color: #3c45a5; }
.tile__codelabel {
  display: block;
  margin-bottom: 6px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--band-muted);
  transition: color .45s var(--ease);
}
.tile--discord:hover .tile__codelabel { color: rgba(255, 255, 255, .85); }

.copy--band {
  border-color: rgba(228, 226, 221, .24);
  color: var(--band-ink);
  background: transparent;
}
.copy--band:hover { border-color: rgba(228, 226, 221, .5); color: #fff; background: rgba(255, 255, 255, .06); }
.copy--band .copy__tip { background: var(--band-ink); color: var(--band); }

.row__ico--cezer { padding: 6px; background: var(--surface-2); }
.row__mark--light { display: none; }
html[data-theme="dark"] .row__mark--dark { display: none; }
html[data-theme="dark"] .row__mark--light { display: block; }
.row__ico--cezer img { object-fit: contain; }

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--band-line);
  border-radius: var(--r);
  background: var(--band);
  overflow: hidden;
}
.contact__cell {
  position: relative;
  padding: clamp(26px, 3.4vw, 40px);
  color: var(--band-ink);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(228, 226, 221, 0), transparent 55%);
  transition: background-color .3s var(--ease-2);
}
.contact__cell + .contact__cell { border-left: 1px solid var(--band-line); }
.contact__cell.is-tilting { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(228, 226, 221, .08), transparent 55%); }
.contact__n {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--band-muted);
}
.contact__cell h3 {
  margin-top: 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -.03em;
  color: var(--band-ink);
}
.contact__cell p {
  margin-top: 10px;
  max-width: 46ch;
  font-size: .9rem;
  line-height: 1.66;
  color: var(--band-muted);
}
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.contact__btn { background: var(--band-ink); color: var(--band); height: 40px; }
.contact__btn:hover { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .7); }
.contact__actions .copy { height: 40px; }

@media (max-width: 1023px) {
  .shero__wrap { grid-template-columns: 1fr; gap: 40px; }
  .shero__side { max-width: 460px; }
  .shero .phero__title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .shero__row { gap: 12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .bento__cell--discord { grid-column: 1 / -1; grid-row: auto; }
  .tile { min-height: 220px; }
  .tile--discord { min-height: 0; }
  .tile--wide { grid-template-columns: auto minmax(0, 1fr); min-height: 0; }
  .tile__code { display: none; }
  .contact { grid-template-columns: 1fr; }
  .contact__cell + .contact__cell { border-left: 0; border-top: 1px solid var(--band-line); }
}

@media (max-width: 600px) {
  .dock { width: 100%; justify-content: space-between; }
  .dock__item { width: 42px; height: 42px; }
  .dock__item:hover, .dock__item:focus-visible { scale: 1; translate: none; }
  .dock__item:hover + .dock__item, .dock__item:has(+ .dock__item:hover) { scale: 1; translate: none; }
  .dock__tip { display: none; }
  .pcard__body { padding: 0 18px 20px; }
  .pcard__avatar { width: 72px; height: 72px; padding: 12px; }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile--wide { grid-template-columns: 1fr; }
  .tile--wide .tile__top { flex-direction: row; justify-content: space-between; }
  .tile--wide .tile__go { display: inline-flex; }
  .tile__stats { grid-template-columns: 1fr; }
  .tile__actions { flex-direction: column; align-items: stretch; }
  .tile__cta { width: 100%; justify-content: center; }
  .tile--discord .copy { width: 100%; justify-content: center; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .contact__actions .btn, .contact__actions .copy { width: 100%; justify-content: center; }
}
