/**
 * page-contact.css
 *
 * Styles scoped exclusively to template-contact.php.
 * Global styles (nav, breadcrumb, footer, .seo-h1, .hero-headline,
 * .container, .btn) live in main.css and are NOT repeated here.
 *
 */


/* ═══ PAGE HERO (contact-specific overrides) ════════════════════════════════ */

/*
 * Decorative watermark behind the hero copy.
 * Hardcoded as "Contact" per design spec — not editor-controlled.
 * .page-hero base styles (padding, border-bottom, overflow:hidden) are in main.css.
 */
.page-hero::before {
	content: "Contact";
	position: absolute;
	right: -40px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--serif);
	font-size: clamp(140px, 20vw, 260px);
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 1px rgba(184, 184, 184, 0.05);
	line-height: 1;
	pointer-events: none;
	white-space: nowrap;
}

/*
 * Eyebrow — the small caps label above the display headline.
 * Rendered as .eyebrow inside .page-hero on this template.
 */
.page-hero .eyebrow {
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--silver);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.page-hero .eyebrow::before {
	content: "";
	width: 48px;
	height: 1px;
	background: var(--silver);
	display: inline-block;
}

/*
 * Lead paragraph — the intro sentence below the display headline.
 */
.page-hero .lead {
	font-size: 18px;
	color: var(--silver-light);
	max-width: 560px;
	line-height: 1.65;
	font-weight: 300;
}


/* ═══ CONTACT BODY LAYOUT ═══════════════════════════════════════════════════ */

.contact-body {
	padding: 80px 0 100px;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 80px;
	align-items: start;
}


/* ═══ CONTACT INFO CARDS ════════════════════════════════════════════════════ */

/*
 * The 1px gap between cards is achieved by setting the wrapper background
 * to --grid-gap and using gap: 1px on the flex column. Each card sits on
 * top of that background so only the gap shows through.
 */
.contact-cards {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--grid-gap);
}

.contact-card {
	background: var(--light-card);
	border: 1px solid var(--grid-gap);
	padding: 36px 40px;
	display: flex;
	align-items: flex-start;
	gap: 28px;
	transition: background 0.2s;
	text-decoration: none;
	color: inherit;
	position: relative;
}

/* Left accent bar — slides in on hover */
.contact-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 100%;
	background: var(--black);
	transition: width 0.25s;
}

a.contact-card:hover {
	background: var(--light-hover);
}

a.contact-card:hover::before {
	width: 3px;
}

/* Icon container */
.contact-card-icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #444;
	margin-top: 2px;
}

/* Content */
.contact-card-content {
	flex: 1;
}

.contact-card-label {
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #666;
	font-weight: 600;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact-card-label::before {
	content: "";
	width: 16px;
	height: 1px;
	background: #666;
}

.contact-card-value {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--black);
	line-height: 1.2;
	margin-bottom: 8px;
}

.contact-card-note {
	font-size: 13px;
	color: #444;
	font-weight: 400;
	line-height: 1.5;
}

/* Arrow chevron */
.contact-card-arrow {
	align-self: center;
	color: #999;
	flex-shrink: 0;
	transition: transform 0.2s, color 0.2s;
}

a.contact-card:hover .contact-card-arrow {
	transform: translateX(4px);
	color: var(--black);
}


/* ═══ SIDEBAR ═══════════════════════════════════════════════════════════════ */

.contact-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1px;
	position: sticky;
	top: 120px;
}

/* Social block */
.sidebar-block {
	background: var(--black-2);
	border: 1px solid rgba(184, 184, 184, 0.1);
	padding: 32px 28px;
}

.sidebar-block-label {
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--silver-dark);
	font-weight: 600;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sidebar-block-label::before {
	content: "";
	width: 16px;
	height: 1px;
	background: var(--silver-dark);
}

/* Social list */
.social-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.social-list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	background: var(--black-3);
	color: var(--silver);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.social-list a:hover {
	background: #222;
	color: var(--white);
	padding-left: 20px;
}

.social-icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border: 1px solid rgba(184, 184, 184, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s;
}

.social-list a:hover .social-icon {
	border-color: rgba(184, 184, 184, 0.4);
}

/* "Looking to join?" note block */
.sidebar-note {
	background: var(--black-2);
	border: 1px solid rgba(184, 184, 184, 0.1);
	padding: 32px 28px;
}

.sidebar-note h3 {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 12px;
	line-height: 1.2;
}

.sidebar-note p {
	font-size: 13px;
	color: var(--silver-dark);
	line-height: 1.7;
	font-weight: 300;
}

/* CTA inside sidebar-note — extends global .btn pattern */
.sidebar-note .btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 20px;
	margin-top: 20px;
	border: 1px solid rgba(255,255,255,0.4);
	color: var(--white);
}
.sidebar-note .btn:hover {
	border-color: var(--white);
}


/* ═══ RESPONSIVE ════════════════════════════════════════════════════════════ */

/* Tablet: collapse to single column, un-stick sidebar */
@media (max-width: 1100px) {
	.contact-body {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.contact-sidebar {
		position: static;
	}
}

/* Mobile: tighten hero and card padding, hide watermark */
@media (max-width: 900px) {
	.page-hero::before {
		display: none;
	}

	.contact-body {
		padding: 48px 0 72px;
	}

	.contact-card {
		padding: 28px 24px;
	}
}

/* Small phone: shrink card value font size, tighten container */
@media (max-width: 540px) {
	.contact-card-value {
		font-size: 18px;
	}
}
