/*
Theme Name: Walsh University
Theme URI: https://liaisonedu.com
Author: Liaison International / Tom Bartling
Author URI: https://liaisonedu.com
Description: Walsh University landing pages.
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.0
Version: 1.1
License:
License URI:
Text Domain: walsh
Tags:
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

/* Walsh University — landing page
   Brand: maroon #6d0120, gold #fdc728. Type: Archivo.
   Layout is intrinsically responsive: clamp() type/space + auto-fit grids. */

:root {
  --maroon: #6d0120;
  --maroon-dark: #4d0117;
  --maroon-darker: #390111;
  --gold: #fdc728;
  --ink: #201e1d;
  --ground: #f3f2f2;
  --ground-alt: #eae9e9;
  --field: #f8f4f4;
  --muted: #605d5d;
  --rule: rgba(32, 30, 29, 0.4);
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1400px;
}

/* Sections span the full viewport; their content is capped at --maxw and
   centered by padding, so colored bands still bleed edge to edge. */
.bleed { padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
.bleed--flush { padding-inline: max(0px, calc((100% - var(--maxw)) / 2)); }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

h1 {
	font-weight: 700;
}

h2 {
	font-weight: 700;
}

a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-dark); }
::selection { background: var(--gold); color: var(--ink); }

input, select { font-family: "Archivo", system-ui, sans-serif; }
input::placeholder { color: #9b9797; }
input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }

/* Shared bits ---------------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
}

.rule-maroon { display: block; width: 30px; height: 4px; background: var(--maroon); }
@media screen and (min-width: 768px) {
	.rule-maroon {
		width: 56px;
	}
}
.rule-gold { display: block; width: 72px; height: 4px; background: var(--gold); }
.rule-gold--lg { width: 96px; }

.section-title {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.body-copy {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  max-width: 52ch;
  text-wrap: pretty;
}

/* A grid/flex parent whose gaps read as 2px dividers. The rule color is
   painted only across the centered content column, never the outer bleed. */
.ruled {
  gap: 2px;
  background:
    linear-gradient(var(--rule), var(--rule)) center / min(100%, var(--maxw)) 100% no-repeat,
    var(--ground);
}
.ruled > .panel { background: var(--ground); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border: 2px solid transparent;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
	.btn {
		padding: 6px 14px;
		letter-spacing: 0;
		font-size: 12px;
	}
}

.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.btn-gold--onmaroon:hover { background: #ffffff; border-color: #ffffff; }

.btn-maroon { background: var(--maroon); color: #ffffff; border-color: var(--maroon); }
.btn-maroon:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: #fff; }
.btn-maroon:active { background: var(--maroon-darker); }

.btn--lg { font-size: 16px; gap: 12px; }
@media screen and (min-width: 768px) {
	.btn--lg {
		padding: 18px 26px;
	}
}
.btn--block { width: 100%; justify-content: flex-start; font-size: 15px; padding: 16px 20px; }
.btn__arrow { font-size: 16px; line-height: 1; }

/* Header --------------------------------------------------------------- */

.site-header {
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-block: 14px;
  border-bottom: 4px solid var(--gold);
}

.header-logo { height: clamp(64px, 9vw, 116px); width: auto; }

/* Banner --------------------------------------------------------------- */

.banner {
  height: clamp(180px, 26vw, 300px);
  overflow: hidden;
  border-bottom: 2px solid var(--rule);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% + 100px);
}
@media screen and (max-width: 1023px) {
	.banner img {
	    object-position: center 30%;
	}
}
@media screen and (min-width: 1600px) {
	.banner img {
	    object-position: center 35%;
	}
}

/* Hero ----------------------------------------------------------------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--rule);
}

.hero-copy {
  flex: 1 1 calc(57.5% - 2px);
  min-width: min(100%, 420px);
  padding: clamp(44px, 5vw, 72px) var(--gutter) clamp(40px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media screen and (min-width: 1450px) {
	.hero-copy {
		padding-left: 0;
	}
}

.eyebrow-row { display: flex; align-items: center; gap: 14px; }

.hero-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 15ch;
  text-wrap: pretty;
}

@media screen and (max-width: 767px) {
	.hero-title {
		max-width: 100%;
	}
}

.hero-lede {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.62;
  max-width: 59ch;
  text-wrap: pretty;
}

.hero-meta {
  margin-top: 8px;
  border-top: 2px solid var(--rule);
  padding-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

@media screen and (max-width: 767px) {
	.hero-meta {
		display: none;
	}
}

.meta-item {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-sep { display: block; width: 2px; height: 16px; background: var(--rule); }

/* Form ----------------------------------------------------------------- */

.form-panel { flex: 1 1 42.5%; min-width: min(100%, 420px); }
.form-inner { padding: clamp(36px, 4vw, 72px) clamp(20px, 4vw, 48px) 44px; }
.form-title { 
	margin: 0 0 6px; 
	font-size: 26px; 
	letter-spacing: -0.02em; 
	color: var(--maroon);
}
.form-sub { margin: 0 0 24px; font-size: 14px; color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 18px 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }

.field-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input {
  font-size: 15px;
  padding: 11px 12px;
  border: 2px solid var(--rule);
  background: var(--field);
  color: var(--ink);
}

.form-grid + .btn { margin-top: 24px; }

/* Split image / text --------------------------------------------------- */

/* Media bleeds to the left viewport edge; the copy column stops at the
   centered container's right edge. */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  border-bottom: 2px solid var(--rule);
}

