:root {
  --about-ink: #07162d;
  --about-ink-soft: #102744;
  --about-cream: #f7f0e3;
  --about-cream-deep: #e7d8bf;
  --about-gold: #d1a567;
  --about-gold-bright: #e5c18b;
  --about-copy: #23334b;
}

body[data-page="sobre"] {
  background:
    radial-gradient(circle at 12% 5%, rgba(209, 165, 103, .12), transparent 28rem),
    var(--about-ink);
}

body[data-page="sobre"] .site-header {
  border-bottom-color: rgba(209, 165, 103, .2);
}

body[data-page="sobre"] .nav-list a[href="sobre.html"] {
  color: var(--about-gold-bright);
}

.about-main {
  overflow: clip;
}

.about-progress {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.about-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--about-gold), var(--about-gold-bright));
  box-shadow: 0 0 16px rgba(229, 193, 139, .55);
  transform: scaleX(0);
  transform-origin: left center;
}

.page-content.about-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
}

.about-page :where(h1, h2, p, figure, blockquote) {
  margin: 0;
}

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: min(860px, calc(100svh - 92px));
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(7, 22, 45, .98) 15%, rgba(9, 28, 54, .9) 56%, rgba(7, 22, 45, .98)),
    var(--about-ink);
}

.about-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(209, 165, 103, .65));
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .8fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
  width: min(100% - 48px, 1180px);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.about-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.about-hero__copy h1 {
  margin-bottom: 18px;
  color: var(--about-gold-bright);
  font: 700 clamp(.74rem, 1.1vw, .88rem)/1.2 Inter, sans-serif;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.about-hero__copy h2,
.about-profile__heading h2 {
  color: var(--about-cream);
  font-family: Cinzel, Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .96;
  text-wrap: balance;
}

.about-hero__copy h2 {
  max-width: 8ch;
  font-size: clamp(4rem, 8.4vw, 7.4rem);
}

.about-hero__rule {
  width: 72px;
  height: 2px;
  margin: clamp(30px, 5vw, 48px) 0 28px;
  background: linear-gradient(90deg, var(--about-gold), transparent);
}

.about-hero__copy p {
  max-width: 60ch;
  color: rgba(247, 240, 227, .82);
  font: 400 clamp(1.04rem, 1.55vw, 1.2rem)/1.85 Inter, sans-serif;
}

.about-portrait {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  justify-self: end;
  padding: 18px 18px 0 0;
  --pointer-x: 50%;
  --pointer-y: 50%;
}

.about-portrait::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 22px 18px;
  border: 1px solid rgba(209, 165, 103, .56);
  border-radius: 45% 45% 16px 16px;
  content: "";
  transform: translate(0, 0);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.about-portrait__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 240, 227, .12);
  border-radius: 45% 45% 14px 14px;
  background: #d9c9ad;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .42);
}

.about-portrait__frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, .18), transparent 27%),
    linear-gradient(180deg, transparent 68%, rgba(7, 22, 45, .22));
  opacity: .72;
  transition: opacity .3s ease;
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 602 / 641;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.about-portrait__line {
  position: absolute;
  right: -48px;
  bottom: 52px;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, var(--about-gold), transparent);
}

@media (hover: hover) and (pointer: fine) {
  .about-portrait:hover::before {
    transform: translate(8px, -8px);
  }

  .about-portrait:hover img {
    transform: scale(1.025);
  }

  .about-portrait:hover .about-portrait__frame::after {
    opacity: 1;
  }
}

.about-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(209, 165, 103, .1);
  border-radius: 50%;
  pointer-events: none;
}

.about-orbit--one {
  top: -280px;
  right: -160px;
  width: 720px;
  height: 720px;
}

.about-orbit--two {
  right: 16%;
  bottom: -290px;
  width: 520px;
  height: 520px;
}

