@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Tajawal:wght@400;500;600;700&display=swap");

:root {
  --green: #215b58;
  --forest: #0f3c3a;
  --deep: #092e2c;
  --sand: #c8ad82;
  --brass: #b0893c;
  --mint: #bfd8cc;
  --ecru: #f5f2eb;
  --paper: #fbfaf6;
  --dune: #e8e0d2;
  --line: #d2cabb;
  --charcoal: #272826;
  --muted: #5c5b56;
  --white: #fff;
  --header-height: 84px;
  --content: min(1360px, calc(100vw - 96px));
  --shadow: 0 28px 80px rgba(8, 46, 44, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: "Tajawal", Tahoma, Arial, sans-serif;
  line-height: 1.82;
}

body.menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: 0.75rem;
  z-index: 200;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--forest);
  padding: 0.7rem 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--content);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(210, 202, 187, 0.7);
  background: rgba(251, 250, 246, 0.93);
  backdrop-filter: blur(18px);
  transition: box-shadow 240ms ease, background-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(15, 60, 58, 0.08);
}

.nav-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 216px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 1.8vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  inset-inline: 0;
  bottom: 4px;
  height: 1px;
  content: "";
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-link {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: clamp(1rem, 1.7vw, 1.8rem);
  color: var(--green);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-button span {
  margin-block: 6px;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 90;
  overflow-y: auto;
  background: var(--ecru);
  padding: 2rem max(24px, calc((100vw - var(--content)) / 2));
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu a::after {
  content: "↗";
  color: var(--brass);
  font-weight: 400;
}

html[dir="rtl"] .mobile-menu a::after {
  transform: scaleX(-1);
}

main {
  padding-top: var(--header-height);
}

.eyebrow,
.section-kicker,
.project-category {
  margin: 0 0 1.15rem;
  color: var(--brass);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 1.3rem;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .section-kicker,
html[lang="ar"] .project-category {
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: min(900px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero::before {
  background: url("/assets/hero.webp") center 52% / cover no-repeat;
  transform: scale(1.015);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(9, 46, 44, 0.94) 0%, rgba(9, 46, 44, 0.67) 44%, rgba(9, 46, 44, 0.08) 80%),
    linear-gradient(0deg, rgba(9, 46, 44, 0.74), transparent 60%);
}

html[dir="rtl"] .hero::after {
  background:
    linear-gradient(270deg, rgba(9, 46, 44, 0.94) 0%, rgba(9, 46, 44, 0.67) 44%, rgba(9, 46, 44, 0.08) 80%),
    linear-gradient(0deg, rgba(9, 46, 44, 0.74), transparent 60%);
}

.hero-content {
  padding-block: clamp(8rem, 16vh, 12rem) clamp(4.5rem, 8vh, 7rem);
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3.8rem, 7.4vw, 7.3rem);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="ar"] .hero h1 {
  max-width: 1050px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 650px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
  margin-top: 2.5rem;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1.45rem;
  background: var(--white);
  color: var(--forest);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 200ms ease, transform 200ms ease;
}

.button::after,
.text-link::after,
.project-link::after {
  content: "↗";
  color: var(--brass);
}

html[dir="rtl"] .button::after,
html[dir="rtl"] .text-link::after,
html[dir="rtl"] .project-link::after {
  transform: scaleX(-1);
}

.button:hover {
  background: var(--ecru);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 0.38rem;
}

.hero-caption {
  position: absolute;
  inset-inline-end: max(2rem, calc((100vw - var(--content)) / 2));
  bottom: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

html[lang="ar"] .hero-caption {
  letter-spacing: 0;
}

.section {
  padding-block: clamp(6.5rem, 11vw, 11rem);
}

.section-heading {
  margin: 0;
  color: var(--forest);
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-heading-xl {
  font-size: clamp(3.6rem, 6.3vw, 6.7rem);
}

html[lang="ar"] .section-heading {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.about-section::before {
  position: absolute;
  width: min(500px, 40vw);
  aspect-ratio: 1;
  inset-block-start: -10%;
  inset-inline-end: -12%;
  content: "";
  background: url("/assets/mark-green.png") center / contain no-repeat;
  opacity: 0.035;
}

.about-editorial {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
}

.about-copy {
  padding-bottom: 0.7rem;
}

.lead {
  margin: 0;
  color: #464743;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 600;
}

.mini-icon {
  color: var(--brass);
  font-size: 1.05rem;
}

.photo-collage {
  position: relative;
  height: clamp(560px, 58vw, 780px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: clamp(0.7rem, 1.3vw, 1.25rem);
  margin-top: clamp(5rem, 9vw, 9rem);
}

.photo-collage figure {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-wide {
  grid-column: 1 / 9;
  grid-row: 1 / 9;
}

.collage-tall {
  grid-column: 9 / 13;
  grid-row: 2 / 12;
}

.collage-small {
  grid-column: 3 / 7;
  grid-row: 9 / 13;
}

.collage-note {
  grid-column: 7 / 10;
  grid-row: 9 / 12;
  z-index: 2;
  align-self: center;
  margin: 0;
  padding: 1.5rem;
  background: var(--forest);
  color: var(--white);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
}

.principles .section-kicker {
  color: var(--sand);
}

.focus-section {
  background: var(--ecru);
}

.focus-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 3rem;
  align-items: end;
}

.focus-heading > p {
  max-width: 470px;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.focus-scene {
  position: relative;
  min-height: 800px;
  margin-top: clamp(4rem, 7vw, 7rem);
}

.focus-photo {
  position: absolute;
  inset-block: 3.5rem auto;
  inset-inline-start: 0;
  width: 57%;
  height: 660px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.focus-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(9, 46, 44, 0.44), transparent 56%);
}

.focus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-cloud {
  position: relative;
  z-index: 2;
  width: 58%;
  margin-inline-start: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: stretch;
  padding-top: 3.5rem;
}

.focus-card {
  min-height: 270px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 56px rgba(9, 46, 44, 0.12);
}

.focus-card-b {
  background: var(--forest);
  color: var(--white);
}

.focus-card-c {
  background: var(--sand);
}

.focus-card-d {
  background: var(--green);
  color: var(--white);
}

.focus-card h3 {
  margin: 2.2rem 0 0;
  color: var(--forest);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
}

.focus-card-b h3,
.focus-card-d h3 {
  color: var(--white);
}

.icon-orb {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ecru);
  color: var(--forest);
}

.focus-card-b .icon-orb,
.focus-card-d .icon-orb {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sand);
}

.icon-orb svg,
.audience-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-ribbon {
  position: relative;
  z-index: 3;
  max-width: 960px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
  margin: -1rem auto 0;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.audience-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
}

.audience-ribbon p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.audience-ribbon strong {
  color: var(--forest);
}

.projects-section {
  overflow: hidden;
  background: var(--paper);
}

.projects-heading {
  max-width: 1180px;
  margin-bottom: clamp(5rem, 9vw, 9rem);
}

.projects-heading .section-heading {
  font-size: clamp(3.2rem, 5vw, 5.4rem);
}

.project-stories {
  display: grid;
  gap: clamp(6rem, 11vw, 11rem);
}

.project-story {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.7fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.project-story-reverse {
  grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1.5fr);
}

.project-story-reverse .project-image {
  order: 2;
}

.project-image {
  position: relative;
  aspect-ratio: 15 / 10;
  overflow: hidden;
  background: var(--forest);
  box-shadow: var(--shadow);
}

.project-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(9, 46, 44, 0.18), transparent 45%);
  pointer-events: none;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.project-story:hover .project-image img {
  transform: scale(1.035);
}

.project-story:nth-child(2) .project-image img {
  object-position: 50% 56%;
}

.project-story:nth-child(3) .project-image img {
  object-position: 42% center;
}

.project-copy {
  position: relative;
  padding-inline-start: clamp(1.3rem, 2vw, 2rem);
}

.project-copy::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  content: "";
  background: var(--brass);
}

.project-copy h3 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2.25rem, 4vw, 4.3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

html[lang="ar"] .project-copy h3 {
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.project-copy > p:not(.project-category) {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  color: var(--forest);
  font-weight: 700;
  text-underline-offset: 0.32rem;
}

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

.principles {
  position: relative;
  min-height: min(760px, 84vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.principles > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.principles-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 46, 44, 0.96), rgba(9, 46, 44, 0.22) 78%);
}

.principles-content {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.principles h2 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

html[lang="ar"] .principles h2 {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.principle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.8rem;
}

.principle-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(9, 46, 44, 0.24);
  backdrop-filter: blur(12px);
  font-weight: 600;
}

.principle-pills b {
  color: var(--sand);
  font-size: 1.1rem;
}

.contact-section {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dune);
}

.contact-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(15, 60, 58, 0.34), transparent 60%);
  pointer-events: none;
}

