/* Contact. Loaded after site.css and page.css. */
[hidden] { display: none !important; }

/* the telephone, the email and the office, over a courier on their way */
.talk { position: relative; display: grid; align-items: end; min-height: 100vh; min-height: 100svh; overflow: clip; background: #12151a; color: var(--white); }
.talk__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.talk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 11 16 / .93), rgb(8 11 16 / .8) 36%, rgb(8 11 16 / .06) 70%); }
.talk__in { position: relative; z-index: 1; padding: 7rem var(--gut) 2.8rem; }
.talk .page-h { font-size: min(9vw, 19svh); letter-spacing: -.012em; }
.talk__ways { margin-top: min(3vw, 6svh); font-size: clamp(1.4rem, min(3vw, 6.2svh), 3.8rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.talk__ways a { display: inline-block; padding: .2em 0; transition: color .25s; }
.talk__ways li:first-child a, .talk__ways a:hover { color: var(--yellow); }
.talk__ways li:first-child a:hover { color: var(--white); }
.talk address { margin-top: 1rem; font-style: normal; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }

.write { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem var(--gut); padding: clamp(4.5rem, 8vw, 9rem) var(--gut); background: var(--paper) var(--sheet) -1px 0 / 25% 22rem; }
.write .page-lead { margin-top: 1.4rem; }
.write .page-lead .link { margin-left: .3em; }
.note { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.4rem; }
.note fieldset, .note__all { grid-column: 1 / -1; }
.note fieldset { display: flex; flex-wrap: wrap; gap: .6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.note fieldset label { position: relative; cursor: pointer; }
.note fieldset input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.note fieldset span { display: block; padding: .8em 1.15em; border: 2px solid var(--ink); font-weight: 600; line-height: 1.1; transition: background .2s, color .2s; }
.note fieldset label:hover span { background: var(--yellow); }
.note fieldset input:checked + span { background: var(--ink); color: var(--white); }
.note fieldset input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.note div > label { display: block; font-weight: 600; }
.note small { margin-left: .3em; font-size: .875rem; font-weight: 450; color: var(--graphite); }
.note :is(div > input, textarea) { display: block; width: 100%; margin: 0; padding: .35em 0 .4em; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: none; color: var(--ink); font: 600 clamp(1.25rem, 1.7vw, 1.9rem)/1.3 var(--font); letter-spacing: -.025em; outline: 0; }
.note :is(div > input, textarea):focus { border-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.note textarea { min-height: 4.6em; resize: vertical; field-sizing: content; }
.err { margin-top: .6rem; padding: .45rem .8rem .5rem; background: var(--ink); color: var(--white); font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.note__send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.write .btn { font-size: 1.125rem; }
.write .btn:hover { background: var(--ink); color: var(--white); }
.note__count { flex-basis: 100%; font-weight: 600; }
.note__count:empty { display: none; }

.done h2 { outline: 0 !important; }
.done__do { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.8rem; }
.done__text { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 2px solid var(--ink); font-size: 1.125rem; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }

@media (max-width: 800px), (max-aspect-ratio: 1/1) {
  .talk::after { background: linear-gradient(0deg, rgb(8 11 16 / .95), rgb(8 11 16 / .84) 38%, rgb(8 11 16 / 0) 76%); }
  .talk__film { object-position: 78% 20%; }
  .talk .page-h { font-size: min(18vw, 13svh); }
  .talk .page-h.is-long { font-size: min(13.6vw, 12svh); }
  .talk__ways { font-size: clamp(1.3rem, 6.2vw, 3rem); }
  .write { grid-template-columns: 1fr; background-size: 50% 20rem; }
}
@media (max-height: 500px) and (min-aspect-ratio: 1/1) { .talk__in { padding: 5.4rem var(--gut) 1.2rem; } .talk address { margin-top: .5rem; } .talk__ways { margin-top: .8rem; } }
@media (max-width: 600px) {
  .talk__in { padding-bottom: 1.8rem; }
  .talk address br { display: none; }
  .talk address { text-wrap: balance; }
  .note { grid-template-columns: 1fr; gap: 1.7rem; }
  .note__send .btn { width: 100%; text-align: center; padding-block: 1.25em; }
}
