@font-face {
  font-family: "Inter";
  font-weight: 400 600;
  font-display: optional;
  src: url("fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-display: optional;
  src: url("fonts/poppins-800.woff2") format("woff2");
}

:root {
  --ink: #161616;
  --ink-2: #4a4a4a;
  --ink-3: #767b80;
  --line: #e5e7e9;
  --line-2: #d8dbde;
  --paper: #ffffff;
  --page: #fafbfb;
  --coral: #c9501f; /* 4.6:1 on white - passes AA for text */
  --coral-bright: #d95a2b; /* used for large fills only */
  --radius: 16px;

  --display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shell: min(760px, 100% - 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

svg:has(> symbol) {
  display: none;
}

a {
  color: var(--coral);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  z-index: 20;
}
.skip:focus {
  left: 0;
}

main {
  flex: 1 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 3.5rem;
}

.hero {
  margin-bottom: 1.75rem;
}

.hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.05rem, 6.2vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.7rem;
}

.hero__position {
  margin: 0;
  /* 52ch left "revenue." orphaned on a third row; 58ch fits it in two
     without pushing the measure past comfortable reading width */
  max-width: 58ch;
  font-size: clamp(1rem, 2.4vw, 1.075rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-2);
}

.twin {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -20px rgba(20, 20, 20, 0.42);
  padding: clamp(1.1rem, 3.5vw, 1.35rem);
}

.twin__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.twin__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-bright);
  flex: none;
}

.ask {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.ask__input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 0.75rem 0.9rem;
}
.ask__input::placeholder {
  color: #a4a9ad;
}
.ask__input:focus-visible {
  outline-offset: 1px;
  border-color: transparent;
}

.ask__send {
  flex: none;
  width: 46px;
  height: 46px;
  border: none;
  /* rounded square, not a circle: the only other circle on the site is the
     live dot, and every other control is a rounded rectangle */
  border-radius: 11px;
  background: var(--coral-bright);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(217, 90, 43, 0.85);
  transition: background 0.15s ease, transform 0.15s ease;
}
.ask__send:hover {
  background: #b8481b;
}
.ask__send:active {
  transform: scale(0.94);
}
.ask__send[disabled] {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}
.ask__send svg {
  width: 18px;
  height: 18px;
}

/* The one element that swaps content in place.
   min-height is reserved so the card never jumps. */
.slot {
  min-height: 1.35rem;
  margin: 0.8rem 0.15rem 0;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.slot__link {
  color: var(--coral);
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid #eec8b4;
  padding: 0 0 1px;
  background: none;
  font: inherit;
  cursor: pointer;
}
.slot__link:hover {
  border-bottom-color: var(--coral);
}

.slot__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-3);
}

.dots {
  display: inline-flex;
  gap: 4px;
}
.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c3c7cb;
  animation: bob 1s infinite;
}
.dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes bob {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.twin__hint {
  margin: 0.7rem 0.15rem 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.twin__noscript {
  margin: 0.15rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.thread:not(:empty) {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #eef0f1;
}

.exchange {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  animation: reveal 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.exchange__q {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.exchange__q span {
  flex: none;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.exchange__a {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-2);
  min-height: 1.4rem;
}
.exchange__a p {
  margin: 0 0 0.7rem;
}
.exchange__a p:last-child {
  margin-bottom: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.link:hover {
  background: #fbfbfc;
  border-color: #c6cace;
}
.link svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.link--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.link--primary:hover {
  background: #000;
  border-color: #000;
}

.about {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: start;
}
@media (max-width: 560px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about__photo {
    width: 150px;
  }
}

.about__photo {
  width: 168px;
  height: auto; /* without this the HTML height attribute wins and the box goes tall */
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #eceff1;
}

.about__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5.5vw, 2.15rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0 0 0.25rem;
}

.about__role {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-3);
}

.about__lede {
  margin: 0 0 1rem;
  max-width: 54ch;
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.about p:not(.about__role):not(.about__lede):not(.about__closing) {
  margin: 0 0 0.9rem;
  max-width: 62ch;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-2);
}

/* the closing opinion - marked as a separate thought, not another bio fact */
.about__closing {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

/* quiet internal link. Deliberately not a button: the profile row below is
   the set of exits, and this should not compete with them. */
.more {
  margin: 1.1rem 0.15rem 0;
}
.more a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}
.more svg {
  width: 14px;
  height: 14px;
}

.more a,
.foot a {
  font-weight: 600;
  text-decoration: none;
}
.more a:hover,
.foot a:hover {
  text-decoration: underline;
}

.foot {
  flex: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1.1rem 0;
}

.foot .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.foot a {
  color: var(--coral);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
