:root {
  --navy: #08265c;
  --navy-2: #123d80;
  --red: #f20d0d;
  --yellow: #fff200;
  --cyan: #1ab8e8;
  --ink: #102033;
  --muted: #627084;
  --line: #d9e2ec;
  --surface: #ffffff;
  --soft: #f4f8fc;
  --shadow: 0 18px 50px rgba(8, 38, 92, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 146px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.header-contact a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.header-contact a:hover {
  color: var(--red);
}

.header-contact {
  display: grid;
  justify-items: end;
  gap: 5px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.header-contact a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

.header-contact img {
  width: 18px;
  height: 18px;
}

.contact-icon {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 6vw, 82px);
  background:
    radial-gradient(circle at 78% 18%, rgba(26, 184, 232, 0.24), transparent 28%),
    linear-gradient(105deg, #071d46 0%, #08265c 50%, #123d80 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 6vw, 82px);
  right: clamp(18px, 6vw, 82px);
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan));
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, transparent 48%, rgba(255, 242, 0, 0.17) 49%, rgba(255, 242, 0, 0.17) 51%, transparent 52%);
  background-size: 54px 54px;
}

.cable,
.pulse {
  position: absolute;
  border-radius: 999px;
}

.cable {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--cyan), transparent);
  opacity: 0.84;
  transform-origin: center;
}

.cable-one {
  width: 56vw;
  right: -12vw;
  top: 28%;
  transform: rotate(-13deg);
}

.cable-two {
  width: 44vw;
  left: -9vw;
  bottom: 22%;
  transform: rotate(17deg);
}

.pulse {
  width: 11px;
  height: 11px;
  background: var(--yellow);
  box-shadow: 0 0 0 9px rgba(255, 242, 0, 0.14);
}

.pulse-one {
  right: 27%;
  top: 27%;
}

.pulse-two {
  left: 22%;
  bottom: 21%;
  background: var(--cyan);
  box-shadow: 0 0 0 9px rgba(26, 184, 232, 0.15);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.service-area {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--yellow);
  font-weight: 800;
}

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

.hero-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.hero-support span {
  color: var(--yellow);
  font-weight: 800;
}

.hero-support a {
  border-bottom: 2px solid rgba(255, 242, 0, 0.75);
}

.hero-support a:hover {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 28px rgba(242, 13, 13, 0.23);
}

.button-secondary {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(280px, 100%);
  margin-bottom: 20px;
}

.hero-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-panel div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-panel dt {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 6vw, 82px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 82px);
  background: #fff;
}

.intro-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
}

.intro-copy p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-showcase img {
  width: 100%;
  height: clamp(360px, 40vw, 520px);
  object-fit: cover;
}

.showcase-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  border-left: 5px solid var(--yellow);
  border-radius: 6px;
  padding: 16px 18px;
  background: rgba(8, 38, 92, 0.92);
  color: #fff;
}

.showcase-note strong {
  font-size: 1.05rem;
}

.showcase-note span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0 clamp(18px, 6vw, 82px);
  background-color: var(--navy);
}

.stats-section div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(28px, 5vw, 52px) 16px;
  color: #fff;
  text-align: center;
}

.stats-section strong {
  color: var(--yellow);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
}

.stats-section span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.service-band {
  background: var(--soft);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 34px;
}

.split-heading {
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  align-items: end;
  max-width: none;
  column-gap: clamp(24px, 5vw, 72px);
}

.split-heading .eyebrow {
  grid-column: 1;
  align-self: start;
}

.split-heading h2 {
  grid-column: 1;
}

.split-heading h2 span {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.split-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section h2,
.contact-copy h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(8, 38, 92, 0.06);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3,
.timeline h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.service-card p,
.timeline p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
}

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

.industries span {
  border-left: 5px solid var(--cyan);
  padding: 16px 18px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 800;
}

.products-section {
  background: #fff;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 38, 92, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.product-card:focus {
  border-color: rgba(26, 184, 232, 0.7);
  box-shadow: 0 18px 42px rgba(8, 38, 92, 0.14);
  outline: none;
  transform: translateY(-3px);
}

.product-card-large {
  grid-column: span 2;
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--soft);
}

.product-card-large img {
  height: 390px;
}

.product-card div {
  padding: 20px;
}

.product-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.22rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.project-link {
  margin-top: 16px;
  border: 0;
  border-bottom: 3px solid var(--yellow);
  padding: 0 0 4px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.project-link:hover {
  color: var(--red);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 24px);
  overflow: hidden;
}

.project-modal.is-open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 43, 0.72);
}

