* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #27241f;
  --warm-black: #1e1d1a;
  --cream: #f5f1e9;
  --soft-cream: #fbf8f2;
  --taupe: #a99d8b;
  --muted: #6e675d;
  --line: rgba(39, 36, 31, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--soft-cream);
  font-weight: 300;
  line-height: 1.7;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: white;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent);
}

.brand, .footer-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: .2em;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.brand-subtitle {
  margin-top: .45rem;
  font-size: .55rem;
  letter-spacing: .55em;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .7rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav-links a {
  transition: opacity .25s ease;
}

.nav-links a:hover {
  opacity: .65;
}

.nav-cta {
  padding: .8rem 1.2rem;
  border: 1px solid rgba(255,255,255,.65);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px;
  background: white;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  background: linear-gradient(rgba(17,16,14,.20), rgba(17,16,14,.26)), url("images/staged-living-room.jpg?v=5") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,14,12,.62), rgba(15,14,12,.12) 60%, rgba(15,14,12,.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 82vw);
  margin-left: 9vw;
  padding-top: 5rem;
}

.eyebrow {
  margin-bottom: 1.4rem;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow.dark {
  color: var(--muted);
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 1.03;
}

h1 {
  font-size: clamp(4rem, 7.5vw, 7.5rem);
  letter-spacing: -.025em;
}

h1 em {
  font-weight: 400;
}

h2 {
  font-size: clamp(2.7rem, 4.6vw, 5rem);
  letter-spacing: -.02em;
}

h3 {
  font-size: 1.85rem;
}

.hero-copy {
  max-width: 580px;
  margin: 2rem 0 2.5rem;
  font-size: .98rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.button {
  display: inline-block;
  padding: 1rem 1.6rem;
  border: 0;
  font: inherit;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

.button-light {
  background: white;
  color: var(--ink);
}

.button-dark {
  background: var(--warm-black);
  color: white;
}

.text-link {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .35rem;
}

.text-link span {
  margin-left: .4rem;
}

.hero-location {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 4vh;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.section {
  padding: 9rem 8vw;
}

.section-label {
  margin-bottom: 4rem;
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--taupe);
  text-transform: uppercase;
}

.intro {
  background: var(--soft-cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .85fr;
  gap: 9vw;
}

.intro-copy {
  padding-top: 3rem;
  color: var(--muted);
}

.intro-copy p + p {
  margin-top: 1.4rem;
}

.dark-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--ink);
}

.services {
  background: var(--cream);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.service-card {
  position: relative;
}

.service-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.88);
  font-size: .65rem;
  letter-spacing: .08em;
}

.service-image {
  aspect-ratio: 4/5;
  margin-bottom: 1.5rem;
  background-position: center;
  background-size: cover;
  transition: transform .45s ease;
}

.service-card:hover .service-image {
  transform: translateY(-6px);
}

.staging {
  background-image: url("images/open-living-room.jpg?v=5");
}

.styling {
  background-image: url("images/soft-bedroom.jpg?v=5");
}

.consulting {
  background-image: url("images/stock-philosophy.jpg?v=3");
}

.service-card p {
  margin-top: .9rem;
  color: var(--muted);
  font-size: .88rem;
}

.statement {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 6rem 8vw;
  color: white;
  text-align: center;
  background: linear-gradient(rgba(25,23,20,.58), rgba(25,23,20,.58)), url("images/stock-philosophy.jpg?v=3") center/cover no-repeat;
}

.statement-inner {
  max-width: 900px;
}

.statement h2 {
  font-size: clamp(3.4rem, 6vw, 6.6rem);
}

.statement p:last-child {
  max-width: 620px;
  margin: 2rem auto 0;
}

.portfolio-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr .7fr;
  gap: 8vw;
  align-items: end;
}

.portfolio-heading > p {
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 2rem;
}

.portfolio-large {
  grid-row: span 2;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  min-height: 330px;
  background-position: center;
  background-size: cover;
}

.portfolio-large .portfolio-image {
  min-height: 760px;
}

.living-room {
  background-image: url("images/open-living-room.jpg");
}

.bedroom {
  background-image: url("images/soft-bedroom.jpg");
}

.dining {
  background-image: url("images/pink-bedroom.jpg");
}

.portfolio-caption {
  display: flex;
  justify-content: space-between;
  padding: .8rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: .65rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.portfolio-caption span:last-child {
  color: var(--taupe);
}

.process {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 3rem 3rem 1rem 0;
}

.process-step + .process-step {
  padding-left: 3rem;
  border-left: 1px solid var(--line);
}

.process-step span {
  display: block;
  margin-bottom: 4rem;
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--taupe);
}

