:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(218, 192, 163, 0.22), transparent 28rem),
    #f8f0e5;
}

html[dir="rtl"] body {
  direction: ltr;
}

html[lang="ar"] [data-i18n-active="true"] {
  direction: rtl;
  unicode-bidi: plaintext;
  font-family: "Noto Sans Arabic", "Tahoma", "Arial", system-ui, sans-serif;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[lang="ar"] h1 [data-i18n-active="true"],
html[lang="ar"] h2[data-i18n-active="true"],
html[lang="ar"] h3[data-i18n-active="true"],
html[lang="ar"] .font-display[data-i18n-active="true"] {
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", "Tahoma", "Arial", system-ui, sans-serif;
  font-weight: 600;
}

html[lang="ar"] .nav-link[data-i18n-active="true"],
html[lang="ar"] .nav-cta[data-i18n-active="true"],
html[lang="ar"] .service-row a[data-i18n-active="true"],
html[lang="ar"] .contact-form button[data-i18n-active="true"] {
  text-align: center;
  white-space: nowrap;
}

html[lang="ar"] .hero-ticker [data-i18n-active="true"] {
  display: inline-flex;
  align-items: center;
}

::selection {
  background: #dac0a3;
  color: #102c57;
}

/* ---- Global heading typography ---- */
h1,
h2,
h3 {
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-wrap: balance;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.text-balance { text-wrap: balance; }

/* ---- Shared layout rail ---- */
.content-container {
  width: min(100% - 2.5rem, 80rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .content-container {
    width: min(100% - 4rem, 80rem);
  }
}

/* ---- Logo ---- */
.logo-wordmark {
  color: #fdcedf;
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 0.95;
}

/* ---- Header ---- */
[data-header] {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: #f8f0e5;
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
}

[data-header]::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 9rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 44, 87, 0.58) 0%, rgba(16, 44, 87, 0.26) 48%, rgba(16, 44, 87, 0) 100%);
  content: "";
  transition: background 0.4s ease, opacity 0.35s ease;
}

[data-header] nav,
[data-mobile-menu] {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .main-nav {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
    column-gap: 2rem;
  }

  .main-nav > a:first-child {
    justify-self: start;
  }

  .main-nav > div {
    justify-self: center;
  }

  .main-nav > .nav-actions {
    justify-self: end;
  }
}

[data-header].nav-theme-light {
  color: #102c57;
}

[data-header].nav-theme-light .logo-wordmark {
  color: #f4afc8;
}

[data-header].nav-theme-light::before {
  background: linear-gradient(180deg, rgba(248, 240, 229, 0.78) 0%, rgba(248, 240, 229, 0.34) 48%, rgba(248, 240, 229, 0) 100%);
}

[data-header].nav-theme-dark {
  color: #f8f0e5;
}

[data-header].nav-theme-dark::before {
  background: linear-gradient(180deg, rgba(16, 44, 87, 0.58) 0%, rgba(16, 44, 87, 0.26) 48%, rgba(16, 44, 87, 0) 100%);
}

/* ---- Pill / scroll-aware navbar ---- */

/* Establish transition starting point on the nav element */
[data-header] nav {
  border-radius: 0;
  background-color: transparent;
  border: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    border-radius 0.35s ease,
    padding 0.35s ease,
    width 0.35s ease;
}

/* Scrolled: float the header off the viewport edge */
[data-header].is-scrolled {
  top: 1rem;
}

/* Scrolled: hide the full-bleed gradient vignette */
[data-header].is-scrolled::before {
  opacity: 0;
}

/* Scrolled: pill shape on the nav element */
[data-header].is-scrolled nav {
  width: min(calc(100% - 1.5rem), 84rem);
  max-width: none;
  margin-inline: auto;
  padding-block: 0.85rem;
  padding-inline: clamp(1rem, 1.4vw, 1.5rem);
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.018);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 24px rgba(16, 44, 87, 0.035),
    0 1px 4px rgba(16, 44, 87, 0.025);
}

[data-header] a,
[data-header] button,
.logo-wordmark,
.nav-link,
.nav-cta {
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, transform 180ms ease;
}

[data-header] .nav-link,
[data-header] .nav-cta {
  font-size: clamp(1rem, 1.05vw, 1.12rem);
}

.nav-cta {
  border-color: color-mix(in srgb, currentColor 48%, transparent);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

.nav-theme-light .nav-cta:hover,
.nav-theme-light .nav-cta:focus-visible {
  background: #102c57;
  color: #f8f0e5;
}

.nav-theme-dark .nav-cta:hover,
.nav-theme-dark .nav-cta:focus-visible {
  background: #f8f0e5;
  color: #102c57;
}

@media (max-width: 767px) {
  .hero-ticker .ticker-track > span > span {
    color: rgba(248, 240, 229, 0.78) !important;
  }
}

/* ---- Mobile menu link readability ---- */
[data-mobile-menu] a {
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

/* ---- Nav links ---- */
.nav-link {
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: currentColor;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---- Mobile menu icon ---- */
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.2rem;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform 200ms ease, opacity 200ms ease, background-color 0.4s ease;
}

.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after  { transform: translateY(4.5px); }

[data-menu-button][aria-expanded="true"] .menu-icon         { transform: rotate(45deg); }
[data-menu-button][aria-expanded="true"] .menu-icon::before { opacity: 0; }
[data-menu-button][aria-expanded="true"] .menu-icon::after  { transform: translateY(-1.5px) rotate(-90deg); }

/* ---- About page ---- */
.about-page {
  color: #452829;
}

/* ---- Brown text for CTA + Contact sections ---- */
#contact {
  color: #452829;
}

#contact .contact-form span {
  color: rgba(69, 40, 41, 0.55);
}