.project-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  width: min(1180px, calc(100vw - clamp(16px, 4vw, 48px)));
  height: min(760px, calc(100dvh - clamp(16px, 4vw, 48px)));
  max-height: calc(100dvh - clamp(16px, 4vw, 48px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  border: 0;
  border-radius: 6px;
  padding: 10px 13px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.project-gallery {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--navy);
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.project-details {
  display: grid;
  align-content: start;
  gap: clamp(10px, 1.5dvh, 16px);
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(20px, 3vw, 34px);
}

.project-details h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.project-details p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 10px);
  margin: 8px 0;
}

.project-thumb {
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: var(--soft);
  cursor: pointer;
}

.project-thumb.is-active {
  border-color: var(--cyan);
}

.project-thumb img {
  width: 100%;
  height: clamp(54px, 9dvh, 74px);
  object-fit: cover;
}

body.modal-open {
  overflow: hidden;
  width: 100%;
}

.process-section {
  background: var(--navy);
  color: #fff;
}

.process-section h2 {
  color: #fff;
}

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

.timeline article {
  position: relative;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  display: block;
  width: 50px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan));
}

.timeline h3 {
  color: #fff;
}

.timeline p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(290px, 520px);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(58px, 8vw, 100px) clamp(18px, 6vw, 82px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, var(--yellow), var(--cyan));
}

.contact-copy p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.contact-links {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 22px;
  width: min(100%, 520px);
}

.form-success {
  border-left: 5px solid var(--cyan);
  border-radius: 6px;
  padding: 14px 16px;
  background: rgba(26, 184, 232, 0.12);
  color: var(--navy) !important;
  font-weight: 800;
}

.form-error {
  border-left: 5px solid var(--red);
  border-radius: 6px;
  padding: 14px 16px;
  background: rgba(242, 13, 13, 0.1);
  color: var(--navy);
  font-weight: 800;
}

.contact-method {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(8, 38, 92, 0.06);
}

.contact-symbol {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.contact-method img {
  width: 26px;
  height: 26px;
  justify-self: center;
}

.contact-method a {
  min-width: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-method a:hover {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.hidden-field {
  display: none !important;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c6d3e1;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 82px);
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.footer-about {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-about img {
  width: 86px;
}

.footer-about p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.footer-about p a {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
}

.footer-about p a:hover {
  color: var(--red);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.thank-you-page {
  display: grid;
  align-content: center;
  justify-items: start;
  overflow-x: hidden;
  min-height: 100vh;
  padding: clamp(32px, 8vw, 90px);
  background:
    radial-gradient(circle at 82% 18%, rgba(26, 184, 232, 0.2), transparent 30%),
    linear-gradient(105deg, #071d46 0%, #08265c 58%, #123d80 100%);
  color: #fff;
}

.thank-you-page img {
  width: min(220px, 70vw);
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.thank-you-page h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.04;
}

.thank-you-page p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.thank-you-page a:not(.button) {
  color: var(--yellow);
  font-weight: 800;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro-section,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 480px;
  }

  .services-grid,
  .stats-section,
  .products-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-large {
    grid-column: span 2;
  }

  .split-heading {
    grid-template-columns: 1fr;
  }

  .split-heading .eyebrow,
  .split-heading h2,
  .split-heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .project-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 44dvh) minmax(0, 1fr);
    width: min(720px, calc(100vw - 20px));
    height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .project-gallery {
    min-height: 0;
  }
}

@media (max-height: 720px) and (min-width: 961px) {
  .project-dialog {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    height: calc(100dvh - 16px);
    width: calc(100vw - 16px);
  }

  .project-details {
    padding: 20px;
  }

  .project-details h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  }

  .project-thumb img {
    height: 54px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    min-height: 70px;
  }

  .brand img {
    width: 112px;
  }

  .header-contact {
    padding: 9px 11px;
    font-size: 0.74rem;
  }

  .header-contact a {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 6px;
  }

  .nav {
    gap: 18px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .about-showcase img {
    height: 300px;
  }

  .services-grid,
  .stats-section,
  .products-grid,
  .timeline,
  .industries {
    grid-template-columns: 1fr;
  }

  .product-card-large {
    grid-column: span 1;
  }

  .product-card img,
  .product-card-large img {
    height: 240px;
  }

  .project-modal {
    padding: 8px;
  }

  .project-dialog {
    grid-template-rows: minmax(200px, 38dvh) minmax(0, 1fr);
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .modal-close {
    top: 10px;
    right: 10px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .project-details {
    padding: 18px;
  }

  .contact-method {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

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

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