.process-step p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .88rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--warm-black);
  color: white;
}

.contact-image {
  min-height: 800px;
  background: url("images/black-bedroom.jpg?v=5") center/cover no-repeat;
}

.contact-content {
  padding: 7rem 7vw;
  align-self: center;
}

.contact-content > p {
  max-width: 560px;
  margin: 1.5rem 0 2.5rem;
  color: rgba(255,255,255,.72);
}

form {
  display: grid;
  gap: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: grid;
  gap: .6rem;
  font-size: .64rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: .95rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  outline: none;
  background: transparent;
  color: white;
  font: inherit;
  font-size: .84rem;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,.45);
}

form .button {
  justify-self: start;
  margin-top: .8rem;
  background: white;
  color: var(--ink);
}

footer {
  padding: 5rem 7vw 2rem;
  color: white;
  background: #151411;
}

footer > p {
  margin: 1.7rem 0;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  letter-spacing: .09em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
  }

  .menu-toggle {
    display: block;
    z-index: 60;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    background: var(--warm-black);
    font-size: .85rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content {
    margin-left: 7vw;
  }

  .section {
    padding: 7rem 6vw;
  }

  .intro-grid,
  .portfolio-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 2rem;
  }

  .intro-copy {
    padding-top: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .service-image {
    aspect-ratio: 16/12;
  }

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

  .portfolio-large {
    grid-row: auto;
  }

  .portfolio-large .portfolio-image,
  .portfolio-image {
    min-height: 520px;
  }

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

  .process-step,
  .process-step + .process-step {
    padding: 2.3rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step span {
    margin-bottom: 2rem;
  }

  .contact-image {
    min-height: 520px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: 86vw;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .hero-location {
    display: none;
  }

  .section {
    padding: 5.5rem 6vw;
  }

  .section-label {
    margin-bottom: 2.6rem;
  }

  .statement {
    min-height: 66vh;
    background-attachment: scroll;
  }

  .portfolio-large .portfolio-image,
  .portfolio-image {
    min-height: 420px;
  }

  .contact-content {
    padding: 5rem 7vw;
  }

  .contact-image {
    min-height: 420px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .7rem;
  }
}

/* Maison Vale project photography */
.hero { background-position:center 58%; }
.styling,.contact-image { background-position:center 44%; }
.consulting { background-position:center 48%; }
.statement { background-position:center 42%; }
.bedroom { background-position:center 44%; }
.dining { background-position:center 38%; }
.project-gallery { padding-top:0; background:var(--soft-cream); }
.project-gallery .gallery-heading { max-width:760px; margin-bottom:3.5rem; }
.project-gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.project-gallery-grid figure { margin:0; }
.project-gallery-grid img { width:100%; height:390px; object-fit:cover; display:block; }
.project-gallery-grid figcaption { padding:.8rem 0 1.2rem; font-size:.63rem; letter-spacing:.11em; text-transform:uppercase; border-bottom:1px solid var(--line); }
@media(max-width:900px){.project-gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.project-gallery-grid{grid-template-columns:1fr}.project-gallery-grid img{height:470px}}


/* Expanded Maison Vale portfolio gallery */
.gallery-intro{max-width:620px;margin-top:1.4rem;color:var(--muted)}
.project-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-flow:dense;gap:1.1rem}
.project-gallery-grid .gallery-wide{grid-column:span 2}
.project-gallery-grid img{width:100%;height:430px;object-fit:cover;display:block;transition:transform .45s ease,filter .45s ease}
.project-gallery-grid figure{overflow:hidden}
.project-gallery-grid figure:hover img{transform:scale(1.018);filter:brightness(.98)}
.project-gallery-grid figcaption{display:flex;justify-content:space-between;gap:1rem}
.project-gallery-grid figcaption span:last-child{color:var(--taupe)}
@media(max-width:900px){.project-gallery-grid{grid-template-columns:repeat(2,1fr)}.project-gallery-grid .gallery-wide{grid-column:span 2}}
@media(max-width:600px){.project-gallery-grid{grid-template-columns:1fr}.project-gallery-grid .gallery-wide{grid-column:span 1}.project-gallery-grid img{height:470px}.project-gallery-grid figcaption{align-items:flex-start;flex-direction:column;gap:.2rem}}


/* Stock-generated imagery outside the Recent Projects gallery */
.hero { background-position: center 48%; }
.staging { background-position: center 52%; }
.styling { background-position: center 50%; }
.consulting { background-position: center 48%; }
.statement { background-position: center 52%; background-attachment: scroll; }
.contact-image { background-position: center; }


/* Final layout fixes: prevent header overlap and remove repeated project images */
body { overflow-x: hidden; }
main { display: block; }
.site-header { position: absolute; top: 0; }
.hero { min-height: 100svh; padding-top: 88px; }
.hero-content { padding-top: 1rem; }
.intro { position: relative; z-index: 1; }

.portfolio-living { background-image: url("images/staged-living-room.jpg?v=4"); background-position: center; }
.portfolio-bedroom { background-image: url("images/black-bedroom.jpg?v=4"); background-position: center 42%; }
.portfolio-nursery { background-image: url("images/nursery.jpg?v=4"); background-position: center 48%; }

.recent-projects-clean figure:nth-child(1) img { object-position: center; }
.recent-projects-clean figure:nth-child(2) img,
.recent-projects-clean figure:nth-child(3) img,
.recent-projects-clean figure:nth-child(4) img,
.recent-projects-clean figure:nth-child(5) img { object-position: center 42%; }

@media (max-width: 1100px) {
  .site-header { height: 78px; padding: 0 4vw; }
  .nav-links { gap: 1.15rem; font-size: .62rem; }
  .nav-cta { padding: .7rem .9rem; }
  .hero { padding-top: 78px; }
  .hero-content { margin-left: 6vw; width: min(690px, 86vw); }
}

@media (max-width: 900px) {
  .site-header { position: absolute; background: linear-gradient(to bottom, rgba(0,0,0,.58), transparent); }
  .hero { min-height: 88svh; padding-top: 76px; }
  .portfolio-grid-balanced { grid-template-columns: 1fr; }
  .portfolio-large { grid-row: auto; }
  .portfolio-large .portfolio-image, .portfolio-image { min-height: 520px; }
}

@media (max-width: 600px) {
  .hero { min-height: 82svh; }
  .hero-content { padding-top: 0; }
  .portfolio-large .portfolio-image, .portfolio-image { min-height: 430px; }
}


/* v5 repair: remove embedded-text backgrounds and stabilize tablet layout */
.site-header { z-index: 100; }
.hero {
  min-height: 100svh;
  padding-top: 0;
  background-position: center 52%;
  overflow: hidden;
}
.hero-content {
  padding-top: 88px;
  padding-bottom: 48px;
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(15,14,12,.68), rgba(15,14,12,.24) 60%, rgba(15,14,12,.08));
}
.contact-image {
  background-position: center 44%;
  min-height: 720px;
}
.contact { align-items: stretch; }
.contact-content { min-width: 0; }

