.contact-page { background: var(--paper); }
.contact-hero,
.project-brief,
.contact-outro { padding-left: clamp(18px,3vw,48px); padding-right: clamp(18px,3vw,48px); }
.contact-hero { overflow: hidden; padding-top: 14px; padding-bottom: 68px; }
.contact-page-meta { display: flex; justify-content: space-between; gap: 24px; font-size: 12px; font-weight: 700; }
.contact-hero h1 { position: relative; z-index: 2; margin: 38px 0 -8px; color: var(--red); font: 700 clamp(96px,13.6vw,230px)/.89 Oswald,sans-serif; letter-spacing: -.035em; }
.contact-hero h1 span,
.project-brief h2 span,
.contact-outro h2 span { color: var(--ink); }
.contact-hero-stage { display: grid; grid-template-columns: minmax(260px,30%) minmax(0,70%); align-items: end; min-height: 570px; }
.contact-hero-note { align-self: end; padding-bottom: 65px; position: relative; z-index: 3; }
.contact-hero-note p { max-width: 29ch; margin: 0 0 38px; font-size: clamp(22px,2.1vw,33px); line-height: 1.19; letter-spacing: -.035em; }
.contact-hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 2px solid currentColor; padding-bottom: 9px; color: var(--red); font-size: 16px; font-weight: 700; }
.contact-hero-link .phosphor-icon { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.contact-hero-link:hover .phosphor-icon { transform: translate(3px,-3px); }
.contact-hero-caption { display: block; margin-top: 110px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.contact-illustration { position: relative; width: 100%; height: clamp(470px,43vw,660px); }
.contact-illustration > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.interest { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 155px; padding: 11px 14px; border: 1px solid var(--red); background: var(--paper); color: var(--red); font: 700 16px/1 Oswald,sans-serif; letter-spacing: .015em; white-space: nowrap; }
.interest > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.interest small { font: 700 9px/1 'DM Sans',sans-serif; letter-spacing: .07em; color: var(--ink); }
.interest .phosphor-icon { line-height: 0; }
.interest-writing { top: 10%; left: 2%; transform: rotate(-5deg); }
.interest-cooking { top: 6%; right: 4%; transform: rotate(5deg); }
.interest-robotics { bottom: 13%; left: 0; transform: rotate(4deg); }
.interest-racing { right: 1%; bottom: 20%; transform: rotate(-4deg); }

.project-brief { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1fr); gap: clamp(50px,7vw,130px); padding-top: clamp(95px,10vw,150px); padding-bottom: clamp(110px,12vw,180px); background: #e7e1d7; }
.brief-number { display: block; font-size: 12px; font-weight: 700; letter-spacing: .055em; }
.project-brief h2 { margin: 50px 0 42px; color: var(--red); font: 700 clamp(70px,7vw,130px)/.92 Oswald,sans-serif; letter-spacing: -.035em; }
.project-brief-intro > p { max-width: 36ch; margin: 0; font-size: clamp(20px,1.8vw,27px); line-height: 1.3; letter-spacing: -.025em; }
.brief-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 110px; font-size: 15px; }
.brief-direct > span { color: var(--muted); }
.brief-direct a { display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid currentColor; padding-bottom: 6px; font-weight: 700; }
.project-form { border-top: 1px solid var(--ink); }
.form-field { border-bottom: 1px solid var(--ink); padding: 22px 0 19px; transition: border-color .2s; }
.form-field:focus-within { border-color: var(--red); }
.form-field label { display: flex; justify-content: space-between; gap: 20px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.form-field:focus-within label { color: var(--red); }
.required { color: var(--red); }
.label-hint { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.form-field input,
.form-field textarea,
.form-field select { display: block; width: 100%; min-height: 48px; padding: 14px 0 0; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: 400 clamp(20px,1.7vw,26px)/1.25 'DM Sans',sans-serif; letter-spacing: -.025em; }
.form-field textarea { min-height: 92px; resize: vertical; }
.form-field textarea#project-details { min-height: 142px; }
.form-field input::placeholder,
.form-field textarea::placeholder,
.form-field select:invalid { color: #706966; opacity: 1; }
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 34px; cursor: pointer; }
.select-wrap > .phosphor-icon { position: absolute; right: 2px; bottom: 11px; pointer-events: none; }
.form-submit-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 32px; }
.form-submit-row p { max-width: 28ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.form-submit-row button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 230px; padding: 16px 18px; border: 1px solid var(--red); border-radius: 0; background: var(--red); color: var(--paper); cursor: pointer; font: 700 16px 'DM Sans',sans-serif; transition: background .25s,color .25s; }
.form-submit-row button:hover { background: transparent; color: var(--red); }
.form-submit-row button .phosphor-icon { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.form-submit-row button:hover .phosphor-icon { transform: translate(3px,-3px); }
.form-status { min-height: 1.5em; margin: 15px 0 0; color: var(--red); font-size: 14px; line-height: 1.4; }
.form-status:empty { display: none; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

.contact-outro { display: flex; flex-direction: column; align-items: flex-start; min-height: 540px; padding-top: 70px; padding-bottom: 75px; background: var(--red); color: var(--paper); }
.contact-outro p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .055em; }
.contact-outro h2 { margin: auto 0 30px; font: 700 clamp(85px,12vw,190px)/.9 Oswald,sans-serif; letter-spacing: -.035em; }
.contact-outro h2 span { color: var(--ink); }
.contact-outro a { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; border-bottom: 2px solid currentColor; padding-bottom: 8px; font-size: 20px; font-weight: 700; }

@media (max-width: 950px) {
  .contact-hero h1 { font-size: 13vw; }
  .contact-hero-stage { grid-template-columns: 30% 70%; }
  .contact-hero-note p { font-size: 22px; }
  .interest { min-width: 0; gap: 8px; padding: 8px; font-size: 13px; }
  .interest .phosphor-icon svg { width: 24px; height: 24px; }
  .project-brief { grid-template-columns: .8fr 1fr; gap: 40px; }
  .project-brief h2 { font-size: 7.3vw; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row button { align-self: flex-end; }
}
@media (max-width: 700px) {
  .contact-page-meta span:nth-child(2) { display: none; }
  .contact-hero h1 { margin-top: 45px; font-size: 15vw; }
  .contact-hero-stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .contact-hero-note { order: 2; padding: 0 0 25px; }
  .contact-hero-note p { max-width: 34ch; font-size: 24px; }
  .contact-hero-caption { margin-top: 50px; }
  .contact-illustration { order: 1; height: 72vw; min-height: 290px; margin: 25px 0 30px; }
  .project-brief { display: block; padding-top: 90px; padding-bottom: 100px; }
  .project-brief h2 { margin: 38px 0 28px; font-size: 15vw; }
  .project-brief-intro > p { font-size: 21px; }
  .brief-direct { margin: 40px 0 70px; }
  .contact-outro { min-height: 420px; }
}
@media (max-width: 480px) {
  .contact-page-meta { font-size: 10px; }
  .contact-hero h1 { font-size: 16.4vw; line-height: .95; }
  .contact-illustration { height: 77vw; margin-top: 25px; margin-bottom: 95px; }
  .interest { font-size: 12px; }
  .interest small { font-size: 8px; }
  .interest .phosphor-icon svg { width: 22px; height: 22px; }
  .interest-writing { top: 0; left: 0; }
  .interest-cooking { top: 0; right: 0; }
  .interest-robotics { bottom: -70px; left: 0; }
  .interest-racing { bottom: -70px; right: 0; }
  .contact-hero-note p { font-size: 22px; }
  .form-field label { font-size: 11px; }
  .form-field input,.form-field textarea,.form-field select { font-size: 19px; }
  .form-submit-row button { align-self: stretch; }
  .contact-outro h2 { font-size: 17vw; }
  .contact-outro a { font-size: 16px; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .interest,.contact-hero-link .phosphor-icon,.form-submit-row button .phosphor-icon { animation: none; transition: none; }
}
