/* Shared Brand Editorial foundation: homepage and professional introduction.
 * The professional adapter keeps the existing Living interaction components. */
.x1p,
.x1-brand-editorial {
  --editorial-paper: #f4efe4;
  --editorial-ink: #16201a;
  --editorial-muted: #48534b;
  --editorial-forest: #101813;
  --editorial-cream: #eee9dd;
  --editorial-clay: #c2573a;
  --editorial-clay-inverse: #e58a68;
  --editorial-rule: color-mix(in srgb, var(--editorial-ink) 22%, transparent);
  --editorial-field: color-mix(
    in srgb,
    var(--editorial-ink) 4%,
    var(--editorial-paper)
  );
  --editorial-surface: color-mix(in srgb, white 48%, var(--editorial-paper));
  --editorial-gutter: max(24px, calc((100% - 1200px) / 2));
  --editorial-section-space: clamp(80px, 10vw, 144px);
}

.x1-brand-living.x1-brand-editorial,
.dark .x1-brand-living.x1-brand-editorial {
  --living-paper: var(--editorial-paper);
  --living-ink: var(--editorial-ink);
  --living-muted: var(--editorial-muted);
  --living-line: var(--editorial-rule);
  --living-subtle-line: var(--editorial-rule);
  --living-field: var(--editorial-field);
  --living-surface: var(--editorial-surface);
  --living-green: var(--editorial-forest);
  --living-action-hover: var(--editorial-muted);
  --living-action-ink: var(--editorial-cream);
  --living-focus: var(--editorial-clay);
  --living-deep: var(--editorial-forest);
  --living-selection: var(--editorial-ink);
  --living-selection-ink: var(--editorial-paper);
  --living-panel-radius: var(--radius);
  --font-display: var(--font-x1p-serif), Georgia, serif;
  --shadow:
    0 24px 60px color-mix(in srgb, var(--editorial-forest) 8%, transparent),
    0 4px 12px color-mix(in srgb, var(--editorial-forest) 5%, transparent);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

/* Publication readers use the same serif face as the homepage narrative. */
.x1-brand-editorial .publication-reading h1,
.x1-brand-editorial .publication-reading h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}

