* {
  box-sizing: border-box;
}

:root {
  --app-height: 100dvh;
}

html {
  min-height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: var(--app-height);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: #555;
  background: #fff;
  font-family: Inter, Arial, sans-serif;
}

img,
iframe {
  max-width: 100%;
}

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

.about-page {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  color: #2b2722;
  background: #fff;
}

.about-main {
  display: block;
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 86px) clamp(18px, 4.5vw, 86px) clamp(52px, 6vw, 110px);
}

.about-hero {
  max-width: 1120px;
  margin: 0 auto clamp(32px, 4.5vw, 70px);
  text-align: center;
  animation: aboutFadeUp 0.7s ease both;
}

.about-hero p,
.founders-copy p,
.team-heading p {
  margin: 0 0 12px;
  color: #8b6a48;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;
  color: #15120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 6.2rem);
  font-weight: 500;
  line-height: 0.98;
}

.about-hero span {
  display: block;
  max-width: 780px;
  margin-top: 24px;
  color: #60584f;
  font-size: clamp(1rem, 1.25vw, 1.32rem);
  line-height: 1.65;
}

.founders-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(360px, 1fr) minmax(210px, 0.72fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  margin-bottom: clamp(52px, 7vw, 124px);
  animation: aboutFadeUp 0.8s ease 0.08s both;
  isolation: isolate;
}

.about-image-panel,
.team-image {
  overflow: hidden;
  border-radius: 18px;
  background: #e9e2d8;
  box-shadow: 0 24px 70px rgba(31, 27, 22, 0.12);
}

.about-image-panel img,
.team-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-panel {
  aspect-ratio: 4 / 3;
}

.founder-photo-panel {
  position: relative;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  width: min(100%, 340px);
  z-index: 2;
}

.founders-section::before {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: -2;
  width: min(68vw, 920px);
  height: min(22vw, 260px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(248, 244, 237, 0.9) 6% 94%, transparent 94%),
    linear-gradient(180deg, transparent 0 50%, rgba(139, 106, 72, 0.14) 50% calc(50% + 1px), transparent calc(50% + 1px));
  content: "";
  transform: translate(-50%, -50%);
}

.founders-section::after {
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 12%;
  z-index: -2;
  width: min(52vw, 720px);
  border-top: 1px solid rgba(31, 27, 22, 0.12);
  border-bottom: 1px solid rgba(31, 27, 22, 0.12);
  content: "";
  transform: translateX(-50%);
}

.founder-photo-panel::before,
.founder-photo-panel::after {
  position: absolute;
  z-index: -1;
  border-color: rgba(139, 106, 72, 0.32);
  content: "";
  pointer-events: none;
}

.founder-photo-panel::before {
  top: clamp(16px, 2vw, 34px);
  right: clamp(-14px, -1vw, -8px);
  bottom: clamp(-14px, -1vw, -8px);
  left: clamp(14px, 2vw, 32px);
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.founder-photo-left::before {
  right: clamp(14px, 2vw, 32px);
  left: clamp(-14px, -1vw, -8px);
  border-right: 0;
  border-left: 1px solid;
}

.founder-photo-panel::after {
  display: none;
}

.founder-photo-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  border: 0;
  border-radius: 0;
  box-shadow: 0 28px 72px rgba(31, 27, 22, 0.13);
  object-fit: cover;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.founder-photo-panel.founder-photo-left {
  justify-self: end;
  --base-transform: translateX(clamp(24px, 4vw, 82px)) rotate(-2deg);
  transform: var(--base-transform);
}

.founder-photo-panel.founder-photo-right {
  justify-self: start;
  --base-transform: translateX(clamp(-82px, -4vw, -24px)) rotate(2deg);
  transform: var(--base-transform);
}

.founder-photo-right img {
  aspect-ratio: 5 / 6;
  border: 0;
  border-radius: 0;
}

.founder-photo-panel:hover img {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 28px 78px rgba(31, 27, 22, 0.16);
}

.scroll-reveal {
  --base-transform: translate(0, 0);
  --reveal-x: 0px;
  --reveal-y: 34px;
  animation: none;
  opacity: 0;
  transform: var(--base-transform) translate(var(--reveal-x), var(--reveal-y));
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.scroll-reveal.reveal-from-left {
  --reveal-x: -42px;
  --reveal-y: 0px;
}

.scroll-reveal.reveal-from-right {
  --reveal-x: 42px;
  --reveal-y: 0px;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: var(--base-transform) translate(0, 0);
}

.founders-copy h2,
.team-heading h2 {
  margin: 0;
  color: #15120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
}

.founders-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0;
  padding: clamp(28px, 4vw, 58px) clamp(22px, 4vw, 64px);
  text-align: center;
}

.founders-copy > span {
  display: block;
  margin-top: 20px;
  color: #655c52;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.75;
}

.team-heading span {
  display: block;
  max-width: 760px;
  margin: 18px auto 0;
  color: #655c52;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
}

.team-heading {
  text-align: center;
  animation: aboutFadeUp 0.8s ease 0.14s both;
}

.founder-list,
.team-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 42px);
}

