/* Shared by the home page and the About page: drawings and their ink reveal, the buttons, the references, Work with us */
section { padding: 72px 0; }

/* reveal and ink */
.ink { -webkit-mask-image: url(/assets/ink.webp); mask-image: url(/assets/ink.webp); -webkit-mask-size: 100% 4800%; mask-size: 100% 4800%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0%; mask-position: 0 0%; }
.pic { display: block; width: 100%; height: auto; }

/* work with us */
#contact h2 { font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; margin: 6px 0 18px; }
#contact { text-align: center; border-top: 1px solid var(--rule); min-height: 64vh; }
.ask { max-width: 820px; margin: 0 auto; }
.ask h3 { font-weight: 500; font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 10px 0 26px; }
.ask input { width: min(560px, 100%); background: transparent; border: 0; border-bottom: 1px solid var(--ink-soft); color: var(--ink); caret-color: var(--accent);
  font: italic 400 clamp(1.3rem, 2.6vw, 1.8rem) var(--serif); text-align: center; padding: 6px 4px 10px; outline: none; resize: none; }
.ask input:focus { border-bottom-color: var(--ink); }
.ask ::placeholder { color: rgba(42, 34, 25, .5); }
.ask .err { min-height: 1.4em; margin-top: 10px; font-style: italic; color: #A33A22; }
.ask .send { display: inline-block; margin-top: 22px; font-size: 1.8rem; font-style: italic; color: var(--accent); }
.ask .note { margin-top: 12px; font-style: italic; color: var(--ink-mid); }
.ask-step { transition: opacity .45s ease, transform .5s ease; }
.ask-step.out { opacity: 0; transform: translateY(-8px); }

.ask .captcha { display: flex; justify-content: center; min-height: 78px; }
.ask button.send { display: block; margin: 18px auto 0; }
.ask button.send[disabled] { color: var(--ink-soft); }
.ask .note a { color: inherit; }
.ask .ask-step > .cta { margin-top: 4px; }

/* the hero: a call, the tour, and the references */
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0 16px 18px; }
.cta { display: inline-block; font-size: 1.25rem; font-style: italic; text-decoration: none; padding: 10px 22px 11px; border: 1px solid var(--ink-soft); border-radius: 999px; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.cta:hover { border-color: var(--ink); }
.cta.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta.primary:hover { background: #3d3226; }

.refs .logos { display: flex; flex-wrap: wrap; gap: 18px 38px; justify-content: center; align-items: center; margin-top: 10px; }
.refs img { height: 24px; width: auto; max-width: 104px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .62; mix-blend-mode: multiply; }

#contact .intro { font-style: italic; color: var(--ink-mid); margin: -6px 0 34px; }
#contact .intro a { color: inherit; }

/* work with us: a name and a work email */
.contact .field { display: block; max-width: 520px; margin: 0 auto 20px; text-align: left; }
.contact .field span { display: block; font-size: 15px; color: var(--ink-mid); margin-bottom: 2px; }
.contact input { width: 100%; text-align: left; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.contact .captcha { margin-top: 8px; }
.contact .captcha:empty { min-height: 0; margin: 0; }
@media (max-width: 600px) { .cta { font-size: 1.12rem; padding: 9px 18px 10px; } .refs img { height: 20px; max-width: 88px; } }
