:root {
  --ivory: #f5f1e8;
  --stone: #ded7cc;
  --taupe: #b9aa99;
  --espresso: #2d2926;
  --charcoal: #37322f;
  --bronze: #9a7b5f;
  --sand: #d8c4a8;
  --white: #ffffff;
  --ink: #231f1c;
  --muted: #766b62;
  --shadow: 0 24px 70px rgba(45, 41, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 68px);
  color: var(--white);
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  padding-block: 14px;
  color: var(--espresso);
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(45, 41, 38, 0.08);
}

.brand {
  display: grid;
  gap: 2px;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1.08rem;
  font-weight: 800;
}

.brand span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-cta {
  padding: 12px 18px;
  color: var(--espresso);
  background: var(--ivory);
}

.scrolled .nav-cta {
  color: var(--white);
  background: var(--espresso);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: currentColor;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 8px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero img {
  z-index: 0;
  animation: heroIn 1.4s ease both;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(45, 41, 38, 0.74), rgba(45, 41, 38, 0.18)),
    linear-gradient(0deg, rgba(45, 41, 38, 0.58), rgba(45, 41, 38, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 112px;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 8.5rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--espresso);
}

.hero .button.primary {
  color: var(--espresso);
  background: var(--ivory);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 68px);
  bottom: 28px;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

.intro-grid,
.section-heading,
.turnkey-panel,
.technology,
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro {
  padding-top: clamp(70px, 8vw, 108px);
  padding-bottom: clamp(70px, 8vw, 116px);
}

.intro-grid {
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.42fr);
  justify-content: space-between;
  align-items: start;
}

.intro-visual h2 {
  max-width: 620px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.intro-image {
  width: min(100%, 560px);
  aspect-ratio: 0.72;
  overflow: hidden;
  background: var(--stone);
  box-shadow: 0 24px 68px rgba(45, 41, 38, 0.13);
}

.intro-image img {
  transition: transform 0.7s ease;
}

.intro-image.visible img,
.intro-image:hover img {
  transform: scale(1.035);
}

.intro-copy {
  padding-top: clamp(58px, 8vw, 112px);
}

.intro p,
.section-heading p,
.turnkey p,
.technology p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.signature-line {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 24px;
  border-top: 1px solid var(--stone);
  color: var(--espresso);
  font-weight: 800;
}

.service-stack {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 440px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-row.reverse {
  grid-template-columns: 0.9fr 1fr;
}

.service-row.reverse .service-image {
  order: 2;
}

.service-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 68px);
}

.service-copy span,
.process-step span {
  color: var(--bronze);
  font-weight: 800;
}

.service-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-copy small {
  color: #5b514a;
  font-size: 0.92rem;
}

.turnkey {
  padding-top: 0;
}

.turnkey-panel {
  padding: clamp(34px, 7vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

.turnkey-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.journey {
  display: grid;
  gap: 12px;
  align-content: center;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.journey i {
  width: 1px;
  height: 24px;
  background: var(--bronze);
}

.technology {
  color: var(--white);
  background: var(--espresso);
}

.technology h2 {
  max-width: 760px;
}

.technology p {
  color: rgba(255, 255, 255, 0.68);
}

.tech-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tech-grid span,
.why-grid div {
  padding: 18px;
  border: 1px solid rgba(216, 196, 168, 0.28);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

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

.type-card,
.project-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.type-card::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45, 41, 38, 0.7), rgba(45, 41, 38, 0.08));
}

.type-card span {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 22px;
  font-weight: 800;
  font-size: 1.25rem;
}

.why-grid div {
  color: var(--espresso);
  border-color: var(--stone);
  background: rgba(255, 255, 255, 0.48);
}

.process-list {
  display: grid;
  border-top: 1px solid var(--stone);
}

.process-step {
  display: grid;
  grid-template-columns: 90px 0.45fr 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--stone);
}

.process-step p {
  color: var(--muted);
}

.project-card {
  display: grid;
  align-content: end;
  min-height: 430px;
}

.project-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.project-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.project-card:hover img,
.type-card:hover img,
.service-row:hover img {
  transform: scale(1.04);
}

.project-card span {
  color: var(--sand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statement {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  text-align: left;
}

.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(45, 41, 38, 0.74), rgba(45, 41, 38, 0.18) 62%, rgba(45, 41, 38, 0.08)),
    linear-gradient(0deg, rgba(45, 41, 38, 0.62), rgba(45, 41, 38, 0.08));
}

.statement img {
  position: absolute;
  inset: -24px 0;
  height: calc(100% + 48px);
  transform: translateY(var(--statement-shift, 0)) scale(1.04);
  transition: transform 0.2s linear;
}

.statement-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(58px, 9vw, 118px) clamp(20px, 7vw, 92px);
}

.statement-text {
  max-width: 760px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: 0.98;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--stone);
}

.contact-cards a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--stone);
}

.contact-cards span {
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-cards strong {
  color: var(--espresso);
  font-size: 1rem;
  font-weight: 700;
}

.enquiry-form {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(185, 170, 153, 0.42);
  box-shadow: 0 22px 60px rgba(45, 41, 38, 0.08);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(185, 170, 153, 0.48);
  border-radius: 0;
  padding: 14px 0;
  color: var(--espresso);
  background: transparent;
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--bronze);
  background: rgba(255, 255, 255, 0.34);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--bronze);
  font-weight: 800;
}

.footer {
  display: grid;
  gap: 42px;
  padding: clamp(54px, 7vw, 82px) clamp(20px, 5vw, 68px) 34px;
  color: var(--white);
  background: var(--charcoal);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer-nav,
.footer-contact,
.footer-socials {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contact a,
.footer-contact span,
.footer-bottom,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 500;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--sand);
}

.footer-socials {
  grid-template-columns: repeat(3, max-content);
  gap: 14px;
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 196, 168, 0.18);
  font-size: 0.88rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

@media (min-width: 921px) {
  .footer-main {
    grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.9fr) minmax(240px, 1fr);
  }

  .contact-cards {
    border-top: 1px solid var(--stone);
  }
}

.whatsapp-float {
  position: fixed;
  z-index: 18;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 40px rgba(45, 41, 38, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(45, 41, 38, 0.24);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible,
.hero-content.reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroIn {
  from {
    transform: scale(1.05);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
    z-index: 22;
  }

  .nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 22px;
    color: var(--espresso);
    background: var(--ivory);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-size: 1.25rem;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-cta,
  .scrolled .nav-cta {
    color: var(--white);
    background: var(--espresso);
  }

  .intro-grid,
  .section-heading,
  .turnkey-panel,
  .technology,
  .why,
  .contact,
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .intro {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .intro-image {
    width: 100%;
    aspect-ratio: 0.82;
    margin-bottom: 30px;
  }

  .service-row.reverse .service-image {
    order: 0;
  }

  .service-image {
    min-height: 300px;
  }

  .type-grid,
  .project-grid,
  .tech-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    grid-template-columns: 70px 1fr;
  }

  .process-step p {
    grid-column: 2;
  }

  .footer {
    padding-bottom: 86px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 18px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-content {
    padding-bottom: 96px;
  }

  .hero-note {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .type-grid,
  .project-grid,
  .tech-grid,
  .why-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .statement {
    min-height: 62svh;
  }

  .statement-inner {
    padding: 48px 20px;
  }

  .statement-text {
    max-width: 92%;
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .type-card,
  .project-card {
    min-height: 300px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .process-step p {
    grid-column: auto;
  }
}
