:root {
  /* =====================
     BRAND COLORS
  ===================== */
  --gold-100: #a0702a;
  --gold-80: #d3993b;
  --gold-60: #e7ad4f;
  --gold-40: #fec76c;
  --gold-20: #ffdd94;
  --gold-10: #ffecb0;

  --rust-100: #703927;
  --rust-80: #87493b;
  --rust-60: #97594a;
  --rust-40: #b3634b;
  --rust-20: #da866c;  
  --rust-10: #f9ad8f;

  --coffee: #49322d; 
  --charcoal: #333840;   /* body text */

  --juniper: #386f5b;   
  --sage: #7a9982;   
  --cream: #f3ead9;   /* page background */

  --steel: #4a6c82;   
  --slate: #8ea2b1;   
  --zinc: #e8eced;  

  /* =====================
     TYPOGRAPHY
  ===================== */
  --font-veneer:              veneer-two, sans-serif;
  --font-veneer-regular:      veneer, sans-serif;
  --font-feltro:              feltro-normal, sans-serif;
  --font-feltro-solid:        feltro-texture-2, sans-serif;
  --font-body:                interstate, sans-serif;
  --font-body-condensed:      interstate-condensed, sans-serif;
  --font-body-compressed:     interstate-compressed, sans-serif;
  --font-mono:                interstate-mono, monospace;


  --text-base:     1.125rem;
  --text-sm:       1rem;
  --text-md:       1.375rem;
  --text-lg:       2rem;
  --text-xl:       2.75rem;
  --text-xxl:      4rem;

  --line-height-body:    1.6;
  --line-height-heading: 1.2;

  --font-display-weight-normal:  400;
  --font-weight-thin:       200;  
  --font-weight-exlight:    300;
  --font-weight-light:      400;
  --font-weight-regular:    500;
  --font-weight-bold:       700;
  --font-weight-black:      800;
  --font-weight-ultrablack: 900;

  /* =====================
     SPACING SCALE
  ===================== */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   2rem;
  --space-xl:   4rem;
  --space-xxl:  8rem;

  /* =====================
     LAYOUT
  ===================== */
  --max-width:        90%;    /* content container max */
  --max-width-text:   65ch;   /* readable text column */
  --border-radius:    0.5rem;
  --border-radius-lg: 1rem;

  /* =====================
     TRANSITIONS
  ===================== */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   500ms ease;
}

/* =====================
   RESET
===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* =====================
   BASE TYPOGRAPHY
===================== */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-body);
  color: var(--charcoal);
  background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-veneer);
  font-weight: var(--font-display-weight-normal);
  line-height: var(--line-height-heading);
  color: var(--rust-100);
}

h1 { font-size: var(--text-xxl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  max-width: var(--max-width-text);
}

strong {
  font-weight: var(--font-weight-bold);
}

em {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

/* =====================
   BASE LAYOUT
===================== */
section {
  width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--space-xl);
}

.construction-page {
  background: var(--cream)
}

.construction-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl) 5%;
}

.construction-card {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(var(--space-lg), 5vw, var(--space-xxl));
  background: var(--zinc);
}

.construction-logo {
  width: auto;
  height: 10%;
}

.construction-card h1 {
  max-width: 90%;
  text-wrap: balance;
}

.construction-note {
  color: var(--steel);
  font-weight: var(--font-weight-bold);
}

.construction-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.construction-email {
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--rust-100);
}

.construction-email:hover {
  color: var(--rust-80);
}

@media (max-width: 768px) {
  .construction-shell {
    padding: var(--space-lg);
  }

  .construction-card {
    width: 100%;
  }
}

