/* =============================================================================
   ABOUT PAGE
   ============================================================================= */

/* =============================================================================
   SECTION 1: HERO -- two-card asymmetric pair (mirrors homepage pattern)
   ============================================================================= */

.about-hero {
	padding-top:    100px;
	padding-bottom: 100px;
}

.about-hero__inner {
	display:     flex;
	align-items: stretch;
	gap:         25px;
}

/* Content card */
.about-hero__content {
	flex:             0 0 60%;
	min-width:        0;
	display:          flex;
	flex-direction:   column;
	align-items:      flex-start;
	padding:          75px 50px;
	border:           1px solid var(--color-border-subtle);
	border-radius:    10px;
	background-color: var(--color-bg-primary);
}

/* Image card */
.about-hero__media {
	flex:          1;
	min-width:     0;
	position:      relative;
	border:        1px solid var(--color-border-subtle);
	border-radius: 10px;
	overflow:      hidden;
	min-height:    400px;
}

.about-hero__img {
	position:   absolute;
	inset:      0;
	width:      100%;
	height:     100%;
	object-fit: cover;
}

.about-hero__trust {
	font-style:    italic;
	font-weight:   var(--weight-bold);
	color:         var(--color-text-secondary);
	margin-bottom: 16px;
	display:       flex;
	align-items:   center;
	gap:           12px;
}

.about-hero__trust::before {
	content:          '';
	width:            50px;
	height:           1px;
	flex-shrink:      0;
	background-color: var(--color-text-secondary);
}

.about-hero__content h1 {
	margin-bottom: 20px;
}

.about-hero__lead {
	color:         var(--color-text-secondary);
	line-height:   var(--leading-relaxed);
	margin-bottom: 32px;
	max-width:     480px;
}

.about-hero__ctas {
	display:   flex;
	gap:       16px;
	flex-wrap: wrap;
	margin-top: auto;
}

/* =============================================================================
   SECTION 2: STATS -- type-only row, no card chrome, thin dividers
   ============================================================================= */

.about-stats {
	padding-top:      64px;
	padding-bottom:   64px;
	background-color: var(--color-bg-subtle);
	border-top:       1px solid var(--color-border-subtle);
	border-bottom:    1px solid var(--color-border-subtle);
}

.about-stats__row {
	display:         flex;
	justify-content: space-between;
	align-items:     stretch;
}

.about-stats__item {
	flex:           1;
	display:        flex;
	flex-direction: column;
	align-items:    center;
	text-align:     center;
	padding:        0 28px;
	border-right:   1px solid var(--color-border-subtle);
}

.about-stats__item:last-child {
	border-right: none;
}

.about-stats__num {
	display:     block;
	font-size:   var(--text-h2);
	font-weight: var(--weight-black);
	color:       var(--color-accent);
	line-height: var(--leading-tight);
	margin-bottom: 6px;
}

.about-stats__label {
	font-size:   var(--text-body-small);
	color:       var(--color-text-secondary);
	line-height: var(--leading-normal);
}

/* =============================================================================
   SECTION 3: HISTORY -- vertical timeline with left-rail
   ============================================================================= */

.about-history {
	padding-top:    100px;
	padding-bottom: 100px;
}

.about-history__header {
	margin-bottom: 56px;
}

.about-history__header h2 {
	margin-top: 8px;
}

/* Container: the vertical track line runs along left: 72px + 20px = 92px */
.about-history__timeline {
	position: relative;
}

.about-history__timeline::before {
	content:          '';
	position:         absolute;
	left:             92px;
	top:              6px;
	bottom:           44px;
	width:            2px;
	background-color: var(--color-border-subtle);
}

.about-history__item {
	display:               grid;
	grid-template-columns: 72px 1fr;
	column-gap:            40px;
	padding-bottom:        44px;
	position:              relative;
}

.about-history__item:last-child {
	padding-bottom: 0;
}

/* Dot: centered on track line (center at 92px; dot is 12px so left = 86px) */
.about-history__item::before {
	content:          '';
	position:         absolute;
	left:             86px;
	top:              4px;
	width:            12px;
	height:           12px;
	border-radius:    50%;
	background-color: var(--color-border-subtle);
	border:           3px solid var(--color-bg-primary);
	z-index:          1;
}

