/* ==========================================================================
   Contact — the methods are the page.
   Ruled rows: Sora label | large Caslon link whose hairline draws in on reveal
   and is overdrawn in orange on hover. Office plates sit beside (desktop) or
   below (mobile) in double-hairline frames that echo the tombstones.
   ========================================================================== */

.contact { padding-top: clamp(88px, 10vw, 152px); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: start;
}

/* ----- Methods ----- */
.contact-methods { border-top: 1px solid var(--rule-strong); }
.contact-method {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: clamp(32px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
}
.contact-method .label {
  font: 600 11px/1.5 var(--ui);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-muted);
  transition: color .45s var(--ease);
}
.contact-method:hover .label { color: var(--navy); }

.contact-method .big {
  justify-self: start;
  font: 400 clamp(30px, 2.2vw + 18px, 56px)/1.18 var(--serif);
  letter-spacing: -.015em;
  color: var(--navy);
  overflow-wrap: anywhere;
  text-wrap: balance;
  /* base hairline + orange overdraw (as .cta-band__mail, on paper) */
  background-image: linear-gradient(var(--rule-strong), var(--rule-strong)), linear-gradient(var(--orange), var(--orange));
  background-size: 100% 1px, 0 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: 8px;
  transition: background-size .8s var(--ease);
}
.contact-method .big:hover,
.contact-method .big:focus-visible { background-size: 100% 1px, 100% 1px; }

/* Signature: each row's hairline draws in after the row settles */
html.js .contact-method .big { background-size: 0 1px, 0 1px; }
html.js .contact-method.in .big {
  background-size: 100% 1px, 0 1px;
  transition: background-size 1.3s var(--ease) calc(var(--d, 0s) + .35s);
}
html.js .contact-method.in .big:hover,
html.js .contact-method.in .big:focus-visible {
  background-size: 100% 1px, 100% 1px;
  transition: background-size .8s var(--ease);
}

/* Notice: quiet cream callout under the rows */
.contact-notice {
  margin-top: clamp(40px, 4vw, 56px);
  max-width: 60ch;
  padding: 24px 28px;
  background: var(--cream);
  font-size: 16px; line-height: 1.7;
  color: var(--ink-body);
}

/* ----- Office plates ----- */
.contact-offices { display: grid; gap: clamp(20px, 2vw, 28px); }
.office {
  position: relative;
  padding: clamp(36px, 3.4vw, 48px) clamp(28px, 2.8vw, 40px);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
}
.office::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid var(--rule);
}
.office h3 {
  font-size: clamp(30px, 2.5vw, 38px); line-height: 1.05;
  color: var(--navy);
}
.office p {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 17px; line-height: 1.65;
  color: var(--ink-body);
}

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .contact-method { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .contact-offices { grid-template-columns: 1fr; }
  .contact-notice { padding: 20px 22px; }
}
