/* Layout and visual treatment, organised in page order. */
.hero {
  padding-top: 40px;
  padding-bottom: 0;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}
.location {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.86fr;
  gap: 70px;
  align-items: center;
  padding: 50px 0 56px;
}
.hero h1 {
  font-size: clamp(4rem, 7.9vw, 7.3rem);
  letter-spacing: -0.075em;
  font-weight: 700;
  line-height: 1.005;
}
.hero-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 425px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 29px;
}
.hero-visual {
  position: relative;
  max-width: 380px;
  width: 100%;
  justify-self: end;
  margin: 0 15px 26px 0;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 3% -18px 13% 8px;
  background: #2459ed;
  transform: rotate(-4deg);
  border-radius: 4px;
}
.portrait-frame {
  position: relative;
  background: var(--surface);
  padding: 13px;
  transform: rotate(3deg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-portrait {
  display: block;
  width: 100%;
  height: 355px;
  object-fit: cover;
  object-position: 50% 34%;
  filter: grayscale(1) contrast(1.06);
}
.portrait-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 8px 8px;
}
.portrait-caption > span:first-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.portrait-monogram {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.1em;
  font-weight: 700;
}
.hero-project-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 17px 18px;
  max-width: 355px;
  width: calc(100% + 10px);
  box-shadow: var(--shadow);
  transform: translate(-34px, 1px) rotate(-3deg);
  border-radius: 8px;
  transition: transform 0.3s var(--ease);
}
.hero-project-note:hover {
  transform: translate(-34px, -4px) rotate(0);
}
.note-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}
.hero-project-note small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.hero-project-note strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  line-height: 1.6;
}
.hero-project-note > span:last-child {
  margin-left: auto;
  font-size: 1.3rem;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 27px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.hero-bottom > a {
  color: var(--ink);
  margin-left: 15px;
  white-space: nowrap;
}
.hero-bottom > a span {
  margin-left: 14px;
  font-size: 1rem;
}
.work-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.project-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px 28px;
}
.project-card {
  min-width: 0;
}
.project-media {
  border-radius: var(--radius);
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  overflow: hidden;
  text-align: left;
  color: white;
  padding: 0;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
  contain: paint;
}
.project-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px #12244215;
}
.project-media-top {
  position: absolute;
  z-index: 2;
  left: 27px;
  right: 27px;
  top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.media-badge {
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-family: var(--font);
  font-size: 0.75rem;
  white-space: nowrap;
}
.project-arrow {
  position: absolute;
  bottom: 22px;
  right: 23px;
  z-index: 3;
  display: grid;
  place-items: center;
  background: #fff;
  color: #151820;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.project-media:hover .project-arrow {
  transform: rotate(45deg);
}
.project-caption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
}
.project-caption h3 {
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  margin-bottom: 7px;
}
.project-caption p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.project-kind {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
  padding-top: 4px;
  max-width: 122px;
}
.media-informary {
  background: #d9eea5;
  color: #173529;
}
.informary-logotype {
  display: block;
  position: absolute;
  top: 33%;
  left: 9%;
  font-size: clamp(2.5rem, 4.9vw, 4.8rem);
  letter-spacing: -0.075em;
  font-weight: 750;
  line-height: 1;
}
.informary-logotype > span {
  font-size: 0.7em;
  vertical-align: top;
  margin-left: 8px;
}
.informary-tagline {
  position: absolute;
  left: 10%;
  top: 60%;
  font-size: 0.9375rem;
}
.informary-features {
  position: absolute;
  left: 10%;
  bottom: 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 75%;
}
.informary-features span {
  font-size: 0.75rem;
  border: 1px solid #17352940;
  border-radius: 4px;
  padding: 5px 9px;
}
.media-fleet {
  background: #25262a;
  color: white;
}
.screen-frame {
  display: block;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 24%;
  border: 1px solid #ffffff4a;
  background: #fff;
  box-shadow: 0 25px 50px #0004;
  border-radius: 8px;
  overflow: hidden;
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}
.project-media:hover .screen-frame {
  transform: rotate(0) translateY(-4px);
}
.screen-toolbar {
  display: flex;
  gap: 4px;
  height: 18px;
  align-items: center;
  padding: 0 8px;
  background: #e7e8ed;
}
.screen-toolbar i {
  width: 4px;
  height: 4px;
  background: #a7abb5;
  border-radius: 50%;
}
.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.media-fleet .screen-frame {
  inset: 18% 0 0;
  border: 0;
  box-shadow: none;
  transform: none;
  border-radius: 0;
  background: transparent;
}
.media-fleet .screen-toolbar {
  display: none;
}
.media-fleet .screen-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-fleet:hover .screen-frame {
  transform: scale(1.035);
}
.media-brain {
  background: #18294b;
  color: #deebff;
}
.brain-wordmark {
  display: block;
  position: absolute;
  top: 25%;
  left: 9%;
  font-size: clamp(2.5rem, 4.7vw, 4.6rem);
  letter-spacing: -0.055em;
  font-weight: 500;
  line-height: 1.05;
}
.brain-wordmark > span {
  color: #a2c4ff;
}
.brain-flow {
  position: absolute;
  bottom: 11%;
  left: 9%;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.brain-flow > span {
  padding: 9px 10px;
  border: 1px solid #6985b8;
  border-radius: 5px;
}
.brain-flow b {
  font-weight: 400;
}
.media-roadiane {
  background: #285aea;
  color: white;
}
.roadiane-wordmark {
  display: block;
  position: absolute;
  left: 9%;
  top: 28%;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  letter-spacing: -0.08em;
  font-weight: 700;
  line-height: 1.1;
}
.roadiane-wordmark > span {
  font-weight: 400;
  padding-left: 7px;
}
.roadiane-description {
  position: absolute;
  left: 10%;
  top: 53%;
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.roadiane-flow {
  position: absolute;
  left: 10%;
  bottom: 9%;
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.media-alharam {
  background: #e3e9e4;
  color: #24362a;
}
.media-tikrar {
  background: #091e46;
  color: white;
}
.full-project-image {
  position: absolute;
  inset: 23% 0 0;
  width: 100%;
  height: 77%;
  object-fit: cover;
}
.media-rekrute {
  background: #d6eff8;
  color: #153e51;
}
.rekrute-wordmark {
  position: absolute;
  left: 9%;
  top: 30%;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.07em;
  font-weight: 700;
}
.rekrute-wordmark > span {
  padding-left: 14px;
}
.media-bottom-label {
  position: absolute;
  bottom: 10%;
  left: 10%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.media-gym {
  background: #f1d5ae;
  color: #322a1f;
}
.gym-wordmark {
  position: absolute;
  top: 25%;
  left: 10%;
  font-size: clamp(2.4rem, 4.7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.98;
}
.gym-wordmark > span {
  margin-left: 14px;
  font-weight: 400;
}
.work-more {
  display: flex;
  justify-content: center;
  margin-top: 47px;
}
.work-more:has(button[hidden]) {
  display: none;
}
.about-section {
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}
.about-intro h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  margin-bottom: 32px;
}
.about-body > p {
  color: var(--muted);
  margin-bottom: 19px;
  font-size: 1rem;
}
.about-body > .large-copy {
  font-size: 1.65rem;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-top: 38px;
  margin-bottom: 24px;
}
.about-facts {
  display: flex;
  gap: 26px;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 27px;
  border-top: 1px solid var(--line);
}
.about-facts .eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.about-facts strong {
  font-size: 0.8125rem;
  line-height: 1.65;
  display: block;
  font-weight: 600;
}
.experience-section {
  background: var(--surface);
}
.experience-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 78px;
}
.experience-item {
  border-bottom: 1px solid var(--line);
}
.experience-item:first-child {
  border-top: 1px solid var(--line);
}
.experience-item > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 155px 1fr 24px;
  gap: 15px;
  align-items: start;
  cursor: pointer;
  padding: 30px 0;
}
.experience-item > summary::-webkit-details-marker {
  display: none;
}
.experience-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 3px;
}
.experience-company > strong {
  display: block;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.experience-company > span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}
.expand-icon {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
.experience-item[open] .expand-icon {
  transform: rotate(45deg);
}
.experience-content {
  padding: 0 28px 29px 170px;
}
.experience-content p,
.experience-content li {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.experience-content ul {
  padding-left: 17px;
  list-style: disc;
  margin: 13px 0 20px;
}
.experience-content li {
  padding-left: 2px;
  margin-bottom: 5px;
}
.experience-content p + .tags {
  margin-top: 18px;
}
.expertise-panel {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.expertise-block h3 {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
}
.skill-group {
  margin-bottom: 22px;
}
.skill-group h4,
.education h4 {
  font-size: 0.8125rem;
  line-height: 1.65;
  margin-bottom: 6px;
}
.skill-group p,
.education p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.9;
}
.expertise-footnote {
  font-size: 0.75rem !important;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}
.education {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 31px;
}
.education > div {
  margin-bottom: 23px;
}
.education > div > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: block;
  margin-bottom: 7px;
}
.services-section {
  border-top: 1px solid var(--line);
}
.services-section .section-heading h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.service-card {
  padding: 30px 27px 27px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: background 0.25s;
}
.service-card:last-child {
  border: 0;
}
.service-card:hover {
  background: var(--surface);
}
.service-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.service-symbol {
  font-size: 2.7rem;
  font-weight: 500;
  letter-spacing: -0.08em;
  color: var(--accent);
  line-height: 1;
  margin: 31px 0 30px;
  min-height: 43px;
}
.service-card h3 {
  font-size: 1.13rem;
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin-bottom: 13px;
}
.service-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-stack {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: auto;
}
.contact-section {
  background: #2459ed;
  color: #fff;
  border-radius: 30px 30px 0 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact-copy .section-number {
  color: #dbe5ff;
}
.contact-copy h2 {
  font-size: clamp(3rem, 5.9vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
  margin-bottom: 26px;
}
.contact-copy h2 > span {
  color: #d0f58a;
}
.contact-copy > p {
  color: #e1eaff;
  max-width: 375px;
  font-size: 1rem;
  line-height: 1.8;
}
.contact-email {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  margin-top: 35px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: -0.04em;
  border-bottom: 1px solid #b8cbff;
  padding-bottom: 8px;
}
.contact-email:hover {
  color: #d0f58a;
}
.contact-links {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 22px;
  font-size: 0.875rem;
}
.contact-links > span {
  opacity: 0.5;
}
.contact-links > a:hover {
  text-decoration: underline;
}
.contact-form {
  padding-top: 8px;
}
.contact-form .button {
  background: #fff;
  color: #151820;
  border-color: #fff;
  width: 100%;
  justify-content: space-between;
  margin-top: 3px;
}
.contact-form .button:hover {
  background: #d0f58a;
  border-color: #d0f58a;
}
.site-footer {
  background: #0c1018;
  color: #f1f4fb;
  padding: 60px 0 29px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 49px;
}
.footer-wordmark {
  display: block;
  width: min(480px, 60%);
  line-height: 1;
}
.back-to-top {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-size: 0.8125rem;
}
.back-to-top > span {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff40;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.back-to-top:hover > span {
  transform: translateY(-4px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #aab3c2;
  font-size: 0.75rem;
  padding-top: 23px;
  border-top: 1px solid #ffffff26;
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}
.footer-bottom a:hover {
  color: #fff;
}
.motion-ready [data-reveal] {
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.motion-ready [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(18px);
}