/* Recent entries get an accent dot */
.about-history__item--recent::before {
	background-color: var(--color-accent);
	box-shadow:       0 0 0 3px rgba(150, 0, 27, 0.12);
}

.about-history__year {
	font-size:   var(--text-body-small);
	font-weight: var(--weight-bold);
	color:       var(--color-text-secondary);
	text-align:  right;
	padding-top: 3px;
}

.about-history__item--recent .about-history__year {
	color: var(--color-accent);
}

.about-history__event {
	font-size:      var(--text-h5);
	margin-bottom:  8px;
	display:        flex;
	flex-wrap:      wrap;
	align-items:    center;
	gap:            10px;
}

.about-history__badge {
	display:          inline-block;
	padding:          2px 9px;
	background-color: rgba(150, 0, 27, 0.07);
	border:           1px solid rgba(150, 0, 27, 0.18);
	border-radius:    20px;
	font-size:        var(--text-body-small);
	font-weight:      var(--weight-bold);
	color:            var(--color-accent);
	line-height:      1.5;
}

.about-history__desc {
	font-size:   var(--text-body-small);
	color:       var(--color-text-secondary);
	line-height: var(--leading-relaxed);
	max-width:   600px;
	margin:      0;
}

/* =============================================================================
   SECTION 4: HOW WE WORK -- 2x2 numbered card grid
   ============================================================================= */

.about-how {
	padding-top:      100px;
	padding-bottom:   100px;
	background-color: var(--color-bg-subtle);
	border-top:       1px solid var(--color-border-subtle);
	border-bottom:    1px solid var(--color-border-subtle);
}

.about-how__header {
	margin-bottom: 48px;
}

.about-how__header h2 {
	margin-top: 8px;
}

.about-how__grid {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   25px;
}

.about-how__card {
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    10px;
	padding:          40px;
	display:          flex;
	flex-direction:   column;
	gap:              16px;
}

.about-how__num {
	display:        block;
	font-size:      var(--text-h3);
	font-weight:    var(--weight-black);
	color:          var(--color-accent);
	line-height:    var(--leading-tight);
	opacity:        0.25;
}

.about-how__heading {
	font-size: var(--text-h5);
}

.about-how__body {
	font-size:   var(--text-body-small);
	color:       var(--color-text-secondary);
	line-height: var(--leading-relaxed);
	margin:      0;
}

/* =============================================================================
   SECTION 5: LEADERSHIP -- two wide horizontal feature cards
   ============================================================================= */

.about-leadership {
	padding-top:    100px;
	padding-bottom: 100px;
}

.about-leadership__header {
	margin-bottom: 48px;
}

.about-leadership__header h2 {
	margin-top: 8px;
}

.about-leadership__cards {
	display:        flex;
	flex-direction: column;
	gap:            25px;
}

.about-leadership__card {
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    10px;
	overflow:         hidden;
	display:          flex;
}

.about-leadership__photo-wrap {
	width:       280px;
	flex-shrink: 0;
	overflow:    hidden;
}

.about-leadership__photo {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
}

.about-leadership__initials {
	display:         flex;
	align-items:     center;
	justify-content: center;
	background-color: var(--color-bg-subtle);
	font-size:       var(--text-h3);
	font-weight:     var(--weight-black);
	color:           var(--color-text-secondary);
	letter-spacing:  0.02em;
}

.about-leadership__info {
	padding:        44px 48px;
	display:        flex;
	flex-direction: column;
	gap:            12px;
}

.about-leadership__name {
	font-size: var(--text-h4);
}

.about-leadership__bio {
	font-size:   var(--text-body-small);
	color:       var(--color-text-secondary);
	line-height: var(--leading-relaxed);
	max-width:   600px;
	flex:        1;
	margin:      0;
}

/* =============================================================================
   SECTION 6: OPERATIONS TEAM -- 4-col photo grid
   ============================================================================= */

.about-ops {
	padding-top:      100px;
	padding-bottom:   100px;
	background-color: var(--color-bg-subtle);
	border-top:       1px solid var(--color-border-subtle);
	border-bottom:    1px solid var(--color-border-subtle);
}

.about-ops__header {
	margin-bottom: 48px;
}

.about-ops__header h2 {
	margin-top: 8px;
}

