/* Portrait homepage hero. Existing navigation and service sections retain their styles. */
.portrait-hero {
  position: relative;
  overflow: clip;
  background: var(--bg);
  padding-top: var(--nav-h);
}
.portrait-hero__inner {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: calc(var(--max-w) + 160px);
  margin-inline: auto;
  padding: 32px clamp(24px, 5vw, 80px) 0;
}
.portrait-hero__copy { position: relative; z-index: 2; padding-block: 28px 72px; }
.portrait-hero__title {
  max-width: 720px;
  margin: 0;
  font: 700 clamp(48px, 6vw, 88px)/1.07 var(--font-display);
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}
.portrait-hero__title-line { display: block; }
.portrait-hero__english-second { display: contents; }
.portrait-hero__role { color: var(--teal); }
.portrait-hero__spanish { display: none; }
html[data-site-lang="es"] .portrait-hero__english { display: none; }
html[data-site-lang="es"] .portrait-hero__spanish { display: inline; }
.portrait-hero__description { max-width: 46ch; margin: 80px 0 0; color: var(--text-2); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.7; text-wrap: pretty; }
.portrait-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.portrait-hero__primary { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 60px; padding: 16px 28px; border-radius: var(--r-full); background: var(--teal); color: var(--text-inverse); font-size: 18px; font-weight: 600; transition: background-color 160ms ease-out; }
.portrait-hero__primary:hover { background: var(--yellow); }
.portrait-hero__primary svg, .portrait-hero__secondary svg { width: 20px; height: 20px; flex-shrink: 0; }
.portrait-hero__secondary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 17px; }
.portrait-hero__secondary:hover { color: var(--teal); }
.portrait-hero__image { position: relative; align-self: end; min-width: 0; margin: 0; isolation: isolate; }
.portrait-hero__field { position: absolute; z-index: -1; width: 94%; height: 82%; right: -5%; bottom: 0; background: oklch(32% 0.073 195); border-radius: 48% 48% 0 0; }
.portrait-hero__arc { position: absolute; z-index: -1; inset: 10% -10% -1% 4%; border: 1px solid color-mix(in oklch, var(--teal) 44%, transparent); border-radius: 50% 50% 0 0; transform: rotate(-10deg); }
.portrait-hero__image img { display: block; position: relative; width: 100%; max-height: 760px; height: auto; object-fit: contain; object-position: center bottom; }
.portrait-hero + .homepage-services { padding-top: clamp(64px, 7vw, 112px); }
@media (min-width: 1500px) { .portrait-hero__inner { padding-top: 48px; } }
@media (max-width: 1050px) {
  .portrait-hero__inner { gap: 12px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 40px; }
  .portrait-hero__title { font-size: clamp(46px, 6vw, 66px); }
  .portrait-hero__english { font-size: clamp(26px, 8.4vw, 66px); letter-spacing: -0.035em; }
  .portrait-hero__english-second { display: block; white-space: nowrap; }
  .portrait-hero__english-second .portrait-hero__title-line { display: inline; }
  .portrait-hero__image { width: min(100%, 560px); justify-self: center; margin-top: 8px; }
  .portrait-hero__image img { max-height: 700px; }
  .portrait-hero__copy { align-self: start; padding-block: 12px 24px; }
  .portrait-hero__description { font-size: 19px; }
  .portrait-hero__actions { gap: 12px 20px; }
}
@media (max-width: 760px) {
  .portrait-hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 12px; }
  .portrait-hero__copy { padding: 0; }
  .portrait-hero__title { font-size: clamp(38px, 8.4vw, 66px); max-width: 650px; text-wrap: initial; }
  .portrait-hero__description { max-width: 49ch; margin-top: 72px; font-size: 18px; line-height: 1.7; }
  .portrait-hero__actions { margin-top: 24px; gap: 12px 24px; }
  .portrait-hero__image { width: min(calc(100% + 24px), 480px); justify-self: center; margin-top: 0; }
  .portrait-hero__image img { max-height: 600px; }
  .portrait-hero__field { right: -3%; }
  .portrait-hero__arc { right: -4%; }
  .portrait-hero__primary { font-size: 16px; gap: 14px; padding-inline: 24px; }
  .portrait-hero__secondary { font-size: 15px; }
  .portrait-hero__actions { column-gap: 18px; }
}
@media (max-width: 370px) {
  .portrait-hero__title { font-size: 35px; }
  html[data-site-lang="es"] .portrait-hero__description { margin-top: 88px; }
  .portrait-hero__actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .portrait-hero__description { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .portrait-hero__primary { transition: none; } }