/* =====================
   NAV
===================== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--rust-100);
  width: 100%;
}

.nav-inner {
  width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-sm);
}

#nav-logo img {
  height: 3rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-regular);
  color: var(--cream);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--gold-40);
  font-weight: var(--font-weight-bold);

}

.nav-links a.active {
  color: var(--gold-60);
}

#nav-cta {
  background-color: var(--gold-60);
  color: var(--rust-100);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-bold);
  transition: background-color var(--transition-fast);
}

#nav-cta:hover {
  background-color: var(--gold-40);
  color: var(--rust-100);
  font-weight: var(--font-weight-black);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: var(--space-xs);
}

.nav-toggle img {
  width: 100%;
  height: auto;
}

/* =====================
   NAV MOBILE
===================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    width: 100%;
    background-color: var(--rust-100);
    padding: var(--space-md) var(--space-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

/* =====================
   FOOTER
===================== */
footer {
  background-color: var(--coffee);
  width: 100%;
  margin-top: var(--space-xl);
}

.footer-inner {
  width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-block: var(--space-xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* FOOTER COLUMN 1 */
#footer-brand img {
  height: auto;
  width: 80%;
  margin-left: calc(var(--space-lg) * -1);
}

#footer-portfolio-link {
  font-family: var(--font-feltro-solid);
  font-size: var(--text-sm);
  color: var(--gold-40);
  transition: color var(--transition-fast);
}

#footer-portfolio-link:hover {
  color: var(--gold-20);
}

   /* FOOTER COLUMN 2 */
#footer-services-contact {
  gap: var(--space-lg);
}

#footer-services h4,
#footer-contact h4 {
  font-family: var(--font-veneer);
  font-size: var(--text-md);
  color: var(--gold-60);
  margin-bottom: var(--space-sm);
}

#footer-services ul,
#footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

#footer-services li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--cream);
}

#footer-contact a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--cream);
  transition: color var(--transition-fast);
}

#footer-contact a:hover {
  color: var(--gold-40);
}

#footer-social {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
  align-items: center;
}

#footer-social img {
  height: 2rem;
  width: auto;
  transition: opacity var(--transition-fast);
}

#footer-social img:hover {
  opacity: 0.75;
}

   /* FOOTER COLUMN 3 */
#footer-nav h4 {
  font-family: var(--font-veneer);
  font-size: var(--text-md);
  color: var(--gold-60);
  margin-bottom: var(--space-sm);
}

#footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

#footer-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--cream);
  transition: color var(--transition-fast);
}

#footer-nav a:hover {
  color: var(--gold-40);
}

   /* FOOTER COPYRIGHT */
#footer-copyright {
  background-color: var(--coffee);
  width: 100%;
  padding-block: var(--space-sm);
}

#footer-copyright p {
  width: var(--max-width);
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--slate);
  text-align: center;
}

   /* FOOTER MOBILE */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  #footer-brand img {
    margin-left: var(--space-sm);
  }
}



/* =====================
   INDEX
===================== */
/* HERO */
#hero {
  width: 100%;
  margin-inline: 0;
  padding-inline: 5%;
  background: linear-gradient(to bottom, var(--gold-20), var(--cream));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  min-height: 40vh;
}

#hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

#hero-left h1 {
  color: var(--rust-100);
  font-size: var(--text-xxl);
}

#hero-left h2 {
  font-family: var(--font-feltro);
  font-weight: var(--font-weight-regular);
  color: var(--coffee);
  font-size: var(--text-xl);
}

#hero-left p {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--charcoal);
  max-width: 55ch;
  text-wrap: balance;
}

#hero-cta {
  display: inline-block;
  background-color: var(--rust-100);
  color: var(--cream);
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  transition: background-color var(--transition-fast);
  align-self: flex-start;
}

#hero-cta:hover {
  background-color: var(--rust-80);
}

#hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--border-radius);
}

#hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(25%) saturate(90%) brightness(95%);

}

/* HERO MOBILE */
@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
  }

  #hero-right {
    display: none;
  }
}

/* =====================
   HOME PAGE SECTIONS
===================== */
/* HERO */
.page-section {
  width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--space-xl);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  max-width: 65ch;
  text-wrap: balance;
}

