:root {
  --ink: #1e2320;
  --muted: #66706b;
  --paper: #faf8f3;
  --surface: #ffffff;
  --line: #ddd7cc;
  --clay: #a75d43;
  --teal: #28665c;
  --sage: #dce4d2;
  --gold: #b28a45;
  --shadow: 0 24px 70px rgba(30, 35, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softZoom {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lineSweep {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #fff;
  animation: fadeSlideUp 520ms ease both;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(250, 248, 243, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(30, 35, 32, 0.09);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 8px;
  overflow: hidden;
  font-weight: 700;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  opacity: 0.9;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: #1d2521;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 27, 24, 0.82) 0%, rgba(19, 27, 24, 0.52) 38%, rgba(19, 27, 24, 0.12) 74%),
    linear-gradient(0deg, rgba(19, 27, 24, 0.32), rgba(19, 27, 24, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 100%);
  min-height: 86svh;
  padding: 118px clamp(20px, 5vw, 72px) 64px;
  color: #fff;
  animation: fadeSlideUp 720ms ease 120ms both;
}

.hero img,
.projects-hero,
.pipeline-hero {
  animation: softZoom 900ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c87d;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 9vw, 8.2rem);
}

h2 {
  max-width: 860px;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 35, 32, 0.14);
}

.button.primary {
  background: var(--clay);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.button.secondary.dark {
  border-color: rgba(30, 35, 32, 0.28);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  color: #fff;
}

.section {
  padding: clamp(64px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-band {
  background: var(--teal);
  color: #fff;
}

.intro-band .eyebrow {
  color: #f0c87d;
}

.intro-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.section-grid.compact h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-grid.compact > p {
  margin: 0;
  font-size: 1.1rem;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.service-grid,
.portfolio-grid,
.timeline {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.timeline article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card span,
.timeline span {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--teal);
  font-weight: 800;
}

.service-card p,
.timeline p,
.contact-copy p {
  color: var(--muted);
}

.portfolio-section {
  background: #edf1e8;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(30, 35, 32, 0.18);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.filter.active,
.filter:hover {
  background: var(--teal);
  color: #fff;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-cta {
  display: flex;
  justify-content: center;
  max-width: 1180px;
  margin: 28px auto 0;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.project-card:nth-child(2) img {
  object-position: 58% center;
}

.project-card:nth-child(3) img {
  object-position: right center;
}

.project-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30, 35, 32, 0.05), rgba(30, 35, 32, 0.74));
  content: "";
}

.project-card div {
  align-self: end;
  padding: 24px;
}

.project-card p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.project-summary {
  display: block;
  max-width: 34ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.project-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card:hover {
  box-shadow: 0 24px 54px rgba(30, 35, 32, 0.18);
  transform: translateY(-4px);
}

.project-card.hidden {
  display: none;
}

.case-section {
  background: #fbfaf7;
}

.case-section .section-heading .button {
  align-self: end;
  justify-self: end;
  white-space: nowrap;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.case-visual {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 48px);
  border-left: 4px solid var(--teal);
  background: var(--surface);
}

.case-copy h3 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.case-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.case-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.case-points span {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(40, 102, 92, 0.24);
  border-radius: 8px;
  background: rgba(40, 102, 92, 0.08);
  color: var(--teal);
  font-weight: 800;
}

.process-section {
  background: var(--paper);
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  background: transparent;
}

.testimonial-section {
  background: var(--ink);
  color: #fff;
}

.testimonial-section .section-heading {
  text-align: center;
}

.testimonial-section .eyebrow {
  color: #f0c87d;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.testimonial-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.testimonial-grid p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-grid h3 {
  color: #fff;
  font-size: 1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 116px;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(40, 102, 92, 0.13);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 800;
}

.site-footer a {
  color: var(--teal);
  font-weight: 750;
}

.floating-whatsapp {
  position: fixed;
  z-index: 18;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1fae5b;
  color: #fff;
  box-shadow: 0 14px 38px rgba(31, 174, 91, 0.32);
  font-weight: 800;
}

.pipeline-page {
  background: #f7f5ef;
}

.pipeline-page .site-header {
  position: sticky;
}

.pipeline-nav {
  color: inherit;
}

.pipeline-hero {
  display: grid;
  align-items: end;
  min-height: 72svh;
  padding: 130px clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(90deg, rgba(250, 248, 243, 0.94), rgba(250, 248, 243, 0.72)),
    url("assets/pipeline-gaming.png") center/cover;
}

.pipeline-hero > div {
  width: min(980px, 100%);
}

.pipeline-hero h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7.4rem);
}

.pipeline-hero p:not(.eyebrow) {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.pipeline-section {
  background: var(--paper);
}

.pipeline-list {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
}

.pipeline-case {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.pipeline-case.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.pipeline-case.reverse .pipeline-image {
  order: 2;
}

.pipeline-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.pipeline-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pipeline-content {
  padding: clamp(4px, 2vw, 18px);
}

.pipeline-content h2 {
  max-width: 11ch;
}

.pipeline-content p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.pipeline-steps span {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(40, 102, 92, 0.2);
  border-radius: 8px;
  background: rgba(40, 102, 92, 0.08);
  color: var(--teal);
  font-weight: 800;
}

.pipeline-cta {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pipeline-cta h2 {
  margin: 0 auto;
}

.pipeline-cta p {
  max-width: 720px;
  margin: 20px auto 28px;
  color: var(--muted);
}

.visit-page {
  background: #f7f5ef;
}

.visit-page .site-header {
  position: sticky;
}

.visit-hero {
  display: grid;
  align-items: end;
  min-height: auto;
  padding: 118px clamp(20px, 5vw, 72px) 38px;
  background:
    linear-gradient(90deg, rgba(250, 248, 243, 0.96), rgba(250, 248, 243, 0.74)),
    url("assets/sample-residential-kitchen.png") center/cover;
  animation: softZoom 900ms ease both;
}

.visit-hero > div {
  width: min(960px, 100%);
}

.visit-hero h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7rem);
}

.visit-hero p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.visit-section {
  padding-top: clamp(88px, 10vw, 118px);
}

.visit-intro {
  max-width: 980px;
  margin: 0 auto clamp(24px, 4vw, 42px);
}

.visit-intro h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.visit-intro p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.visit-panel,
.visit-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(30, 35, 32, 0.1);
}

.visit-panel {
  position: sticky;
  top: 104px;
  padding: clamp(22px, 4vw, 34px);
}

.visit-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.visit-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.visit-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.visit-points span {
  padding: 12px 14px;
  border: 1px solid rgba(40, 102, 92, 0.18);
  border-radius: 8px;
  background: #f5f8f2;
  color: var(--teal);
  font-weight: 800;
}

.visit-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.form-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.form-head p {
  margin: 0;
  color: var(--muted);
}

.form-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.visit-form label,
.visit-form fieldset {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.visit-form input,
.visit-form select,
.visit-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  outline: none;
}

.visit-form input,
.visit-form select {
  min-height: 48px;
  padding: 0 13px;
}

.visit-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px 13px;
}

.visit-form input:focus,
.visit-form select:focus,
.visit-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(40, 102, 92, 0.13);
}

.visit-form fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.visit-form legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 850;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid rgba(40, 102, 92, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
}

.check-grid input {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: var(--teal);
}

.project-detail-page {
  background: var(--paper);
}

.projects-hero {
  display: grid;
  align-items: end;
  min-height: 68svh;
  padding: 130px clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(90deg, rgba(30, 35, 32, 0.78), rgba(30, 35, 32, 0.26)),
    url("assets/sample-residential-living.png") center/cover;
  color: #fff;
}

.projects-hero > div {
  width: min(980px, 100%);
}

.projects-hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 7rem);
}

.projects-hero p:not(.eyebrow) {
  width: min(740px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.project-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 34px;
  padding-bottom: 34px;
}

.project-index a {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(40, 102, 92, 0.2);
  border-radius: 8px;
  background: rgba(40, 102, 92, 0.08);
  color: var(--teal);
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 42px;
  padding-top: 34px;
}

.detail-project {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.detail-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(22px, 5vw, 52px);
  align-items: center;
}

.detail-lead > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-lead h2 {
  max-width: 11ch;
}

.detail-lead p:not(.eyebrow) {
  color: var(--muted);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.detail-meta span {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(40, 102, 92, 0.08);
  color: var(--teal);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.expand-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.expand-card:hover {
  border-color: rgba(40, 102, 92, 0.45);
  box-shadow: 0 12px 30px rgba(30, 35, 32, 0.1);
  transform: translateY(-2px);
}

.expand-card:hover .reference-drawing-preview::after {
  animation: lineSweep 420ms ease both;
  transform-origin: left;
}

.expand-card > span {
  font-weight: 850;
}

.expand-content {
  display: grid;
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
}

.expand-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-visual {
  grid-template-columns: 1fr 0.7fr;
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(30, 35, 32, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(30, 35, 32, 0.08) 1px, transparent 1px),
    #f4f1ea;
  background-size: 18px 18px;
}

.site-box {
  border: 2px dashed rgba(30, 35, 32, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.site-box.wide {
  grid-column: span 2;
  min-height: 42px;
}

.site-box.tall {
  min-height: 86px;
}

.site-box.small {
  min-height: 58px;
}

.site-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.mood-visual {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  background: #f6f2ea;
}

.mood-visual i {
  min-height: 62px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(30, 35, 32, 0.1);
}

.mood-visual i:nth-child(1) {
  background: var(--material-a);
}

.mood-visual i:nth-child(2) {
  background: var(--material-b);
}

.mood-visual i:nth-child(3) {
  background: var(--accent);
}

.mood-visual i:nth-child(4) {
  background: var(--material-c);
}

.mood-visual p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.cad-visual {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(52, 76, 56, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(52, 76, 56, 0.11) 1px, transparent 1px),
    #ffffff;
  background-size: 18px 18px;
  border: 1px solid #b8c6b9;
}

.cad-visual b {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 2px solid #2f8f3f;
  color: #1f2937;
  font-size: 0.72rem;
  font-family: "Segoe UI", "Arial", sans-serif;
  background: rgba(47, 143, 63, 0.05);
}

.cad-visual b:nth-child(1),
.cad-visual b:nth-child(5) {
  grid-column: span 2;
}

.elevation-visual {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 8px;
  padding: 18px 12px 12px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 14px 14px;
  border: 1px solid #6b7280;
}

.elevation-visual::before {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  border-top: 1px solid #0f172a;
  content: "";
}

.elevation-visual::after {
  position: absolute;
  left: 12px;
  bottom: 6px;
  color: #111827;
  font: 700 9px "Segoe UI", Arial, sans-serif;
  content: "ELEVATION SHEET";
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1.6px solid #0f172a;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.05) 0 2px,
      transparent 2px 8px
    ),
    #ffffff;
}

.panel::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18%;
  border-bottom: 1px solid #111827;
  background:
    repeating-linear-gradient(
      -45deg,
      #0f172a 0 1px,
      transparent 1px 5px
    ),
    #f8fafc;
  content: "";
}

.panel::after {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  border-top: 1px dashed #1f2937;
  content: "";
}

.panel.tall,
.panel.cabinet,
.panel.shelf,
.panel.mirror,
.panel.glass,
.panel.brand {
  min-height: 118px;
}

.panel.tv,
.panel.headboard,
.panel.rail,
.panel.niche {
  min-height: 82px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.02)),
    #ffffff;
}

.panel.low,
.panel.bed,
.panel.side,
.panel.counter,
.panel.tile,
.panel.desk {
  min-height: 54px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.07) 0 1px,
      transparent 1px 5px
    ),
    #ffffff;
}

