/* R15: equal rounded corners, original project imagery and tighter page rhythm. */
:root { --photo-radius: 20px; }
.section, .section.intro, .lifecycle.section { padding-block: 30px; }
.page-hero { padding-block: 30px; }
.about-hero { padding-top: 30px; }
.cta { padding-block: 34px; }
footer { padding-top: 34px; }
.footer-bottom { margin-top: 24px; }
.heading-row { margin-bottom: 18px; gap: 16px; }
.section-head .eyebrow { margin-bottom: 4px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.facts { margin-top: 20px; padding-top: 18px; }
.process { margin-top: 22px; }
.about-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero { height: min(590px, calc(100svh - 96px)); min-height: 460px; margin: 12px 2% 0; border-radius: var(--photo-radius); }
.hero-photo { background: #102a56; border-radius: inherit; }
.hero-content { padding-top: 58px; padding-bottom: 90px; }
.hero h1 { font-size: clamp(40px, 4.5vw, 65px); }
.hero p { margin-top: 18px; }
.hero-buttons { margin-top: 24px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .hero-motion-image { position: absolute; inset: 0; }
.hero-bottom { gap: 20px; align-items: center; }
.hero-project-link { color: #fff; font-size: 14px; max-width: 68%; line-height: 1.7; padding-block: 12px; text-shadow: 0 1px 10px #081b35; }
.hero-project-link:hover { color: #ffd591; }
.hero-pagination { flex-shrink: 0; }
.hero-pagination button { min-width: 42px; min-height: 44px; }
.featured-section { padding-top: 28px; }
.projects-grid { gap: 20px; align-items: stretch; }
.project-card, .project-card:hover {
  display: flex; flex-direction: column; height: 100%; padding: 0;
  border: 1px solid #dbe4ef; background: #fff; border-radius: var(--photo-radius);
  overflow: hidden; box-shadow: 0 5px 18px #102a5608; transform: none;
}
.project-card { transition: box-shadow .25s ease, border-color .25s ease; }
.project-card:hover { border-color: #a9bdd8; box-shadow: 0 9px 25px #102a5614; }
.project-frame, html[dir=rtl] .project-frame { padding: 10px 10px 0; flex: 0 0 auto; isolation: auto; }
.project-frame::before, .project-frame::after, .project-art::before, .project-art::after { display: none; }
.project-art, .project-card:nth-child(2n) .project-art {
  position: relative; aspect-ratio: 1.5; padding: 0; margin: 0; border: 0;
  border-radius: var(--photo-radius); overflow: hidden; clip-path: none;
  background: #f0f3f8; box-shadow: none; transform: none;
}
.project-art .project-photo {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; border-radius: inherit;
  transform: none; filter: none; transition: none;
}
.project-card:hover .project-photo { transform: none; filter: none; }
.project-caption, .project-card:nth-child(2n) .project-caption {
  display: flex; flex-direction: column; position: relative; flex: 1;
  margin: 0; width: 100%; min-height: 152px; padding: 16px 18px;
  border: 0; border-radius: 0; background: #fff; box-shadow: none; transform: none;
}
.project-caption::before { display: none; }
.project-card:hover .project-caption { transform: none; box-shadow: none; background: #fff; }
.project-caption-meta { display: flex; justify-content: space-between; align-items: start; gap: 10px; color: #536982; font-size: 14px; }
.project-caption h3 { color: var(--navy); font-size: 20px; font-weight: 600; line-height: 1.7; margin-top: 8px; }
.featured-label { flex-shrink: 0; color: #174488; background: #edf3fc; padding: 1px 9px; border-radius: 6px; font-size: 13px; }
.project-open { margin-top: auto; padding-top: 12px; border: 0; font-size: 14px; color: #194189; }
.project-credit { font-size: 13px; line-height: 1.8; margin-top: 8px; }
.featured .project-card:nth-child(2n) { padding-top: 0; }
.featured-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-home .project-card:first-child { grid-row: span 2; }
.featured-home .project-card:first-child .project-art { aspect-ratio: 672 / 1011; }
.featured-home .project-card:first-child .project-caption { justify-content: start; }
.featured-home .project-card:first-child .project-open { margin-top: 12px; }
.featured-home .project-art { aspect-ratio: 1.7; }
.featured-home .project-caption { min-height: 145px; }
.featured-home .project-caption h3 { font-size: 18px; }
.featured-home .project-caption-meta { font-size: 13px; }
.module-links { position: static; display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; padding: 0; background: none; width: auto; height: auto; border: 0; }
.module-links a { width: auto; flex: 0 1 auto; color: var(--navy); background: #edf3fc; border: 1px solid #d9e4f3; padding: 10px 18px; border-radius: 10px; font-size: 16px; }
.module-links a:hover { background: #dfeafb; }
.filter-top { gap: 14px; margin-bottom: 16px; }
.filters { gap: 8px; margin-bottom: 12px; }
.portfolio .section-head .eyebrow { display: none; }
.view-toggle button { padding: 8px 14px; min-height: 44px; }
.filters button { min-height: 44px; border-radius: 9px; font-size: 14px; }
.filters button[data-filter=featured] { font-weight: 700; }
#results-count { margin-block: 12px; font-size: 14px; }
.detail-cover, .detail-cover img { clip-path: none; border-radius: var(--photo-radius); }
.detail-cover { margin: 0 0 24px; overflow: visible; background: transparent; }
.detail-cover a { display: block; background: #f2f5f9; border-radius: var(--photo-radius); overflow: hidden; }
.detail-cover img { display: block; width: 100%; height: auto; aspect-ratio: auto; max-height: 780px; object-fit: contain; }
.detail-cover figcaption, .project-gallery figcaption { font-size: 14px; color: #536982; padding: 10px 0 0; }
.gallery-title { font-size: 26px; margin-block: 18px; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-bottom: 28px; }
.project-gallery figure { margin: 0; min-width: 0; }
.project-gallery figure:only-child { grid-column: 1 / -1; }
.project-gallery a { display: block; border-radius: var(--photo-radius); overflow: hidden; background: #f2f5f9; }
.project-gallery img { display: block; width: 100%; height: auto; border-radius: var(--photo-radius); }
.detail-layout aside .button { margin-top: 18px; }
.service-detail-signature { padding: 20px; }
.service-detail-tags { flex-wrap: wrap; }
.about-monogram img, .certificate-preview, .certificate-preview img { border-radius: 14px; }
@media(max-width: 1000px) {
  .hero { min-height: 450px; height: 540px; }
  .hero-content { padding-top: 50px; }
  .featured-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-home .project-card:first-child { grid-row: auto; }
  .featured-home .project-card:first-child .project-art { aspect-ratio: 1.5; }
  .featured-home .project-art { aspect-ratio: 1.5; }
  .module-links { display: flex; position: static; box-shadow: none; padding: 0; }
}
@media(max-width: 650px) {
  :root { --photo-radius: 16px; }
  .section, .section.intro, .lifecycle.section { padding-block: 24px; }
  .page-hero { padding-block: 24px; }
  .heading-row { align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .heading-row .underlined { margin-top: 0; }
  .hero { margin: 8px 12px 0; height: 560px; min-height: 0; }
  .hero-content { padding: 38px 24px 110px; }
  .hero h1 { font-size: 38px; line-height: 1.5; letter-spacing: -.6px; }
  .hero p { font-size: 16px; line-height: 1.9; }
  .hero-buttons { gap: 14px; flex-wrap: wrap; }
  .hero-bottom { inset-inline: 24px; padding-block: 8px; align-items: flex-start; flex-direction: column; gap: 0; }
  .hero-project-link { max-width: 100%; font-size: 13px; padding: 0; }
  .hero-pagination { display: flex; }
  .projects-grid, .featured-home, .project-gallery { grid-template-columns: 1fr; gap: 18px; }
  .featured-home .project-card:first-child .project-art, .featured-home .project-art, .project-art, .project-card:nth-child(2n) .project-art { aspect-ratio: 1.35; }
  .project-frame, html[dir=rtl] .project-frame { padding: 8px 8px 0; }
  .project-caption, .project-card:nth-child(2n) .project-caption { padding: 14px 16px; min-height: 0; }
  .project-caption h3, .featured-home .project-caption h3 { font-size: 19px; }
  .project-open { padding-top: 12px; }
  .module-links { display: flex; gap: 8px; }
  .module-links a { padding: 9px 13px; font-size: 14px; }
  .filter-top { align-items: stretch; }
  .view-toggle { align-self: start; }
  .filters { display: flex; flex-wrap: wrap; overflow: visible; }
  .filters button { white-space: normal; }
  .about-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-cover img { max-height: none; }
  .project-gallery figure:only-child { grid-column: auto; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .project-card { transition: none; }
}