.about-ops__grid {
	display:               grid;
	grid-template-columns: repeat(4, 1fr);
	gap:                   25px;
}

.about-ops__card {
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    10px;
	overflow:         hidden;
}

.about-ops__photo {
	width:        100%;
	aspect-ratio: 1;
	object-fit:   cover;
	display:      block;
}

.about-ops__initials {
	display:         flex;
	align-items:     center;
	justify-content: center;
	background-color: var(--color-bg-subtle);
	font-size:       var(--text-h4);
	font-weight:     var(--weight-black);
	color:           var(--color-text-secondary);
	letter-spacing:  0.02em;
}

.about-ops__info {
	padding:        20px;
	display:        flex;
	flex-direction: column;
	gap:            4px;
}

.about-ops__name {
	font-size:   var(--text-body-small);
	font-weight: var(--weight-bold);
	display:     block;
}

.about-ops__title {
	font-size: var(--text-body-small);
	color:     var(--color-text-secondary);
	display:   block;
}

.about-ops__desc {
	font-size:   var(--text-body-small);
	color:       var(--color-text-secondary);
	line-height: var(--leading-relaxed);
	margin-top:  8px;
	margin-bottom: 0;
}

/* =============================================================================
   SECTION 7: FIND YOUR SALES REP -- table in a panel card
   ============================================================================= */

.about-reps {
	padding-top:    100px;
	padding-bottom: 100px;
}

.about-reps__header {
	margin-bottom: 40px;
}

.about-reps__header h2 {
	margin-top:    8px;
	margin-bottom: 10px;
}

.about-reps__subline {
	font-size: var(--text-body-small);
	color:     var(--color-text-secondary);
	max-width: 540px;
	margin:    0;
}

.about-reps__panel {
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    10px;
	overflow:         hidden;
}

.about-reps__table {
	width:           100%;
	border-collapse: collapse;
	font-size:       var(--text-body-small);
}

.about-reps__table thead tr {
	background-color: var(--color-bg-subtle);
	border-bottom:    2px solid var(--color-border-subtle);
}

.about-reps__th {
	padding:     14px 20px;
	font-weight: var(--weight-bold);
	color:       var(--color-text-secondary);
	text-align:  left;
	white-space: nowrap;
}

.about-reps__th--photo {
	width: 80px;
}

.about-reps__td {
	padding:       16px 20px;
	border-bottom: 1px solid var(--color-border-subtle);
	vertical-align: middle;
}

.about-reps__row:last-child .about-reps__td {
	border-bottom: none;
}

.about-reps__row:hover .about-reps__td {
	background-color: var(--color-bg-subtle);
}

.about-reps__td--photo {
	width: 80px;
}

.about-reps__avatar {
	width:         56px;
	height:        56px;
	border-radius: 50%;
	object-fit:    cover;
	display:       block;
}

.about-reps__initials {
	display:         flex;
	align-items:     center;
	justify-content: center;
	background-color: var(--color-bg-subtle);
	border-radius:   50%;
	font-size:       var(--text-body-small);
	font-weight:     var(--weight-black);
	color:           var(--color-text-secondary);
	letter-spacing:  0.02em;
}

.about-reps__name {
	display:     block;
	font-weight: var(--weight-bold);
}

.about-reps__role {
	display:   block;
	color:     var(--color-text-secondary);
	font-size: var(--text-body-small);
}

.about-reps__td--territory {
	color: var(--color-text-primary);
}

.about-reps__td--contact a {
	color:      var(--color-accent);
	transition: color 150ms ease;
	white-space: nowrap;
}

.about-reps__td--contact a:hover {
	color:           var(--color-accent-hover);
	text-decoration: none;
}

.about-reps__placeholder {
	color:      var(--color-text-secondary);
	font-style: italic;
}

.about-reps__empty {
	font-size: var(--text-body-small);
	color:     var(--color-text-secondary);
}

/* =============================================================================
   SECTION 8: CERTIFICATIONS -- minimal strip, no H2
   ============================================================================= */

.about-certs {
	padding-top:      48px;
	padding-bottom:   48px;
	background-color: var(--color-bg-subtle);
	border-top:       1px solid var(--color-border-subtle);
	border-bottom:    1px solid var(--color-border-subtle);
}

