:root {
  --ink: #6b6257;
  --deep: #5d554b;
  --sage: #8d8175;
  --mist: #dcecef;
  --blue: #c9dfe3;
  --paper: #f7f1e7;
  --white: #fffaf2;
  --sand: #dcc8ad;
  --wood: #987358;
  --line: rgba(100, 97, 85, .2);
  --portfolio-frame: 3 / 4;
  --photo-mat: rgba(255, 250, 242, .32);
  --serif: "Fraunces", Georgia, serif;
  --script: "La Belle Aurore", cursive;
  --sans: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
p { line-height: 1.75; }
.script { font-family: var(--script); font-weight: 400; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 4px; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  background: var(--wood);
  transform: scaleX(0);
  transform-origin: left;
}
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--paper);
  animation: curtain-out .8s .65s var(--ease) forwards;
}
.curtain span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-indent: .2em;
}
@keyframes curtain-out { to { opacity: 0; visibility: hidden; } }

h1, h2, h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -.025em;
}
h2 { font-size: clamp(38px, 5.1vw, 72px); line-height: 1.04; }
h2 em { color: var(--wood); font-weight: 300; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--wood);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .85s ease, transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  width: 100%;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(80,73,62,.1), transparent);
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-50%);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(247,241,231,.94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .17em;
  text-indent: .17em;
}
.site-header:not(.is-scrolled) .wordmark,
.site-header:not(.is-scrolled) nav a { color: var(--white); }
.site-header:not(.is-scrolled) .wordmark span { border-color: rgba(255,255,255,.5); }
.wordmark strong, .site-header nav a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-header nav { display: flex; align-items: center; gap: 25px; }
.site-header nav a { text-decoration: none; opacity: .72; }
.site-header nav a:hover, .site-header nav a.active { opacity: 1; }
.site-header .nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.menu-toggle { display: none; border: 0; background: transparent; }
.site-header:not(.is-scrolled) .menu-toggle span { background: var(--white); }
.site-header nav.open a { color: var(--deep); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #7b7668;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #403d38;
}
.hero-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: translateY(calc(var(--parallax, 0) * 1px));
  animation: hero-in 1.8s var(--ease) both;
}
@keyframes hero-in { from { opacity: .7; filter: blur(2px); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,24,.08), rgba(20,20,24,.18));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(24px, 11.5vw, 145px) clamp(72px, 10.5vh, 92px);
  color: var(--white);
}
.hero-role {
  margin: 0 0 0 clamp(190px, 22vw, 320px);
  color: rgba(255,254,250,.92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5em;
  text-shadow: none;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 -4px;
  padding: .04em 0 .2em;
  color: #fff0d2;
  opacity: 1;
  font-size: clamp(86px, 9.4vw, 128px);
  line-height: 1.22;
  position: relative;
  transform: translateY(-18px);
  background: linear-gradient(105deg, #fff8e8 5%, #ffe6bd 35%, #fff0dc 58%, #f7eee0 78%, #ffdfaa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
.hero-link {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero-link span { font-size: 18px; transition: transform .25s ease; }
.hero-link:hover span { transform: translateY(5px); }
.editorial-section { position: relative; padding: clamp(95px, 11vw, 165px) clamp(24px, 6vw, 90px); }
.section-marker {
  position: absolute;
  top: 36px;
  left: clamp(24px, 6vw, 90px);
  right: clamp(24px, 6vw, 90px);
  display: flex;
  justify-content: space-between;
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-marker.light { color: rgba(255,254,250,.72); }
.about { background: var(--blue); }
.about-grid {
  width: min(1360px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.about-gallery figure {
  margin: 0;
  aspect-ratio: var(--portfolio-frame);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--photo-mat);
  cursor: zoom-in;
}
.about-main, .about-small { width: 100%; }
.about-main img, .about-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-copy h2 { margin-bottom: 32px; max-width: 620px; }
.about-copy > p:last-child, .about-body p { font-size: 14px; }
.about-body { columns: 2; column-gap: 34px; }
.about-body p:first-child { margin-top: 0; }
.philosophy {
  margin: 35px 0 28px;
  padding: 30px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.philosophy p {
  margin: 0;
  color: var(--wood);
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.35;
}

.case-study {
  min-height: auto;
  padding-top: 105px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  background: var(--blue);
  color: rgba(255,250,242,.9);
}
.case-media { position: relative; cursor: zoom-in; }
.case-media figure { margin: 0; }
.case-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.case-media-pair {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.case-media-pair figure {
  aspect-ratio: var(--portfolio-frame);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 250, 242, .12);
}
.case-detail {
  position: static;
  width: 100%;
  padding: 0;
  background: transparent;
}
.case-detail img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.case-card {
  max-width: 520px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(247,241,231,.9);
  backdrop-filter: blur(10px);
}
.case-card .eyebrow { color: var(--wood); }
.case-card h2 { color: var(--deep); }
.case-card .location {
  margin: 8px 0 34px;
  color: var(--sage);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.strategy { padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); }
.strategy span {
  display: block;
  color: var(--wood);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.strategy p { margin-bottom: 0; font-size: 14px; }
.casa,
.marthas-vineyard,
.ritz-kapalua {
  background: var(--blue);
  color: var(--ink);
}
.casa .case-media img { object-position: center 46%; }
.casa .case-card,
.marthas-vineyard .case-card,
.ritz-kapalua .case-card {
  border-color: rgba(100, 97, 85, .16);
  background: rgba(255, 250, 242, .96);
  backdrop-filter: none;
}
.marthas-vineyard .case-media-pair img { object-fit: cover; }
.ritz-feature {
  aspect-ratio: 3 / 4;
  max-height: 760px;
  overflow: hidden;
  background: rgba(255, 250, 242, .32);
}
.ritz-feature img {
  object-fit: cover;
  object-position: center;
}
.malibu {
  background: var(--blue);
  color: var(--ink);
}
.malibu-feature {
  aspect-ratio: 4 / 5;
  max-height: 760px;
  overflow: hidden;
  background: rgba(255, 250, 242, .32);
}
.malibu-feature img {
  object-fit: cover;
  object-position: center;
}
.malibu .case-card {
  border-color: rgba(100, 97, 85, .16);
  background: rgba(255, 250, 242, .96);
  backdrop-filter: none;
}
.malibu-transformation .casa-photo {
  aspect-ratio: 3 / 4;
  background: rgba(201, 223, 227, .4);
}
.malibu-transformation .casa-photo img { object-fit: cover; }
.casa-transformation {
  background: var(--paper);
}
.malibu-transformation { background: var(--paper); }
.casa-transformation-heading {
  width: min(820px, 100%);
  margin: 0 auto 64px;
  text-align: center;
}
.casa-comparison {
  width: min(1360px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
}
.casa-phase {
  display: grid;
  gap: 18px;
}
.casa-phase h3 {
  position: sticky;
  top: 76px;
  z-index: 3;
  margin: 0 0 2px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 231, .94);
  color: var(--wood);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.casa-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(100, 97, 85, .12);
  background: #e2d8ca;
  cursor: zoom-in;
}
.casa-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.project-gallery { background: var(--paper); }
.visit-gallery { background: var(--blue); }
.visit-title {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
}
.project-grid,
.visit-grid {
  width: min(1320px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.project-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--photo-mat);
  cursor: zoom-in;
}
.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.solage {
  position: relative;
  min-height: 100svh;
  padding: 110px clamp(24px, 6vw, 90px) 70px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue);
}
.solage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(86,99,90,.02) 28%, rgba(86,99,90,.3) 100%),
    linear-gradient(180deg, rgba(86,99,90,.1), transparent 38%, rgba(86,99,90,.28));
}
.solage .section-marker { z-index: 3; }
.solage .case-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.solage .case-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: left center;
  background: var(--blue);
}
.solage .case-card {
  position: relative;
  z-index: 2;
  margin-left: auto;
  background: rgba(247,241,231,.88);
  box-shadow: none;
}

.single-case {
  min-height: auto;
  padding: 105px clamp(24px, 6vw, 90px) 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 80px);
  align-items: stretch;
  overflow: visible;
}
.single-case::after { display: none; }
.single-case > .case-media {
  position: relative;
  inset: auto;
  z-index: 0;
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--photo-mat);
}
.single-case > .case-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.single-case > .case-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
}

.transformation { background: var(--mist); }
.transformation-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.transformation-heading > p:last-child { max-width: 600px; margin: 25px auto 0; }
.comparison-grid {
  width: min(1220px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.comparison-card { margin: 0; }
.comparison-image {
  position: relative;
  aspect-ratio: var(--portfolio-frame);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--photo-mat);
}
.comparison-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.comparison-image span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 14px;
  background: rgba(248,246,242,.9);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.comparison-card figcaption {
  padding: 18px 2px;
  color: var(--sage);
  font-size: 12px;
  line-height: 1.6;
}

.solage-gallery { background: var(--paper); }
.gallery-heading, .selected-heading { max-width: 860px; margin: 0 auto 65px; text-align: center; }
.paired-gallery {
  width: min(1220px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
}
.simple-comparison { align-items: start; }
.paired-photo {
  aspect-ratio: var(--portfolio-frame);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--photo-mat);
  cursor: zoom-in;
}
.paired-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.paired-image { margin: 0; }
.paired-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.before-collage {
  min-height: 690px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 470px 210px;
  gap: 10px;
}
.before-main {
  grid-column: 1 / -1;
  cursor: zoom-in;
}
.before-detail { cursor: zoom-in; }
.before-main img, .before-detail img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.after-collage {
  position: relative;
  min-height: 690px;
  padding: 0 70px 70px 0;
}
.after-main, .after-detail { cursor: zoom-in; }
.after-main img { height: 620px; aspect-ratio: auto; object-fit: contain; object-position: center; }
.after-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 43%;
  padding: 8px;
  background: var(--paper);
}
.after-detail img { height: 300px; aspect-ratio: auto; object-fit: contain; object-position: center; }
.paired-image figcaption {
  padding-top: 17px;
  color: var(--sage);
  font-size: 11px;
  letter-spacing: .08em;
}
.paired-image figcaption span {
  margin-right: 18px;
  color: var(--wood);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.consulting-property { background: var(--blue); }
.consulting-property-header {
  width: min(1120px, 100%);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(34px, 7vw, 100px);
  align-items: end;
}
.consulting-property-header > p {
  max-width: 650px;
  margin: 0;
  font-size: 15px;
}
.property-comparison {
  --property-gap: clamp(14px, 2vw, 26px);
  width: min(1320px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(42px, 5vw, 88px) repeat(3, minmax(0, 1fr));
  gap: var(--property-gap);
  align-items: start;
}
.property-comparison::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 100%;
  justify-self: center;
  background: rgba(100, 97, 85, .22);
}
.property-phase:first-child {
  grid-column: 1;
  grid-row: 1;
}
.property-phase:last-child {
  grid-column: 3 / -1;
  grid-row: 1;
}
.property-phase {
  display: grid;
  gap: 16px;
}
.property-phase h3 {
  margin: 0;
  color: var(--wood);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-align: center;
  text-transform: uppercase;
}
.property-after-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--property-gap);
}
.property-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--photo-mat);
  cursor: zoom-in;
}
.property-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.selected-work { background: var(--mist); }
.work-grid {
  width: min(1320px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.work-item { margin: 0; cursor: zoom-in; }
.work-item:nth-child(2) { margin-top: 0; }
.work-item img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--portfolio-frame);
  object-fit: contain;
  object-position: center;
  background: var(--photo-mat);
}
.work-item figcaption {
  padding-top: 15px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.resume-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.resume-strip div {
  min-height: 210px;
  padding: 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-right: 1px solid var(--line);
  text-align: center;
}
.resume-strip div:last-child { border-right: 0; }
.resume-strip strong {
  color: var(--deep);
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 350;
}
.resume-strip span {
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.contact {
  padding: clamp(100px, 12vw, 170px) clamp(24px, 8vw, 120px);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(50px, 9vw, 140px);
  background: var(--paper);
  color: var(--ink);
}
.contact h2 { color: var(--white); }
.contact-copy > p:last-of-type { max-width: 500px; }
.contact-photo {
  width: min(430px, 100%);
  margin: 34px 0 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, .2);
  cursor: zoom-in;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.inquiry-form label { display: grid; gap: 9px; }
.inquiry-form label > span {
  color: var(--sand);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.form-wide { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  padding: 13px 0;
  background: transparent;
  color: var(--white);
  outline: none;
}
.inquiry-form textarea { min-height: 120px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--sand); }
.inquiry-form button {
  grid-column: 1 / -1;
  width: max-content;
  margin-top: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.consulting-intro {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  background: #d5c7b6;
}
.consulting-hero-photo {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blue);
  cursor: zoom-in;
}
.consulting-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.consulting-hero-copy {
  padding: clamp(110px, 11vw, 170px) clamp(38px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.consulting-hero-copy h2 {
  max-width: 760px;
  margin-bottom: 34px;
}
.consulting-hero-copy > p:not(.eyebrow):not(.consulting-for) {
  max-width: 650px;
  font-size: 14px;
}
.consulting-lead {
  color: var(--deep);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 27px) !important;
  line-height: 1.5;
}
.consulting-cta {
  width: max-content;
  margin-top: 28px;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(86, 99, 90, .42);
  border-radius: 999px;
  color: var(--deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .19em;
  text-decoration: none;
  text-transform: uppercase;
}
.consulting-cta span { font-size: 16px; transition: transform .25s ease; }
.consulting-cta:hover span { transform: translateY(4px); }
.consulting-for {
  max-width: 570px;
  margin: 50px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(86, 99, 90, .24);
  color: var(--deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.7;
  text-transform: uppercase;
}

.consulting-services {
  background: var(--paper);
  color: var(--ink);
}
.services-heading,
.proof-heading,
.process-heading {
  width: min(940px, 100%);
  margin: 0 auto 65px;
  text-align: center;
}
.consulting-services h2 { color: var(--white); }
.consulting-services h2 em { color: #dfc7aa; }
.consulting-services .eyebrow { color: #dfc7aa; }
.service-grid {
  width: min(1220px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.service-card {
  min-height: 310px;
  padding: clamp(32px, 4vw, 58px);
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.service-card > span,
.proof-point > span {
  color: #dfc7aa;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
}
.service-card h3 {
  max-width: 420px;
  margin: 55px 0 18px;
  color: var(--white);
  font-size: clamp(25px, 2.6vw, 37px);
}
.service-card p {
  max-width: 470px;
  margin: 0;
  font-size: 13px;
}

.consulting-proof { background: var(--paper); }
.proof-grid {
  width: min(1220px, 100%);
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-point {
  padding: 40px clamp(24px, 3vw, 45px);
  border-right: 1px solid var(--line);
}
.proof-point:last-child { border-right: 0; }
.proof-point > span { color: var(--wood); }
.proof-point h3 {
  margin: 30px 0 14px;
  color: var(--deep);
  font-size: 25px;
}
.proof-point p {
  margin: 0;
  font-size: 13px;
}
.consulting-gallery {
  width: min(1320px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.consulting-photo {
  margin: 0;
  cursor: zoom-in;
}
.consulting-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--portfolio-frame);
  object-fit: contain;
  object-position: center;
  background: var(--photo-mat);
}
.consulting-photo figcaption {
  padding-top: 15px;
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.consulting-process { background: var(--blue); }
.process-list {
  width: min(1080px, 100%);
  margin: auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(86, 99, 90, .24);
}
.process-list li {
  padding: 38px 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid rgba(86, 99, 90, .24);
}
.process-list li > span {
  padding-top: 5px;
  color: var(--wood);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
}
.process-list h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: clamp(28px, 3.2vw, 42px);
}
.process-list p {
  max-width: 700px;
  margin: 0;
  font-size: 14px;
}

.consultation {
  padding: clamp(105px, 12vw, 175px) clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(55px, 8vw, 125px);
  align-items: start;
  background: var(--blue);
  color: var(--ink);
}
.consultation-copy {
  position: sticky;
  top: 115px;
}
.consultation-copy h2 {
  margin-bottom: 30px;
  color: var(--white);
}
.consultation-copy h2 em { color: #dfc7aa; }
.consultation-copy > p:last-of-type {
  max-width: 520px;
  font-size: 14px;
}
.consultation-note {
  margin-top: 45px;
  padding-top: 22px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: #dfc7aa;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.consultation-form {
  padding: clamp(30px, 5vw, 68px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.form-hidden { display: none; }
.consultation-form fieldset {
  margin: 0 0 45px;
  padding: 0;
  border: 0;
}
.consultation-form legend {
  width: 100%;
  margin-bottom: 25px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--wood);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.consult-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 25px;
}
.consultation-form label {
  min-width: 0;
  display: grid;
  gap: 9px;
}
.consultation-form label > span {
  color: var(--deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.45;
  text-transform: uppercase;
}
.consultation-form input:not([type="checkbox"]),
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(100, 97, 85, .22);
  border-radius: 0;
  padding: 14px 15px;
  background: rgba(255, 250, 242, .76);
  color: var(--ink);
  outline: none;
}
.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--wood);
  box-shadow: none;
}
.consultation-form textarea {
  min-height: 135px;
  resize: vertical;
}
.service-options {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.service-options label {
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(100, 97, 85, .18);
  background: rgba(255, 250, 242, .62);
  cursor: pointer;
}
.service-options input { accent-color: var(--wood); }
.service-options label > span {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: none;
}
.consult-wide { margin-top: 20px; }
.file-label input { padding: 11px !important; }
.file-label input::file-selector-button {
  margin-right: 12px;
  padding: 8px 10px;
  border: 0;
  background: #d9c7b0;
  color: var(--deep);
  cursor: pointer;
}
.upload-note,
.form-assurance {
  margin: 12px 0 0;
  color: var(--sage);
  font-size: 10px;
}
.consultation-form > button {
  padding: 17px 23px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: var(--deep);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  cursor: pointer;
}

footer { padding: 65px clamp(24px, 6vw, 90px) 36px; background: var(--paper); color: var(--ink); }
footer > p { margin: 0 0 36px; color: #e9d8bf; font-size: clamp(48px, 7vw, 95px); line-height: 1; }
footer div { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
footer a { text-decoration: none; }

.lightbox {
  width: min(1100px, 92vw);
  max-width: none;
  height: min(850px, 90vh);
  padding: 0;
  border: 0;
  background: #342f2a;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(44,38,32,.88); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox p {
  position: absolute;
  left: 20px;
  bottom: 15px;
  margin: 0;
  padding: 8px 12px;
  background: rgba(44,38,32,.78);
  font-size: 11px;
}
.lightbox button {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(248,246,242,.9);
  color: var(--deep);
  cursor: pointer;
}
.lightbox-close { top: 14px; right: 14px; padding: 10px 14px; }
.lightbox-prev, .lightbox-next { top: 50%; width: 44px; height: 44px; border-radius: 50%; }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

@media (max-width: 980px) {
  .site-header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    padding: 110px 30px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    background: rgba(248,246,242,.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: .3s ease;
  }
  .site-header nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-header nav a { font-family: var(--serif); font-size: 28px; letter-spacing: 0; text-transform: none; }
  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
  }
  .menu-toggle span { height: 1.5px; background: var(--deep); transition: .3s ease; }
  .menu-toggle[aria-expanded="true"] span { background: var(--deep) !important; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .about-grid { grid-template-columns: 1fr; }
  .about-gallery { min-height: 0; }
  .case-study { grid-template-columns: 1fr; padding-bottom: 80px; }
  .single-case > .case-media { width: min(720px, 100%); margin: auto; }
  .single-case > .case-card { aspect-ratio: auto; }
  .malibu-feature { width: min(720px, 100%); margin: auto; }
  .ritz-feature { width: min(720px, 100%); margin: auto; }
  .consulting-property-header { grid-template-columns: 1fr; gap: 24px; }
  .property-comparison { grid-template-columns: 1fr; gap: 44px; }
  .property-comparison::before { display: none; }
  .property-phase:first-child,
  .property-phase:last-child { grid-column: 1; grid-row: auto; }
  .case-media-pair img { height: 100%; min-height: 0; }
  .case-detail img { height: 100%; min-height: 0; }
  .case-card { max-width: 680px; margin: -90px 24px 0 auto; position: relative; z-index: 2; }
  .casa-comparison { gap: 20px; }
  .solage { padding: 100px 28px 50px; }
  .solage .case-card { max-width: 580px; margin: 0 0 0 auto; }
  .work-item img { height: auto; }
  .contact { grid-template-columns: 1fr; }
  .consulting-intro { grid-template-columns: 1fr; }
  .consulting-hero-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .consulting-hero-copy { padding: 100px clamp(28px, 8vw, 80px); }
  .consultation { grid-template-columns: 1fr; }
  .consultation-copy { position: static; }
}

@media (max-width: 650px) {
  h2 { font-size: clamp(36px, 11vw, 50px); }
  .site-header { top: 0; width: 100%; height: 68px; padding: 0 14px; }
  .wordmark strong { font-size: 9px; letter-spacing: .16em; }
  .hero { min-height: 92svh; }
  .hero-media img { object-position: center 58%; }
  .hero-content { padding: 0 22px 72px; }
  .hero h1 { font-size: clamp(60px, 20vw, 100px); line-height: 1.22; margin: 0 0 -4px; transform: translateY(-14px); }
  .hero-role { margin-left: clamp(58px, 18vw, 96px); font-size: 12px; letter-spacing: .36em; }
  .editorial-section { padding: 100px 22px 85px; }
  .section-marker { top: 28px; left: 22px; right: 22px; }
  .about-gallery { min-height: 0; grid-template-columns: 1fr; gap: 12px; align-items: stretch; }
  .about-main, .about-small { width: 100%; padding: 0; }
  .about-main img, .about-small img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
  .about-body { columns: 1; }
  .philosophy p { font-size: 34px; }
  .projects-intro { padding: 100px 22px; text-align: left; }
  .case-study { padding-left: 0; padding-right: 0; }
  .case-study .section-marker { left: 22px; right: 22px; }
  .case-media-pair { padding: 0; grid-template-columns: 1fr; gap: 12px; }
  .case-detail { width: 100%; }
  .case-media-pair img, .case-detail img { height: 100%; min-height: 0; }
  .case-card { margin: -55px 18px 0; padding: 30px 25px; }
  .malibu-feature { aspect-ratio: 4 / 5; }
  .ritz-feature { aspect-ratio: 3 / 4; }
  .casa-transformation-heading { margin-bottom: 40px; text-align: left; }
  .casa-comparison { grid-template-columns: 1fr; gap: 38px; }
  .casa-phase { gap: 12px; }
  .casa-phase h3 { top: 68px; }
  .solage {
    min-height: 100svh;
    padding: 95px 18px 28px;
  }
  .solage::after {
    background: linear-gradient(180deg, rgba(86,99,90,.04) 25%, rgba(86,99,90,.52) 100%);
  }
  .solage .case-media img {
    height: 100%;
    min-height: 0;
    object-position: 48% center;
  }
  .solage .case-card {
    width: 100%;
    margin: 0;
    padding: 28px 24px;
  }
  .comparison-grid, .paired-gallery { grid-template-columns: 1fr; }
  .project-grid, .visit-grid { grid-template-columns: 1fr; }
  .property-after-grid { grid-template-columns: 1fr; }
  .paired-photo img { height: 100%; }
  .before-collage {
    min-height: 570px;
    grid-template-rows: 390px 170px;
  }
  .after-collage { min-height: 570px; padding: 0 35px 50px 0; }
  .after-main img { height: 520px; }
  .after-detail { width: 47%; }
  .after-detail img { height: 220px; }
  .comparison-card figcaption { padding-bottom: 30px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-item:nth-child(2) { margin-top: 0; }
  .work-item img { height: auto; }
  .resume-strip { grid-template-columns: 1fr; }
  .resume-strip div { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--line); }
  .resume-strip div:last-child { border-bottom: 0; }
  .contact { padding: 95px 22px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .inquiry-form button { grid-column: auto; }
  .consulting-hero-photo { aspect-ratio: 3 / 4; }
  .consulting-hero-copy { padding: 95px 22px; }
  .consulting-hero-copy h2 { font-size: clamp(40px, 12vw, 58px); }
  .consulting-cta { width: 100%; justify-content: center; text-align: center; }
  .services-heading,
  .proof-heading,
  .process-heading { margin-bottom: 42px; text-align: left; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 38px 26px; }
  .service-card h3 { margin-top: 35px; }
  .proof-grid { grid-template-columns: 1fr; margin-bottom: 48px; }
  .proof-point { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-point:last-child { border-bottom: 0; }
  .consulting-gallery { grid-template-columns: 1fr; gap: 32px; }
  .process-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .consultation { padding: 95px 22px; }
  .consultation-form { padding: 34px 20px; }
  .consult-form-grid,
  .service-options { grid-template-columns: 1fr; }
  footer div { flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Final portfolio system: warm tan and baby blue alternate throughout. */
*, *::before, *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

.about,
#malibu-before-after,
#casa-before-after,
#ritz-kapalua,
#frequent-store-visits,
#consulting-properties,
#consulting-nantucket,
.resume-strip,
.consulting-intro,
.consulting-proof,
.consultation {
  background: var(--blue);
  color: var(--ink);
}

#shop-remodels,
#casa-del-mar,
#marthas-vineyard,
#ritz-kapalua-gallery,
#nantucket,
#napa-before-after,
#consulting-harvard,
.contact,
.consulting-services,
.consulting-process,
footer {
  background: var(--paper);
  color: var(--ink);
}

.section-marker.light,
.contact,
.consulting-services,
.consultation,
footer {
  color: var(--ink);
}

.contact h2,
.consulting-services h2,
.consulting-services h3,
.consultation h2 {
  color: var(--deep);
}

.consulting-services h2 em,
.consulting-services .eyebrow,
.consulting-services .service-card > span,
.consultation-copy h2 em,
.consultation-note,
footer > p {
  color: var(--wood);
}

.service-grid,
.service-card,
.consultation-note {
  border-color: var(--line);
}

.contact-photo { border-color: var(--line); }
.inquiry-form label > span { color: var(--wood); }
.inquiry-form input,
.inquiry-form textarea {
  border-color: var(--line);
  color: var(--ink);
}
.inquiry-form input:focus,
.inquiry-form textarea:focus { border-color: var(--wood); }
.inquiry-form button {
  border-color: rgba(93,85,75,.45);
  color: var(--deep);
}

.consulting-hero-photo { background: var(--blue); }
.solage::after { display: none; }
.solage .section-marker { color: var(--sage); }

.strategy p,
.consulting-property-header > p,
.service-card p,
.proof-point p,
.process-list p,
.consulting-hero-copy > p:not(.eyebrow):not(.consulting-for),
.consultation-copy > p:last-of-type,
.contact-copy > p:last-of-type {
  font-size: 14px;
}

.gallery-location {
  margin: 12px 0 0;
  color: var(--wood);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

#napa-before-after .gallery-heading {
  width: min(1500px, 100%);
  max-width: none;
}
#napa-before-after .gallery-heading h2 {
  font-size: clamp(46px, 5.5vw, 82px);
  line-height: 1.12;
}
.napa-heading-second { white-space: nowrap; }

.consulting-hero-photo img { object-fit: cover; }

#ritz-kapalua-gallery .project-photo:nth-child(3) img {
  object-position: center top;
}

.property-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid rgba(107,98,87,.2);
  background: rgba(220,200,173,.32);
  color: var(--wood);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.consulting-harvard .consulting-property-header {
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
.property-summary {
  width: min(980px, 100%);
  margin: 46px auto 0;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 981px) {
  .about-grid {
    width: min(1460px, 100%);
    grid-template-columns: 1fr;
    gap: clamp(56px, 6vw, 88px);
  }
  .about-copy {
    grid-row: 1;
    width: min(1240px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    column-gap: clamp(56px, 7vw, 108px);
    align-items: start;
    text-align: left;
  }
  .about-copy > .eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }
  .about-copy h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(48px, 5vw, 74px);
    text-align: center;
  }
  .about-body {
    grid-column: 1;
    grid-row: 3;
    columns: 1;
    text-align: left;
  }
  .about-copy > p:last-child {
    grid-column: 1;
    grid-row: 4;
    margin: 16px 0 0;
  }
  .about-copy .philosophy {
    grid-column: 2;
    grid-row: 3 / span 2;
    margin: 0;
    padding: 12px 0 18px clamp(34px, 4vw, 62px);
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .about-copy .philosophy p {
    font-size: clamp(38px, 4.1vw, 64px);
    line-height: 1.24;
    text-align: left;
  }
  .about-gallery {
    grid-row: 2;
    width: 100%;
  }
  .about-gallery figure { aspect-ratio: 4 / 5; }
  .about-main img {
    transform: scale(1.24);
    object-position: center 74%;
  }
  .about-small img {
    transform: scale(1.05);
    object-position: center;
  }

  #casa-del-mar,
  #marthas-vineyard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  #casa-del-mar .case-card,
  #marthas-vineyard .case-card {
    width: 100%;
    max-width: none;
    height: 100%;
  }
  #casa-del-mar .case-media-pair,
  #marthas-vineyard .case-media-pair { height: 100%; }
  #casa-del-mar .case-media-pair img {
    object-fit: cover;
    object-position: center;
  }
  #casa-del-mar .case-primary img {
    transform: scale(1.14);
    object-position: center 68%;
  }
  #casa-del-mar h2 {
    white-space: nowrap;
    font-size: clamp(38px, 4vw, 62px);
  }
  #marthas-vineyard h2 { font-size: clamp(36px, 3.5vw, 56px); }

  .casa-comparison {
    position: relative;
    gap: clamp(60px, 7vw, 110px);
  }
  .casa-comparison::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line);
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .about-copy { grid-row: 1; }
  .about-gallery { grid-row: 2; }
  .about-main img,
  .about-small img { transform: none; }
  #casa-del-mar h2 { white-space: normal; }
  .gallery-location { text-align: left; }
  .napa-heading-second { white-space: normal; }
}

.services-heading h2 > span { display: block; }

/* Anguilla rack photographs: equal frames with the merchandising rails aligned. */
#frequent-store-visits .visit-grid .project-photo:nth-child(1) img {
  transform: scale(1.44);
  transform-origin: 50% 75%;
}
#frequent-store-visits .visit-grid .project-photo:nth-child(2) img {
  transform: scale(1.025);
  transform-origin: 50% 100%;
}
#frequent-store-visits .visit-grid .project-photo:nth-child(3) img {
  transform: scale(1.16);
  transform-origin: 50% 100%;
}

/* Keep the career inquiry compact, balanced, and visually connected. */
.contact {
  padding: clamp(82px, 7vw, 112px) clamp(24px, 6vw, 92px);
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}
.contact-copy {
  width: min(660px, 100%);
}
.contact-copy .eyebrow {
  margin-bottom: 16px;
}
.contact h2 {
  max-width: 620px;
  font-size: clamp(44px, 4vw, 62px);
  line-height: 1;
}
.contact-copy > p:last-of-type {
  max-width: 560px;
  margin: 22px 0 0;
  line-height: 1.65;
}
.contact-photo {
  width: min(380px, 100%);
  margin-top: 30px;
}
.inquiry-form {
  width: min(760px, 100%);
  justify-self: start;
  align-self: start;
  align-content: start;
  gap: 28px 24px;
  padding-top: 2px;
}
.inquiry-form label {
  align-content: start;
  gap: 8px;
}
.inquiry-form input {
  min-height: 48px;
  padding: 10px 0;
}
.inquiry-form textarea {
  min-height: 132px;
  padding: 12px 0;
}
.inquiry-form button {
  margin-top: 0;
}

@media (max-width: 980px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .inquiry-form {
    width: min(680px, 100%);
    padding-top: 0;
  }
}

@media (max-width: 650px) {
  .contact {
    padding: 82px 22px 76px;
    gap: 42px;
  }
  .contact h2 {
    font-size: clamp(40px, 12vw, 54px);
  }
  .contact-copy > p:last-of-type {
    margin-top: 18px;
  }
  .contact-photo {
    width: min(340px, 100%);
    margin-top: 26px;
  }
  .inquiry-form {
    gap: 24px;
  }
  .inquiry-form textarea {
    min-height: 120px;
  }
}

/* Final gallery system: borderless, consistent frames, and clean mobile stacking. */
.case-media-pair,
.project-grid,
.visit-grid,
.consulting-gallery,
.property-after-grid {
  align-items: stretch;
}
.case-media-pair figure,
.casa-photo,
.project-photo,
.consulting-photo,
.property-photo,
.work-item,
.contact-photo,
.consulting-hero-photo {
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
}
.case-media-pair figure,
.project-photo,
.property-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: transparent;
}
.case-media-pair figure img,
.project-photo img,
.property-photo img,
.consulting-photo img,
.work-item img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border: 0 !important;
  background: transparent;
}
.case-media-pair figure img,
.project-photo img,
.property-photo img {
  height: 100%;
}
.consulting-photo img,
.work-item img {
  height: auto;
  aspect-ratio: 3 / 4;
}
.resume-strip div:last-child strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.consulting-hero-photo {
  position: relative;
  border: 0 !important;
}
.consulting-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 3px;
  background: #89731d;
  pointer-events: none;
}

@media (max-width: 980px) {
  .consulting-intro {
    min-height: 0;
  }
  .consulting-hero-photo {
    min-height: 0;
    aspect-ratio: auto;
    display: block;
    background: transparent;
  }
  .consulting-hero-photo img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    border: 0 !important;
    background: transparent;
  }
}

@media (max-width: 650px) {
  .case-study {
    padding-right: 22px;
    padding-left: 22px;
  }
  .case-media-pair,
  .project-grid,
  .visit-grid,
  .consulting-gallery,
  .property-after-grid {
    gap: 18px;
  }
  .case-media-pair figure,
  .project-photo,
  .property-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
  }
  .consulting-photo img,
  .work-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
  }
  .resume-strip div:last-child strong {
    font-size: 36px;
  }
}
