/* Dirección editorial y refinamiento responsive. */
@media (min-width: 901px) {
  .intro {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    gap: 48px !important;
  }

  .intro > div {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 48px !important;
  }

  .split .content {
    padding: clamp(48px, 5vw, 80px) !important;
  }

  .split h2 {
    font-size: clamp(42px, 4.4vw, 64px);
  }
}
@media (max-width: 560px) {
  .split .visual-panel {
    display: none;
  }

  .split .content {
    padding: 52px 24px;
  }

  .section h2 {
    font-size: clamp(36px, 10vw, 52px);
    overflow-wrap: break-word;
  }

  .topbar nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px !important;
    overflow: visible !important;
  }

  .topbar nav a {
    font-size: 11px !important;
  }

  section[id] {
    scroll-margin-top: 180px !important;
  }
}
section[id] {
  scroll-margin-top: 110px;
}

.hero-copy,
.content,
.cyber-body,
.source-grid > * {
  min-width: 0;
}

.source-grid strong {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    height: auto !important;
    min-height: 112px;
    padding-block: 10px;
  }

  .topbar nav {
    display: flex;
    order: 3;
    width: 100%;
    margin: 0;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .topbar nav a {
    flex: 0 0 auto;
    font-size: 10px;
    padding-inline: 0;
  }

  section[id] {
    scroll-margin-top: 135px;
  }
}

.portfolio-grid article::after {
  display: none;
}
:root {
  --paper: #f4efe5;
  --warm: #fbf7ef;
  --jade: #2f7770;
  --mint: #b9d9d2;
  --gold: #bd9651;
  --line: rgba(16, 21, 25, 0.14);
}

body {
  background:
    radial-gradient(circle at 84% 8%, rgba(185, 217, 210, 0.18), transparent 26rem),
    var(--paper);
}

.private {
  min-height: 40px;
  padding-inline: max(4vw, calc((100vw - 1440px) / 2 + 40px));
}

.topbar {
  height: 86px;
  padding-inline: max(4vw, calc((100vw - 1440px) / 2 + 40px));
  box-shadow: 0 12px 38px rgba(16, 21, 25, 0.04);
}

.brand {
  letter-spacing: -0.045em;
}

.topbar nav a {
  position: relative;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: var(--jade);
  transition: right 180ms ease;
}

.topbar nav a:hover::after,
.topbar nav a:focus-visible::after {
  right: 0;
}

.hero {
  min-height: min(880px, calc(100svh - 126px));
  grid-template-columns: minmax(390px, 44%) minmax(420px, 1fr);
  gap: clamp(56px, 7vw, 112px);
  padding: clamp(56px, 6vw, 88px) clamp(44px, 6vw, 94px) clamp(88px, 7vw, 110px);
  isolation: isolate;
}

.hero::before {
  content: "PATRICIA ORTEGA";
  position: absolute;
  z-index: -1;
  right: -0.035em;
  top: 45%;
  color: rgba(16, 21, 25, 0.035);
  font: 700 clamp(80px, 11vw, 168px)/0.8 Georgia, serif;
  letter-spacing: -0.075em;
  white-space: nowrap;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right center;
}

.portrait-placeholder {
  height: min(74vh, 770px);
  min-height: 600px;
  border-radius: 240px 240px 18px 18px;
  box-shadow: 0 42px 100px rgba(16, 30, 34, 0.22);
}

.portrait-placeholder::before {
  inset: 18px;
  border-color: rgba(255, 255, 255, 0.44);
}

.portrait-photo > img {
  object-position: 50% 31%;
  transform: scale(1.015);
  transition: transform 700ms cubic-bezier(.2,.75,.25,1);
}

.portrait-photo:hover > img {
  transform: scale(1.04);
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  margin: 22px 0 30px;
  font-size: clamp(76px, 8.4vw, 130px);
}

.hero h1 em {
  display: inline-block;
  padding-right: 0.08em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.proof span {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.28);
}

.descriptor {
  max-width: 560px;
  line-height: 1.7;
}

.lede {
  max-width: 610px;
}

.button {
  min-width: 180px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
}

.button.primary:hover {
  background: var(--jade);
}

.locator {
  right: clamp(32px, 4vw, 64px);
  bottom: 28px;
}

.profile-register {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: #fff;
}

