:root {
  --ink: #11251d;
  --forest: #12372b;
  --forest-soft: #2f5143;
  --leaf: #7fb64b;
  --banana: #f0c84b;
  --paper: #f6f1e7;
  --white: #fffaf2;
  --line: rgba(17, 37, 29, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .86) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 12.5vw 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: clamp(18px, 3.6vw, 52px);
  right: clamp(18px, 3.6vw, 52px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo {
  width: 174px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(18, 55, 43, .92);
  box-shadow: 0 14px 36px rgba(17, 37, 29, .18);
}

.logo img {
  width: 142px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 250, 242, .62);
  border-radius: 999px;
  background: rgba(255, 250, 242, .76);
  backdrop-filter: blur(16px);
}

.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(17, 37, 29, .72);
  font-size: 13px;
  font-weight: 760;
}

.main-nav a.active {
  color: var(--white);
  background: var(--forest);
}

.header-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--banana);
  font-weight: 850;
  box-shadow: 0 16px 32px rgba(240, 200, 75, .24);
  white-space: nowrap;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 250, 242, .62);
  border-radius: 999px;
  background: rgba(255, 250, 242, .76);
  backdrop-filter: blur(16px);
}

.language-switch a {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(17, 37, 29, .7);
  font-size: 12px;
  font-weight: 900;
}

.language-switch a.active {
  color: var(--white);
  background: var(--forest);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .72fr);
}

.photo-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--forest);
}

.photo-stage img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: 48% 42%;
  filter: saturate(.96) contrast(1.03) brightness(.9);
}

.photo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 55, 43, .42), rgba(18, 55, 43, .08) 44%, rgba(18, 55, 43, .1)),
    linear-gradient(0deg, rgba(18, 55, 43, .56), transparent 45%);
}

.photo-caption {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 3.6vw, 52px);
  bottom: 32px;
  display: grid;
  gap: 7px;
  max-width: 520px;
  padding-left: 18px;
  border-left: 3px solid var(--banana);
  color: var(--white);
}

.photo-caption strong {
  font-size: 15px;
  letter-spacing: .02em;
}

.photo-caption span {
  color: rgba(255, 250, 242, .76);
  font-size: 13px;
}

.copy-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 138px clamp(24px, 4vw, 58px) 38px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .96), rgba(246, 241, 231, .98)),
    var(--paper);
}

.copy-stage::before {
  content: "QMD";
  position: absolute;
  top: 112px;
  right: clamp(18px, 4vw, 46px);
  color: rgba(18, 55, 43, .055);
  font-size: clamp(96px, 13vw, 170px);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.eyebrow {
  position: relative;
  margin: 0 0 22px;
  color: var(--forest-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  position: relative;
  max-width: 660px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(52px, 7vw, 96px);
  line-height: .93;
  letter-spacing: 0;
}

.lead {
  position: relative;
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(17, 37, 29, .76);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.42;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 46px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 850;
}

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

.secondary-button {
  color: var(--forest);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .42);
}

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

.service-signals div {
  min-height: 116px;
  padding: 20px 18px 0 0;
  border-right: 1px solid var(--line);
}

.service-signals div:last-child {
  border-right: 0;
}

.service-signals span {
  display: block;
  margin-bottom: 14px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
}

.service-signals strong {
  display: block;
  max-width: 170px;
  color: var(--forest);
  font-size: 16px;
  line-height: 1.15;
}

.what-we-do {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 3.6vw, 52px);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .68), rgba(246, 241, 231, .94)),
    var(--paper);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-intro h2 {
  max-width: 900px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

.section-intro > p {
  margin: 0;
  color: rgba(17, 37, 29, .68);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.48;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: stretch;
}

.services-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest);
}

.services-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.94) contrast(1.02) brightness(.93);
}

.services-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 37, 29, .62), transparent 52%);
}

.services-photo span {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  max-width: 360px;
  color: var(--white);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.32;
}

.service-list {
  display: grid;
  align-content: stretch;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
}

.service-list h3 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.service-list p {
  max-width: 650px;
  margin: 0;
  color: rgba(17, 37, 29, .68);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.48;
}

.process-section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 3.6vw, 52px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 55, 43, .98), rgba(17, 37, 29, .96)),
    var(--forest);
}

.process-copy {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(280px, .56fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.process-copy .eyebrow {
  color: rgba(240, 200, 75, .82);
}

.process-copy h2 {
  max-width: 880px;
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}

.process-copy p:last-child {
  margin: 0;
  color: rgba(255, 250, 242, .7);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.48;
}

.process-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: stretch;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 250, 242, .18);
  border-left: 1px solid rgba(255, 250, 242, .18);
}