.about-certs__inner {
	display:     flex;
	align-items: center;
	gap:         32px;
	flex-wrap:   wrap;
}

.about-certs__intro {
	font-size:      var(--text-body-small);
	font-weight:    var(--weight-bold);
	color:          var(--color-text-secondary);
	white-space:    nowrap;
	flex-shrink:    0;
	margin:         0;
}

.about-certs__logos {
	display:     flex;
	align-items: center;
	flex-wrap:   wrap;
	gap:         32px 40px;
	flex:        1;
}

.about-certs__logo {
	height:     44px;
	width:      auto;
	max-width:  140px;
	object-fit: contain;
	filter:     grayscale(100%);
	opacity:    0.50;
	transition: opacity 200ms ease, filter 200ms ease;
}

.about-certs__logo:hover {
	opacity: 0.85;
	filter:  grayscale(60%);
}

/* =============================================================================
   SECTION 9: FINAL CTA -- burgundy full-bleed
   ============================================================================= */

.about-cta {
	padding-top:      110px;
	padding-bottom:   110px;
	background-color: var(--color-accent);
}

.about-cta__inner {
	max-width:    700px;
	margin-left:  auto;
	margin-right: auto;
	text-align:   center;
}

.about-cta__heading {
	color:         #ffffff;
	margin-bottom: 18px;
}

.about-cta__body {
	color:         rgba(255, 255, 255, 0.85);
	line-height:   var(--leading-relaxed);
	margin-bottom: 40px;
}

.about-cta__buttons {
	display:         flex;
	gap:             16px;
	flex-wrap:       wrap;
	justify-content: center;
}

.about-cta .button--solid.button--burgundy {
	background-color: #ffffff;
	border-color:     #ffffff;
	color:            var(--color-accent);
}

.about-cta .button--outline.button--burgundy {
	border-color: rgba(255, 255, 255, 0.65);
	color:        #ffffff;
}

.about-cta .button--outline.button--burgundy:hover {
	border-color: #ffffff;
}

/* =============================================================================
   RESPONSIVE -- 1100px
   ============================================================================= */

@media ( max-width: 1100px ) {

	.about-ops__grid {
		grid-template-columns: repeat(3, 1fr);
	}

}

/* =============================================================================
   RESPONSIVE -- 900px
   ============================================================================= */

@media ( max-width: 900px ) {

	/* Hero: stack vertically */
	.about-hero__inner {
		flex-direction: column;
	}

	.about-hero__content {
		flex:    unset;
		padding: 40px 32px;
	}

	.about-hero__media {
		min-height: 300px;
	}

	.about-hero__lead {
		max-width: 100%;
	}

	/* Stats: 2x3 grid on tablet */
	.about-stats__row {
		flex-wrap:             wrap;
		display:               grid;
		grid-template-columns: 1fr 1fr;
		gap:                   32px;
	}

	.about-stats__item {
		border-right: none;
		padding:      0;
	}

	/* How we work: single column */
	.about-how__grid {
		grid-template-columns: 1fr;
	}

	/* Leadership: stack photo above content */
	.about-leadership__card {
		flex-direction: column;
	}

	.about-leadership__photo-wrap {
		width:  100%;
		height: 280px;
	}

	.about-leadership__info {
		padding: 32px;
	}

	/* Ops: 2 cols */
	.about-ops__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Reps table: hide role sub-label to save space */
	.about-reps__role {
		display: none;
	}

	/* Certs: stack label above logos */
	.about-certs__inner {
		flex-direction: column;
		align-items:    flex-start;
	}

}

/* =============================================================================
   RESPONSIVE -- 600px
   ============================================================================= */

@media ( max-width: 600px ) {

	/* Stats: single column */
	.about-stats__row {
		grid-template-columns: 1fr;
	}

	/* Timeline: tighten year column */
	.about-history__timeline::before {
		left: calc(52px + 16px);
	}

	.about-history__item {
		grid-template-columns: 52px 1fr;
		column-gap:            32px;
	}

	.about-history__item::before {
		left: calc(52px + 10px);
	}

	/* Ops: 2 cols even on small screens */
	.about-ops__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Reps table: hide territory column, keep name + contact */
	.about-reps__table .about-reps__th:nth-child(3),
	.about-reps__table .about-reps__td:nth-child(3) {
		display: none;
	}

}
