/* Public landing styles migrated from the supplied Next.js site. */
:root {
  color-scheme: light !important;
  supported-color-schemes: light !important;
  --ivory: #f4f0e9;
  --warm-white: #fbfaf7;
  --stone: #d7d0c4;
  --taupe: #9b9185;
  --charcoal: #171715;
  --ink: #2b2925;
  --sage: #9aa796;
  --line: rgba(43, 41, 37, 0.14);
  --dark-line: rgba(255, 255, 255, 0.18);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --sans: Inter, "Neue Haas Grotesk Text", "Segoe UI", Arial, sans-serif;
  --fa-sans: Vazirmatn, Estedad, "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light !important;
  overflow-x: clip;
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
  background-color: var(--warm-white) !important;
}

body {
  color-scheme: light !important;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink) !important;
  background-color: var(--warm-white) !important;
  background-image:
    radial-gradient(circle, rgba(43, 41, 37, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(43, 41, 37, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 41, 37, 0.025) 1px, transparent 1px);
  background-size: 32px 32px, 96px 96px, 96px 96px;
  animation: architecturalGridDrift 70s linear infinite;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

@keyframes architecturalGridDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 96px 96px, 96px 96px, 96px 96px;
  }
}

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

button {
  color: inherit;
  font: inherit;
}

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

.rtl {
  font-family: var(--fa-sans);
  font-feature-settings: "ss01" 1;
}

.rtl .logo-mark {
  font-family: var(--serif);
}

.rtl .line-button svg,
.rtl .section-heading svg,
.rtl .project-card i svg,
.rtl .contact-arrow {
  transform: rotate(180deg);
}

.rtl .eyebrow,
.rtl .desktop-nav,
.rtl .footer nav,
.rtl .language-link,
.rtl .line-button,
.rtl .skill span,
.rtl .contact-list span {
  letter-spacing: 0;
}

.rtl .desktop-nav {
  font-size: 14.5px;
}

.rtl .hero-content,
.rtl .section-copy,
.rtl .quote-copy,
.rtl .contact-intro {
  text-align: right;
}

.rtl .hero-content {
  margin-right: 0;
  margin-left: auto;
  padding: 29vh clamp(48px, 10vw, 160px) 0 0;
}

.rtl .hero h1 {
  font-size: clamp(44px, 5.2vw, 82px);
  font-weight: 650;
  line-height: 1.18;
  text-transform: none;
}

.rtl h2,
.rtl .quote-copy blockquote {
  font-weight: 600;
  line-height: 1.22;
}

.rtl .section-copy p:not(.eyebrow),
.rtl .contact-intro p,
.rtl .quote-copy p {
  line-height: 2.05;
}

.rtl .desktop-nav,
.rtl .mobile-nav nav,
.rtl .footer nav {
  direction: rtl;
}

.rtl .mobile-nav a {
  font-family: var(--fa-sans);
  font-weight: 650;
  line-height: 1.25;
  text-transform: none;
}

.rtl .project-card h3,
.rtl .service-item h3,
.rtl .timeline-item h3 {
  font-size: 15px;
  font-weight: 750;
  text-transform: none;
}