.about-story {
  position: relative;
  color: rgba(247, 240, 227, .86);
  background:
    radial-gradient(circle at 92% 12%, rgba(209, 165, 103, .12), transparent 22rem),
    linear-gradient(180deg, #0b203b, var(--about-ink));
}

.about-story__inner {
  position: relative;
  width: min(100% - 48px, 880px);
  margin: 0 auto;
  padding: clamp(88px, 12vw, 156px) 0;
}

.story-thread {
  position: absolute;
  top: clamp(96px, 12vw, 164px);
  bottom: clamp(96px, 12vw, 164px);
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(159, 112, 54, .55) 8%, rgba(159, 112, 54, .55) 92%, transparent);
}

.story-block {
  position: relative;
  max-width: 760px;
  margin-left: auto;
  padding: 0 0 clamp(50px, 7vw, 76px) clamp(38px, 5vw, 64px);
}

.story-block p {
  color: rgba(247, 240, 227, .8);
  font: 400 clamp(1.04rem, 1.4vw, 1.16rem)/1.9 Inter, sans-serif;
}

.story-marker {
  position: absolute;
  top: .67em;
  left: 7px;
  width: 15px;
  height: 15px;
  border: 4px solid #0a1e38;
  border-radius: 50%;
  background: #a7763e;
  box-shadow: 0 0 0 1px rgba(159, 112, 54, .55);
  transform: translateX(-50%);
}

.story-block--accent p,
.story-block--victory p,
.story-block--closing p {
  color: var(--about-gold-bright);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.32;
}

.story-quote {
  position: relative;
  max-width: 760px;
  margin: 0 0 clamp(58px, 8vw, 88px) auto;
  padding: clamp(34px, 6vw, 58px) clamp(30px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(209, 165, 103, .3);
  border-radius: 4px 32px 4px 32px;
  background: rgba(247, 240, 227, .055);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
}

.story-quote::before {
  position: absolute;
  top: -50px;
  right: 16px;
  content: "“";
  color: rgba(209, 165, 103, .14);
  font: 600 12rem/1 Cinzel, serif;
}

.story-quote p {
  position: relative;
  color: var(--about-cream);
  font: 600 clamp(1.8rem, 4.2vw, 3.15rem)/1.16 Cinzel, Georgia, serif;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.about-profile {
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 12vw, 160px) 0 clamp(76px, 10vw, 120px);
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(7, 22, 45, .99), rgba(13, 40, 72, .96)),
    var(--about-ink);
}

.about-profile__glow {
  position: absolute;
  z-index: -1;
  top: 8%;
  left: -280px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(209, 165, 103, .08);
  filter: blur(2px);
  pointer-events: none;
}

.about-profile__inner {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 9vw, 128px);
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}

.about-profile__heading {
  align-self: start;
}

.about-profile__heading h2 {
  max-width: 7ch;
  font-size: clamp(3.6rem, 6.8vw, 6.25rem);
}

.about-profile__heading > span {
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 34px;
  background: linear-gradient(90deg, var(--about-gold), transparent);
}

.about-profile__content {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
}

.profile-panel {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(247, 240, 227, .12);
  border-radius: 4px 28px 4px 28px;
  background: rgba(247, 240, 227, .055);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.profile-panel p,
.profile-impact {
  color: rgba(247, 240, 227, .82);
  font: 400 clamp(1.03rem, 1.35vw, 1.14rem)/1.85 Inter, sans-serif;
}

.profile-credentials {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(209, 165, 103, .24);
}

.profile-credentials > p {
  margin-bottom: 18px;
  color: var(--about-gold-bright);
  font-weight: 700;
}

.profile-credentials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-credentials__grid span {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 16px 18px 16px 34px;
  border: 1px solid rgba(209, 165, 103, .18);
  border-radius: 3px 14px 3px 14px;
  color: rgba(247, 240, 227, .88);
  background: rgba(7, 22, 45, .38);
  font-size: .94rem;
  line-height: 1.5;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.profile-credentials__grid span::before {
  position: absolute;
  left: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--about-gold);
  box-shadow: 0 0 0 4px rgba(209, 165, 103, .09);
}

@media (hover: hover) and (pointer: fine) {
  .profile-credentials__grid span:hover {
    border-color: rgba(209, 165, 103, .52);
    background: rgba(209, 165, 103, .08);
    transform: translateY(-3px);
  }
}

.profile-impact {
  padding: clamp(28px, 4vw, 40px) clamp(28px, 5vw, 46px);
  border-left: 2px solid var(--about-gold);
  background: linear-gradient(90deg, rgba(209, 165, 103, .1), transparent);
}

.profile-impact strong {
  color: var(--about-gold-bright);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.35em;
  font-weight: 600;
}

.profile-panel--purpose {
  display: grid;
  gap: 22px;
}

.about-cta {
  display: flex;
  width: min(100% - 48px, 1120px);
  justify-content: flex-end;
  margin: clamp(58px, 8vw, 92px) auto 0;
}

.about-cta a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 24px 15px 28px;
  border: 1px solid var(--about-gold);
  border-radius: 3px 14px 3px 14px;
  color: var(--about-ink);
  background: var(--about-gold-bright);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
  font: 700 .82rem/1.2 Inter, sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.about-cta a svg {
  transition: transform .25s ease;
}

.about-cta a:hover,
.about-cta a:focus-visible {
  color: var(--about-gold-bright);
  background: transparent;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
  transform: translateY(-3px);
}

.about-cta a:hover svg,
.about-cta a:focus-visible svg {
  transform: translateX(4px);
}

.about-cta a:focus-visible {
  outline: 3px solid var(--about-cream);
  outline-offset: 4px;
}

.about-enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms),
    transform .7s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms);
}