.founder-list article,
.team-grid article {
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.founder-list strong,
.team-grid strong {
  display: block;
  color: #1f1b16;
  font-size: clamp(1.04rem, 1.2vw, 1.28rem);
}

.founder-list span,
.team-grid span {
  display: block;
  margin-top: 8px;
  color: #655c52;
  line-height: 1.55;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(24px, 4vw, 64px);
}

.team-image {
  aspect-ratio: 4 / 3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-page .site-header {
  min-height: clamp(76px, 5.5vw, 108px);
}

.about-main {
  padding-top: clamp(24px, 3vw, 52px);
}

.about-hero {
  margin-bottom: clamp(22px, 3vw, 42px);
}

.about-hero h1 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
}

.founders-section {
  grid-template-columns: repeat(2, minmax(180px, 260px));
  gap: clamp(22px, 3vw, 48px);
  justify-content: center;
  align-items: start;
  margin-bottom: clamp(44px, 5vw, 82px);
}

.founders-section::before,
.founders-section::after {
  display: none;
}

.founder-card {
  width: 100%;
  text-align: center;
}

.founder-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: #f2eee8;
  box-shadow: 0 12px 34px rgba(31, 27, 22, 0.1);
}

.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo-placeholder {
  border: 1px solid rgba(31, 27, 22, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(222, 214, 202, 0.72)),
    linear-gradient(45deg, transparent 49.6%, rgba(139, 106, 72, 0.22) 49.8%, rgba(139, 106, 72, 0.22) 50.2%, transparent 50.4%);
}

.founder-photo-placeholder span {
  color: #7a6b5a;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder-card h3,
.team-member h3 {
  margin: 14px 0 0;
  color: #1f1b16;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  font-weight: 600;
  line-height: 1.2;
}

.founder-card p,
.team-member p {
  margin: 7px 0 0;
  color: #655c52;
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
  font-weight: 500;
  line-height: 1.35;
}

.team-member p + p {
  margin-top: 3px;
}

.team-section {
  max-width: 920px;
  margin: 0 auto;
}

.company-about {
  max-width: 860px;
  margin: 0 auto clamp(46px, 5vw, 82px);
  text-align: center;
}

.company-about h2 {
  margin: 0;
  color: #1f1b16;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}

.company-about p {
  margin: 18px auto 0;
  color: #655c52;
  font-size: clamp(0.98rem, 1.1vw, 1.15rem);
  font-weight: 500;
  line-height: 1.7;
}

.team-heading h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.65rem, 3vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: clamp(22px, 2.5vw, 36px);
}

.team-grid .team-member {
  padding: clamp(12px, 1.4vw, 18px);
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 27, 22, 0.06);
  text-align: center;
}

.team-photo {
  aspect-ratio: 4 / 5;
  box-shadow: 0 10px 28px rgba(31, 27, 22, 0.08);
}

.team-photo.founder-photo-placeholder span {
  margin: 0;
  color: #7a6b5a;
  font-size: clamp(0.86rem, 1vw, 1.05rem);
  line-height: 1;
}

.projects-page .project-filter,
.projects-page .projects-grid,
.contact-page .contact-topline,
.contact-page .contact-grid,
.contact-page .contact-social-bottom,
.contact-page .contact-footer {
  animation: aboutFadeUp 0.8s ease both;
}

.projects-page .projects-grid,
.contact-page .contact-grid {
  animation-delay: 0.1s;
}

.contact-page .contact-social-bottom,
.contact-page .contact-footer {
  animation-delay: 0.16s;
}