.rtl .timeline-item {
  grid-template-columns: 16px 104px 1fr;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  max-height: none;
  overflow: hidden;
  color: var(--warm-white);
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.86) 0%, rgba(7, 7, 6, 0.56) 38%, rgba(7, 7, 6, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 7, 6, 0.62) 0%, rgba(7, 7, 6, 0) 42%),
    var(--hero-image) center / cover;
  animation: heroIn 1.4s ease both;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 20px clamp(24px, 5vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(19, 19, 17, 0.7), rgba(19, 19, 17, 0.42));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  color: var(--warm-white);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.logo-mark {
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-mark span {
  color: var(--taupe);
}

.site-logo {
  justify-self: start;
}

.desktop-nav {
  justify-self: center;
}

.desktop-nav,
.footer nav {
  display: flex;
  gap: clamp(18px, 2.8vw, 38px);
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav a,
.footer a {
  position: relative;
  opacity: 0.82;
}

.desktop-nav a::after,
.footer a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

.language-link {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--dark-line);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  justify-self: end;
}

.menu-button {
  display: none;
  position: relative;
  z-index: 24;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 85;
  display: grid;
  align-content: start;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 32px 28px 40px;
  background: rgba(19, 19, 17, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  color: var(--warm-white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 350ms cubic-bezier(0.22, 1, 0.36, 1), transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav nav {
  display: grid;
  gap: 20px;
}

.mobile-nav a {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(18px, 5vw, 24px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 350ms cubic-bezier(0.22, 1, 0.36, 1), transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.is-open a:nth-child(1) { transition-delay: 100ms; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 160ms; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 220ms; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 280ms; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 340ms; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 400ms; }
.mobile-nav:not(.is-open) a {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  transition-delay: 0ms !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 88vw);
  padding: 29vh 0 0 clamp(48px, 10vw, 160px);
}

.eyebrow {
  color: var(--taupe);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  display: grid;
  margin-top: 22px;
  font-size: clamp(64px, 7.4vw, 118px);
  line-height: 0.86;
  text-transform: uppercase;
}

.rtl .hero h1,
.rtl h2,
.rtl .quote-copy blockquote,
.rtl .signature {
  font-family: var(--fa-sans);
}

.hero-subtitle {
  width: min(420px, 82vw);
  margin: 26px 0 32px;
  color: rgba(251, 250, 247, 0.84);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.65;
}

.line-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 28px;
  border: 1px solid currentColor;
  padding: 0 18px 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease;
}

.line-button:hover {
  background: var(--warm-white);
  color: var(--charcoal);
}

.scroll-indicator {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(251, 250, 247, 0.78);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator::before {
  width: 1px;
  height: 38px;
  background: currentColor;
  content: "";
  animation: scrollLine 1.8s ease-in-out infinite;
}

main > section {
  border-bottom: 1px solid var(--line);
}

.scroll-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(34px);
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1), filter 820ms ease, transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 620px;
}

.about > * {
  min-height: 620px;
}

.about.section-grid {
  height: clamp(620px, 72svh, 780px);
  min-height: 0;
}

.about.section-grid > * {
  min-height: 0;
}

.section-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px) clamp(28px, 6vw, 86px);
}

.signature {
  margin-top: 24px;
  color: #6a625a;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

h2 {
  max-width: 670px;
  margin: 18px 0 24px;
  color: var(--charcoal);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.98;
}

.section-copy p:not(.eyebrow),
.contact-intro p,
.quote-copy p {
  max-width: 580px;
  color: #615b53;
  font-size: 15px;
  line-height: 1.85;
}

.portrait,
.arch-photo,
.quote-image {
  background-position: center;
  background-size: cover;
  filter: none;
}

.portrait {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  overflow: hidden;
  background: #d8d0c6;
  filter: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.projects-section {
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 5vw, 70px);
}

.section-heading,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5a544d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  margin-top: 30px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.project-image {
  grid-column: 1 / -1;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  filter: none;
  transition: transform 420ms ease;
}

.project-card:hover .project-image {
  transform: translateY(-4px);
}

.project-meta-copy {
  display: grid;
  gap: 3px;
}

.project-card i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--taupe);
  transition: transform 240ms ease, border-color 240ms ease, color 240ms ease;
}

.project-card:hover i {
  border-color: rgba(43, 41, 37, 0.34);
  color: var(--charcoal);
  transform: translateX(4px);
}

.rtl .project-card:hover i {
  transform: translateX(-4px);
}