.split-media { min-height: clamp(320px, 42vw, 560px); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-body {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 72px);
  padding-inline-end: max(clamp(20px, 5vw, 72px), calc((100% - var(--maxw) / 2) + clamp(20px, 4vw, 56px)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* Why choose ----------------------------------------------------------- */

.why { padding-block: clamp(56px, 7vw, 88px) 0; padding-inline: var(--gutter); }
.why-inner { max-width: var(--maxw); margin-inline: auto; }

.why-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 4px solid var(--maroon);
  padding-bottom: 24px;
}

/* max(360px, 45%) caps the row at two columns on wide screens while the
   360px floor lets it collapse to one below ~800px. */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(360px, 45%)), 1fr));
}

.why-card {
  padding: clamp(32px, 3.6vw, 44px) clamp(24px, 3.6vw, 56px) clamp(32px, 3.6vw, 44px) 0;
}

.why-card--right {
  padding: clamp(32px, 3.6vw, 44px) 0 clamp(32px, 3.6vw, 44px) clamp(24px, 3.6vw, 56px);
}

@media screen and (max-width: 767px) {
	.why-card--right {
		padding-left: 0 !important;
	}
}

.stat { 
	display: flex; 
	align-items: flex-end; 
	gap: 16px; 
	flex-wrap: wrap; 
}

.stat-figure-group { 
	display: flex; 
	flex-direction: column; 
}

.stat-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 20px;
}

.stat-figure {
  font-weight: 800;
  font-size: clamp(64px, 7.4vw, 80px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--maroon);
}

.stat-figure--word { font-size: clamp(52px, 6.2vw, 76px); }

.stat-label {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
	.stat-label {
		/*max-width: 12ch;*/
	}
}

.stat-label--wide { max-width: 14ch; }

.card-copy {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.65;
  max-width: 50ch;
  text-wrap: pretty;
}

/* Outcomes + testimonial ---------------------------------------------- */

