/*
 * The Wilkins Companies — corporate portfolio theme
 * v0.3.0 review baseline
 */

:root {
	--wc-midnight: #09131F;
	--wc-navy: #14263A;
	--wc-slate: #9AA8B8;
	--wc-paper: #111C2B;
	--wc-surface: #172437;
	--wc-surface-raised: #1C2B40;
	--wc-white: #EDF1F5;
	--wc-muted: #B8C3CF;
	--wc-signal: #C1A064;
	--wc-signal-light: #D3B57A;
	--wc-border: #2B3A4F;
	--wc-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

html {
	scroll-behavior: smooth;
}

/* Respect OS reduced-motion preferences for navigation and anchor links. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: #0E1826;
	color: var(--wc-white);
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--wc-signal-light);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

.wc-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(9, 19, 31, 0.94);
	border-bottom: 1px solid var(--wc-border);
	backdrop-filter: blur(12px);
}

.wc-header-inner {
	min-height: 76px;
}

.wc-brand a {
	color: var(--wc-white);
	font-size: 1rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.wc-navigation {
	font-size: 0.94rem;
	font-weight: 600;
}

.wc-navigation a {
	color: #DCE3EA;
	text-decoration: none;
}

.wc-navigation a:hover,
.wc-navigation a:focus {
	color: var(--wc-signal-light);
}

.wc-site-main {
	overflow: hidden;
}

.wc-hero {
	padding-top: clamp(5rem, 10vw, 8.5rem);
	padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
	background:
		radial-gradient(circle at 82% 18%, rgba(193, 160, 100, 0.10), transparent 28%),
		linear-gradient(125deg, #07101B 0%, #0B1725 48%, #14263A 100%);
	color: var(--wc-white);
	border-bottom: 1px solid var(--wc-border);
}

.wc-hero .wp-block-group__inner-container {
	max-width: 980px;
}

.wc-eyebrow,
.wc-section-label,
.wc-status {
	margin-bottom: 0.8rem;
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.wc-eyebrow,
.wc-section-label {
	color: var(--wc-signal-light);
}

.wc-hero h1 {
	max-width: 930px;
	margin-top: 0;
	margin-bottom: 1.4rem;
	color: #F4F6F8;
	font-size: clamp(2.7rem, 7vw, 5.8rem);
	font-weight: 760;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.wc-lead {
	max-width: 760px;
	margin-bottom: 2rem;
	color: #C5CFDA;
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.65;
}

.wc-hero .wp-block-button__link {
	padding: 0.9rem 1.25rem;
	border: 1px solid #E8EDF2;
	background: #E8EDF2;
	color: var(--wc-midnight);
}

.wc-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #E8EDF2;
}

.wc-section {
	padding-top: clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	background: #0E1826;
}

.wc-section-alt {
	background: var(--wc-paper);
	border-top: 1px solid rgba(255, 255, 255, 0.035);
	border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.wc-section h2 {
	max-width: 820px;
	margin-top: 0;
	margin-bottom: 1rem;
	color: #F0F3F6;
	font-size: clamp(2rem, 4vw, 3.35rem);
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.wc-section-intro {
	max-width: 760px;
	margin-bottom: 2.5rem;
	color: var(--wc-muted);
	font-size: 1.08rem;
}

.wc-card-grid {
	gap: 1.25rem;
	align-items: stretch;
}

.wc-card {
	height: 100%;
	box-sizing: border-box;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--wc-surface);
	border: 1px solid var(--wc-border);
	border-radius: 8px;
	box-shadow: var(--wc-shadow);
}

.wc-card h2,
.wc-card h3 {
	color: #F0F3F6;
}

.wc-card h3 {
	margin-top: 0.2rem;
	margin-bottom: 0.75rem;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.wc-card p {
	color: #B9C4D0;
}

.wc-card a {
	color: var(--wc-signal-light);
	font-weight: 650;
}

.wc-status {
	display: inline-block;
	margin-top: 0;
	color: #93A8C0;
}

.wc-status-active {
	color: #85BFA0;
}

.wc-status-development {
	color: #D1AE6E;
}

.wc-principle {
	border-top: 2px solid var(--wc-signal);
	padding-top: 1.2rem;
}

.wc-principle h3 {
	color: #EDF1F5;
}

.wc-principle p {
	color: var(--wc-muted);
}

.wc-cta {
	padding-top: clamp(3.5rem, 7vw, 5.5rem);
	padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
	background: #111F30;
	color: var(--wc-white);
	border-top: 1px solid var(--wc-border);
}

.wc-cta h2 {
	color: #F0F3F6;
}

.wc-cta p {
	color: #BCC8D4;
}

.wc-cta .wp-block-button__link {
	background: #E8EDF2;
	color: var(--wc-midnight);
}

.wc-page-shell {
	min-height: 58vh;
	padding-top: clamp(3.5rem, 7vw, 6rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	background:
		linear-gradient(180deg, rgba(20, 38, 58, 0.28), transparent 260px),
		#0E1826;
}

.wc-page-title {
	max-width: 900px;
	margin-bottom: 2rem;
	color: #F0F3F6;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.wc-content-block {
	margin-top: 2rem;
	color: #D5DDE5;
}

.wc-content-block h2,
.wc-content-block h3 {
	color: #F0F3F6;
}

.wc-content-block p {
	color: #C0CAD5;
}

.wc-site-footer {
	border-top: 1px solid var(--wc-border);
	background: #09131F;
}

.wc-footer-inner {
	min-height: 112px;
}

.wc-footer-brand {
	margin: 0;
	color: #EDF1F5;
	font-weight: 700;
}

.wc-footer-note {
	margin: 0;
	color: var(--wc-slate);
	font-size: 0.9rem;
}

@media (max-width: 781px) {
	.wc-header-inner {
		min-height: 66px;
	}

	.wc-hero {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.wc-card-grid {
		gap: 1rem;
	}

	.wc-footer-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 0.35rem;
	}
}


.wc-company-card {
	margin-bottom: 1.25rem;
}

.wc-company-card:last-child {
	margin-bottom: 0;
}

.wc-footer-links {
	margin: 0;
	color: var(--wc-slate);
	font-size: 0.9rem;
}

.wc-footer-links a {
	color: #DCE3EA;
	text-decoration: none;
}

.wc-footer-links a:hover,
.wc-footer-links a:focus {
	color: var(--wc-signal-light);
}

@media (max-width: 781px) {
	.wc-footer-links {
		margin-top: 0.5rem;
	}
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--wc-signal-light);
	outline-offset: 3px;
}

.wc-site-search {
	max-width: 680px;
	margin-bottom: 2rem;
}

.wc-site-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wc-border);
	border-radius: 6px;
	background: #F7F9FB;
	padding: 0.25rem;
}

.wc-site-search .wp-block-search__input {
	border: 0;
	background: transparent;
	color: #09131F;
}

.wc-site-search .wp-block-search__button {
	border: 0;
	border-radius: 4px;
	background: var(--wc-signal);
	color: #09131F;
	font-weight: 700;
}

.wc-search-result {
	margin-bottom: 1rem;
}

/* Keyboard-first bypass of repeated site navigation. */
.wc-skip-link {
	position: fixed;
	top: -6rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.7rem 1rem;
	background: var(--wc-white);
	color: var(--wc-midnight);
	border: 2px solid var(--wc-signal-light);
	border-radius: 4px;
	text-decoration: underline;
}

.wc-skip-link:focus-visible {
	top: 0.75rem;
	outline: 3px solid var(--wc-midnight);
	outline-offset: 2px;
}


/* Batch 2 — corporate presentation system (draft-only, no WordPress activation).
 * Extends existing midnight/brass design tokens without changing brand authority.
 */
:where(.wc-hero, .wc-section, .wc-cta, .wc-page-shell) {
	box-sizing: border-box;
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}
:where(.wc-hero, .wc-section, .wc-cta, .wc-page-shell) :where(h1, h2, h3, p) {
	overflow-wrap: break-word;
}
:where(.wc-hero, .wc-section, .wc-cta, .wc-page-shell) :where(a, code) {
	overflow-wrap: anywhere;
}
:where(.wc-hero, .wc-section, .wc-cta) .wp-block-buttons {
	gap: .75rem;
}
:where(.wc-hero, .wc-cta) .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	font-weight: 700;
	line-height: 1.35;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wc-hero .wp-block-button__link:hover,
.wc-cta .wp-block-button__link:hover {
	background: #FFF;
	border-color: #FFF;
	color: var(--wc-midnight);
}
.wc-hero .is-style-outline .wp-block-button__link:hover {
	background: #EDF1F5;
	color: var(--wc-midnight);
}
.wc-hero-note {
	margin-block: 2rem 0;
	max-width: 74ch;
	padding-inline-start: 1rem;
	border-left: 2px solid var(--wc-signal);
	color: #C8D0DB;
	font-size: .9rem;
	line-height: 1.7;
}
.wc-hero .wc-eyebrow {
	max-width: 60ch;
}
.wc-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .6rem;
}
.wc-card :where(h2, h3, p) {
	max-width: 100%;
	overflow-wrap: anywhere;
}
.wc-card p {
	margin-block: .2rem .7rem;
}
.wc-card a {
	text-decoration-thickness: 1.5px;
}
.wc-card a:hover {
	color: #F7D9A4;
}
.wc-card .wc-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.wc-card-featured {
	border-top: 3px solid var(--wc-signal);
	background: var(--wc-surface-raised);
}
.wc-card-footnote {
	margin-top: auto !important;
	padding-top: .75rem;
	border-top: 1px solid var(--wc-border);
	color: var(--wc-slate) !important;
	font-size: .86rem;
	line-height: 1.6;
}
.wc-status {
	max-width: 100%;
	line-height: 1.45;
}
.wc-company-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(1rem, 2.8vw, 1.5rem);
}
.wc-company-list > .wc-company-card {
	min-width: 0;
	margin: 0;
}
.wc-company-list > .wc-company-card:first-child,
.wc-company-list > .wc-company-card:last-child {
	grid-column: 1 / -1;
}
.wc-company-list > .wc-company-card:first-child {
	border-top: 3px solid var(--wc-signal);
	background: var(--wc-surface-raised);
}
.wc-portfolio-legend,
.wc-contact-footnote {
	margin-block-start: clamp(2rem, 5vw, 3.25rem);
	padding: clamp(1.2rem, 3vw, 2rem);
	border: 1px solid var(--wc-border);
	border-left: 3px solid var(--wc-signal);
	background: var(--wc-paper);
	border-radius: 5px;
}
.wc-portfolio-legend h3,
.wc-contact-footnote h3 {
	margin-block-start: 0;
	color: var(--wc-white);
	font-size: clamp(1.2rem, 2.3vw, 1.5rem);
}
.wc-portfolio-legend p,
.wc-contact-footnote p {
	max-width: 80ch;
	color: var(--wc-muted);
	line-height: 1.7;
}
.wc-progress-section {
	border-top: 1px solid var(--wc-border);
}
.wc-stage-grid,
.wc-contact-grid {
	gap: clamp(1rem, 2.8vw, 1.4rem);
	align-items: stretch;
}
.wc-stage-grid > .wp-block-column,
.wc-contact-grid > .wp-block-column {
	min-width: 0;
}
.wc-stage-step {
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.25rem, 3vw, 1.8rem);
	border: 1px solid var(--wc-border);
	border-top: 3px solid var(--wc-signal);
	background: var(--wc-surface);
	border-radius: 5px;
}
.wc-stage-number {
	margin-block: 0 1.25rem;
	color: var(--wc-signal-light);
	font-weight: 750;
	font-size: .85rem;
	letter-spacing: .14em;
}
.wc-stage-step h3 {
	margin-block: 0 .8rem;
	color: var(--wc-white);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.3;
}
.wc-stage-step p:not(.wc-stage-number) {
	color: var(--wc-muted);
	line-height: 1.7;
}
.wc-contact-card {
	height: 100%;
}
.wc-contact-pending {
	background: var(--wc-paper);
	border-style: dashed;
}
.wc-contact-footnote a {
	color: var(--wc-signal-light);
}
.wc-contact-section .wc-section-intro {
	max-width: 80ch;
}
.wc-cta-inline {
	border-top: 1px solid var(--wc-border);
}
.wc-page-title {
	max-width: 100%;
	overflow-wrap: anywhere;
	text-wrap: pretty;
}
.wc-content-block {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
}
.wc-content-block :where(img, video, iframe, svg) {
	max-width: 100%;
	height: auto;
}
.wc-content-block :where(pre, .wp-block-table) {
	max-width: 100%;
	overflow-x: auto;
}
.wc-site-search,
.wc-site-search .wp-block-search__inside-wrapper {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.wc-site-search .wp-block-search__inside-wrapper {
	display: flex;
}
.wc-site-search .wp-block-search__input {
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
	font-size: 1rem;
}
.wc-site-search .wp-block-search__button {
	flex: 0 0 auto;
	min-height: 44px;
	min-width: 44px;
	cursor: pointer;
}
.wc-site-search .wp-block-search__label {
	display: block;
	margin-bottom: .45rem;
	font-weight: 700;
}
.wc-search-result {
	height: auto;
}
.wc-search-result .wp-block-post-title {
	overflow-wrap: anywhere;
	margin-block: 0 .5rem;
}
.wc-search-result .wp-block-post-title a {
	color: var(--wc-white);
}
.wc-search-result .wp-block-post-excerpt {
	color: var(--wc-muted);
}
.wc-pagination {
	margin-block: 2rem 0;
	gap: .75rem;
	flex-wrap: wrap;
}
.wc-pagination :where(a, .page-numbers) {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}
.wc-header-inner {
	box-sizing: border-box;
	gap: clamp(.6rem, 2vw, 2rem);
	padding-block: .75rem;
}
.wc-brand {
	min-width: 0;
	overflow-wrap: anywhere;
}
.wc-navigation {
	min-width: 0;
}
.wc-navigation .wp-block-navigation__responsive-container-open,
.wc-navigation .wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
}
.wc-navigation :where(a, button):focus-visible,
.wc-footer-navigation :where(a, button):focus-visible {
	outline: 3px solid var(--wc-signal-light);
	outline-offset: 4px;
}
.wc-footer-navigation {
	font-size: .9rem;
	font-weight: 600;
}
.wc-footer-navigation .wp-block-navigation-item__content {
	color: var(--wc-white);
	text-decoration: none;
}
.wc-footer-navigation .wp-block-navigation-item__content:hover {
	color: var(--wc-signal-light);
}
.wc-footer-disclosure {
	padding-block: 1rem 1.5rem;
	margin: 0;
	border-top: 1px solid var(--wc-border);
	color: var(--wc-slate);
	font-size: .8rem;
	line-height: 1.6;
}
#main-content {
	scroll-margin-top: 6rem;
}
@media (max-width: 900px) {
	.wc-company-list {
		grid-template-columns: 1fr;
	}
	.wc-company-list > .wc-company-card:first-child,
	.wc-company-list > .wc-company-card:last-child {
		grid-column: auto;
	}
	.wc-header-inner {
		flex-wrap: wrap;
	}
}
@media (max-width: 781px) {
	.wc-stage-grid,
	.wc-contact-grid {
		gap: 1rem;
	}
	.wc-header-inner {
		flex-wrap: nowrap;
	}
	.wc-hero h1 {
		font-size: clamp(2.45rem, 9vw, 4.2rem);
		line-height: 1.06;
	}
	.wc-hero-note {
		margin-top: 1.5rem;
	}
	.wc-page-title {
		font-size: clamp(2rem, 8vw, 3.35rem);
		line-height: 1.09;
	}
	.wc-footer-navigation .wp-block-navigation__container {
		flex-wrap: wrap;
		gap: .65rem 1rem;
	}
}
@media (max-width: 390px) {
	.wc-hero,
	.wc-section,
	.wc-cta,
	.wc-page-shell {
		padding-inline: 1rem;
	}
	.wc-hero .wp-block-buttons {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}
	.wc-hero .wp-block-button,
	.wc-hero .wp-block-button__link {
		width: 100%;
	}
	.wc-card,
	.wc-stage-step {
		padding: 1.25rem;
	}
	.wc-site-search .wp-block-search__inside-wrapper {
		padding: .2rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	:where(.wc-hero, .wc-cta) .wp-block-button__link {
		transition: none;
	}
}