.project-card h3,
.service-item h3,
.timeline-item h3 {
  color: var(--charcoal);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card p,
.service-item p,
.timeline-item p {
  color: #756d64;
  font-size: 13px;
  line-height: 1.7;
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-left: 70px;
}

.vertical-label {
  position: absolute;
  top: 50%;
  left: 22px;
  color: var(--taupe);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(-90deg);
}

.service-item {
  min-height: 260px;
  border-left: 1px solid var(--line);
  padding: 60px 38px;
  transition: background 220ms ease;
}

.service-item:hover {
  background: #f0ebe3;
}

.service-item svg {
  margin-bottom: 34px;
  color: var(--taupe);
}

.resume {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(270px, 0.52fr) minmax(300px, 1fr);
  gap: clamp(34px, 5.2vw, 92px);
  align-items: center;
  padding: clamp(30px, 4vw, 58px) clamp(36px, 8vw, 132px);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.52), transparent 28%),
    #efe9df;
}

.timeline-column {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 440px;
  gap: 4px;
}

.timeline-column.left-side {
  justify-self: end;
}

.timeline-column.right-side {
  justify-self: start;
}

.resume .timeline-column:first-child {
  grid-column: 1;
}

.resume .arch-photo {
  grid-column: 2;
}

.resume .timeline-column:last-child {
  grid-column: 3;
}

.timeline-column > .eyebrow {
  margin-bottom: 28px;
}

.timeline-column.left-side > .eyebrow {
  text-align: right;
}

.timeline-column.right-side > .eyebrow {
  text-align: left;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 16px 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 0 0 32px;
}

.timeline-item::before {
  position: relative;
  top: 4px;
  left: auto;
  grid-column: 1;
  grid-row: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--charcoal);
  content: "";
}

.timeline-item::after {
  position: absolute;
  top: 15px;
  bottom: -2px;
  left: 7.5px;
  width: 1px;
  background: rgba(43, 41, 37, 0.22);
  content: "";
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item span {
  grid-column: 2;
  grid-row: 1;
  color: #665f57;
  font-size: 12px;
  direction: ltr;
  unicode-bidi: embed;
}

.timeline-item div {
  grid-column: 3;
  grid-row: 1;
}

.rtl .timeline-item::after {
  right: 7.5px;
  left: auto;
}

.arch-photo {
  height: clamp(340px, 22vw, 390px);
  min-height: 0;
  border-radius: 999px 999px 0 0;
  background-image: var(--timeline-mobile-image);
  background-size: cover;
  background-position: center;
}

.timeline-item::before {
  justify-self: center;
}

@media (min-width: 981px) {
  .resume .arch-photo {
    background-image: var(--timeline-image);
  }
  .timeline-column.left-side .timeline-item {
    grid-template-columns: minmax(0, 1fr) 104px 16px;
    text-align: right;
  }
  .timeline-column.left-side .timeline-item::before {
    grid-column: 3;
  }
  .timeline-column.left-side .timeline-item span {
    grid-column: 2;
    text-align: right;
  }
  .timeline-column.left-side .timeline-item div {
    grid-column: 1;
    text-align: right;
  }
  .timeline-column.left-side .timeline-item::after {
    right: 7.5px;
    left: auto;
  }

  .timeline-column.right-side .timeline-item {
    grid-template-columns: 16px 104px minmax(0, 1fr);
    text-align: left;
  }
  .timeline-column.right-side .timeline-item::before {
    grid-column: 1;
  }
  .timeline-column.right-side .timeline-item span {
    grid-column: 2;
    text-align: left;
  }
  .timeline-column.right-side .timeline-item div {
    grid-column: 3;
    text-align: left;
  }
  .timeline-column.right-side .timeline-item::after {
    left: 7.5px;
    right: auto;
  }
  .rtl .timeline-column.left-side .timeline-item {
    grid-template-columns: 16px 104px minmax(0, 1fr);
    text-align: right;
  }
  .rtl .timeline-column.left-side .timeline-item::before {
    grid-column: 1;
  }
  .rtl .timeline-column.left-side .timeline-item span {
    grid-column: 2;
    text-align: right;
  }
  .rtl .timeline-column.left-side .timeline-item div {
    grid-column: 3;
    text-align: right;
  }
  .rtl .timeline-column.left-side .timeline-item::after {
    right: 7.5px;
    left: auto;
  }

  .rtl .timeline-column.right-side .timeline-item {
    grid-template-columns: minmax(0, 1fr) 104px 16px;
    text-align: left;
  }
  .rtl .timeline-column.right-side .timeline-item::before {
    grid-column: 3;
  }
  .rtl .timeline-column.right-side .timeline-item span {
    grid-column: 2;
    text-align: left;
  }
  .rtl .timeline-column.right-side .timeline-item div {
    grid-column: 1;
    text-align: left;
  }
  .rtl .timeline-column.right-side .timeline-item::after {
    left: 7.5px;
    right: auto;
  }
}


.skills-band {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 28px;
  align-items: center;
  padding: 54px clamp(24px, 6vw, 78px);
  color: var(--warm-white);
  background: var(--charcoal);
}

.skills-band h2 {
  color: var(--warm-white);
  font-size: clamp(34px, 4vw, 58px);
}

.skills-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  gap: 18px 16px;
}