@media (max-width: 1100px) {
  .hero-content { padding-top: 96px; }
  .contact { grid-template-columns: .9fr 1.1fr; }
  .contact-image { min-height: 680px; }
}

@media (max-width: 900px) {
  .site-header { position: absolute; }
  .hero { min-height: 92svh; padding-top: 0; }
  .hero-content { padding-top: 110px; padding-bottom: 56px; }
  .contact { grid-template-columns: 1fr; }
  .contact-image { min-height: 520px; background-position: center 42%; }
  .contact-content { padding: 5rem 7vw; }
}

@media (max-width: 600px) {
  .hero { min-height: 88svh; background-position: 58% center; }
  .hero-content { padding-top: 104px; width: 88vw; margin-left: 6vw; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.5rem); }
  .hero-copy { max-width: 90%; }
  .contact-image { min-height: 440px; }
}


/* Recent Projects Luxury Masonry */
.recent-projects-grid{
  column-count:2;
  column-gap:1.5rem;
}
.recent-projects-grid figure{
  break-inside:avoid;
  margin:0 0 1.5rem;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  overflow:hidden;
  border-radius:4px;
}
.recent-projects-grid img{
  width:100%;
  height:auto;
  display:block;
}
.recent-projects-grid figcaption{
  padding:1rem 1.25rem;
  display:flex;
  justify-content:space-between;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.recent-projects-grid figure:hover{
 transform:translateY(-6px);
 transition:.35s ease;
}
@media (max-width: 900px) {
  .recent-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .instagram-header {
    margin-left: auto;
    margin-right: .35rem;
  }
}

@media (max-width: 600px) {
  .recent-projects-grid {
    grid-template-columns: 1fr;
  }
  .recent-projects-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  background: #f7f4ef;
  padding: .5rem;
}
}

.recent-projects-grid figure{
 display:flex;
 flex-direction:column;
 align-items:center;
}

@media (max-width:900px){.recent-projects-grid{column-count:2;}}
@media (max-width:600px){.recent-projects-grid{column-count:1;}}


