/**
 * Company page — scoped to .company-page
 */

.company-page {
	overflow-x: clip;
}

/* ===== Hero ===== */
.company-hero {
	background: var(--color-white);
}

.company-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	max-width: var(--container-max);
	margin-inline: auto;
	min-height: clamp(400px, 55vh, 540px);
}

.company-hero__content {
	padding: clamp(40px, 5vw, 56px) var(--container-padding);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.company-hero__heading {
	font-size: clamp(28px, 4.2vw, 40px);
	font-weight: 700;
	line-height: 1.45;
	color: var(--color-navy);
	margin-bottom: 18px;
}

.company-hero__body {
	font-size: clamp(14px, 2vw, 15px);
	line-height: 1.9;
	color: var(--color-text-muted);
	margin-bottom: 26px;
}

.company-hero__body p + p {
	margin-top: 0.85em;
}

.company-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.company-page .hero-secondary-button--outline {
	background: var(--color-white);
	color: var(--color-navy);
	border: 1.5px solid var(--color-navy);
}

.company-page .hero-secondary-button--outline:hover,
.company-page .hero-secondary-button--outline:focus-visible {
	background: var(--color-gray-50);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.company-hero__visual {
	position: relative;
	min-height: 280px;
}

.company-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: clamp(400px, 55vh, 540px);
}

@media (max-width: 767px) {
	.company-hero__layout {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.company-hero__content {
		padding-top: clamp(32px, 8vw, 48px);
		padding-bottom: 20px;
	}

	.company-hero__visual img {
		min-height: clamp(220px, 40vh, 300px);
	}
}

/* ===== Identity ===== */
.company-identity {
	background: var(--color-white);
}

.company-identity__grid {
	display: grid;
	grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: center;
}

.company-identity__brand {
	font-family: var(--font-serif, 'Cormorant Garamond', serif);
	font-size: clamp(26px, 3.6vw, 36px);
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-navy);
	margin: 12px 0 20px;
}

.company-identity__heading {
	font-size: clamp(20px, 2.8vw, 26px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-green);
	margin-bottom: 18px;
}

.company-identity__body {
	font-size: 15px;
	line-height: 1.9;
	color: var(--color-text-muted);
}

.company-identity__body p + p {
	margin-top: 1em;
}

.company-identity__visual {
	border-radius: var(--radius-lg, 12px);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.company-identity__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 360px;
	max-height: 520px;
}

@media (max-width: 767px) {
	.company-identity__grid {
		grid-template-columns: 1fr;
	}

	.company-identity__visual {
		order: -1;
	}

	.company-identity__visual img {
		min-height: 240px;
		max-height: 320px;
	}
}

/* ===== Roots ===== */
.company-roots {
	background: var(--color-beige);
}

.company-roots__intro {
	max-width: 720px;
	margin-bottom: clamp(32px, 5vw, 48px);
}

.company-roots__body {
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--color-text-muted);
}

.company-roots__body p + p {
	margin-top: 1em;
}

.company-roots__gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(100px, auto);
	gap: 12px;
}

.company-roots__photo {
	border-radius: var(--radius-md, 8px);
	overflow: hidden;
}

.company-roots__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 100%;
}

.company-roots__photo--main {
	grid-column: 1 / 9;
	grid-row: 1 / 4;
	min-height: 320px;
}

.company-roots__photo--sub1 {
	grid-column: 9 / 13;
	grid-row: 1 / 3;
	min-height: 160px;
}

.company-roots__photo--sub2 {
	grid-column: 9 / 13;
	grid-row: 3 / 4;
	min-height: 140px;
}

.company-roots__photo--sub3 {
	grid-column: 1 / 5;
	grid-row: 4 / 5;
	min-height: 140px;
}

@media (max-width: 767px) {
	.company-roots__gallery {
		grid-template-columns: 1fr 1fr;
	}

	.company-roots__photo--main {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 220px;
	}

	.company-roots__photo--sub1,
	.company-roots__photo--sub2,
	.company-roots__photo--sub3 {
		grid-column: auto;
		grid-row: auto;
		min-height: 130px;
	}
}

/* ===== Philosophy ===== */
.company-philosophy {
	background: var(--color-beige);
}