#contact .contact-form input,
#contact .contact-form select,
#contact .contact-form textarea {
  color: #452829;
}

#contact .contact-form input:focus,
#contact .contact-form select:focus,
#contact .contact-form textarea:focus {
  border-color: #452829;
}

#contact .contact-form button {
  background: #452829;
  color: #f8f0e5;
}

#contact .contact-form button:hover,
#contact .contact-form button:focus-visible {
  background: #dac0a3;
  color: #452829;
}

/* ---- Services page ---- */
.services-page {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(248, 240, 229, 0.78), rgba(218, 192, 163, 0.42)),
    url("./assets/hayatipink.jpg") center / cover;
  color: #6b3a2a;
}

.services-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 8%, rgba(253, 206, 223, 0.4), transparent 34rem),
    linear-gradient(90deg, rgba(248, 240, 229, 0.22), rgba(248, 240, 229, 0.66), rgba(248, 240, 229, 0.22));
  content: "";
}

.services-title {
  color: #6b3a2a;
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 13.5vw, 11.5rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
  text-align: center;
}

.services-list {
  margin-top: clamp(5.5rem, 11vw, 10rem);
  margin-right: auto;
  margin-left: auto;
  max-width: 56rem;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 3vw, 2rem);
  border-top: 1px solid rgba(107, 58, 42, 0.24);
  background: rgba(248, 240, 229, 0.44);
  box-shadow: 0 24px 80px rgba(107, 58, 42, 0.1);
  backdrop-filter: blur(7px);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(7rem, 0.45fr) 9.5rem;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid rgba(107, 58, 42, 0.16);
  padding: 1.8rem 0;
  color: #6b3a2a;
}

.service-row h3 {
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.service-row p {
  color: rgba(107, 58, 42, 0.68);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-row span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(107, 58, 42, 0.84);
  font-weight: 600;
}

.service-row a {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107, 58, 42, 0.5);
  color: #6b3a2a;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-row a:hover,
.service-row a:focus-visible {
  background: #6b3a2a;
  color: #f8f0e5;
  transform: translateY(-1px);
}

.process-link:hover .process-link-text {
  text-decoration: underline;
  text-decoration-color: #DAC0A3;
  text-underline-offset: 4px;
}

/* ---- Language toggle ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  background: color-mix(in srgb, currentColor 7%, transparent);
  padding: 3px;
  flex-shrink: 0;
  user-select: none;
  cursor: default;
}

.lang-opt {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.38rem 0.8rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  white-space: nowrap;
  min-width: 2.8rem;
  line-height: 1;
  transition: opacity 200ms ease;
}

.lang-opt[aria-pressed="true"]  { opacity: 1; }
.lang-opt[aria-pressed="false"] { opacity: 0.42; }

.lang-flag {
  font-size: 0.82rem;
  line-height: 1;
}

.lang-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  /* covers the left option by default; JS drives data-active */
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Thumb position driven by data-active on the container */
.lang-toggle[data-active="ar"] .lang-thumb { transform: translateX(0); }
.lang-toggle[data-active="en"] .lang-thumb { transform: translateX(100%); }

/* Light-nav variant (pages outside hero) */
.nav-theme-light .lang-thumb {
  background: rgba(16, 44, 87, 0.1);
  border-color: rgba(16, 44, 87, 0.18);
  box-shadow: 0 1px 4px rgba(16, 44, 87, 0.1);
}

/* Mobile menu is always dark — keep white thumb regardless of nav theme */
[data-mobile-menu] .lang-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
}

/* Mobile header toggle — compact size (28–30px height) */
.lang-toggle-sm {
  padding: 2px;
}

.lang-toggle-sm .lang-opt {
  padding: 0.18rem 0.5rem;
  font-size: 0.62rem;
  min-width: 2.3rem;
  gap: 0.22rem;
}

.lang-toggle-sm .lang-thumb {
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
}

/* ---- Portfolio page ---- */
.portfolio-page {
  background: #f8f0e5;
}

.portfolio-showcase {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7.5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    linear-gradient(180deg, rgba(248, 240, 229, 0.18), rgba(248, 240, 229, 0.76)),
    url("./assets/noorimarble.jpg") center / cover;
}

