/*
 * Inland Sections
 *
 * Self contained. Nothing here depends on the parent theme's classes, so the
 * sections survive a theme change. Colours are set once, at the top.
 */

:root {
	--inl-red: #9d2235;
	--inl-red-dark: #7a1a29;
	--inl-ink: #1c1f23;
	--inl-ink-soft: #3d444c;
	--inl-grey: #6b7280;
	--inl-line: #dfe3e8;
	--inl-wash: #f5f6f7;
	--inl-radius: 2px;
	--inl-shell: 1080px;
}

/* Break a section out of the theme's 1080px container to run full bleed. */
.inland-full {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}

/* -------------------------------------------------------------------------
 * Closing Gedung's gaps
 *
 * The installer switches these pages to Gedung's "Page Builder Template",
 * which drops the h1 block and the 1080px container. These rules mop up the
 * spacing the theme applies regardless of template.
 * ---------------------------------------------------------------------- */

/* Gedung prints its own h1 on every page. Hide it where we supply a hero. */
.inland-has-hero .page-title-wrap {
	display: none !important;
}

/* Kill the container padding so bands sit flush. */
.inland-has-hero .page-content,
.inland-has-hero .page-content > .container,
.inland-has-hero #content > .container {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	max-width: none;
}

/* The theme reserves comment space on pages. Pages here never take comments. */
.inland-has-hero .page-comment,
.inland-has-hero .page-content + .page-comment {
	display: none;
}

/* Remove the gap the theme leaves above content when no breadcrumb is set. */
.inland-has-hero #content,
.inland-has-hero .content-wrapper {
	padding-top: 0;
	margin-top: 0;
}

.inland-has-hero article.page {
	margin: 0;
	padding: 0;
}

/* When theme options have never been saved Gedung adds .no-redux and pads the
 * header by 40px top and bottom. Saving Appearance > Options once removes the
 * class properly; this trims it in the meantime. */
.inland-has-hero #header.no-redux {
	padding: 18px 0;
}

/* First band should meet the header with no gap. */
.inland-has-hero .page-content > *:first-child,
.inland-has-hero .entry-content > *:first-child {
	margin-top: 0;
}

/* WordPress wraps stray text in <p>; empty ones between shortcodes collapse. */
.inland-has-hero .page-content > p:empty,
.inland-has-hero .entry-content > p:empty {
	display: none;
	margin: 0;
}

.inland-btn {
	display: inline-block;
	padding: 14px 30px;
	background: var(--inl-red);
	color: #fff !important;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: var(--inl-radius);
	transition: background .18s ease, transform .18s ease;
}

.inland-btn:hover,
.inland-btn:focus {
	background: var(--inl-red-dark);
	transform: translateY(-1px);
}

.inland-btn--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .55);
	margin-left: 10px;
}

.inland-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
}

.inland-btn--dark {
	background: var(--inl-ink);
}

.inland-btn--dark:hover {
	background: #000;
}

.inland-btn--light {
	background: #fff;
	color: var(--inl-red) !important;
}

.inland-btn--light:hover {
	background: #f2f2f2;
}

/* ---------------------------------------------------------------- hero */

.inland-hero {
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: var(--inl-ink);
	color: #fff;
	overflow: hidden;
}

.inland-hero--tall {
	min-height: 74vh;
}

.inland-hero--short {
	min-height: 46vh;
}

/* Steel hatch stand-in until a photograph is uploaded. */
.inland-hero--nophoto {
	background-image:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 11px),
		linear-gradient(160deg, #23272c 0%, #15181b 55%, #0f1113 100%);
}

.inland-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 12, 14, .86) 0%, rgba(10, 12, 14, .58) 55%, rgba(10, 12, 14, .3) 100%);
}

.inland-hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 90px 24px;
}

.inland-hero__eyebrow {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #fff;
	opacity: .8;
	padding-left: 52px;
	position: relative;
}

.inland-hero__eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 38px;
	height: 3px;
	background: var(--inl-red);
}

.inland-hero__title {
	margin: 0 0 18px;
	max-width: 16em;
	font-size: clamp(2.1rem, 5.2vw, 3.9rem);
	line-height: 1.08;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.015em;
}

.inland-hero__sub {
	margin: 0 0 30px;
	max-width: 38em;
	font-size: 1.09rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, .84);
}

