:root {
  --ink: #242822;
  --muted: #586054;
  --paper: #f6f2e9;
  --sand: #eae2d1;
  --dark: #242c23;
  --gold: #f0d3a7;
  --line: #bcb09d;
  font: 1rem/1.65 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .26em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #986636; outline-offset: 4px; }
.wrap { width: min(1360px, calc(100% - 5rem)); margin-inline: auto; }
.bar, nav, footer, .actions { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.bar, footer { justify-content: space-between; }
.bar { min-height: 80px; }
nav a { text-decoration: none; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.logo { display: inline-flex; }
.logo img { width: 105px; height: 49px; object-fit: contain; }
.button, .outline, .language-switch {
  display: inline-block;
  font-weight: 750;
  text-decoration: none;
  padding: .7rem 1rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  transition: background-color .2s, color .2s;
}
.language-switch { background: transparent; color: var(--ink); }
.language-switch:hover { background: var(--sand); }
.button { background: var(--dark); border-color: var(--dark); color: var(--paper); }
.button:hover { background: #414c3c; }
.hero {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.5fr);
  gap: clamp(1.35rem, 4.2vw, 4.25rem);
  padding: clamp(1.5rem, 5vw, 4.5rem) max(2.5rem, calc((100% - 1360px) / 2));
  border-block: 1px solid var(--line);
  background: linear-gradient(120deg, #f2ecdf, #e4d8c6);
}
.hero .hero-content { margin: 0; width: 100%; }
.company { font-weight: 720; color: #634d31; }
h1, h2 { font: 500 clamp(2.2rem, 5.8vw, 5.25rem)/.99 Georgia, serif; letter-spacing: -.055em; }
[dir=rtl] h1, [dir=rtl] h2 { font-family: system-ui, sans-serif; font-weight: 750; line-height: 1.18; letter-spacing: normal; }
h1 { margin-block: .8rem 1.15rem; font-size: clamp(3.25rem, 6.8vw, 7.1rem); }
[dir=rtl] h1 { font-size: clamp(2.55rem, 5vw, 5rem); }
h1 em { color: #7a5130; font-weight: inherit; }
[dir=rtl] h1 em { font-style: normal; }
.intro { color: var(--muted); max-width: 33ch; margin-bottom: 1.35rem; }
.villa { min-width: 0; }
.villa-image { position: relative; overflow: hidden; border: 1px solid #b29f85; border-radius: 7px; background: #c3aa8f; }
.villa img { display: block; width: 100%; height: auto; }
.villa figcaption { padding-top: .6rem; font-size: .9rem; color: var(--muted); }
.villa-points { position: absolute; inset: 0; }
.villa-point {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(2.75rem, 4vw, 3.25rem);
  aspect-ratio: 1;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid #fff1d5;
  border-radius: 50%;
  background: #292d22e8;
  color: #fff3d8;
  box-shadow: 0 0 0 6px #fff1ca51;
  font-size: 1.4rem;
}
.villa-point:hover, .villa-point:focus-visible { background: var(--gold); color: var(--ink); }
.villa-point:nth-child(1) { top: 66%; left: 34%; }
.villa-point:nth-child(2) { top: 31%; left: 42%; }
.villa-point:nth-child(3) { top: 20%; left: 21%; }
.villa-point:nth-child(4) { top: 61%; left: 84%; }
.work { padding-block: clamp(3rem, 8vw, 7rem); }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.4rem; }
.activity { background: var(--sand); border-radius: 7px; overflow: hidden; }
.card-image img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.55; }
.card-copy { padding: clamp(1.1rem, 3vw, 2.25rem); }
.card-copy h3 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.2; margin-bottom: .55rem; }
.card-copy p { color: var(--muted); max-width: 54ch; }
.interactive-gallery { grid-template-columns: minmax(14rem, .62fr) minmax(0, 1.62fr); align-items: start; gap: clamp(1rem, 3vw, 2.4rem); }






.gallery-stage .activity { display: grid; grid-template-columns: 1.1fr .9fr; min-height: clamp(385px, 41vw, 510px); border: 1px solid #d9cbb7; }
.gallery-stage .card-image { position: relative; overflow: hidden; min-height: 0; }
.gallery-stage .card-image img { position: absolute; width: 100%; height: 100%; }
.gallery-stage .card-copy { align-self: center; }
.service-inquiry { display: inline-block; margin-top: 1rem; color: #684221; font-weight: 750; }
.service-inquiry:hover { color: var(--ink); }
.contact { background: var(--dark); color: var(--paper); padding-block: clamp(3rem, 7vw, 6rem); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.contact-heading p { margin-top: 1rem; color: #dedccf; max-width: 35ch; }
.message-form { width: 100%; color: #fff5e4; }
.message-form label { display: block; font-weight: 750; margin-bottom: .5rem; }
.message-form textarea {
  display: block;
  width: 100%;
  min-height: 8rem;
  margin-bottom: 1rem;
  padding: .65rem .8rem;
  border: 0;
  border-block-end: 2px solid #7199ab;
  border-radius: 6px 6px 0 0;
  background: #dce8ed;
  color: #152f3c;
  font: inherit;
  resize: vertical;
}
.message-form textarea::placeholder { color: #405a68; opacity: 1; }
.message-form textarea:focus { outline: 2px solid #9bc9de; outline-offset: 3px; }
.outline { color: var(--dark); background: transparent; }
.outline:hover { background: var(--sand); }
.actions { flex-wrap: wrap; gap: .65rem; }
footer { padding-block: 1.35rem; color: var(--muted); }
.skip { position: absolute; inset-inline-start: 1rem; top: -6rem; padding: .5rem; background: var(--paper); z-index: 2; }
.skip:focus { top: .5rem; }
@media (max-width: 1000px) {
  .gallery-stage .activity { grid-template-columns: 1fr; min-height: 0; }
  .gallery-stage .card-image { aspect-ratio: 1.65; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 3rem); }
  .hero { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .interactive-gallery, .contact-layout { grid-template-columns: 1fr; }

}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { padding: 1.5rem 1rem; }
  .bar { min-height: 68px; }
  nav a { display: none; }
  .work-heading { align-items: start; flex-direction: column; gap: .4rem; }


}
@media (prefers-reduced-motion: no-preference) {
  .hero-content, .gallery-stage .card-copy { animation: settle .55s ease-out both; }
  .villa img, .gallery-stage img { animation: image-in .8s ease-out both; }
  .villa-point { animation: point-in .48s .3s both; }
  .villa-point:nth-child(2) { animation-delay: .4s; }
  .villa-point:nth-child(3) { animation-delay: .5s; }
  .villa-point:nth-child(4) { animation-delay: .6s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes settle { from { opacity: 0; translate: 0 .8rem; } to { opacity: 1; translate: 0 0; } }
@keyframes image-in { from { opacity: .55; scale: 1.045; } to { opacity: 1; scale: 1; } }
@keyframes point-in { from { opacity: 0; scale: .65; } to { opacity: 1; scale: 1; } }

/* Glass navigation, a cinematic entrance and motion tied to the page. */
:root {
  --paper: #f3f0e8;
  --sand: #e8e1d4;
  --dark: #202c28;
  --line: #c5bdb0;
  scroll-padding-top: 6rem;
}
.locale > .bar {
  position: sticky;
  z-index: 3;
  top: 0;
  width: 100%;
  padding-inline: max(2.5rem, calc((100% - 1360px) / 2));
  background: #f3f0e8e8;
  border-bottom: 1px solid #c5bdb087;
  backdrop-filter: blur(18px);
}
.language-switch { border-radius: 100px; padding-inline: 1.15rem; }
.hero {
  background: radial-gradient(ellipse at 78% 16%, #344740, transparent 66%), #182521;
  color: #f9f6eb;
  border-block: 0;
}
.hero .company { color: #f0d3a7; }
.hero h1 em { color: #f0d3a7; }
.hero .intro, .villa figcaption { color: #d9e2d9; }
.hero .button { border-color: var(--gold); background: var(--gold); color: #262a21; }
.hero .button:hover { background: #fff0ce; }
.villa-image { border-color: #b2a285; border-radius: 13px; box-shadow: 0 22px 60px #080e0c65; }
.villa-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 145px at var(--light-x, 50%) var(--light-y, 50%), #ffefca44, transparent);
  transition: opacity .32s;
  mix-blend-mode: screen;
}
.villa-point { z-index: 1; transition: background-color .25s, box-shadow .25s; }
.villa-point:hover, .villa-point:focus-visible { box-shadow: 0 0 0 9px #fff1ca60; }



.gallery-stage .activity { border-radius: 13px; }
.contact { background: radial-gradient(ellipse at 88% 3%, #3b5043, transparent 62%), var(--dark); }
@media (max-width: 780px) {
  .locale > .bar { padding-inline: 1.5rem; }



}
@media (max-width: 480px) {
  .locale > .bar { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: none; }
  .hero-content > * { animation: settle .72s cubic-bezier(.18,.78,.25,1) both; }
  .hero-content h1 { animation-delay: .1s; }
  .hero-content .intro { animation-delay: .19s; }
  .hero-content .button { animation-delay: .27s; }
  .villa-image { animation: image-reveal .95s cubic-bezier(.18,.78,.25,1) both; }
  .gallery-stage img { animation: image-reveal .62s cubic-bezier(.18,.78,.25,1) both; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .villa-image:hover::after { opacity: 1; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .bar::after {
      content: '';
      position: absolute;
      inset-inline: 0;
      bottom: 0;
      height: 2px;
      background: #a16c3d;
      transform-origin: left;
      animation: reading-progress linear both;
      animation-timeline: scroll(root);
    }
    [dir=rtl] .bar::after { transform-origin: right; }
  }
}
@keyframes image-reveal {
  from { clip-path: inset(8% 9% round 13px); opacity: .7; }
  to { clip-path: inset(0 round 0); opacity: 1; }
}
@keyframes reading-progress { from { scale: 0 1; } to { scale: 1 1; } }

.villa-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.villa-image .tour-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #202c28;
}
.tour-details {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .75rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: var(--ink);
  background: var(--paper);
  border-radius: 9px;
}
.tour-details h2, [dir=rtl] .tour-details h2 {
  font: 750 clamp(1.15rem, 2vw, 1.55rem)/1.25 system-ui, sans-serif;
  letter-spacing: normal;
}
.tour-details p { max-width: 60ch; color: var(--muted); margin-top: .35rem; }
.tour-details .button { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.tour-details .button:hover { background: #435449; }
@media (prefers-reduced-motion: no-preference) {
  .tour-details { animation: settle .32s ease-out both; }
}

.tour-credit {
  display: block;
  margin-bottom: .25rem;
  color: var(--muted);
  font-size: .875rem;
}

.tour-title {
  position: absolute;
  z-index: 3;
  inset-inline-start: clamp(.7rem, 2.1vw, 1.5rem);
  inset-block-end: clamp(.7rem, 2.1vw, 1.5rem);
  max-width: calc(100% - 1.4rem);
  padding: .55rem .9rem;
  border-inline-start: 3px solid var(--gold);
  border-radius: 4px;
  background: #17211ced;
  color: #fff5e2;
  font-size: clamp(1rem, 2.15vw, 1.6rem);
  font-weight: 750;
  line-height: 1.3;
  pointer-events: none;
}

.tour-progress {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 3px;
  z-index: 3;
  background: #0005;
  pointer-events: none;
}
.tour-progress::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(var(--tour-progress, 0));
  transform-origin: left;
}
[dir=rtl] .tour-progress::before { transform-origin: right; }

.tour-marker {
  position: absolute;
  z-index: 3;
  left: var(--detail-x);
  top: var(--detail-y);
  width: clamp(.75rem, 2vw, 1.2rem);
  aspect-ratio: 1;
  border: 2px solid #fff5de;
  border-radius: 50%;
  background: #f0d3a7a8;
  box-shadow: 0 0 0 5px #202c2880, 0 1px 10px #0008;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .tour-marker { transition: left .16s linear, top .16s linear; }
}

.tour-leader {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  fill: none;
  stroke: #ffe3ad;
  stroke-width: 1.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px #1a160d);
  pointer-events: none;
}
.tour-marker {
  z-index: 4;
  width: clamp(.65rem, 1.5vw, .9rem);
  box-shadow: 0 0 0 4px #202c2870, 0 1px 8px #1a160db3;
  transition: none;
}
.tour-title {
  z-index: 4;
  inset-inline-start: 4%;
  inset-block-end: 4.5%;
  max-width: 88%;
  padding: .42em .72em;
  border-inline-start: 0;
  border-block-end: 2px solid #e8ba7e;
  border-radius: 4px 4px 1px 1px;
  background: #14241ff2;
  box-shadow: 0 3px 14px #101a165c;
  font-size: clamp(.93rem, 2vw, 1.45rem);
}

/* The film fills the entire opening section, including behind the headline. */
.hero {
  display: flex;
  align-items: flex-start;
  min-height: max(42rem, calc(100svh - 80px));
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2rem, 8vh, 6.75rem) 12rem;
}
.hero::before, [dir=rtl] .hero::before {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: '';
  background: linear-gradient(90deg,#10211de8 0%,#10211db3 27%,#10211d15 66%),
              linear-gradient(0deg,#10211df2 0%,transparent 34%);
}
[dir=rtl] .hero::before {
  background: linear-gradient(270deg,#10211de8 0%,#10211db3 27%,#10211d15 66%),
              linear-gradient(0deg,#10211df2 0%,transparent 34%);
}
.hero .hero-content { position: relative; z-index: 2; width: min(100%, 43rem); }
.hero .intro { color: #f6f4ec; }
.hero .villa { position: absolute; inset: 0; }
.hero .villa-image { position: absolute; z-index: 0; inset: 0; overflow: hidden; border: 0; border-radius: 0; box-shadow: none; animation: none; }
.hero .villa-image > img, .hero .villa-image > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero .villa-image > img { animation: none; }
.hero .villa figcaption {
  position: absolute;
  z-index: 2;
  inset-inline: max(2.5rem, calc((100% - 1360px) / 2));
  inset-block-end: clamp(.85rem, 2.5vh, 1.75rem);
  padding: 0;
  pointer-events: none;
}
.hero .villa-caption { align-items: center; }
.hero .villa:has(.tour-video:not([hidden])) .villa-caption > span { visibility: hidden; }
.hero .tour-details { max-width: 36rem; margin-top: .4rem; padding: 0; background: transparent; color: #f6f4ec; }
.hero .tour-details p, .hero .tour-credit { color: #f6f4ec; }
.hero .tour-credit { font-size: .78rem; }
.hero .tour-credit a { pointer-events: auto; }
.hero .tour-title {
  inset-inline-start: 4%;
  inset-block-end: 23%;
  box-shadow: 0 2px 12px #0a120fab;
}
.hero .villa-point { z-index: 1; }
.hero .tour-progress { z-index: 2; }
@media (max-width: 780px) {
  .hero {
    min-height: max(41rem, calc(100svh - 80px));
    padding-inline: 1.5rem;
  }
  .hero::before, [dir=rtl] .hero::before {
    background: linear-gradient(180deg,#10211ded 0%,#10211d8c 35%,transparent 62%,#10211df2 100%);
  }
  .hero .villa figcaption { inset-inline: 1.5rem; }
}
@media (max-width: 480px) {
  .hero { min-height: max(42rem, calc(100svh - 68px)); padding-inline: 1rem; padding-block-start: 1.65rem; }
  .hero .villa figcaption { inset-inline: 1rem; }
  .hero .villa-caption > span { font-size: .79rem; }
  .hero .tour-details p { font-size: .875rem; }
}

@font-face {
  font-family: "Portfolio Naskh";
  src: url("fonts/noto-naskh-arabic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
  font-family: "Portfolio Naskh";
  src: url("fonts/noto-naskh-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2212;
}
:root {
  --page-type: "Sakkal Majalla", Majalla, "Portfolio Naskh", Georgia, serif;
  font-family: var(--page-type);
  font-size: clamp(18px, 1.2vw, 20px);
}
h1, h2, [dir=rtl] h1, [dir=rtl] h2, .tour-details h2, [dir=rtl] .tour-details h2 { font-family: var(--page-type); }
:where(button, input, textarea, select) { font-family: inherit; }

.work .interactive-gallery {
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  align-items: stretch;
  gap: clamp(.8rem, 2.5vw, 2rem);
}
.service-plan {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: auto 1fr auto;
  place-items: start;
  min-height: 23rem;
  padding: clamp(.8rem, 2vw, 1.25rem);
  overflow: hidden;
  border: 1px solid #4f6b60;
  border-radius: 12px;
  background:
    linear-gradient(#79978924 1px,transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg,#79978924 1px,transparent 1px) 0 0 / 24px 24px,
    radial-gradient(ellipse at center,#365e50,#172e29 74%);
}
.plan-drawing { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.plan-guides { stroke: #b4d1bf45; stroke-width: 1; stroke-dasharray: 4 6; }
.plan-house { stroke: #c2d4bf; stroke-width: 1.7; stroke-linejoin: round; }
.plan-roof { fill: #477666; }
.plan-wall { fill: #34584d; }
.plan-window { fill: #6d9f94; }
.plan-door { fill: #243b34; }
.plan-detail { fill: none; stroke: #bfccafbf; stroke-width: 1.1; }
.plan-zone { transition: fill .35s, stroke .35s; }
.plan-zone.is-active { fill: #a26d3d; stroke: #ffdfa8; }
.plan-link { stroke: #b4d1bf79; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.plan-link.is-active { stroke: #ffcf8a; stroke-width: 2.6; filter: drop-shadow(0 0 4px #f2ba70ad); }
.plan-choice {
  position: relative;
  z-index: 1;
  width: min(100%, 9.2rem);
  min-height: 2.65rem;
  padding: .45rem .55rem;
  border: 1px solid #769082;
  border-radius: 5px;
  color: #f7f2e7;
  background: #162a25f5;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color .24s, background .24s, border-color .24s, box-shadow .24s;
}
.plan-choice:nth-of-type(odd) { grid-column: 1; }
.plan-choice:nth-of-type(even) { grid-column: 2; justify-self: end; }
.plan-choice:nth-of-type(-n+2) { grid-row: 1; }
.plan-choice:nth-of-type(n+3) { grid-row: 3; align-self: end; }
[dir=rtl] .plan-choice:nth-of-type(odd) { grid-column: 2; justify-self: end; }
[dir=rtl] .plan-choice:nth-of-type(even) { grid-column: 1; justify-self: start; }
.plan-choice:hover, .plan-choice[aria-pressed=true] { background: #efca96; color: #1d3029; border-color: #ffdfa8; }
.plan-choice[aria-pressed=true] { box-shadow: 0 0 20px #edb06460; }
.plan-choice:focus-visible { outline-color: #fff1cf; }
.work .gallery-stage .activity {
  height: 100%;
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: #eee7d8;
}
.work .gallery-stage .card-image { aspect-ratio: 1.78; }
.work .gallery-stage .card-copy { align-self: start; padding: clamp(.9rem,2.25vw,1.5rem); }
.service-image-note {
  position: absolute;
  inset-inline-end: .55rem;
  inset-block-end: .55rem;
  padding: .15rem .5rem;
  border-radius: 3px;
  background: #182d27ed;
  color: #fff0d5;
  font-size: .76rem;
}
@media (max-width: 830px) {
  .work .interactive-gallery { grid-template-columns: 1fr; }
  .service-plan { min-height: clamp(18rem, 66vw, 24rem); }
}
@media (max-width: 440px) {
  .plan-choice { width: min(100%, 7rem); padding-inline: .28rem; font-size: .94rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .plan-link.is-active { stroke-dasharray: 1; animation: plan-route .75s cubic-bezier(.2,.65,.35,1) both; }
  .plan-zone.is-active { animation: plan-zone .8s ease-out both; }
}
@keyframes plan-route { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes plan-zone { from { fill: #416f60; } to { fill: #a26d3d; } }


.plan-spark {
  opacity: 0;
  stroke: #fff6db;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: .13 1.15;
  filter: drop-shadow(0 0 5px #ffcd82);
}
@media (prefers-reduced-motion: no-preference) {
  .plan-spark.is-active { animation: plan-spark 1.35s cubic-bezier(.3,.12,.45,1) .24s both; }
}
@keyframes plan-spark {
  0% { stroke-dashoffset: .13; opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { stroke-dashoffset: -1; opacity: 0; }
}

.work .interactive-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(.9rem, 2vw, 1.6rem); }
.work .service-plan {
  border-radius: 16px;
  box-shadow: 0 18px 40px #172e2926;
  background:
    linear-gradient(#c0d3af18 1px,transparent 1px) center / 20px 20px,
    linear-gradient(90deg,#c0d3af18 1px,transparent 1px) center / 20px 20px,
    radial-gradient(ellipse at 50% 46%,#416658,#172e29 68%,#12251f);
}
.plan-deck { fill: #1c3a31; stroke: #8ca690; stroke-width: 1.2; }
.plan-roof { fill: #527d6a; }
.plan-roof-edge { stroke: #e4d6aa; }
.plan-rail { fill: #36564a; }
.plan-masonry { stroke: #a8bc9b96; }
.plan-zone.is-active { fill: #bb8550; stroke: #ffe6b4; }
.work .plan-choice { background: #172d26; border-color: #7f9f8d; border-radius: 8px; font-size: clamp(.96rem, 1.55vw, 1.16rem); }
.work .plan-choice:hover, .work .plan-choice[aria-pressed=true] { color: #193028; background: #f1d3a7; border-color: #ffe5b6; }
.work .gallery-stage .activity { background: #fffaf0; border-color: #d9cdb8; border-radius: 16px; box-shadow: 0 16px 38px #302b2214; }
.work .gallery-stage .card-image { aspect-ratio: 1.95; }
.work .gallery-stage .card-copy { display: flex; flex-direction: column; height: 100%; padding: clamp(1rem, 2.4vw, 1.7rem); }
.work .card-copy h3 { color: #182d25; line-height: 1.08; }
.work .card-copy p { color: #394d43; line-height: 1.38; }
.service-details { display: flex; flex-wrap: wrap; gap: .3rem .45rem; list-style: none; margin: .85rem 0 1rem; padding: 0; }
.service-details li {
  padding: .22rem .56rem;
  color: #2f453a;
  background: #e7eee0;
  border: 1px solid #cedbc7;
  border-radius: 4px;
  line-height: 1.25;
  font-size: .92rem;
}
.service-actions { display: flex; flex-wrap: wrap; align-items: center; margin-top: auto; gap: .5rem 1rem; }
.service-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .8rem;
  border-radius: 5px;
  background: #214f3d;
  color: #fff6e7;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.service-whatsapp:hover { background: #346650; }
.service-actions .service-inquiry { margin: 0; color: #365145; }
@media (max-width: 830px) { .work .interactive-gallery { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .work .gallery-stage .card-image { aspect-ratio: 1.7; } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .85rem; }
.hero .hero-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .63rem .95rem;
  border: 1px solid #f2dcbb;
  border-radius: 4px;
  background: #182a24a8;
  color: #fff5e4;
  text-decoration: none;
  font-weight: 700;
}
.hero .hero-contact:hover { background: #344d41; }
.hero-content > .hero-actions { animation-delay: .24s; }
.work-heading { padding-bottom: 1.15rem; border-color: #b5a58b; }
.work .gallery-stage .activity { border-radius: 12px; }
.contact {
  background: radial-gradient(ellipse at 14% 110%,#4c5e46,transparent 68%), #172e27;
}
.contact .contact-heading p { color: #edf0e4; }
.message-form textarea { min-height: 7rem; padding: .8rem 1rem; }
.site-footer { padding: 0; background: #eee5d4; }
.footer-content, .footer-links { display: flex; align-items: center; gap: 1rem; }
.footer-content { min-height: 4.5rem; justify-content: space-between; }
.footer-links { flex-wrap: wrap; color: #263c32; }
.footer-links a { font-weight: 700; text-underline-offset: .23em; }
@media (max-width: 650px) {
  .hero .hero-contact { padding-inline: .7rem; }
}
@media (max-width: 420px) {
  .hero-actions { gap: .4rem; }
  .hero-actions a { font-size: .9rem; }
}

/* Repeated brass details connect the film, drawing, project steps and contact. */
:root {
  --brass: #b4834e;
  --brass-light: #f4d6a5;
  --pine: #17352c;
}
.locale > .bar {
  background: #f7f3e9f0;
  border-bottom-color: #bca78988;
  box-shadow: 0 4px 16px #12261e12;
}
.bar nav a { position: relative; }
.bar nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: -.18rem;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .23s ease;
}
.bar nav a:hover { text-decoration: none; }
.bar nav a:hover::after, .bar nav a:focus-visible::after { transform: scaleX(1); }
.bar .language-switch { border-color: #8c795b; }
.hero::after {
  content: '';
  position: absolute;
  inset: clamp(.45rem, 1.4vw, 1.2rem);
  z-index: 1;
  pointer-events: none;
  border: 1px solid #f2d2a54d;
  border-radius: 5px;
}
.hero .company { display: flex; align-items: center; gap: .65rem; }
.hero .company::before { content: ''; width: 1.65rem; height: 1px; background: var(--brass-light); }
.hero .button { background: #f0d0a0; box-shadow: 0 6px 22px #0e1d1680; }
.hero .hero-contact { border-color: #e6c99eac; }

.work-heading { border: 0; position: relative; }
.work-heading::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: linear-gradient(90deg, #b4824f, #dbc09a 23%, #cfc2ac 60%, #ded4c3);
}
[dir=rtl] .work-heading::after {
  background: linear-gradient(270deg, #b4824f, #dbc09a 23%, #cfc2ac 60%, #ded4c3);
}
.work .service-plan { border-color: #8f9172; }
.service-plan::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(119deg, transparent 40%, #f1d4a41b 49%, #f1d4a40b 53%, transparent 64%);
  background-size: 250% 100%;
  background-position: 100% 0;
}
.work .gallery-stage .activity {
  border-color: #cdbba0;
  box-shadow: 0 18px 42px #3c321e20;
}
.work .gallery-stage .card-image { border-block-end: 2px solid #bc926a; }
.service-whatsapp { box-shadow: 0 3px 9px #1b3b2d28; }
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block-start: 1px solid #b59467;
  background: #192e26;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #112820ea 5%, #162d23c9 36%, #192e26b8 73%, #142920ae),
    url("contact-architecture.webp") center 48% / cover;
}
[dir=rtl] .contact::before {
  background:
    linear-gradient(270deg, #112820ea 5%, #162d23c9 36%, #192e26b8 73%, #142920ae),
    url("contact-architecture.webp") center 48% / cover;
}
.contact::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: clamp(.7rem, 1.5vw, 1.1rem);
  border: 1px solid #f1d5a55e;
  border-radius: 6px;
  z-index: -1;
}
.contact .contact-heading { max-width: 22rem; }
.contact .contact-heading::before {
  content: '';
  display: block;
  width: clamp(2.2rem, 8vw, 5rem);
  height: 2px;
  margin-block-end: .7rem;
  background: #e8be86;
}
.site-footer { background: #eae0cd; border-block-start: 1px solid #bda78a; }
@media (max-width: 780px) {
  .contact::before, [dir=rtl] .contact::before {
    background:
      linear-gradient(180deg,#122820e8 0%,#142c23c7 55%,#172b20cc),
      url("contact-architecture.webp") center / cover;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .service-plan::before { animation: architectural-light 8s ease-in-out infinite; }
  .hero .button, .hero .hero-contact, .service-whatsapp { transition: background .22s, transform .22s, box-shadow .22s; }
  .hero .button:hover, .hero .hero-contact:hover, .service-whatsapp:hover { transform: translateY(-2px); }
}
@keyframes architectural-light {
  0%, 20% { background-position: 100% 0; opacity: 0; }
  35%, 58% { opacity: 1; }
  76%, 100% { background-position: 0 0; opacity: 0; }
}

.process {
  color: #f8f0df;
  padding-block: clamp(3rem, 7vw, 6.75rem);
  border-block: 1px solid #827258;
  background:
    radial-gradient(ellipse at 12% 110%, #436352 0%, transparent 56%),
    linear-gradient(120deg, #172f28, #10251f);
}
.process > .wrap {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  align-items: start;
  gap: clamp(1.75rem, 7vw, 6rem);
}
.process h2 {
  max-width: 12ch;
  text-wrap: balance;
  line-height: 1.06;
}
[dir=rtl] .process h2 { max-width: 14ch; line-height: 1.18; }
.process h2::after {
  content: '';
  display: block;
  width: clamp(3.5rem, 9vw, 7rem);
  height: 2px;
  margin-block-start: 1.1rem;
  background: linear-gradient(90deg,#e8bb7c,#e8bb7c14);
}
[dir=rtl] .process h2::after { transform: scaleX(-1); }

.process-steps {
  --project-cycle: 8.4s;
  position: relative;
  list-style: none;
  counter-reset: project-stage;
  margin: 0;
  padding: 0;
  padding-inline-start: clamp(1.25rem, 2.3vw, 1.9rem);
}
.process-steps::before, .process-steps::after {
  content: '';
  position: absolute;
  inset-inline-start: .32rem;
  inset-block: 1.55rem .85rem;
  width: 2px;
  background: #bdb89d60;
}
.process-steps::after {
  background: #edc284;
  transform: scaleY(0);
  transform-origin: top;
}
.process-step {
  --project-phase: 0s;
  position: relative;
  display: grid;
  grid-template-columns: minmax(2.2rem, 12%) minmax(0,1fr);
  column-gap: .8rem;
  counter-increment: project-stage;
  padding-block: .84rem 1.15rem;
  border-block-end: 1px solid #c8cbb340;
}
.process-step:first-child { padding-block-start: .45rem; }
.process-step:last-child { border: 0; padding-block-end: 0; }
.process-step:nth-child(2) { --project-phase: -5.6s; }
.process-step:nth-child(3) { --project-phase: -2.8s; }
.process-step::before {
  content: counter(project-stage, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / 3;
  color: #c1cdbf;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  line-height: 1;
}
.process-step::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset-inline-start: calc(.32rem - clamp(1.25rem, 2.3vw, 1.9rem));
  inset-block-start: 1.55rem;
  width: .54rem;
  aspect-ratio: 1;
  border: 1px solid #c5bea2;
  border-radius: 50%;
  background: #203b32;
  margin-inline-start: -.22rem;
}
.process-step h3, .process-step p { grid-column: 2; margin: 0; }
.process-step h3 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.12; color: #f4eddb; }
.process-step p { max-width: 53ch; margin-block-start: .28rem; color: #e1e8db; line-height: 1.4; }
.process-step h3, .process-step::before {
  animation: project-accent var(--project-cycle) steps(1, end) var(--project-phase) infinite;
}
.process-step::after {
  animation: project-node var(--project-cycle) steps(1, end) var(--project-phase) infinite;
}
@media (prefers-reduced-motion: no-preference) {
  .process-steps::after { animation: project-rail var(--project-cycle) linear infinite; }
}
@media (max-width: 720px) {
  .process > .wrap { grid-template-columns: 1fr; gap: 1.45rem; }
}
@keyframes project-accent {
  0%,100% { color: #ffdba3; }
  33.333% { color: #f0ebdc; }
}
@keyframes project-node {
  0%,100% { background: #ffdba3; box-shadow: 0 0 0 5px #e5b87542; }
  33.333% { background: #203b32; box-shadow: none; }
}
@keyframes project-rail {
  0% { transform: scaleY(0); }
  38% { transform: scaleY(.48); }
  78%,95% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

.locale {
  --site-header-height: 80px;
}
.locale > .bar {
  min-height: var(--site-header-height);
  margin-block-end: calc(-1 * var(--site-header-height));
  border-block-end: 1px solid #edd2ab44;
  background: #132d24ad;
  color: #fff6e6;
  box-shadow: none;
  backdrop-filter: blur(13px) saturate(120%);
}
.bar .logo img { filter: brightness(0) invert(1); }
.bar .language-switch { color: #fff6e6; border-color: #efd4aa96; }
.bar .language-switch:hover { background: #f8ead326; }
.bar :focus-visible { outline-color: #ffe0ad; }
.hero {
  min-height: max(42rem, 100svh);
  padding-block-start: calc(var(--site-header-height) + clamp(2rem, 8vh, 6.75rem));
}
.hero::after { inset-block-start: calc(var(--site-header-height) + clamp(.45rem, 1.4vw, 1.2rem)); }

.message-form label { font-size: 1.18rem; font-weight: 700; color: #fff4de; }
.message-form .actions { gap: .45rem 1rem; }
.message-form .actions button { min-height: 44px; }
.message-form .button {
  background: #f1d3a5;
  color: #19352b;
  border-color: #f1d3a5;
  border-radius: 5px;
}
.message-form .button:hover { background: #ffebc5; }
.message-form .outline {
  color: #fff2dc;
  background: transparent;
  border-color: transparent;
  padding-inline: .18rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.message-form .outline:hover { color: #ffd294; background: transparent; }
.message-form button:focus-visible { outline-color: #fff1d4; }
@media (max-width: 480px) {
  .locale { --site-header-height: 68px; }
  .hero { padding-block-start: calc(var(--site-header-height) + 1.65rem); }
}

.site-footer { display: block; }
.footer-legal { background: #081c2d; color: #eef5ff; }
.footer-legal-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .28rem 1.5rem;
  padding-block: .6rem;
  border-block-start: 1px solid #9bb0c44d;
}
.footer-legal-content small { font-size: .85rem; }

.bar nav a[aria-current="location"] {
  color: #ffdc9f;
  text-shadow: 0 0 12px #ffcf8b66;
}
.bar nav a[aria-current="location"]::after {
  background: #ffdc9f;
  box-shadow: 0 0 7px #ffdc9f80;
  transform: scaleX(1);
}

.locale > .bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(.5rem, 1.6vw, 1.3rem);
  align-items: center;
}
.bar > .logo { grid-column: 1; justify-self: start; }
.bar > nav { grid-column: 2; justify-self: center; justify-content: center; }
.bar > .language-switch { grid-column: 3; justify-self: end; }
.bar > nav a { white-space: nowrap; }
@media (max-width: 650px) {
  .bar > nav { gap: .6rem; }
  .bar > .language-switch { padding-inline: .65rem; }
}
@media (max-width: 480px) {
  .locale { --site-header-height: 92px; }
  .locale > .bar { grid-template-rows: 54px 36px; row-gap: 0; }
  .bar > .logo { grid-row: 1; }
  .bar > .language-switch { grid-row: 1; padding-block: .26rem; }
  .bar > nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(.65rem, 4vw, 1.3rem); }
  .bar > nav a { display: inline; font-size: .94rem; }
}