.skill {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.skill-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 2px;
}

.skill-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill span {
  color: rgba(251, 250, 247, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(251, 250, 247, 0.22);
}

.dots i.active {
  background: var(--warm-white);
}

.book-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 680px;
  overflow: hidden;
  background: transparent;
}

.book-copy {
  display: flex;
  max-width: 680px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 84px clamp(32px, 7vw, 104px);
}

.rtl .book-copy {
  align-items: flex-start;
  text-align: right;
}

.book-copy h2 {
  display: grid;
  gap: 4px;
  margin-top: 15px;
  color: var(--charcoal);
  font-family: var(--fa-sans);
  font-size: clamp(39px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1.18;
}

.book-copy h2 span {
  display: block;
  color: var(--taupe);
  font: inherit;
  font-size: 0.59em;
}

.book-intro {
  max-width: 550px;
  margin-top: 26px;
  color: rgba(43, 41, 37, 0.74);
  font-size: 15px;
  line-height: 1.85;
}

.rtl .book-intro,
.rtl .book-purchase-note {
  line-height: 2.05;
}

.book-demo-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  padding: 0 22px;
  color: var(--warm-white);
  background: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.book-demo-button:hover {
  color: var(--charcoal);
  background: var(--stone);
  transform: translateY(-2px);
}

.book-demo-button:focus-visible,
.book-socials a:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 4px;
}

.book-purchase-note {
  max-width: 500px;
  margin-top: 25px;
  color: var(--taupe);
  font-size: 13px;
  line-height: 1.7;
}

.book-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
}

.book-socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.book-socials a:hover {
  color: var(--taupe);
}

.book-visual {
  position: relative;
  min-width: 0;
  min-height: 680px;
}

.book-model {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: grab;
  touch-action: none;
  transition: opacity 700ms ease;
}

.book-model[data-ready="true"] {
  opacity: 1;
}

.book-model:active {
  cursor: grabbing;
}

.book-model canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.kind-words {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: clamp(620px, 72svh, 820px);
}

.quote-copy {
  display: flex;
  min-height: clamp(620px, 72svh, 820px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(84px, 9vw, 130px) clamp(36px, 7vw, 100px);
}

.quote-copy blockquote {
  max-width: 540px;
  margin: 24px 0;
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.12;
}

.quote-copy blockquote::before {
  display: block;
  margin-bottom: 10px;
  color: var(--taupe);
  content: "“";
  font-size: 58px;
  line-height: 0.5;
}

.quote-image {
  min-height: clamp(620px, 72svh, 820px);
}

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 500px;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 78px);
  color: var(--warm-white);
  background: var(--charcoal);
}

