@font-face {
  font-family: "Latin Modern";
  src: url("assets/fonts/lmroman17-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Latin Modern";
  src: url("assets/fonts/lmroman12-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f8f6;
  --ink: #202023;
  --secondary: #514e55;
  --muted: #65606a;
  --rule: #d8d5d8;
  --violet: #614879;
  --lavender: #e6dfed;
  --serif: "Latin Modern", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.4vw, 6.25rem);
  --shell-max: 84rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6.25rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #725394; outline-offset: 5px; }
main:focus, .draft h3:focus { outline: none; }
::selection { background: #dad0e6; color: #1f1e22; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell-max)); margin-inline: auto; }
.section-pad { padding-block: clamp(3.75rem, 6.3vw, 6.5rem); }
.skip {
  position: fixed;
  z-index: 25;
  top: .6rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .6rem 1rem;
  background: white;
  color: var(--ink);
}
.skip:focus { transform: none; }

/* Masthead and navigation */
.masthead {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.8rem; gap: 2rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark {
  font: 650 2.08rem/.95 var(--sans);
  letter-spacing: -.085em;
  white-space: nowrap;
}
.wordmark span { color: var(--violet); }
.primary-nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.7vw, 2.8rem); }
.primary-nav a, .menu-toggle { font-size: .9375rem; font-weight: 550; }
.primary-nav a { padding-block: .66rem; }
.primary-nav a:hover, .footer-privacy:hover { color: var(--violet); }
.primary-nav .nav-contact {
  padding: .55rem 1.15rem;
  border: 1px solid #77717b;
  border-radius: 2rem;
}
.primary-nav .nav-contact:hover { border-color: var(--ink); background: var(--ink); color: white; }
.menu-toggle { display: none; }

h1, h2 { font: 400 clamp(2.85rem, 4.9vw, 4.8rem)/.99 var(--serif); letter-spacing: -.052em; }
h1 em, h2 em { color: var(--violet); font-weight: 400; }
.violet { color: var(--violet); }
.eyebrow {
  font: 600 .875rem/1.4 var(--sans);
  letter-spacing: .08em;
  color: var(--secondary);
  text-transform: uppercase;
}
.rule-label { display: flex; align-items: center; gap: .8rem; }
.rule-label::before { content: ""; flex: 0 0 1.8rem; height: 1px; background: var(--violet); }
.button, .underlink { display: inline-flex; align-items: center; justify-content: center; }
.button {
  min-height: 3rem;
  padding: .72rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.dark { background: var(--ink); color: white; }
.dark:hover { background: #45374f; }
.light { background: transparent; border-color: #817787; color: var(--ink); }
.light:hover { background: #fdfcfe; }
.underlink {
  background: none;
  border: 0;
  padding: .45rem 0;
  font-size: .96rem;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .36em;
  text-decoration-color: #aaa2ae;
}
.underlink:hover, .contact-email:hover { color: var(--violet); text-decoration-color: currentColor; }

/* The only illustration on the cover is the supplied two-bird emblem. */
.hero { overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .95fr); column-gap: clamp(2rem, 4.2vw, 5rem); }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(29rem, 39.4vw, 37.5rem);
  padding-block: clamp(3.75rem, 6.3vw, 6.5rem);
}
.hero h1 { font-size: clamp(3.4rem, 6.27vw, 6.2rem); line-height: .99; margin: 1.85rem 0 1.45rem; }
.hero h1 span { display: block; }
.hero-lede { max-width: 28.5rem; color: var(--secondary); font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.52; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.7rem; margin-top: 1.85rem; }
.plate {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 2.6rem 0 2.6rem clamp(1.5rem, 3.4vw, 3.8rem);
}
.plate::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(-1 * max(var(--gutter), (100vw - var(--shell-max)) / 2)) 0 0;
  background: var(--lavender);
}
.plate picture { display: block; width: clamp(13rem, 25.8vw, 23.5rem); max-width: 78%; }
.hero-emblem { width: 100%; height: auto; aspect-ratio: 1; }
@keyframes spin-emblem { to { transform: rotate(360deg); } }

.split-section { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(2.5rem, 7.2vw, 8.4rem); }
.section-aside h2 { margin-top: 1.25rem; }
.services-section { border-bottom: 1px solid var(--rule); background: #f0eef1; }
.service-list { border-top: 1px solid #c7c3ca; }
.service-row { border-bottom: 1px solid #c7c3ca; }
.service-row summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; padding: 1.2rem .1rem 1.35rem; cursor: pointer; }
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary strong { display: block; font-size: clamp(1.3rem, 1.65vw, 1.65rem); font-weight: 550; line-height: 1.25; letter-spacing: -.035em; }
.service-lead { display: block; color: var(--secondary); margin-top: .32rem; }
.plus { position: relative; flex: 0 0 1rem; height: 1rem; color: var(--violet); }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { width: 100%; height: 1.5px; left: 0; top: calc(50% - .75px); }
.plus::after { height: 100%; width: 1.5px; left: calc(50% - .75px); top: 0; }
.service-row[open] .plus::after { transform: scaleY(0); }
.service-row summary:hover strong { color: var(--violet); }
.service-panel { min-height: 0; overflow: hidden; }
.service-detail { padding: 0 2.5rem 1.25rem .1rem; }
.service-detail p { color: var(--secondary); max-width: 38rem; }
.service-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 1.4rem; margin-top: .55rem; }
.service-actions .underlink { min-height: 2.65rem; }
.learn-link, .bio-link { color: var(--violet); }
.bio-link { margin-top: .65rem; }
.service-detail .underlink:focus-visible { outline-offset: -2px; }
.bio p + p { margin-top: 1rem; }
.bio p { color: var(--secondary); max-width: 42rem; }
.bio .bio-lede { font: 400 clamp(1.8rem, 2.5vw, 2.6rem)/1.2 var(--serif); letter-spacing: -.035em; color: var(--ink); }

.contact-section { background: #ebe6ef; border-block: 1px solid #d9d0df; }
.contact-lede { max-width: 25rem; color: var(--secondary); margin-block: 1.35rem; }
.contact-email { font-weight: 550; border-bottom: 1px solid #918299; padding-bottom: .12rem; overflow-wrap: anywhere; }
.location { margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.contact-tool { min-width: 0; }
form, .draft { width: 100%; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; min-width: 0; font-size: .9375rem; font-weight: 550; }
form > label, form .two-fields { margin-bottom: 1rem; }
.optional { font-size: .875rem; font-weight: 400; color: var(--muted); }
input, textarea, select {
  display: block;
  width: 100%;
  min-width: 0;
  padding: .68rem .8rem;
  border: 1px solid #b9afc1;
  border-radius: .24rem;
  background: #fcfbfc;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
label > input, label > textarea, .select-wrap { margin-top: .32rem; }
textarea { resize: vertical; min-height: 6rem; }
textarea::placeholder { color: #6b6570; }
.select-wrap { display: block; position: relative; }
.select-wrap::after { content: ""; position: absolute; top: calc(50% - .33rem); right: 1rem; width: .55rem; height: .55rem; border: solid var(--secondary); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; padding-right: 2.5rem; }
.form-hint, .draft-to { font-size: .875rem; line-height: 1.45; color: var(--secondary); }
.form-hint { margin-top: .65rem; }
.draft h3 { font: 400 2.4rem/1.15 var(--serif); letter-spacing: -.04em; }
.draft-to { margin: .4rem 0 1.15rem; }
.draft textarea { margin-top: .35rem; }
.draft-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
#edit-draft { margin-top: .7rem; }

.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 6.2rem; padding-block: 1.1rem; }
.footer-inner .wordmark { font-size: 1.65rem; }
.footer-inner p, .footer-privacy { font-size: .88rem; color: var(--muted); }
.footer-privacy { text-decoration: underline; text-underline-offset: .27em; }

/* Long-form service and profile pages */
.detail-top { border-bottom: 1px solid var(--rule); }
.detail-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2.4rem, 7vw, 7rem);
  padding-block: clamp(3rem, 5.4vw, 5.8rem);
}
.detail-heading { min-width: 0; }
.detail-heading .back-link { margin: 0 0 1.5rem; color: var(--violet); }
.detail-heading h1 { font-size: clamp(3.1rem, 6vw, 6rem); line-height: 1; }
.detail-heading .eyebrow { margin-bottom: 1.6rem; }
.detail-lede { max-width: 37rem; margin-block: 1.2rem 1.5rem; color: var(--secondary); font-size: clamp(1.08rem, 1.45vw, 1.35rem); }
.sample-sheet, .about-facts { min-width: 0; padding: clamp(1.4rem, 3.2vw, 3.2rem); background: var(--lavender); }
.sample-sheet h2 { margin: 1rem 0 1.45rem; font-size: clamp(2rem, 2.8vw, 3.1rem); line-height: 1.04; }
.sample-lines, .delivery-lines { margin: 0; }
.sample-lines > div, .delivery-lines > div { padding-block: .85rem; border-top: 1px solid #c8bdcf; }
.sample-lines > div:last-child, .delivery-lines > div:last-child { padding-bottom: 0; }
.sample-lines dt, .delivery-lines dt { margin: 0; color: var(--violet); font-size: .9rem; font-weight: 600; }
.sample-lines dd, .delivery-lines dd { margin: .24rem 0 0; line-height: 1.5; }
.brand-sheet .sample-lines > div:last-child dd { font: italic 400 1.55rem/1.2 var(--serif); color: #493451; }
.content-sheet { background: #2d2930; color: #fcf9ff; }
.content-sheet .eyebrow, .content-sheet dt { color: #e6d9f1; }
.content-sheet .rule-label::before { background: #d3b9e6; }
.content-sheet .sample-lines > div { border-color: #605966; display: grid; grid-template-columns: 6rem 1fr; gap: .85rem; }
.content-sheet .sample-lines dd { margin: 0; }
.campaigns-sheet { background: #f0edf1; border: 1px solid var(--rule); }
.campaigns-sheet dd { font: 400 1.35rem/1.32 var(--serif); }
.systems-sheet { background: #eeecea; }
.systems-sheet .sample-lines > div { border-color: #cfc9c5; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr); gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.reading-column { max-width: 43rem; }
.reading-column section + section { margin-top: clamp(2.1rem, 3.6vw, 3.8rem); }
.reading-column h2 { font-size: clamp(2.2rem, 3.25vw, 3.35rem); line-height: 1.05; margin-bottom: .8rem; }
.reading-column .eyebrow { margin-bottom: .85rem; }
.reading-column section > p:not(.eyebrow) { color: var(--secondary); line-height: 1.7; }
.reading-column p + p { margin-top: .8rem; }
.deliverables { border-top: 1px solid var(--ink); padding-top: 1.15rem; }
.deliverables h2 { font-size: clamp(1.75rem, 2.3vw, 2.4rem); margin-bottom: 1rem; line-height: 1.1; }
.deliverables .delivery-lines dd, .about-facts dd { color: var(--secondary); }
.deliverables > .underlink { margin-top: 1.15rem; }
.about-facts .delivery-lines > div:first-child { padding-top: 0; border-top: 0; }
.practice-nav ul { list-style: none; margin: 0; padding: 0; }
.practice-nav li { border-top: 1px solid var(--rule); }
.practice-nav .underlink { justify-content: start; min-height: 3rem; width: 100%; color: var(--violet); }

/* Privacy page */
.back-link { margin-block: 2rem 1.35rem; }
.privacy-page h2 { font-size: clamp(1.9rem, 2.5vw, 2.65rem); line-height: 1.1; letter-spacing: -.038em; margin-bottom: .55rem; }
.privacy-page p { color: var(--secondary); }
.privacy-page + .site-footer { border-top: 1px solid var(--rule); }
.privacy-page { min-height: 65vh; padding-bottom: 4.5rem; }
.privacy-page article { max-width: 44rem; }
.privacy-page h1 { margin: .8rem 0 2rem; }
.privacy-page h2 { margin-top: 1.65rem; }
.privacy-page p + p { margin-top: .7rem; }
.privacy-page p a { display: inline; }

@media (min-width: 110rem) {
  .hero-copy { min-height: 38rem; }
}
@media (min-width: 701px) and (max-width: 900px) {
  :root { --gutter: 2rem; }
  .hero-grid { column-gap: 1.8rem; }
  .hero h1 { font-size: 6.1vw; }
  .hero-copy { min-height: 25.5rem; padding-block: 3rem; }
  .hero-lede { font-size: 1.03rem; }
  .plate { padding-left: 1.3rem; }
  .split-section { gap: 2.5rem; }
}
@media (max-width: 700px) {
  :root { --gutter: clamp(1.25rem, 5.6vw, 2rem); }
  html { scroll-padding-top: 4.9rem; }
  .masthead-inner { position: relative; min-height: 4rem; flex-wrap: wrap; gap: 0 1rem; }
  .wordmark { font-size: 1.85rem; }
  .primary-nav { flex-basis: 100%; gap: .3rem 1.1rem; flex-wrap: wrap; padding-bottom: .55rem; }
  .primary-nav a { font-size: .9rem; }
  .primary-nav .nav-contact { padding: .4rem .8rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .56rem; min-height: 44px; border: 0; padding: .4rem 0 .4rem .65rem; background: transparent; }
  .menu-lines { width: 1.05rem; height: .51rem; border-block: 1.5px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-lines { border-bottom-color: transparent; transform: translateY(.15rem); }
  .masthead[data-menu] .primary-nav { position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); display: none; padding: .5rem var(--gutter) .95rem; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .masthead[data-menu="open"] .primary-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .masthead[data-menu] .primary-nav a { font-size: 1rem; padding: .65rem .1rem; }
  .masthead[data-menu] .primary-nav .nav-contact { align-self: flex-start; padding: .48rem .95rem; margin-top: .4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { min-height: auto; padding-block: clamp(2.65rem, 7.5vw, 4rem) clamp(2.25rem, 6.5vw, 3.75rem); }
  .eyebrow { font-size: .8125rem; letter-spacing: .065em; }
  .hero h1 { font-size: clamp(2.45rem, 11.3vw, 4.6rem); margin: 1.4rem 0 .95rem; line-height: 1.02; }
  .hero-lede { font-size: 1.06rem; max-width: 30rem; }
  .hero-actions { margin-top: 1.4rem; gap: .6rem 1.2rem; }
  .plate { padding: 1.9rem 0; }
  .plate::before { inset: 0 calc(-1 * var(--gutter)); }
  .plate picture { width: clamp(8.75rem, 40vw, 13rem); }
  .section-pad { padding-block: 3.3rem; }
  .detail-cover, .detail-body { grid-template-columns: 1fr; gap: 2rem; }
  .detail-cover { padding-block: 2.25rem; }
  .detail-heading .back-link, .detail-heading .eyebrow { margin-bottom: 1rem; }
  .detail-heading h1 { font-size: clamp(3rem, 11vw, 4.4rem); }
  .detail-lede { margin-block: .9rem 1.15rem; }
  .content-sheet .sample-lines > div { grid-template-columns: 5.6rem 1fr; gap: .55rem; }
  .split-section { grid-template-columns: 1fr; gap: 1.85rem; }
  .section-aside h2 { margin-top: .8rem; }
  .section-aside h2 br { display: none; }
  .section-aside h2 em::before { content: " "; }
  .service-row summary { padding-block: 1.1rem; }
  .bio .bio-lede { font-size: 1.9rem; }
  .contact-lede { margin: 1rem 0; }
  .footer-inner { min-height: 5rem; gap: .35rem 1rem; flex-wrap: wrap; }
  .footer-inner p { font-size: .8125rem; }
  .back-link { margin-block: 1.35rem .75rem; }
}
@media (max-width: 390px) {
  .two-fields { grid-template-columns: 1fr; gap: 1rem; }
  .button { padding-inline: 1.15rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-emblem { animation: spin-emblem 30s linear infinite; }
  .plus::after { transition: transform 240ms ease; }
  .service-row {
    --unfold: 460ms cubic-bezier(.28, .12, .22, 1);
    --reveal-mask: linear-gradient(to bottom, #000 34%, transparent 66%);
  }

  /* The moving mask has a fully opaque resting position for selectable text. */
  @supports selector(details::details-content) and (transition-behavior: allow-discrete) {
    .service-row::details-content {
      display: grid;
      grid-template-rows: 0fr;
      transform: translateY(-.4rem);
      opacity: .25;
      mask-image: var(--reveal-mask);
      mask-size: 100% 300%;
      mask-repeat: no-repeat;
      mask-position: 0 100%;
      transition: grid-template-rows var(--unfold), transform var(--unfold),
        opacity var(--unfold), mask-position var(--unfold),
        content-visibility 460ms allow-discrete;
    }
    .service-row[open]::details-content {
      grid-template-rows: 1fr;
      transform: translateY(0);
      opacity: 1;
      mask-position: 0 0%;
    }
  }

  /* Animate the native opening on browsers without a transitionable details box. */
  @supports not (selector(details::details-content) and (transition-behavior: allow-discrete)) {
    .service-row[open] .service-panel {
      display: grid;
      mask-image: var(--reveal-mask);
      mask-size: 100% 300%;
      mask-repeat: no-repeat;
      animation: open-service var(--unfold);
    }
    @keyframes open-service {
      from { grid-template-rows: minmax(0, 0fr); transform: translateY(-.4rem); opacity: .25; mask-position: 0 100%; }
      to { grid-template-rows: minmax(0, 1fr); transform: translateY(0); opacity: 1; mask-position: 0 0%; }
    }
  }
}
