/* The Marie Omann Design landing page at /design/. */

/* the mobile menu, which only this page carries */
.menu-btn {
  display: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: none;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}
.menu-panel {
  display: none;
  width: 100%;
  order: 3;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.menu-panel[data-open] { display: block }
.menu-panel a { display: block; padding: 10px 0; font-size: 15px }

/* opening */
.opening { padding: 96px 0 0 }
.opening h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -.022em;
  max-width: 720px;
}
.lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 620px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.proof {
  margin-top: 44px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 680px;
}

/* sections */
.section { padding: 112px 0 0 }
.eyebrow { font-size: 13px; color: var(--ink-secondary); margin-bottom: 16px }
.section h1, .section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.018em;
  max-width: 680px;
}

/* services */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 0;
  margin-top: 56px;
}
/* the three hairlines share one line, whatever a title or its lede does to the row */
@supports (grid-template-rows: subgrid) {
  .pillars { grid-template-rows: auto auto }
  .pillar { display: grid; grid-template-rows: subgrid; grid-row: span 2 }
}
.pillar-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.012em;
}
.pillar-lede { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-secondary) }
.pillar-subs { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px }
.pillar-subs li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding: 7px 0;
  text-wrap: pretty;
}
.pillar-subs li + li { border-top: 1px solid var(--line) }

/* clients */
.clients {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-secondary);
  max-width: 960px;
}

/* about */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; margin-top: 40px }
.about-text p { font-size: 17px; line-height: 1.65; color: var(--ink-secondary); max-width: 620px }
.about-text p + p { margin-top: 18px }
.about-text a { border-bottom: 1px solid var(--line); transition: border-color .2s var(--ease) }
.about-text a:hover { border-color: var(--ink) }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; margin-top: 28px }
.contact-line { font-size: 18px; line-height: 1.6; color: var(--ink-secondary); max-width: 460px }
.contact-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contact-place { margin-top: 36px; font-size: 14px; color: var(--ink-secondary) }

/* contact form */
.form { max-width: 520px }
.field + .field { margin-top: 20px }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px }
.field .opt { font-weight: 400; color: var(--ink-secondary) }
.field input, .field textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  /* a control boundary needs 3:1, which the decorative hairline does not reach;
     --ink-tertiary measures 3.87:1 on the page white */
  background: var(--page);
  border: 1px solid var(--ink-tertiary);
  border-radius: var(--radius-control);
  padding: 11px 13px;
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.55 }
.field input:hover, .field textarea:hover { border-color: var(--ink-secondary) }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error) }
.err { margin-top: 7px; font-size: 13px; line-height: 1.45; color: var(--error) }
.err[hidden] { display: none }
.form-summary { margin-bottom: 20px; font-size: 14px; line-height: 1.5; color: var(--error) }
.form-summary:empty { display: none }
.form-foot { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap }
.form-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
  max-width: 420px;
}
.form-note a { border-bottom: 1px solid var(--line); transition: border-color .2s var(--ease) }
.form-note a:hover { border-color: var(--ink) }
/* the honeypot: off-screen, unfocusable, hidden from assistive technology */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .head-nav { display: none }
  .menu-btn { display: inline-block }
  .opening { padding-top: 48px }
  .opening h1 { font-size: 30px }
  .lede { font-size: 16px }
  .section { padding-top: 64px }
  .section h1, .section h2 { font-size: 25px }
  .pillars { grid-template-columns: 1fr; grid-template-rows: none; gap: 36px; margin-top: 36px }
  .pillar { display: block }
  .about-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px }
  .contact-grid { grid-template-columns: 1fr; gap: 44px }
  .contact-place { margin-top: 28px }
}
