/* Contact and News pages. Loads after case.css and reuses its shell (.w-top, .w-intro, .w-foot). */
[hidden] { display: none !important; }

.p-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); width: calc(100% - 2 * var(--g)); max-width: 1920px; margin: 0 auto; padding: 0 0 clamp(72px, 9vw, 144px); }
.p-aside { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: var(--muted); }
.p-aside p { max-width: 24em; margin: 0 0 1.2em; }
.p-aside a { color: #000; text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }

.p-form { display: grid; gap: 40px; }
.p-field { display: grid; gap: 8px; }
.p-field label { font-size: 14px; line-height: 20px; letter-spacing: 0.02em; color: var(--muted); }
.p-field label span { color: #000; }
.p-field input, .p-field textarea { width: 100%; margin: 0; padding: 12px 0 16px; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: transparent; color: #000; font-family: "MelRegular", Arial, sans-serif; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.3; }
.p-field textarea { min-height: 200px; resize: vertical; }
.p-field input:focus-visible, .p-field textarea:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.p-field [aria-invalid="true"] { border-bottom-color: #b00020; }
.p-error { min-height: 20px; margin: 0; font-size: 14px; line-height: 20px; color: #b00020; }
.p-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.p-button { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 40px; border: 1px solid #000; border-radius: 100px; background: #000; color: #fff; font-family: "MelRegular", Arial, sans-serif; font-size: 18px; cursor: pointer; transition: background-color .3s, color .3s, opacity .3s; }
.p-button:hover:not(:disabled) { background: #fff; color: #000; }
.p-button:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.p-button:disabled { opacity: 0.5; cursor: progress; }
.p-button.is-quiet { background: #fff; color: #000; }
.p-button.is-quiet:hover { background: #000; color: #fff; }
.p-status { margin: 0; font-size: 16px; line-height: 24px; }
.p-status.is-error { color: #b00020; }
.p-note { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); max-width: 40em; }
.p-success { padding: 8px 0; outline: none; }
.p-success h2 { margin: 0 0 16px; font-family: "MelRegular", Arial, sans-serif; font-weight: normal; font-size: clamp(28px, 3.2vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.p-success p { max-width: 30em; margin: 0 0 32px; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: var(--muted); }

.p-news { width: calc(100% - 2 * var(--g)); max-width: 1920px; margin: 0 auto; padding: 0 0 clamp(72px, 9vw, 144px); }
.p-entry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 120px); padding: clamp(32px, 4vw, 64px) 0; border-top: 1px solid var(--line); }
.p-entry:last-child { border-bottom: 1px solid var(--line); }
.p-kicker { margin: 0 0 12px; font-size: 14px; line-height: 20px; letter-spacing: 0.02em; color: var(--muted); }
.p-entry h2 { margin: 0; font-family: "MelRegular", Arial, sans-serif; font-weight: normal; font-size: clamp(24px, 2.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: break-word; }
.p-entry p { max-width: 36em; margin: 0 0 24px; font-family: "MelLight", Arial, sans-serif; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.p-entry a { font-size: 18px; line-height: 24px; color: #000; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.w-top nav a[aria-current="page"]:not(.w-pill) { text-decoration-line: underline; }

@media (max-width: 899px) {
  .p-wrap, .p-entry { grid-template-columns: minmax(0, 1fr); }
  .p-wrap { gap: 40px; }
  .p-button { width: 100%; }
}

@media (max-width: 599px) {
  .p-form { gap: 24px; }
  .p-field textarea { min-height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .p-button { transition: none; }
}