.contact-page .location-card,
.contact-page .contact-form,
.contact-page .contact-location,
.contact-page .contact-note {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-page .location-card:hover,
.contact-page .contact-form:hover,
.contact-page .contact-location:hover,
.contact-page .contact-note:hover {
  transform: translateY(-4px);
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero,
  .founders-section,
  .team-heading,
  .projects-page .project-filter,
  .projects-page .projects-grid,
  .contact-page .contact-topline,
  .contact-page .contact-grid,
  .contact-page .contact-social-bottom,
  .contact-page .contact-footer,
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .site-header,
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) main,
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .carousel-btn,
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .carousel-dots,
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .site-footer,
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .slide.is-active {
    animation: none;
  }

  .founder-photo-panel img,
  .scroll-reveal,
  .project-gallery-track,
  .project-gallery-track img,
  .contact-page .location-card,
  .contact-page .contact-form,
  .contact-page .contact-location,
  .contact-page .contact-note {
    transition: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .founder-photo-panel:hover img,
  .project-gallery-track img,
  .project-gallery-track img:hover,
  .contact-page .location-card:hover,
  .contact-page .contact-form:hover,
  .contact-page .contact-location:hover,
  .contact-page .contact-note:hover {
    animation: none;
    transform: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(10px, 1.1vw, 18px) clamp(16px, 2vw, 42px) clamp(8px, 0.9vw, 14px);
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(118px, 11vw, 170px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.6vw, 46px);
  color: #646464;
  font-size: clamp(0.92rem, 1vw, 1.22rem);
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

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

.site-nav a:hover {
  color: #111;
}

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

.site-nav a.is-active {
  color: #111;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #444;
  transition: transform 220ms ease, opacity 160ms ease, background 180ms ease;
}

.menu-toggle:hover {
  border-color: rgba(0, 0, 0, 0.22);
  background: #fff;
  transform: translateY(-1px);
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 clamp(16px, 2vw, 42px);
}

body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) {
  height: var(--app-height);
  min-height: var(--app-height);
  overflow: hidden;
}

.contact-page {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  color: #201d19;
  background:
    radial-gradient(circle at 10% 12%, rgba(191, 146, 88, 0.16), transparent 28%),
    linear-gradient(135deg, #fbf7ef 0%, #f5efe3 46%, #ebe0cf 100%);
}

.contact-page .site-header {
  padding-bottom: clamp(12px, 1.2vw, 20px);
}

.contact-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.contact-header .site-nav {
  justify-content: center;
}

.header-social {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  color: #211911;
}

.header-social a {
  font-size: clamp(1.2rem, 1.45vw, 1.6rem);
  transition: color 180ms ease, transform 180ms ease;
}

.header-social a:hover {
  color: #9b6a2e;
  transform: translateY(-1px);
}

.contact-main {
  display: block;
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 68px) clamp(16px, 3vw, 56px) clamp(36px, 5vw, 84px);
}

.contact-hero {
  max-width: 860px;
  margin: 0 auto clamp(24px, 3vw, 44px);
  text-align: center;
}

.eyebrow,
.form-heading p,
.location-copy p {
  margin: 0 0 10px;
  color: #9b6a2e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0;
  color: #17120d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 6.6rem);
  font-weight: 500;
  line-height: 0.95;
}

.contact-intro {
  max-width: 660px;
  margin: 22px auto 0;
  color: #655a4c;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.65;
}

.contact-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto clamp(28px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(72, 53, 31, 0.16);
  border-radius: 8px;
  background: rgba(72, 53, 31, 0.16);
  box-shadow: 0 20px 60px rgba(54, 38, 18, 0.11);
}

.contact-highlights article {
  min-height: 118px;
  padding: clamp(22px, 2vw, 32px);
  background: rgba(255, 252, 246, 0.82);
}

.contact-highlights span,
.contact-highlights strong,
.contact-highlights a {
  display: block;
}

.contact-highlights span {
  margin-bottom: 10px;
  color: #8b7a66;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-highlights strong,
.contact-highlights a {
  color: #211911;
  font-size: clamp(1rem, 1.15vw, 1.24rem);
  font-weight: 700;
}

.contact-social {
  display: flex;
  gap: 18px;
}

.contact-social a {
  color: #211911;
  font-size: 1.45rem;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-social a:hover {
  color: #9b6a2e;
  transform: translateY(-2px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(420px, 1.28fr) minmax(260px, 0.88fr);
  gap: clamp(18px, 2vw, 34px);
  align-items: stretch;
}

.location-card,
.contact-form {
  border: 1px solid rgba(74, 53, 32, 0.17);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.84);
  box-shadow: 0 22px 70px rgba(55, 36, 16, 0.12);
}

.location-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
}

.location-copy {
  padding: clamp(22px, 2vw, 34px);
}

.location-copy h2,
.form-heading h2 {
  margin: 0;
  color: #17120d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  font-weight: 500;
}

.location-copy span {
  display: block;
  margin-top: 12px;
  color: #766957;
  font-size: 0.98rem;
  line-height: 1.55;
}

.map-frame {
  position: relative;
  flex: 1;
  min-height: 360px;
  background: #e7ddcf;
}

.map-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.12), rgba(155, 106, 46, 0.18));
  content: "";
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.88) contrast(1.03) sepia(0.12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3vw, 52px);
}

.form-heading {
  margin-bottom: 6px;
  text-align: center;
}

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

.contact-form label {
  display: grid;
  gap: 9px;
  color: #211911;
  font-size: 0.96rem;
  font-weight: 800;
}

.contact-form label span {
  color: #8d8172;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(50, 35, 18, 0.3);
  border-radius: 6px;
  color: #211911;
  background: rgba(255, 255, 255, 0.68);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input {
  height: 52px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 168px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9b6a2e;
  background: #fffdf9;
  box-shadow: 0 0 0 4px rgba(155, 106, 46, 0.16);
}

.contact-form button {
  align-self: flex-end;
  min-width: 168px;
  min-height: 54px;
  border: 1px solid #2a2119;
  border-radius: 0;
  color: #fffaf2;
  background: #211911;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-form button:hover {
  background: #9b6a2e;
  box-shadow: 0 14px 30px rgba(155, 106, 46, 0.24);
  transform: translateY(-2px);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.form-status {
  min-height: 1.35em;
  margin: -6px 0 0;
  color: #5d554c;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status.is-success {
  color: #286c3f;
}

.form-status.is-error {
  color: #9d2b2b;
}

.contact-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
  padding: 22px clamp(16px, 3vw, 56px) 30px;
  color: #2c241d;
}

.contact-footer strong {
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
}

.contact-footer span {
  text-align: center;
}

.contact-footer a {
  text-align: right;
  font-weight: 700;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #eee;
}

.carousel,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.slide.is-active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(28px, 2.6vw, 42px);
  height: clamp(28px, 2.6vw, 42px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(55, 55, 55, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
  background: rgba(25, 25, 25, 0.72);
  transform: translateY(-50%) scale(1.04);
}

.carousel-btn span {
  display: block;
  margin-top: -3px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.75;
}

.carousel-btn-prev {
  left: clamp(18px, 2.2vw, 54px);
}

.carousel-btn-next {
  right: clamp(18px, 2.2vw, 54px);
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 1.5vw, 26px);
  z-index: 3;
  display: flex;
  justify-content: center;
  width: 100%;
  gap: clamp(12px, 1.8vw, 32px);
}

.dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.dot.is-active,
.dot:hover {
  background: rgba(255, 255, 255, 0.96);
}

.dot.is-active {
  transform: scale(1.12);
}

.site-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(10px, 1.2vw, 18px) clamp(16px, 2vw, 42px) calc(clamp(10px, 1.2vw, 18px) + env(safe-area-inset-bottom));
}

