
/* =========================================
   MOHAMMAD KHAZAEI — HERO
   Architectural / Editorial / Digital
========================================= */
*{
    padding: 0;
    margin: 0;
}
.hero {
  --paper: #eae8e1;
  --ink: #171715;
  --muted: #77766e;
  --line: rgba(37, 37, 33, 0.22);
  --accent: #b8ff3d;

  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
}

.hero *,
.hero *::before,
.hero *::after {
  box-sizing: border-box;
}

.hero a {
  color: inherit;
  text-decoration: none;
}

.hero-shell {
  width: calc(100% - 72px);
  max-width: 1480px;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

/* Header */

.hero-header {
  position: relative;
  z-index: 5;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-brand {
    
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.hero-brand span {
  color: var(--accent);
}

.hero-header-index {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.5px;
}

/* Main composition */

.hero-main {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(310px, 0.88fr) minmax(0, 1.42fr);
  align-items: center;
  gap: 0;
  padding-block: 12px 20px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 490px;
  padding-block: 18px 12px;
}

/* Eyebrow */

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.eyebrow-dash {
  width: 17px;
  height: 1px;
  background: var(--ink);
  opacity: 0.7;
}

/* Main title */

.hero-title {
  margin: 0;
  font-size: clamp(58px, 7.1vw, 100px);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.075em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-name-en {
  display: block;
  white-space: nowrap;
}

.hero-period {
  color: var(--accent);
}

.hero-subtitle {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: -0.5px;
}

.hero-description {
  margin: 17px 0 0;
  color: #66645d;
  font-size: 12px;
  font-weight: 400;
  line-height: 2.15;
}

.hero-short-line {
  width: 19px;
  height: 1px;
  margin-top: 19px;
  background: var(--ink);
}

/* Actions */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

.hero-button {
  min-width: 155px;
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper) !important;
  font-size: 10px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.hero-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink) !important;
}

.hero-button-arrow {
  font-size: 17px;
  line-height: 1;
}

.hero-resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted) !important;
  font-size: 9px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.hero-resume:hover {
  color: var(--ink) !important;
}

.hero-resume svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

/* Services list */

.hero-services {
  margin-top: 48px;
}

.services-heading {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2px 0 2px 0;
  border-right: 0;
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 27px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline: 16px 8px;
  font-size: 14px;
  font-weight: 400;
  transition: padding 180ms ease;
}

.service-item:hover {
  padding-left: 3px;
}

.service-number {
  min-width: 17px;
  color: var(--muted);
  font-size: 8px;
}

/* Artwork */

.hero-visual {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  min-width: 0;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.hero-visual-grid {
  position: absolute;
  z-index: -3;
  inset: 4% 2%;
  background-image:
    linear-gradient(rgba(37, 37, 33, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 37, 33, 0.13) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  mask-image: linear-gradient(
    135deg,
    transparent,
    #000 25%,
    #000 70%,
    transparent
  );
}

.hero-lime-disc {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: 31%;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  display: none
}

.hero-art-frame {
  position: absolute;
  z-index: -2;
  width: 72%;
  height: 73%;
  border: 1px solid rgba(37, 37, 33, 0.35);
  transform: translate(-1%, 1%) rotate(-4deg);
  display: none;
}

.hero-art-frame-back {
  top: 12%;
  left: 10%;
}

.hero-artwork {
  display: block;
  position: relative;
  z-index: 1;
  width: 85%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(37, 37, 33, 0.12));
  transform: translateX(-1%);
  transition: transform 400ms ease;
}

.hero-visual:hover .hero-artwork {
  transform: translate(-1%, -5px);
}

/* Technical annotations */

.hero-coordinate {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 7px;
  line-height: 1.9;
  letter-spacing: 1.2px;
}

.hero-coordinate-top {
  top: 11%;
  left: 5%;
}

.hero-coordinate-right {
  top: 70%;
  right: 0;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.coordinate-line {
  width: 29px;
  height: 1px;
  background: var(--muted);
}

.hero-art-caption {
  position: absolute;
  right: 0;
  bottom: 18%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 1.4px;
}

.hero-plus {
  position: absolute;
  color: var(--muted);
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
}

.hero-plus-top {
  top: 1%;
  right: 14%;
}

.hero-plus-bottom {
  right: 11%;
  bottom: 6%;
}

/* Footer */

.hero-footer {
  position: relative;
  z-index: 4;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.scroll-line {
  width: 35px;
  height: 1px;
  background: var(--line);
}

.scroll-arrow {
  font-size: 15px;
  transition: transform 180ms ease;
}

.hero-scroll:hover .scroll-arrow {
  transform: translateY(3px);
}

.hero-footer-note {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 1.1px;
}

/* Tablet */

@media (max-width: 1000px) {
  .hero-shell {
    width: calc(100% - 48px);
  }

  .hero-main {
    grid-template-columns: minmax(285px, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-title {
    font-size: clamp(57px, 7.3vw, 76px);
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-artwork {
    width: 130%;
  }

  .hero-services {
    margin-top: 35px;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-button {
    min-width: 140px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .hero-shell {
    width: calc(100% - 36px);
    min-height: 100svh;
  }

  .hero-header {
    min-height: 48px;
  }

  .hero-main {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 26px 10px;
  }

  .hero-content {
    grid-row: 1;
    max-width: 100%;
    padding-top: 8px;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: 8px;
  }

  .hero-title {
    font-size: clamp(66px, 14.5vw, 100px);
    line-height: 0.91;
  }

  .hero-subtitle {
    margin-top: 21px;
    font-size: clamp(15px, 4vw, 19px);
  }

  .hero-description {
    margin-top: 14px;
    font-size: 12px;
    line-height: 2.1;
  }

  .hero-short-line {
    margin-top: 15px;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 21px;
  }

  .hero-button {
    min-height: 39px;
    min-width: 148px;
  }

  .hero-services {
    margin-top: 32px;
  }

  .service-item {
    min-height: 29px;
    font-size: 10px;
  }

  .hero-visual {
    grid-row: 2;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 0.91;
    margin-top: 18px;
  }

  .hero-artwork {
    width: 112%;
  }

  .hero-lime-disc {
    top: 10%;
    right: 31%;
    width: 26%;
  }

  .hero-art-frame {
    width: 76%;
    height: 74%;
  }

  .hero-coordinate-top {
    top: 6%;
    left: 2%;
  }

  .hero-coordinate-right {
    right: 0;
    top: 68%;
  }

  .hero-art-caption {
    bottom: 13%;
    right: 0;
    font-size: 6px;
  }

  .hero-plus-top {
    top: 0;
    right: 13%;
  }

  .hero-plus-bottom {
    right: 10%;
    bottom: 3%;
  }

  .hero-footer {
    min-height: 50px;
  }

  .hero-footer-note {
    display: none;
  }
}

/* Small mobile */

@media (max-width: 380px) {
  .hero-shell {
    width: calc(100% - 28px);
  }

  .hero-title {
    font-size: 63px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

  .hero-resume {
    min-height: 28px;
  }

  .hero-visual {
    aspect-ratio: 1 / 1;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .hero *,
  .hero *::before,
  .hero *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}




/* Hero visual slider */

.hero-slider {
  position: relative;
}

.hero-slider-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(35px) scale(0.975);
  transition:
    opacity 900ms cubic-bezier(.22, .61, .36, 1),
    transform 1000ms cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 1000ms;
  pointer-events: none;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 900ms cubic-bezier(.22, .61, .36, 1),
    transform 1000ms cubic-bezier(.22, .61, .36, 1),
    visibility 0s;
  pointer-events: auto;
}

.hero-slide img {
  display: block;
  width: 70%;
  max-width: none;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(37, 37, 33, .12));
}

.hero-slider-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 1%;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.hero-slider-controls button {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hero-slider-prev,
.hero-slider-next {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line) !important;
  color: var(--ink);
  font-size: 15px !important;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--accent);
  border-color: var(--accent) !important;
}

.hero-slider-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-slider-pagination button {
  width: 5px;
  height: 5px;
  padding: 0;
  border-radius: 50%;
  background: #aaa79d;
  transition:
    width 250ms ease,
    background 250ms ease;
}

.hero-slider-pagination button.is-active {
  width: 20px;
  border-radius: 4px;
  background: var(--ink);
}

@media (max-width: 700px) {
  .hero-slide img {
    width: 112%;
  }

  .hero-slider-controls {
    bottom: 0;
    gap: 8px;
  }

  .hero-slider-prev,
  .hero-slider-next {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slider-pagination button {
    transition: none !important;
  }
}


