/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. Base & Reset
   2. Typography
   3. Layout & Utilities
   4. Header & Navigation
   5. Landing Hero
   6. Project Grid & Cards
   7. Content Sections
   8. Color Strip Component
   9. Contact Page & Forms
   10. Footer
   11. Animations
   12. Media Queries
   ============================================ */


/* ============================================
   1. BASE & RESET
   ============================================ */

:root {
	--color-accent: #b9954a;
}

html {
	scroll-behavior: smooth;
}
.section-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 3rem auto;
  width: 90%;
}
body {
	font-family: "mr-eaves-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.2;
	color: #2a2521;
	margin: 0;
	background-color: #f6f2eb;
	overflow-x: hidden;
}
/* DEBUG: show layout boxes
*,
*::before,
*::after {
  outline: 2px solid hotpink !important;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "mr-eaves-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	line-height: 1.2;
	color: #2a2521;
}

h1 {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h2 {
	font-size: clamp(0.75rem, 3vw, 2.5rem);
}

h3 {
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 400;
}

p,
li {
	margin: 0 0 1rem;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

small {
	font-size: 0.875rem;
	line-height: 1.4;
}

a {
	color: #9a7d3a;
	text-decoration: none;
	display: inline-block;
	transition: color 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
	color: #2a2521;
	transform: scale(1.05);
}


/* ============================================
   3. LAYOUT & UTILITIES
   ============================================ */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-nav {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-nav:focus {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.5rem 0.75rem;
	margin: 0;
	clip: auto;
	background: #ffffff;
	color: #2a2521;
	border: 2px solid rgba(42, 37, 33, 0.4);
	border-radius: 4px;
	z-index: 1000;
}


/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.page-header {
	background-color: #1d3a4d;

	padding: 10px 40px 0;
	box-shadow: 0 0.00000010rem .9rem .75rem rgb(133, 128, 121, 0.70);
	border-bottom: 1px solid #1d1d1e;
}

nav.main {
	padding-right: 40px;
}

nav.main ul {
	list-style: none;
	margin: 0;
	letter-spacing: 0.04em;
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	flex-wrap: wrap;
}

nav.main li {
	color: #f6f2eb;
	font-weight: 500;
	letter-spacing: 0.04em;
	font-size: 1.1rem;
	text-transform: uppercase;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

nav.main li:hover,
nav.main li:focus {
	color: #b9954a;
}

nav.main li:first-child {
	/* Logo/brand positioning handled by space-between */
}

nav.main a {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	line-height: 1;
}

nav.main li:first-child a {
	gap: 0.75rem;
}

nav.main li:first-child a:hover,
nav.main li:first-child a:focus {
	color: #b9954a;
}

nav.main img {
	width: auto;
	height: 50px;
}

.nav1 {
	color: #f6f2eb;
}

.nav1:hover,
.nav1:focus {
	color: #b9954a;
	transform: scale(1.05);
}


/* ============================================
   5. LANDING HERO
   ============================================ */

.landing-hero {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 auto;
	justify-content:  center;
	padding-top: 2rem;
	padding-left: 2rem;
	gap: 2rem;
}

.hero-content{
	flex:1 1 300px;
}

.hero-image,
.hero-image img {
flex:2 1 300px;
width:70%;
height:auto;
display:block;
}

.hero-paragraph
{font-size: 1.4rem;}

.landing-hero::after {
	content: "";
	position: relative;
	left: 1.5rem;
	bottom: 0;
	height: 1px;
	width: 0;
	background-color: rgba(0, 0, 0, 0.1);
	animation: ruleDraw 0.6s ease-out forwards;
	animation-delay: 0.25s;
}

/* Navigation responsive styles */
@media (max-width: 768px) {
	nav.main ul {
		gap: 1rem;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	nav.main li {
		font-size: 1rem;
	}
	
	.page-header {
		padding: 8px 20px 0;
	}
	
	nav.main {
		padding-right: 20px;
	}
}

@media (max-width: 480px) {
	nav.main ul {
		gap: 0.75rem;
		justify-content: center;
		flex-direction: column;
		padding: 0.5rem 0;
	}
	
	nav.main li:first-child {
		margin-bottom: 0.5rem;
	}
	
	nav.main li {
		font-size: 1rem;
	}
	
	.page-header {
		padding: 8px 16px;
	}
	
	nav.main {
		padding-right: 16px;
	}
}

/* mobile layout */
@media (max-width: 700px){
  .landing-hero{
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1rem;
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .hero-content{ 
    flex: 0 1 50%;
   
  }
  .hero-paragraph{
	font-size: 1.2rem;
  order: 3; 
align-self: flex-end;}


  .hero-image,
  .hero-image img{
    flex: 1 1 50%;
    order: 2; 
  }

  /* ensure text content stacks vertically within hero-content */
  .hero-content {
    display: flex;
    flex-direction: column;
  }
}



.hero-eyebrow {
	display: inline-block;
	margin-bottom: .25rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.7);
	 order: 1; 
}

.hero-headline {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.25;
	font-weight: 500;
	margin-bottom: 0.4rem;
	color: #1f1f1f;
	 order: 1; 
}

.hero-byline {
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.7);
	margin-bottom: 0.6rem;
	 order: 1; 
}

.hero-subhead {
	font-size: 1.01rem;
	line-height: 1.55;
	max-width: 52rem;
	color: rgba(0, 0, 0, 0.8);
	 order: 1; 
}


/* ============================================
   6. PROJECT GRID & CARDS
   ============================================ */

.work {
	background-image: url('../images/texture-bg-01.png');
	background-size: cover;
	background-repeat: repeat repeat-x;
	background-attachment: fixed;
	
	background-blend-mode: overlay;
	color: #2a2521;
	padding-top:  20px;
	padding-left: 20px;
	padding-bottom: 30px;
	min-height: 300px;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: min(90vw, 1400px);
	margin: 0 auto;
}

.project-card {
	background: #ede6db;
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	border-radius: 2px;
	border: 1px solid rgba(42, 37, 33, 0.12);
	box-shadow: 0 8px 20px rgba(42, 37, 33, 0.08);
	transition: box-shadow 0.2s ease;
}

.project-card:hover {
	box-shadow: 0 12px 28px rgba(42, 37, 33, 0.16);
}

.project-image {
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 2px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.project-link {
	display: block;
	width: 100%;
	border-radius: 2px;
	transition: transform 0.2s ease;
}

.project-link:hover {
	transform: scale(1.02);
}

.project-link:focus-visible {
	transform: scale(1.02);
	outline: 2px solid #b9954a;
	outline-offset: 4px;
}

.project-copy {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	align-items: flex-start;
	flex: 1;
	height: 100%;
}

.project-copy h2 {
	margin: 0;
	padding: 0 0 0.25rem;
	text-transform: uppercase;
	color: #2a2521;
	border-bottom: 2px solid #b9954a;
	width: 100%;
	letter-spacing: 0.06em;
	font-size: 1.15rem;
}

.project-copy > *:last-child {
	margin-bottom: 0;
}

.project-summary {
	margin: 0;
	flex: 1;
	padding: 0;
	color: #4a423a;
	line-height: 1.5;
}

.project-tools {
	margin: 0;
	padding: 0;
	color: #4a423a;
	font-size: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	line-height: 1.4;
}

.tool-chip {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border: 1px solid rgba(185, 149, 74, 0.45);
	border-radius: 2px;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #2a2521;
	background-color: rgba(246, 242, 235, 0.65);
}

.project-thumb {
	width: 100%;
	max-width: 420px;
	width: min(100%, 420px);
	height: min(100%, 420px);
	background: transparent;
	border-radius: 2px;
	box-shadow: 0 0.75rem 2rem -1rem rgba(42, 37, 33, 0.22);
}


/* ============================================
   7. CONTENT SECTIONS
   ============================================ */

.content-one,
.content-two,
.content-full {
	display: flex;
	flex-wrap: wrap;
	max-width: 88rem;
	margin: 0 auto;
	padding: 3rem 1.5rem 2.5rem;
	position: relative;
	border-bottom: none;
	gap: 2rem;
}

.content-one + .content-one {
	margin-top: 1.5rem;
}

.content-one > * {
	flex: 1 1 40%;
	min-width: 0;
}

.content-one__media-left {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.content-one__media-left figure:first-of-type img {
	float: left;
	width: 52%;
	margin: 0 1.5rem 1.5rem 0;
}

.content-one__media-left figure:first-of-type figcaption {
	clear: both;
}

.content-two > * {
	flex: 1 1 30.333%;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.content-full {
	flex-direction: row;
	max-width: 100%;
	padding: 3rem 5%;
}

/* Flow chart row: responsive linear sequence */
.flow-row {
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.flow-row .flow-item {
	flex: 1 1 240px;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.flow-row .flow-item img {
	width: 100%;
	height: auto;
	display: block;
}

.flow-row .flow-arrow {
	font-size: 1.5rem;
	line-height: 1;
	opacity: 0.7;
	padding: 0 0.5rem;
}

@media (max-width: 700px) {
	.flow-row {
		flex-direction: column;
	}
	.flow-row .flow-item {
		max-width: 100%;
	}
	.flow-row .flow-arrow {
		transform: rotate(90deg);
	}
}

.content-full--right {
	align-items: flex-end;
}

.logo-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
	align-items: center;
}

.logo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
	width: 100%;
}

.logo-gallery__item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.35rem;
	background-color: rgba(246, 242, 235, 0.9);
	border: 1px solid rgba(42, 37, 33, 0.08);
	border-radius: 6px;
}

.logo-gallery__item--white {
	background-color: #ffffff;
	border-color: rgba(35, 31, 32, 0.12);
}

.logo-gallery__item--light-blue {
	background-color: #acdbf6;
	border-color: rgba(10, 30, 64, 0.12);
}

.logo-gallery__item--medium-blue {
	background-color: #145ea2;
	border-color: rgba(255, 255, 255, 0.14);
}

.logo-gallery__item--democracy-blue {
	background-color: #22408b;
	border-color: rgba(255, 255, 255, 0.14);
}

.logo-gallery__item--deep-blue {
	background-color: #0a1e40;
	border-color: rgba(255, 255, 255, 0.18);
}

.logo-gallery__item img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.print-ad-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.print-ad-gallery__item {
	background-color: #ffffff;
	border: 1px solid rgba(35, 31, 32, 0.12);
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(42, 37, 33, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.print-ad-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #f6f2eb;
}

.logo-system-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.logo-system-grid__item {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.logo-system-grid__item figure {
	margin: 0;
}

.logo-system-grid__item img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.logo-system-grid__item .editorial-caption {
	margin: 0;
	line-height: 1.5;
}

.logo-strip img {
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
	background-color: transparent;
}

@media (max-width: 1024px) {
	.landing-hero,
	.content-one,
	.content-two,
	.content-full {
		padding: 2.5rem 1.5rem 2rem;
		gap: 1.75rem;
	}

	.content-one > *,
	.content-two > * {
		flex: 1 1 100%;
	}

	.content-two > article {
		display: flex;
		flex-direction: column;
		gap: 0.85rem;
	}

	.content-one__media-left figure:first-of-type img {
		float: none;
		width: 100%;
		margin: 0 0 1.25rem 0;
	}

	.logo-system-grid {
		grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	}
}

@media (max-width: 768px) {
	.landing-hero,
	.content-one,
	.content-two,
	.content-full {
		max-width: 100%;
		padding: 2.25rem 1.25rem 1.75rem;
		gap: 1.5rem;
	}

	.content-one__media-left figure:first-of-type img {
		float: none;
		width: 100%;
		margin: 0;
	}

	.content-one > article + article {
		margin-top: 1.25rem;
	}

	.logo-system-grid {
		grid-template-columns: 1fr;
	}

	.content-one + .content-one,
	.content-two + .content-two,
	.content-one + .content-two,
	.content-two + .content-one {
		margin-top: 1rem;
	}

	

	.content-one,
	.content-two,
	.logo-evolution,
	.logo-strip {
		flex-direction: column;
	}

	.content-two > article {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	.content-two > article + article {
		margin-top: 1rem;
	}

	.content-one > *,
	.content-two > * {
		flex: 1 1 100%;
	}

	.content-one img,
	.content-two img,
	.content-one div img {
		margin-top: 0;
	}
}

.logo-evolution > article {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.logo-evolution > article .editorial-caption {
	margin-top: auto;
	text-align: center;
}


.logo-evolution__media {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	align-self: stretch;
	padding: 1.5rem;
	border-radius: 4px;
	box-shadow: 0 10px 24px rgba(42, 37, 33, 0.12);
}


.content-one img,
.content-two img,
.content-one div img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	margin-top: 3.3rem;
}

.logo-evolution__media img {
	width: 100%;
	height: auto;
	margin-top: 0;
	object-fit: contain;
}

.content-one h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.25;
	font-weight: 500;
	margin-bottom: 0.4rem;
	color: #1f1f1f;
	border-bottom: #b9954a 2px solid;
}

.content-one p,
li {
	text-transform: none;
	text-decoration: none;
	font-size: 1.4rem;
	line-height: 1.55;
	max-width: 42rem;
	color: rgba(0, 0, 0, 0.65);
}

.content-one h3,
.content-two h3 {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	background-color: rgba(246, 242, 235, 0.7);
	margin-bottom: 1rem;
	text-transform: none;
}

.editorial-caption {
	font-size: 0.75rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.6);
	margin-top: 0.2rem;
	display: block;
}

/* 3x2 Grid for Cultural Translation */
.content-grid-3x2 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 90rem;
	margin: 0 auto;
	padding: 2rem 1.5rem;
}

.content-grid-3x2 .grid-item {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.content-grid-3x2 .grid-caption {
	font-size: 0.85rem;
	color: rgba(0, 0, 0, 0.6);
	text-align: center;
	margin: 0;
}

.content-grid-3x2 img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.content-grid-3x2 .placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	margin: 0;
}

.content-grid-3x2 .placeholder {
	overflow: hidden;
}


/* ============================================
   8. COLOR STRIP COMPONENT
   ============================================ */

.color-strip {
	display: flex;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.color-strip__swatch {
	flex: 1;
	height: 80px;
}

.color-strip__labels {
	display: flex;
	margin-top: 0.75rem;
	gap: 0.5rem;
}

.color-strip__labels span {
	flex: 1;
	font-size: 0.75rem;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.6);
	text-align: center;
}

.color-strip__labels code {
	font-family: monospace;
	font-size: 0.7rem;
	opacity: 0.7;
}

.color-palette {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0 0;
}

.color-palette__item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.9rem 1rem;
	background-color: rgba(246, 242, 235, 0.65);
	border: 1px solid rgba(42, 37, 33, 0.08);
	border-radius: 6px;
}

.color-palette__swatch {
	flex: 0 0 56px;
	height: 56px;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.color-palette__label {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	color: #2a2521;
}

.color-palette__name {
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.color-palette__code {
	font-family: "IBM Plex Mono", "Courier New", Courier, monospace;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: rgba(42, 37, 33, 0.6);
}


@media (max-width: 540px) {
	.landing-hero,
	.content-one,
	.content-two,
	.content-full {
		padding: 1.75rem 1rem 1.35rem;
		gap: 1.25rem;
	}

	.content-one + .content-one,
	.content-two + .content-two,
	.content-one + .content-two,
	.content-two + .content-one {
		margin-top: 0.75rem;
	}

	.content-one > article + article {
		margin-top: 1rem;
	}

	.content-one img,
	.content-two img,
	.content-one div img {
		margin-top: 1.25rem;
	}

	.content-two figure {
		width: 100%;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}

	.color-palette__item {
		padding: 0.75rem 0.85rem;
	}

	.color-palette__swatch {
		flex-basis: 48px;
		height: 48px;
	}

	.color-palette__name {
		font-size: 0.8rem;
	}

	.color-palette__code {
		font-size: 0.7rem;
	}
}

.image-lightbox-trigger {
	cursor: zoom-in;
}

.image-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background-color: rgba(18, 15, 12, 0.75);
	z-index: 1200;
}

.image-modal.is-active {
	display: flex;
}

.image-modal__panel {
	position: relative;
	max-width: min(90vw, 960px);
	width: 100%;
	max-height: 90vh;
	background-color: #f6f2eb;
	border-radius: 6px;
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.image-modal__media {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #111;
}

.image-modal__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	max-height: 80vh;
	background-color: #111;
}

.image-modal__caption {
	padding: 1rem 1.25rem;
	font-size: 0.85rem;
	line-height: 1.4;
	color: rgba(42, 37, 33, 0.75);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	background-color: rgba(255, 255, 255, 0.85);
}

.image-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	border: none;
	background: rgba(17, 17, 17, 0.75);
	color: #f6f2eb;
	font-size: 1.25rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.image-modal__close:hover,
.image-modal__close:focus {
	background: rgba(17, 17, 17, 0.9);
	outline: none;
}

.image-modal__close:focus-visible {
	outline: 2px solid #b9954a;
	outline-offset: 2px;
}

body.modal-open {
	overflow: hidden;
}

@media (max-width: 540px) {
	.image-modal {
		padding: 1.5rem;
	}

	.image-modal__caption {
		font-size: 0.8rem;
	}
}


/* ============================================
   9. CONTACT PAGE & FORMS
   ============================================ */

.contact-page {
	max-width: 72rem;
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

.contact-layout {
	display: flex;
	justify-content: center;
}

.contact-form {
	width: 100%;
	max-width: 600px;
}

.contact-form h1 {
	margin-bottom: 1.5rem;
}

.contact-intro {
	margin-bottom: 2rem;
}

/* Form Fields */
.contact-fields {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.contact-label {
	font-weight: 500;
}

.contact-input {
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.2s ease;
}

.contact-input:focus {
	outline: none;
	border-color: #333;
}

textarea.contact-input {
	resize: vertical;
	min-height: 150px;
}

/* Buttons */
.form-submit {
	margin-top: 1rem;
}

.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-family: inherit;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	line-height: 1.35;
	white-space: normal;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-navy {
	background-color: #1a1a2e;
	color: #fff;
}

.btn-navy:hover {
	background-color: #2a2a4e;
}

.btn-sand {
	background-color: #d4a574;
	color: #1a1a2e;
}

.btn-sand:hover {
	background-color: #c49464;
}

.btn-tertiary {
	background-color: #dcc192;
	color: #1d1d1e;
	box-shadow: 0 10px 30px rgba(29, 29, 30, 0.12);
}

.btn-tertiary:hover,
.btn-tertiary:focus-visible {
	background-color: #cdb57f;
	color:#dcc192;
	box-shadow: 0 14px 36px rgba(29, 29, 30, 0.16);
}

.btn-compact {
	max-width: 700px;
	padding: 0.5rem;
	font-size: 0.95rem;
	border-radius: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-compact:hover{
  transform: scale(1.05);
  	color:black;
	background-color: #cdb57f;}
	
/* Form Messages */
.success-message,
.error-message {
	display: none;
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.success-message {
	background-color: #d4edda;
	color: #155724;
}

.error-message {
	background-color: #f8d7da;
	color: #721c24;
}

.email-arrow {
	display: none;
}


/* ============================================
   10. FOOTER
   ============================================ */

.site-footer {
	background: #1d1d1e;
	color: #f6f2eb;
	padding: 48px 0px 32px;
	margin-top: 0x;
}

.footer-inner {
	max-width: min(92vw, 1100px);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.footer-brand img {
	width: 72px;
	height: auto;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.footer-tagline {
	margin: 0;
	font-size: 1rem;
	color: #f6f2eb;
	max-width: 420px;
}

.footer-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 12px 24px;
}

.footer-nav a {
	color: #f6f2eb;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
	color: #b9954a;
}

.footer-copy {
	margin: 0;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	color: rgba(246, 242, 235, 0.75);
	flex: 1 1 100%;
	text-align: center;
}


/* ============================================
   11. ANIMATIONS
   ============================================ */

@keyframes ruleDraw {
	to {
		width: calc(100% - 3rem);
	}
}

@keyframes heroReveal {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-eyebrow,
.hero-headline,
.hero-byline,
.hero-subhead {
	opacity: 0;
	animation: heroReveal 0.6s ease-out forwards;
}

.hero-headline {
	animation-delay: 0.05s;
}

.hero-byline {
	animation-delay: 0.1s;
}

.hero-subhead {
	animation-delay: 0.15s;
}


/* ============================================
   12. MEDIA QUERIES
   ============================================ */

/* Large tablets and below */
@media (max-width: 900px) {
	

	.project-card {
		flex: 1 1 100%;
	}

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

/* Tablets and below */
@media (max-width: 700px) {
	.project-grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile */

/* Mobile */
@media (max-width: 600px) {
	.content-one > *,
	.content-two > * {
		flex: 1 1 100%;
	}
	
	.content-one img,
	.content-two img,
	.content-one div img {
		margin-top: 0;
	}
}
@media (max-width: 600px) {
	.site-footer {
		padding: 40px 16px 28px;
	}

	.footer-brand img {
		width: 62px;
	}

	.footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-brand {
		align-items: center;
		text-align: center;
	}

	.footer-nav {
		grid-template-columns: repeat(2, minmax(100px, 1fr));
		justify-items: center;
	}

	.content-grid-3x2 {
		grid-template-columns: 1fr;
	}

	.color-strip {
		flex-wrap: wrap;
	}

	.color-strip__swatch {
		flex: 1 1 50%;
		height: 60px;
	}

	.color-strip__labels {
		flex-wrap: wrap;
	}

	.color-strip__labels span {
		flex: 1 1 50%;
		margin-bottom: 0.5rem;
	}
}

.hero-media img {
	max-height: 400px;
	width: auto;
	object-fit: contain;
}

/* Featured Project Link */
.featured-project-link {
	display: block;
	text-decoration: none;
	max-width: 50%;
	margin: 0 auto;
}

.featured-project-link figure {
	margin: 0;
}

.featured-project-link img {
	width: 100%;
	height: auto;
	display: block;
}

.featured-project-cta {
	text-align: center;
	margin-top: 1rem;
	font-size: 1.1rem;
	color: #2a2521;
	font-weight: 500;
}