:root {
  color-scheme: light;
  --ink: #19251f;
  --green: #174a3d;
  --green-deep: #123a30;
  --paper: #f5f3ec;
  --paper-dark: #ebe8de;
  --acid: #d7ed75;
  --coral: #df704e;
  --muted: #727a72;
  --line: #d7d8cf;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ar); font-size: 16px; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.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: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; line-height: 1; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; background: var(--green); color: var(--acid); font-size: 19px; }
.brand-dot { color: var(--coral); }
.main-nav { display: flex; align-items: center; gap: 34px; margin-inline-start: auto; }
.main-nav a, .header-contact { font-size: 14px; font-weight: 500; transition: color 180ms ease; }
.main-nav a { color: #555f58; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 8px; }
.header-contact { display: inline-flex; align-items: center; gap: 14px; padding: 10px 0 10px 4px; }
.header-contact span, .text-link span { color: var(--coral); font-size: 20px; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; min-height: 650px; padding-block: 58px 86px; }
.hero-copy { max-width: 490px; padding-block: 28px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.eyebrow-line { display: inline-block; width: 28px; height: 2px; background: var(--coral); }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1, .page-intro h1 { margin-bottom: 24px; font-size: clamp(48px, 6vw, 76px); line-height: 1.28; font-weight: 600; }
.hero h1 span, .page-intro h1 span { color: var(--coral); }
.hero-description { max-width: 440px; margin-bottom: 32px; color: #626d65; font-size: 17px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 10px 22px; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--green); color: white; }
.button-dark:hover { background: var(--green-deep); }
.button span { color: var(--acid); font-size: 20px; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.availability span { width: 8px; aspect-ratio: 1; border-radius: 50%; background: #6e9a59; box-shadow: 0 0 0 4px #6e9a5926; }
.hero-art { position: relative; margin: 0; padding: 0 0 34px 34px; }
.hero-art::before { position: absolute; z-index: -1; inset: 34px 34px 0 0; background: var(--acid); content: ""; }
.hero-art img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.hero-art figcaption { position: absolute; inset-inline: 0 34px; bottom: 0; display: flex; justify-content: space-between; padding: 8px 0 0; color: var(--muted); font-size: 11px; }
.hero-side-note { position: absolute; right: -44px; bottom: 135px; color: var(--muted); font-size: 11px; writing-mode: vertical-rl; }

.work-section { background: var(--paper-dark); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 0; font-size: 38px; line-height: 1.4; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.project-card-offset { margin-top: 52px; }
.project-image { position: relative; display: block; overflow: hidden; background: var(--paper); }
.project-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.65,.3,1); }
.project-image:hover img { transform: scale(1.035); }
.image-arrow { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; aspect-ratio: 1; background: var(--acid); color: var(--ink); font-size: 20px; transition: transform 180ms ease; }
.project-image:hover .image-arrow { transform: rotate(-45deg); }
.project-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; }
.project-meta h2, .project-meta h3 { margin: 0; font-size: 18px; font-weight: 600; }
.project-meta > span { color: var(--muted); font-size: 11px; white-space: nowrap; }

.statement-section { padding-block: 98px; background: var(--green); color: white; }
.statement-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.statement-inner .eyebrow { grid-column: 1 / -1; color: var(--acid); }
.statement { grid-row: 2; margin: 0; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.55; font-weight: 500; }
.statement span { color: var(--acid); }
.text-link-light { grid-column: 2; grid-row: 2; margin-bottom: 12px; border-color: #ffffff70; }
.text-link-light span { color: var(--acid); }

.page-intro { padding-block: 94px 72px; }
.page-intro h1 { margin-bottom: 16px; }
.page-intro > p:last-child { max-width: 580px; margin-bottom: 0; color: #626d65; font-size: 17px; line-height: 2; }
.projects-section { padding-bottom: 112px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 72px; }
.projects-grid .project-card:nth-child(even) { margin-top: 68px; }
.projects-grid .project-meta { padding-top: 16px; }
.projects-grid .project-meta h2 { font-size: 19px; }
.project-description { max-width: 540px; margin: 12px 0 14px; color: #626d65; font-size: 14px; line-height: 1.95; }
.project-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.project-link span { color: var(--coral); font-size: 18px; }
.closing-cta { padding-block: 78px; background: var(--acid); }
.closing-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 32px; }
.closing-inner .eyebrow { grid-column: 1 / -1; color: var(--green); }
.closing-inner h2 { margin: 0; font-size: 46px; line-height: 1.45; font-weight: 600; }
.closing-inner h2 span { color: var(--green); }

.contact-intro { padding-bottom: 60px; }
.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding-bottom: 120px; }
.contact-details { padding-top: 10px; }
.contact-email { display: inline-flex; align-items: center; gap: 14px; color: var(--green); font-size: clamp(20px, 2.5vw, 29px); font-weight: 600; direction: ltr; }
.contact-email span { color: var(--coral); font-size: 20px; }
.contact-note, .form-note { color: var(--muted); font-size: 12px; }
.contact-rule { height: 1px; margin-block: 36px; background: var(--line); }
.service-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #58635b; font-size: 14px; }
.service-list li::before { display: inline-block; width: 8px; height: 2px; margin-inline-end: 10px; background: var(--coral); vertical-align: middle; content: ""; }
.contact-form { display: grid; grid-template-columns: 1fr; gap: 10px; }
.contact-form label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: #fbfaf6; color: var(--ink); font-size: 14px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px #174a3d18; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #969b93; }
.form-submit { justify-self: start; margin-top: 10px; }
.form-note { margin: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p, .footer-inner > span { margin: 0; color: var(--muted); font-size: 12px; }
.js [data-reveal] { opacity: 1; transform: none; }
.js [data-reveal].is-visible { animation: reveal-in 650ms cubic-bezier(.2,.65,.3,1) both; }
@keyframes reveal-in {
  from { opacity: .35; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .container { width: min(100% - 48px, 720px); }
  .hero { grid-template-columns: 1fr 1fr; gap: 34px; min-height: 570px; }
  .hero h1 { font-size: 54px; }
  .hero-side-note { right: -28px; }
  .contact-section { gap: 46px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 14px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 31px; }
  .menu-toggle { display: grid; align-content: center; justify-items: center; gap: 5px; width: 42px; height: 42px; margin-inline-start: auto; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 17px; height: 1px; background: var(--ink); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; inset-inline: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 10px 0; }
  .main-nav a[aria-current="page"] { text-decoration: none; }
  .header-contact { gap: 7px; font-size: 12px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 38px; min-height: auto; padding-block: 64px 76px; }
  .hero-copy { padding: 0; }
  .hero h1, .page-intro h1 { font-size: 50px; }
  .hero-description { font-size: 15px; }
  .hero-art { margin-inline: 0 10px; padding: 0 0 30px 22px; }
  .hero-art::before { inset: 22px 22px 0 0; }
  .hero-art figcaption { inset-inline-end: 22px; font-size: 10px; }
  .hero-side-note { display: none; }
  .section-pad { padding-block: 72px; }
  .section-heading { align-items: start; gap: 20px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading .text-link { align-self: end; gap: 7px; font-size: 12px; }
  .featured-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-card-offset { margin-top: 0; }
  .project-meta h3 { font-size: 16px; }
  .statement-section { padding-block: 70px; }
  .statement-inner { display: block; }
  .statement { margin-bottom: 26px; font-size: 34px; }
  .page-intro { padding-block: 64px 42px; }
  .page-intro > p:last-child { font-size: 15px; }
  .projects-section { padding-bottom: 76px; }
  .projects-grid { grid-template-columns: 1fr; row-gap: 42px; }
  .projects-grid .project-card:nth-child(even) { margin-top: 0; }
  .projects-grid .project-meta { align-items: start; flex-direction: column; gap: 2px; }
  .projects-grid .project-meta h2 { font-size: 17px; }
  .project-description { font-size: 13px; }
  .closing-cta { padding-block: 58px; }
  .closing-inner { display: flex; align-items: start; flex-direction: column; gap: 16px; }
  .closing-inner h2 { font-size: 36px; }
  .contact-section { grid-template-columns: 1fr; gap: 52px; padding-bottom: 76px; }
  .contact-email { font-size: 22px; }
  .footer-inner { min-height: 90px; flex-wrap: wrap; gap: 10px 18px; padding-block: 18px; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; animation: none; }
}