/* ═══════════════════════════════════════════════════════════════
   MARMO · /contact — no picture (owner's call): title and the three ways on the left, the form on the right.
   Stacked (tablet and phone), in the page's own order: title, call, form, then mail and PEC.
   ═══════════════════════════════════════════════════════════════ */
.talk { flex: none; display: grid; grid-template-columns: minmax(0, 584fr) minmax(0, 600fr); grid-template-rows: auto 1fr; grid-template-areas: "intro form" "ways form"; column-gap: clamp(40px, 7.8vw, 112px); align-items: start; padding: 68px var(--pad) 100px; }
.talk-intro { grid-area: intro; display: flex; flex-direction: column; align-items: flex-start; padding-top: 24px; }
.talk-intro .display { font-size: clamp(42px, 4.2vw, 60px); overflow-wrap: break-word; max-width: 100%; }
.talk-intro .lead { margin-top: 30px; max-width: 440px; }
.talk-intro .lead strong { font-weight: inherit; }
.talk-intro .call-m { display: none; }
html:lang(ja) .talk-intro .display, html:lang(ko) .talk-intro .display { font-size: clamp(30px, 3vw, 42px); line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
html:lang(ja) .display em, html:lang(ko) .display em { font-style: normal; }

/* German's first line is long: a size that keeps the title on its two lines */
@media (min-width: 961px) { html:lang(de) .talk-intro .display { font-size: clamp(36px, 3.6vw, 52px); } }

/* ── The three ways ── */
.ways { grid-area: ways; margin-top: 64px; border-top: 1px solid var(--rule); width: 100%; max-width: 540px; }
.ways li { border-bottom: 1px solid var(--line); }
.ways a { display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; gap: 20px; align-items: center; padding: 26px 0; }
.ways .ic { width: 46px; height: 46px; border: 1px solid var(--line2); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: var(--red-text); }
.way-text { min-width: 0; }
.ways strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.ways small { display: block; font-size: 15px; color: var(--text); margin-top: 4px; overflow-wrap: break-word; }
.ways .addr { white-space: nowrap; }
.ways .go { color: var(--red-text); font-size: 20px; transition: transform .2s ease; }
.ways a:hover .go { transform: translateX(3px); }
.ways a:hover .ic { border-color: var(--red-text); }

/* ── The form ── */
.talk-form { grid-area: form; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-s); padding: 48px 40px 40px; }
.talk-form h2 { font-weight: 300; font-size: 30px; line-height: 1.1; margin-bottom: 32px; }
.talk-form form { display: flex; flex-direction: column; gap: 24px; }
.talk-form .field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.talk-form .field { min-width: 0; }
.talk-form .field input { height: 54px; }
.talk-form .field textarea { height: 160px; min-height: 120px; }
.talk-form .field input:focus, .talk-form .field textarea:focus { border-color: var(--ink); }
.required { color: var(--muted); font-weight: 400; }
.field-hint { color: var(--muted); font-weight: 400; }
.field-hint::before { content: '('; }
.field-hint::after { content: ')'; }
.talk-form .btn { width: 100%; min-height: 56px; font-size: 16px; }
.form-privacy { font-size: 13px; color: var(--muted); margin-top: -8px; }
.form-privacy a { color: var(--red-text); text-decoration: underline; text-underline-offset: 2px; padding: .45em 0; }