.about-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 901px) {
  .about-profile__heading {
    position: sticky;
    top: 36px;
  }
}

@media (max-width: 900px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    width: min(100% - 40px, 680px);
    padding: 78px 0 90px;
  }

  .about-hero__copy h2 {
    max-width: 10ch;
    font-size: clamp(4rem, 15vw, 6.4rem);
  }

  .about-portrait {
    width: min(92%, 480px);
    justify-self: center;
  }

  .about-profile__inner {
    grid-template-columns: 1fr;
  }

  .about-profile__heading h2 {
    max-width: 11ch;
  }

  .about-profile__heading > span {
    margin-top: 26px;
  }
}

@media (max-width: 640px) {
  .about-enhanced [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-hero__inner,
  .about-story__inner,
  .about-profile__inner,
  .about-cta {
    width: min(100% - 28px, 100%);
  }

  .about-hero__inner {
    padding: 60px 0 74px;
  }

  .about-hero__copy h1 {
    margin-bottom: 14px;
  }

  .about-hero__copy h2 {
    font-size: clamp(3.55rem, 18vw, 5rem);
  }

  .about-hero__copy p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .about-portrait {
    width: calc(100% - 10px);
    padding: 12px 12px 0 0;
  }

  .about-portrait__line {
    display: none;
  }

  .about-story__inner {
    padding: 82px 0;
  }

  .story-thread {
    left: 6px;
  }

  .story-block {
    padding: 0 2px 48px 30px;
  }

  .story-marker {
    left: 6px;
    width: 13px;
    height: 13px;
    border-width: 3px;
  }

  .story-block p {
    font-size: 1rem;
    line-height: 1.78;
  }

  .story-block--accent p,
  .story-block--victory p,
  .story-block--closing p {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.36;
  }

  .story-quote {
    margin-left: 22px;
    padding: 34px 26px;
    border-radius: 3px 22px 3px 22px;
  }

  .story-quote p {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .about-profile {
    padding: 84px 0 72px;
  }

  .about-profile__inner {
    gap: 44px;
  }

  .about-profile__heading h2 {
    font-size: clamp(3.4rem, 16vw, 4.8rem);
  }

  .profile-panel {
    padding: 26px 22px;
    border-radius: 3px 22px 3px 22px;
  }

  .profile-panel p,
  .profile-impact {
    font-size: 1rem;
    line-height: 1.76;
  }

  .profile-credentials__grid {
    grid-template-columns: 1fr;
  }

  .profile-credentials__grid span {
    min-height: 62px;
  }

  .profile-impact {
    padding: 24px 22px;
  }

  .about-cta {
    justify-content: stretch;
    margin-top: 54px;
  }

  .about-cta a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-enhanced [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-portrait img,
  .about-portrait::before,
  .about-cta a,
  .about-cta a svg,
  .profile-credentials__grid span {
    transition: none;
  }
}