.x1-brand-living.x1-brand-editorial .living-site-nav {
  /* The editorial gutter already centers a 1200px content area. Keeping the
   * Living header's separate max-width applies that gutter twice on wide screens. */
  width: 100%;
  max-width: none;
  padding-inline: var(--editorial-gutter);
  background: var(--editorial-paper);
  border-bottom: 1px solid var(--editorial-rule);
}
.x1-brand-living.x1-brand-editorial .living-practice-hero,
.x1-brand-living.x1-brand-editorial .living-practice-section {
  max-width: none;
  padding: var(--editorial-section-space) var(--editorial-gutter);
}
.x1-brand-living.x1-brand-editorial .living-practice-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(64px, 7vw, 104px) clamp(80px, 8vw, 120px);
}
.x1-brand-living.x1-brand-editorial .living-practice-promise h1 {
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(56px, 6.2vw, 86px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.045em;
}
.x1-brand-living.x1-brand-editorial .editorial-display-lg,
.x1-brand-living.x1-brand-editorial .editorial-inverse h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.x1-brand-living.x1-brand-editorial .living-practice-section h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.x1-brand-living.x1-brand-editorial .editorial-eyebrow,
.x1-brand-living.x1-brand-editorial #customer-testimonial-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.x1-brand-living.x1-brand-editorial .editorial-chapter-number {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  line-height: 1;
  color: var(--editorial-clay);
}
.x1-brand-living.x1-brand-editorial a[data-slot="button"] {
  min-height: 52px;
  padding-inline: 24px;
  white-space: normal;
  border-radius: 999px;
}
.x1-brand-living.x1-brand-editorial .living-site-nav .living-logo {
  min-height: 44px;
}
.x1-brand-living.x1-brand-editorial .living-site-nav a[data-slot="button"] {
  min-height: 44px;
  padding-inline: 16px;
}
@media (max-width: 540px) {
  .x1-brand-living.x1-brand-editorial .living-site-nav a[data-slot="button"] {
    padding-inline: 12px;
  }
  .x1-brand-living.x1-brand-editorial .living-header-cta svg {
    display: none;
  }
}
.x1-brand-living.x1-brand-editorial :is(a, button, summary):focus-visible {
  outline: 2px solid var(--living-focus);
  outline-offset: 4px;
}
.x1-brand-living.x1-brand-editorial summary:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.x1-brand-living.x1-brand-editorial .living-practice-stage {
  padding: 24px;
  border: 1px solid var(--editorial-rule);
  border-radius: var(--radius);
}
.x1-brand-living.x1-brand-editorial .living-practice-workspace {
  grid-template-columns: 1fr;
}
.x1-brand-living.x1-brand-editorial .living-practice-sidebar {
  display: none;
}
.x1-brand-living.x1-brand-editorial .living-practice-context-strip {
  display: block;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--editorial-rule);
}
.x1-brand-living.x1-brand-editorial .living-practice-paper {
  min-height: 450px;
  padding: 28px;
  margin-bottom: -48px;
  border: 1px solid var(--editorial-rule);
  animation: none;
}
.x1-brand-living.x1-brand-editorial #customer-experience {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--editorial-field);
}
.x1-brand-living.x1-brand-editorial #customer-experience figure {
  max-width: 1000px;
}
.x1-brand-living.x1-brand-editorial #customer-experience blockquote {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-style: italic;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.x1-brand-living.x1-brand-editorial .editorial-inverse {
  --living-focus: var(--editorial-clay-inverse);
  --ring: var(--editorial-clay-inverse);
  color: var(--editorial-cream);
  background: var(--editorial-forest);
}
.x1-brand-living.x1-brand-editorial .editorial-inverse a[data-slot="button"] {
  color: var(--editorial-cream);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--editorial-cream) 50%, transparent);
}
.x1-brand-living.x1-brand-editorial
  .editorial-inverse
  a[data-slot="button"]:hover {
  color: var(--editorial-forest);
  background: var(--editorial-cream);
  border-color: var(--editorial-cream);
}
.x1-brand-living.x1-brand-editorial #family-offices li p {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
}
.x1-brand-living.x1-brand-editorial #pricing article {
  padding-block: 32px;
}
.x1-brand-living.x1-brand-editorial #pricing article h3,
.x1-brand-living.x1-brand-editorial #pricing article .tabular-nums {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.025em;
}
.x1-brand-living.x1-brand-editorial footer {
  --background: var(--editorial-forest);
  --foreground: var(--editorial-cream);
  --muted-foreground: var(--editorial-cream);
  --living-focus: var(--editorial-clay-inverse);
  --ring: var(--editorial-clay-inverse);
  border-color: color-mix(in srgb, var(--editorial-cream) 25%, transparent);
}
.x1-brand-living.x1-brand-editorial footer .container {
  max-width: none;
  padding-inline: var(--editorial-gutter);
}
.x1-brand-living.x1-brand-editorial footer img {
  filter: invert(1);
}
.x1-brand-living.x1-brand-editorial .living-logo img {
  /* This header stays on paper even when the surrounding app theme is dark. */
  filter: none;
}
@media (max-width: 900px) {
  .x1-brand-living.x1-brand-editorial .living-practice-hero {
    grid-template-columns: 1fr;
  }
  .x1-brand-living.x1-brand-editorial .living-practice-promise h1 {
    max-width: 15ch;
  }
  .x1-brand-living.x1-brand-editorial .living-practice-scene {
    width: 100%;
    max-width: 640px;
  }
}
@media (max-width: 540px) {
  .x1-brand-living.x1-brand-editorial {
    --editorial-gutter: 20px;
    --editorial-section-space: 64px;
  }
  .x1-brand-living.x1-brand-editorial .living-practice-hero {
    padding-top: 48px;
  }
  .x1-brand-living.x1-brand-editorial .living-practice-promise h1 {
    font-size: clamp(48px, 13vw, 64px);
  }
  .x1-brand-living.x1-brand-editorial .living-practice-stage {
    padding: 16px;
  }
  .x1-brand-living.x1-brand-editorial .living-practice-paper {
    min-height: 500px;
    padding: 20px;
  }
  .x1-brand-living.x1-brand-editorial a[data-slot="button"] {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .x1-brand-living.x1-brand-editorial [data-slot="button"] {
    transform: none;
    transition: none;
  }
}

/* The pilot conversation continues the professional introduction. */
.x1-brand-living.x1-brand-editorial .editorial-intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
  padding: clamp(64px, 7vw, 104px) var(--editorial-gutter);
}
.x1-brand-living.x1-brand-editorial .editorial-intake h1 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.x1-brand-living.x1-brand-editorial .editorial-intake-paper {
  padding: clamp(24px, 3vw, 40px);
  background: var(--editorial-surface);
  border: 1px solid var(--editorial-rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.x1-brand-living.x1-brand-editorial .editorial-intake-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.x1-brand-living.x1-brand-editorial
  .editorial-intake
  :is(input, textarea, [role="combobox"]) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
  border-color: var(--editorial-rule);
}
.x1-brand-living.x1-brand-editorial
  .editorial-intake
  :is(input, textarea, [role="combobox"]):focus-visible {
  outline: 2px solid var(--living-focus);
  outline-offset: 3px;
  border-color: var(--living-focus);
}
.x1-brand-living.x1-brand-editorial .editorial-intake [role="combobox"] {
  height: auto;
  text-align: left;
  white-space: normal;
}
.x1-brand-living.x1-brand-editorial
  .editorial-intake
  [data-slot="select-value"] {
  display: block;
}
.x1-brand-living.x1-brand-editorial .editorial-intake [type="submit"] {
  height: auto;
  min-height: 56px;
  padding: 16px 24px;
  white-space: normal;
  border-radius: 999px;
}
.x1-brand-living.x1-brand-editorial.editorial-select {
  font-size: 16px;
  background: var(--editorial-surface);
}
.x1-brand-living.x1-brand-editorial.editorial-select [role="option"] {
  min-height: 44px;
  font-size: 16px;
}
@media (max-width: 1023px) {
  .x1-brand-living.x1-brand-editorial .editorial-intake-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    max-width: 760px;
    margin-inline: auto;
  }
  .x1-brand-living.x1-brand-editorial .editorial-intake-expectations {
    display: none;
  }
  .x1-brand-living.x1-brand-editorial .editorial-intake h1 {
    max-width: 16ch;
  }
}
@media (max-width: 540px) {
  .x1-brand-living.x1-brand-editorial .editorial-intake-layout {
    padding-block: 40px 64px;
  }
  .x1-brand-living.x1-brand-editorial .editorial-intake-paper {
    padding: 24px 20px;
  }
  .x1-brand-living.x1-brand-editorial .editorial-intake-nav {
    gap: 20px;
  }
  .x1-brand-living.x1-brand-editorial .editorial-intake-nav > a:last-child {
    max-width: 140px;
  }
}
