:root {
  --ink: #3f4b50;
  --muted: #6d767a;
  --line: #9aa4a8;
  --dark: #3d4b51;
  --light: #f7f8f9;
  --white: #fff;
  --home-frame: min(1160px, calc(100vw - 120px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
a { color: inherit; }

.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 76px 0 82px;
  background: #fff;
  border-bottom: 1px solid #eff1f2;
  position: relative;
  z-index: 5;
}
.home-page .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  background: transparent;
  border-bottom: 0;
  z-index: 12;
}
.brand img {
  display: block;
  width: 130px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
  margin-right: 45px;
  font-size: 13px;
  letter-spacing: .02em;
}
.main-nav a {
  color: #536065;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a.active,
.main-nav a:hover { color: #2f3c41; }
.call-button,
.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--dark);
  color: var(--dark);
  min-width: 118px;
  height: 38px;
  font-size: 13px;
  letter-spacing: .02em;
  background: transparent;
}
.dark-button {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-hero {
  height: 610px;
  background: url("public/assets/hero-aerial.jpg") center 8% / cover no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.56);
  z-index: 1;
}
.hero-logo {
  position: relative;
  width: min(430px, 34vw);
  z-index: 2;
}

.service-intro {
  width: var(--home-frame);
  max-width: none;
  margin: 0 auto;
  height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.service-photo {
  height: 100%;
  overflow: hidden;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-card {
  border-left: 1px solid var(--line);
  padding: 118px 68px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card h1,
.about-text h2 {
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.08;
}
.service-card ul {
  margin: 0 0 28px 15px;
  padding: 0;
  color: #516065;
  font-size: 11px;
}
.service-card li { margin: 2px 0; }
.service-card .dark-button {
  width: 118px;
  min-width: 118px;
  height: 38px;
  font-size: 10px;
}

.qualities {
  width: var(--home-frame);
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
}
.qualities article {
  min-height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: #7b8589;
  font-size: 9px;
  text-align: center;
}
.qualities article:last-child { border-right: 0; }
.icon {
  width: 34px;
  height: 34px;
  display: block;
  background: currentColor;
  opacity: .7;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.icon-home { mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M7 23 24 8l17 15v19H13V24"/></svg>'); -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M7 23 24 8l17 15v19H13V24"/></svg>'); }
.icon-puzzle { mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M8 8h15v10c0 3 4 3 4 0V8h13v13h-9c-4 0-4 6 0 6h9v13H27v-9c0-4-6-4-6 0v9H8V27h9c4 0 4-6 0-6H8z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M8 8h15v10c0 3 4 3 4 0V8h13v13h-9c-4 0-4 6 0 6h9v13H27v-9c0-4-6-4-6 0v9H8V27h9c4 0 4-6 0-6H8z"/></svg>'); }
.icon-grid { mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M8 8h32v32H8zM24 8v32M8 24h32"/></svg>'); -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M8 8h32v32H8zM24 8v32M8 24h32"/></svg>'); }
.icon-column { mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M12 12h24M15 17h18M17 17v19M31 17v19M12 36h24M9 40h30"/></svg>'); -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="black" stroke-width="2" d="M12 12h24M15 17h18M17 17v19M31 17v19M12 36h24M9 40h30"/></svg>'); }

.about-preview {
  width: var(--home-frame);
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 250px 250px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-text {
  grid-row: 1 / span 2;
  padding: 78px 60px 40px;
  border-right: 1px solid var(--line);
}
.about-text h3 {
  margin: 0 0 15px;
  max-width: 245px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
}
.about-text p {
  max-width: 330px;
  font-size: 9px;
  color: #657175;
}
.about-photo {
  position: relative;
  overflow: hidden;
  background-color: #e9eeee;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1);
  transition: transform .08s linear;
  will-change: transform;
  filter: saturate(.72) contrast(.92);
  opacity: .18;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61,75,81,.87);
}
.about-photo-top::after {
  background: rgba(247,248,249,.93);
}
.about-photo-bottom::after {
  background: rgba(61,75,81,.94);
}
.about-photo-top {
  background-image: url("public/assets/side-window.jpg");
  background-position: center 42%;
  border-bottom: 1px solid var(--line);
}
.about-photo-bottom {
  background-image: url("public/assets/kitchen-white.jpg");
  background-position: center 46%;
}

@media (min-width: 1500px) {
  .service-intro {
    height: 560px;
  }
  .service-card {
    padding: 132px 68px 48px;
  }
  .qualities article {
    min-height: 136px;
  }
  .about-preview {
    grid-template-rows: 280px 280px;
  }
  .about-text {
    padding: 88px 60px 40px;
  }
}

.latest-project {
  width: var(--home-frame);
  max-width: none;
  margin: 88px auto 300px;
  text-align: center;
}
.latest-project h2 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 72px;
}
.project-gallery {
  display: grid;
  grid-template-columns: 2.05fr 1fr;
  gap: 28px;
  align-items: start;
}
.project-gallery button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #9aa2a5;
}
.project-side {
  display: grid;
  gap: 28px;
}
.project-main img {
  height: 335px;
}
.project-side img {
  height: 153px;
}
.project-wide {
  grid-column: 1 / 2;
}
.project-wide img,
.project-tall img {
  height: 335px;
}

.projects-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 220px;
  background: #fff;
}
.projects-mosaic {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-auto-flow: dense;
  gap: 7px;
  align-items: stretch;
}
.project-tile {
  display: block;
  border: 0;
  padding: 0;
  background: #d9ddde;
  overflow: hidden;
  cursor: zoom-in;
  min-height: 230px;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.project-tile:hover img {
  transform: scale(1.035);
}
.project-tile:nth-child(1) { grid-column: span 5; height: 360px; }
.project-tile:nth-child(2) { grid-column: span 3; height: 360px; }
.project-tile:nth-child(3) { grid-column: span 5; height: 360px; }
.project-tile:nth-child(4) { grid-column: span 3; height: 360px; }
.project-tile:nth-child(5) { grid-column: span 3; height: 340px; }
.project-tile:nth-child(6) { grid-column: span 5; height: 340px; }
.project-tile:nth-child(7) { grid-column: span 5; height: 340px; }
.project-tile:nth-child(8) { grid-column: span 3; height: 340px; }
.project-tile:nth-child(9),
.project-tile:nth-child(10),
.project-tile:nth-child(11),
.project-tile:nth-child(12) { grid-column: span 4; height: 330px; }
.project-tile:nth-child(13) { grid-column: span 5; height: 360px; }
.project-tile:nth-child(14) { grid-column: span 3; height: 360px; }
.project-tile:nth-child(15) { grid-column: span 5; height: 360px; }
.project-tile:nth-child(16) { grid-column: span 3; height: 360px; }
.project-tile:nth-child(17),
.project-tile:nth-child(18),
.project-tile:nth-child(19),
.project-tile:nth-child(20) { grid-column: span 4; height: 340px; }
.project-tile:nth-child(21) { grid-column: span 3; height: 340px; }
.project-tile:nth-child(22) { grid-column: span 5; height: 340px; }
.project-tile:nth-child(23) { grid-column: span 5; height: 340px; }
.project-tile:nth-child(24) { grid-column: span 3; height: 340px; }
.project-tile:nth-child(25),
.project-tile:nth-child(26),
.project-tile:nth-child(27),
.project-tile:nth-child(28) { grid-column: span 4; height: 350px; }

.about-page-hero {
  min-height: 590px;
  position: relative;
  overflow: visible;
  background: #fff;
}
.about-owner-hero {
  background-image: none;
}
.about-owner-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 330px;
  background: url("public/assets/villa-wide-crop.jpg") center 50% / cover no-repeat;
}
.about-page-hero > img {
  display: none;
}
.owner-card {
  width: min(760px, calc(100% - 32px));
  min-height: 300px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 225px;
  transform: translateX(-50%);
  padding: 38px 84px;
}
.owner-card h1 {
  margin: 0 0 2px;
  font-size: 28px;
  font-weight: 400;
}
.owner-card h2 {
  margin: 0 0 26px;
  font-size: 20px;
}
.owner-card p,
.story p,
.service-story p,
.why p,
.why li {
  color: #647073;
}
.story {
  max-width: 760px;
  margin: 0 auto 150px;
  border-top: 1px solid var(--line);
  padding: 74px 28px 0;
}
.story h2 {
  margin: 0 0 38px;
  font-size: 38px;
  font-weight: 400;
}

.services-page {
  padding-top: 0;
}
.services-grid {
  max-width: 940px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.services-grid > * {
  min-height: 250px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-grid > *:nth-child(4n) { border-right: 0; }
.services-grid article {
  padding: 75px 38px 30px;
}
.services-grid .grid-title {
  display: flex;
  align-items: center;
  padding: 0 38px;
  background: var(--dark);
  color: #fff;
}
.grid-title h1,
.services-grid h2 {
  font-size: 30px;
  line-height: 1.12;
  margin: 0;
  font-weight: 400;
}
.services-grid h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 400;
}
.services-grid p,
.services-grid li {
  font-size: 13px;
  line-height: 1.55;
}
.services-grid ul {
  margin: 0;
  padding-left: 18px;
}
.services-grid figure {
  margin: 0;
  overflow: hidden;
}
.services-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expertise-title {
  display: flex;
  align-items: center;
}
.service-story {
  max-width: 820px;
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: center;
}
.service-story h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 28px;
}
.service-story p {
  font-size: 13px;
}
.service-story img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.why {
  max-width: 820px;
  margin: 20px auto 180px;
}
.why h2 {
  font-size: 50px;
  line-height: 1.14;
  font-weight: 400;
  margin: 0 0 44px 110px;
}
.why ol {
  list-style: none;
  counter-reset: item;
  margin: 0 0 54px;
  padding: 0;
}
.why li {
  counter-increment: item;
  position: relative;
  margin: 0 0 18px 76px;
  font-size: 13px;
}
.why li::before {
  content: counter(item);
  position: absolute;
  left: -34px;
  top: -12px;
  font-size: 30px;
  color: var(--ink);
  font-weight: 600;
}
.why p {
  font-size: 13px;
  text-align: center;
}

.site-footer {
  max-width: 860px;
  min-height: 360px;
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 230px 315px 120px;
  justify-content: space-between;
  gap: 48px;
  color: #667175;
  font-size: 12px;
}
.footer-logo {
  width: 130px;
  display: block;
  margin-bottom: 42px;
}
.footer-contact p {
  position: relative;
  margin: 0 0 31px 58px;
}
.footer-contact a { color: inherit; }
.copyright {
  margin-left: 0 !important;
  font-size: 11px;
  line-height: 1.35;
}
.footer-icon {
  position: absolute;
  left: -58px;
  top: -6px;
  width: 34px;
  height: 34px;
  border: 2px solid #879195;
}
.footer-icon.house { clip-path: polygon(50% 0,100% 38%,100% 100%,0 100%,0 38%); }
.footer-icon.mail { height: 22px; top: 0; }
.footer-icon.mail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 47%, #879195 48%, #879195 52%, transparent 53%),
              linear-gradient(45deg, transparent 47%, #879195 48%, #879195 52%, transparent 53%);
}
.footer-icon.phone { width: 22px; border-radius: 3px; }
.footer-form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
}
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #59666a;
  height: 32px;
  padding: 4px 0;
  color: #3f4b50;
  font: inherit;
  outline: none;
  background: transparent;
}
textarea {
  height: 54px;
  resize: vertical;
}
.footer-form button {
  height: 45px;
  border: 1px solid #59666a;
  color: #6b7478;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.footer-nav {
  display: grid;
  gap: 12px;
  align-self: start;
}
.footer-nav a {
  color: #667175;
  text-decoration: none;
}
.footer-call {
  margin-top: 38px;
  width: 123px;
  color: #fff !important;
}

.social-bar {
  position: fixed;
  left: 30px;
  bottom: 32px;
  display: grid;
  gap: 18px;
  z-index: 20;
}
.social-bar a {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #050505;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.78);
  z-index: 50;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
}
.lightbox button {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.reveal,
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal.in-view {
  animation: reveal-up .55s ease both;
}
@keyframes reveal-up {
  from {
    opacity: 1;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  body { font-size: 9px; }
  .site-header {
    height: 42px;
    padding: 0 10px 0 43px;
  }
  .brand img { width: 70px; }
  .main-nav {
    gap: 14px;
    margin-right: 8px;
    font-size: 5px;
  }
  .call-button {
    min-width: 45px;
    height: 18px;
    font-size: 5px;
  }
  .home-hero { height: 330px; }
  .hero-video {
    object-position: center;
  }
  .hero-logo { width: 290px; }
  .service-intro {
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 270px;
    margin-top: 0;
  }
  .service-photo { min-height: 270px; }
  .service-card { padding: 66px 16px; }
  .service-card h1,
  .about-text h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .service-card ul { font-size: 8px; margin-bottom: 18px; }
  .service-card .dark-button {
    width: 86px;
    height: 28px;
    font-size: 7px;
  }
  .qualities article {
    min-height: 115px;
    font-size: 8px;
  }
  .icon { width: 30px; height: 30px; }
  .about-preview {
    grid-template-rows: 210px 210px;
  }
  .about-text { padding: 42px 8px; }
  .about-text h3 { font-size: 14px; }
  .about-text p { font-size: 7px; line-height: 1.55; }
  .latest-project {
    margin: 36px auto 410px;
    padding: 0 28px;
  }
  .latest-project h2 {
    font-size: 17px;
    margin-bottom: 48px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .project-main img,
  .project-wide img,
  .project-side img,
  .project-side button:last-child img {
    height: auto;
  }
  .project-side {
    width: 100%;
    margin-left: 0;
  }
  .projects-page {
    padding: 0 0 180px;
  }
  .projects-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .project-tile,
  .project-tile:nth-child(n) {
    grid-column: auto;
    height: 210px;
    min-height: 0;
  }
  .project-tile:nth-child(3n+1) {
    grid-column: 1 / -1;
    height: 260px;
  }
  .about-page-hero {
    min-height: 515px;
    background-size: cover;
    background-position: 24% top;
  }
  .about-page-hero > img { display: none; }
  .owner-card {
    top: 112px;
    min-height: 300px;
    padding: 26px 32px;
  }
  .owner-card h1 { font-size: 20px; }
  .owner-card h2 { font-size: 14px; margin-bottom: 14px; }
  .owner-card p,
  .story p,
  .service-story p,
  .why p,
  .why li {
    font-size: 9px;
  }
  .story {
    margin-bottom: 90px;
    padding-top: 40px;
  }
  .story h2 { font-size: 28px; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid > *:nth-child(4n) { border-right: 1px solid var(--line); }
  .services-grid > *:nth-child(2n) { border-right: 0; }
  .services-grid article {
    min-height: 190px;
    padding: 44px 24px 24px;
  }
  .grid-title h1,
  .services-grid h2 { font-size: 22px; }
  .service-story,
  .service-story.flip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 28px;
    margin-bottom: 72px;
  }
  .service-story.flip img { order: 2; }
  .why { padding: 0 28px; margin-bottom: 100px; }
  .why h2 { font-size: 30px; margin-left: 0; }
  .why li { margin-left: 42px; }
  .site-footer {
    grid-template-columns: 31% 40% 18%;
    gap: 10px;
    padding: 0 36px;
    margin-bottom: 82px;
    font-size: 6px;
    min-height: 260px;
  }
  .footer-logo { width: 94px; margin-bottom: 28px; }
  .footer-contact p { margin-left: 24px; margin-bottom: 18px; }
  .footer-icon { left: -24px; width: 18px; height: 18px; border-width: 1px; }
  .footer-icon.mail { height: 12px; }
  .footer-icon.phone { width: 12px; }
  .copyright { font-size: 5px; }
  .footer-form { gap: 8px; }
  .form-row { gap: 10px; }
  input, textarea { height: 22px; }
  textarea { height: 34px; }
  .footer-form button { height: 26px; }
  .footer-nav { gap: 6px; }
  .footer-call { width: 62px; height: 22px; margin-top: 20px; }
  .social-bar { left: 12px; bottom: 118px; gap: 12px; }
}

/* Original-style corrections: broader grid, bordered quality blocks and exact footer/social icons. */
.footer-icon {
  border: 0;
  background: #879195;
  opacity: .95;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.footer-icon.house {
  clip-path: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M8 30 32 8l24 22v26H39V38H25v18H8zM14 33v17h5V32h26v18h5V33L32 17z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M8 30 32 8l24 22v26H39V38H25v18H8zM14 33v17h5V32h26v18h5V33L32 17z'/%3E%3C/svg%3E");
}
.footer-icon.mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M4 6h56v36H4zm7 6 21 16 21-16zm43 24V17L32 34 10 17v19z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M4 6h56v36H4zm7 6 21 16 21-16zm43 24V17L32 34 10 17v19z'/%3E%3C/svg%3E");
}
.footer-icon.mail::after { display: none; }
.footer-icon.phone {
  border-radius: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 64'%3E%3Cpath fill='black' d='M7 2h24c3 0 5 2 5 5v50c0 3-2 5-5 5H7c-3 0-5-2-5-5V7c0-3 2-5 5-5zm2 6v44h20V8zm10 51a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 64'%3E%3Cpath fill='black' d='M7 2h24c3 0 5 2 5 5v50c0 3-2 5-5 5H7c-3 0-5-2-5-5V7c0-3 2-5 5-5zm2 6v44h20V8zm10 51a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}
.social-bar a {
  font-size: 0;
}
.social-icon {
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.social-icon.instagram {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M20 6h24c8 0 14 6 14 14v24c0 8-6 14-14 14H20C12 58 6 52 6 44V20C6 12 12 6 20 6zm0 6c-5 0-8 3-8 8v24c0 5 3 8 8 8h24c5 0 8-3 8-8V20c0-5-3-8-8-8zm12 11a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm0 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm15-9a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M20 6h24c8 0 14 6 14 14v24c0 8-6 14-14 14H20C12 58 6 52 6 44V20C6 12 12 6 20 6zm0 6c-5 0-8 3-8 8v24c0 5 3 8 8 8h24c5 0 8-3 8-8V20c0-5-3-8-8-8zm12 11a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm0 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm15-9a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3C/svg%3E");
}
.social-icon.facebook {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M38 22h10v-9H38c-8 0-13 5-13 14v6h-8v9h8v20h10V42h10l2-9H35v-6c0-3 1-5 3-5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M38 22h10v-9H38c-8 0-13 5-13 14v6h-8v9h8v20h10V42h10l2-9H35v-6c0-3 1-5 3-5z'/%3E%3C/svg%3E");
}

@media (min-width: 761px) {
  :root { --home-frame: min(1744px, calc(100vw - 112px)); }
  .service-intro {
    width: var(--home-frame);
    height: clamp(520px, 34vw, 680px);
    overflow: hidden;
    border-color: var(--line);
  }
  .service-photo img {
    height: 112%;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.02);
    transition: transform .08s linear;
    will-change: transform;
  }
  .service-card {
    padding: clamp(112px, 9vw, 190px) clamp(72px, 7vw, 150px) 64px;
  }
  .service-card h1,
  .about-text h2 {
    font-size: clamp(38px, 3.1vw, 58px);
  }
  .service-card ul {
    margin: 0 0 42px 18px;
    font-size: clamp(14px, 1vw, 20px);
    line-height: 1.75;
  }
  .service-card .dark-button {
    width: 150px;
    min-width: 150px;
    height: 48px;
    font-size: 12px;
  }
  .qualities {
    width: var(--home-frame);
    border: 1px solid var(--line);
    border-top: 0;
  }
  .qualities article {
    min-height: 220px;
    gap: 28px;
    border-right: 1px solid var(--line);
    font-size: 18px;
    line-height: 1.35;
  }
  .qualities article:last-child { border-right: 0; }
  .icon {
    width: 64px;
    height: 64px;
  }
  .about-preview {
    width: var(--home-frame);
    grid-template-rows: 360px 360px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .about-text {
    padding: clamp(80px, 7vw, 128px) clamp(72px, 7vw, 150px) 50px;
    border-right: 1px solid var(--line);
  }
  .about-text h3 {
    max-width: 380px;
    font-size: clamp(26px, 2.1vw, 38px);
  }
  .about-text p {
    max-width: 480px;
    font-size: clamp(13px, .9vw, 16px);
    line-height: 1.75;
  }
  .about-photo::before {
    inset: -16%;
    opacity: .2;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.16);
  }
  .site-footer {
    width: var(--home-frame);
    max-width: none;
    min-height: 420px;
    margin: 150px auto 120px;
    grid-template-columns: 280px minmax(360px, 480px) 180px;
    gap: 80px;
    padding: 0;
    font-size: 14px;
  }
  .footer-logo {
    width: 150px;
    margin-bottom: 50px;
  }
  .footer-contact p {
    margin: 0 0 34px 64px;
  }
  .footer-icon {
    left: -64px;
    top: -8px;
    width: 38px;
    height: 38px;
  }
  .footer-icon.mail {
    height: 30px;
    top: -4px;
  }
  .footer-icon.phone {
    width: 28px;
  }
}

@media (max-width: 760px) {
  :root { --home-frame: calc(100vw - 28px); }
  .service-intro {
    width: var(--home-frame);
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
  }
  .service-photo {
    min-height: 320px;
    border-bottom: 1px solid var(--line);
  }
  .service-photo img {
    height: 100%;
    transform: none;
  }
  .service-card {
    min-height: 300px;
    border-left: 0;
    padding: 44px 34px 52px;
  }
  .service-card h1,
  .about-text h2 {
    margin-bottom: 16px;
    font-size: 28px;
  }
  .service-card ul {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.7;
  }
  .service-card .dark-button {
    width: 110px;
    min-width: 110px;
    height: 34px;
    font-size: 9px;
  }
  .qualities {
    width: var(--home-frame);
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--line);
    border-top: 0;
  }
  .qualities article {
    min-height: 150px;
    gap: 18px;
    border-right: 1px solid var(--line);
    font-size: 12px;
  }
  .qualities article:nth-child(2) { border-right: 0; }
  .qualities article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .qualities article:last-child { border-right: 0; }
  .icon {
    width: 42px;
    height: 42px;
  }
  .about-preview {
    width: var(--home-frame);
    grid-template-columns: 1fr;
    grid-template-rows: auto 240px 240px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .about-text {
    grid-row: auto;
    padding: 52px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-text h3 { font-size: 19px; }
  .about-text p { font-size: 12px; }
  .site-footer {
    width: var(--home-frame);
    max-width: none;
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    margin: 80px auto;
    padding: 0;
    font-size: 12px;
  }
  .footer-logo {
    width: 120px;
    margin-bottom: 30px;
  }
  .footer-contact p {
    margin-left: 44px;
    margin-bottom: 22px;
  }
  .footer-icon {
    left: -44px;
    top: -5px;
    width: 26px;
    height: 26px;
  }
  .footer-icon.mail { height: 22px; }
  .footer-icon.phone { width: 20px; }
  .copyright { font-size: 10px; }
  .social-bar {
    left: 14px;
    bottom: 104px;
    gap: 12px;
  }
}

/* Final proportional correction against the supplied Wix reference. */
@media (min-width: 761px) {
  :root {
    --home-frame: min(1744px, calc(100vw - 96px));
  }

  .service-intro,
  .qualities,
  .about-preview,
  .site-footer {
    width: var(--home-frame);
    max-width: none;
  }

  .service-intro {
    grid-template-columns: 1fr 1fr;
    height: clamp(620px, 38vw, 735px);
    margin-top: 0;
    border: 1px solid var(--line);
    border-bottom: 0;
    overflow: hidden;
  }

  .service-photo {
    min-height: 100%;
    overflow: hidden;
  }

  .service-photo img {
    width: 100%;
    height: 132%;
    object-fit: cover;
    object-position: 50% 50%;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.05);
    transition: transform .08s linear;
    will-change: transform;
  }

  .service-card {
    min-height: 100%;
    padding: clamp(96px, 9vw, 190px) clamp(80px, 9vw, 180px);
    border-left: 1px solid var(--line);
  }

  .service-card h1 {
    font-size: clamp(36px, 3.2vw, 58px);
    letter-spacing: .06em;
  }

  .service-card ul {
    margin-top: 28px;
    margin-bottom: 50px;
    font-size: clamp(14px, .95vw, 17px);
    line-height: 1.85;
  }

  .service-card .dark-button {
    width: 150px;
    height: 58px;
  }

  .qualities {
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-top: 0;
  }

  .qualities article {
    min-height: clamp(210px, 12vw, 260px);
    border-right: 1px solid var(--line);
    gap: 28px;
    font-size: clamp(17px, 1vw, 22px);
    line-height: 1.35;
  }

  .qualities article:last-child {
    border-right: 0;
  }

  .icon {
    width: clamp(58px, 4vw, 76px);
    height: clamp(58px, 4vw, 76px);
    stroke-width: 1.35;
  }

  .about-preview {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: clamp(390px, 23vw, 480px) clamp(390px, 23vw, 480px);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .about-text {
    padding: clamp(96px, 8vw, 170px) clamp(90px, 9vw, 190px) 60px;
    border-right: 1px solid var(--line);
  }

  .about-text h2 {
    font-size: clamp(44px, 4vw, 76px);
    letter-spacing: .08em;
  }

  .about-text h3 {
    max-width: 440px;
    font-size: clamp(25px, 2.05vw, 38px);
    line-height: 1.18;
  }

  .about-text p {
    max-width: 520px;
    font-size: clamp(13px, .92vw, 16px);
    line-height: 1.78;
  }

  .about-photo {
    min-height: 100%;
    overflow: hidden;
  }

  .about-photo::before {
    inset: -18%;
    opacity: .32;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.18);
    transition: transform .08s linear;
    will-change: transform;
  }

  .site-footer {
    display: grid;
    grid-template-columns: minmax(270px, 360px) minmax(420px, 540px) minmax(170px, 230px);
    justify-content: space-between;
    align-items: start;
    gap: clamp(90px, 8vw, 180px);
    min-height: 520px;
    margin: clamp(180px, 12vw, 260px) auto 130px;
    padding: 0;
    font-size: clamp(14px, .9vw, 17px);
  }

  .footer-logo {
    width: 160px;
    margin-bottom: 56px;
  }

  .footer-contact p {
    margin: 0 0 38px 72px;
    line-height: 1.55;
  }

  .footer-icon {
    left: -72px;
    top: -7px;
    width: 42px;
    height: 42px;
    border-width: 2px;
  }

  .footer-icon.mail {
    height: 31px;
    top: -2px;
  }

  .footer-icon.phone {
    width: 30px;
  }

  .footer-form {
    width: 100%;
  }

  .footer-form .split {
    gap: 26px;
  }

  .footer-nav {
    justify-self: end;
    min-width: 150px;
  }

  .footer-nav .dark-button {
    margin-top: 56px;
    width: 120px;
    height: 50px;
  }

  .social-bar {
    left: 30px;
    bottom: 54px;
    gap: 16px;
  }

  .social-bar a,
  .social-icon {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  :root {
    --home-frame: min(980px, calc(100vw - 48px));
  }

  .service-intro {
    height: 560px;
  }

  .service-card {
    padding: 82px 68px;
  }

  .qualities article {
    min-height: 170px;
    font-size: 13px;
  }

  .about-preview {
    grid-template-rows: 300px 300px;
  }

  .about-text {
    padding: 72px 64px 46px;
  }

  .site-footer {
    grid-template-columns: 260px minmax(360px, 1fr) 150px;
    gap: 52px;
    min-height: 430px;
  }
}

/* Home page — keep the desktop composition aligned with the live site. */
@media (min-width: 761px) {
  /* The Wix reference leaves a clear breathing space after the film hero. */
  .service-intro {
    margin-top: 76px;
    border-bottom: 1px solid var(--line);
  }

  /* Use the supplied line icons and make every division in the four-value row
     explicit. The pseudo-rule avoids a separator disappearing through grid
     border collapsing at certain viewport widths. */
  .qualities article {
    position: relative;
    border-right: 0;
  }

  .qualities article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }

  .icon {
    width: 58px;
    height: 58px;
    opacity: 1;
  }

  .icon-home {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M8 30 32 8l24 22M16 25v31h32V25'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M8 30 32 8l24 22M16 25v31h32V25'/%3E%3C/svg%3E");
  }

  .icon-puzzle {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M8 8h32v32H8zM24 8v10c0 4 6 4 6 0V8M40 24H30c-4 0-4 6 0 6h10M24 40V30c0-4-6-4-6 0v10M8 24h10c4 0 4-6 0-6H8'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M8 8h32v32H8zM24 8v10c0 4 6 4 6 0V8M40 24H30c-4 0-4 6 0 6h10M24 40V30c0-4-6-4-6 0v10M8 24h10c4 0 4-6 0-6H8'/%3E%3C/svg%3E");
  }

  .icon-grid {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M8 8h48v48H8zM28 8v48M44 8v48M8 28h20M28 20h16M44 28h12M8 44h20M28 44h16M44 44h12'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M8 8h48v48H8zM28 8v48M44 8v48M8 28h20M28 20h16M44 28h12M8 44h20M28 44h16M44 44h12'/%3E%3C/svg%3E");
  }

  .icon-column {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M12 13h40M16 18h32M19 18v25M29 18v25M39 18v25M49 18v25M14 43h36M10 52h44M15 47h34M15 13c0-5 8-5 8 0M41 13c0-5 8-5 8 0'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M12 13h40M16 18h32M19 18v25M29 18v25M39 18v25M49 18v25M14 43h36M10 52h44M15 47h34M15 13c0-5 8-5 8 0M41 13c0-5 8-5 8 0'/%3E%3C/svg%3E");
  }

  /* Match the original home-copy scale instead of scaling it up on wide
     screens. */
  .about-text h2 {
    font-size: 40px;
    letter-spacing: normal;
  }

  .service-card h1 {
    font-size: 40px;
    letter-spacing: normal;
  }

  .about-text h3 {
    max-width: 330px;
    font-size: 30px;
    line-height: 1.18;
  }

  .about-text p {
    max-width: 440px;
    font-size: 16px;
    line-height: 1.78;
  }

  /* The reference uses one unfiltered staircase image, not two faint image
     layers. Keep the same image overscan so it can move noticeably on scroll. */
  .about-photo-top {
    grid-column: 2;
    grid-row: 1 / span 2;
    border-bottom: 0;
    background-image: url("public/assets/stair-top.jpg");
    background-position: center;
  }

  .about-photo-bottom {
    display: none;
  }

  .about-photo::before {
    inset: -14%;
    filter: none;
    opacity: 1;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.14);
  }

  .about-photo::after {
    display: none;
  }

  .latest-project {
    margin-top: 112px;
  }

  .latest-project h2 {
    font-size: 40px;
    margin-bottom: 78px;
  }

  /* The two pictures on the right are intentionally near-square. The main
     image follows the same overall height so the first mosaic row stays neat. */
  .project-main img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
  }

  .project-side img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
  }

  .project-wide img {
    width: 100%;
    height: auto;
    aspect-ratio: 2.2 / 1;
    object-fit: cover;
  }

  .project-tall img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
  }

  /* Full-height opening, followed by a deliberately visible media movement
     while each framed panel crosses the viewport. */
  .home-hero {
    height: 100vh;
    min-height: 700px;
  }

  .service-intro {
    height: 700px;
  }

  .service-photo img {
    height: 150%;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--media-scale, 1.06));
    transition: none;
  }

  .about-photo::before {
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--media-scale, 1.14));
    transition: none;
  }

  .about-photo-top::before {
    inset: -22%;
  }

  /* Match the generous full-width grid from the home page on the services
     page, with enough inner space for the editorial copy. */
  .services-grid {
    width: var(--home-frame);
    max-width: none;
    margin: 0 auto 110px;
  }

  .services-grid > * {
    min-height: 320px;
  }

  .services-grid article {
    padding: clamp(64px, 5vw, 104px) clamp(48px, 4vw, 84px) 48px;
  }

  .services-grid .grid-title {
    padding: 0 clamp(48px, 4vw, 84px);
  }

  .services-grid p,
  .services-grid li {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Keep the divider comfortably separate from the story heading and use the
     same headline scale as the owner name. */
  .story {
    padding-top: 104px;
  }

  .story h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* Reserve room below the owner card before the story divider. This keeps the
     line visually separate even when the copy wraps over an extra line. */
  .about-page-hero {
    min-height: 720px;
  }
}

/* Repeat the editorial 16-column rhythm across the complete live gallery. */
.project-tile:nth-child(12n + 1),
.project-tile:nth-child(12n + 3) { grid-column: span 5; height: 360px; }
.project-tile:nth-child(12n + 2),
.project-tile:nth-child(12n + 4) { grid-column: span 3; height: 360px; }
.project-tile:nth-child(12n + 5),
.project-tile:nth-child(12n + 8) { grid-column: span 3; height: 340px; }
.project-tile:nth-child(12n + 6),
.project-tile:nth-child(12n + 7) { grid-column: span 5; height: 340px; }
.project-tile:nth-child(12n + 9),
.project-tile:nth-child(12n + 10),
.project-tile:nth-child(12n + 11),
.project-tile:nth-child(12n) { grid-column: span 4; height: 330px; }