.profile-register article {
  min-height: 154px;
  padding: 30px clamp(22px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

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

.profile-register span,
.profile-register small {
  color: #c7d1d0;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-register strong {
  margin-block: 12px;
  color: #fff;
  font: 25px/1.15 Georgia, serif;
}

.section {
  position: relative;
}

.section h2 {
  text-wrap: balance;
}

.intro {
  padding-top: clamp(90px, 9vw, 140px);
  padding-bottom: clamp(90px, 9vw, 140px);
}

.intro > div {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 1.1fr);
  align-items: end;
  gap: clamp(40px, 6vw, 90px);
}

.intro h2,
.intro p:not(.section-label) {
  margin-bottom: 0;
}

.split {
  min-height: 740px;
}

.visual-panel {
  min-height: 700px;
  isolation: isolate;
}

.visual-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.08) 46% 46.3%, transparent 46.3%),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255,255,255,.035) 52px 53px);
}

.visual-panel strong {
  max-width: 520px;
  font-size: clamp(58px, 5.4vw, 82px);
}

.split .content {
  padding: clamp(70px, 8vw, 125px);
}

.facts article,
.language-grid article,
.portfolio-grid article {
  transition: background 180ms ease, transform 180ms ease;
}

.facts article:hover,
.language-grid article:hover {
  background: rgba(255, 255, 255, 0.52);
  transform: translateX(4px);
}

.cyber {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(63, 127, 120, .38), transparent 26rem),
    var(--ink);
}

.cyber::after {
  content: "DIGITAL SAFETY";
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  color: rgba(255, 255, 255, .035);
  font: 700 clamp(70px, 10vw, 150px)/.8 Georgia, serif;
  white-space: nowrap;
}

.cyber > * {
  position: relative;
  z-index: 1;
}

.tags span {
  background: rgba(255, 255, 255, 0.04);
}

.language-grid article {
  min-height: 165px;
  justify-content: space-between;
}

.portfolio-grid article {
  position: relative;
  overflow: hidden;
}

.portfolio-grid article::after {
  content: "↗";
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--jade);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.portfolio-grid article:hover {
  background: #fff;
}

.portfolio-grid article:hover::after {
  opacity: 1;
  transform: none;
}

.source-grid > a {
  transition: background 180ms ease, padding 180ms ease;
}

.source-grid > a:hover {
  background: rgba(255, 255, 255, 0.44);
  padding-inline: 20px;
}

footer {
  min-height: 110px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(330px, 44%) 1fr;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(68px, 9vw, 98px);
  }

  .intro > div {
    grid-template-columns: 1fr;
  }

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

  .profile-register article:nth-child(2) {
    border-right: 0;
  }

  .profile-register article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }
}

@media (max-width: 900px) {
  .topbar {
    height: 72px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 44px 6vw 118px;
  }

  .portrait-placeholder {
    width: min(100%, 610px);
    height: min(72vh, 680px);
    min-height: 520px;
    margin-inline: auto;
  }

  .portrait-photo > img {
    object-position: 50% 28%;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(74px, 16vw, 118px);
  }

  .intro > div {
    display: block;
  }

  .intro p:not(.section-label) {
    margin-top: 32px;
  }

  .visual-panel {
    min-height: 500px;
  }

  .split {
    padding: 0;
  }
}

@media (max-width: 560px) {
  .private {
    min-height: 36px;
  }

  .topbar {
    padding-inline: 20px;
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    gap: 38px;
    padding: 28px 20px 116px;
  }

  .portrait-placeholder {
    height: 66vh;
    min-height: 470px;
    border-radius: 180px 180px 14px 14px;
  }

  .portrait-photo > img {
    object-position: 50% 25%;
    transform: none;
  }

  .portrait-photo:hover > img {
    transform: none;
  }

  .portrait-photo figcaption {
    left: 20px;
    right: 20px;
    bottom: 14px;
  }

  .hero h1 {
    margin-block: 18px 24px;
    font-size: clamp(67px, 20vw, 92px);
  }

  .lede {
    font-size: 21px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .locator {
    left: 20px;
    right: 20px;
    text-align: left;
  }

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

  .profile-register article,
  .profile-register article:nth-child(2) {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

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

  .visual-panel {
    min-height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-photo > img,
  .button,
  .facts article,
  .language-grid article,
  .portfolio-grid article,
  .source-grid > a,
  .topbar nav a::after {
    transition: none;
  }
}
