/* ==========================================================================
   FORGE — contact page
   ========================================================================== */

/* ---------- hero ---------- */
.chero { position: relative; background-color: var(--surface-shell); color: var(--text-on-shell); overflow: hidden; }
.chero__haz { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; }
.chero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 3vw, 44px) clamp(56px, 6vw, 88px); }
.chero__copy { display: grid; justify-items: start; gap: 20px; }
.chero .crumbs { color: var(--shell-9); }
.chero .crumbs a:hover { color: var(--shell-12); }
.chero .crumbs > span:last-child { color: var(--safety); }
.chero .h-display { font-size: clamp(3.6rem, 7.4vw, 7.4rem); }
.chero .lede { color: var(--shell-10); }
.chan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 560px; }
.chan__b { --c: 10px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; background: var(--shell-3); color: var(--shell-12); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); box-shadow: inset 0 0 0 1px var(--border-on-shell); transition: background var(--dur-base), color var(--dur-base); }
.chan__b .i { width: 24px; height: 24px; color: var(--safety); transition: color var(--dur-base); }
.chan__b span { display: grid; gap: 3px; }
.chan__b b { font-weight: 600; }
.chan__b small { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--shell-9); }
.chan__b:hover { background: var(--shell-12); color: var(--ink); }
.chan__b:hover .i { color: var(--ink); }
.chan__b--viber { background: var(--safety); color: var(--ink); box-shadow: none; }
.chan__b--viber .i, .chan__b--viber small { color: var(--ink); }

/* status board */
.board { --c: 22px; padding: 18px 20px 14px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.board__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-on-shell); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--shell-10); }
.board__top span { display: inline-flex; align-items: center; gap: 8px; }
.board__led { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--safety); box-shadow: 0 0 10px var(--safety); animation: blink 2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board__top b { font: 600 1.05rem/1 var(--font-mono); color: var(--safety); letter-spacing: .06em; }
.board__t { width: 100%; border-collapse: collapse; margin-top: 4px; }
.board__t th { padding: 10px 8px 8px 0; text-align: left; font: 500 9.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--shell-8); }
.board__t td { padding: 14px 8px 14px 0; border-top: 1px dashed var(--border-on-shell); font-size: var(--text-sm); vertical-align: middle; }
.board__t td.mono { font-size: 12px; letter-spacing: .06em; }
.board__t td:first-child b { display: inline-block; padding: 4px 6px; background: var(--shell-5); color: var(--shell-12); font-weight: 600; font-size: 11px; }
.board__t a { font-weight: 600; }
.board__t a:hover { color: var(--safety); }
.flap { display: inline-block; min-width: 4ch; padding: 3px 5px; background: #0b0c0d; color: var(--safety); font: 600 12px/1.2 var(--font-mono); letter-spacing: .1em; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06), inset 0 1px 0 rgba(0, 0, 0, .6); background-image: linear-gradient(transparent 49%, rgba(255, 255, 255, .07) 50%, transparent 51%); }
.bst { display: inline-flex; align-items: center; gap: 8px; }
tr[data-state="open"] .dot { background: var(--ok); }
tr[data-state="closing"] .dot { background: var(--safety); }
tr[data-state="closed"] .dot { background: var(--signal); }
tr[data-state="closed"] .flap { color: var(--shell-10); }
.board__foot { padding-top: 12px; border-top: 1px solid var(--border-on-shell); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--shell-9); }
@media (max-width: 1023px) { .chero__in { grid-template-columns: 1fr; } }
@media (max-width: 559px) {
  .chan { grid-template-columns: 1fr 1fr; }
  .chan__b { padding: 12px; gap: 10px; }
  .chan__b b { font-size: var(--text-xs); }
  .board { padding: 14px 12px 10px; --c: 14px; }
  .board__t th:nth-child(4), .board__t td:nth-child(4) { display: none; }
  .board__t td { padding: 12px 6px 12px 0; font-size: var(--text-xs); }
  .flap { font-size: 10.5px; }
}