html[dir="rtl"] .contact-section::after {
  background: linear-gradient(270deg, rgba(15, 60, 58, 0.34), transparent 60%);
}

.contact-card {
  position: relative;
  z-index: 2;
  width: min(690px, calc(100vw - 48px));
  margin-inline-start: calc((100vw - var(--content)) / 2);
  margin-inline-end: auto;
  padding: clamp(2.6rem, 5vw, 5rem);
  background: rgba(251, 250, 246, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.contact-card h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

html[lang="ar"] .contact-card h2 {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.contact-card > p:not(.section-kicker) {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.contact-email {
  display: inline-block;
  margin-top: 1rem;
  color: var(--forest);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  text-underline-offset: 0.34rem;
}

.contact-email:hover {
  color: var(--green);
}

.site-footer {
  padding-block: 4.8rem 2rem;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.74);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
  padding-bottom: 3.4rem;
}

.footer-brand {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  width: min(390px, 100%);
  height: auto;
  aspect-ratio: 820 / 303;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[dir="rtl"] .footer-nav {
  justify-content: flex-start;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1160px) {
  :root {
    --content: min(calc(100% - 56px), 1120px);
  }

  .desktop-nav {
    gap: 1rem;
    font-size: 0.83rem;
  }

  .brand img {
    width: 190px;
  }

  .focus-scene {
    min-height: 740px;
  }

  .focus-photo {
    height: 610px;
  }

  .focus-card {
    min-height: 245px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: min(820px, calc(100svh - var(--header-height)));
  }

  .hero::after,
  html[dir="rtl"] .hero::after {
    background: linear-gradient(0deg, rgba(9, 46, 44, 0.96), rgba(9, 46, 44, 0.62) 58%, rgba(9, 46, 44, 0.1));
  }

  .hero-caption {
    display: none;
  }

  .about-editorial,
  .focus-heading,
  .project-story,
  .project-story-reverse,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .about-editorial,
  .focus-heading {
    gap: 2rem;
  }

  .photo-collage {
    height: 620px;
  }

  .collage-wide {
    grid-column: 1 / 10;
  }

  .collage-tall {
    grid-column: 9 / 13;
  }

  .collage-small {
    grid-column: 2 / 7;
  }

  .collage-note {
    grid-column: 7 / 11;
  }

  .focus-scene {
    min-height: auto;
    display: grid;
    gap: 1.5rem;
  }

  .focus-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .focus-cloud {
    width: 100%;
    margin-top: 0;
    margin-inline-start: 0;
    padding-top: 0;
  }

  .focus-card {
    min-height: 230px;
  }

  .audience-ribbon {
    margin-top: 3rem;
  }

  .project-story-reverse .project-image {
    order: initial;
  }

  .project-story,
  .project-story-reverse {
    gap: 2.3rem;
  }

  .project-image {
    width: 100%;
  }

  .footer-top {
    align-items: start;
  }

  .footer-nav,
  html[dir="rtl"] .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --content: calc(100% - 40px);
  }

  .brand img {
    width: 170px;
  }

  .hero {
    min-height: clamp(560px, calc(100svh - var(--header-height)), 650px);
  }

  .hero::before {
    background-image: url("/assets/hero-mobile.webp");
    background-position: 56% center;
  }

  .hero-content {
    padding-block: 5.25rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.8rem);
    line-height: 1.06;
  }

  html[lang="ar"] .hero h1 {
    line-height: 1.17;
  }

  .hero-copy {
    margin-top: 1.2rem;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 0.9rem;
    margin-top: 1.8rem;
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding-block: 4.75rem;
  }

  .section-heading,
  .section-heading-xl {
    font-size: clamp(2.65rem, 11.5vw, 3.8rem);
  }

  .about-facts {
    display: grid;
  }

  .about-facts li {
    width: fit-content;
  }

  .photo-collage {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0.75rem;
    margin-top: 3rem;
  }

  .photo-collage figure {
    box-shadow: 0 14px 36px rgba(8, 46, 44, 0.13);
  }

  .collage-wide {
    grid-column: 1 / 3;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .collage-tall {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .collage-small {
    grid-column: 2;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .collage-note {
    grid-column: 1 / 3;
    grid-row: auto;
    padding: 1.15rem 1.25rem;
    font-size: 1.05rem;
  }

  .focus-heading > p {
    margin: 0;
  }

  .focus-photo,
  .focus-cloud {
    width: 100%;
  }

  .focus-photo {
    aspect-ratio: 16 / 10;
  }

  .focus-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0;
    padding: 0;
  }

  .focus-card,
  .focus-card-b,
  .focus-card-c,
  .focus-card-d {
    min-height: 178px;
    margin-top: 0;
    padding: 1.15rem;
  }

  .focus-card:nth-child(even) {
    margin-inline-start: 0;
  }

  .focus-card:nth-child(odd) {
    margin-inline-end: 0;
  }

  .focus-card h3 {
    margin-top: 1.25rem;
    font-size: clamp(1.02rem, 4.3vw, 1.24rem);
    line-height: 1.42;
  }

  .icon-orb {
    width: 50px;
    height: 50px;
  }

  .icon-orb svg,
  .audience-icon svg {
    width: 27px;
    height: 27px;
  }

  .audience-ribbon {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.15rem;
    box-shadow: 0 14px 36px rgba(8, 46, 44, 0.11);
  }

  .audience-icon {
    width: 48px;
    height: 48px;
  }

  .audience-ribbon p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .projects-heading {
    margin-bottom: 3.5rem;
  }

  .project-stories {
    gap: 4.5rem;
  }

  .project-story,
  .project-story-reverse {
    gap: 1.6rem;
  }

  .project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    box-shadow: 0 16px 42px rgba(8, 46, 44, 0.14);
  }

  .project-copy {
    padding-inline-start: 1.15rem;
  }

  .project-copy h3 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .project-copy > p:not(.project-category) {
    margin-top: 0.9rem;
  }

  .principles {
    min-height: 520px;
  }

  .principles h2 {
    font-size: clamp(2.7rem, 11.5vw, 3.8rem);
  }

  .principles-content {
    padding-block: 4.25rem;
  }

  .principle-pills {
    display: grid;
    justify-items: start;
    gap: 0.65rem;
    margin-top: 2rem;
  }

  .principle-pills span {
    padding: 0.58rem 0.85rem;
  }

  .contact-section {
    min-height: 0;
    display: block;
  }

  .contact-photo {
    position: relative;
    inset: auto;
    height: 300px;
    object-position: 62% center;
  }

  .contact-section::after {
    display: none;
  }

  .contact-card {
    width: 100%;
    margin: 0;
    padding: 3.25rem 20px 3.75rem;
    background: var(--paper);
    box-shadow: none;
    backdrop-filter: none;
  }

  .contact-card h2 {
    font-size: clamp(2.75rem, 11.5vw, 3.8rem);
  }

  .contact-email {
    font-size: 0.95rem;
  }

  .footer-bottom {
    display: grid;
    gap: 0.5rem;
  }

  .site-footer {
    padding-block: 3.4rem 1.5rem;
  }

  .footer-top {
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-brand img {
    width: min(290px, 100%);
  }

  .footer-nav,
  html[dir="rtl"] .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
  }
}

@media (max-width: 380px) {
  :root {
    --content: calc(100% - 32px);
  }

  .focus-card {
    min-height: 166px;
    padding: 1rem;
  }

  .focus-card h3 {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