.contact-intro h2 {
  color: var(--warm-white);
  font-size: clamp(38px, 4.8vw, 68px);
}

.contact-intro p {
  color: rgba(251, 250, 247, 0.72);
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 58px);
}

.contact-list .eyebrow {
  grid-column: 1 / -1;
}

.contact-list a {
  display: grid;
  min-height: 116px;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-content: center;
  align-items: center;
  border: 1px solid var(--line);
  padding: 24px;
  background: rgba(255, 255, 255, 0.42);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-list a:hover {
  border-color: rgba(43, 41, 37, 0.34);
  background: rgba(255, 255, 255, 0.74);
  transform: translateY(-2px);
}

.contact-list span {
  grid-column: 2;
  color: var(--taupe);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-list strong {
  grid-column: 2;
  color: var(--charcoal);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-list a i {
  display: grid;
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--charcoal);
  background: rgba(251, 250, 247, 0.58);
}

.contact-arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: var(--taupe);
}

.rtl .contact-list a {
  grid-template-columns: auto 1fr 42px;
}

.rtl .contact-list a i {
  grid-column: 3;
}

.rtl .contact-list span,
.rtl .contact-list strong {
  grid-column: 2;
}

.rtl .contact-arrow {
  grid-column: 1;
}

.footer {
  padding: 28px clamp(24px, 5vw, 70px);
}

.footer p {
  color: #766f67;
  font-size: 12px;
}

.footer p:not(.copyright) {
  display: none;
}

@keyframes heroIn {
  from {
    opacity: 0.92;
  }
  to {
    opacity: 1;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    padding: 22px 24px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
    z-index: 99;
  }

  .language-link {
    width: 40px;
    height: 40px;
    justify-self: end;
  }

  .hero {
    min-height: 560px;
    height: 100svh;
    max-height: none;
    background:
      linear-gradient(90deg, rgba(7, 7, 6, 0.82), rgba(7, 7, 6, 0.18)),
      linear-gradient(0deg, rgba(7, 7, 6, 0.72) 0%, rgba(7, 7, 6, 0.05) 54%),
      var(--hero-mobile-image) center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rtl .hero-content {
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .section-grid,
  .resume,
  .skills-band,
  .book-section,
  .kind-words,
  .contact {
    grid-template-columns: 1fr;
  }

  .skills-band {
    text-align: center;
    padding: 40px 20px;
    gap: 24px;
  }

  .book-section {
    min-height: 0;
  }

  .book-copy {
    max-width: none;
    align-items: flex-start;
    padding: 62px clamp(24px, 8vw, 56px) 18px;
  }

  .book-visual {
    min-height: 520px;
  }

  .skill-icon-wrap {
    width: 54px;
    height: 54px;
  }

  .book-copy {
    padding: 52px 24px 8px;
  }

  .book-copy h2 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .book-intro {
    margin-top: 20px;
  }

  .book-demo-button {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }

  .book-visual {
    min-height: 430px;
  }

  .about > * {
    min-height: auto;
  }

  .about.section-grid {
    height: auto;
  }

  .portrait {
    min-height: 520px;
    margin: 0;
    border-radius: 0;
  }

  .portrait img {
    height: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: end;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }

  .project-image {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 1.65 / 1;
    border-radius: 0;
  }

  .project-meta-copy {
    grid-column: 1;
    grid-row: 2;
    padding-top: 4px;
  }

  .project-card i {
    grid-column: 2;
    grid-row: 2;
  }

  .services {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .vertical-label {
    position: static;
    padding: 36px 28px 0;
    transform: none;
  }

  .service-item {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 34px 28px;
    text-align: center;
  }

  .service-item svg {
    margin-right: auto;
    margin-left: auto;
  }

  .resume {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 24px 38px;
    gap: 34px;
  }

  .timeline-column,
  .timeline-column.left-side,
  .timeline-column.right-side {
    width: min(100%, 360px);
    max-width: 360px;
    justify-self: center;
  }

  .timeline-column > .eyebrow,
  .timeline-column.left-side > .eyebrow,
  .timeline-column.right-side > .eyebrow {
    margin-bottom: 24px;
    text-align: left;
  }

  .timeline-item,
  .timeline-column.left-side .timeline-item,
  .timeline-column.right-side .timeline-item,
  .rtl .timeline-column.left-side .timeline-item,
  .rtl .timeline-column.right-side .timeline-item {
    grid-template-columns: 16px minmax(96px, 104px) minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 28px;
    text-align: left;
  }

  .timeline-item::before,
  .timeline-column.left-side .timeline-item::before,
  .timeline-column.right-side .timeline-item::before,
  .rtl .timeline-column.left-side .timeline-item::before,
  .rtl .timeline-column.right-side .timeline-item::before {
    grid-column: 1;
  }

  .timeline-item::after,
  .timeline-column.left-side .timeline-item::after,
  .timeline-column.right-side .timeline-item::after,
  .rtl .timeline-column.left-side .timeline-item::after,
  .rtl .timeline-column.right-side .timeline-item::after {
    right: auto;
    left: 7.5px;
  }

  .timeline-item span,
  .timeline-column.left-side .timeline-item span,
  .timeline-column.right-side .timeline-item span,
  .rtl .timeline-column.left-side .timeline-item span,
  .rtl .timeline-column.right-side .timeline-item span {
    grid-column: 2;
    text-align: left;
  }

  .timeline-item div,
  .timeline-column.left-side .timeline-item div,
  .timeline-column.right-side .timeline-item div,
  .rtl .timeline-column.left-side .timeline-item div,
  .rtl .timeline-column.right-side .timeline-item div {
    grid-column: 3;
    text-align: left;
  }

  .arch-photo {
    height: 400px;
    min-height: 0;
    order: -1;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    border-radius: 999px 999px 0 0;
  }

  .skills-row {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    gap: 22px 14px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

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

  .footer nav {
    flex-wrap: wrap;
  }

  .quote-copy {
    min-height: auto;
  }

  .quote-image {
    min-height: 52vh;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 22px 18px;
  }

  .logo-mark {
    font-size: 24px;
  }

  .language-link,
  .menu-button {
    width: 38px;
    height: 38px;
  }

  .hero-content {
    width: calc(100% - 36px);
  }

  .hero h1 {
    font-size: clamp(31px, 8.9vw, 34px);
    line-height: 0.9;
    overflow-wrap: normal;
  }

  .rtl .hero h1 {
    font-size: clamp(34px, 10.8vw, 44px);
    line-height: 1.22;
  }

  .scroll-indicator {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  h2 {
    font-size: 40px;
  }

  .rtl h2 {
    font-size: clamp(32px, 9.2vw, 40px);
    line-height: 1.42;
  }

  .section-copy {
    padding: 54px 24px 34px;
  }

  .project-card {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .project-image {
    aspect-ratio: 1.48 / 1;
  }

  .contact-intro,
  .contact-list {
    padding: 34px 22px;
  }

  .rtl .contact-list a {
    min-height: 104px;
    grid-template-columns: auto minmax(0, 1fr) 42px;
    padding: 20px;
  }

  .skills-row {
    grid-template-columns: repeat(2, minmax(112px, 132px));
    justify-content: center;
    gap: 24px 10px;
  }

  .skill-icon-wrap {
    width: 54px;
    height: 54px;
  }

  .quote-image {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-image {
  transform: none;
}

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

@keyframes projectMediaIn {
  from { opacity: 0.55; transform: scale(1.018); }
  to { opacity: 1; transform: scale(1); }
}
.brand-logo-mask {
  display: block;
  width: clamp(68px, 6.5vw, 104px);
  height: clamp(30px, 3vw, 44px);
  background: currentColor;
  -webkit-mask: var(--brand-logo) center / contain no-repeat;
  mask: var(--brand-logo) center / contain no-repeat;
}
.site-header {
  --mobile-menu-bg: rgba(18, 19, 17, 0.96);
  --mobile-menu-color: var(--warm-white);
  --mobile-menu-line: rgba(255, 255, 255, 0.13);
}

.mobile-nav {
  justify-content: stretch;
  gap: 0;
  border-bottom-color: var(--mobile-menu-line);
  background: var(--mobile-menu-bg);
  color: var(--mobile-menu-color);
  padding: 0 clamp(20px, 6vw, 38px) 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
}

.mobile-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--mobile-menu-line);
  border-bottom: 1px solid var(--mobile-menu-line);
  padding: 15px 0;
  color: currentColor;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav-heading small {
  color: currentColor;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

.mobile-nav nav {
  width: 100%;
  gap: 0;
}

.mobile-nav a {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--mobile-menu-line);
  padding: 15px 2px;
  color: currentColor;
  font-size: 18px;
  text-align: left;
}

.mobile-nav a > span {
  color: currentColor;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.42;
}

.mobile-nav a > strong {
  font-size: inherit;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.mobile-nav > p {
  padding-top: 17px;
  color: currentColor;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  opacity: 0.5;
  text-transform: uppercase;
}

.rtl .mobile-nav a {
  grid-template-columns: 1fr 38px;
  text-align: right;
}

.rtl .mobile-nav a > span {
  grid-column: 2;
  grid-row: 1;
}

.rtl .mobile-nav a > strong {
  grid-column: 1;
  grid-row: 1;
}
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: clamp(46px, 6vw, 76px) clamp(22px, 5vw, 70px) 34px;
  text-align: center;
}

.footer > * {
  justify-self: center;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.footer-brand > span {
  color: #817970;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: center;
  gap: 16px clamp(18px, 3vw, 38px);
}

.footer .copyright {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  width: min(100%, 760px);
}

@media (max-width: 680px) {

  .footer {
    align-items: center;
  }

  .footer nav {
    width: min(100%, 360px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .footer nav a {
    text-align: center;
  }
}

.footer nav {
  display: flex;
  width: min(100%, 920px);
  flex-wrap: wrap;
  justify-content: center;
  justify-items: center;
  gap: 18px clamp(22px, 3vw, 42px);
  margin-inline: auto;
}

.footer nav a {
  text-align: center;
}

@media (max-width: 680px) {

  .footer nav {
    width: min(100%, 360px);
    gap: 18px 14px;
  }
}
@keyframes admin-spin { to { transform: rotate(360deg); } }
@media (min-width: 981px) {
  .about.section-grid {
    min-height: clamp(680px, 78svh, 860px);
    height: auto;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    gap: clamp(36px, 5vw, 88px);
    align-items: center;
    padding: clamp(56px, 6vw, 104px) clamp(44px, 7vw, 132px);
  }

  .about.section-grid > * {
    min-height: 0;
  }

  .about .section-copy {
    padding: 0;
  }

  .about .portrait {
    width: min(32vw, 500px);
    aspect-ratio: 3 / 4;
    max-height: calc(100svh - 150px);
    justify-self: end;
    border: 1px solid rgba(43, 41, 37, 0.12);
    box-shadow: 0 26px 70px rgba(38, 34, 29, 0.12);
  }

  .rtl .about .portrait {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .about .portrait {
    width: min(100%, 520px);
    min-height: 0;
    aspect-ratio: 3 / 4;
    justify-self: center;
  }

  .rtl .timeline-column > .eyebrow,
  .rtl .timeline-column.left-side > .eyebrow,
  .rtl .timeline-column.right-side > .eyebrow {
    text-align: right;
  }

  .rtl .timeline-item,
  .rtl .timeline-column.left-side .timeline-item,
  .rtl .timeline-column.right-side .timeline-item {
    grid-template-columns: 16px minmax(78px, 92px) minmax(0, 1fr);
    direction: rtl;
    text-align: right;
  }

  .rtl .timeline-item::before,
  .rtl .timeline-column.left-side .timeline-item::before,
  .rtl .timeline-column.right-side .timeline-item::before {
    grid-column: 1;
  }

  .rtl .timeline-item::after,
  .rtl .timeline-column.left-side .timeline-item::after,
  .rtl .timeline-column.right-side .timeline-item::after {
    right: 7.5px;
    left: auto;
  }

  .rtl .timeline-item div,
  .rtl .timeline-column.left-side .timeline-item div,
  .rtl .timeline-column.right-side .timeline-item div {
    grid-column: 3;
    text-align: right;
  }

  .rtl .timeline-item span,
  .rtl .timeline-column.left-side .timeline-item span,
  .rtl .timeline-column.right-side .timeline-item span {
    grid-column: 2;
    text-align: right;
  }
}
@media (min-width: 981px) {
  .about.section-grid {
    height: clamp(700px, 82svh, 900px);
    min-height: 700px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: clamp(52px, 7vw, 132px);
    padding: 0 clamp(44px, 7vw, 132px);
    overflow: hidden;
  }

  .about.section-grid > * { min-height: 0; }

  .about .section-copy {
    max-width: 780px;
    padding: 0;
  }

  .about .section-copy h2 {
    max-width: 740px;
    margin: 20px 0 30px;
    font-size: clamp(54px, 4.8vw, 80px);
    line-height: 1.02;
  }

  .about .section-copy p:not(.eyebrow) {
    max-width: 680px;
    font-size: clamp(16px, 1.08vw, 19px);
    line-height: 1.95;
  }

  .about .signature {
    margin-top: 30px;
    font-size: 32px;
  }

  .about .portrait,
  .rtl .about .portrait {
    width: auto;
    height: 100%;
    max-height: none;
    aspect-ratio: 3 / 4;
    align-self: stretch;
    justify-self: end;
    border: 0;
    box-shadow: -24px 0 72px rgba(38, 34, 29, 0.1);
  }

  .rtl .about .portrait {
    justify-self: start;
    box-shadow: 24px 0 72px rgba(38, 34, 29, 0.1);
  }

  .rtl .desktop-nav {
    gap: clamp(28px, 3vw, 50px);
  }

  .rtl .desktop-nav a {
    padding: 8px 2px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.88;
  }

  .rtl .hero-content {
    width: min(700px, 48vw);
    margin: 0;
    padding: clamp(210px, 27vh, 300px) clamp(56px, 8vw, 150px) 0 0;
  }

  .rtl .hero h1 {
    margin-top: 18px;
    font-size: clamp(62px, 6vw, 104px);
    font-weight: 780;
    line-height: 1.04;
    text-wrap: balance;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  }

  .rtl .hero-subtitle {
    width: min(540px, 100%);
    margin: 26px 0 34px;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.95;
  }
}

.skill-icon-wrap {
  width: 64px;
  height: 64px;
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1c19;
  box-shadow: 0 12px 28px rgba(23, 22, 19, 0.16);
}

.skill-icon-wrap .skill-icon {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.9;
}

@media (max-width: 980px) {
  .rtl .hero-content {
    width: min(88vw, 620px);
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .skill-icon-wrap {
    width: 58px;
    height: 58px;
  }
}

.skill-icon-wrap .skill-icon {
  filter: none;
  opacity: 1;
  transform: none;
}

.skill-icon-wrap {
  width: 66px;
  height: 66px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.skill-icon-wrap .skill-icon {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 700px) {
  .skill-icon-wrap {
    width: 61px;
    height: 61px;
  }
}

@media (max-width: 560px) {
  .site-logo .logo-mark {
    font-size: 30px;
  }

  .site-logo .brand-logo-mask {
    width: 96px;
    height: 46px;
  }
}
