:root {
  --navy: #111827;
  --ink: #0b1220;
  --text: #111827;
  --muted: #111827de;
  --paper: #ffffff;
  --ivory: #F5F6F8;
  --accent: #F7C544; /* buttons must be yellow-ish per request */
  --shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

figure {
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 42px 0;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--navy);
  margin: 0 0 18px;
}

#about {
  display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var( --muted);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  width: 100%;
  padding: 16px 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-line-1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.brand-line-2 {
  text-transform: uppercase;
  font-size: 0.9rem;
   font-size: 12px;
  letter-spacing: 1px;
  color: #cfd5e3;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.nav-link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.1px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
  border-color: var(--accent);
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-black {
background-color: #000000;
  color: #ffff;
  border-color: #000000;

}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero Slideshow */
.hero {
  position: relative;
  min-height: clamp(560px, 70vh, 780px);
  overflow: hidden;
}


.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--hero-transition, 0.8s) ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 24, 39, 0.45),
    rgba(17, 24, 39, 0.20) 40%,
    rgba(17, 24, 39, 0.5)
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0px;
  align-items: center;
  padding: 0px 0;
  background-color: white;

}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  font-weight: 700;
  font-size: clamp(2em, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 10px;
}

.subhead {
  color: white;
  font-size: clamp(1.25rem, 6vw, 1.35rem);
}

.dual-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Home services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  text-align: center;
  border: 1px solid #e5e7eb;
  /* border-radius: 12px; */
  padding: 22px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 24px;
}

/* Portfolio grid & Lightbox */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.tile .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(17, 24, 39, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.is-open {
  display: flex;
}

.lb-frame {
  max-width: 92vw;
  max-height: 88vh;
  position: relative;
}

.lb-frame img {
  max-width: 100%;
  max-height: 88vh;
  display: block;
}

.lb-close {
  position: absolute;
  top: -42px;
  right: -2px;
  background: #fff;
  color: #111827;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd2dd;
  padding: 32px 0;
  margin-top: 48px;
}

.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Page shells */
.page-hero {
  background: var(--ivory);
  padding: 48px 0;
  border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  margin: 0 0 6px;
}

.pm-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.pm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pm-field input,
.pm-field textarea {
  border: 1px solid #d7dbe3;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.pm-field textarea {
  min-height: 140px;
}

.pm-actions {
  display: flex;
  gap: 10px;
}

split-hero {
  position: relative;
  padding: 0;
  color: #fff;
}
.split-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 40%) 1fr; /* left text / right images */
  min-height: 80vh;
  background:  var(--navy);          /* change to brand-neutral if preferred */
}

/* Left column: neutral background for guaranteed legibility */
.hero-copy-col {
  background:  var(--navy);          /* change to brand-neutral if preferred */
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
}
.hero-copy-col .hero-copy h1,
.hero-copy-col .hero-copy p { max-width: 32ch; }

/* Right column: slideshow fills area */
.hero-slides-col { position: relative; overflow: hidden; }
.hero-slides, .hero-slides figure, .hero-slides img {
  width: 100%; height: 100%;
}
.hero-slides figure { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slides figure.is-active { opacity: 1; }
.hero-slides img { object-fit: cover; object-position: 60% 50%; } /* slightly right for left-side focus */

/* Buttons on dark */
.btn.btn-black { background: #111; color: #fff; border: 1px solid #222; }
.btn.btn-black:hover { background: #000; }

/* Responsive stacking */
@media (max-width: 900px) {
  .split-hero .hero-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .hero-slides-col { height: 54vh; } /* keeps a strong image on mobile */
  .hero-slides img { object-position: 50% 50%; }
  .hero-copy-col { text-align: center; }
  .hero-copy-col .dual-ctas { display: inline-flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
}


/* Ensure the right column has a definite height */
.hero-grid { min-height: 80vh; }              /* you already have this */
.hero-slides-col { position: relative; height: 100%; min-height: 80vh; }

/* Make the slideshow fill the column and layer slides */
.hero-slides { position: absolute; inset: 0; }
.hero-slides figure {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .6s ease;
}
.hero-slides figure.is-active { opacity: 1; }

.hero-slides img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
}

/* Mobile: give the image column its own height when stacked */
@media (max-width: 900px) {
  .hero-slides-col { min-height: 54vh; }
}


.card img {
   border-radius: 12px;  
  max-width: 400px;
  max-height: auto;       /* soft rounded corners */
  border: 1px solid #e5e7eb;   /* light gray border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* subtle depth */
  transition: transform .25s ease, box-shadow .25s ease;
}

.extra-card img {
     border-radius: 12px;  
width: 600px;
border: 1px solid #e5e7eb;   /* light gray border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* subtle depth */
  transition: transform .25s ease, box-shadow .25s ease;
}


.section-title {
border-bottom: 10px solid #ffe49d;
}

.larger-emphasis {
  font-size:18px;
}


.foot-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-brand { max-width: 520px; }
.foot-sub { margin-top: 6px; opacity: 0.9; }

.foot-cta { align-self: flex-start; }

.foot-contact { font-style: normal; }
.foot-label { font-weight: 600; margin-bottom: 8px; }
.foot-line { margin-top: 6px; }
.foot-key { display: inline-block; min-width: 56px; opacity: 0.9; }

.site-footer a { color: #cbd2dd; }

@media (max-width: 700px) {
  .foot-grid { flex-direction: column; }
  .foot-cta { order: 2; }
  .foot-contact { order: 3; }
}


.tile { display: block; }
.tile-caption {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.9;
}

.tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
  pointer-events: none;
}

.lb-caption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: #e5e7eb;
  text-align: center;
  max-width: 92vw;
}