* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background:
    radial-gradient(
      circle at top right,
      rgba(245, 158, 11, 0.12),
      transparent 28rem
    ),
    var(--bg);

  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: 120px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 28px;

  backdrop-filter: blur(18px);

  background:
    rgba(11, 11, 13, 0.76);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: var(--accent);
  color: #111;

  font-weight: 900;
}

.brand-name {
  font-size: 1.05rem;
}

.topnav {
  display: flex;
  gap: 10px;
}

.nav-btn,
.icon-btn {
  border: 1px solid var(--line);

  background: var(--panel);
  color: var(--text);

  border-radius: 999px;

  padding: 10px 15px;
}

.nav-btn:hover,
.icon-btn:hover {
  border-color: #44444e;
}

.nav-btn.secondary {
  color: var(--muted);
}

.bookmark-tip {
  position: fixed;
  top: 82px;
  right: 24px;

  z-index: 12;

  border:
    1px solid rgba(245, 158, 11, 0.35);

  background:
    rgba(245, 158, 11, 0.1);

  color: #ffd48a;

  border-radius: 999px;

  padding: 9px 14px;
}

.page-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 340px;

  display: flex;
  align-items: end;

  padding: 88px 0 52px;
}

.eyebrow,
.block-label {
  color: var(--accent);

  font-size: 0.73rem;
  font-weight: 800;

  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 800px;

  margin: 10px 0 16px;

  font-size:
    clamp(
      2.7rem,
      7vw,
      6.2rem
    );

  line-height: 0.95;

  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: 1.05rem;
  line-height: 1.7;
}

.block {
  position: relative;

  overflow: hidden;

  min-height: 220px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background:
    linear-gradient(
      180deg,
      var(--panel-2),
      var(--panel)
    );

  padding: 26px;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.18);
}

.block:hover {
  border-color: #3a3a43;
}

.block-drag {
  display: none;

  position: absolute;

  top: 15px;
  right: 17px;

  color: #777783;

  letter-spacing: -3px;

  user-select: none;

  cursor: grab;
}

.editing .block-drag {
  display: block;
}

.editing .block {
  outline:
    1px dashed rgba(245, 158, 11, 0.55);
}

.avatar {
  flex: 0 0 auto;

  width: 116px;
  height: 116px;

  display: grid;
  place-items: center;

  border-radius: 32px;

  background: var(--accent);
  color: #161616;

  font-size: 2rem;
  font-weight: 900;
}

.profile-copy h2,
.note-block h3,
.contact-block h3 {
  margin: 8px 0 10px;

  letter-spacing: -0.025em;
}

.profile-copy h2 {
  font-size: 2.2rem;
}

.profile-copy p,
.note-block p {
  color: var(--muted);

  line-height: 1.6;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 18px;
}

.pill {
  padding: 7px 11px;

  border: 1px solid var(--line);

  border-radius: 999px;

  color: #d3d3d8;

  font-size: 0.82rem;
}

.link-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 10px;

  margin-top: 18px;
}

.link-grid a,
.action-btn {
  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 72px;

  border-radius: 18px;

  background: #232329;

  border: 1px solid #303038;

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.link-grid a:hover,
.action-btn:hover {
  transform: translateY(-2px);

  border-color:
    rgba(245, 158, 11, 0.55);
}

.video-shell {
  margin-top: 18px;

  aspect-ratio: 16 / 9;

  background: #0f0f12;

  border: 1px solid #292930;

  border-radius: 18px;

  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 100%;

  display: grid;

  place-items: center;
  align-content: center;

  gap: 12px;

  color: var(--muted);
}

.play-button {
  width: 64px;
  height: 64px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--accent);

  color: #131313;

  padding-left: 4px;
}

.contact-actions {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 10px;

  margin-top: 18px;
}

.action-btn {
  min-height: 56px;
}

.search-dock {
  position: fixed;

  left: 0;
  right: 0;

  bottom: 22px;

  z-index: 20;

  pointer-events: none;
}

.search-bar {
  pointer-events: auto;

  width:
    min(
      760px,
      calc(100% - 32px)
    );

  margin: 0 auto;

  display: flex;

  align-items: center;

  gap: 10px;

  padding:
    10px
    10px
    10px
    18px;

  border: 1px solid #35353e;

  background:
    rgba(
      24,
      24,
      29,
      0.94
    );

  backdrop-filter: blur(22px);

  border-radius: 999px;

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.35);
}

.search-icon {
  color: var(--muted);
}

.search-bar input {
  flex: 1;
  min-width: 0;

  border: none;
  outline: none;

  color: var(--text);

  background: transparent;
}

.search-bar input::placeholder {
  color: #777783;
}

.search-bar button {
  border: none;

  background: var(--accent);

  color: #171717;

  border-radius: 999px;

  padding: 11px 18px;

  font-weight: 800;
}

.modal-backdrop {
  position: fixed;

  inset: 0;

  z-index: 50;

  display: grid;
  place-items: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, 0.66);

  backdrop-filter: blur(8px);
}

.hidden {
  display: none !important;
}

.modal {
  width: min(640px, 100%);

  border: 1px solid #34343c;

  border-radius: 26px;

  background: #151519;

  padding: 22px;
}

.modal-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;

  padding: 0;

  font-size: 1.5rem;
}

.block-picker {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}

.picker-card {
  text-align: left;

  min-height: 120px;

  border: 1px solid #303038;

  border-radius: 18px;

  background: #202025;

  color: var(--text);

  padding: 18px;
}

.picker-card strong,
.picker-card span {
  display: block;
}

.picker-card span {
  margin-top: 8px;

  color: var(--muted);

  line-height: 1.5;
}

.dragging {
  opacity: 0.42;
}