/* ==========================================================================
   Hager Gewefel — project page, About, Contact
   ========================================================================== */

/* ---------- Button hardening ----------
   Wins over theme / plugin button styles (Hello reset, Elementor kit): no pink border,
   no hover fill, no stray padding on our icon buttons. */
body.hg .hg-burger,
body.hg .hg-menu__close,
body.hg .hg-hero__dot,
body.hg .hg-form__submit {
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	font-family: inherit;
}

body.hg .hg-burger,
body.hg .hg-menu__close {
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	color: inherit;
}
body.hg .hg-burger:hover,
body.hg .hg-burger:focus,
body.hg .hg-burger:active,
body.hg .hg-menu__close:hover,
body.hg .hg-menu__close:focus,
body.hg .hg-menu__close:active {
	background: transparent;
	color: inherit;
	border: 0;
}
body.hg .hg-burger:focus-visible,
body.hg .hg-menu__close:focus-visible,
body.hg .hg-hero__dot:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

body.hg .hg-burger { width: 28px; height: 20px; min-width: 0; }
body.hg .hg-burger span { background: currentColor; }

body.hg .hg-hero__dot {
	width: 16px;
	min-width: 0;
	height: 2px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.4);
}
body.hg .hg-hero__dot:hover { background: rgba(255, 255, 255, 0.7); }
body.hg .hg-hero__dot.is-active { width: 32px; background: #fff; }

body.hg .hg-form__submit { border: 0; border-radius: 9999px; background: var(--hg-charcoal); color: var(--hg-bone); }
body.hg .hg-form__submit:hover:not(:disabled),
body.hg .hg-form__submit:focus:not(:disabled) { background: #000; color: #fff; }
body.hg .hg-form__submit:disabled { background: transparent; color: rgba(26, 26, 26, 0.25); }

/* ---------- shared frame (white mat around an image) ---------- */
.hg-frame { margin: 0; background: #fff; padding: 0.8rem; }
.hg-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hg-btn--small { padding: 6px 20px; font-size: 12px; line-height: 16px; }

/* ---------- Single project ---------- */
.hg-project__hero {
	height: 85vh;
	height: 85svh;
	min-height: 24rem;
	overflow: hidden;
	background: var(--hg-stone);
}

.hg-project__info { background: #fff; padding: 4rem var(--hg-gutter) 5rem; }
.hg-project__info-inner { max-width: 72rem; margin: 0 auto; }

.hg-project__title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	line-height: 1.1;
}

.hg-project__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
	margin: 1.25rem 0 0;
}
.hg-project__meta dt { margin: 0; }
.hg-project__meta dd {
	margin: 0.15rem 0 0;
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.6);
}

.hg-project__summary {
	margin: 2rem 0 0;
	max-width: 36rem;
	font-family: var(--hg-serif);
	font-size: 1.375rem;
	line-height: 1.5;
	color: rgba(26, 26, 26, 0.85);
}
.hg-project__body { max-width: 36rem; margin-top: 1.5rem; }

.hg-project__gallery { background: #F5F3EF; padding: 5rem var(--hg-gutter) 6rem; }
.hg-project__gallery-inner {
	max-width: 54rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) { .hg-project__gallery-inner { grid-template-columns: 1fr 1fr; } }

.hg-project__gallery .hg-frame { aspect-ratio: auto; }
.hg-project__gallery .hg-frame img { aspect-ratio: 4 / 3; }
.hg-project__gallery .hg-frame--wide { grid-column: 1 / -1; }
.hg-project__gallery .hg-frame--wide img { aspect-ratio: 3 / 2; }

.hg-project__more { text-align: center; margin-top: 4rem; }
.hg-project__more--solo { padding: 0 var(--hg-gutter) 6rem; background: #fff; margin: 0; padding-top: 2rem; }

/* ---------- About ---------- */
.hg-about__hero {
	background: linear-gradient(to bottom, var(--hg-bone) 0, var(--hg-bone) 6rem, var(--hg-stone) 6rem);
	padding: 8.5rem var(--hg-gutter) 5rem;
}
.hg-about__hero-inner {
	max-width: 72rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: end;
}
@media (min-width: 900px) {
	.hg-about__hero-inner { grid-template-columns: 1fr 27rem; gap: 4rem; }
}

.hg-about__title { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; margin-top: 1rem; }
.hg-about__lead {
	margin: 2rem 0 0;
	max-width: 32rem;
	font-family: var(--hg-serif);
	font-size: 1.375rem;
	line-height: 1.45;
	color: rgba(26, 26, 26, 0.85);
}

.hg-about__figure { margin: 0; }
.hg-frame--portrait { padding: 0.4rem; aspect-ratio: 3 / 4; }
.hg-about__figure figcaption { margin-top: 0.75rem; }

.hg-about__vm { background: #fff; padding: 5rem var(--hg-gutter); }
.hg-about__vm-inner {
	max-width: 72rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}
@media (min-width: 768px) { .hg-about__vm-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.hg-about__vision {
	margin: 1.25rem 0 0;
	max-width: 30rem;
	font-family: var(--hg-serif);
	font-size: 1.5rem;
	line-height: 1.4;
	color: rgba(26, 26, 26, 0.85);
}
.hg-about__mission { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.hg-about__mission li {
	margin: 0 0 0.9rem;
	font-family: var(--hg-serif);
	font-size: 1.125rem;
	line-height: 1.4;
	color: rgba(26, 26, 26, 0.7);
}
.hg-about__mission li::before { content: "\2022\00a0"; }

.hg-about__services { background: var(--hg-bone); padding: 6rem var(--hg-gutter); }
.hg-about__services-inner { max-width: 72rem; margin: 0 auto; }
.hg-about__chips {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin-top: 3rem;
}
@media (min-width: 640px) { .hg-about__chips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hg-about__chips { grid-template-columns: repeat(3, 1fr); } }

.hg-chip {
	background: #fff;
	padding: 1.5rem 1rem;
	text-align: center;
	font-family: var(--hg-serif);
	font-size: 1.125rem;
	line-height: 1.5rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.hg-about__team { background: #fff; padding: 6rem var(--hg-gutter); }
.hg-about__team-inner { max-width: 72rem; margin: 0 auto; }
.hg-about__people {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	margin-top: 3rem;
}
@media (min-width: 768px) { .hg-about__people { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.hg-person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--hg-stone); }
.hg-person__name { font-size: 1.75rem; line-height: 1.2; margin: 1.5rem 0 0.35rem; }
.hg-person__bio {
	margin: 1rem 0 0;
	max-width: 28rem;
	font-family: var(--hg-serif);
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(26, 26, 26, 0.65);
}

.hg-about__where { margin-top: 5rem; }
.hg-about__where-text { margin: 0.5rem 0 0; font-family: var(--hg-serif); font-size: 1.125rem; }

/* ---------- Contact ---------- */
.hg-contact { background: var(--hg-stone); padding: 10rem var(--hg-gutter) 6rem; }
.hg-contact__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
}
@media (min-width: 900px) { .hg-contact__inner { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.hg-contact__title { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; }
.hg-contact__lead {
	margin: 1.5rem 0 0;
	max-width: 20rem;
	font-family: var(--hg-serif);
	font-size: 1.25rem;
	line-height: 1.4;
}
.hg-contact__block { margin-top: 2rem; }
.hg-contact__addr { margin: 0.75rem 0 0; font-size: 14px; line-height: 23px; }
.hg-contact__mail { display: inline-block; margin-top: 0.75rem; font-family: var(--hg-serif); font-size: 1.375rem; }

.hg-contact__card { background: #fff; padding: 2.5rem; }
.hg-contact__card-title { font-size: 1.25rem; line-height: 1.5rem; }

.hg-contact__notice {
	margin: 1.25rem 0 0;
	padding: 0.75rem 1rem;
	font-size: 13px;
	line-height: 20px;
	background: var(--hg-bone);
}
.hg-contact__notice--invalid,
.hg-contact__notice--error { color: #8a2f2f; }

.hg-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hg-field { display: block; margin-top: 1.5rem; }
.hg-field .hg-label { display: block; margin-bottom: 0.25rem; }
.hg-field input,
.hg-field textarea {
	display: block;
	width: 100%;
	padding: 0.5rem 0;
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	color: var(--hg-charcoal);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--hg-charcoal);
	border-radius: 0;
	outline: none;
	box-shadow: none;
}
.hg-field textarea { min-height: 5.5rem; resize: vertical; }
.hg-field input::placeholder,
.hg-field textarea::placeholder { color: rgba(26, 26, 26, 0.4); }
.hg-field input:focus,
.hg-field textarea:focus { border-bottom-color: var(--hg-charcoal); box-shadow: 0 1px 0 var(--hg-charcoal); }

.hg-form__actions { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.hg-form__submit {
	padding: 8px 24px;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.35px;
	border-radius: 9999px;
	color: var(--hg-bone);
	background: var(--hg-charcoal);
	transition: opacity 0.3s ease-out, background-color 0.3s ease-out, color 0.3s ease-out;
}
.hg-form__submit:disabled {
	cursor: default;
	color: rgba(26, 26, 26, 0.25);
	background: transparent;
}