.email-link {
  color: #626262;
  font-size: clamp(0.9rem, 1vw, 1.18rem);
  font-weight: 600;
}

.site-footer .copyright {
  color: #626262;
  font-size: clamp(0.76rem, 0.82vw, 0.92rem);
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.2vw, 44px);
}

.social-links a {
  display: grid;
  place-items: center;
  width: clamp(26px, 2vw, 34px);
  height: clamp(26px, 2vw, 34px);
  color: #555;
  transition: color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  color: #111;
  transform: translateY(-1px);
}

.social-links svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-links i {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1;
}

body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .site-header {
  animation: aboutFadeUp 0.7s ease both;
}

body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) main {
  animation: aboutFadeUp 0.8s ease 0.08s both;
}

body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .carousel-btn,
body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .carousel-dots,
body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .site-footer {
  animation: aboutFadeUp 0.8s ease 0.16s both;
}

body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .slide.is-active {
  animation: homeSlideFocus 4.2s ease both;
}

@keyframes homeSlideFocus {
  from {
    transform: scale(1.025);
  }
  to {
    transform: scale(1);
  }
}

.projects-page {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  color: #555;
  background: #fff;
}

.projects-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: clamp(86px, 6vw, 118px);
  padding: clamp(18px, 1.8vw, 34px) clamp(22px, 3vw, 58px) clamp(12px, 1.2vw, 22px);
  background: rgba(255, 255, 255, 0.98);
}

.projects-page .brand {
  width: clamp(128px, 10vw, 182px);
}

.projects-page .menu-toggle {
  display: none;
}

.projects-page .menu-toggle span {
  height: 2px;
  margin: 5px 0;
  background: #333;
}

.projects-page .site-nav {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(26px, 2.6vw, 52px);
  padding: 0;
  border: 0;
  color: #606060;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1rem, 1.05vw, 1.24rem);
}

.projects-page .site-nav a.is-active {
  color: #111;
}

.projects-page .site-header.nav-open .site-nav {
  display: flex;
}

.projects-main {
  display: block;
  width: min(100%, 1660px);
  margin: 0 auto;
  min-height: 0;
  padding: 0 clamp(22px, 4.5vw, 86px) clamp(58px, 6vw, 110px);
}

.project-filter {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.3vw, 68px);
  min-height: clamp(76px, 6vw, 126px);
  color: #a0a0a0;
  font-size: clamp(1rem, 1.12vw, 1.3rem);
  font-weight: 600;
}

.project-filter button {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.project-filter button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 6px;
}

.project-filter button:hover,
.project-filter button.is-active {
  color: #111;
}

.project-filter button:hover {
  transform: translateY(-1px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 2.3vw, 48px);
  row-gap: clamp(44px, 4.4vw, 84px);
  width: 100%;
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #5b5b5b;
  text-align: center;
  transition: opacity 240ms ease, transform 240ms ease;
}

.project-card.is-filter-animated {
  animation: projectCardReveal 0.55s ease both;
}

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

.project-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 620ms ease, filter 620ms ease;
}

.project-info,
.project-info strong,
.project-info small {
  display: block;
}

.project-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.project-info strong {
  color: #fff;
  font-size: clamp(1.15rem, 1.28vw, 1.54rem);
  font-weight: 700;
  line-height: 1.28;
}

.project-info small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.08vw, 1.28rem);
  font-weight: 700;
  line-height: 1.25;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
}

.project-card:hover .project-info,
.project-card:focus-visible .project-info {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover img,
.project-card:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.08);
}

.project-card:focus-visible {
  outline: 3px solid #111;
  outline-offset: 6px;
}

@keyframes projectCardReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (hover: none) {
  .project-info {
    inset: auto 0 0;
    padding: 18px 14px;
    opacity: 1;
    transform: none;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  }

  .project-info strong {
    font-size: 0.95rem;
  }

  .project-info small {
    margin-top: 5px;
    font-size: 0.82rem;
  }
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 2.3vw, 48px);
  bottom: clamp(22px, 2.9vw, 62px);
  z-index: 25;
  display: grid;
  place-items: center;
  width: clamp(56px, 4.8vw, 86px);
  height: clamp(56px, 4.8vw, 86px);
  border-radius: 50%;
  color: #fff;
  background: #31d35b;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  font-size: clamp(2rem, 2.8vw, 3.3rem);
  transition: background 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover {
  background: #23bf4a;
  transform: translateY(-3px);
}

.project-detail-page {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  color: #666;
  background: #fff;
}

.project-detail-page .site-header {
  min-height: auto;
  background: #fff;
}

