/* Contact (rallix.io/contact), on top of styles.css: the same white ground,
   chalk panel and ink type. The address is the page's one object, set as
   large as a headline on the chalk; the founders follow, then where each
   kind of message goes, as the partners page lists who it is for. */

/* --------------------------------------------------------------- hero --- */

.c-hero { padding-top: 156px; }
.c-hero h1 { max-width: 13ch; font-size: clamp(44px, 5.6vw, 80px); text-wrap: balance; }
.c-hero .lede { margin-top: 24px; max-width: 34em; text-wrap: pretty; }

.address {
  margin-top: 48px; padding: 40px 44px 44px;
  border-radius: var(--r-panel); background: var(--chalk);
}
.address-label { font-size: 17px; font-weight: 600; letter-spacing: -0.014em; color: var(--slate); }
.address-mail {
  display: inline-block; margin-top: 6px;
  font-size: clamp(36px, 7vw, 104px); line-height: 1.04; font-weight: 700; letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 3px; text-underline-offset: 0.14em;
  transition: text-decoration-color 200ms ease;
}
.address-mail:hover { text-decoration-color: var(--lime); }
.address-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* The quiet button on chalk turns white, so it still reads as a button. */
.address .btn-quiet { background: var(--paper); }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.address [data-copy] { min-width: 160px; } /* "Copied" keeps the button's width */
.address .btn-quiet:hover { background: #FFFFFF; box-shadow: 0 8px 20px -12px rgba(10, 12, 15, 0.35); }

.address-note { align-self: center; margin-left: 8px; font-size: 15px; color: var(--slate); }
.c-hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 20px; }
.c-hero-note { font-size: 15px; color: var(--ash); }
.c-hero-note a, .fineprint a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.motion .c-hero h1.rise { animation-delay: 60ms; }
.motion .c-hero .lede.rise { animation-delay: 180ms; }
.motion .address.rise { animation-delay: 280ms; }
.motion .c-hero-foot.rise { animation-delay: 360ms; }

@media (max-width: 680px) {
  .c-hero { padding-top: 120px; }
  .address { margin-top: 36px; padding: 28px 22px 26px; border-radius: 26px; }
  .address-actions { margin-top: 24px; }
  .address-actions .btn { flex: 1 1 auto; }
  .address-note { margin-left: 0; }
}

/* ----------------------------------------------------------- founders --- */

.founders-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: start; }
.founders h2 { font-size: clamp(38px, 4.4vw, 56px); max-width: 8ch; }
.founder-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.founder-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 28px; background: var(--chalk);
}
.founder h3 { margin-top: 20px; font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -0.028em; }
.founder-role { margin-top: 4px; font-size: 17px; color: var(--slate); }
.founder-bio { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }

/* A small chalk pill: a profile, a booking, the page's socials. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* The cards share a row, so their links line up whatever the bio's length. */
.founder { display: flex; flex-direction: column; align-items: flex-start; }
.founder .chips { margin-top: auto; padding-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--chalk);
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color 200ms ease;
}
.chip:hover { background: #E6E9ED; }
.chip svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 880px) {
  .founders-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .founders h2 { max-width: none; }
}
/* On a phone the bios need the width, so the founders stack. */
@media (max-width: 600px) {
  .founder-list { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .founder-photo { border-radius: 24px; }
}

/* ------------------------------------------------------------- topics --- */

/* The partners page's who-list: a hairline with an ink lead, the kind of
   message, then where it goes. */
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.topic-list li { position: relative; padding-top: 24px; border-top: 1px solid var(--rule); }
.topic-list li::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--ink); }
.topic-list h3 { font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -0.028em; }
.topic-list p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--slate); max-width: 40ch; }
.topic-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; }
.topic-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.014em;
}
.topic-links .topic-link { margin-top: 0; }
.topic-link::after { content: "→"; transition: translate 200ms var(--ease); }
.topic-link:hover::after { translate: 4px 0; }
.topics .fineprint { margin-top: 96px; }

@media (max-width: 760px) {
  .topic-list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .topics .fineprint { margin-top: 64px; }
}

.topics { padding-bottom: 40px; }