.outcomes {
  /*margin-top: clamp(56px, 7vw, 88px);
  border-top: 2px solid var(--rule);*/
  border-bottom: 2px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.outcomes-copy {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 88px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

@media screen and (min-width: 1500px) {
	.outcomes-copy {
		padding-left: 0 !important;
	}
}

.quote-panel {
  background: var(--maroon);
  color: #ffffff;
  padding: clamp(48px, 5.5vw, 72px) clamp(20px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.quote-mark { font-weight: 800; font-size: 88px; line-height: 0.6; color: var(--gold); }

.quote {
  margin: 0;
  font-weight: 800;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.quote-attrib {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 2px solid rgba(253, 199, 40, 0.6);
  padding-top: 24px;
}

.headshot { 
	width: 84px; 
	height: 84px; 
	object-fit: cover; 
	flex: 0 0 auto; 
	border-radius: 100px;
}
.attrib-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }

.attrib-meta {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

/* Closing CTA ---------------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  background: var(--maroon);
  color: #ffffff;
  padding-block: clamp(60px, 7.5vw, 120px);
  border-bottom: 4px solid var(--gold);
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--maroon);
  opacity: 0.9;
  z-index: -1;
  background: rgba(0,0,0,.4);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 64px);
  align-items: flex-start;
}

.cta-left { flex: 1 1 calc(52.5% - 64px); min-width: min(100%, 360px); }

.cta-right {
  flex: 1 1 calc(47.5% - 64px);
  min-width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 12px;
}

@media screen and (min-width: 768px) {
	.cta-right {
		padding-top: 100px;
	}
}

.cta-title {
  margin: 0 0 28px;
  font-size: clamp(48px, 7.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.cta-note {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 1.65;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

.cta-copy {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 52ch;
  text-wrap: pretty;
}

.cta-right .btn { align-self: flex-start; }
.cta-right .btn__arrow { font-size: 18px; }

/* Badges + footer ------------------------------------------------------ */

.badges {
  background: var(--ground-alt);
  padding-block: clamp(20px, 4vw, 30px);
  border-bottom: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.5vw, 56px);
  flex-wrap: wrap;
}

.badge { 
	height: clamp(76px, 8.8vw, 108px); 
	width: auto;
	display: block !important;
}
.badge--sm { height: clamp(66px, 7.6vw, 93px); }
.badge--md { height: clamp(72px, 8.3vw, 102px); }

.site-footer {
  background: var(--ground);
  padding-block: clamp(20px, 4vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.footer-logo { height: clamp(48px, 6vw, 64px); width: auto; }

.footer-contact {
  text-align: right;
  min-width: 260px;
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.6;
}

.footer-address { font-weight: 800; }
.footer-meta { margin-top: 4px; color: var(--muted); }



/* Gravity Forms */
body .gform_required_legend {
    display: none;
}
body .gform_wrapper .gfield {
	text-align: left !important;
}
body .gform_wrapper .gfield_label {
    color: var(--bde-headings-color);
	margin-bottom: 4px;
	gap: 1px !important;
	font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
body .gform_wrapper .gfield_error [aria-invalid=true] {
	border-color: #e40f0f;
}
body .gform_wrapper .gfield_required {
	color: var(--bde-links-color) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
}
body .gform_wrapper .gform_fields {
    grid-row-gap: 20px !important;
}
@media screen and (min-width: 768px) {
	.gform_fields {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	.gfield {
		grid-column: span 2;
	}
	.gfield--width-half {
		grid-column: span 1;
	}
	.gfield--type-honeypot {
		grid-column: span 2;
	}
}
@media screen and (min-width: 641px) {
    body .gform_wrapper .gform_fields {
        grid-column-gap: 20px !important;
    }
}
body .gform_wrapper .gf_progressbar_title {
	color: #000;
}
body .gform_wrapper .gf_progressbar,
body .gform_wrapper .gf_progressbar_percentage,
body .gform_wrapper .gf_progressbar_percentage:not(.percentbar_100) {
	border-radius: 0;
}
body .gfield--type-honeypot {
	height: 0;
	width: 0;
	overflow: hidden;
}
body .gform_wrapper input[type=color], 
body .gform_wrapper input[type=date], 
body .gform_wrapper input[type=datetime-local], 
body .gform_wrapper input[type=datetime], 
body .gform_wrapper input[type=email], 
body .gform_wrapper input[type=month], 
body .gform_wrapper input[type=number], 
body .gform_wrapper input[type=password], 
body .gform_wrapper input[type=search], 
body .gform_wrapper input[type=tel], 
body .gform_wrapper input[type=text], 
body .gform_wrapper input[type=time], 
body .gform_wrapper input[type=url], 
body .gform_wrapper input[type=week], 
body .gform_wrapper select, 
body .gform_wrapper textarea {
    background: #fff;
    border-radius: 0px !important;
    padding: 12px 18px 12px !important;
    width: 100%;
    color: #000;
    border: 1px solid #a29e9e;
    font-size: 16px;
	text-align: left;
	height: auto !important;
	line-height: 1.2 !important;
	min-height: 0 !important;
}
body .gform_wrapper select {
    appearance:  none !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 4"><path d="M3,4L0,0h6l-3,4Z" style="fill: %23000; stroke-width: 0px;"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 20px) center !important;
    background-size: 8px auto !important;
	height: auto !important;
}
body .gform_wrapper .ginput_container {
    position: relative;
}
body .gform_wrapper textarea,
body .gform_wrapper .gfield textarea.large {
	min-height: 150px !important;
}
body .gform_page_footer {
    justify-content: space-between;
    display: flex;
}
body .gform_wrapper .gform_footer button {
	padding: 14px 44px 16px 24px !important;
    border-radius: 4px !important;
    border: 0 !important;
	background-position: calc(100% - 20px) center !important;
	background-size: 12px auto !important;
    color: #fff !important;
    margin: 0 !important;
    font-size: 16px !important;
	font-weight: 700 !important;
	transition: all .3s ease-in-out !important;
	cursor: pointer !important;
	width: 100% !important;
	text-align: center !important;
	transition: all .3s ease-in-out;
	width: 100%;
	background: var(--maroon);
	text-transform: uppercase !important;
}
body .gform_wrapper .gform_footer button:hover {
	background: #4d0117 !important;
}
body .gform_wrapper .gform_submission_error {
    letter-spacing: 0 !important;
}
body .gform_wrapper .validation_message,
body .gform_wrapper .gform_validation_errors {
    background: #e40f0f;
    border-color: #e40f0f;
	border: 0;
    color: #fff !important;
    border-radius: 6px;
    padding: 2px 6px !important;
    display: inline-block !important;
    width: auto !important;
	font-size: 14px;
}
body .gform_wrapper .gform_validation_errors {
	padding: 20px !important;
}
body .gform_wrapper .gform_validation_errors ol {
	text-align: left !important;
	color: #fff !important;
}
body .gform_wrapper .gform_validation_errors ol li a {
	color: #fff !important;
}
body .gform_wrapper .gform_validation_errors {
	width: 100% !important;
}
body .gform_wrapper .gform_validation_errors h2 {
	font-size: 14px !important;
	color: #fff !important;
}
body .gform_wrapper .gform_validation_errors>h2 .gform-icon {
    color: #fff !important;
	border: 1px solid #fff;
	display: none;
}
body .gform_wrapper textarea {
    height: 140px !important;
}
body .gform-footer {
	position: relative;
}
body .gform_wrapper .gform-loader,
body .gform_wrapper .gform_ajax_spinner {
	position: absolute;
    right: 20px;
    top: calc(50% - 13px);
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left-color: #fec729; /* Change to your brand color */
    animation: gf-spin 1s infinite linear;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
}

@keyframes gf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