.project-detail-main {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

.project-detail-title {
  width: min(100% - clamp(34px, 10vw, 260px), 1600px);
  margin: clamp(9px, 1.2vw, 21px) auto clamp(4px, 0.55vw, 9px);
}

.project-detail-title h1 {
  margin: 0;
  color: #3f3f3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.1vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.project-hero-detail {
  width: 100%;
  padding: clamp(28px, 3vw, 54px);
  margin: 0 0 clamp(42px, 4.5vw, 82px);
  background: #fff;
}

.project-hero-detail img {
  display: block;
  width: 100%;
  height: clamp(430px, 45vw, 900px);
  object-fit: cover;
  object-position: center;
}

.project-detail-section {
  width: min(100% - clamp(34px, 10vw, 260px), 1600px);
  margin: 0 auto clamp(48px, 5.2vw, 96px);
}

.project-detail-section h1,
.project-detail-section h2 {
  margin: 0 0 clamp(22px, 2vw, 38px);
  color: #4d4d4d;
  font-size: clamp(1.28rem, 1.45vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
}

.project-video-section h1 {
  display: none;
}

.project-video-card {
  position: relative;
  display: block;
  width: min(70%, 1120px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #050505;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.project-video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.project-video-card:hover img {
  filter: brightness(0.9);
  transform: scale(1.03);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(72px, 6vw, 118px);
  height: clamp(50px, 4vw, 78px);
  color: #ff0000;
  font-size: clamp(3.6rem, 5vw, 6rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.project-story {
  font-size: clamp(1.08rem, 1.25vw, 1.56rem);
  font-weight: 600;
  line-height: 1.65;
}

.project-story p {
  margin: 0;
}

.project-diagrams {
  display: grid;
  gap: clamp(34px, 4vw, 72px);
}

.project-diagrams img {
  display: block;
  width: 100%;
  max-height: 960px;
  object-fit: contain;
  background: #fff;
}

.key-features {
  font-size: clamp(1.02rem, 1.12vw, 1.34rem);
  font-weight: 600;
  line-height: 1.58;
}

.key-features ol {
  margin: 0;
  padding-left: 1.35em;
}

.key-features li + li {
  margin-top: 10px;
}

.key-features ul {
  margin: 4px 0 0;
  padding-left: 1.05em;
  list-style-type: circle;
}

.key-features ul li + li {
  margin-top: 2px;
}

.project-photo-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 44px);
}

.project-photo-row img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.project-gallery-slider {
  --gallery-gap: clamp(18px, 2.2vw, 44px);
  display: block;
}

.project-gallery-window {
  overflow: hidden;
}

.project-gallery-count {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
  color: #6a6a6a;
  font-size: clamp(0.78rem, 0.78vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-gallery-track {
  display: grid;
  grid-auto-columns: calc((100% - (var(--gallery-gap) * 2)) / 3);
  grid-auto-flow: column;
  gap: var(--gallery-gap);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-gallery-track img {
  width: 100%;
  animation: galleryImageReveal 0.62s ease both;
  transition: filter 260ms ease, transform 260ms ease;
}

.project-gallery-track img:hover {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.018);
}

.project-gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(38px, 3.5vw, 54px);
  height: clamp(38px, 3.5vw, 54px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(31, 31, 31, 0.68);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.project-gallery-btn:hover {
  background: rgba(15, 15, 15, 0.86);
  transform: translateY(-50%) scale(1.04);
}

.project-gallery-btn:disabled {
  cursor: default;
  opacity: 0.34;
  transform: translateY(-50%);
}

.project-gallery-btn span {
  display: block;
  margin-top: -3px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 0.7;
}

.project-gallery-btn-prev {
  left: clamp(10px, 1.2vw, 18px);
}

.project-gallery-btn-next {
  right: clamp(10px, 1.2vw, 18px);
}

@keyframes galleryImageReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-facts {
  width: min(100% - clamp(34px, 16vw, 360px), 1100px);
  margin-bottom: clamp(24px, 3vw, 44px);
  font-size: clamp(0.88rem, 0.95vw, 1.08rem);
  font-weight: 600;
}

.project-fact-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(220px, 1fr);
  gap: clamp(16px, 3vw, 64px);
  padding: clamp(10px, 1vw, 16px) 0;
  border-bottom: 1px solid #dedede;
}

.project-fact-row:first-child {
  border-top: 1px solid #dedede;
}

.project-fact-row strong,
.project-fact-row span {
  color: #666;
  line-height: 1.25;
  min-width: 0;
}

@media (max-width: 820px) {
  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) {
    height: var(--app-height);
    min-height: var(--app-height);
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    width: clamp(112px, 36vw, 150px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    visibility: hidden;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    opacity: 0;
    transform: translateX(-8px);
    transition: background 180ms ease, color 180ms ease, opacity 220ms ease, transform 220ms ease;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: #f5f3ef;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(8px);
    visibility: visible;
  }

  .site-header.nav-open .site-nav a {
    opacity: 1;
    transform: translateX(0);
  }

  .site-header.nav-open .site-nav a:nth-child(1) {
    transition-delay: 40ms;
  }

  .site-header.nav-open .site-nav a:nth-child(2) {
    transition-delay: 90ms;
  }

  .site-header.nav-open .site-nav a:nth-child(3) {
    transition-delay: 140ms;
  }

  .site-header.nav-open .site-nav a:nth-child(4) {
    transition-delay: 190ms;
  }

  .about-main {
    padding: 28px 16px 58px;
  }

  .about-hero {
    margin-bottom: 34px;
  }

  .about-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.55rem);
  }

  .founders-section,
  .team-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .founders-section {
    grid-template-columns: minmax(0, 1fr);
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
  }

  .founders-section {
    margin-bottom: 48px;
  }

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

  .founders-copy {
    text-align: center;
  }

  .founders-section::before {
    top: 8%;
    right: 0;
    bottom: 4%;
    left: 0;
    width: auto;
    height: auto;
    background:
      linear-gradient(90deg, transparent 0 4%, rgba(248, 244, 237, 0.96) 4% 96%, transparent 96%),
      linear-gradient(180deg, transparent 0 50%, rgba(139, 106, 72, 0.12) 50% calc(50% + 1px), transparent calc(50% + 1px));
    transform: none;
  }

  .founders-section::after {
    display: none;
  }

  .founder-photo-panel {
    position: relative;
    --base-transform: translate(0, 0);
    width: min(86%, 360px);
    margin: 0 auto;
    transform: none;
  }

  .founder-photo-panel::before,
  .founder-photo-panel::after {
    top: 14px;
    right: -8px;
    bottom: -8px;
    left: 14px;
  }

  .scroll-reveal.reveal-from-left,
  .scroll-reveal.reveal-from-right {
    --reveal-x: 0px;
    --reveal-y: 34px;
  }

  .scroll-reveal.is-visible {
    transform: var(--base-transform) translate(0, 0);
  }

  .founder-photo-panel.founder-photo-left {
    order: 2;
    transform: none;
  }

  .founders-copy {
    order: 1;
  }

  .founder-photo-panel.founder-photo-right {
    order: 3;
    transform: none;
  }

  .about-image-panel,
  .team-image {
    border-radius: 14px;
  }

  .team-heading span {
    margin-top: 14px;
  }

  main {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 12px;
  }

  .hero {
    height: 100%;
    max-height: calc(var(--app-height) - 136px - env(safe-area-inset-bottom));
  }

  .slide {
    object-position: center;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .carousel-btn-prev {
    left: 12px;
  }

  .carousel-btn-next {
    right: 12px;
  }

  .carousel-dots {
    left: 0;
    right: 0;
    justify-content: center;
    width: 100%;
    bottom: 12px;
    gap: 12px;
    transform: none;
  }

  .site-footer {
    align-items: center;
    gap: 14px;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .email-link {
    overflow-wrap: anywhere;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .social-links {
    gap: 16px;
  }

  .social-links a {
    width: 22px;
    height: 22px;
  }

  .social-links i {
    font-size: 1.35rem;
  }

  .projects-page .site-header {
    min-height: 70px;
  }

  .projects-page .menu-toggle {
    display: block;
  }

  .projects-page .site-nav {
    left: 20px;
    position: absolute;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    font-size: 1rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 22px;
  }

  .project-filter {
    min-height: 86px;
    overflow-x: auto;
    gap: 28px;
    white-space: nowrap;
  }

  .project-info strong {
    font-size: 1.05rem;
  }

  .project-info small {
    margin-top: 10px;
    font-size: 0.95rem;
  }

  .project-detail-main {
    padding: 0;
  }

  .project-detail-title {
    width: calc(100% - 32px);
    margin: 8px auto 4px;
  }

  .project-detail-title h1 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    line-height: 1.05;
  }

  .project-hero-detail {
    padding: 24px 16px;
  }

  .project-detail-section {
    width: calc(100% - 32px);
    margin-bottom: 46px;
  }

  .project-hero-detail img {
    height: clamp(300px, 58vw, 520px);
  }

  .project-photo-row {
    gap: 10px;
  }

  .project-photo-row img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    border-radius: 8px;
  }

  .project-video-card img {
    aspect-ratio: 16 / 9;
  }

  .project-video-card {
    width: 100%;
  }

  .project-gallery-track {
    grid-auto-columns: calc((100% - var(--gallery-gap)) / 2);
  }

  .project-gallery-btn {
    width: 38px;
    height: 38px;
  }

  .project-diagrams {
    gap: 30px;
  }

  .project-photo-row {
    gap: 18px;
  }

  .project-fact-row {
    grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
  }

  .contact-header {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .site-nav a.is-active::after {
    bottom: -5px;
  }

  .contact-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .contact-highlights,
  .contact-grid,
  .contact-footer {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 18px;
  }

  .location-card {
    min-height: auto;
  }

  .map-frame {
    min-height: 300px;
  }

  .contact-footer,
  .contact-footer span,
  .contact-footer a {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .about-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .about-hero h1 {
    font-size: clamp(1.65rem, 9vw, 2.45rem);
  }

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

  body.about-page .site-footer,
  body.contact-page .site-footer,
  body.projects-page .site-footer,
  body.project-detail-page .site-footer {
    flex-direction: column;
    gap: 18px;
  }

  body:not(.about-page):not(.contact-page):not(.projects-page):not(.project-detail-page) .site-footer {
    flex-direction: row;
  }

  .social-links {
    gap: 14px;
    flex: 0 0 auto;
  }

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

  .contact-form {
    padding: 24px 18px;
  }

  .contact-form button {
    width: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .projects-main {
    padding-right: 18px;
    padding-left: 18px;
  }

  .project-filter {
    min-height: 74px;
    font-size: 0.98rem;
  }

  .project-image {
    aspect-ratio: 1.18 / 1;
  }

  .project-hero-detail img {
    height: 330px;
  }

  .project-hero-detail {
    padding: 18px 12px;
  }

  .project-photo-row {
    gap: 14px;
  }

  .project-photo-row img {
    height: 240px;
  }

  .project-gallery-track {
    grid-auto-columns: 100%;
  }

  .project-gallery-slider {
    --gallery-gap: 14px;
  }

  .key-features ol {
    padding-left: 1.15em;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 2.1rem;
  }
}

/* Premium contact page: client structure with colored map treatment */
.contact-page {
  min-height: 100vh;
  height: auto;
  overflow: auto;
  color: #1f1b16;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 246, 240, 0.98)),
    #fbfaf7;
  font-family: Inter, Arial, sans-serif;
}

.contact-page .site-header {
  padding: clamp(20px, 2vw, 38px) clamp(28px, 3vw, 72px) clamp(14px, 1.5vw, 24px);
}

.contact-header {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr minmax(150px, 220px);
  align-items: center;
}

.contact-header .brand {
  width: clamp(112px, 8.5vw, 154px);
}

.contact-header .site-nav {
  justify-content: center;
  gap: clamp(30px, 3vw, 58px);
  color: #1d1a16;
  font-size: clamp(1.02rem, 1.14vw, 1.34rem);
  font-weight: 500;
}

.contact-header .site-nav a.is-active::after {
  bottom: -7px;
  height: 1.5px;
}

.header-social {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(24px, 2.6vw, 42px);
  color: #1d1a16;
}

.header-social a {
  font-size: clamp(1.16rem, 1.36vw, 1.55rem);
  transition: color 180ms ease, transform 180ms ease;
}

.header-social a:hover {
  color: #9b7650;
  transform: translateY(-1px);
}

.contact-main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(42px, 5.2vw, 88px) clamp(28px, 3vw, 70px) clamp(42px, 4.8vw, 82px);
}

.contact-topline {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(380px, 1.35fr) minmax(260px, 0.82fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  margin-bottom: clamp(44px, 5.8vw, 86px);
  text-align: center;
}

.contact-location h1 {
  margin: 0 0 clamp(24px, 2.6vw, 42px);
  color: #15120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.1vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
}

.contact-location p,
.contact-note p {
  margin: 0;
  color: #28231d;
  font-size: clamp(1rem, 1.2vw, 1.32rem);
  line-height: 1.48;
}

.contact-location p + p {
  margin-top: 10px;
}

.contact-location a {
  color: #6f5336;
  font-weight: 700;
}

.contact-note {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
  padding-top: 2px;
}

.contact-note a {
  color: #15120f;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(430px, 1.38fr) minmax(250px, 0.92fr);
  gap: clamp(44px, 5vw, 112px);
  align-items: start;
}

.location-card,
.contact-form {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.location-card {
  min-height: 0;
  height: clamp(430px, 38vw, 650px);
  overflow: visible;
}

.map-frame {
  position: relative;
  flex: none;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(80, 63, 45, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, #f8f2e8, #e8efe7);
  box-shadow: 0 24px 64px rgba(45, 37, 26, 0.16);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 78px rgba(45, 37, 26, 0.2);
}

.map-frame::after {
  display: none;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
  filter: saturate(1.18) contrast(1.04) brightness(1.02);
}

.map-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(31, 27, 22, 0.18);
  border-radius: 999px;
  color: #1f1b16;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(31, 27, 22, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.map-link:hover {
  color: #fff;
  background: #1f1b16;
}

.contact-form {
  gap: clamp(20px, 2vw, 30px);
  padding: 0;
}

.form-heading {
  margin: 0;
  text-align: left;
}

.form-heading h2 {
  color: #1f1b16;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.05rem, 1.18vw, 1.28rem);
  font-weight: 500;
}

.form-row {
  gap: clamp(18px, 1.8vw, 26px);
}

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

.contact-form label {
  gap: 8px;
  color: #1f1b16;
  font-size: clamp(1rem, 1.12vw, 1.24rem);
  font-weight: 500;
}

.contact-form label span {
  margin-left: 6px;
  color: #6f665d;
  font-size: 0.9em;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border: 1.5px solid rgba(31, 27, 22, 0.82);
  border-radius: 12px;
  color: #1f1b16;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.contact-form input {
  height: clamp(50px, 4vw, 66px);
}

.contact-form textarea {
  min-height: clamp(130px, 11vw, 190px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1f1b16;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px rgba(155, 118, 80, 0.5);
}

.contact-form button {
  min-width: clamp(130px, 9vw, 170px);
  min-height: clamp(48px, 4vw, 66px);
  border: 1.5px solid #1f1b16;
  border-radius: 12px;
  color: #1f1b16;
  background: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  letter-spacing: 0.42em;
}

.contact-form button:hover {
  color: #fff;
  background: #1f1b16;
  box-shadow: 0 16px 34px rgba(31, 27, 22, 0.15);
}

.contact-form button:disabled,
.contact-form button:disabled:hover {
  color: #1f1b16;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.form-status {
  min-height: 1.35em;
  margin: -8px 0 0;
  color: #5d554c;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status.is-success {
  color: #286c3f;
}

.form-status.is-error {
  color: #9d2b2b;
}

.contact-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 3vw, 52px) clamp(28px, 3vw, 70px) clamp(22px, 2.2vw, 34px);
  color: #1f1b16;
}

.contact-footer strong {
  font-size: clamp(1.3rem, 1.72vw, 1.92rem);
}

.contact-footer span {
  text-align: center;
}

.footer-contact {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}

.footer-contact span {
  font-weight: 700;
  text-transform: uppercase;
}

.footer-contact a {
  font-weight: 500;
}

.footer-contact address {
  max-width: 420px;
  margin: 0;
  color: #51483f;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-contact address strong {
  font-size: 1rem;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .contact-header {
    grid-template-columns: auto auto;
  }

  .contact-header .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    margin-top: 16px;
  }

  .contact-topline,
  .contact-grid,
  .contact-footer {
    grid-template-columns: 1fr;
  }

  .contact-topline {
    text-align: left;
  }

  .contact-location h1 {
    margin-bottom: 14px;
  }

  .location-card {
    height: 420px;
  }

  .contact-footer span,
  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .contact-page .site-header {
    padding: 16px;
  }

  .contact-header {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .contact-main {
    padding: 28px 16px 42px;
  }

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

  .contact-grid {
    gap: 32px;
  }

  .location-card {
    height: 330px;
  }
}

/* Keep contact header consistent with home page */
.contact-page .contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(10px, 1.1vw, 18px) clamp(16px, 2vw, 42px) clamp(8px, 0.9vw, 14px);
  gap: 18px;
}

.contact-page .contact-header .brand {
  width: clamp(118px, 11vw, 170px);
}

.contact-page .contact-header .site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(20px, 2.6vw, 46px);
  color: #646464;
  font-size: clamp(0.92rem, 1vw, 1.22rem);
  font-weight: 500;
}

.contact-page .contact-header .site-nav a.is-active {
  color: #111;
}

.contact-page .contact-header .site-nav a.is-active::after {
  bottom: -7px;
  height: 2px;
}

.contact-social-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  padding: 10px 16px 4px;
  color: #1f1b16;
}

.contact-social-bottom a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(31, 27, 22, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(31, 27, 22, 0.08);
  font-size: 1.15rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-social-bottom a:hover {
  color: #fff;
  background: #1f1b16;
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .contact-page .contact-header {
    position: sticky;
    top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .contact-page .contact-header .brand {
    width: clamp(112px, 36vw, 150px);
  }

  .contact-page .contact-header .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    font-size: 1rem;
  }

  .contact-page .contact-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(8px);
    visibility: visible;
  }
}

/* Phone contact layout order */
.contact-note h1 {
  margin: 0;
  color: #15120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
}

.contact-kicker {
  font-weight: 700;
}

@media (max-width: 700px) {
  .contact-page {
    background: #fff;
  }

  .contact-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 26px 16px 36px;
  }

  .contact-topline,
  .contact-grid {
    display: contents;
  }

  .contact-note {
    order: 1;
    gap: 14px;
    padding: 4px 0 0;
  }

  .contact-note h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .contact-note p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .contact-form {
    order: 2;
    padding: 0;
  }

  .contact-location-karaikudi {
    order: 3;
  }

  .location-card-karaikudi {
    order: 4;
  }

  .contact-location-karur {
    order: 5;
  }

  .location-card-karur {
    order: 6;
  }

  .contact-location {
    text-align: left;
  }

  .contact-location h1 {
    margin-bottom: 12px;
    font-size: 2rem;
  }

  .contact-location p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .location-card {
    height: 390px;
  }

  .map-frame {
    border-radius: 18px;
  }

  .contact-social-bottom {
    padding-top: 18px;
  }
}

/*
 * About page layout
 * Kept at the end of the stylesheet so older founder/team rules cannot
 * override the production card grid when this file is deployed.
 */
.about-page .founders-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  align-items: start;
  gap: clamp(22px, 3vw, 48px);
}

.about-page .founder-card {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.about-page .founder-card .founder-photo,
.about-page .team-member .team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about-page .founder-card .founder-photo img,
.about-page .team-member .team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page .founder-card .founder-photo--zoomed img {
  transform: scale(1.18);
}

.about-page .team-section {
  width: 100%;
  max-width: 920px;
}

.about-page .team-grid,
.about-page .accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}

.about-page .team-member,
.about-page .account-member {
  width: 100%;
  min-width: 0;
}

.about-page .accounts-section {
  width: 100%;
  max-width: 920px;
  margin: clamp(52px, 7vw, 96px) auto 0;
}

.about-page .accounts-grid {
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  margin-top: clamp(22px, 2.5vw, 36px);
}

.about-page .account-member {
  max-width: 260px;
  justify-self: center;
  padding: clamp(12px, 1.4vw, 18px);
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 27, 22, 0.06);
  text-align: center;
}

.about-page .account-member .team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-page .account-member .team-photo img {
  position: absolute;
  inset: 0;
}

@media (max-width: 820px) {
  .about-page .founders-section {
    grid-template-columns: minmax(0, 280px);
  }

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

@media (max-width: 520px) {
  .about-page .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .team-grid .team-member {
    width: min(100%, 300px);
    justify-self: center;
  }

  .about-page .accounts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .account-member {
    width: min(100%, 260px);
  }
}
