:root {
  --green: #3F620E;
  --dark-green: #243105;
  --lime: #79A200;
  --white: #ffffff;
  --off-white: #f6f7f2;
  --soft-grey: #dedede;
  --muted: #717171;
  --shadow: 0 24px 80px rgba(36, 49, 5, 0.26);
  --radius-xl: 52px;
  --radius-lg: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--dark-green);
  background: var(--off-white);
  line-height: 1.55;
  overflow-x: hidden;
}

main,
section {
  width: 100%;
}

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

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

button,
input,
textarea {
  font: inherit;
  min-width: 0;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 880px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 58px;
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(36, 49, 5, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
}

.main-nav a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.92;
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #d9f2aa;
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.hero {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(36, 49, 5, 0.08), rgba(36, 49, 5, 0.12));
}

.hero-overlay.soft {
  background: rgba(36, 49, 5, 0.18);
}

.hero-overlay.deep {
  background: rgba(36, 49, 5, 0.42);
}

.home-hero {
  background-image: url("assets/home-hero.jpg");
}

.inner-hero {
  min-height: 56vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-hero {
  background-image: url("assets/about-hero.jpg");
}

.services-hero {
  background-image: url("assets/services-hero.jpg");
}

.contact-hero {
  background-image: url("assets/contact-hero.jpg");
}

.page-hero-title {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(3.2rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  max-width: calc(100% - 32px);
}

.intro-section {
  background: #e2e2e2;
  padding: clamp(72px, 9vw, 118px) 0;
  text-align: center;
}

.intro-section p {
  font-size: clamp(1.2rem, 2.1vw, 1.72rem);
  color: #7a7a7a;
  line-height: 1.34;
  font-weight: 300;
}

.intro-section a {
  color: #1884e5;
  white-space: nowrap;
  font-weight: 500;
}

.projects {
  background: #d9d9d9;
  position: relative;
  overflow: hidden;
}

.project-title-wrap {
  position: absolute;
  left: 0;
  top: -8px;
  z-index: 2;
  pointer-events: none;
}

.ghost-heading {
  font-size: clamp(4.6rem, 8vw, 6.8rem);
  line-height: 0.82;
  color: rgba(255, 255, 255, 0.36);
  text-shadow: 0 0 1px rgba(36, 49, 5, 0.03);
  letter-spacing: 0;
  font-weight: 900;
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  padding-top: 70px;
}

.project-panel {
  background: var(--green);
  color: var(--white);
  min-height: 490px;
  padding: 126px 0 42px clamp(56px, 8.5vw, 75px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 46px;
  position: relative;
  z-index: 1;
}

.project-item {
  position: relative;
  padding-right: 56px;
}

.project-number {
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: var(--dark-green);
  color: var(--white);
  font-size: 2.65rem;
  line-height: 1;
  font-weight: 800;
  transform: translateX(50%);
  box-shadow: none;
}

.project-item > div {
  max-width: 315px;
}

.project-item h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.project-item ul {
  list-style-position: outside;
  padding-left: 12px;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.projects-image {
  background: url("assets/projects-eco.jpg") center/cover no-repeat;
  min-height: 490px;
}

.about-content {
  position: relative;
  padding: 0 0 clamp(70px, 8vw, 118px);
  background: #fff;
}

.floating-card {
  width: min(1120px, calc(100% - 72px));
  margin: -92px auto 70px;
  position: relative;
  z-index: 3;
  background: var(--lime);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(54px, 8vw, 115px) clamp(36px, 9vw, 150px);
  text-align: center;
  box-shadow: var(--shadow);
}

.floating-card p {
  font-size: clamp(1.02rem, 1.55vw, 1.4rem);
  line-height: 1.38;
  margin-bottom: 36px;
}

.floating-card p:last-child {
  margin-bottom: 0;
}

.services-summary {
  max-width: 760px;
  color: #707070;
  margin-bottom: 90px;
}

.services-summary h3 {
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  margin-bottom: 24px;
  text-align: center;
}

.services-summary ul {
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  font-weight: 700;
  line-height: 1.6;
  list-style-position: inside;
}

.closing-copy {
  background: #dedede;
  text-align: center;
  padding: clamp(56px, 7vw, 82px) 24px;
  color: #555;
}

.closing-copy p {
  max-width: 930px;
  margin: 0 auto 10px;
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  line-height: 1.42;
}

.closing-copy strong {
  display: block;
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  font-weight: 400;
}

.services-list-section {
  background: #fff;
  padding: 0 0 clamp(86px, 11vw, 155px);
}

.service-card {
  width: min(1080px, calc(100% - 72px));
  margin: -100px 0 0 auto;
  background: var(--lime);
  color: var(--white);
  border-radius: 40px 0 0 40px;
  padding: clamp(54px, 7vw, 100px) clamp(42px, 10vw, 138px);
  position: relative;
  z-index: 4;
  box-shadow: var(--shadow);
}

.service-list {
  list-style-position: inside;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.experience {
  position: relative;
  background: url("assets/experience-bg.jpg") center/cover no-repeat;
  min-height: 650px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.experience-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 49, 5, 0.72);
}

.experience-copy {
  position: relative;
  z-index: 1;
  max-width: 1050px;
}

.experience-copy h2 {
  font-size: clamp(4rem, 10vw, 9rem);
  color: rgba(121, 162, 0, 0.55);
  line-height: 1;
  margin-bottom: 52px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.experience-copy h2 span {
  color: rgba(255, 255, 255, 0.46);
}

.experience-copy p {
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.35;
  margin: 0 auto 32px;
  max-width: 1030px;
}

.quick-contact {
  background: #fff;
  padding: 0 0 0;
  min-height: 0;
}

.contact-card {
  width: min(720px, calc(100% - 56px));
  background: var(--lime);
  color: var(--white);
  border-radius: 36px;
  padding: clamp(42px, 6vw, 72px) clamp(34px, 6vw, 82px);
  margin: -118px auto 0;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow);
}

.map-section {
  height: 340px;
  background: #d9d9d9;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-contact {
  background: var(--green);
  color: var(--white);
  padding: clamp(80px, 8vw, 118px) 0 32px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(54px, 9vw, 125px);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(4rem, 7vw, 6.2rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 26px;
  letter-spacing: -0.06em;
}

.contact-info p {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: 34px;
  font-weight: 300;
  overflow-wrap: anywhere;
}

.contact-info span {
  font-weight: 400;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  padding-top: 44px;
  min-width: 0;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 34px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.72rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

form label {
  display: block;
  margin-bottom: 18px;
}

form label span {
  display: block;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

input,
textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0 12px;
}

textarea {
  resize: vertical;
  border-bottom: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  padding: 16px;
  margin-top: 14px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

input:focus,
textarea:focus {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

button[type="submit"] {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 24px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #efffc9;
}

.copyright {
  text-align: center;
  font-size: 0.86rem;
  opacity: 0.84;
  margin-top: 75px;
}

.home-experience {
  background-image: none;
  background-color: var(--dark-green);
  min-height: 400px;
  padding: 46px 0 54px;
}

.home-experience .experience-overlay {
  background: rgba(36, 49, 5, 0.28);
}

.home-experience .experience-copy {
  max-width: 860px;
}

.home-experience .experience-copy h2 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 0;
  margin-bottom: 34px;
}

.home-experience .experience-copy p {
  font-size: clamp(0.86rem, 1.25vw, 1.05rem);
  line-height: 1.18;
  margin-bottom: 22px;
  font-weight: 700;
}

.home-contact {
  padding: 48px 0 18px;
}

.home-contact .contact-layout {
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(42px, 8vw, 110px);
}

.home-contact .contact-info h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: 0;
  margin-bottom: 12px;
}

.home-contact .contact-info p {
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1.04;
  margin-bottom: 20px;
  font-weight: 700;
}

.home-contact .contact-form-wrap {
  padding-top: 16px;
}

.home-contact .socials {
  margin-bottom: 18px;
}

.home-contact .socials a {
  width: 18px;
  height: 18px;
  font-size: 0.52rem;
}

.home-contact form label {
  margin-bottom: 8px;
}

.home-contact input,
.home-contact textarea {
  font-size: 0.82rem;
  padding: 4px 0 5px;
}

.home-contact textarea {
  min-height: 82px;
  margin-top: 8px;
  border-radius: 4px;
  padding: 10px;
}

.home-contact button[type="submit"] {
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 0.78rem;
}

.home-contact .copyright {
  font-size: 0.66rem;
  margin-top: 46px;
}

.about-page .inner-hero {
  min-height: 58vh;
  background-position: center;
}

.about-page .about-content {
  background: #fff;
  padding-bottom: 0;
}

.about-page .floating-card {
  width: min(880px, calc(100% - 64px));
  margin: -68px auto 50px;
  border-radius: 0 0 18px 18px;
  padding: clamp(48px, 6vw, 78px) clamp(48px, 8vw, 110px);
}

.about-page .floating-card p {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  line-height: 1.17;
  margin-bottom: 24px;
  font-weight: 700;
}

.about-page .services-summary {
  max-width: 650px;
  margin-bottom: 62px;
  text-align: left;
}

.about-page .services-summary h2 {
  color: #666;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.about-page .services-summary ul {
  color: #555;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  line-height: 1.28;
  list-style-position: outside;
  padding-left: 140px;
}

.about-page .closing-copy {
  padding: clamp(54px, 7vw, 86px) 24px;
}

.about-page .closing-copy p,
.about-page .closing-copy strong {
  max-width: 650px;
  font-size: clamp(0.84rem, 1.1vw, 0.98rem);
  line-height: 1.18;
}

.services-page .inner-hero {
  min-height: 58vh;
  background-position: center;
}

.services-page .services-list-section {
  background: #fff;
  padding-bottom: clamp(64px, 8vw, 112px);
}

.services-page .service-card {
  width: min(980px, calc(100% - 64px));
  margin: -72px auto 0;
  border-radius: 0 0 18px 18px;
  padding: clamp(44px, 6vw, 76px) clamp(38px, 8vw, 110px);
}

.services-page .service-list {
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  line-height: 1.45;
}

.services-page .experience {
  min-height: 520px;
}

.contact-page .inner-hero {
  min-height: 45vh;
  background-position: center;
}

.contact-page .quick-contact {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.contact-page .contact-card {
  width: min(390px, calc(100% - 48px));
  margin-top: -58px;
  border-radius: 14px;
  padding: 42px 46px 34px;
  box-shadow: none;
}

.contact-page .contact-card label {
  margin-bottom: 8px;
}

.contact-page .contact-card input,
.contact-page .contact-card textarea {
  font-size: 0.82rem;
  padding: 5px 0 6px;
}

.contact-page .contact-card textarea {
  min-height: 88px;
  margin-top: 10px;
  border-radius: 6px;
  padding: 10px;
}

.contact-page .contact-card button[type="submit"] {
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.78rem;
}

.contact-page .map-section {
  margin-top: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--dark-green);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 24px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    background: rgba(36, 49, 5, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 14px;
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(14px);
  }

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

  .main-nav a {
    padding: 16px;
    border-radius: 14px;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .home-hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-color: var(--dark-green);
    background-size: contain;
    background-position: center;
  }

  .inner-hero,
  .about-page .inner-hero,
  .services-page .inner-hero,
  .contact-page .inner-hero {
    min-height: 48vh;
  }

  .projects-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .project-panel {
    min-height: auto;
    padding: 132px clamp(24px, 7vw, 56px) 56px;
  }

  .project-number {
    transform: none;
  }

  .projects-image {
    min-height: 440px;
  }

  .floating-card,
  .service-card,
  .contact-card {
    width: min(92%, 900px);
  }

  .contact-page .contact-card {
    width: min(390px, calc(100% - 48px));
  }

  .about-page .floating-card,
  .services-page .service-card {
    width: min(88%, 760px);
  }

  .about-page .services-summary ul {
    padding-left: clamp(24px, 18vw, 120px);
  }

  .service-card {
    margin-inline: auto;
    border-radius: 34px;
  }

  .contact-form-wrap {
    padding-top: 0;
  }

  .socials {
    justify-content: flex-start;
  }

  .home-contact .contact-layout {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    height: 74px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    top: 72px;
    right: 12px;
    left: 12px;
    border-radius: 16px;
  }

  .main-nav a {
    padding: 13px 14px;
    font-size: 0.9rem;
  }

  .home-hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-position: center;
  }

  .inner-hero,
  .about-page .inner-hero,
  .services-page .inner-hero,
  .contact-page .inner-hero {
    min-height: 38vh;
  }

  .page-hero-title {
    font-size: clamp(2.8rem, 18vw, 5.6rem);
  }

  .intro-section {
    padding-block: 54px;
  }

  .intro-section p {
    font-size: 1.05rem;
  }

  .project-title-wrap {
    top: 8px;
  }

  .project-panel {
    gap: 34px;
    padding: 112px 24px 48px;
  }

  .project-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 14px;
    padding-right: 0;
  }

  .project-number {
    position: static;
    width: 58px;
    height: 58px;
    font-size: 1.9rem;
    transform: none;
  }

  .project-item > div {
    max-width: none;
  }

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

  .floating-card {
    margin-top: -56px;
    padding: 36px 22px;
    border-radius: 26px;
  }

  .about-page .floating-card {
    width: min(88%, 520px);
    border-radius: 0 0 18px 18px;
  }

  .floating-card p {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .services-summary ul {
    list-style-position: outside;
    padding-left: 18px;
  }

  .about-page .services-summary ul {
    padding-left: 18px;
  }

  .service-card {
    margin-top: -54px;
    padding: 36px 22px;
  }

  .services-page .service-card {
    width: min(88%, 520px);
    border-radius: 0 0 18px 18px;
  }

  .service-list {
    font-size: 1.05rem;
    line-height: 1.85;
    list-style-position: outside;
    padding-left: 20px;
  }

  .experience {
    min-height: 560px;
    padding: 68px 0;
  }

  .home-experience {
    min-height: auto;
    padding: 54px 0;
  }

  .experience-copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
    margin-bottom: 34px;
    letter-spacing: 0;
  }

  .experience-copy p,
  .home-experience .experience-copy p {
    font-size: 0.95rem;
    line-height: 1.28;
  }

  .quick-contact .contact-card {
    margin-top: -52px;
  }

  .contact-page .contact-card {
    width: min(82%, 390px);
    padding: 34px 28px 28px;
  }

  .map-section {
    height: 280px;
  }

  .footer-contact {
    padding-top: 62px;
  }

  .home-contact {
    padding-top: 44px;
  }

  .home-contact .contact-layout {
    gap: 26px;
  }

  .home-contact .socials {
    justify-content: flex-start;
  }

  .contact-info h2 {
    font-size: 3.2rem;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .copyright {
    margin-top: 48px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .intro-section p {
    font-size: 0.98rem;
  }

  .ghost-heading {
    font-size: clamp(3.6rem, 19vw, 5rem);
  }

  .project-panel {
    padding: 104px 18px 42px;
  }

  .project-item {
    grid-template-columns: 1fr;
  }

  .project-number {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    order: -1;
    margin-bottom: 10px;
  }

  .project-item > div {
    grid-column: 1;
    grid-row: auto;
  }

  .about-page .floating-card,
  .services-page .service-card,
  .contact-page .contact-card {
    width: min(92%, 390px);
    padding-inline: 20px;
  }

  .about-page .services-summary h2 {
    font-size: 0.98rem;
  }

  .about-page .services-summary ul {
    padding-left: 18px;
  }

  .service-list {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .contact-info h2 {
    font-size: 2.7rem;
  }

  .home-contact input,
  .home-contact textarea,
  .contact-page .contact-card input,
  .contact-page .contact-card textarea {
    font-size: 0.78rem;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}