.process-steps article {
  min-height: 245px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid rgba(255, 250, 242, .18);
  border-bottom: 1px solid rgba(255, 250, 242, .18);
}

.process-steps span {
  display: block;
  margin-bottom: 52px;
  color: var(--banana);
  font-size: 13px;
  font-weight: 900;
}

.process-steps h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1;
}

.process-steps p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 250, 242, .68);
  font-size: 15px;
  line-height: 1.42;
}

.process-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest-soft);
}

.process-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.92) contrast(1.04) brightness(.88);
}

.process-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 37, 29, .72), rgba(17, 37, 29, .1) 58%);
}

.process-photo div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.process-photo strong {
  max-width: 360px;
  font-size: 20px;
  line-height: 1.05;
}

.process-photo span {
  max-width: 360px;
  color: rgba(255, 250, 242, .72);
  font-size: 14px;
  line-height: 1.35;
}

.team-section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 3.6vw, 52px);
  background: var(--white);
}

.team-copy {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.team-copy h2 {
  max-width: 880px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

.team-copy p:last-child {
  margin: 0;
  color: rgba(17, 37, 29, .68);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.48;
}

.team-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .52fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.team-hero-photo {
  position: relative;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest);
}

.team-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.94) contrast(1.02) brightness(.92);
}

.team-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 37, 29, .58), transparent 52%);
}

.team-hero-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: grid;
  gap: 8px;
  max-width: 480px;
  color: var(--white);
}

.team-hero-photo strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.team-hero-photo span {
  color: rgba(255, 250, 242, .74);
  font-size: 15px;
  line-height: 1.35;
}

.team-notes {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
}

.team-notes article {
  position: relative;
  min-height: 308px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest);
}

.team-notes img {
  width: 100%;
  height: 100%;
  min-height: 308px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.95) contrast(1.02) brightness(.9);
}

.team-notes article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 37, 29, .68), transparent 56%);
}

.team-notes article div {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: var(--white);
}

.team-notes span {
  display: block;
  margin-bottom: 8px;
  color: var(--banana);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-notes strong {
  display: block;
  max-width: 320px;
  font-size: 20px;
  line-height: 1.08;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .74fr);
  min-height: 680px;
  background: var(--forest);
}

.contact-photo {
  position: relative;
  overflow: hidden;
  background: var(--forest-soft);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.92) contrast(1.02) brightness(.88);
}

.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 37, 29, .16), rgba(17, 37, 29, .54));
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 58px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 55, 43, .98), rgba(17, 37, 29, .98)),
    var(--forest);
}

.contact-panel .eyebrow {
  color: rgba(240, 200, 75, .82);
}

.contact-panel h2 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(40px, 5.2vw, 82px);
  line-height: .94;
  letter-spacing: 0;
}

.contact-panel p {
  max-width: 520px;
  margin: 0 0 34px;
  color: rgba(255, 250, 242, .72);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.48;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  transition: transform .18s ease, background-color .18s ease;
}

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

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-icon {
  color: var(--ink);
  background: var(--banana);
}

.email-icon {
  color: var(--white);
  border: 1px solid rgba(255, 250, 242, .24);
  background: rgba(255, 250, 242, .07);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 3.6vw, 52px);
  color: rgba(255, 250, 242, .72);
  background: #0c221a;
}

.site-footer img {
  width: 128px;
  height: 54px;
  object-fit: contain;
}

.site-footer span {
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

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

  .photo-stage,
  .photo-stage img {
    min-height: 58vh;
  }

  .copy-stage {
    min-height: auto;
    padding-top: 54px;
  }

  .section-intro,
  .services-layout,
  .process-copy,
  .process-body,
  .team-copy,
  .team-gallery,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .services-photo,
  .services-photo img,
  .process-photo,
  .process-photo img,
  .team-hero-photo,
  .team-hero-photo img,
  .contact-photo img {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .logo {
    width: 148px;
    height: 66px;
  }

  .logo img {
    width: 122px;
    height: 48px;
  }

  .copy-stage {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .service-signals,
  .service-list article,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .service-signals div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .what-we-do,
  .team-section,
  .contact-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-actions {
    align-items: stretch;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-list article {
    gap: 10px;
  }

  .process-steps span {
    margin-bottom: 30px;
  }
}
