/* =========================================================================
   Awori Communications — main stylesheet
   Implements the Figma design (file JBg8eCzGhe6BMkLKYjBm3m, node 1:50).
   ========================================================================= */

/* -----------------------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------------------- */
:root {
	/* Brand palette (matches Figma styles) */
	--color-white: #ffffff;
	--color-black: #000000;
	--color-mineshaft: #2e2e2e;
	--color-orange: #ffa500;
	--color-dove-gray: #666666;
	--color-gallery: #ebebeb;
	--color-silver: #cccccc;
	--color-link: #0000ee;

	/* Typography */
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-nav: Arial, "Helvetica Neue", Helvetica, sans-serif;

	--fs-body: 15px;
	--lh-body: 21.12px;
	--fs-hero: 38.9px;
	--lh-hero: 40px;
	--fs-h1: 36.4px;
	--lh-h1: 40px;
	--fs-h2: 25px;
	--fs-h2-large: 27px;
	--lh-section-title: 30px;
	--fs-bullet: 15px;
	--lh-bullet: 16px;

	/* Layout */
	--content-width: 1000px;
	--container-padding-x: 24px;
	--header-padding-x: 32px;

	/* Section padding */
	--section-py: 80px;
	--section-py-tight: 32px;
}

/* -----------------------------------------------------------------------
   2. Reset & base
   ----------------------------------------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-dove-gray);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 0 0;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: transparent;
}

input, textarea {
	font-family: inherit;
	font-size: inherit;
}

/* Accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--color-white);
	clip: auto !important;
	color: var(--color-mineshaft);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

/* -----------------------------------------------------------------------
   3. Layout primitives
   ----------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--content-width) + (var(--container-padding-x) * 2));
	margin-inline: auto;
	padding-inline: var(--container-padding-x);
}

.section-title {
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--color-orange);
	font-size: var(--fs-h2);
	line-height: var(--lh-section-title);
	margin: 0 0 30px;
}

/* -----------------------------------------------------------------------
   4. Header
   ----------------------------------------------------------------------- */
.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 10;
	padding: 10px var(--header-padding-x);
}

.site-header__inner {
	max-width: var(--content-width);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 91px;
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
}

.site-header__logo img {
	width: 235px;
	height: auto;
	max-height: 92px;
	object-fit: contain;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 0;
}

.site-nav__list li {
	margin: 0;
}

.site-nav__list a {
	display: inline-block;
	padding: 0 10px;
	font-family: var(--font-nav);
	font-size: 14px;
	line-height: 40px;
	color: var(--color-white);
	text-transform: none;
	transition: color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus {
	color: var(--color-orange);
}

.site-nav__toggle {
	display: none;
	width: 40px;
	height: 40px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 6px;
}

.site-nav__toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-white);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* -----------------------------------------------------------------------
   5. Hero
   ----------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100vh;
	height: 1200px;
	max-height: 1200px;
	background-color: var(--color-black);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-gallery);
	overflow: hidden;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	padding: 0 24px;
	text-align: center;
}

.hero__title {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: var(--fs-hero);
	line-height: var(--lh-hero);
	margin: 0;
	color: var(--color-gallery);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.hero__scroller,
.hero__envelope {
	position: absolute;
	z-index: 2;
	color: var(--color-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, color 0.2s ease;
}

.hero__scroller {
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	font-size: 30px;
	width: 40px;
	height: 40px;
}

.hero__scroller:hover,
.hero__scroller:focus {
	transform: translateX(-50%) translateY(4px);
	color: var(--color-orange);
}

.hero__envelope {
	right: 30px;
	bottom: 30px;
	width: 58px;
	height: 58px;
	border: 1px solid var(--color-white);
	border-radius: 50%;
	font-size: 16px;
}

.hero__envelope:hover,
.hero__envelope:focus {
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-orange);
	border-color: var(--color-orange);
}

/* -----------------------------------------------------------------------
   6. Welcome section
   ----------------------------------------------------------------------- */
.welcome {
	background: var(--color-white);
	padding: var(--section-py) var(--container-padding-x);
}

.welcome__inner {
	display: grid;
	grid-template-columns: 235px 1fr;
	gap: 70px;
	max-width: 1050px;
	margin-inline: auto;
	padding: 10px 0;
	align-items: start;
}

.welcome__sidebar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.welcome__headshot {
	margin: 0;
	width: 235px;
}

.welcome__headshot img {
	width: 100%;
	height: auto;
	display: block;
}

.welcome__memberships {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	width: 100%;
}

.welcome__membership {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.welcome__membership img {
	width: 105px;
	height: auto;
}

.welcome__membership p {
	margin: 0;
	font-size: 9.5px;
	line-height: 10px;
	color: var(--color-black);
	max-width: 100px;
}

.welcome__membership--mcipr img {
	width: 105px;
}

.welcome__body {
	max-width: 745px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.welcome__body .entry-title {
	color: var(--color-orange);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
	margin: 0 0 30px;
}

.welcome__body .entry-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.welcome__body .entry-content p {
	margin: 0;
	color: var(--color-dove-gray);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: 0.5px;
}

/* -----------------------------------------------------------------------
   7. Agency section (light grey, image right)
   ----------------------------------------------------------------------- */
.agency {
	background: var(--color-gallery);
	padding: var(--section-py-tight) var(--container-padding-x);
}

.agency__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: var(--content-width);
	margin-inline: auto;
	align-items: start;
	padding: 10px 0;
}

.agency__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: var(--color-dove-gray);
	letter-spacing: 0.5px;
}

.agency__body .section-title {
	font-size: var(--fs-h2-large);
	margin: 0;
}

.agency__body p {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

.agency__image {
	margin: 0;
	height: 100%;
}

.agency__image img {
	width: 100%;
	height: 100%;
	max-height: 660px;
	object-fit: cover;
}

/* -----------------------------------------------------------------------
   8. Services section (orange-bullet lists)
   ----------------------------------------------------------------------- */
.services {
	background: var(--color-white);
	padding: var(--section-py-tight) var(--container-padding-x);
}

.services__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: var(--content-width);
	margin-inline: auto;
	padding: 10px 0;
	align-items: start;
}

.services__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.services__bullets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9.8px;
	padding: 4.89px 0 14.89px;
}

