/* ==========================================================================
   sewp.css — NASA SEWP VI page (page-sewp.php, MOPS-163)
   Layout: claude.ai/design "NASA SEWP VI.dc.html". Values mirror the design
   system tokens; where the theme has an --ox-* equivalent it is used.
   Inherits: main.css → homepage.css (.ox-eyebrow). Buttons are the shared
   .ox-btn-cta from main.css. Default (dark) site header — no override.
   ========================================================================== */

.ox-sewp-page {
	--sewp-gap:           clamp(56px, 6vw, 88px);
	--sewp-card:          #FCF8EF;   /* parchment-300 */
	--sewp-border:        #D0D3D4;   /* border-secondary */
	--sewp-border-strong: #A1A8AA;   /* border-primary */
	--sewp-rule-dark:     #425155;   /* dark-teal-400 */
	--sewp-link-hover:    #028282;   /* clearwater-700 */

	background: var(--ox-cream);
	color: var(--ox-text);
	font-family: var(--ox-font-body);
	font-weight: 300;
}

.ox-sewp-page a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.ox-sewp-page a:hover { color: var(--sewp-link-hover); }
.ox-sewp-page a:focus-visible { outline: 2px solid var(--ox-orange); outline-offset: 3px; }
.ox-sewp-page .ox-btn-cta,
.ox-sewp-page .ox-btn-cta:hover { color: var(--ox-teal-deep); }   /* beat the inherit rule above — cream button */

.ox-sewp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ox-sewp-kicker {
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.ox-sewp-page .ox-sewp-link {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--ox-orange);
	text-underline-offset: 4px;
}

