:root {
  --ink: #11130f;
  --paper: #f0eee8;
  --acid: #d8ff47;
  --blue: #8193bf;
  --line: rgba(17, 19, 15, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hub {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(10px, 1vw, 16px);
  width: 100%;
  height: 100svh;
  padding: clamp(10px, 1vw, 16px);
  overflow: hidden;
}

.profile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #252724;
  border-radius: clamp(18px, 2vw, 30px);
  isolation: isolate;
}

.profile__photo,
.profile__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile__photo {
  z-index: -3;
  object-fit: cover;
  object-position: 49% center;
  filter: saturate(0.92) contrast(1.04) brightness(0.97);
  transform: scale(1.015);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 700ms ease;
}

.profile__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.1) 0%, rgba(5, 8, 6, 0.02) 38%, rgba(5, 8, 6, 0.93) 100%),
    linear-gradient(90deg, rgba(5, 8, 6, 0.2), transparent 65%);
}

.profile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.eyebrow,
.route__label,
.route__number,
.route__action {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(22px, 3vw, 46px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  line-height: 1.35;
}

.profile h1 {
  max-width: 8em;
  margin: 0;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 650;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.profile__intro {
  max-width: 38em;
  margin: clamp(18px, 2.2vh, 28px) 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.5;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: clamp(16px, 2.2vh, 26px);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 126px;
  padding: 11px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
  outline: none;
}

.directions {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 1.3vw, 20px);
  min-width: 0;
  min-height: 0;
  padding: clamp(8px, 0.6vw, 12px) 0 0;
}

.directions__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(6px, 1vw, 16px) clamp(4px, 0.7vw, 10px) 0;
  color: var(--paper);
}

.eyebrow--dark {
  margin-bottom: clamp(10px, 1.3vh, 16px);
  color: rgba(240, 238, 232, 0.52);
}

.directions h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(26px, 3.25vw, 52px);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.large-break {
  display: none;
}

.routes {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.14fr) minmax(0, 0.98fr);
  gap: clamp(8px, 0.9vw, 14px);
  min-height: 0;
}

.route {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 0;
  padding: clamp(18px, 2vw, 30px);
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 30px);
  text-decoration: none;
  isolation: isolate;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}

.route:hover,
.route:focus-visible {
  z-index: 2;
  filter: brightness(1.02);
  outline: none;
  transform: translateY(-6px);
}

.route--writing {
  color: var(--ink);
  background: var(--paper);
}

.route--consulting {
  color: var(--ink);
  background: var(--acid);
}

.route--mentoring {
  color: #f8f6f0;
  background: var(--blue);
}

.route__number {
  align-self: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  opacity: 0.72;
}

.route__content {
  margin-top: auto;
  margin-bottom: clamp(22px, 4vh, 54px);
}

.route__label {
  margin: 0 0 clamp(10px, 1.4vh, 17px);
  opacity: 0.64;
  line-height: 1.35;
}

.route h3 {
  margin: 0;
  font-size: clamp(22px, 2.25vw, 36px);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.route__text {
  margin: clamp(14px, 2vh, 22px) 0 0;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.48;
  opacity: 0.72;
}

.route__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid currentColor;
}

.route__action b {
  font-size: 20px;
  font-weight: 400;
  transition: transform 200ms ease;
}

.route:hover .route__action b,
.route:focus-visible .route__action b {
  transform: translate(3px, -3px);
}

@media (max-width: 920px) {
  .hub {
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  }

  .routes {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 0.88fr) minmax(0, 1.14fr) minmax(0, 0.98fr);
  }

  .route {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding: 16px 18px;
  }

  .route__number,
  .route__content,
  .route__action {
    margin: 0;
  }

  .route__content {
    align-self: center;
  }

  .route__label {
    margin-bottom: 7px;
  }

  .route h3 {
    font-size: clamp(18px, 2.6vw, 25px);
  }

  .route__text {
    display: none;
  }

  .route__action {
    min-width: 126px;
  }
}

