:root {
  --bg: #f6f1ea;
  --card: rgba(255, 255, 255, 0.8);
  --text: #161616;
  --muted: #636363;
  --white: #ffffff;
  --dark: #0f0f10;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.header-shell {
  width: min(1200px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name,
.brand-name-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  color: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.88;
  text-transform: uppercase;
}

.brand-name span,
.brand-name-stacked span {
  display: block;
  line-height: 0.88;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav a:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: white;
  border-radius: 999px;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 14px;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to top, var(--bg) 0%, rgba(246, 241, 234, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 160px;
  padding-bottom: 84px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow.dark {
  color: #757575;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.62);
}

.hero h1,
.section-head h2,
.about-title h2,
.contact-copy h2,
.project-card-copy h3,
.service-card h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 6.6vw, 6.4rem);
  line-height: 0.95;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
  border: 0;
  cursor: pointer;
}

.btn-light {
  background: white;
  color: #111;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 96px 0;
}

.section-projects {
  padding-top: 88px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2,
.about-title h2,
.contact-copy h2 {
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  line-height: 1;
}

.section-intro {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* PROJECT CARDS */
.project-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-card-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e9e4de;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  cursor: zoom-in;
}

.project-card-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card-media:hover img {
  transform: scale(1.02);
}

.project-card-copy {
  max-width: 90%;
}

.project-category {
  margin: 0 0 10px;
  color: #777;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.project-card-copy h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.04;
}

.project-card-copy p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

/* SERVICES */
.section-services {
  padding-top: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.service-card {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.03);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-card h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.about-card {
  background: var(--card);
  border-radius: 38px;
  padding: 38px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-card p {
  margin: 0 0 18px;
  color: #4d4d4d;
  line-height: 1.9;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* CONTACT */
.contact-card {
  background: var(--dark);
  color: white;
  border-radius: 38px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  align-items: start;
}

.contact-copy p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.9;
}

.contact-copy {
  padding-top: 8px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  margin-left: -13px;
}

.contact-brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #ffffff;
}

.contact-brand-name span {
  display: block;
  line-height: 0.9;
}

.contact-logo {
  width: 78px;
  height: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  font-weight: 500;
}

.contact-links a:hover {
  color: white;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(460px, 100%);
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.98rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-submit {
  align-self: center;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hidden-botcheck {
  display: none !important;
}

/* FOOTER */
.site-footer {
  padding: 0 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #777;
  font-size: 0.95rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #161616;
}

.footer-brand-name span {
  display: block;
  line-height: 0.9;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox-inner img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .section-head,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .project-cards,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-card-copy {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1200px, calc(100% - 24px));
  }

  .contact-form-wrap {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit {
  width: 100%;
  }

  .header-shell {
    width: min(1200px, calc(100% - 20px));
    min-height: 76px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name,
  .brand-name-stacked {
    font-size: 1.12rem;
    letter-spacing: 0.04em;
  }

  .mobile-nav {
    width: min(1200px, calc(100% - 20px));
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 62px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 74px 0;
  }

  .section-projects {
    padding-top: 68px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .project-card-media img {
    height: 260px;
  }

  .service-card,
  .about-card,
  .contact-card {
    padding: 28px 22px;
  }

  .contact-brand-name {
    font-size: 1.3rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-inner img {
    max-width: 94vw;
    max-height: 82vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
}

.form-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.form-overlay.open {
  display: flex;
}

.form-overlay-card {
  position: relative;
  width: min(520px, 100%);
  background: #ffffff;
  color: #161616;
  border-radius: 30px;
  padding: 34px 28px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.form-overlay-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.form-overlay-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.form-overlay-card h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 12px;
}

.form-overlay-card p {
  margin: 0 0 22px;
  color: #555;
  line-height: 1.7;
}

.form-overlay-button {
  min-width: 140px;
}

.form-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: #111;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.form-overlay-close:hover {
  background: rgba(0, 0, 0, 0.1);
}