.orange-bullets {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.orange-bullets li {
	position: relative;
	padding-left: 28px;
	font-size: var(--fs-bullet);
	line-height: var(--lh-bullet);
	color: var(--color-dove-gray);
}

.orange-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	background-image: url("../images/bullet-li.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* -----------------------------------------------------------------------
   9. Brand carousel
   ----------------------------------------------------------------------- */
.brands {
	background: var(--color-white);
	padding: var(--section-py-tight) var(--container-padding-x);
}

.brands__inner {
	position: relative;
	max-width: 860px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.brands__viewport {
	flex: 1;
	overflow: hidden;
	height: 150px;
}

.brands__track {
	display: flex;
	gap: 20px;
	transition: transform 0.4s ease;
	will-change: transform;
}

.brands__item {
	flex: 0 0 200px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brands__item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.brands__nav {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: var(--color-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	font-size: 14px;
	transition: background 0.2s ease;
}

.brands__nav:hover,
.brands__nav:focus {
	background: rgba(0, 0, 0, 0.7);
}

/* -----------------------------------------------------------------------
   10. Testimonial
   ----------------------------------------------------------------------- */
.testimonial {
	background: var(--color-gallery);
	padding: 52px var(--container-padding-x);
}

.testimonial__inner {
	max-width: 1100px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.testimonial__quote {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-dove-gray);
}

.testimonial__rule {
	width: 175px;
	height: 3px;
	background: #efefef;
	border: 0;
	margin: 0;
}

.testimonial__author {
	font-weight: 700;
	font-size: 14.3px;
	line-height: 15.84px;
	color: var(--color-dove-gray);
	letter-spacing: 0.5px;
	margin: 0;
}

/* -----------------------------------------------------------------------
   11. Contact form
   ----------------------------------------------------------------------- */
.contact {
	background: var(--color-white);
	padding: var(--section-py-tight) var(--container-padding-x);
}

.contact__inner {
	max-width: 1180px;
	margin-inline: auto;
}

.contact__email {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 24px;
	line-height: 25px;
	color: var(--color-black);
	text-align: center;
	margin: 0 0 32px;
}

.contact__email a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.contact__email a:hover,
.contact__email a:focus {
	border-bottom-color: var(--color-orange);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 9px 0 10px;
}

.contact-form__label {
	font-weight: 700;
	color: var(--color-black);
	font-size: 15.4px;
	line-height: 20.8px;
}

.contact-form__required {
	color: red;
	font-weight: 400;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 74px;
}

.contact-form__row-block {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.contact-form__sublabel {
	font-size: 12.2px;
	line-height: 16.9px;
	color: var(--color-black);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	height: 38px;
	background: var(--color-white);
	border: 1px solid var(--color-silver);
	border-radius: 2px;
	padding: 8px 10px;
	color: var(--color-black);
	font-size: 15px;
	line-height: 21px;
	font-family: var(--font-body);
}

.contact-form textarea {
	height: 120px;
	resize: vertical;
	padding: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--color-orange);
	outline-offset: 1px;
	border-color: var(--color-orange);
}

.contact-form__submit {
	padding-top: 10px;
}

.contact-form__button {
	background: #eeeeee;
	border: 1px solid #dddddd;
	color: #333333;
	font-family: var(--font-nav);
	font-size: 14px;
	line-height: 16px;
	padding: 11px 16px 12px;
	border-radius: 2px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-form__button:hover,
.contact-form__button:focus {
	background: var(--color-orange);
	color: var(--color-white);
	border-color: var(--color-orange);
}

/* -----------------------------------------------------------------------
   12. Footer
   ----------------------------------------------------------------------- */
.site-footer {
	background: var(--color-mineshaft);
	color: var(--color-gallery);
}

.site-footer__inner {
	max-width: var(--content-width);
	margin-inline: auto;
	padding: 32px var(--container-padding-x);
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.site-footer__logo img {
	width: 220px;
	height: auto;
}

.site-footer__col--about p {
	font-size: 13.5px;
	line-height: 18.48px;
	color: var(--color-gallery);
	letter-spacing: 0.5px;
	margin: 0;
}

.site-footer__heading {
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--color-orange);
	font-size: var(--fs-h2);
	line-height: var(--lh-section-title);
	margin: 0 0 20px;
	text-align: center;
}

.site-footer__col--connect .site-footer__heading {
	text-align: right;
}

.site-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

.site-footer__menu a {
	display: inline-block;
	color: var(--color-white);
	font-size: 15px;
	line-height: 16px;
	transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus {
	color: var(--color-orange);
}

.site-footer__social {
	display: flex;
	gap: 16px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.site-footer__social a {
	color: var(--color-white);
	font-size: 30px;
	line-height: 30px;
	transition: color 0.2s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus {
	color: var(--color-orange);
}

.site-footer__contact {
	font-size: 13.5px;
	line-height: 18.48px;
	color: var(--color-gallery);
	letter-spacing: 0.5px;
	margin: 0;
	text-align: right;
}

.site-footer__contact a {
	color: inherit;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus {
	border-bottom-color: var(--color-orange);
}

.site-footer__copyright {
	background: var(--color-mineshaft);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding: 10px;
	text-align: center;
}

.site-footer__copyright p {
	margin: 0;
	font-size: 11.3px;
	line-height: 12px;
	color: var(--color-white);
}

/* -----------------------------------------------------------------------
   13. 404
   ----------------------------------------------------------------------- */
.error-404 {
	padding: 200px 24px;
	background: var(--color-white);
}

.error-404__inner {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.error-404__inner a {
	color: var(--color-orange);
	border-bottom: 1px solid currentColor;
}

/* -----------------------------------------------------------------------
   14. Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 960px) {
	:root {
		--section-py: 56px;
		--section-py-tight: 40px;
	}

	.welcome__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.welcome__sidebar {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: center;
		gap: 24px;
	}

	.welcome__headshot {
		width: 100%;
		max-width: 320px;
	}

	.welcome__memberships {
		flex-direction: row;
		justify-content: center;
		align-items: flex-start;
		gap: 24px;
	}

	.agency__inner {
		grid-template-columns: 1fr;
	}

	.agency__image img {
		max-height: 480px;
	}

	.services__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.services__bullets {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.site-footer__heading,
	.site-footer__contact,
	.site-footer__social,
	.site-footer__col--connect .site-footer__heading {
		text-align: center;
		justify-content: center;
	}
}

@media (max-width: 720px) {
	:root {
		--fs-hero: 28px;
		--lh-hero: 32px;
		--fs-h1: 28px;
		--lh-h1: 34px;
		--fs-h2: 22px;
		--fs-h2-large: 24px;
	}

	.hero {
		min-height: 80vh;
		height: auto;
	}

	.hero__title {
		padding-inline: 12px;
	}

	.site-header__inner {
		min-height: 64px;
	}

	.site-header__logo img {
		width: 140px;
	}

	.site-nav__list {
		display: none;
	}

	.site-nav__toggle {
		display: flex;
	}

	.site-nav.is-open .site-nav__list {
		display: flex;
		position: absolute;
		top: 100%;
		right: 16px;
		flex-direction: column;
		gap: 0;
		background: rgba(0, 0, 0, 0.85);
		padding: 12px 16px;
		border-radius: 4px;
		min-width: 180px;
	}

	.site-nav.is-open .site-nav__list a {
		line-height: 36px;
	}

	.contact-form__row {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.services__bullets {
		grid-template-columns: 1fr;
	}

	.brands__item {
		flex: 0 0 160px;
		height: 120px;
	}

	.brands__viewport {
		height: 120px;
	}
}
