/* Home art direction: a centered masthead and one clear visual hierarchy. */
.home-editorial #sobre-mi { scroll-margin-top: 120px; }
@media(max-width:1050px) { .home-editorial #sobre-mi { scroll-margin-top: 100px; } }
#trabajos .work-card.cb-feature { height: auto !important; max-height: none !important; min-height: 390px !important; }
#trabajos .cb-feature .case-copy { height: auto !important; max-height: none !important; }
#trabajos .cb-feature .cb-identity-board {
  display: flex !important; flex-direction: column; justify-content: space-between;
  position: relative; padding: clamp(20px, 3vw, 38px) !important;
  background: #F5F0EA !important; color: #1C1C1C; overflow: hidden;
  min-height: 360px !important; height: 100% !important; border: 1px solid #e5d9cd;
}
#trabajos .cb-identity-board::before, #trabajos .cb-identity-board::after { display: none !important; }
#trabajos .cb-identity-board > [hidden] { display: none !important; }
.cb-identity-heading { display: flex; justify-content: space-between; gap: 12px; font: 600 10px/1.4 Inter,sans-serif; letter-spacing: .14em; }
.cb-identity-mark { display: grid; place-items: center; flex: 1; min-height: 200px; padding: 20px; }
#trabajos .cb-identity-mark img { display: block !important; position: static !important; width: 190px !important; height: 156px !important; max-width: 100%; object-fit: contain !important; filter: none !important; transform: none !important; }
.cb-identity-bottom { border-top: 1px solid #d9cbbb; padding-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cb-identity-type { display: grid; gap: 6px; }
.cb-identity-type strong { font: 500 40px/1 'Playfair Display',serif; }
.cb-identity-type span { font: 400 11px/1.4 Inter,sans-serif; }
.cb-identity-colors { display: flex; overflow: hidden; border-radius: 4px; }
.cb-identity-colors i { width: clamp(22px,3vw,38px); height: 46px; background: #1C1C1C; }
.cb-identity-colors i:nth-child(2) { background: #C9A46A; }
.cb-identity-colors i:nth-child(3) { background: #E87D90; }
.cb-identity-colors i:nth-child(4) { background: #F1D6DA; }
.home-editorial .site-header {
  height: 104px; padding: 12px 5%; display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 100px; gap: 20px;
  background: rgba(245,240,234,.96); border-bottom: 1px solid #ded6cd;
  backdrop-filter: blur(16px); pointer-events: auto;
}
.home-editorial .site-header .brand {
  position: static; width: 76px; height: 76px; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  backdrop-filter: none; animation: none;
}
.home-editorial .brand img { width: 76px; height: 76px; }
.home-editorial .language-switch {
  justify-self: end; gap: 0; padding: 0; background: none;
  border: 0; box-shadow: none; backdrop-filter: none; animation: none;
}
.home-editorial .language-switch button { border-radius: 4px; font-weight: 600; }
.home-editorial .language-switch button.is-active { background: transparent; color: var(--charcoal); box-shadow: inset 0 -2px var(--coral); }
.home-editorial .language-switch button:not(.is-active) { color: #736960; }
.home-editorial .hero {
  gap: clamp(28px,4vw,72px); padding-inline: 5%;
  background: #f5f0ea;
}
.home-editorial .hero-copy .eyebrow { color: var(--coral); letter-spacing: .13em; margin-bottom: 22px; }
.home-editorial .hero.hero h1 { font-family: var(--font-body); font-weight: 600; font-size: clamp(2.8rem,4vw,4.8rem) !important; line-height: 1.04 !important; letter-spacing: -.065em !important; text-wrap: initial; }
.home-editorial .hero h1 em { color: var(--coral); font-family: inherit; font-style: normal; font-weight: inherit; }
.home-editorial .hero-text { font-size: 1.02rem; line-height: 1.65; max-width: 48ch; margin-top: 24px; color: #514b45; text-wrap: balance; }
.home-editorial .hero-signature { margin-top: 18px; max-width: 48ch; font-size: .875rem; line-height: 1.6; }
.home-editorial .hero-actions { margin-top: 28px; gap: 14px; }
.home-editorial .hero-actions .button { box-shadow: none; border-radius: 6px; padding: 14px 23px; }
.home-editorial .hero-actions .button-coral { background: var(--coral); color: var(--charcoal); }
.home-editorial .hero-actions .button-coral:hover { background: var(--coral); border-color: var(--charcoal); }
.home-editorial .hero-actions .button-ghost { background: transparent; border-color: #c8bcb1; }
.home-editorial .hero-secondary-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; align-items: center; }
.home-editorial .hero-secondary-links a { font-size: .78rem; font-weight: 500; color: #6e6057; border: 0; padding: 0; margin: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 5px; text-decoration: underline; text-underline-offset: 4px; }
.home-editorial .hero-image-stage { border-radius: 4px !important; box-shadow: none !important; border: 0 !important; background: transparent !important; }
.home-editorial .hero .hero-image-stage .hero-main-image,.home-editorial .hero .hero-image-stage .hero-main-image-next { top: 0; left: 0; width: 100%; height: calc(100% - 88px); border-radius: 8px; }
.home-editorial .hero .hero-image-stage .hero-art-note { left: 0; bottom: 14px; max-width: calc(100% - 200px); }
.home-editorial .hero .hero-art-note strong { font-family: var(--font-body); font-size: clamp(1.15rem,1.5vw,1.5rem); font-weight: 600; margin-top: 6px; }
.home-editorial .hero .hero-art-note span { font-size: .68rem; letter-spacing: .06em; }
.home-editorial .hero-showcase-dots { display: none; }
.showcase-controls { position: absolute; right: 0; bottom: 10px; display: flex; align-items: center; gap: 4px; z-index: 8; }
.showcase-controls>span { font-size: .7rem; color: #70665d; font-variant-numeric: tabular-nums; margin-right: 8px; }
.showcase-controls button { width: 44px; height: 44px; border: 1px solid #d9cfc5; border-radius: 50%; background: transparent; color: #242424; font: 400 20px var(--font-body); cursor: pointer; }
.showcase-controls button:hover { background: var(--nude); border-color: var(--coral); }
.showcase-controls [data-showcase-pause] { font-size: 12px; }
.home-editorial .hero-art-note a:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.home-editorial a:focus-visible,.home-editorial button:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
@media(min-width:1051px) {
  .home-editorial .site-nav { position: relative; }
  .home-editorial .site-nav::before { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: #E87D90; opacity: .32; pointer-events: none; }
  .home-editorial .site-nav>a:not(.nav-cta) { position: relative; text-decoration: none; }
  .home-editorial .site-nav>a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; width: 100%; height: 3px; border-radius: 3px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
  .home-editorial .site-nav>a:hover::after, .home-editorial .site-nav>a:focus-visible::after { transform: scaleX(1); }
  .home-editorial .site-nav { justify-self: center; padding: 0; gap: clamp(18px,2.1vw,34px); background: none; box-shadow: none; border: 0; backdrop-filter: none; animation: none; font-size: .875rem; font-weight: 500; }
  .home-editorial .site-nav>a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
  .home-editorial .site-nav>.nav-cta { display: none; }
  .home-editorial .hero { grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); gap: 3vw; min-height: 680px; height: auto; padding-top: 148px; padding-bottom: 48px; }
  .home-editorial .hero-image-stage { height: auto !important; min-height: 0 !important; aspect-ratio: auto; align-self: center; width: 100%; padding-top: calc(62.5% + 88px); }
}
@media(prefers-reduced-motion:reduce) { .home-editorial .site-nav>a::after { transition: none !important; } }
@media(max-width:1050px) {
  .home-editorial .site-header { height: 84px; grid-template-columns: 1fr auto auto; padding: 8px 22px; gap: 16px; }
  .home-editorial .site-header .brand,.home-editorial .brand img { width: 64px; height: 64px; }
  .home-editorial .menu-toggle { grid-column: 3; grid-row: 1; }
  .home-editorial .language-switch { grid-column: 2; grid-row: 1; }
  .home-editorial .site-nav { animation: none; visibility: hidden; height: 100dvh; bottom: auto; overflow-y: auto; }
  .home-editorial.nav-open .site-nav { visibility: visible; }
  .home-editorial .hero { padding-top: 124px; padding-bottom: 48px; gap: 32px; }
  .home-editorial .hero-copy { max-width: 650px; }
  .home-editorial .hero.hero h1 { font-size: clamp(2.6rem,6.8vw,4rem) !important; }
}
@media(max-width:600px) {
  .home-editorial .hero { padding-inline: 22px; }
  .home-editorial .hero-copy .eyebrow { font-size: .65rem; margin-bottom: 18px; }
  .home-editorial .hero.hero h1 { font-size: clamp(2.35rem,9.1vw,3.2rem) !important; }
  .home-editorial .hero h1 em { white-space: normal; display: inline; }
  .home-editorial .hero-text { margin-top: 20px; font-size: 1rem; }
  .home-editorial .hero-actions { gap: 10px; margin-top: 22px; }
  .home-editorial .hero-actions .button { flex: 1; padding: 13px 12px; }
  .home-editorial .hero-secondary-links { gap: 2px 16px; margin-top: 10px; }
  .home-editorial .hero.hero .hero-image-stage { aspect-ratio: 1.12; margin-top: 0; }
  .home-editorial .hero .hero-image-stage .hero-art-note { bottom: 47px; max-width: calc(100% - 12px); }
  .home-editorial .hero .hero-image-stage .hero-main-image,.home-editorial .hero .hero-image-stage .hero-main-image-next { height: calc(100% - 112px); }
  .home-editorial .showcase-controls { bottom: 0; }
}