.execution-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.execution-list li {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.execution-list li::before {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-weight: 900;
  counter-increment: step;
  content: "Step " counter(step);
}

.projects-close {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.projects-close h2 {
  margin: 0 auto;
}

.projects-close p {
  color: var(--muted);
}

.visual-modal {
  width: min(980px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.visual-modal[open] {
  animation: softZoom 220ms ease both;
}

.visual-modal::backdrop {
  background: rgba(30, 35, 32, 0.74);
}

.visual-modal-panel {
  padding: clamp(18px, 4vw, 32px);
  background: var(--surface);
  color: var(--ink);
}

.visual-modal-panel h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.modal-close {
  float: right;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.visual-modal-body .expand-content {
  min-height: 480px;
  font-size: 1.05rem;
}

.reference-drawing-preview {
  position: relative;
  display: block;
  min-height: 170px;
  padding: 18px;
  border: 1px solid #111827;
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    #fff;
  background-size: 12px 12px;
  color: #111827;
  isolation: isolate;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.expand-card:hover .reference-drawing-preview {
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.18);
  transform: scale(1.015);
}

.reference-drawing-preview::before {
  position: absolute;
  inset: 8px;
  border: 1px solid #111827;
  content: "";
  pointer-events: none;
}

.reference-drawing-preview::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 36px;
  height: 9px;
  border-top: 1px solid #111827;
  border-bottom: 1px solid #111827;
  background:
    repeating-linear-gradient(
      90deg,
      #111827 0 1px,
      transparent 1px 7px
    );
  content: "";
  opacity: 0.85;
}

.sheet-meta,
.sheet-titleblock {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #111827;
  background: #fff;
  color: #111827;
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.sheet-meta {
  top: 12px;
  left: 12px;
  right: 12px;
  min-height: 24px;
  padding: 4px 7px;
}

.sheet-meta strong {
  font-size: 0.68rem;
  line-height: 1;
}

.sheet-meta small,
.sheet-titleblock span {
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.sheet-titleblock {
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 22px;
  padding: 4px 7px;
}

.sheet-titleblock span:last-child {
  max-width: 60%;
  text-align: right;
}

.sheet-plan,
.sheet-elevation {
  position: absolute;
  z-index: 2;
  inset: 46px 20px 46px 30px;
}

.reference-drawing-preview i {
  position: absolute;
  display: block;
}

.modal-drawing-preview {
  min-height: min(78vh, 760px);
}

.sheet-room,
.sheet-wall,
.sheet-furniture,
.sheet-board,
.sheet-ceiling-zone,
.sheet-module,
.sheet-panel,
.sheet-elev-frame {
  border: 1.4px solid #111827;
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
  font: 800 0.45rem "Segoe UI", Arial, sans-serif;
  line-height: 1;
  text-align: center;
}

.is-visible .sheet-wall,
.visual-modal[open] .sheet-wall {
  animation: lineSweep 520ms ease both;
  transform-origin: top;
}

.is-visible .sheet-furniture,
.is-visible .sheet-panel,
.is-visible .sheet-board,
.is-visible .sheet-ceiling-zone,
.visual-modal[open] .sheet-furniture,
.visual-modal[open] .sheet-panel,
.visual-modal[open] .sheet-board,
.visual-modal[open] .sheet-ceiling-zone {
  animation: softZoom 420ms ease both;
}

.modal-drawing-preview .sheet-room,
.modal-drawing-preview .sheet-wall,
.modal-drawing-preview .sheet-furniture,
.modal-drawing-preview .sheet-board,
.modal-drawing-preview .sheet-ceiling-zone,
.modal-drawing-preview .sheet-module,
.modal-drawing-preview .sheet-panel,
.modal-drawing-preview .sheet-elev-frame {
  font-size: 0.7rem;
}

.sheet-room {
  border-width: 2px;
}

.sheet-wall {
  border: 0;
  border-left: 1.8px solid #111827;
}

.horizontal-wall {
  border-left: 0;
  border-top: 1.8px solid #111827;
}

.sheet-furniture,
.sheet-board,
.sheet-panel,
.sheet-module {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(17, 24, 39, 0.08) 0 1px,
      transparent 1px 6px
    ),
    #fff;
}

.round-furniture {
  border-radius: 999px;
}

.sheet-door {
  width: 14%;
  height: 16%;
  border-right: 1.4px dashed #111827;
  border-bottom: 1.4px dashed #111827;
  border-radius: 0 0 999px 0;
}

.door-alt {
  transform: rotate(-90deg);
}

.sheet-dim {
  border-color: #111827;
  border-style: solid;
}

.dim-top {
  border-width: 1px 0 0;
}

.dim-left {
  border-width: 0 0 0 1px;
}

.sheet-wire,
.sheet-pipe,
.sheet-strip,
.sheet-legend-line {
  border-top: 1.5px solid #111827;
}

.sheet-wire,
.dashed {
  border-style: dashed;
}

.vertical-wire,
.vertical-pipe {
  border-top: 0;
  border-left: 1.5px solid #111827;
}

.sheet-pipe {
  border-top-width: 2px;
}

.hot-pipe {
  border-style: dashed;
}

.sheet-elec-point,
.sheet-light,
.sheet-fixture,
.sheet-tag {
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  border: 1.3px solid #111827;
  border-radius: 999px;
  background: #fff;
  font: 800 0.42rem "Segoe UI", Arial, sans-serif;
  line-height: 1;
}

.modal-drawing-preview .sheet-elec-point,
.modal-drawing-preview .sheet-light,
.modal-drawing-preview .sheet-fixture,
.modal-drawing-preview .sheet-tag {
  width: 18px;
  height: 18px;
  font-size: 0.62rem;
}

.sheet-board {
  min-width: 22px;
  min-height: 14px;
}

.sheet-ceiling-zone {
  border-style: dashed;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(17, 24, 39, 0.12) 0 1px,
      transparent 1px 7px
    ),
    #fff;
}

.sheet-strip {
  border-top-width: 2.4px;
}

.sheet-legend-line {
  height: 0;
}

.sheet-elev-frame {
  background: #fff;
}

.sheet-hatch {
  height: 10px;
  border: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      #111827 0 1px,
      transparent 1px 6px
    );
}

.sheet-arrow {
  width: 24px;
  height: 1px;
  background: #111827;
}

.sheet-arrow::after {
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #111827;
  border-right: 1px solid #111827;
  content: "";
  transform: rotate(45deg);
}

.room {
  border: 1.4px solid #111827;
  background: rgba(255, 255, 255, 0.62);
}

.room-a {
  left: 2%;
  top: 2%;
  width: 33%;
  height: 44%;
}

.room-b {
  left: 35%;
  top: 2%;
  width: 27%;
  height: 44%;
}

.room-c {
  left: 62%;
  top: 2%;
  width: 34%;
  height: 44%;
}

.room-d {
  left: 2%;
  top: 46%;
  width: 25%;
  height: 48%;
}

.room-e {
  left: 27%;
  top: 46%;
  width: 35%;
  height: 48%;
}

.room-f {
  left: 62%;
  top: 46%;
  width: 34%;
  height: 48%;
}

.furn {
  border: 1.1px solid #111827;
  background: rgba(17, 24, 39, 0.04);
}

.furn.sofa {
  left: 34%;
  top: 58%;
  width: 24%;
  height: 14%;
}

.furn.table {
  left: 43%;
  top: 74%;
  width: 10%;
  height: 10%;
  border-radius: 999px;
}

.furn.bed {
  left: 66%;
  top: 12%;
  width: 24%;
  height: 23%;
}

.furn.desk {
  left: 8%;
  top: 16%;
  width: 20%;
  height: 8%;
}

.door {
  border: 0;
  border-right: 1.2px dashed #111827;
  border-bottom: 1.2px dashed #111827;
  border-radius: 0 0 80px 0;
}

.door-a {
  left: 28%;
  top: 43%;
  width: 16%;
  height: 18%;
}

.door-b {
  left: 58%;
  top: 44%;
  width: 14%;
  height: 16%;
}

.door-c {
  left: 48%;
  bottom: 0;
  width: 16%;
  height: 18%;
}

.dim {
  border-color: #111827;
  border-style: solid;
}

.dim-x {
  left: 3%;
  top: -9%;
  width: 92%;
  border-width: 1px 0 0;
}

.dim-y {
  left: -8%;
  top: 4%;
  height: 88%;
  border-width: 0 0 0 1px;
}

.wire {
  border-color: #111827;
  border-style: dashed;
}

.wire-a {
  left: 8%;
  top: 18%;
  width: 75%;
  border-width: 1px 0 0;
}

.wire-b {
  left: 22%;
  top: 18%;
  height: 62%;
  border-width: 0 0 0 1px;
}

.wire-c {
  left: 52%;
  top: 18%;
  height: 62%;
  border-width: 0 0 0 1px;
}

.point {
  width: 10px;
  height: 10px;
  border: 1.4px solid #111827;
  border-radius: 999px;
  background: #fff;
}

.point-a {
  left: 10%;
  top: 15%;
}

.point-b {
  left: 40%;
  top: 15%;
}

.point-c {
  left: 78%;
  top: 15%;
}

.point-d {
  left: 22%;
  top: 70%;
}

.point-e {
  left: 52%;
  top: 70%;
}

.board {
  width: 18px;
  height: 12px;
  border: 1.4px solid #111827;
  background: #fff;
}

.board-a {
  right: 7%;
  bottom: 14%;
}

.ceiling {
  border: 1.2px dashed #111827;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(17, 24, 39, 0.16) 0 1px,
      transparent 1px 7px
    );
}

.ceiling-a {
  left: 6%;
  top: 8%;
  width: 34%;
  height: 28%;
}

.ceiling-b {
  left: 45%;
  top: 8%;
  width: 40%;
  height: 28%;
}

.ceiling-c {
  left: 18%;
  top: 52%;
  width: 60%;
  height: 28%;
}

.light {
  width: 9px;
  height: 9px;
  border: 1.3px solid #111827;
  border-radius: 999px;
  background: #fff;
}

.light-a {
  left: 16%;
  top: 17%;
}

.light-b {
  left: 30%;
  top: 17%;
}

.light-c {
  left: 55%;
  top: 17%;
}

.light-d {
  left: 72%;
  top: 17%;
}

.strip {
  border-top: 2px solid #111827;
}

.strip-a {
  left: 22%;
  top: 67%;
  width: 20%;
}

.strip-b {
  left: 52%;
  top: 67%;
  width: 20%;
}

.pipe {
  border-color: #111827;
  border-style: solid;
}

.pipe-a {
  left: 10%;
  top: 62%;
  width: 70%;
  border-width: 2px 0 0;
}

.pipe-b {
  left: 78%;
  top: 28%;
  height: 36%;
  border-width: 0 0 0 2px;
}

.pipe-c {
  left: 20%;
  top: 38%;
  height: 26%;
  border-width: 0 0 0 1px;
  border-style: dashed;
}

.fixture {
  width: 16px;
  height: 16px;
  border: 1.4px solid #111827;
  border-radius: 999px;
  background: #fff;
}

.fixture-a {
  left: 17%;
  top: 55%;
}

.fixture-b {
  left: 74%;
  top: 22%;
}

.fixture-c {
  left: 74%;
  top: 55%;
}

.legend-line {
  right: 6%;
  width: 34px;
  border-top: 1.4px solid #111827;
}

.legend-a {
  bottom: 28%;
}

.legend-b {
  bottom: 22%;
  border-style: dashed;
}

.legend-c {
  bottom: 16%;
  border-width: 2px 0 0;
}

.sheet-elevation {
  inset: 44px 20px 48px;
}

.elev {
  border: 1.5px solid #111827;
  background:
    linear-gradient(90deg, transparent 49%, rgba(17, 24, 39, 0.35) 50%, transparent 51%),
    #fff;
}

.elev-a {
  left: 2%;
  top: 2%;
  width: 45%;
  height: 42%;
}

.elev-b {
  right: 2%;
  top: 2%;
  width: 45%;
  height: 42%;
}

.elev-c {
  left: 8%;
  bottom: 2%;
  width: 84%;
  height: 42%;
}

.hatch {
  height: 12px;
  background:
    repeating-linear-gradient(
      -45deg,
      #111827 0 1px,
      transparent 1px 5px
    );
}

.hatch-a {
  left: 2%;
  top: 2%;
  width: 45%;
}

.hatch-b {
  right: 2%;
  top: 2%;
  width: 45%;
}

.module {
  border: 1.2px solid #111827;
  background: rgba(17, 24, 39, 0.03);
}

.module-a {
  left: 12%;
  top: 23%;
  width: 26%;
  height: 13%;
}

.module-b {
  right: 14%;
  top: 16%;
  width: 23%;
  height: 23%;
}

.module-c {
  left: 36%;
  bottom: 14%;
  width: 26%;
  height: 13%;
}

.annotation {
  width: 1px;
  background: #111827;
}

.annotation-a {
  left: 18%;
  top: -4%;
  height: 22%;
}

.annotation-b {
  left: 62%;
  top: -4%;
  height: 22%;
}

.annotation-c {
  left: 48%;
  bottom: 25%;
  height: 18%;
}

.height {
  border-left: 1px solid #111827;
}

.height-a {
  left: -2%;
  top: 3%;
  height: 40%;
}

.height-b {
  left: 3%;
  bottom: 3%;
  height: 40%;
}

.visual-modal-body .mood-visual i {
  min-height: 220px;
}

.projects-hero-2bhk {
  background:
    linear-gradient(90deg, rgba(30, 35, 32, 0.8), rgba(30, 35, 32, 0.26)),
    url("assets/sample-residential-bedroom.png") center/cover;
}

.flagship-section {
  background: #f7f4ee;
}

.flagship-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto 24px;
}

.flagship-meta span {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(40, 102, 92, 0.08);
  color: var(--teal);
  font-weight: 800;
}

.four-view-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.four-view-grid .expand-card {
  min-height: 248px;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 14px auto 0;
}

.technical-card {
  min-height: 260px;
}

.drawing-sheet {
  border: 1px solid #afbaa5;
  background:
    linear-gradient(90deg, rgba(70, 102, 74, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(70, 102, 74, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px rgba(236, 244, 232, 0.8);
}

.drawing-sheet svg {
  width: 100%;
  height: 100%;
  shape-rendering: geometricPrecision;
}

.dwg-border {
  fill: #ffffff;
  stroke: #8ea18f;
  stroke-width: 2;
}

.dwg-room {
  fill: none;
  stroke: #d62828;
  stroke-width: 3.2;
  stroke-linejoin: miter;
}

.dwg-furn {
  fill: rgba(47, 143, 63, 0.08);
  stroke: #2f8f3f;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.dwg-line {
  stroke: #2353c5;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.dwg-wire {
  fill: none;
  stroke: #2353c5;
  stroke-width: 1.6;
  stroke-dasharray: 7 4;
  stroke-linecap: round;
}

.dwg-symbol {
  fill: #ffffff;
  stroke: #7c3aed;
  stroke-width: 2.2;
}

.dwg-label {
  fill: #1f2937;
  font: 700 13px "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.dwg-title {
  fill: #111827;
  font: 800 15px "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.dwg-ceiling {
  fill: rgba(124, 58, 237, 0.06);
  stroke: #7c3aed;
  stroke-width: 1.9;
  stroke-dasharray: 8 4;
}

.dwg-light {
  fill: #ffffff;
  stroke: #f59e0b;
  stroke-width: 2.3;
}

.dwg-strip {
  stroke: #7c3aed;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.dwg-plumb {
  fill: rgba(14, 165, 233, 0.09);
  stroke: #0891b2;
  stroke-width: 2.6;
}

.dwg-pipe {
  fill: none;
  stroke: #0284c7;
  stroke-width: 2.8;
  stroke-linecap: round;
}

.dwg-pipe.hot {
  stroke: #dc2626;
}

.dwg-pipe.waste {
  stroke: #111827;
}

.dwg-elev-outline {
  fill: #ffffff;
  stroke: #111827;
  stroke-width: 2;
}

.dwg-elev-upper {
  fill: #f7f7f7;
  stroke: #111827;
  stroke-width: 1.4;
}

.dwg-elev-lower {
  fill: #fafafa;
  stroke: #111827;
  stroke-width: 1.4;
}

.dwg-elev-appliance {
  fill: none;
  stroke: #111827;
  stroke-width: 1.3;
}

.dwg-elev-dim {
  fill: none;
  stroke: #0f172a;
  stroke-width: 1.15;
}

.dwg-elev-guide {
  fill: none;
  stroke: #374151;
  stroke-width: 1;
  stroke-dasharray: 4 3;
}

.dwg-dim {
  stroke: #5f8f2f;
  stroke-width: 1.4;
  stroke-dasharray: 5 3;
}

.dwg-watermark {
  fill: rgba(15, 23, 42, 0.07);
  font: 800 70px "Segoe UI", Arial, sans-serif;
}

.dwg-roomname {
  fill: #0f172a;
  font: 800 11px "Segoe UI", Arial, sans-serif;
}

.dwg-note {
  fill: #334155;
  font: 700 10.5px "Segoe UI", Arial, sans-serif;
}

.dwg-marker {
  fill: #ef4444;
  stroke: #991b1b;
  stroke-width: 1.8;
}

.flagship-moodboard {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flagship-moodboard h3 {
  margin: 0;
}

.mood-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.mood-strip span {
  min-height: 62px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(30, 35, 32, 0.1);
}

.flagship-moodboard p {
  margin: 14px 0 0;
  color: var(--muted);
}

.execution-list.long {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 16px auto 0;
}

.summary-section {
  background: #eef3ea;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.summary-grid article {
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 96px;
}

.summary-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.summary-grid h3,
.summary-grid p {
  margin-left: 14px;
  margin-right: 14px;
}

.summary-grid h3 {
  margin-top: 12px;
}

.summary-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.summary-grid a {
  display: inline-flex;
  margin: 8px 14px 14px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-sheets {
  background: #f4f1ea;
}

.project-entry {
  max-width: 1180px;
  margin: 0 auto 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 96px;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.project-entry[open] {
  border-color: rgba(40, 102, 92, 0.35);
  box-shadow: 0 14px 32px rgba(30, 35, 32, 0.09);
}

.project-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.project-entry summary::-webkit-details-marker {
  display: none;
}

.project-entry summary span {
  font-size: 1.1rem;
  font-weight: 850;
}

.project-entry summary small {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-entry[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fbfaf6;
}

.project-entry-body {
  padding: 14px;
  animation: fadeSlideUp 260ms ease both;
}

.project-entry-body > p {
  margin: 0;
  color: var(--muted);
}

.entry-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.entry-nav {
  margin: 12px 0 2px;
}

.entry-nav a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 16px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 96px;
}

.detail-sheet img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.detail-sheet h3 {
  margin-bottom: 10px;
}

.detail-sheet p {
  margin: 0;
  color: var(--muted);
}

.detail-sheet a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card,
.timeline article,
.project-card,
.testimonial-grid article,
.summary-grid article,
.project-entry,
.detail-sheet,
.pipeline-case,
.case-layout,
.technical-card,
.four-view-grid .expand-card {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .section-grid,
  .contact-section,
  .section-heading.split,
  .case-layout,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .case-section .section-heading .button {
    justify-self: start;
  }

  .case-visual {
    min-height: 390px;
  }

  .pipeline-case,
  .pipeline-case.reverse {
    grid-template-columns: 1fr;
  }

  .pipeline-case.reverse .pipeline-image {
    order: 0;
  }

  .detail-lead,
  .detail-grid,
  .execution-list {
    grid-template-columns: 1fr 1fr;
  }

  .four-view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-panel {
    position: static;
  }

  .detail-sheet {
    grid-template-columns: 1fr;
  }

  .entry-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .timeline,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-card {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding-inline: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .pipeline-page .site-nav,
  .project-detail-page .site-nav,
  .visit-page .site-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .pipeline-page .site-nav a,
  .visit-page .site-nav a {
    padding: 8px;
  }

  .site-header.open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 84svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(19, 27, 24, 0.72) 0%, rgba(19, 27, 24, 0.44) 48%, rgba(19, 27, 24, 0.72) 100%),
      linear-gradient(90deg, rgba(19, 27, 24, 0.58), rgba(19, 27, 24, 0.12));
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    padding: 100px 20px 46px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .service-grid,
  .timeline,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline article {
    min-height: auto;
  }

  .service-card span,
  .timeline span {
    margin-bottom: 28px;
  }

  .contact-form {
    padding: 18px;
  }

  .case-copy {
    padding: 24px;
  }

  .case-visual {
    min-height: 310px;
  }

  .pipeline-hero {
    min-height: 70svh;
    padding: 108px 20px 52px;
  }

  .pipeline-hero h1,
  .visit-hero h1,
  .visit-intro h1 {
    max-width: 9ch;
  }

  .visit-section {
    padding-top: 88px;
  }

  .visit-intro {
    margin-bottom: 22px;
  }

  .form-grid.two,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .detail-lead,
  .detail-grid,
  .execution-list {
    grid-template-columns: 1fr;
  }

  .four-view-grid,
  .technical-grid,
  .summary-grid,
  .execution-list.long {
    grid-template-columns: 1fr;
  }

  .entry-visual-grid {
    grid-template-columns: 1fr;
  }

  .expand-card {
    min-height: 180px;
  }

  .visual-modal-body .expand-content {
    min-height: 320px;
  }

  .site-footer {
    display: grid;
  }
}