/* ─── Icon circle (design system IconCircle) ─────────────────────────── */
.ox-sewp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	margin: 8px;               /* room for the 8px ring */
	border-radius: 50%;
}
.ox-sewp-icon svg { display: block; width: 20px; height: 20px; }
.ox-sewp-icon--lg { width: 48px; height: 48px; }
.ox-sewp-icon--lg svg { width: 27px; height: 27px; }
.ox-sewp-icon--orange     { background: var(--ox-orange);     color: #2B2C26; box-shadow: 0 0 0 8px var(--ox-peach); }
.ox-sewp-icon--clearwater { background: var(--ox-clearwater); color: #013636; box-shadow: 0 0 0 8px #97E9E0; }
.ox-sewp-contact .ox-sewp-icon--orange { box-shadow: 0 0 0 8px var(--ox-burnt); }   /* dark-surface ring */

/* ─── Hero (dark) ────────────────────────────────────────────────────── */
.ox-sewp-hero {
	background: var(--ox-teal-deep);
	color: var(--ox-text-inverse);
}
.ox-sewp-hero__main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
	padding-top: clamp(56px, 8vw, 112px);
	padding-bottom: clamp(32px, 3.5vw, 48px);
}
.ox-sewp-hero__lockup {
	flex: 2 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.ox-sewp-hero__h1 {
	margin: 0;
	font-family: var(--ox-font-display);
	font-weight: 400;
	font-size: clamp(44px, 6vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--ox-text-inverse);
}
.ox-sewp-hero__intro { display: flex; flex-direction: column; gap: 16px; }
.ox-sewp-hero__intro p {
	margin: 0;
	font-size: 20px;
	line-height: 1.55;
	max-width: 58ch;
	text-wrap: pretty;
}
@media (max-width: 768px) {
	.ox-sewp-hero .ox-eyebrow__label { font-size: 14px; line-height: normal; }
	.ox-sewp-hero__intro p { font-size: 18px; }
}
.ox-sewp-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.ox-sewp-hero__badge {
	flex: 1 1 220px;
	max-width: 280px;
	margin: 0 auto;
	padding: 16px;
	background: var(--ox-cream);
}
.ox-sewp-hero__badge img { display: block; width: 100%; height: auto; }

.ox-sewp-facts {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.ox-sewp-facts__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 32px 24px;
	text-align: center;
	border-top: 1px solid var(--sewp-rule-dark);
}
.ox-sewp-facts dt {
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.ox-sewp-facts dd {
	margin: 0;
	font-family: var(--ox-font-display);
	font-size: 28px;
	line-height: 1.2;
}

/* ─── Sections ───────────────────────────────────────────────────────── */
/* Horizontal gutters come from the global `section` rule in main.css
   (site gutter, !important) so the body lines up with header/footer. */
.ox-sewp-section {
	padding-top: var(--sewp-gap);
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.ox-sewp-section--last { padding-bottom: var(--sewp-gap); }

.ox-sewp-heading { display: flex; flex-direction: column; gap: 20px; }
.ox-sewp-h2 {
	margin: 0;
	font-family: var(--ox-font-display);
	font-weight: 400;
	font-size: clamp(34px, 4vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ox-text);
}
.ox-sewp-h3 {
	margin: 0;
	font-family: var(--ox-font-body);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
}

.ox-sewp-split {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 40px clamp(40px, 6vw, 96px);
}
.ox-sewp-split__aside { flex: 1 1 280px; }
.ox-sewp-split__body  { flex: 2 1 520px; min-width: 0; }

.ox-sewp-prose {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 68ch;
	font-size: 17px;
	line-height: 1.65;
	text-wrap: pretty;
}
.ox-sewp-prose--loose { gap: 28px; }
.ox-sewp-prose p { margin: 0; }
.ox-sewp-prose ol {
	margin: 0;
	padding-left: 24px;
	list-style: decimal outside;   /* main.css:183 resets ol to list-style:none — restore the design numbering */
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ox-sewp-subblock {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--sewp-border);
}

/* How to Order — step cards */
.ox-sewp-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 24px;
}
.ox-sewp-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background: var(--sewp-card);
	border: 1px solid var(--sewp-border);
}
.ox-sewp-card__head { display: flex; align-items: center; gap: 16px; }
.ox-sewp-card__title {
	margin: 0;
	font-family: var(--ox-font-body);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.3;
}
.ox-sewp-card p { margin: 0; font-size: 17px; line-height: 1.65; text-wrap: pretty; }

/* Ordering guide bar */
.ox-sewp-guide {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	padding: 28px 32px;
	background: var(--sewp-card);
	border: 1px solid var(--sewp-border);
}
.ox-sewp-guide__info { display: flex; align-items: center; gap: 24px; min-width: 0; }
.ox-sewp-guide__title { font-weight: 600; font-size: 20px; line-height: 1.3; }
.ox-sewp-guide__pending { color: var(--ox-text-muted); }

/* Program contacts */
.ox-sewp-contacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 24px;
}
.ox-sewp-contact {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 36px;
	background: var(--ox-teal-deep);
	color: var(--ox-text-inverse);
}
.ox-sewp-contact__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ox-sewp-contact__name {
	font-family: var(--ox-font-display);
	font-size: 30px;
	line-height: 1.15;
}
.ox-sewp-contact__details {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 17px;
	overflow-wrap: anywhere;
}
.ox-sewp-contact__details:empty { display: none; }
.ox-sewp-page .ox-sewp-contact__details a { color: var(--ox-text-inverse); }
.ox-sewp-page .ox-sewp-contact__details a:hover { color: var(--ox-clearwater); }

.ox-sewp-gate {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-top: -16px;
}
.ox-sewp-gate[hidden] { display: none; }
.ox-sewp-gate__text { margin: 0; font-size: 17px; line-height: 1.65; }
.ox-sewp-gate__status { margin: 0; font-size: 15px; color: var(--ox-text-muted); }
.ox-sewp-gate__status:empty { display: none; }

/* How to Contact SEWP */
.ox-sewp-pmo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	border-top: 1px solid var(--sewp-border-strong);
	border-bottom: 1px solid var(--sewp-border-strong);
}
.ox-sewp-pmo__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 32px 32px 32px 0;
	font-size: 17px;
}
.ox-sewp-pmo__col:last-child { padding-right: 0; }
.ox-sewp-pmo__title {
	margin: 0;
	font-family: var(--ox-font-body);
	font-weight: 600;
	font-size: 22px;
}
.ox-sewp-pmo__title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ox-sewp-pmo__strong { font-weight: 600; }
.ox-sewp-pill {
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid var(--ox-orange);
	padding: 5px 8px;
}

/* Related links */
.ox-sewp-links { display: flex; flex-direction: column; }
.ox-sewp-links__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	border-top: 1px solid var(--sewp-border-strong);
	font-weight: 600;
	font-size: 20px;
}
.ox-sewp-links__arrow { flex-shrink: 0; color: var(--ox-orange); }

/* Close-out band before the footer (footer has no top padding) */
.ox-sewp-end { background: var(--ox-teal-deep); }
