/*
  PEDRO ELEFTHERIOU — LANDING PAGE — VERSÃO 01 SEO

  Edição rápida:
  1. Cores principais: altere as variáveis em :root.
  2. Fontes: altere --display e --sans.
  3. Textos: altere somente o arquivo index.html.
*/

:root {
  --ink: #0a0a09;
  --paper: #ebe7df;
  --gold: #b49b65;
  --gold-bright: #cfb878;
  --line: rgba(235, 231, 223, 0.18);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: 11px;
  font-weight: 540;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.identity {
  display: flex;
  gap: 15px;
  align-items: center;
  transition: color 220ms ease;
}

.identity:hover,
.identity:focus-visible {
  color: var(--gold-bright);
}

.monogram {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(207, 184, 120, 0.65);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 22% 46%,
      rgba(180, 155, 101, 0.08),
      transparent 31%
    ),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  opacity: 0.045;
}

.hero-copy {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 100svh;
  padding: 140px clamp(28px, 4.5vw, 84px) 94px;
}

.eyebrow {
  margin: 0;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.25em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1 {
  margin: clamp(30px, 5vh, 58px) 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(62px, 7.7vw, 138px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.72;
}

.hero h1 span {
  position: relative;
  z-index: 8;
  display: block;
  margin-top: 0.1em;
  margin-left: 0.27em;
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-statement {
  margin: clamp(38px, 6vh, 70px) 0 0 auto;
  color: rgba(235, 231, 223, 0.82);
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 36px);
  font-style: italic;
  line-height: 1.05;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  min-width: 0;
  margin-top: clamp(38px, 6vh, 64px);
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-meta p {
  min-width: 0;
  margin: 0;
  color: rgba(235, 231, 223, 0.43);
  font-size: 9px;
  letter-spacing: 0.17em;
  line-height: 1.65;
  text-transform: uppercase;
}

.hero-meta span {
  display: block;
  color: var(--paper);
  font-size: 10px;
  overflow-wrap: break-word;
}

.artist-bio {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(235, 231, 223, 0.58);
  font-family: var(--display);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.55;
}

.portrait-wrap {
  position: relative;
  min-width: 0;
  min-height: 100svh;
  overflow: hidden;
  background: #0b0c0a;
}

.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
  filter: saturate(0.77) contrast(1.05);
  transform: scale(1.002);
}

.portrait-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ink) 0%,
      rgba(10, 10, 9, 0.22) 14%,
      transparent 42%
    ),
    linear-gradient(0deg, rgba(10, 10, 9, 0.62) 0%, transparent 35%);
}

.portrait-caption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 64px);
  bottom: 42px;
  margin: 0;
  color: rgba(235, 231, 223, 0.8);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.portrait-caption span {
  display: block;
  color: rgba(235, 231, 223, 0.44);
}

.reveal {
  animation: reveal 900ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.reveal-two {
  animation-delay: 110ms;
}

.reveal-three {
  animation-delay: 220ms;
}

.reveal-four {
  animation-delay: 330ms;
}

.reveal-five {
  animation-delay: 440ms;
}

.reveal-image {
  animation-delay: 100ms;
  animation-duration: 1200ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  }

  .hero-copy {
    padding-right: 24px;
    padding-left: 32px;
  }

  .hero h1 {
    font-size: clamp(55px, 8.3vw, 86px);
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  .identity {
    gap: 11px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .monogram {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-copy {
    min-height: 620px;
    padding: 118px 22px 66px;
  }

  .hero h1 {
    margin-top: 31px;
    font-size: clamp(58px, 19.2vw, 87px);
    line-height: 0.77;
  }

  .hero h1 span {
    margin-left: 0.06em;
  }

  .hero-statement {
    margin: 46px 0 0 auto;
    font-size: 25px;
  }

  .hero-meta {
    gap: 14px;
    margin-top: 48px;
  }

  .hero-meta p,
  .hero-meta span {
    font-size: 8px;
  }

  .artist-bio {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.5;
  }

  .portrait-wrap {
    min-height: 74svh;
  }

  .portrait {
    object-position: center 26%;
  }

  .portrait-shade {
    background:
      linear-gradient(0deg, rgba(10, 10, 9, 0.7) 0%, transparent 38%);
  }

  .portrait-caption {
    right: 20px;
    bottom: 24px;
  }
}

@media (max-width: 380px) {
  .hero-copy {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 55px;
  }
}

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

/* Página técnica 404.html */

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 40px 24px;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(180, 155, 101, 0.1),
      transparent 34%
    ),
    var(--ink);
}

.error-content {
  max-width: 720px;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.error-content h1 {
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: clamp(54px, 9vw, 112px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.error-description {
  max-width: 480px;
  margin: 34px auto 0;
  color: rgba(235, 231, 223, 0.68);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.error-link {
  display: inline-flex;
  margin-top: 42px;
  padding: 14px 20px;
  border: 1px solid rgba(207, 184, 120, 0.58);
  color: var(--gold-bright);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.error-link:hover,
.error-link:focus-visible {
  background: var(--gold-bright);
  color: var(--ink);
}