.portfolio-showcase::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(253, 206, 223, 0.42), transparent 30rem),
    linear-gradient(90deg, rgba(248, 240, 229, 0.24), rgba(248, 240, 229, 0.62), rgba(248, 240, 229, 0.24));
  content: "";
}

.portfolio-title-wrap {
  display: flex;
  justify-content: center;
  min-height: clamp(9rem, 18vw, 14rem);
  text-align: center;
}

.portfolio-title {
  position: relative;
  display: inline-block;
  color: ##6b3a2a;
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 12vw, 9.5rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  animation: portfolio-title-rise 900ms cubic-bezier(0.18, 0.9, 0.2, 1.08) both;
}

.portfolio-title::before,
.portfolio-title::after {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: transparent;
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  animation: portfolio-sparks 1.15s ease-out 360ms both;
}

.portfolio-title::before {
  box-shadow:
    0 -3.2rem #fdcedf,
    2.9rem -1.85rem #f8f0e5,
    3.35rem 1.2rem #dac0a3,
    0.4rem 3rem #fdcedf,
    -2.9rem 1.8rem #f8f0e5,
    -3.25rem -1.2rem #dac0a3;
}

.portfolio-title::after {
  box-shadow:
    0 -4.1rem rgba(16, 44, 87, 0.52),
    3.6rem -2.35rem rgba(253, 206, 223, 0.9),
    4.2rem 1.35rem rgba(248, 240, 229, 0.95),
    0.25rem 4rem rgba(16, 44, 87, 0.42),
    -3.7rem 2.1rem rgba(253, 206, 223, 0.9),
    -4.1rem -1.55rem rgba(248, 240, 229, 0.95);
  animation-delay: 520ms;
}

.portfolio-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
  align-items: stretch;
}

.portfolio-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(16, 44, 87, 0.16);
  border-radius: 8px;
  background: rgba(248, 240, 229, 0.68);
  color: #102c57;
  box-shadow: 0 22px 70px rgba(16, 44, 87, 0.12);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  backdrop-filter: blur(8px);
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: rgba(16, 44, 87, 0.36);
  box-shadow: 0 28px 86px rgba(16, 44, 87, 0.18);
  transform: translateY(-0.35rem);
}

.portfolio-card-img-wrap {
  overflow: hidden;
  width: 100%;
}

.portfolio-card-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 600ms ease;
}

.portfolio-card:hover .portfolio-card-img-wrap img,
.portfolio-card:focus-visible .portfolio-card-img-wrap img {
  transform: scale(1.07);
}

.portfolio-card-copy {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.portfolio-card-copy span:first-child {
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1;
}

.portfolio-card-copy span:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #102c57;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.65;
}

@keyframes portfolio-title-rise {
  from {
    opacity: 0;
    transform: translateY(2.4rem) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes portfolio-sparks {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

/* ---- Portfolio detail pages ---- */
.project-detail-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(248, 240, 229, 0.28), rgba(248, 240, 229, 0.84)),
    url("./assets/noorimarble.jpg") center / cover;
}

.project-detail-shell {
  width: min(100% - 2.5rem, 72rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.project-back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: rgba(16, 44, 87, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.project-back-link:hover,
.project-back-link:focus-visible {
  color: #102c57;
}

.project-detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(16, 44, 87, 0.14);
  border-radius: 8px;
  background: rgba(248, 240, 229, 0.72);
  box-shadow: 0 24px 80px rgba(16, 44, 87, 0.12);
  backdrop-filter: blur(8px);
}

.project-detail-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-kicker {
  color: rgba(16, 44, 87, 0.5);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-detail-panel h1 {
  margin-top: 1rem;
  color: #102c57;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.project-detail-panel p:last-child {
  margin-top: 1.4rem;
  color: rgba(16, 44, 87, 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---- Process steps ---- */
.process-step {
  border-left: 1.5px solid rgba(16, 44, 87, 0.35);
  padding-left: 1rem;
}

.process-step span {
  color: rgba(16, 44, 87, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-step strong {
  display: block;
  margin-top: 0.3rem;
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: #102c57;
}

.process-step p {
  margin-top: 0.4rem;
  color: rgba(16, 44, 87, 0.58);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* ---- Contact form ---- */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
}

.contact-form span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 44, 87, 0.55);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(16, 44, 87, 0.18);
  background: transparent;
  padding: 0.75rem 0;
  color: #102c57;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  border: 1.5px solid rgba(16, 44, 87, 0.18);
  padding: 0.85rem 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #102c57;
}

.contact-form button {
  align-self: start;
  border-radius: 999px;
  background: #102c57;
  padding: 1rem 2.2rem;
  color: #f8f0e5;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #dac0a3;
  color: #102c57;
  transform: translateY(-2px);
}

/* ---- Reveal animation ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .portfolio-showcase {
    padding-top: 7rem;
  }

  .portfolio-title-wrap {
    min-height: 8rem;
  }

  .portfolio-card-grid,
  .project-detail-panel {
    grid-template-columns: 1fr;
  }

  .services-list {
    margin-top: 3.5rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.5rem 0;
  }

  .service-row a {
    width: 100%;
  }
}