.section-kicker {
  font-family: var(--font-body-condensed);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  max-width: none;
}

.section-link {
  display: inline-flex;
  margin-top: var(--space-lg);
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--rust-100);
}

.button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.button-primary {
  background-color: var(--rust-100);
  color: var(--cream);
}

.button-primary:hover {
  background-color: var(--rust-80);
}

.button-secondary {
  border: 1px solid var(--rust-100);
  color: var(--rust-100);
}

.button-secondary:hover {
  background-color: var(--rust-100);
  color: var(--cream);
}

/* TRACKS SECTION & GRIDs */
.card-base {
  background-color: var(--zinc);
  border: 1px solid var(--charcoal);
  border-radius: var(--border-radius-lg);
}

.service-tracks,
.case-study-grid,
.values-grid {
  display: grid;
  gap: var(--space-lg);
}

.service-tracks,
.case-study-grid,
.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-track,
.value-card {
  padding: var(--space-lg);
}

.service-track h3,
.value-card h3,
.about-panel h3,
.case-study h3,
.cta-panel h2 {
  margin-bottom: var(--space-sm);
  color: var(--juniper);
}

.service-track ul {
  margin-top: var(--space-md);
  padding-left: 1.2rem;
  list-style: disc;
  display: grid;
  gap: var(--space-xs);
}

/* CASE STUDIES */
.case-study {
  overflow: hidden;
}

.case-study-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--zinc);
}

.case-study-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-study-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.case-study-body--panel {
  min-height: 100%;
  justify-content: flex-end;
  min-height: 19rem;
  background: linear-gradient(180deg, rgba(243, 234, 217, 0.4), rgba(232, 236, 237, 0.7));
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.about-panel {
  padding: var(--space-lg);
}

/* CALL to ACTION */
.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  background: var(--juniper);
  color: var(--cream);
}

.cta-panel .section-kicker,
.cta-panel p,
.cta-panel h2 {
  color: inherit;
}

.cta-panel .section-kicker {
  color: var(--gold-20);
}

.cta-panel h2 {
  font-size: var(--text-xxl);
}

.cta-panel .button-primary {
  background-color: var(--gold-60);
  color: var(--rust-100);
}

.cta-panel .button-primary:hover {
  background-color: var(--gold-40);
}

@media (max-width: 768px) {
  .service-tracks,
  .case-study-grid,
  .values-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: var(--space-lg);
  }

  .cta-panel h2 {
    font-size: var(--text-xl);
  }
}

/* =====================
   CONTACT PAGE
===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: var(--space-lg);
  align-items: start;
}

/* --- Required Field Markers --- */
.required-marker {
  color: var(--rust-100);
  font-weight: bold;
  margin-left: 2px;
}

.contact-form,
.contact-sidebar {
  padding: var(--space-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-body-condensed);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--coffee);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(73, 50, 45, 0.18);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-sm) var(--space-md);
}

.field textarea {
  resize: vertical;
  min-height: 9rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--gold-60);
  outline-offset: 2px;
  border-color: transparent;
}

.contact-form .button-primary {
  margin-top: var(--space-sm);
}

.contact-form .button-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-form-status {
  margin-top: var(--space-md);
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--juniper);
  min-height: 1.5em;
}
.form-status {
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  max-width: var(--max-width-text);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-links a {
  font-family: var(--font-body-condensed);
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--rust-100);
}

.contact-note {
  color: var(--coffee);
}

@media (max-width: 768px) {
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   SERVICES PAGE
===================== */
.services-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: end;
  background: var(--gold-20), var(--cream);
  border-radius: var(--border-radius-lg);
}

.services-hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.services-hero-copy h1 {
  max-width: 12ch;
}

.services-hero-copy p {
  max-width: 60ch;
}

.services-hero-panel {
  padding: var(--space-lg);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.services-hero-panel h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .services-hero {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}