.company-philosophy__grid {
	list-style: none;
	margin: clamp(36px, 5vw, 48px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.company-philosophy__card {
	background: rgba(255, 255, 255, 0.65);
	border-top: 3px solid var(--color-green);
	padding: 24px 20px 28px;
	border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
	height: 100%;
}

.company-philosophy__num {
	font-family: var(--font-serif, 'Cormorant Garamond', serif);
	font-size: 28px;
	font-weight: 600;
	color: #b8956b;
	line-height: 1;
	margin-bottom: 12px;
}

.company-philosophy__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 10px;
}

.company-philosophy__text {
	font-size: 13px;
	line-height: 1.75;
	color: var(--color-text-muted);
}

@media (max-width: 1023px) {
	.company-philosophy__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 479px) {
	.company-philosophy__grid {
		grid-template-columns: 1fr;
	}
}

/* ===== OUR WAY ===== */
.company-way {
	position: relative;
	padding-block: 0;
	min-height: clamp(360px, 50vh, 520px);
}

.company-way__media {
	position: relative;
	min-height: clamp(360px, 50vh, 520px);
}

.company-way__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: clamp(360px, 50vh, 520px);
}

.company-way__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(27, 42, 74, 0.82) 0%, rgba(27, 42, 74, 0.45) 45%, rgba(27, 42, 74, 0.15) 100%);
}

.company-way__inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	pointer-events: none;
}

.company-way__content {
	pointer-events: auto;
	max-width: min(520px, 100%);
	color: var(--color-white);
	padding: clamp(48px, 8vw, 72px) var(--container-padding);
}

.company-way .section-label {
	color: #b8956b;
}

.company-way .section-heading {
	color: var(--color-white);
	margin-bottom: 16px;
}

.company-way__brand {
	font-family: var(--font-serif, 'Cormorant Garamond', serif);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 20px;
}

.company-way__body {
	font-size: 15px;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.88);
}

.company-way__body p + p {
	margin-top: 0.9em;
}

@media (max-width: 767px) {
	.company-way__overlay {
		background: linear-gradient(180deg, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.5) 100%);
	}

	.company-way__inner {
		position: relative;
	}

	.company-way__media {
		position: absolute;
		inset: 0;
	}

	.company-way {
		min-height: clamp(480px, 70vh, 560px);
	}
}

/* ===== Message ===== */
.company-message {
	background: var(--color-white);
}

.company-message__inner {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.company-message__body {
	margin-top: 28px;
	font-size: 15px;
	line-height: 2;
	color: var(--color-text-muted);
	text-align: left;
}

.company-message__body p + p {
	margin-top: 1.25em;
}

.company-message__sign {
	margin-top: 36px;
	font-size: 15px;
	color: var(--color-navy);
}

.company-message__role {
	display: block;
	font-size: 12px;
	color: var(--color-text-muted);
	margin-bottom: 6px;
}

.company-message__name {
	font-weight: 600;
}

/* ===== Profile ===== */
.company-profile {
	background: var(--color-gray-50, #fafafa);
}

.company-profile__inner {
	display: grid;
	grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
	gap: clamp(32px, 5vw, 56px);
	align-items: start;
}

.company-profile__list {
	margin: 0;
}

.company-profile__row {
	display: grid;
	grid-template-columns: 28% 1fr;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--color-gray-200);
}

.company-profile__term {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-navy);
}

.company-profile__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--color-text-muted);
}

.company-profile__desc a {
	color: var(--color-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.company-profile__desc a:hover {
	color: var(--color-green);
}

@media (max-width: 767px) {
	.company-profile__inner {
		grid-template-columns: 1fr;
	}

	.company-profile__row {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

/* ===== Access ===== */
.company-access {
	background: var(--color-white);
}

.company-access__address {
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--color-text-muted);
}

.company-access__map {
	margin-top: 28px;
	border-radius: var(--radius-md, 8px);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.company-access__map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 40vh, 420px);
}

/* ===== Next step ===== */
.company-next {
	background: var(--color-beige);
}

.company-next__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: center;
}

.company-next__visual {
	border-radius: var(--radius-lg, 12px);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.company-next__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 260px;
}

.company-next__body {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.85;
	color: var(--color-text-muted);
}

.company-next__body p + p {
	margin-top: 0.75em;
}

.company-next__button {
	margin-top: 24px;
}

@media (max-width: 767px) {
	.company-next__inner {
		grid-template-columns: 1fr;
	}

	.company-next__visual {
		order: -1;
	}
}
