/* ============================================================================
   Contact — page-only styles (loaded after site.css and company.css)
     .ct-hero     the company subpage cover, holding the address as well
                  so it's on the first screen
     .ct-email    the fitted mailto (company.css .c-mail-fit), with a note
                  and a "(Copy address)" button under it
     .ct-rows     what a message is about, and where it goes: large link
                  rows, most opening an email with the subject filled in
     .ct-sheet    company.css's contact sheet, in two columns
   contact.js shows the copy button when the Clipboard API is there.
   ========================================================================== */

/* ---------------------------------------------------------------- cover */
.hero.c-page-hero.ct-hero { min-height: 0; }
/* block, not .m-label's inline-flex: the flex gap would split the clock
   from the closing bracket, and the line couldn't wrap as one sentence */
.ct-meta { display: block; margin: 0; }
.ct-meta [data-clock] { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- email */
.ct-email { margin-top: clamp(2.6rem, 6vw, 4.8rem); }
.ct-email-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.8rem 2rem;
	margin-top: 1.4rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--hairline);
}
.ct-email-foot .c-mail-note { margin: 0; }
.ct-copy {
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.25s var(--ease);
}
.ct-copy[hidden] { display: none; }
.ct-copy:hover, .ct-copy:focus-visible { color: var(--text); }
.ct-copy.is-done { color: var(--accent-2); }

/* ---------------------------------------------------------- what about */
.ct-rows { display: block; border-top: 1px solid var(--hairline-2); }
.ct-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 30rem) minmax(8.5rem, auto);
	gap: 0.7rem clamp(1.5rem, 4vw, 4rem);
	align-items: baseline;
	padding-block: clamp(1.4rem, 2.6vw, 2.1rem);
	border-bottom: 1px solid var(--hairline);
}
.ct-row-title {
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.4vw, 3.2rem);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 1;
	text-wrap: balance;
	transition: color 0.3s var(--ease);
}
.ct-row-desc { font-size: 0.98rem; line-height: 1.55; color: var(--text-mute); }
.ct-row-act {
	justify-self: end;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--text-mute);
	transition: color 0.3s var(--ease), transform 0.35s var(--ease);
}
.ct-row:hover .ct-row-title,
.ct-row:focus-visible .ct-row-title,
.ct-row:hover .ct-row-act,
.ct-row:focus-visible .ct-row-act { color: var(--accent-2); }
.ct-row:hover .ct-row-act,
.ct-row:focus-visible .ct-row-act { transform: translateX(4px); }

/* ---------------------------------------------------------------- sheet */
.section.ct-sheet { padding-top: 0; }
.c-sheet.ct-sheet-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* -------------------------------------------------------------- tablet */
@media (max-width: 960px) {
	.ct-row { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); }
	.ct-row-act { grid-column: 2; justify-self: start; }
}

/* -------------------------------------------------------------- phones */
@media (max-width: 640px) {
	.ct-row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
	.ct-row-act { grid-column: 1; margin-top: 0.2rem; }
}
@media (max-width: 860px) {
	.c-sheet.ct-sheet-2 { grid-template-columns: 1fr; }
}