/* ---------- quick help ---------- */
.qhelp { background: var(--surface-raised); border-bottom: 1px solid var(--border-subtle); }
.qhelp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qtile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; padding: 22px 50px 22px 20px; text-align: left; border-left: 1px solid var(--border-subtle); transition: background var(--dur-base), color var(--dur-base); }
.qtile:first-child { border-left: 0; padding-left: 0; }
.qtile__no { position: absolute; top: 10px; right: 16px; font-size: 9.5px; color: var(--text-muted); }
.qtile > .i { --c: 6px; grid-row: span 2; width: 42px; height: 42px; padding: 10px; background: var(--ink); color: var(--safety); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.qtile b { font-weight: 600; }
.qtile > span:not(.qtile__no) { font-size: var(--text-xs); color: var(--text-secondary); }
.qtile__go { position: absolute; right: 16px; bottom: 22px; transition: transform var(--dur-base) var(--ease-snap); }
.qtile__go .i { width: 18px; height: 18px; }
.qtile:hover .qtile__go { transform: translateX(4px); }
.qtile:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .qhelp__grid { grid-template-columns: 1fr 1fr; } .qtile:nth-child(3) { border-left: 0; padding-left: 0; } .qtile:nth-child(n+3) { border-top: 1px solid var(--border-subtle); } }
@media (max-width: 559px) { .qtile { grid-template-columns: 1fr; padding: 16px 12px 18px 0 !important; border-left: 0 !important; } .qtile:nth-child(even) { padding-left: 12px !important; border-left: 1px solid var(--border-subtle) !important; } .qtile > .i { grid-row: auto; width: 36px; height: 36px; padding: 8px; margin-bottom: 6px; } .qtile b { font-size: var(--text-sm); } .qtile__go { display: none; } }

