/* Deep Thread Media, partnerships site.
   Salon direction. Single theme by design, see
   docs/superpowers/specs/2026-07-28-marketing-site-design.md */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya-sans-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya-sans-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #FBFAF7;
  --text: #1B1917;
  --soft: #6B675F;
  --hair: #E2DED6;

  --display: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  --body: "Alegreya Sans", Optima, "Avenir Next", "Helvetica Neue", sans-serif;

  /* The offset. Content starts inboard of the page edge at every width. */
  --gutter: clamp(1.5rem, 7vw, 9rem);
  --rhythm: clamp(3.5rem, 11vh, 8rem);
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  max-width: 1440px;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter) clamp(2rem, 6vh, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--rhythm);
}

/* --- masthead --- */

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--text); border-bottom-color: var(--text); }

/* --- hero --- */

main {
  display: flex;
  flex-direction: column;
  gap: var(--rhythm);
  flex: 1;
}

.hero { max-width: 60rem; }

.hero h1 {
  font-family: var(--display);
  /* Root stays 16px, so the 2.75rem minimum is 44px. Comfortably above the
     40px floor where Bodoni's hairlines start to disappear. */
  font-size: clamp(2.75rem, 7.5vw, 5.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  max-width: 15ch;
  text-wrap: balance;
}

.lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--soft);
  max-width: 44ch;
}

/* --- method --- */

.cols {
  list-style: none;
  margin: 0;
  padding: clamp(2rem, 5vw, 3.25rem) 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  /* 11.5rem, not 15rem. At 768px a 15rem minimum resolves to two tracks and
     orphans Activate on a row of its own. 12rem holds three but only clears
     768px by 10px, and where scrollbars take space the gutters are still
     computed from a 7vw that includes the scrollbar, which spends more than
     that and drops it back to two. 11.5rem puts the threshold near 726px. */
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.col { display: flex; flex-direction: column; gap: 0.9rem; }

.col h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0;
}

.col p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--soft);
  max-width: 34ch;
}

/* --- closing --- */

.closing {
  border-top: 1px solid var(--hair);
  padding-top: clamp(2rem, 5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.who {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}

.contact {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 3px;
}

.contact:hover,
.contact:focus-visible { border-bottom-color: var(--text); }

/* --- footer --- */

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  padding-top: 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

/* --- focus --- */

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