.inland-hero__actions {
	margin: 0;
}

/* ------------------------------------------------------------ services */

.inland-services {
	background: var(--inl-ink);
	color: #fff;
	border-top: 4px solid var(--inl-red);
}

.inland-services__inner {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 56px 24px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
}

.inland-services__item h3 {
	margin: 14px 0 7px;
	font-size: .96rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}

.inland-services__item p {
	margin: 0;
	font-size: .84rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, .62);
}

.inland-icon {
	width: 34px;
	height: 34px;
	color: var(--inl-red);
	display: block;
}

/* --------------------------------------------------------------- stats */

.inland-stats {
	background: var(--inl-wash);
	border-top: 1px solid var(--inl-line);
	border-bottom: 1px solid var(--inl-line);
}

.inland-stats__inner {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 48px 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.inland-stats__num {
	display: block;
	font-size: clamp(2rem, 4.4vw, 3.1rem);
	font-weight: 700;
	line-height: 1;
	color: var(--inl-red);
}

.inland-stats__label {
	display: block;
	margin-top: 9px;
	font-size: .78rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--inl-grey);
}

/* --------------------------------------------------------------- intro */

.inland-intro {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 78px 24px;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
}

.inland-intro__text h2 {
	margin: 0 0 20px;
	font-size: clamp(1.6rem, 3.1vw, 2.3rem);
	line-height: 1.2;
	color: var(--inl-ink);
}

.inland-intro__text p {
	color: var(--inl-ink-soft);
	line-height: 1.72;
}

.inland-intro__frame {
	position: relative;
	padding: 18px 0 0 18px;
}

.inland-intro__frame::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 68%;
	height: 78%;
	border: 3px solid var(--inl-red);
	z-index: 0;
}

.inland-intro__img,
.inland-intro__placeholder {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--inl-radius);
}

.inland-intro__placeholder {
	aspect-ratio: 4 / 3;
	background-image:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 11px),
		linear-gradient(160deg, #2a2f35, #16191c);
}

/* ------------------------------------------------------------ projects */

.inland-projects {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 62px 24px;
}

.inland-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--inl-line);
}

.inland-filter__btn {
	appearance: none;
	border: 1px solid var(--inl-line);
	background: #fff;
	color: var(--inl-ink-soft);
	padding: 9px 17px;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: var(--inl-radius);
	cursor: pointer;
	transition: all .16s ease;
}

.inland-filter__btn:hover {
	border-color: var(--inl-red);
	color: var(--inl-red);
}

.inland-filter__btn.is-active {
	background: var(--inl-red);
	border-color: var(--inl-red);
	color: #fff;
}

.inland-grid {
	display: grid;
	gap: 26px;
}

.inland-grid--2 { grid-template-columns: repeat(2, 1fr); }
.inland-grid--3 { grid-template-columns: repeat(3, 1fr); }
.inland-grid--4 { grid-template-columns: repeat(4, 1fr); }

.inland-card {
	transition: opacity .22s ease, transform .22s ease;
}

.inland-card[hidden] {
	display: none;
}

.inland-card__link {
	display: block;
	text-decoration: none !important;
	color: inherit;
	background: #fff;
	border: 1px solid var(--inl-line);
	border-radius: var(--inl-radius);
	overflow: hidden;
	height: 100%;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.inland-card__link:hover {
	transform: translateY(-3px);
	border-color: #c9cfd6;
	box-shadow: 0 12px 26px rgba(20, 24, 28, .11);
}

.inland-card__media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--inl-wash);
}

.inland-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.inland-card__link:hover .inland-card__img {
	transform: scale(1.04);
}

.inland-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 10px),
		linear-gradient(150deg, #2b3037, #171a1e);
}

.inland-card__placeholder span {
	font-size: 2.1rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .34);
}

.inland-card__body {
	display: block;
	padding: 17px 19px 20px;
	border-top: 3px solid var(--inl-red);
}

.inland-card__title {
	display: block;
	font-weight: 650;
	font-size: 1.02rem;
	line-height: 1.32;
	color: var(--inl-ink);
}

.inland-card__meta {
	display: block;
	margin-top: 6px;
	font-size: .82rem;
	color: var(--inl-grey);
}

.inland-empty {
	padding: 40px 0;
	color: var(--inl-grey);
}

/* ------------------------------------------------- single project meta */

