.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--background) 0%, transparent 20%, transparent 100%);
  pointer-events: none;

}

.hero-content {
  position: relative;
  background-color: var(--tranparent-white);
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 4rem 0;
  backdrop-filter: blur(2px);
}

.hero-subtitle {
  font-family: var(--label-font);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(28, 27, 27, 0.6);
  display: block;
  margin-bottom: 1.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .75;
  }
}

.hero-title {
  font-family: var(--headline-font);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 8rem;
  }
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
  }
}

.button {
  font-size: 14px;
  padding: 1rem 2.5rem;
  font-family: var(--label-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--on-surface);
  color: var(--surface);
  transition: transform 0.3s ease-in-out;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-outline {
  border: 1px solid rgba(40, 38, 34, 0.53);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease-in-out;
}

.btn-outline:hover {
  color: var(--secondary);
  background-color: var(--tranparent-white-faint);
}

.btn-outline:hover span {
  transform: translateX(4px);
}

.narrative {
  padding: 4rem 2rem;
  display: flex;
  gap: 4rem;
  font-family: var(--body-font);
  justify-content: space-evenly;
  align-items: center;
}


.narrative-left {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .narrative {
    flex-flow: column;
    padding: 4rem 2rem;
  }

  .narrative-left,
  .narrative-right {
    width: 100%;
  }
}


.narrative-box {
  background-color: var(--surface-container-low);
  padding: 2rem;
  position: relative;
}

.narrative-decor {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--surface-container-low);
  z-index: -1;
}

@media (min-width: 768px) {
  .narrative-box {
    padding: 4rem;
  }
}

.narrative-title {
  font-family: var(--headline-font);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.narrative-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.italic-body {
  font-style: italic;
  font-family: var(--body-font);
}

.img-container {
  width: 100%;
  height: 100%;
}

.narrative-right {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.narrative-right .upper-right {
  height: 600px;
}

.narrative-right .lower-right {
  height: 400px;
  display: flex;
  gap: 2rem;
}

.narrative-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--secondary);
  width: 40%;
}

.stat-number {
  font-family: var(--headline-font);
  font-size: 3rem;
  color: var(--surface-container-highest);
  font-weight: 700;
  opacity: 0.3;
}

.stat-label {
  font-family: var(--label-font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(28, 27, 27, 0.5);
  margin-top: 0.5rem;
  white-space: nowrap;
}

.works-section {
  background-color: var(--surface-container-low);
  padding: 8rem 2rem;
}

.works-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .works-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.works-intro {
  max-width: 28rem;
}

.works-title {
  font-family: var(--headline-font);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.works-desc {
  font-style: italic;
  color: var(--on-surface-variant);
}

.works-filter {
  display: flex;
  gap: 1rem;
}

.filter-item {
  font-family: var(--label-font);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.filter-item.active {
  background-color: var(--surface-container-highest);
  border-bottom: 2px solid var(--secondary);
}

.filter-item:not(.active) {
  color: rgba(28, 27, 27, 0.4);
}

.filter-item:not(.active):hover {
  color: var(--on-surface);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 450px);
  }

  .span-2-2 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .span-1-1 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .span-1-2 {
    grid-column: span 1;
    grid-row: span 2;
  }

  .span-2-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.bento-item {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  transition: transform 0.7s ease;
}

.bento-item:hover img {
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  width: 100%;
  transform: translateY(1rem);
  transition: transform 0.5s ease;
}

.bento-item:hover .bento-content {
  transform: translateY(0);
}

.bento-label-box {
  background-color: rgba(252, 249, 248, 0.8);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  display: inline-block;
}

.bento-loc {
  font-family: var(--label-font);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.bento-title {
  font-family: var(--headline-font);
  font-size: 1.25rem;
  font-weight: 700;
}

.bento-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 27, 27, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item:hover .bento-plus {
  opacity: 1;
}

.bento-plus span {
  color: var(--surface);
  font-size: 2.5rem;
}

.bento-quote {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.quote-text {
  font-style: italic;
  font-size: 0.875rem;
  color: rgba(28, 27, 27, 0.6);
}

.quote-footer {
  margin-top: 1rem;
}

.quote-line {
  display: block;
  width: 2rem;
  height: 1px;
  background-color: var(--secondary);
  margin-bottom: 0.5rem;
}

.quote-label {
  font-family: var(--label-font);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bento-caption-title {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: var(--headline-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.newsletter {
  padding: 8rem 2rem;
  text-align: center;
  background-color: var(--surface);
}

.newsletter-container {
  max-width: 42rem;
  margin: 0 auto;
}

.newsletter-icon {
  color: var(--secondary);
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

.newsletter-title {
  font-family: var(--headline-font);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .newsletter-title {
    font-size: 3rem;
  }
}