/* Xeres — contact page (/contact/): the form and details come from the
   market stylesheet (.contact, .field, .row2, .details); this adds the form
   heading, the privacy note, the sent state and the three shortcut cards. */
.ct-sec{padding-block:clamp(3.5rem,8vw,6rem)}
.ct-sec .contact{margin-top:0}
.cform{display:grid;gap:1.3rem}
.ct-h{margin:0 0 .4rem;font-size:clamp(1.6rem,2.6vw,2.2rem);font-weight:300;letter-spacing:-.02em;color:var(--head)}
.cform .privacy{margin:0;font-size:.85rem;line-height:1.5;color:var(--ink-quiet)}
.cform .privacy a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.ct-sent{display:grid;gap:.6rem;padding:clamp(1.6rem,3vw,2.4rem);background:var(--ground-2);outline:none}
.ct-sent h2{margin:0;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:300;color:var(--head)}
.ct-sent p{margin:0;color:var(--ink-quiet);line-height:1.6}

.ct-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,1.6vw,1.4rem)}
.ct-card{display:grid;gap:.5rem;align-content:start;padding:clamp(1.3rem,2.4vw,1.9rem);background:#fff;border:1px solid var(--rule);
  color:var(--ink);text-decoration:none;transition:border-color .25s}
.ct-card b{font-weight:400;font-size:1.2rem}
.ct-card span{font-size:.95rem;line-height:1.55;color:var(--ink-quiet)}
.ct-card i{font-style:normal;font-size:1.2rem;transition:transform .3s var(--ease)}
.ct-card:hover{border-color:var(--ink)}
.ct-card:hover i{transform:translateX(4px)}
@media (max-width:900px){.ct-cards{grid-template-columns:1fr}}
.ct-reply p:not(.label){font-size:1.15rem;color:var(--head)}

/* hero: the photo has the backlit Xeres logo on the right, so the text
   column stays narrow enough to sit on the calm left side */
.ct-hero .xp-hero-in > *{max-width:46rem}
.ct-hero .xp-hero-in > .xp-mark{max-width:min(46rem,34vw)}
@media (max-width:760px){
  /* phone: the portrait photo shows whole at the top (logo clear), the text sits
     on the dark band below, overlapping only the photo's darkened bottom */
  .ct-hero{display:block;height:auto;min-height:0;padding-top:calc(125vw - 8rem)}
  .ct-hero picture{bottom:auto;height:125vw}
  .ct-hero::after{background:linear-gradient(to bottom,rgba(14,13,12,.15) 0,rgba(14,13,12,.1) calc(125vw - 16rem),rgba(25,24,23,.85) calc(125vw - 4rem),#191817 125vw,#191817 100%)}
  .ct-hero .xp-hero-in > .xp-mark{max-width:none}
}