.inland-projmeta {
	margin: 34px 0 0;
	padding: 26px 0 0;
	border-top: 1px solid var(--inl-line);
}

.inland-projmeta__list {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 30px;
}

.inland-projmeta__row dt {
	font-size: .72rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--inl-grey);
	margin: 0 0 4px;
}

.inland-projmeta__row dd {
	margin: 0;
	font-size: 1rem;
	color: var(--inl-ink);
	font-weight: 600;
}

.inland-projmeta__cats {
	margin: 22px 0 0;
	font-size: .85rem;
	color: var(--inl-grey);
}

.inland-projmeta__back {
	margin: 18px 0 0;
}

.inland-projmeta__back a {
	color: var(--inl-red);
	font-weight: 600;
	text-decoration: none;
}

/* ----------------------------------------------------------------- cta */

.inland-cta {
	background: var(--inl-red);
	color: #fff;
}

.inland-cta__inner {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 52px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	align-items: center;
	justify-content: space-between;
}

.inland-cta h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.2;
}

.inland-cta p {
	margin: 0;
	max-width: 46em;
	color: rgba(255, 255, 255, .9);
	line-height: 1.6;
}

.inland-cta__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.inland-cta__phone {
	color: #fff !important;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none !important;
	white-space: nowrap;
}

/* ------------------------------------------------------------- contact */

.inland-contact {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 54px 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.inland-contact__card {
	background: #fff;
	border: 1px solid var(--inl-line);
	border-top: 3px solid var(--inl-red);
	border-radius: var(--inl-radius);
	padding: 24px 24px 26px;
}

.inland-contact__card h3 {
	margin: 0 0 12px;
	font-size: .76rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--inl-grey);
}

.inland-contact__card p {
	margin: 0;
	line-height: 1.72;
	color: var(--inl-ink);
}

.inland-contact__card a {
	color: var(--inl-red);
	text-decoration: none;
}

.inland-contact__muted {
	color: var(--inl-grey);
	font-size: .9rem;
}

/* --------------------------------------------------------------- bands */

.inland-band {
	max-width: var(--inl-shell);
	margin: 0 auto;
	padding: 58px 24px;
}

.inland-band--wash {
	max-width: none;
	background: var(--inl-wash);
	border-top: 1px solid var(--inl-line);
	border-bottom: 1px solid var(--inl-line);
}

.inland-band--wash > * {
	max-width: var(--inl-shell);
	margin-left: auto;
	margin-right: auto;
}

.inland-band__title {
	margin: 0 0 14px;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.22;
	color: var(--inl-ink);
}

.inland-band__title::after {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	background: var(--inl-red);
	margin-top: 16px;
}

.inland-band__lead {
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--inl-ink-soft);
	max-width: 42em;
}

.inland-band__body {
	color: var(--inl-ink-soft);
	line-height: 1.75;
}

.inland-band__body h3 {
	margin: 30px 0 10px;
	font-size: 1.16rem;
	color: var(--inl-ink);
}

.inland-band__body ul {
	padding-left: 0;
	list-style: none;
	columns: 2;
	column-gap: 40px;
}

.inland-band__body ul li {
	position: relative;
	padding-left: 010px;
	padding-left: 20px;
	margin-bottom: 7px;
	break-inside: avoid;
}

.inland-band__body ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 7px;
	height: 2px;
	background: var(--inl-red);
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 980px) {
	.inland-services__inner { grid-template-columns: repeat(3, 1fr); }
	.inland-intro { grid-template-columns: 1fr; gap: 36px; }
	.inland-grid--3,
	.inland-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.inland-contact { grid-template-columns: 1fr; }
	.inland-projmeta__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.inland-services__inner { grid-template-columns: repeat(2, 1fr); padding: 40px 20px; }
	.inland-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
	.inland-grid--2,
	.inland-grid--3,
	.inland-grid--4 { grid-template-columns: 1fr; }
	.inland-hero--tall { min-height: 66vh; }
	.inland-hero__inner { padding: 64px 20px; }
	.inland-btn--ghost { margin-left: 0; margin-top: 10px; }
	.inland-band__body ul { columns: 1; }
	.inland-projmeta__list { grid-template-columns: 1fr; }
	.inland-cta__inner { padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.inland-btn,
	.inland-card,
	.inland-card__link,
	.inland-card__img {
		transition: none;
	}
}