/* Recent Projects — luxury editorial layout v9 */
.luxury-recent-projects {
  padding-top: 7rem;
  padding-bottom: 8rem;
  background: var(--soft-cream);
}

.luxury-recent-heading {
  max-width: none !important;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr);
  align-items: end;
  gap: 8vw;
  margin-bottom: 4rem !important;
}

.luxury-recent-intro {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.luxury-recent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 3.25rem 2rem;
  align-items: start;
}

.luxury-project {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

.luxury-project:hover {
  transform: none !important;
}

.luxury-project-image {
  width: 100%;
  background: #ebe6dd;
  overflow: hidden;
}

.luxury-project-image img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  transition: transform .65s ease;
}

.luxury-project:hover .luxury-project-image img {
  transform: scale(1.01);
}

.luxury-project figcaption {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
  padding: .95rem 0 1.1rem !important;
  border-bottom: 1px solid var(--line);
  font-size: .65rem !important;
  letter-spacing: .11em;
  text-transform: uppercase;
  background: transparent;
}

.luxury-project figcaption span:last-child {
  color: var(--taupe);
  text-align: right;
}

.project-two {
  margin-top: 6rem !important;
}

.project-wide {
  grid-column: 1 / -1;
}

.project-centered {
  grid-column: 1 / -1;
  width: min(72%, 920px);
  justify-self: center;
}

@media (max-width: 900px) {
  .luxury-recent-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .luxury-recent-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.25rem;
  }

  .project-two {
    margin-top: 3rem !important;
  }

  .project-centered {
    width: 84%;
  }
}

@media (max-width: 600px) {
  .luxury-recent-projects {
    padding-top: 5.25rem;
    padding-bottom: 5.75rem;
  }

  .luxury-recent-heading {
    margin-bottom: 2.75rem !important;
  }

  .luxury-recent-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-count: auto !important;
    gap: 2.75rem !important;
  }

  .project-two,
  .project-wide,
  .project-centered {
    grid-column: auto;
    width: 100%;
    margin-top: 0 !important;
  }

  .luxury-project figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }

  .luxury-project figcaption span:last-child {
    text-align: left;
  }
}


/* Modern balanced Recent Projects layout v10 */
.modern-projects {
  padding-top: 7rem;
  padding-bottom: 8rem;
  background: var(--soft-cream);
}

.modern-projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .7fr);
  align-items: end;
  gap: 7vw;
  margin-bottom: 3.75rem;
}

.modern-projects-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.modern-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.modern-project-card {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.modern-project-frame {
  flex: 1;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  background: #ece7df;
}

.modern-project-frame img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 650px;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  background: transparent !important;
  transition: transform .55s ease;
}

.modern-project-card:hover .modern-project-frame img {
  transform: scale(1.012);
}

/* Give the blush image more visual presence without cropping it. */
.card-blush .modern-project-frame {
  padding: .35rem;
}

.card-blush .modern-project-frame img {
  max-height: 690px;
  transform: scale(1.06);
}

.card-blush:hover .modern-project-frame img {
  transform: scale(1.075);
}

.modern-project-card figcaption {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0 1.15rem !important;
  border-bottom: 1px solid var(--line);
  font-size: .65rem !important;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.modern-project-card figcaption span:last-child {
  color: var(--taupe);
  text-align: right;
}

.card-living {
  grid-column: 1 / -1;
}

.card-living .modern-project-frame {
  min-height: 560px;
}

.card-living .modern-project-frame img {
  max-height: 720px;
}

.card-canopy {
  grid-column: 1 / -1;
  width: min(76%, 980px);
  justify-self: center;
}

@media (max-width: 900px) {
  .modern-projects-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .modern-project-frame {
    min-height: 430px;
  }

  .card-living .modern-project-frame {
    min-height: 470px;
  }

  .card-canopy {
    width: 86%;
  }
}

@media (max-width: 650px) {
  .modern-projects {
    padding-top: 5.25rem;
    padding-bottom: 5.75rem;
  }

  .modern-projects-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .card-living,
  .card-canopy {
    grid-column: auto;
    width: 100%;
  }

  .modern-project-frame,
  .card-living .modern-project-frame {
    min-height: 0;
    padding: .75rem;
  }

  .modern-project-frame img,
  .card-living .modern-project-frame img {
    width: 100% !important;
    height: auto !important;
    max-height: none;
    object-fit: contain !important;
  }

  .card-blush .modern-project-frame img {
    transform: none;
  }

  .card-blush:hover .modern-project-frame img {
    transform: scale(1.01);
  }

  .modern-project-card figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
  }

  .modern-project-card figcaption span:last-child {
    text-align: left;
  }
}
