:root {
  --black: #030303;
  --ink: #0a0a09;
  --charcoal: #151514;
  --charcoal-2: #1d1c1a;
  --ivory: #f4efe4;
  --muted: #bdb5a9;
  --soft: #80786d;
  --gold: #e8be32;
  --gold-deep: #b78618;
  --wine: #5a1d24;
  --steel: #9aa5a9;
  --line: rgba(244, 239, 228, 0.16);
  --line-strong: rgba(232, 190, 50, 0.42);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ivory);
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--black);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #030303 0%, #0a0a09 45%, #030303 100%);
  background-size: 72px 100%, auto;
  font-family: var(--sans);
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(90, 29, 36, 0.34), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(154, 165, 169, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(232, 190, 50, 0.06), transparent 18rem);
}

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

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 28px), var(--max));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  background: rgba(3, 3, 3, 0.66);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand span,
.main-nav a,
.eyebrow,
.section-label,
.button,
.hero-meta,
.feature-list,
.offer-list,
.contact-link {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand span {
  color: var(--ivory);
}

.brand small {
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.main-nav a {
  color: rgba(244, 239, 228, 0.72);
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96) 0%, rgba(3, 3, 3, 0.84) 42%, rgba(3, 3, 3, 0.32) 70%, rgba(3, 3, 3, 0.72) 100%),
    linear-gradient(0deg, #030303 0%, rgba(3, 3, 3, 0.54) 34%, transparent 72%),
    url("assets/retrato/portrait-01.png");
  background-color: #050505;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto min(92vh, 900px);
  filter: saturate(0.86) contrast(1.08) brightness(0.72);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(232, 190, 50, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(90, 29, 36, 0.34), transparent 46%);
  background-size: 24vw 100%, auto;
  opacity: 0.34;
}

.hero-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(150px, 16vh, 210px) 0 clamp(86px, 12vh, 128px);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  font-size: clamp(4rem, 8.4vw, 9.1rem);
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(244, 239, 228, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #15110b;
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f4cf4a;
  border-color: #f4cf4a;
}

.button-secondary {
  color: var(--ivory);
  background: rgba(244, 239, 228, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--black);
  background: var(--ivory);
  border-color: var(--ivory);
}

.hero-meta {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 42px);
  display: flex;
  gap: 14px;
  color: rgba(244, 239, 228, 0.78);
  writing-mode: vertical-rl;
}

.hero-meta span {
  padding: 10px 8px;
  border: 1px solid rgba(244, 239, 228, 0.22);
  background: rgba(3, 3, 3, 0.42);
}

.section-pad {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0;
}

.intro-grid,
.section-head,
.experience,
.offer,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.intro h2,
.section-head h2,
.experience h2,
.offer h2,
.contact h2 {
  font-size: clamp(2.6rem, 5.8vw, 6.2rem);
}

.intro-copy p,
.section-head > p,
.experience-copy > p,
.offer-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.78;
}

.intro-copy {
  display: grid;
  gap: 22px;
  padding-top: 10px;
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(29, 28, 26, 0.92), rgba(10, 10, 9, 0.92));
}

.audience article {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.audience article:last-child {
  border-right: 0;
}

.audience span,
.process-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
}

.audience p {
  max-width: 380px;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.4;
}

.section-head {
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 228, 0.12);
  background: var(--charcoal);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.9) contrast(1.03) brightness(0.92);
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:nth-child(1) img,
.gallery-item:nth-child(5) img,
.gallery-item:nth-child(6) img,
.gallery-item:nth-child(7) img,
.gallery-item:nth-child(8) img,
.gallery-item:nth-child(12) img {
  object-position: center top;
}

.gallery-item:nth-child(10) img,
.gallery-item:nth-child(11) img {
  object-position: center center;
}

.gallery-item:hover img {
  filter: saturate(1) contrast(1.05) brightness(0.98);
  transform: scale(1.035);
}

.experience {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(78px, 10vw, 132px);
  align-items: center;
}

.experience-image {
  min-height: clamp(480px, 52vw, 700px);
  border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(3, 3, 3, 0.24), rgba(3, 3, 3, 0.04)),
    url("assets/retrato/direction-photo.png");
  background-position: center top;
  background-size: cover;
  filter: saturate(0.84) contrast(1.05) brightness(0.84);
}

.experience-copy {
  padding: clamp(22px, 3vw, 42px) 0;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(244, 239, 228, 0.78);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.process {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(90, 29, 36, 0.22), transparent 54%),
    var(--charcoal);
}

.process-grid h3 {
  margin: 34px 0 16px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.offer {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto clamp(78px, 10vw, 132px);
  padding: clamp(42px, 6vw, 72px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.88), rgba(3, 3, 3, 0.58)),
    linear-gradient(135deg, rgba(232, 190, 50, 0.16), rgba(90, 29, 36, 0.22));
}

.offer-list {
  display: grid;
  gap: 12px;
}

.offer-list span {
  padding: 15px 0;
  border-bottom: 1px solid rgba(244, 239, 228, 0.16);
  color: rgba(244, 239, 228, 0.82);
}

.contact {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.045);
}

.contact-panel .button {
  width: 100%;
}

.contact-link {
  display: block;
  color: var(--muted);
  text-transform: lowercase;
  transition: color 180ms ease;
}

.contact-link[href^="tel:"] {
  text-transform: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--gold);
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    color: var(--ivory);
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0 22px;
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .intro-grid,
  .section-head,
  .experience,
  .offer,
  .contact {
    grid-template-columns: 1fr;
  }

  .audience,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .audience article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .audience article:last-child {
    border-bottom: 0;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-pad,
  .experience,
  .offer,
  .contact,
  .hero-inner {
    width: calc(100% - 24px);
  }

  .site-header {
    top: 12px;
    min-height: 62px;
    padding: 0 14px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-bg {
    background-position: 68% center;
    background-size: auto 82vh;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 12vw, 4.15rem);
    overflow-wrap: normal;
  }

  .hero-inner {
    padding-bottom: 58px;
  }

  .hero-lead {
    max-width: 34ch;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

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

  .gallery-item,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .gallery-item.wide {
    grid-column: auto;
  }

  .offer {
    padding: 26px;
  }

  .brand span {
    font-size: 0.67rem;
  }
}
