.contact-page { --paper: #fff; --ink: #101820; --muted: #727984; --accent: #dc143c; --ease: cubic-bezier(.16, 1, .3, 1); }
.contact-page { background: #fff; color: var(--ink); }
.contact-page ::selection { background: #dc143c25; }
.contact-header {
  position: relative; z-index: 10; height: 88px; padding-inline: clamp(22px, 2.6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.contact-brand, .contact-navigation { display: flex; align-items: center; gap: 32px; }
.contact-header .rm-logo { width: 82px; height: 48px; }
.brand-divider { display: block; width: 1px; height: 17px; background: #10182070; }
.brand-name { font-size: 11px; letter-spacing: .025em; line-height: 1.4; }
.contact-current { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 20px; letter-spacing: .035em; text-decoration: underline; text-underline-offset: 5px; }
.contact-current > span { color: var(--accent); font-size: 27px; text-decoration: none; }
.contact-menu { position: relative; }
.contact-menu summary { width: 82px; min-height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 10px; cursor: pointer; list-style: none; }
.contact-menu summary::-webkit-details-marker { display: none; }
.contact-menu summary span { display: block; width: 60px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.contact-menu summary span:last-child { align-self: flex-end; }
.contact-menu[open] summary span:first-child { transform: translate(11px, 6px) rotate(14deg); }
.contact-menu[open] summary span:last-child { transform: translate(-11px, -6px) rotate(-14deg); }
.contact-menu nav { position: absolute; right: 0; top: 58px; width: 240px; padding: 14px; border: 1px solid #e6e7ea; border-radius: 16px; background: #fff; box-shadow: 0 12px 50px #10182012; }
.contact-menu nav a { display: block; padding: 12px 16px; border-radius: 8px; font-size: 16px; }
.contact-menu nav a:hover, .contact-menu nav a[aria-current] { background: #dc143c09; color: var(--accent); }
.contact-main-page { padding: 0 clamp(16px, 2.6vw, 64px); }
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 150px); min-height: calc(100svh - 110px);
  padding: clamp(64px, 7.6vw, 146px) clamp(32px, 3.65vw, 72px) 40px;
  border-radius: 32px; overflow: hidden;
  background: radial-gradient(ellipse at 0% 70%, #dc143c0a, transparent 54%), radial-gradient(ellipse at 100% 100%, #dc143c13, transparent 44%), #fff;
  box-shadow: 0 8px 70px #10182007;
  animation: contact-enter .8s var(--ease) both;
}
.contact-invitation { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding-top: 54px; gap: 64px; }
.contact-eyebrow { color: var(--accent); font-size: 18px; line-height: 1.5; margin-bottom: 24px; }
.contact-panel :is(h1, .contact-display) { font-size: clamp(46px, 4vw, 76px); font-weight: 400; line-height: 1.08; letter-spacing: -.055em; }
.contact-panel :is(h1, .contact-display) > span { color: var(--accent); }
.contact-intro { margin-top: 60px; }
.intro-rule { display: block; width: 70px; height: 1px; background: #10182060; margin-bottom: 23px; }
.contact-intro p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.direct-contact { padding-bottom: 10px; }
.direct-contact > p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.direct-contact > a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(17px, 1.2vw, 22px); text-decoration: underline; text-underline-offset: 7px; text-decoration-color: #10182044; transition: color .25s; }
.direct-contact > a:hover { color: var(--accent); }
.personal-signature { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }
.contact-form-column { min-width: 0; }
.contact-form-column :is(h2, .form-heading) { font-size: clamp(36px, 2.3vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -.045em; }
#contact-form { margin-top: 35px; scroll-margin-top: 28px; }
.contact-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.contact-field { min-width: 0; }
.contact-field input, .contact-message textarea {
  display: block; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0; background: transparent; color: var(--ink); padding: 14px 0 12px;
  font: inherit; font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.contact-field input { min-height: 50px; }
.contact-field input::placeholder { color: #858b94; opacity: 1; }
.contact-field input:focus, .contact-message textarea:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.contact-field input:user-invalid, .contact-message textarea:user-invalid { border-color: var(--accent); }
.contact-interests { border: 0; margin: 30px 0 0; padding: 0; min-width: 0; }
.contact-interests legend { padding: 0; margin-bottom: 12px; color: var(--muted); font-size: 16px; }
.interest-options { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-options label { position: relative; cursor: pointer; }
.interest-options input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.interest-options span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 16px; line-height: 1.35; transition: color .2s, border-color .2s, background .2s; }
.interest-options input:checked + span { border-color: var(--accent); background: var(--accent); color: white; }
.interest-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }
.interest-options label:hover span { border-color: var(--accent); }
.contact-message { display: block; margin-top: 34px; }
.contact-message > span { color: var(--muted); font-size: 16px; }
.contact-message textarea { min-height: 78px; resize: vertical; padding-top: 8px; }
.send-note { margin-top: 25px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-send {
  display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 68px;
  margin-top: 24px; padding: 16px 24px; border-radius: 999px; color: white; background: var(--ink);
  font-size: 18px; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 8px 24px #1018201a;
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
}
.send-symbol { font-size: 25px; color: var(--accent); transition: transform .5s var(--ease), color .25s; }
.contact-send:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 30px #dc143c26; }
.contact-send:hover .send-symbol { color: white; transform: rotate(90deg); }
.contact-form-status { color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-form-status:not(:empty) { margin-top: 16px; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.draft-actions a, .draft-actions button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: transparent; color: var(--accent); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.contact-page-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px clamp(22px, 2.6vw, 64px); color: var(--muted); font-size: 12px; }
.contact-page-footer a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px; }
.contact-page :is(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@keyframes contact-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.contact-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-send:disabled { cursor: wait; opacity: .65; transform: none; }
.contact-form-status[data-state="error"] { color: #b81032; }
.contact-form-status[data-state="success"] { color: #101820; }
@media (max-width: 1200px) {
  .contact-panel { gap: 48px; padding: 70px 40px 40px; }
  .contact-invitation { padding-top: 25px; }
  .contact-panel :is(h1, .contact-display) { font-size: clamp(42px, 4.5vw, 60px); }
  .interest-options span { font-size: 14px; padding-inline: 16px; }
}
@media (max-width: 900px) {
  .contact-panel { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 48px 32px; }
  .contact-invitation { padding-top: 0; gap: 28px; }
  .contact-panel :is(h1, .contact-display) { max-width: 620px; font-size: clamp(40px, 7vw, 60px); }
  .contact-intro { margin-top: 30px; }
  .direct-contact { padding: 0; }
  .personal-signature { display: none; }
  .contact-form-column :is(h2, .form-heading) { font-size: 36px; }
  #contact-form { margin-top: 22px; }
}
@media (max-width: 540px) {
  .contact-header { height: 80px; padding-inline: 22px; }
  .contact-brand, .contact-navigation { gap: 18px; }
  .brand-name, .contact-brand .brand-divider, .contact-navigation > .brand-divider { display: none; }
  .contact-header .rm-logo { width: 64px; height: 40px; }
  .contact-current { font-size: 15px; gap: 8px; }
  .contact-current > span { font-size: 21px; }
  .contact-menu summary { width: 44px; gap: 8px; }
  .contact-menu summary span { width: 34px; }
  .contact-menu[open] summary span:first-child { transform: translate(5px, 5px) rotate(14deg); }
  .contact-menu[open] summary span:last-child { transform: translate(-5px, -5px) rotate(-14deg); }
  .contact-main-page { padding-inline: 12px; }
  .contact-panel { border-radius: 24px; padding: 36px 24px; gap: 42px; }
  .contact-eyebrow { font-size: 16px; margin-bottom: 18px; }
  .contact-panel :is(h1, .contact-display) { font-size: clamp(36px, 9vw, 46px); }
  .desktop-break { display: none; }
  .contact-intro p br { display: none; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .interest-options span { min-height: 44px; font-size: 14px; padding-inline: 16px; }
  .contact-send { min-height: 60px; font-size: 16px; }
  .contact-page-footer { flex-wrap: wrap; gap: 18px; padding: 26px 24px; }
}
@media (prefers-reduced-motion: reduce) { .contact-panel { animation: none; } .contact-send:hover, .contact-send:hover .send-symbol { transform: none; } }