/* ── Topic chips (optional, one at most): the radio stays in the page and takes the focus, the chip is what shows ── */
.topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.topics legend { padding: 0; font-size: 14px; font-weight: 600; }
.topics-row { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 12px; }
.topic { position: relative; display: inline-flex; cursor: pointer; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.topic span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 13px; border-radius: 22px; border: 1px solid var(--line2); background: var(--paper); font-size: 14px; font-weight: 600; }
.topic i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--fc); }
.topic:hover span { border-color: var(--fc); }
.topic input:checked + span { background: var(--fd); border-color: var(--fd); color: #fdf9f2; }
.topic input:checked + span i { background: #fdf9f2; }
.topic input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }

/* ── Refused or sent ── */
.form-error { display: flex; gap: 12px; align-items: flex-start; margin: -8px 0 24px; padding: 14px 16px; border: 1px solid var(--red-text); border-left-width: 4px; border-radius: 3px; background: var(--tint-red); font-size: 15px; font-weight: 600; line-height: 1.5; }
.form-error svg { flex: none; margin-top: 1px; color: var(--red-text); }
.form-error span { min-width: 0; overflow-wrap: anywhere; }
.form-error a { color: var(--red-text); text-decoration: underline; }
.sent { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; animation: mvup .5s ease both; }
.sent > svg { color: var(--red-text); }
.sent-t { font-family: var(--serif); font-size: 25px; line-height: 1.3; text-wrap: balance; overflow-wrap: anywhere; }
.sent-d { font-size: 16px; color: var(--text); }
.talk-form .sent .btn { width: auto; min-height: 50px; font-size: 15px; white-space: normal; }

/* ── Two columns get tight ── */
@media (max-width: 1180px) {
    .talk { padding-top: 80px; padding-bottom: 104px; }
    .talk-form { padding: 36px 28px 30px; }
    .talk-form h2 { font-size: 28px; }
    .ways a { grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 16px; }
    .ways .ic { width: 44px; height: 44px; }
    .ways strong { font-size: 20px; }
}

/* ── Stacked: the page's own order ── */
@media (max-width: 960px) {
    .talk { display: flex; flex-direction: column; align-items: center; padding-top: 72px; padding-bottom: 88px; }
    .talk-intro { align-items: center; text-align: center; padding-top: 0; width: 100%; max-width: 640px; }
    .talk-intro .display { font-size: 48px; }
    .talk-intro .lead { margin: 24px auto 0; max-width: 420px; }
    .talk-intro .call-m { display: inline-flex; align-self: stretch; margin-top: 32px; min-height: 52px; }
    .talk-form { width: 100%; max-width: 640px; margin-top: 48px; }
    .talk-form h2 { text-align: center; }
    .ways { max-width: 640px; margin-top: 48px; }
    .ways .way-call { display: none; }
}

/* ── Phone ── */
@media (max-width: 760px) {
    .talk { align-items: stretch; padding: 0; }
    .talk-intro { max-width: none; padding: 56px 26px 0; }
    .talk-intro .display { font-size: 42px; }
    html:lang(ja) .talk-intro .display, html:lang(ko) .talk-intro .display { font-size: 31px; line-height: 1.35; }
    .talk-intro .lead { margin-top: 20px; max-width: 300px; }
    .talk-form { max-width: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; padding: 52px 24px 8px; }
    .talk-form h2 { font-size: 32px; margin-bottom: 30px; }
    .talk-form form { gap: 22px; }
    .talk-form .field-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .talk-form .field textarea { height: 130px; }
    .sent { min-height: 420px; }
    .sent-t { font-size: 27px; }
    .ways { max-width: none; width: auto; margin: 48px 24px 64px; }
    .ways a { padding: 20px 0; }
    .ways strong { font-size: 22px; }
    .ways small { font-size: 14px; }
}
@media (max-width: 340px) {
    .talk-intro .display { font-size: 36px; }
    .talk-form { padding-left: 18px; padding-right: 18px; }
    .ways { margin-left: 18px; margin-right: 18px; }
    .ways .addr { white-space: normal; overflow-wrap: anywhere; }
    .talk-form h2 { font-size: 26px; }
    html:lang(ja) .talk-intro .display, html:lang(ko) .talk-intro .display { font-size: 25px; }
    .talk-intro:lang(ja), .talk-intro:lang(ko) { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .sent { animation: none; }
    .ways .go { transition: none; }
}
@media (max-width: 360px) { .ways strong { font-size: 21px; } }
