.contact-page { background: #181d1c; color: #f7f8f4; }
.page-header, .contact-main, .page-footer { width: min(1360px, 92%); margin: 0 auto; }
.page-header { display: flex; align-items: center; justify-content: space-between; height: 112px; }
.page-brand { width: 168px; display: block; }
.back-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: #c3c9c6; min-height: 44px; }
.back-link svg, .submit-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.back-link:hover { color: white; }
.contact-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; padding: 76px 0 70px; border-bottom: 1px solid #ffffff26; }
.page-kicker { font: 10px/1.8 'Space Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: #a6b5ae; margin: 0 0 24px; }
.contact-intro h1 { font-size: clamp(54px, 7.8vw, 112px); line-height: 1.04; font-weight: 400; letter-spacing: -.065em; margin: 0; }
.intro-description { max-width: 440px; padding-bottom: 5px; }
.intro-description p:first-child { font-size: clamp(22px, 2vw, 29px); letter-spacing: -.035em; line-height: 1.4; color: #f5f6f3; }
.intro-description p { font-size: 16px; line-height: 1.7; color: #acb7b1; margin: 0 0 20px; }
.form-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; padding: 70px 0 90px; }
.form-aside { padding: 20px 0; }
.form-aside h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 400; line-height: 1.25; letter-spacing: -.04em; margin: 0 0 24px; }
.form-aside > p:not(.page-kicker) { color: #a6b3ab; max-width: 360px; font-size: 15px; line-height: 1.8; }
.form-aside .aside-caption { font-size: 11px; letter-spacing: .04em; }
.contact-orbit { width: min(100%, 330px); aspect-ratio: 1; position: relative; margin: 30px 0; display: grid; place-items: center; }
.contact-orbit span { position: absolute; border: 1px solid #bac9bf2e; width: 90%; height: 90%; border-radius: 50%; }
.contact-orbit span:nth-child(2) { width: 65%; height: 65%; }
.contact-orbit span:nth-child(3) { width: 40%; height: 40%; background: #c7d9be08; }
.contact-orbit span:first-child::after { content: ''; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #d7e9ce; box-shadow: 0 0 25px #d7e9ce55; }
.contact-orbit span:first-child { animation: orbit-contact 40s linear infinite; }
.contact-orbit svg { width: 38px; fill: none; stroke: #d7e9ce; stroke-width: 1; }
@keyframes orbit-contact { to { transform: rotate(360deg); } }
.form-area { color-scheme: light; color: #19211e; background: #fafbf8; padding: clamp(24px, 3.5vw, 48px); border-radius: 10px; align-self: start; }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 32px; }
.form-heading h2 { font-size: 23px; font-weight: 500; letter-spacing: -.04em; margin: 0; }
.form-heading > span { font-size: 10px; color: #66736c; white-space: nowrap; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; }
.field label > span { color: #506852; padding-left: 3px; }
.field label small { font-weight: 400; color: #728076; font-size: 10px; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid #d6ddd7; border-radius: 4px; padding: 14px 12px; font: 14px/1.5 Manrope, sans-serif; background: transparent; color: #19211e; transition: border-color 180ms, background 180ms; }
.field input, .field select { min-height: 50px; }
.field input::placeholder, .field textarea::placeholder { color: #7b867e; opacity: 1; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #607b60; outline-offset: 2px; border-color: #607b60; background: white; }
.field > small { display: block; font-size: 10px; line-height: 1.6; color: #68766d; margin-top: 8px; }
.privacy-note { font-size: 11px; color: #657369; line-height: 1.8; margin: 24px 0 20px; }
.privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.submit-button { width: 100%; border: 1px solid #203229; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; padding: 15px 20px; background: #203229; color: #fff; font: 14px Manrope, sans-serif; transition: background 180ms; }
.submit-button:hover { background: #304a3b; }
.submit-button:disabled { opacity: .6; cursor: progress; }
.form-area :focus-visible { outline: 2px solid #607b60; outline-offset: 4px; }
.form-status { font-size: 12px; line-height: 1.6; margin: 16px 0 0; color: #922f29; }
.form-status:empty { display: none; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.success-panel { padding: 40px 0; }
.success-panel h2 { font-size: 35px; letter-spacing: -.045em; font-weight: 400; }
.success-panel > p:not(.page-kicker) { color: #657369; line-height: 1.8; font-size: 15px; }
.success-panel .page-kicker { color: #5b725c; margin-top: 30px; }
.success-icon { width: 50px; stroke: #48684d; stroke-width: 1.3; fill: none; }
.success-panel .submit-button { margin-top: 35px; }
.page-footer { display: flex; gap: 30px; align-items: center; border-top: 1px solid #ffffff26; padding: 30px 0; color: #a6b3ab; font-size: 11px; }
.page-footer > :first-child { margin-right: auto; }
.page-footer a:hover { color: white; }
.admin-main { width: min(1120px, 92%); margin: 55px auto 100px; }
.login-card { max-width: 430px; margin: 70px auto; }
.login-card h1 { margin: 0 0 10px; font-size: 32px; font-weight: 400; letter-spacing: -.04em; }
.login-card > p { color: #66736c; font-size: 14px; line-height: 1.6; margin-bottom: 30px; }
.login-card .field { margin-bottom: 24px; }
.inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff26; padding-bottom: 30px; }
.inbox-heading h1 { font-size: clamp(32px, 4vw, 54px); font-weight: 400; letter-spacing: -.045em; margin: 0; }
.inbox-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiet-button { background: transparent; color: inherit; border: 1px solid #69786e; border-radius: 4px; font: 12px Manrope, sans-serif; padding: 12px 16px; min-height: 44px; cursor: pointer; }
.quiet-button:hover { background: #ffffff0a; }
.inbox-status { color: #c2cfc5; font-size: 13px; line-height: 1.6; padding: 20px 0; }
.message-card { border-bottom: 1px solid #ffffff26; padding: 24px 0; }
.message-card summary { cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 4px 0; }
.message-card summary strong { font-size: 19px; font-weight: 500; overflow-wrap: anywhere; }
.message-card summary time { font-size: 11px; color: #aab8af; }
.message-card summary small { grid-column: 1 / -1; color: #aab8af; font-size: 12px; }
.message-card[open] summary { margin-bottom: 25px; }
.message-meta { display: flex; flex-wrap: wrap; gap: 15px 30px; font-size: 13px; color: #cbd7ce; }
.message-meta a { text-decoration: underline; text-underline-offset: 4px; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.8 Manrope, sans-serif; color: #e3ebe6; background: #ffffff05; padding: 24px; border-radius: 5px; margin: 20px 0 0; }
.load-more { margin-top: 28px; }
.legal-main { max-width: 780px; margin: 60px auto 100px; width: 92%; }
.legal-main h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 400; letter-spacing: -.05em; }
.legal-main h2 { margin-top: 36px; font-size: 22px; font-weight: 500; }
.legal-main p { color: #bdc8c0; font-size: 15px; line-height: 1.9; }
.legal-main a { text-decoration: underline; }
@media (max-width: 800px) {
  .page-header { height: 88px; }
  .page-brand { width: 146px; }
  .contact-intro { gap: 30px; padding: 44px 0; }
  .form-section { grid-template-columns: 1fr; gap: 25px; padding: 35px 0 60px; }
  .form-aside { padding: 0; }
  .form-aside > p:not(.page-kicker) { max-width: 100%; }
  .form-aside h2 br { display: none; }
  .contact-orbit, .form-aside .aside-caption { display: none; }
  .form-area { width: 100%; }
}
@media (max-width: 520px) {
  .back-link { font-size: 11px; gap: 6px; }
  .contact-intro { grid-template-columns: 1fr; }
  .contact-intro h1 { font-size: 64px; }
  .intro-description p:first-child { font-size: 22px; }
  .intro-description p:first-child br { display: none; }
  .intro-description p { font-size: 14px; margin-bottom: 10px; }
  .form-heading { display: block; }
  .form-heading h2 { margin-bottom: 8px; }
  .field-grid { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .page-footer { gap: 15px; flex-wrap: wrap; }
  .page-footer > :first-child { width: 100%; }
  .inbox-heading { align-items: flex-start; flex-direction: column; }
  .message-card summary { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-orbit span:first-child { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