/* ---------- form ---------- */
.cform__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.cform__main { display: grid; gap: 28px; min-width: 0; }
.cform .h-1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.mform { display: grid; gap: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.topics legend { padding: 0; margin-bottom: 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.topics label { cursor: pointer; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topics span { --c: 7px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--surface-plate); font-weight: 600; font-size: var(--text-sm); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: background var(--dur-base), color var(--dur-base); }
.topics .i { width: 17px; height: 17px; }
.topics label:hover span { background: var(--grey-7); }
.topics input:checked + span { background: var(--ink); color: var(--shell-12); }
.topics input:checked + span .i { color: var(--safety); }
.topics input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.mform__card { --c: 22px; display: grid; gap: 14px; padding: 22px; background: var(--surface-raised); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); border-top: 4px solid var(--safety); }
.mform__hint { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-11); }
.tf, .mform__common { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; animation: tfIn .35s var(--ease-out); }
@keyframes tfIn { from { opacity: 0; transform: translateY(6px); } }
.mform__common { padding-top: 14px; border-top: 1px dashed var(--border-default); animation: none; }
.mform .field label small { text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.mform .field label .mono { float: right; }
.field__lbl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; font-family: var(--font-sans); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 30px; background: var(--surface-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141517' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 10px; cursor: pointer; }
.field.is-bad select, .field.is-bad textarea { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.field.is-bad .chipset { outline: 1px solid var(--danger); outline-offset: 3px; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset label { cursor: pointer; }
.chipset label { position: relative; }
.chipset input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px !important; height: 1px !important; padding: 0; border: 0; pointer-events: none; }
.chipset span { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; font-size: var(--text-xs); font-weight: 500; box-shadow: inset 0 0 0 1px var(--border-default); background: var(--surface-raised); transition: background var(--dur-fast), box-shadow var(--dur-fast); }
.chipset label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chipset input:checked + span { background: var(--safety); box-shadow: inset 0 0 0 1px var(--ink); }
.chipset input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.tf__note { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px 14px; background: var(--surface-panel); font-size: var(--text-sm); color: var(--text-secondary); }
.tf__note .i { color: var(--amber-11); }
.tf__note b { color: var(--ink); }
.tf__note .linkbtn { font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--ink); }
.tf__note--w { background: var(--amber-3); }
.mform__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.mform__foot .drawer__fine { max-width: 40ch; }
.linkbtn { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .cform__grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .tf, .mform__common { grid-template-columns: 1fr; } .mform__card { padding: 16px 14px; --c: 14px; } .topics span { height: 40px; padding: 0 12px; font-size: var(--text-xs); } .mform__foot .btn { width: 100%; } }

/* sent */
.sent2 { --c: 26px; display: grid; justify-items: start; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--surface-raised); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); border-top: 4px solid var(--safety); }
.sent2__stamp { --c: 14px; width: 76px; height: 76px; display: grid; place-items: center; background: var(--safety); color: var(--ink); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.sent2__stamp svg { width: 46px; height: 46px; }
.sent2__stamp path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s var(--ease-snap) .2s forwards; }
.sent2__k { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sent2 .h-1 { font-size: clamp(2.4rem, 5vw, 4.4rem); overflow-wrap: anywhere; }
.sent2 .lede b { color: var(--ink); }
.sent2__meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); width: 100%; border-top: 2px solid var(--ink); }
.sent2__meta div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border-subtle); }
.sent2__meta dt { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sent2__meta dd { margin-top: 5px; font-weight: 600; font-size: var(--text-sm); overflow-wrap: anywhere; }
.sent2__cta { display: flex; gap: 8px; flex-wrap: wrap; }
.sent2__cta .btn--line { --fill: var(--surface-raised); }

/* reply card */
.reply { position: sticky; top: calc(var(--bar-h) + var(--head-h) + var(--nav-h) + 24px); transition: top .35s var(--ease-snap); }
html.bar-hidden .reply { top: calc(var(--head-h) + var(--nav-h) + 24px); }
.reply__card { --c: 22px; display: grid; gap: 16px; padding: 22px; background: var(--surface-shell); color: var(--text-on-shell); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.reply__k { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--safety); }
.reply__now .status { color: var(--shell-12); }
.reply__sla { display: grid; border-top: 1px solid var(--border-on-shell); }
.reply__sla li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border-on-shell); }
.reply__sla b { font: 900 1.6rem/1 var(--font-display); color: var(--safety); }
.reply__sla span { font-size: var(--text-sm); color: var(--shell-10); }
.reply__hours { width: 100%; border-collapse: collapse; font-size: 11px; }
.reply__hours th, .reply__hours td { padding: 6px 0; text-align: left; border-bottom: 1px dashed var(--border-on-shell); color: var(--shell-10); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.reply__hours td { text-align: right; }
.reply__hours tr.is-today th, .reply__hours tr.is-today td { color: var(--safety); font-weight: 600; }
@media (max-width: 1023px) { .reply { position: relative; top: 0; } html.bar-hidden .reply { top: 0; } }

/* ---------- branch cards ---------- */
.bfull { background: var(--surface-raised); }
.bfull .h-1 em { color: var(--ink); background: linear-gradient(transparent 58%, var(--safety) 58% 88%, transparent 88%); }
.bcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bcard { --c: 24px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); background: var(--surface-page); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); scroll-margin-top: 180px; transition: box-shadow .4s; }
.bcard.is-target { box-shadow: inset 0 0 0 3px var(--safety); }
.bcard.is-mine .bcard__map { background: var(--shell-2); }
.bcard__map { position: relative; min-height: 100%; background: var(--shell-3); overflow: hidden; }
.bcard__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl__blocks rect { fill: rgba(237, 238, 240, .05); stroke: rgba(237, 238, 240, .08); }
.pl__minor path { stroke: rgba(237, 238, 240, .16); stroke-width: 5; fill: none; }
.pl__major { stroke: var(--shell-7); stroke-width: 16; fill: none; }
.pl__name { fill: var(--shell-11); font: 600 8px var(--font-mono); letter-spacing: .2em; }
.pl__site path { fill: var(--safety); }
.pl__site text { fill: var(--ink); font: 700 10px var(--font-mono); text-anchor: middle; }
.pl__pin circle:first-child { fill: none; stroke: var(--safety); stroke-width: 1.5; animation: ping 2.4s var(--ease-out) infinite; transform-origin: 0 0; }
.pl__pin circle:last-child { fill: var(--safety); }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.pl__n path { fill: var(--shell-10); }
.pl__n text { fill: var(--shell-10); font: 600 9px var(--font-mono); text-anchor: middle; }
.pl__scale { fill: var(--shell-9); font: 500 8px var(--font-mono); letter-spacing: .14em; }
.bcard__code { position: absolute; left: 14px; top: 12px; padding: 5px 7px; background: var(--ink); color: var(--safety); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.bcard__mine { position: absolute; right: 12px; top: 12px; }
.bcard__body { display: grid; gap: 10px; align-content: start; padding: 22px 22px 22px 24px; }
.bcard__role { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.bcard .h-3 { font-size: 2rem; }
.bcard address { font-style: normal; font-size: var(--text-sm); color: var(--text-secondary); }
.bcard__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; font-size: 10.5px; }
.bcard__dl div { padding: 7px 0; border-bottom: 1px dashed var(--border-default); }
.bcard__dl dt { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.bcard__dl dd { margin-top: 3px; font-weight: 600; }
.bcard__serv { display: flex; flex-wrap: wrap; gap: 5px; }
.bcard__serv li { padding: 4px 7px; background: var(--surface-plate); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; }
.bcard__cta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bcard__cta .btn--line { --fill: var(--surface-page); }
@media (max-width: 1279px) { .bcards { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .bcard { grid-template-columns: 1fr; } .bcard__map { min-height: 190px; } .bcard__body { padding: 18px 16px 20px; } }

/* ---------- quick answers ---------- */
.qa2__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.qa2 .sec-head__l { gap: 18px; }
.acc { border-top: 2px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--border-default); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--text-md); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { flex: none; transition: transform var(--dur-base) var(--ease-snap); }
.acc details[open] summary .i { transform: rotate(45deg); color: var(--amber-11); }
.acc summary:hover { color: var(--amber-11); }
.acc p { padding: 0 40px 20px 0; color: var(--text-secondary); max-width: 64ch; }
.acc p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .qa2__grid { grid-template-columns: 1fr; } }