@media (max-width: 700px) {
  .hub {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 38fr) minmax(0, 62fr);
    gap: 8px;
    padding: 8px;
  }

  .profile {
    border-radius: 20px;
  }

  .profile__photo {
    right: 0;
    left: auto;
    width: 60%;
    object-position: 50% 32%;
  }

  .profile__shade {
    background:
      linear-gradient(90deg, #050806 0%, rgba(5, 8, 6, 0.98) 40%, rgba(5, 8, 6, 0.72) 58%, rgba(5, 8, 6, 0.08) 100%),
      linear-gradient(180deg, rgba(5, 8, 6, 0.02) 0%, rgba(5, 8, 6, 0.12) 42%, rgba(5, 8, 6, 0.94) 76%, #050806 100%);
  }

  .profile__copy {
    width: 100%;
    padding: 16px;
  }

  .profile .eyebrow {
    max-width: 58%;
    margin-bottom: 8px;
    font-size: 8px;
  }

  .profile h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 0.86;
  }

  .profile__intro {
    display: block;
    max-width: 100%;
    margin-top: 10px;
    overflow: visible;
    font-size: 10px;
    line-height: 1.35;
  }

  .socials {
    gap: 5px;
    margin-top: 10px;
    width: 100%;
  }

  .socials a {
    min-width: 0;
    padding: 7px 9px;
    gap: 8px;
    font-size: 9px;
  }

  .directions {
    gap: 7px;
    padding-top: 0;
  }

  .directions__head {
    align-items: center;
    padding: 3px 4px 0;
  }

  .eyebrow--dark {
    display: none;
  }

  .directions h2 {
    max-width: 27em;
    font-size: clamp(16px, 4.8vw, 22px);
    line-height: 1;
  }

  .routes {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1.08fr 0.92fr;
    gap: 7px;
  }

  .route {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 13px;
    border-radius: 18px;
  }

  .route--consulting {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .route--writing {
    grid-column: 1;
    grid-row: 2;
  }

  .route--mentoring {
    grid-column: 2;
    grid-row: 2;
  }

  .route__number {
    padding-bottom: 5px;
    font-size: 8px;
  }

  .route__content {
    margin-top: auto;
    margin-bottom: 10px;
  }

  .route__label {
    margin-bottom: 5px;
    font-size: 7px;
    line-height: 1.2;
  }

  .route h3 {
    font-size: clamp(15px, 4.25vw, 20px);
    line-height: 0.98;
  }

  .route--consulting h3 {
    max-width: 17em;
    font-size: clamp(20px, 6vw, 27px);
  }

  .route__text {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.26;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .route--writing .route__text,
  .route--mentoring .route__text {
    display: none;
  }

  .route__action {
    min-width: 0;
    padding-top: 7px;
    font-size: 7px;
  }

  .route__action b {
    font-size: 13px;
  }

  .route:hover,
  .route:focus-visible {
    transform: none;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .profile__intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .route__content {
    margin-bottom: 20px;
  }

  .directions h2 {
    font-size: clamp(25px, 3vw, 42px);
  }
}

@media (max-height: 680px) and (max-width: 700px) {
  .hub {
    grid-template-rows: minmax(0, 34fr) minmax(0, 66fr);
  }

  .profile__intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .directions h2 {
    font-size: 15px;
  }

  .route h3 {
    font-size: 14px;
  }

  .route--consulting h3 {
    font-size: 19px;
  }
}

@media (min-width: 1800px) and (min-height: 900px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hub {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 2200px;
    height: 100svh;
    max-height: 1120px;
    padding: 16px;
  }

  .profile__photo {
    object-position: 43% center;
    transform: scale(1);
  }

  .profile__copy {
    padding: 36px;
  }

  .profile h1 {
    font-size: 68px;
  }

  .profile__intro {
    font-size: 14px;
  }

  .directions {
    align-self: start;
    width: 100%;
    height: 100%;
    max-height: 980px;
    gap: 18px;
  }

  .directions__head {
    padding: 8px 8px 0;
  }

  .directions h2 {
    max-width: 1280px;
    font-size: 48px;
  }

  .large-break {
    display: inline;
  }

  .routes {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 14px;
  }

  .route {
    padding: 28px;
  }

  .route__content {
    margin-top: auto;
    margin-bottom: auto;
    padding: 28px 0;
    transform: translateY(-42px);
  }

  .route__label {
    font-size: 11px;
  }

  .route h3 {
    font-size: clamp(30px, 1.55vw, 38px);
  }

  .route__text {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
